@26lights/orcha 0.41.141 → 0.41.142

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/orcha.umd.js CHANGED
@@ -1,6 +1,6 @@
1
- (function(X,e){var Le=document.createElement("style");Le.textContent=`*,*:before,*:after{box-sizing:border-box}html,body{margin:0;overflow:hidden;display:flex;flex-direction:column;height:100%;min-height:0}button{color:inherit;font-family:inherit}input,textarea{font-family:inherit}:root{--ao-color-blue-lightest: #ebf1ff;--ao-color-blue-lighter: #aabdff;--ao-color-blue-light: #7183ff;--ao-color-blue-base: #4952ff;--ao-color-blue-dark: #2226e7;--ao-color-blue-darker: #09099c;--ao-color-blue-darkest: #000033;--ao-color-grey-lightest: #e6e6e6;--ao-color-grey-light: #c8c8c8;--ao-color-grey-base: #ababab;--ao-color-grey-dark: #636363;--ao-color-grey-darkest: #1c1c1c;--ao-color-white: #fff;--ao-color-black: #000;--ao-color-sand-base: #d8a55a;--ao-color-red-light: #ff4f4f;--ao-color-teal-light: #64d9bb;--ao-color-primary-lightest: var(--ao-color-blue-lightest);--ao-color-primary-lighter: var(--ao-color-blue-lighter);--ao-color-primary-light: var(--ao-color-blue-light);--ao-color-primary-base: var(--ao-color-blue-base);--ao-color-primary-dark: var(--ao-color-blue-dark);--ao-color-primary-darker: var(--ao-color-blue-darker);--ao-color-primary-darkest: var(--ao-color-blue-darkest);--ao-color-neutral-lightest: var(--ao-color-grey-lightest);--ao-color-neutral-light: var(--ao-color-grey-light);--ao-color-neutral-base: var(--ao-color-grey-base);--ao-color-neutral-dark: var(--ao-color-grey-dark);--ao-color-neutral-darkest: var(--ao-color-grey-darkest);--ao-color-canvas: #f1f1f1;--ao-color-sheet: #f9f9f9;--ao-color-card: #f9f9f9;--ao-color-text: var(--ao-color-grey-darkest);--ao-color-danger: var(--ao-color-red-light);--ao-color-warning: var(--ao-color-sand-base);--ao-color-success: var(--ao-color-teal-light);--ao-color-text-contrast: var(--ao-color-white);--ao-color-group: rgba(255, 255, 255, .2);--ao-color-backdrop: rgba(0, 0, 0, .7);--ao-grid-size: 8px;--ao-space-xs: calc(var(--ao-grid-size) / 4);--ao-space-sm: calc(var(--ao-grid-size) / 2);--ao-space-md: calc(var(--ao-grid-size) * 1);--ao-space-lg: calc(var(--ao-grid-size) * 3 / 2);--ao-space-xl: calc(var(--ao-grid-size) * 2);--ao-space-xxl: calc(var(--ao-grid-size) * 4);--ao-border-width-sm: 1px;--ao-border-width-md: 2px;--ao-border-width-lg: 4px;--ao-border-width-xl: 6px;--ao-border-radius-xs: 2px;--ao-border-radius-sm: 4px;--ao-border-radius-md: 8px;--ao-border-radius-lg: 16px;--ao-border-radius-xl: 24px;--ao-border-radius-round: 100em;font-size:15px;--ao-font-size-base: 1rem;--ao-font-size-text: var(--ao-font-size-base);--ao-font-size-input: var(--ao-font-size-base);--ao-font-size-h5: var(--ao-font-size-base);--ao-font-size-h4: calc(var(--ao-font-size-base) * 1.25);--ao-font-size-h3: calc(var(--ao-font-size-h4) * 1.25);--ao-font-size-h2: calc(var(--ao-font-size-h3) * 1.25);--ao-font-size-h1: calc(var(--ao-font-size-h2) * 1.25);--ao-font-size-label: calc(var(--ao-font-size-base) / 1.25);--ao-font-size-tag: calc(var(--ao-font-size-label) / 1.25);--ao-font-size-button: var(--ao-font-size-base);--ao-font-weight-extra-light: 200;--ao-font-weight-regular: 400;--ao-font-weight-medium: 500;--ao-font-weight-semi-bold: 600;--ao-font-weight-bold: 800;--ao-font-weight-extra-bold: 900;--ao-font-stack-system-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;--ao-font-stack-sans: "Kumbh Sans", var(--ao-font-stack-system-sans);--ao-icon-size-sm: calc(var(--ao-grid-size) * 9 / 5);--ao-icon-size-md: calc(var(--ao-grid-size) * 3);--ao-icon-size-lg: calc(var(--ao-grid-size) * 4);--ao-icon-size-xl: calc(var(--ao-grid-size) * 5);--ao-transition-ease: cubic-bezier(.215, .61, .355, 1);--ao-shadow-key-umbra-opacity: .2;--ao-shadow-key-penumbra-opacity: .14;--ao-shadow-ambient-shadow-opacity: .12;--ao-elevation-2dp: 0 2px 2px 0 rgba(0, 0, 0, var(--ao-shadow-key-penumbra-opacity)), 0 3px 1px -2px rgba(0, 0, 0, var(--ao-shadow-key-umbra-opacity)), 0 1px 5px 0 rgba(0, 0, 0, var(--ao-shadow-ambient-shadow-opacity));--ao-elevation-3dp: 0 3px 4px 0 rgba(0, 0, 0, var(--ao-shadow-key-penumbra-opacity)), 0 3px 3px -2px rgba(0, 0, 0, var(--ao-shadow-key-umbra-opacity)), 0 1px 8px 0 rgba(0, 0, 0, var(--ao-shadow-ambient-shadow-opacity));--ao-elevation-4dp: 0 4px 5px 0 rgba(0, 0, 0, var(--ao-shadow-key-penumbra-opacity)), 0 1px 10px 0 rgba(0, 0, 0, var(--ao-shadow-ambient-shadow-opacity)), 0 2px 4px -1px rgba(0, 0, 0, var(--ao-shadow-key-umbra-opacity));--ao-elevation-6dp: 0 6px 10px 0 rgba(0, 0, 0, var(--ao-shadow-key-penumbra-opacity)), 0 1px 18px 0 rgba(0, 0, 0, var(--ao-shadow-ambient-shadow-opacity)), 0 3px 5px -1px rgba(0, 0, 0, var(--ao-shadow-key-umbra-opacity));--ao-elevation-8dp: 0 8px 10px 1px rgba(0, 0, 0, var(--ao-shadow-key-penumbra-opacity)), 0 3px 14px 2px rgba(0, 0, 0, var(--ao-shadow-ambient-shadow-opacity)), 0 5px 5px -3px rgba(0, 0, 0, var(--ao-shadow-key-umbra-opacity));--ao-elevation-16dp: 0 16px 24px 2px rgba(0, 0, 0, var(--ao-shadow-key-penumbra-opacity)), 0 6px 30px 5px rgba(0, 0, 0, var(--ao-shadow-ambient-shadow-opacity)), 0 8px 10px -5px rgba(0, 0, 0, var(--ao-shadow-key-umbra-opacity));--ao-elevation-24dp: 0 9px 46px 8px rgba(0, 0, 0, var(--ao-shadow-key-penumbra-opacity)), 0 11px 15px -7px rgba(0, 0, 0, var(--ao-shadow-ambient-shadow-opacity)), 0 24px 38px 3px rgba(0, 0, 0, var(--ao-shadow-key-umbra-opacity))}html,body{font-family:var(--ao-font-stack-sans)}[class^=ao-]{scrollbar-width:thin}[class^=ao-]::-webkit-scrollbar{background-color:transparent;width:var(--ao-space-md);height:var(--ao-space-md);border-radius:var(--ao-border-radius-round)}[class^=ao-]::-webkit-scrollbar-thumb{background:var(--ao-color-neutral-light);border-radius:var(--ao-border-radius-round);cursor:grab}:root{--ao-input-color: inherit;--ao-input-bg: #fff;--ao-input-border-radius: var(--ao-border-radius-sm);--ao-input-border-width: var(--ao-border-width-sm);--ao-input-border-color: var(--ao-color-neutral-light);--ao-textarea-bg: var(--ao-input-bg)}.ao-fieldset{border-width:0;padding:0;margin:0}.ao-fieldset+.ao-fieldset{margin-block-start:var(--ao-space-xl)}.ao-fieldset__title{display:flex;align-items:center;gap:var(--ao-space-sm);color:var(--ao-color-neutral-dark)}.ao-field__row{display:flex;flex-direction:row;gap:var(--ao-space-lg)}.ao-field__row+.ao-field__row{margin-block-start:var(--ao-space-lg)}.ao-field{display:flex;flex-direction:column;align-items:flex-start;gap:var(--ao-space-md)}.ao-field--full{flex:1;width:100%}.ao-field--multiselect{min-width:20ch}.ao-field--inline{flex-direction:row;align-items:center}.ao-field__label{font-size:var(--ao-font-size-label)}.ao-field__input{padding-inline:var(--ao-space-lg);padding-block:var(--ao-space-md);margin:0;border:var(--ao-input-border-width) solid var(--ao-input-border-color);border-radius:var(--ao-input-border-radius);color:var(--ao-input-color);background-color:var(--ao-input-bg)}.ao-field__input:is(:focus,:active,:hover){--ao-input-border-color: var(--ao-color-primary-base)}.ao-field__textarea{padding:var(--ao-space-lg);border:var(--ao-input-border-width) solid var(--ao-input-border-color);border-radius:var(--ao-input-border-radius);color:var(--ao-input-color);background-color:var(--ao-textarea-bg);flex:1;width:100%;resize:vertical}.ao-multiselect{--ms-font-size: var(--font-size-text);--ms-line-height: 1.2;--ms-border-color: var(--ao-color-neutral-lightest);--ms-border-width: var(--ao-input-border-width);--ms-border-color-active: var(--ao-input-border-color);--ms-border-width-active: var(--ao-input-border-width);--ms-radius: var(--ao-border-radius-md);--ms-py: var(--ao-space-md);--ms-px: var(--ao-space-lg);--ms-ring-color: var(--ao-color-primary-lightest);--ms-placeholder-color: var(--ao-color-black);--ms-spinner-color: var(--ao-color-primary-base);--ms-tag-font-size: var(--ao-font-size-tag);--ms-tag-font-weight: var(--ao-font-weight-regular);--ms-tag-bg: var(--ao-color-primary-base);--ms-tag-radius: var(--ao-border-radius-xl);--ms-tag-py: var(--ao-space-sm);--ms-tag-my: 0;--ms-dropdown-radius: var(--ao-border-radius-sm);--ms-option-bg-selected: var(--ao-color-primary-base);--ms-option-bg-selected-pointed: var(--ao-color-primary-light)}input[readonly]{cursor:default}.is-disabled>.multiselect-wrapper{cursor:default}.ao-field__input::-webkit-outer-spin-button,.ao-field__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.ao-field__input[type=number]{-moz-appearance:textfield}.multiselect{align-items:center;background:var(--ms-bg,#fff);border:var(--ms-border-width,1px) solid var(--ms-border-color,#d1d5db);border-radius:var(--ms-radius,4px);box-sizing:border-box;cursor:pointer;display:flex;font-size:var(--ms-font-size,1rem);justify-content:flex-end;margin:0 auto;min-height:calc(var(--ms-border-width, 1px)*2 + var(--ms-font-size, 1rem)*var(--ms-line-height, 1.375) + var(--ms-py, .5rem)*2);outline:none;position:relative;width:100%}.multiselect.is-open{border-radius:var(--ms-radius,4px) var(--ms-radius,4px) 0 0}.multiselect.is-open-top{border-radius:0 0 var(--ms-radius,4px) var(--ms-radius,4px)}.multiselect.is-disabled{background:var(--ms-bg-disabled,#f3f4f6);cursor:default}.multiselect.is-active{border:var(--ms-border-width-active,var(--ms-border-width,1px)) solid var(--ms-border-color-active,var(--ms-border-color,#d1d5db));box-shadow:0 0 0 var(--ms-ring-width,3px) var(--ms-ring-color,rgba(16,185,129,.188))}.multiselect-wrapper{align-items:center;box-sizing:border-box;cursor:pointer;display:flex;justify-content:flex-end;margin:0 auto;min-height:calc(var(--ms-border-width, 1px)*2 + var(--ms-font-size, 1rem)*var(--ms-line-height, 1.375) + var(--ms-py, .5rem)*2);outline:none;position:relative;width:100%}.multiselect-multiple-label,.multiselect-placeholder,.multiselect-single-label{align-items:center;background:transparent;box-sizing:border-box;display:flex;height:100%;left:0;line-height:var(--ms-line-height,1.375);max-width:100%;padding-left:var(--ms-px,.875rem);padding-right:calc(1.25rem + var(--ms-px, .875rem)*3);pointer-events:none;position:absolute;top:0}.multiselect-placeholder{color:var(--ms-placeholder-color,#9ca3af)}.multiselect-single-label-text{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.multiselect-search{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ms-bg,#fff);border:0;border-radius:var(--ms-radius,4px);bottom:0;box-sizing:border-box;font-family:inherit;font-size:inherit;height:100%;left:0;outline:none;padding-left:var(--ms-px,.875rem);position:absolute;right:0;top:0;width:100%}.multiselect-search::-webkit-search-cancel-button,.multiselect-search::-webkit-search-decoration,.multiselect-search::-webkit-search-results-button,.multiselect-search::-webkit-search-results-decoration{-webkit-appearance:none}.multiselect-tags{flex-grow:1;flex-shrink:1;flex-wrap:wrap;margin:var(--ms-tag-my,.25rem) 0 0;padding-left:var(--ms-py,.5rem)}.multiselect-tag,.multiselect-tags{align-items:center;display:flex;min-width:0}.multiselect-tag{background:var(--ms-tag-bg,#10b981);border-radius:var(--ms-tag-radius,4px);color:var(--ms-tag-color,#fff);font-size:var(--ms-tag-font-size,.875rem);font-weight:var(--ms-tag-font-weight,600);line-height:var(--ms-tag-line-height,1.25rem);margin-bottom:var(--ms-tag-my,.25rem);margin-right:var(--ms-tag-mx,.25rem);padding:var(--ms-tag-py,.125rem) 0 var(--ms-tag-py,.125rem) var(--ms-tag-px,.5rem);white-space:nowrap}.multiselect-tag.is-disabled{background:var(--ms-tag-bg-disabled,#9ca3af);color:var(--ms-tag-color-disabled,#fff);padding-right:var(--ms-tag-px,.5rem)}.multiselect-tag-wrapper{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.multiselect-tag-wrapper-break{white-space:normal;word-break:break-all}.multiselect-tag-remove{align-items:center;border-radius:var(--ms-tag-remove-radius,4px);display:flex;justify-content:center;margin:var(--ms-tag-remove-my,0) var(--ms-tag-remove-mx,.125rem);padding:var(--ms-tag-remove-py,.25rem) var(--ms-tag-remove-px,.25rem)}.multiselect-tag-remove:hover{background:rgba(0,0,0,.063)}.multiselect-tag-remove-icon{background-color:currentColor;display:inline-block;height:.75rem;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m207.6 256 107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m207.6 256 107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;opacity:.8;width:.75rem}.multiselect-tags-search-wrapper{display:inline-block;flex-grow:1;flex-shrink:1;height:100%;margin:0 var(--ms-tag-mx,4px) var(--ms-tag-my,4px);position:relative}.multiselect-tags-search-copy{display:inline-block;height:1px;visibility:hidden;white-space:pre-wrap;width:100%}.multiselect-tags-search{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;bottom:0;box-sizing:border-box;font-family:inherit;font-size:inherit;left:0;outline:none;padding:0;position:absolute;right:0;top:0;width:100%}.multiselect-tags-search::-webkit-search-cancel-button,.multiselect-tags-search::-webkit-search-decoration,.multiselect-tags-search::-webkit-search-results-button,.multiselect-tags-search::-webkit-search-results-decoration{-webkit-appearance:none}.multiselect-inifite{align-items:center;display:flex;justify-content:center;min-height:calc(var(--ms-border-width, 1px)*2 + var(--ms-font-size, 1rem)*var(--ms-line-height, 1.375) + var(--ms-py, .5rem)*2);width:100%}.multiselect-inifite-spinner,.multiselect-spinner{animation:multiselect-spin 1s linear infinite;background-color:var(--ms-spinner-color,#10b981);flex-grow:0;flex-shrink:0;height:1rem;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m456.433 371.72-27.79-16.045c-7.192-4.152-10.052-13.136-6.487-20.636 25.82-54.328 23.566-118.602-6.768-171.03-30.265-52.529-84.802-86.621-144.76-91.424C262.35 71.922 256 64.953 256 56.649V24.56c0-9.31 7.916-16.609 17.204-15.96 81.795 5.717 156.412 51.902 197.611 123.408 41.301 71.385 43.99 159.096 8.042 232.792-4.082 8.369-14.361 11.575-22.424 6.92z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m456.433 371.72-27.79-16.045c-7.192-4.152-10.052-13.136-6.487-20.636 25.82-54.328 23.566-118.602-6.768-171.03-30.265-52.529-84.802-86.621-144.76-91.424C262.35 71.922 256 64.953 256 56.649V24.56c0-9.31 7.916-16.609 17.204-15.96 81.795 5.717 156.412 51.902 197.611 123.408 41.301 71.385 43.99 159.096 8.042 232.792-4.082 8.369-14.361 11.575-22.424 6.92z'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;width:1rem;z-index:10}.multiselect-spinner{margin:0 var(--ms-px,.875rem) 0 0}.multiselect-clear{display:flex;flex-grow:0;flex-shrink:0;opacity:1;padding:0 var(--ms-px,.875rem) 0 0;position:relative;transition:.3s;z-index:10}.multiselect-clear:hover .multiselect-clear-icon{background-color:var(--ms-clear-color-hover,#000)}.multiselect-clear-icon{background-color:var(--ms-clear-color,#999);display:inline-block;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m207.6 256 107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m207.6 256 107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z'/%3E%3C/svg%3E");transition:.3s}.multiselect-caret,.multiselect-clear-icon{height:1.125rem;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;width:.625rem}.multiselect-caret{background-color:var(--ms-caret-color,#999);flex-grow:0;flex-shrink:0;margin:0 var(--ms-px,.875rem) 0 0;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z'/%3E%3C/svg%3E");pointer-events:none;position:relative;transform:rotate(0);transition:transform .3s;z-index:10}.multiselect-caret.is-open{pointer-events:auto;transform:rotate(180deg)}.multiselect-dropdown{-webkit-overflow-scrolling:touch;background:var(--ms-dropdown-bg,#fff);border:var(--ms-dropdown-border-width,1px) solid var(--ms-dropdown-border-color,#d1d5db);border-radius:0 0 var(--ms-dropdown-radius,4px) var(--ms-dropdown-radius,4px);bottom:0;display:flex;flex-direction:column;left:calc(var(--ms-border-width, 1px)*-1);margin-top:calc(var(--ms-border-width, 1px)*-1);max-height:var(--ms-max-height,10rem);outline:none;overflow-y:scroll;position:absolute;right:calc(var(--ms-border-width, 1px)*-1);transform:translateY(100%);z-index:100}.multiselect-dropdown.is-top{border-radius:var(--ms-dropdown-radius,4px) var(--ms-dropdown-radius,4px) 0 0;bottom:auto;top:var(--ms-border-width,1px);transform:translateY(-100%)}.multiselect-dropdown.is-hidden{display:none}.multiselect-options{display:flex;flex-direction:column;list-style:none;margin:0;padding:0}.multiselect-group{margin:0;padding:0}.multiselect-group-label{align-items:center;background:var(--ms-group-label-bg,#e5e7eb);box-sizing:border-box;color:var(--ms-group-label-color,#374151);cursor:default;display:flex;font-size:.875rem;font-weight:600;justify-content:flex-start;line-height:var(--ms-group-label-line-height,1.375);padding:var(--ms-group-label-py,.3rem) var(--ms-group-label-px,.75rem);text-align:left;text-decoration:none}.multiselect-group-label.is-pointable{cursor:pointer}.multiselect-group-label.is-pointed{background:var(--ms-group-label-bg-pointed,#d1d5db);color:var(--ms-group-label-color-pointed,#374151)}.multiselect-group-label.is-selected{background:var(--ms-group-label-bg-selected,#059669);color:var(--ms-group-label-color-selected,#fff)}.multiselect-group-label.is-disabled{background:var(--ms-group-label-bg-disabled,#f3f4f6);color:var(--ms-group-label-color-disabled,#d1d5db);cursor:not-allowed}.multiselect-group-label.is-selected.is-pointed{background:var(--ms-group-label-bg-selected-pointed,#0c9e70);color:var(--ms-group-label-color-selected-pointed,#fff)}.multiselect-group-label.is-selected.is-disabled{background:var(--ms-group-label-bg-selected-disabled,#75cfb1);color:var(--ms-group-label-color-selected-disabled,#d1fae5)}.multiselect-group-options{margin:0;padding:0}.multiselect-option{align-items:center;box-sizing:border-box;cursor:pointer;display:flex;font-size:var(--ms-option-font-size,1rem);justify-content:flex-start;line-height:var(--ms-option-line-height,1.375);padding:var(--ms-option-py,.5rem) var(--ms-option-px,.75rem);text-align:left;text-decoration:none}.multiselect-option.is-pointed{background:var(--ms-option-bg-pointed,#f3f4f6);color:var(--ms-option-color-pointed,#1f2937)}.multiselect-option.is-selected{background:var(--ms-option-bg-selected,#10b981);color:var(--ms-option-color-selected,#fff)}.multiselect-option.is-disabled{background:var(--ms-option-bg-disabled,#fff);color:var(--ms-option-color-disabled,#d1d5db);cursor:not-allowed}.multiselect-option.is-selected.is-pointed{background:var(--ms-option-bg-selected-pointed,#26c08e);color:var(--ms-option-color-selected-pointed,#fff)}.multiselect-option.is-selected.is-disabled{background:var(--ms-option-bg-selected-disabled,#87dcc0);color:var(--ms-option-color-selected-disabled,#d1fae5)}.multiselect-no-options,.multiselect-no-results{color:var(--ms-empty-color,#4b5563);padding:var(--ms-option-py,.5rem) var(--ms-option-px,.75rem)}.multiselect-fake-input{background:transparent;border:0;bottom:-1px;font-size:0;height:1px;left:0;outline:none;padding:0;position:absolute;right:0;width:100%}.multiselect-fake-input:active,.multiselect-fake-input:focus{outline:none}.multiselect-assistive-text{clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;position:absolute;width:1px}.multiselect-spacer{display:none}[dir=rtl] .multiselect-multiple-label,[dir=rtl] .multiselect-placeholder,[dir=rtl] .multiselect-single-label{left:auto;padding-left:calc(1.25rem + var(--ms-px, .875rem)*3);padding-right:var(--ms-px,.875rem);right:0}[dir=rtl] .multiselect-search{padding-left:0;padding-right:var(--ms-px,.875rem)}[dir=rtl] .multiselect-tags{padding-left:0;padding-right:var(--ms-py,.5rem)}[dir=rtl] .multiselect-tag{margin-left:var(--ms-tag-mx,.25rem);margin-right:0;padding:var(--ms-tag-py,.125rem) var(--ms-tag-px,.5rem) var(--ms-tag-py,.125rem) 0}[dir=rtl] .multiselect-tag.is-disabled{padding-left:var(--ms-tag-px,.5rem)}[dir=rtl] .multiselect-caret,[dir=rtl] .multiselect-spinner{margin:0 0 0 var(--ms-px,.875rem)}[dir=rtl] .multiselect-clear{padding:0 0 0 var(--ms-px,.875rem)}@keyframes multiselect-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}@keyframes blink-ad6da4a9{0%,to{opacity:1}50%{opacity:0}}.dot[data-v-ad6da4a9]{animation:blink-ad6da4a9 1.5s ease-in-out infinite}.dot--1[data-v-ad6da4a9]{animation-delay:0}.dot--2[data-v-ad6da4a9]{animation-delay:.5s}.dot--3[data-v-ad6da4a9]{animation-delay:1s}.ao-icon{color:inherit;fill:currentColor;width:var(--ao-icon-size);height:var(--ao-icon-size)}.ao-icon *{fill:inherit}.ao-icon--sm{--ao-icon-size: var(--ao-icon-size-sm)}.ao-icon--md{--ao-icon-size: var(--ao-icon-size-md)}.ao-icon--lg{--ao-icon-size: var(--ao-icon-size-lg)}.ao-icon--xl{--ao-icon-size: var(--ao-icon-size-xl)}.ao-button{--ao-button-main-color: initial;--ao-button-secondary-color: initial;--ao-button-color: var(--ao-button-main-color);--ao-button-bg: var(--ao-button-secondary);--ao-button-border-color: transparent;--ao-button-padding: var(--ao-space-sm);--ao-button-label-padding: var(--ao-space-sm);--ao-button-border-radius: var(--ao-border-radius-md);--ao-button-line-height: var(--ao-icon-size-md);--ao-button-font-size: var(--ao-font-size-button);display:flex;padding:var(--ao-button-padding);align-items:center;border-width:var(--ao-border-width-md);border-style:solid;border-radius:var(--ao-button-border-radius);border-color:var(--ao-button-border-color);color:var(--ao-button-color);background-color:var(--ao-button-bg);cursor:pointer;font-size:var(--ao-button-font-size);font-weight:var(--ao-font-weight-semi-bold);line-height:var(--ao-button-line-height)}.ao-button--primary{--ao-button-main-color: var(--ao-color-primary-base)}.ao-button--secondary{--ao-button-main-color: var(--ao-color-success)}.ao-button--neutral{--ao-button-main-color: var(--ao-color-neutral-base)}.ao-button--black{--ao-button-main-color: var(--ao-color-neutral-darkest)}.ao-button--warning{--ao-button-main-color: var(--ao-color-warning)}.ao-button--danger{--ao-button-main-color: var(--ao-color-danger)}.ao-button--success{--ao-button-main-color: var(--ao-color-success)}.ao-button--ghost{--ao-border-color: transparent;--ao-background-color: transparent}.ao-button--outline{--ao-button-border-color: var(--ao-button-main-color)}.ao-button--solid{--ao-button-color: var(--ao-button-secondary-color);--ao-button-bg: var(--ao-button-main-color);--ao-button-border-color: var(--ao-button-main-color)}.ao-button--solid:is(.ao-button--primary,.ao-button--secondary,.ao-button--neutral,.ao-button--black){--ao-button-color: var(--ao-color-white)}.ao-button--icon-start{flex-direction:row-reverse}.ao-button--icon-end{flex-direction:row}.ao-button__icon{flex-shrink:0}.ao-button__label{padding-inline:var(--ao-button-label-padding);flex:1;width:100%}.ao-button--footer{width:100%}.ao-button--footer .ao-button__label{text-align:center}.ao-button--is-disabled{cursor:default}.ao-button--sm{--ao-button-padding: var(--ao-space-xs);--ao-button-label-padding: var(--ao-space-xs);--ao-button-line-height: var(--ao-icon-size-sm);--ao-button-font-size: var(--ao-font-size-label)}.ao-button--lg{--ao-button-line-height: var(--ao-icon-size-lg);--ao-button-font-size: var(--ao-font-size-h4)}.ao-button--xl{--ao-button-line-height: var(--ao-icon-size-xl);--ao-button-font-size: var(--ao-font-size-h3)}.ao-button--round{--ao-button-border-radius: var(--ao-border-radius-round)}.ao-title{--ao-title-color: inherit;margin:0;font-weight:var(--ao-font-weight-semi-bold);font-family:var(--ao-font-family-title);color:var(--ao-title-color);cursor:default}.ao-title--editable{cursor:text}.ao-title--readonly{padding-block:var(--ao-space-md);border:var(--ao-input-border-width) solid transparent}.ao-title--1{font-size:var(--ao-font-size-h1)}.ao-title--2{font-size:var(--ao-font-size-h2)}.ao-title--3{font-size:var(--ao-font-size-h3)}.ao-title--4{font-size:var(--ao-font-size-h4)}.ao-title--5{font-size:var(--ao-font-size-h5)}.ao-title--primary{--ao-title-color: var(--ao-color-primary-base)}.ao-title--neutral{--ao-title-color: var(--ao-color-neutral-base)}.ao-title--black{--ao-title-color: var(--ao-color-neutral-darkest)}.ao-title--editing{--ao-title-color: var(--ao-color-primary-dark);width:100%}.ao-card-horiz{--ao-card-horiz-bg-color: var(--ao-color-card);--ao-card-horiz-text-color: inherit;--ao-card-horiz-label-color: var(--ao-color-neutral-base);display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto 1fr auto;grid-template-areas:"drag header secondary" "drag body body" "drag footer footer";border-radius:var(--ao-border-radius-md);color:var(--ao-card-horiz-text-color);background-color:var(--ao-card-horiz-bg-color);overflow:hidden;cursor:pointer;container:card-horiz / inline-size}.ao-card-horiz:hover{box-shadow:var(--ao-elevation-2dp)}.ao-card-horiz--active{--ao-card-horiz-bg-color: var(--ao-color-primary-base);--ao-card-horiz-text-color: var(--ao-color-white);box-shadow:var(--ao-elevation-2dp)}.ao-card-horiz__header{display:flex;align-items:center;padding-inline:var(--ao-space-md);padding-block-start:var(--ao-space-md);grid-area:header;width:100%}.ao-card-horiz__title-group{display:flex;flex-direction:column;flex-grow:1;overflow:hidden;width:100%}.ao-card-horiz__title{min-width:2ch;min-height:1em}.ao-card-horiz__title,.ao-card-horiz__subtitle{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:flex-start}.ao-card-horiz__subtitle{margin-top:var(--ao-space-xs);font-size:var(--ao-font-size-base)}.ao-card-horiz__body{display:flex;flex-direction:column;flex-grow:1;padding-inline:var(--ao-space-md);padding-block:var(--ao-space-md);grid-area:body}.ao-card-horiz__footer{display:flex;flex-direction:column;flex-grow:1;padding-inline:var(--ao-space-md);padding-block-end:var(--ao-space-md);grid-area:footer}.ao-card-horiz__drag{display:flex;justify-content:center;align-items:center;padding-inline:var(--ao-space-md);cursor:grab;grid-area:drag}.ao-card-horiz__drag-handle{opacity:0;visibility:hidden}.ao-card-horiz:hover .ao-card-horiz__drag-handle{opacity:1;visibility:visible}.ao-card-horiz__secondary{display:flex;justify-content:center;align-items:center;padding-inline:var(--ao-space-md);opacity:0;visibility:hidden;grid-area:secondary}.ao-card-horiz:hover .ao-card-horiz__secondary{opacity:1;visibility:visible}@container column (min-width: 480px){.ao-card-horiz{display:flex;flex-direction:row}.ao-card-horiz__header{padding-block:var(--ao-space-md);padding-inline-end:0;flex-shrink:1;min-width:0}.ao-card-horiz__body{padding-inline-end:0;flex-shrink:0}.ao-card-horiz__footer{align-items:flex-end;padding-block:var(--ao-space-md);grid-area:footer;flex-shrink:0}}@container column (min-width: 768px){.ao-card-horiz__header{width:50%}}@container column (min-width: 1024px){.ao-card-horiz__header{width:33%}}@container column (min-width: 1280px){.ao-card-horiz__header{width:25%}}.ao-tag{--ao-tag-color: var(--ao-color-text-contrast);--ao-tag-bg: var(transparent);--ao-tag-border-radius: var(--ao-border-radius-xl);display:flex;flex-direction:row;align-items:stretch;border:var(--ao-border-width-sm) var(--ao-tag-bg) solid;border-radius:var(--ao-tag-border-radius);font-size:var(--ao-font-size-tag);font-weight:var(--ao-font-weight-semi-bold)}.ao-tag__icon{color:var(--ao-color-white)}.ao-tag--primary{--ao-tag-bg: var(--ao-color-primary-light)}.ao-tag--primary-lighter{--ao-tag-bg: var(--ao-color-primary-lighter)}.ao-tag--black{--ao-tag-bg: var(--ao-color-neutral-darkest)}.ao-tag--secondary{--ao-tag-bg: var(--ao-color-success)}.ao-tag--neutral{--ao-tag-bg: var(--ao-color-neutral-light)}.ao-tag--solid.ao-tag--neutral{--ao-tag-color: var(--ao-color-neutral-darkest)}.ao-tag--solid .ao-tag__label{background-color:var(--ao-tag-bg)}.ao-tag--solid_icon .ao-tag__label{background-color:var(--ao-tag-bg);display:flex;gap:var(--ao-space-sm)}.ao-tag--solid .ao-tag__close{background-color:var(--ao-tag-bg)}.ao-tag--clickable .ao-tag__label:hover{--ao-tag-bg: var(--ao-color-neutral-lightest)}.ao-tag--clickable.ao-tag--primary .ao-tag__label:hover{--ao-tag-bg: var(--ao-color-primary-lighter)}.ao-tag--clickable.ao-tag--black .ao-tag__label:hover{--ao-tag-bg: var(--ao-color-neutral-dark)}.ao-tag--clickable .ao-tag__label{cursor:pointer}.ao-tag__label{padding:var(--ao-space-sm) var(--ao-space-md);color:var(--ao-tag-color);width:100%;border-radius:var(--ao-tag-border-radius);font-size:inherit;font-weight:inherit;text-align:inherit;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;background-color:transparent;border-width:0}.ao-tag--closable .ao-tag__label{border-top-right-radius:0;border-bottom-right-radius:0}.ao-tag__close{display:flex;border-width:0;border-top-right-radius:var(--ao-tag-border-radius);border-bottom-right-radius:var(--ao-tag-border-radius);color:var(--ao-tag-color);background-color:transparent;cursor:pointer}.ao-tag--close-icon{padding:var(--ao-space-xs) var(--ao-space-md)}.ao-avatar{--ao-avatar-bg: var(--ao-color-primary-base);--ao-avatar-color: var(--ao-color-neutral-lightest);--ao-avatar-font-weight: --ao-font-weight-medium;--ao-avatar-font-size: var(--ao-font-size-base);--ao-avatar-padding: .5em;color:var(--ao-avatar-color);background-color:var(--ao-avatar-bg);position:relative;border-radius:var(--ao-border-radius-round);line-height:1;display:grid;grid-template-areas:"center";align-items:center;justify-content:center;padding:var(--ao-avatar-padding);cursor:default;overflow:hidden;font-weight:var(--ao-avatar-font-weight);font-size:var(--ao-avatar-font-size);flex-shrink:0}.ao-avatar--sm{--ao-avatar-font-weight: var(--ao-font-weight-bold);--ao-avatar-font-size: var(--ao-font-size-tag);--ao-avatar-padding: .8em}.ao-avatar--lg{--ao-avatar-font-weight: var(--ao-font-weight-light);--ao-avatar-font-size: var(--ao-font-size-h3)}.ao-avatar--xl{--ao-avatar-font-weight: var(--ao-font-weight-extra-light);--ao-avatar-font-size: var(--ao-font-size-h1)}.ao-avatar--primary{--ao-avatar-bg: var(--ao-color-primary-base)}.ao-avatar--neutral{--ao-avatar-bg: var(--ao-color-neutral-base)}.ao-avatar--black{--ao-avatar-bg: var(--ao-color-neutral-darkest)}.ao-avatar__initials{display:flex;flex-direction:column;grid-area:center;justify-content:center;align-items:center;width:1em;height:1em;text-align:center;text-transform:uppercase}.ao-avatar__close{grid-area:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) scale(0);opacity:0;visibility:hidden}.ao-avatar:hover,.ao-avatar-img:hover{z-index:1}.ao-avatar:hover .ao-avatar__close,.ao-avatar-img:hover .ao-avatar__close{transform:translate(-50%,-50%) scale(1);opacity:1;visibility:visible}.ao-avatar-img--sm{width:var(--ao-icon-size-sm);height:var(--ao-icon-size-sm)}.ao-avatar-img--md{width:var(--ao-icon-size-md);height:var(--ao-icon-size-md)}.ao-avatar-img--lg{width:var(--ao-icon-size-lg);height:var(--ao-icon-size-lg)}.ao-avatar-img--xl{width:var(--ao-icon-size-xl);height:var(--ao-icon-size-xl)}.ao-avatar-img{position:relative;border-radius:var(--ao-border-radius-round);display:grid;grid-template-areas:"center";align-items:center;justify-content:center;cursor:default;overflow:hidden;flex-shrink:0}.ao-avatar__image{width:100%;height:100%}.ao-card-template__body{display:flex;flex-direction:row;align-items:center;flex:1}.ao-card-template__footer{display:flex;gap:var(--ao-space-md)}.ao-card-template__col-title{display:flex;align-items:center;gap:var(--ao-space-sm)}.ao-card-template__col-label{font-size:var(--ao-font-size-label);font-weight:600}.ao-card-template__col{display:flex;flex-direction:column;gap:var(--ao-space-md);color:var(--ao-color-neutral-dark);font-size:var(--ao-font-size-label)}.ao-card-template__col--phases{flex-grow:1;color:var(--ao-color-neutral-darkest)}.ao-card-template__phases-list{display:flex;gap:var(--ao-space-sm);padding:0;margin:0}.ao-card-template__col-body{display:flex;flex-direction:row;align-items:flex-start;flex:1}.ao-card-template__subitems{display:flex;margin:0;padding:0;gap:var(--ao-space-sm)}.ao-card-template__subitem{display:flex;align-items:center;list-style-type:none;font-size:var(--ao-font-size-label);font-weight:var(--ao-font-weight-semi-bold)}.ao-page-header{display:flex;container:header / inline-size;z-index:1}.ao-page-header-main{display:flex;gap:var(--ao-space-sm);flex-grow:1}.ao-page-header-secondary{display:flex;gap:var(--ao-space-sm)}@container header (min-width: 720px){.ao-page-header-main{flex-direction:row;align-items:center}.ao-page-header-secondary{margin-inline-start:auto;align-items:center;justify-content:flex-end;flex-grow:1}}.ao-button-card{--ao-button-card-color: inherit;--ao-button-card-bg: transparent;--ao-button-card-border-color: currentColor;--ao-button-card-padding: var(--ao-space-md);--ao-button-card-label-padding: var(--ao-space-sm);--ao-button-card-border-radius: var(--ao-border-radius-md);display:flex;width:100%;flex:1;justify-content:center;padding:var(--ao-button-card-padding);flex-direction:column-reverse;align-items:center;border-width:var(--ao-border-width-sm);border-style:dashed;border-radius:var(--ao-button-card-border-radius);border-color:var(--ao-button-card-border-color);color:var(--ao-button-card-color);background-color:var(--ao-button-card-bg);cursor:pointer;font-size:var(--ao-font-size-button);font-weight:var(--ao-font-weight-semi-bold)}.ao-button-card--primary{--ao-button-card-color: var(--ao-color-primary-base)}.ao-button-card--secondary{--ao-button-card-color: var(--ao-color-success)}.ao-button-card--neutral{--ao-button-card-color: var(--ao-color-neutral-base)}.ao-button-card--black{--ao-button-card-color: var(--ao-color-neutral-darkest)}.ao-button-card__icon{flex-shrink:0}.ao-button-card__label{padding-inline:var(--ao-button-card-label-padding);width:100%}.ao-button-card--footer{width:100%}.ao-button-card--footer .ao-button-card__label{text-align:center}.ao-button-card--is-disabled{cursor:default}.ao-button-card--sm{--ao-button-card-padding: var(--ao-space-xs);--ao-button-card-label-padding: var(--ao-space-xs)}.ao-button-card--round{--ao-button-card-border-radius: var(--ao-border-radius-round)}.ao-card-template-item__footer{display:flex;flex:1;padding:0;margin:0;justify-content:flex-end;gap:var(--ao-space-sm);align-items:center}.ao-card-template-item__subitem{display:flex;align-items:center}.ao-card-template-item__subitem{font-size:var(--ao-font-size-label);font-weight:var(--ao-font-weight-bold)}.ao-modal__wrapper{--ao-modal-z-index: 100;--ao-modal-padding-x: var(--ao-space-sm);display:grid;grid-template-columns:5% 1fr 5%;grid-template-rows:5vh 1fr 5vh;position:absolute;top:0;left:0;width:100%;height:100%;justify-items:center;align-items:flex-start;z-index:var(--ao-modal-z-index)}.ao-modal__wrapper.ao-modal__wrapper--sm{grid-template-columns:10% 1fr 10%;grid-template-rows:15vh auto 25vh}.ao-modal__backdrop{width:100%;height:100%;grid-column:1 / -1;grid-row:1 / -1;background-color:var(--ao-color-backdrop)}.ao-modal{display:flex;width:100%;max-width:768px;height:100%;min-height:0;flex-direction:column;overflow-y:auto;grid-column:1 / -1;grid-row:1 / -1;background-color:var(--ao-color-sheet);container:modal / inline-size}.ao-modal__wrapper--sm .ao-modal{height:auto}.ao-modal__header{display:flex;flex-direction:column;padding-inline:var(--ao-modal-padding-x)}.ao-modal__header-meta{display:flex;justify-content:flex-end}.ao-modal__body{display:flex;height:100%;min-height:0;flex-direction:column;flex-grow:1}.ao-modal__footer{display:flex;flex-direction:column}@media screen and (min-width: 480px){.ao-modal__wrapper{--ao-modal-padding-x: var(--ao-space-lg)}.ao-modal{grid-column:2;grid-row:2;border-radius:var(--ao-border-radius-sm)}.ao-modal__body{flex-direction:row;overflow-y:auto}}@media screen and (min-width: 720px){.ao-modal__wrapper{--ao-modal-padding-x: var(--ao-space-xl)}.ao-modal{grid-column:2;grid-row:2;border-radius:var(--ao-border-radius-sm)}.ao-modal__body{flex-direction:row;overflow:hidden}}.ao-tasks{display:flex;flex-direction:column}.ao-tasks__list{display:flex;flex-direction:column;padding-inline-start:0;margin-block:0;gap:var(--ao-space-md)}.ao-tasks__list-footer{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding-block-start:var(--ao-space-md)}.ao-tasks__list-footer .ao-button{padding-left:0}.ao-subtask{display:flex;list-style-type:none;gap:var(--ao-space-md)}.ao-subtask__check{padding-left:0}.ao-subtask__field{flex-grow:1;border:0;border-bottom:var(--ao-input-border-width) solid var(--ao-input-border-color);border-radius:0}.ao-subtask__field--checked{text-decoration:line-through}.ao-subtask__field:focus{outline:none;border-bottom:var(--ao-border-width-md) solid var(--ao-input-border-color)}.ao-subtask__assignees{width:30%}.ao-subtask__assignees .multiselect-tags{flex-wrap:nowrap;overflow-x:auto;gap:var(--ao-space-xs)}.ao-subtask__assignees .multiselect-wrapper{justify-content:flex-start}.ao-subtask__delete{opacity:0;visibility:hidden}.ao-subtask:is(:hover,:focus-within) .ao-subtask__delete{opacity:1;visibility:visible}.ao-files__wrapper{--ao-input-file-color: var(--ao-color-neutral-darkest);--ao-input-file-border-color: transparent;--ao-input-file-placeholder-color: var(--ao-color-neutral-base);--ao-input-file-bg: transparent;position:relative;display:flex;width:100%;flex-direction:column;flex:1;border:var(--ao-border-width-md) solid var(--ao-input-file-border-color);border-radius:var(--ao-border-radius-md);background-color:var(--ao-input-file-bg);font-family:inherit;font-size:var(--ao-font-size-text);color:var(--ao-input-file-color);overflow-y:auto}.ao-files__wrapper--drop-active{--ao-input-file-border-color: var(--ao-color-primary-base);--ao-input-file-bg: var(--ao-color-primary-lightest);outline:0}.input-field{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.ao-files__input{display:flex}.ao-files__placeholder{width:100%;margin-block-start:var(--ao-space-md);text-align:center;color:var(--ao-color-neutral-base)}.ao-files__list{display:flex;padding:0;padding-block-start:var(--ao-space-md);margin:0;gap:var(--ao-space-sm);flex-wrap:wrap}.ao-file{display:flex;position:relative;padding:0;padding-inline-end:var(--ao-space-xl);list-style-type:none;background-color:var(--ao-color-primary-lighter);border-radius:var(--ao-border-radius-md)}.ao-files__delete-button{position:absolute;top:50%;right:0;transform:translateY(-50%) scale(0);transition:50ms var(--ao-transition-ease)}.ao-file:is(:hover,:focus-within) .ao-files__delete-button{transform:translateY(-50%) scale(1)}.ao-file__link{width:100%;display:flex;flex:1;align-items:center;padding-block:var(--ao-space-md);padding-inline-start:var(--ao-space-md);color:var(--ao-color-primary-darker);text-decoration:none}.ao-file__icon{flex:0}.ao-file__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--ao-font-size-label)}.ao-files__dropzone{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:var(--ao-color-backdrop)}.ao-files__dropzone-label{font-size:var(--ao-font-size-text);color:var(--ao-color-text-contrast)}.ao-comment{--ao-comment-border-radius: var(--ao-border-radius-md);--ao-comment-bg: var(--ao-color-neutral-lightest);display:grid;gap:var(--ao-space-sm);grid-template-columns:auto 1fr auto;grid-template-rows:auto auto;font-size:var(--ao-font-size-text)}.ao-comment__avatar{grid-row:2;align-self:flex-start}.ao-comment__body{padding:0 var(--ao-space-sm);grid-column:2}.ao-comment__content-wrapper{width:100%}.ao-comment__content{display:inline;width:100%;margin:0;white-space:pre-line}.ao-comment__created-at{grid-column:2;padding:0 var(--ao-space-sm);font-size:var(--ao-font-size-tag);color:var(--ao-color-neutral-light)}.ao-comment__footer{grid-column:2;display:flex;gap:var(--ao-space-sm)}.ao-comments{flex:3;overflow-y:auto}.ao-comments__list{display:flex;flex-direction:column-reverse;min-height:0;gap:var(--ao-space-lg);padding:0;padding-block-start:var(--ao-space-md);margin:0}.ao-comments__form{display:grid;gap:var(--ao-space-md);grid-template-columns:1fr auto;grid-template-rows:1fr auto;align-items:flex-end}.ao-comments__form-textarea{grid-column:1/ -1;grid-row:1/ -1}.ao-comments__form-submit{padding:var(--ao-space-md);grid-column:2;grid-row:2;display:flex;justify-content:flex-end}.mention-list{position:absolute;background:white;border:1px solid var(--ao-border-width-sm);border-radius:4px;box-shadow:0 2px 6px #00000026;z-index:1000;list-style:none;padding:0;margin:0;max-height:150px;overflow-y:auto}.mention-list li{padding:8px 12px;cursor:pointer}.mention-list li:hover{background-color:var(--ao-color-blue-lighter)}.ao-activity-details{display:flex;flex-direction:column;width:100%;height:100%;min-height:0;flex-grow:1;overflow-y:auto}.ao-activity-details__header{display:flex;flex-direction:column;padding:var(--ao-space-xl) var(--ao-space-lg) var(--ao-space-md)}.ao-activity-details__main{flex-grow:1;padding:var(--ao-space-lg)}.ao-activity__category{font-weight:var(--ao-font-weight-regular)}.ao-activity-details__content{display:flex;flex-direction:column;flex-grow:1;padding-inline:var(--ao-space-lg)}.ao-activity-details__aside{border-top:var(--ao-border-width-sm) solid var(--ao-color-neutral-lightest);margin-block-start:var(--ao-space-lg);padding-block-start:var(--ao-space-lg);display:flex;flex-direction:column}.ao-activity-details__aside-section:not(:empty){padding:var(--ao-space-xl) var(--ao-space-lg)}.ao-activity-details__aside-section+.ao-activity-details__aside-section:not(:empty){border-block-start:var(--ao-border-width-sm) solid var(--ao-color-neutral-light)}.ao-field__input--estim{width:8ch}@container modal (min-width: 480px){.ao-activity-details__content{overflow-y:auto}.ao-activity-details__aside{margin-block-start:0;border-top:0}}@container modal (min-width: 720px){.ao-activity-details{display:flex;flex-direction:column;height:auto;min-height:auto;flex-grow:1;flex-direction:row}.ao-activity-details__main{height:100%;min-height:0;flex-grow:1;overflow-y:auto}.ao-activity-details__aside{width:33%;background-color:var(--ao-color-canvas);padding-block-end:var(--ao-space-xl);padding-block-start:var(--ao-space-sm)}.ao-activity-details__aside>:nth-child(2){padding-block-start:var(--ao-space-md)}.ao-activity-details__close-button{display:flex;flex-direction:row;justify-content:end;margin-inline-end:var(--ao-space-sm)}.ao-activity-details__close-button *{cursor:pointer}.ao-activity-details__aside-section--created-by{margin-block-start:auto;border-block-start-width:0}.ao-activity-details__multiselect .multiselect-tags-search{background-color:transparent}.ao-activity-details__multiselect.ao-multiselect{--ms-font-size: var(--ao-font-size-label);--ms-bg: transparent;--ms-line-height: 1;--ms-border-color: none;--ms-border-width: var(--ao-input-border-width);--ms-border-color-active: none;--ms-border-width-active: var(--ao-input-border-width);--ms-radius: var(--ao-border-radius-sm);--ms-py: var(--ao-space-sm);--ms-px: var(--ao-space-sm);--ms-ring-color: transparent;--ms-placeholder-color: var(--ao-color-black);--ms-spinner-color: var(--ao-color-primary-base);--ms-dropdown-radius: var(--ao-border-radius-sm);--ms-option-bg-selected: var(--ao-color-primary-base);--ms-option-bg-selected-pointed: var(--ao-color-primary-light)}.ao-field__input:not(.ao-field__input--estim){background-color:transparent;border-color:transparent}}.ao-activity__created-by{display:flex;align-items:center;gap:var(--ao-space-sm)}.ao-activity__ao-tag{display:inline-flex;width:auto;border:none;border-radius:var(--ao-tag-border-radius)}.ao-activity__ao-tag .ao-tag__label{width:auto;max-width:100%}.assignee-inline{display:flex;align-items:center;gap:8px}.ao-rule-line{display:flex}.ao-rule-line__remove{visibility:hidden;opacity:0}.ao-rule-line:hover .ao-rule-line__remove{visibility:visible;opacity:1}.ao-template-rules__body{display:flex;flex-direction:column;flex:1;align-items:stretch;gap:var(--ao-space-lg)}.ao-template-rules__list{padding:0;margin:0;display:flex;flex-direction:column;flex:1;gap:var(--ao-space-md)}.ao-template-rule{list-style:none}.ao-template-details__cols{display:flex;list-style-type:none;padding:0;margin:0;container:columns / inline-size;overflow-x:auto}.ao-template-details__col{width:100%;padding-inline:var(--ao-space-md);flex-shrink:0}@container columns (min-width: 480px){.ao-template-details__col{width:50%}}@container columns (min-width: 960px){.ao-template-details__col{width:calc(1 / 3 * 100%)}}.ao-card{--ao-card-bg: var(--ao-color-card);--ao-card-color: inherit;--ao-card-padding: var(--ao-space-md);--ao-card-elevation: var(--ao-elevation-2dp);display:flex;flex-direction:row;border-radius:var(--ao-border-radius-md);background-color:var(--ao-card-bg);color:var(--ao-card-color);box-shadow:var(--ao-card-elevation);transform:translateY(0)}.ao-card__content{display:flex;flex-direction:column;width:100%}.ao-card__left-border{width:var(--ao-space-md);border-top-left-radius:var(--ao-border-radius-md);border-bottom-left-radius:var(--ao-border-radius-md)}:not(.ao-list-kanban__transition)>.ao-card{transition:all .15s var(--ao-transition-ease)}.ao-card--clickable{cursor:pointer}.ao-card--clickable:is(:hover,:focus-within){--ao-card-elevation: var(--ao-elevation-4dp);transform:translateY(-2px)}.ao-card__header{display:flex;flex-direction:column;padding-block-start:var(--ao-card-padding);padding-inline:var(--ao-card-padding)}.ao-card__body{display:flex;flex-direction:column;flex:1;padding-inline:var(--ao-card-padding)}.ao-card__footer{display:flex;flex-direction:column;padding-block-end:var(--ao-card-padding);padding-inline:var(--ao-card-padding)}.ao-progress{--ao-progress-bg: var(--ao-color-neutral-lightest);--ao-progress-height: var(--ao-grid-size);--ao-progress-border-radius: var(--ao-border-radius-md);height:var(--ao-progress-height);width:100%;display:grid;grid-column:1 / -1;grid-row:2;background-color:var(--ao-progress-bg);border-radius:var(--ao-progress-border-radius)}.ao-progress__progress{grid-column:1;grid-row:1;border-radius:var(--ao-progress-border-radius);background-color:var(--ao-progress-color);opacity:.2}.ao-progress--success{--ao-progress-color: var(--ao-color-success)}.ao-progress--warning{--ao-progress-color: var(--ao-color-warning)}.ao-progress--danger{--ao-progress-color: var(--ao-color-danger)}.ao-progress__progress:nth-child(1){opacity:1;z-index:1}.hu-color-picker{padding:10px;background:#1d2024;border-radius:4px;box-shadow:0 0 16px #00000029;z-index:1}.hu-color-picker.light{background:#f7f8f9}.hu-color-picker.light .color-show .sucker{background:#eceef0}.hu-color-picker.light .color-type .name{background:#e7e8e9}.hu-color-picker.light .color-type .value{color:#666;background:#eceef0}.hu-color-picker.light .colors.history{border-top:1px solid #eee}.hu-color-picker canvas{vertical-align:top}.hu-color-picker .color-set{display:flex}.hu-color-picker .color-show{margin-top:8px;display:flex}.saturation{position:relative;cursor:pointer}.saturation .slide{position:absolute;left:100px;top:0;width:10px;height:10px;border-radius:50%;border:1px solid #fff;box-shadow:0 0 1px 1px #0000004d;pointer-events:none}.color-type{display:flex;margin-top:8px;font-size:12px}.color-type .name{width:60px;height:30px;float:left;display:flex;justify-content:center;align-items:center;color:#999;background:#252930}.color-type .value{flex:1;height:30px;min-width:100px;padding:0 12px;border:0;color:#fff;background:#2e333a;box-sizing:border-box}.color-alpha{position:relative;margin-left:8px;cursor:pointer}.color-alpha .slide{position:absolute;left:0;top:100px;width:100%;height:4px;background:#fff;box-shadow:0 0 1px #0000004d;pointer-events:none}.sucker{width:30px;fill:#9099a4;background:#2e333a;cursor:pointer;transition:all .3s}.sucker.active,.sucker:hover{fill:#1593ff}.colors{padding:0;margin:0}.colors.history{margin-top:10px;border-top:1px solid #2e333a}.colors .item{position:relative;width:16px;height:16px;margin:10px 0 0 10px;border-radius:3px;box-sizing:border-box;vertical-align:top;display:inline-block;transition:all .1s;cursor:pointer}.colors .item:nth-child(8n+1){margin-left:0}.colors .item:hover{transform:scale(1.4)}.colors .item .alpha{height:100%;border-radius:4px}.colors .item .color{position:absolute;left:0;top:0;width:100%;height:100%;border-radius:3px}.hue{position:relative;margin-left:8px;cursor:pointer}.hue .slide{position:absolute;left:0;top:100px;width:100%;height:4px;background:#fff;box-shadow:0 0 1px #0000004d;pointer-events:none}.color-picker-wrapper{position:relative}.color-picker{box-shadow:var(--ao-elevation-2dp)}.color-picker-box{box-sizing:content-box}.ao-card-project-phase__header{display:flex;justify-content:flex-end}.ao-card-project-phase__footer{display:flex;flex-direction:column}.ao-card-project-phase__footer-row{display:grid;grid-template-columns:auto;grid-template-rows:auto;gap:var(--ao-space-md);justify-items:start;position:relative}.ao-card-project-phase__archive{opacity:0;visibility:hidden}.ao-card-project-phase:is(:hover,:focus-within) .ao-card-project-phase__archive{opacity:1;visibility:visible}.ao-card-project-phase__deadline{font-size:var(--ao-font-size-label);padding:var(--ao-space-sm);grid-column:1;grid-row:1}.ao-card-project-phase__deadline--input{padding:var(--ao-space-sm);border-width:0;background-color:transparent}.ao-card-project-phase__deadline--readonly{letter-spacing:.1em}.ao-card-project-phase__footer-row.ao-card-project-phase__no_deadline,.ao-card-project-phase__deadline--input,.ao-card-project-phase:is(:hover,:focus-within) .ao-card-project-phase__deadline{opacity:0;visibility:hidden}.ao-card-project-phase__deadline--readonly,.ao-card-project-phase:is(:hover,:focus-within) .ao-card-project-phase__deadline--input,.ao-card-project-phase:is(:hover,:focus-within) .ao-card-project-phase__no_deadline{opacity:1;visibility:visible}.ao-card-project-phase__title{padding-block:0;display:inline;word-break:normal}.ao-card-project-phase__secondary{display:flex;position:absolute;top:0;left:0;width:100%;height:100%;justify-content:center;align-items:center;background-color:var(--ao-card-bg);opacity:0;visibility:hidden;pointer-events:none}.ao-card-project-phase:is(:hover,:focus-within) .ao-card-project-phase__secondary{opacity:1;visibility:visible;pointer-events:all}.ao-card-project-phase__footer-row--progress{padding-block:var(--ao-space-sm)}.ao-card-project-phase__subitem{display:flex;flex-shrink:0;font-size:var(--ao-font-size-tag);font-weight:var(--ao-font-weight-semi-bold)}.ao-card-project-phase__progress{flex-grow:1}.aoBadge{display:inline-block;padding:4px;width:8px;height:8px;border-radius:var(--ao-border-radius-round)}.ao-card-project-milestone{--ao-card-project-milestone-border-color: transparent;padding:0;border:var(--ao-border-width-md) solid var(--ao-card-project-milestone-border-color)}.ao-card-project-milestone__default{display:flex;justify-content:space-between}.ao-card-project-milestone__archive{display:none;height:fit-content;padding-block:var(--ao-space-md)}.ao-card-project-milestone:hover .ao-card-project-milestone__archive{display:flex}.ao-card-project-milestone__activities{display:flex;flex-direction:column}.ao-card-project-milestone__activities-row{display:flex;gap:var(--ao-space-md);align-items:center;position:relative}.ao-card-project-milestone__secondary{display:flex;position:absolute;top:0;left:0;width:100%;height:100%;justify-content:center;align-items:center;background-color:var(--ao-card-bg);opacity:0;visibility:hidden;pointer-events:none}.ao-card-project-milestone:hover .ao-card-project-milestone__secondary{opacity:1;visibility:visible;pointer-events:all}.ao-card-project-milestone__activities-row+.ao-card-project-milestone__activities-row{margin-block-start:var(--ao-space-md)}.ao-card-project-milestone__subitem{display:flex;flex-shrink:0;font-size:var(--ao-font-size-tag);font-weight:var(--ao-font-weight-semi-bold)}.ao-card-project-milestone__progress{flex-grow:1}.ao-card-project-milestone__title{max-width:fit-content;display:inline;word-break:normal}.ao-card-project-item-milestone__estimation{font-weight:var(--ao-font-weight-semi-bold);display:inline;font-size:var(--ao-font-size-h5)}.ao-card-project-milestone__footer{display:flex;align-items:center;padding-block-start:var(--ao-space-sm);gap:var(--ao-space-sm)}.ao-card-project-milestone__assignee{display:flex;justify-content:flex-start;margin-inline-start:auto}.ao-card-project-milestone__deadline{padding-block:var(--ao-space-sm)}.ao-card-project-milestone__important{color:var(--ao-color-danger)}.ao-card-project-milestone__important--selected{color:var(--ao-color-white)}.ao-title-with-badge-wrapper{display:flex;align-items:center;gap:8px}.ao-mapping-card-project-phase__header{display:flex;justify-content:flex-end;opacity:0;visibility:collapse;//transition: collapse .15s}.ao-mapping-card-project-phase:is(:hover,:focus-within) .ao-mapping-card-project-phase__header{opacity:1;visibility:visible}.ao-mapping-card-project-phase__footer{display:flex;flex-direction:column}.ao-mapping-card-project-phase__footer-row{display:grid;grid-template-columns:auto;grid-template-rows:auto;gap:var(--ao-space-md);justify-items:start;position:relative}.ao-mapping-card-project-phase__archive{opacity:0;visibility:hidden}.ao-mapping-card-project-phase:is(:hover,:focus-within) .ao-mapping-card-project-phase__archive{opacity:1;visibility:visible}.ao-mapping-card-project-phase__deadline{font-size:var(--ao-font-size-label);padding:var(--ao-space-sm);grid-column:1;grid-row:1}.ao-mapping-card-project-phase__deadline--input{padding:var(--ao-space-sm);border-width:0;background-color:transparent}.ao-mapping-card-project-phase__deadline--readonly{letter-spacing:.1em}.ao-mapping-card-project-phase__footer-row.ao-mapping-card-project-phase__no_deadline,.ao-mapping-card-project-phase__deadline--input,.ao-mapping-card-project-phase:is(:hover,:focus-within) .ao-mapping-card-project-phase__deadline{opacity:0;visibility:collapse}.ao-mapping-card-project-phase__deadline--readonly,.ao-mapping-card-project-phase:is(:hover,:focus-within) .ao-mapping-card-project-phase__deadline--input,.ao-mapping-card-project-phase:is(:hover,:focus-within) .ao-mapping-card-project-phase__no_deadline{opacity:1;visibility:visible}.ao-mapping-card-project-phase__title{padding-block:0;display:inline;word-break:normal}.ao-card-project-item__title-line{display:block;word-break:normal}.ao-card-project-item-phase__estimation{font-weight:var(--ao-font-weight-semi-bold);display:inline;font-size:var(--ao-font-size-h4)}.ao-mapping-card-project-phase__secondary{display:flex;position:absolute;top:0;left:0;width:100%;height:100%;justify-content:center;align-items:center;background-color:var(--ao-card-bg);opacity:0;visibility:hidden;pointer-events:none}.ao-mapping-card-project-phase:is(:hover,:focus-within) .ao-mapping-card-project-phase__secondary{opacity:1;visibility:visible;pointer-events:all}.ao-mapping-card-project-phase__footer-row--progress{padding-block:var(--ao-space-sm)}.ao-mapping-card-project-phase__subitem{display:flex;flex-shrink:0;font-size:var(--ao-font-size-tag);font-weight:var(--ao-font-weight-semi-bold)}.ao-mapping-card-project-phase__progress{flex-grow:1}.ao-project-phase__drag-handle{opacity:0;visibility:hidden}.ao-project-phase__drag{display:flex;justify-content:center;align-items:center;padding-inline:var(--ao-space-md);cursor:grab;grid-area:drag}.ao-project-phase:hover .ao-project-phase__drag-handle{opacity:1;visibility:visible}.ao-project-phase{display:flex;flex-direction:column;padding-block:var(--ao-space-md)}.ao-project-phase--selected .ao-project-phase__col-phase{background-color:var(--ao-color-primary-lightest)}.ao-project-phase__col-phase{display:flex;flex-shrink:0;flex-direction:column;padding:var(--ao-space-xl) var(--ao-space-xxl);margin-inline-end:var(--ao-space-md);justify-content:center;border-radius:var(--ao-border-radius-md)}.ao-mapping-project-phase__col-phase{display:flex;flex-shrink:0;flex-direction:column;padding:var(--ao-space-lg) var(--ao-space-sm);margin-inline-end:var(--ao-space-md);justify-content:center;border-radius:var(--ao-border-radius-md)}.ao-project-phase__col-milestones{display:flex;flex:1;padding:var(--ao-space-md);gap:var(--ao-space-md);overflow-x:auto;scroll-snap-type:x mandatory}.ao-project-phase__milestones,.ao-project-phase__milestones-list{display:contents}.ao-project-phase__milestone{scroll-snap-align:center;width:90%;flex-shrink:0}.ao-project-phase__milestones-list-footer{display:flex;scroll-snap-align:center}@container page (min-width: 480px){.ao-project-phase__milestones-list{grid-auto-columns:45%;overflow-x:auto}.ao-project-phase__milestone{width:45%}}@container page (min-width: 720px){.ao-project-phase{flex-direction:row}.ao-project-phase__col-phase,.ao-mapping-project-phase__col-phase{width:20em}.ao-project-phase+.ao-project-phase{border-block-start:var(--ao-border-width-sm) solid var(--ao-color-neutral-lightest)}.ao-project-phase__col-milestones{flex-direction:column;border-inline-start:var(--ao-border-width-sm) solid var(--ao-color-neutral-lightest);overflow:hidden}.ao-project-phase__milestones{display:flex;width:100%;flex-direction:row;align-items:center;height:100%;padding:var(--ao-space-md);border-radius:var(--ao-border-radius-md);background-color:var(--ao-color-sheet)}.ao-project-phases__draggable-card{margin:var(--ao-space-md);border-radius:var(--ao-border-radius-md);background-color:var(--ao-color-sheet);display:flex;flex-direction:row}.ao-project-phase--selected .ao-project-phase__milestones{background-color:var(--ao-color-primary-lightest)}.ao-project-phase__milestones-list{display:grid;padding:var(--ao-space-md);flex-shrink:1;max-width:100%;min-width:0;grid-auto-columns:minmax(max(20%,147px),196px);grid-auto-flow:column;align-items:stretch;gap:var(--ao-space-md);scroll-snap-type:x mandatory;scroll-snap-padding:var(--ao-space-md)}.ao-project-phase__milestone{width:100%;scroll-snap-align:start}.ao-project-phase__milestones-list-footer{align-items:center;padding:var(--ao-space-md)}.ao-project-phase__milestone-add{flex-grow:0;flex-shrink:0}}.ao-project__phases{display:flex;flex-direction:column;height:100%;min-height:0;padding-inline-start:0;margin-block:0}.ao-project-phase__add-phase{padding:var(--ao-space-lg)}@container page (min-width: 720px){.ao-project-phase__phases-list-footer{display:flex}.ao-project-phase__empty_drag{width:40px}.ao-project-phase__phases-list-footer .ao-project-phase__col-phase{max-width:20em;padding:var(--ao-space-md)}.ao-project-phase__phases-list-footer .ao-project-phase__col-milestones{border:none}}.ao-add-template-modal__form{display:flex;flex-direction:column;height:100%;min-height:0;width:100%;margin-block-start:var(--ao-space-md);padding:0 var(--ao-space-xl) var(--ao-space-xl) var(--ao-space-xl)}.ao-add-template-modal__form-body{display:flex;flex-direction:column;height:100%;min-height:0}.ao-add-template-modal__form-footer{display:flex;justify-content:flex-end;margin-block-start:var(--ao-space-lg)}.ao-save-template-modal__form{display:flex;flex-direction:column;height:100%;min-height:0;width:100%;margin-block-start:var(--ao-space-md)}.ao-save-template-modal__form-body{display:flex;flex-direction:column;height:100%;min-height:0}.ao-save-template-modal__form-footer{display:flex;justify-content:flex-end;margin-block-start:var(--ao-space-lg)}.ao-save-template-modal__form{padding:0 var(--ao-space-lg) var(--ao-space-lg) var(--ao-space-lg)}.ao-save-template-modal__phases{margin-top:var(--ao-space-md)}.ao-field__label{padding:var(--ao-space-md) 0;font-size:var(--ao-font-size-base)}.ao-save-template-modal__phases-list{display:flex;flex-direction:column;gap:var(--ao-space-sm)}.ao-field--checkbox{display:flex;flex-direction:row}.tabbar-wrapper[data-v-ff4e3297]{display:flex;align-items:center;margin:0;font-size:var(--ao-font-size-h3);padding:var(--ao-space-sm);border-radius:var(--ao-border-radius-md);background-color:var(--ao-color-neutral-lightest)}.tab-button[data-v-ff4e3297]{border:none;background-color:transparent;padding:var(--ao-space-sm) var(--ao-space-md);border-radius:var(--ao-border-radius-sm);color:var(--ao-color-black);cursor:pointer;transition:background-color .2s ease}.tab-button--active[data-v-ff4e3297]{background-color:var(--ao-color-primary-base);color:var(--ao-color-white)}.ao-project-overview__add-template .ao-project-overview__save-as-template{margin-left:auto;margin-right:var(--ao-space-md)}.ao-project-overview{display:grid;grid-template-columns:1fr auto;height:100%;min-height:0;container:page / inline-size}.ao-project{display:flex;flex-direction:column;gap:var(--ao-space-md);padding-block:var(--ao-space-lg);height:100%;min-height:0;flex-grow:1;overflow:hidden}.ao-project__body{display:flex;flex-direction:column;height:100%;min-height:0;width:100%;min-width:0;flex-grow:1;align-items:flex-start;padding-block:var(--ao-space-md);overflow:hidden}@container page (min-width: 720px){.ao-project{padding-inline:var(--ao-space-lg)}}.ao-card-feed{cursor:pointer}.ao-card-feed__header{display:grid;grid-template-columns:minmax(0,1fr) auto;justify-items:flex-start}.ao-card-feed__header-secondary{grid-column:2;grid-row:1}.ao-card-feed__header-icons{margin-inline-start:auto}.ao-card-feed__title-group{margin-block:var(--ao-space-md);display:flex;align-items:center}.ao-card-feed__body{display:flex;flex-direction:column;align-items:flex-start}.ao-card-feed__project{max-width:100%}.ao-card-feed__breadcrumbs{font-size:var(--ao-font-size-label)}.ao-card-feed_deadline{color:var(--ao-color-neutral-base);font-size:var(--ao-font-size-label)}.ao-card-feed__important{margin-inline-start:auto;color:var(--ao-color-danger)}.ao-card-feed__warning{color:var(--ao-color-warning)}.ao-card-feed__footer{display:flex;flex-direction:column}.ao-card-feed__footer-row{display:flex;gap:var(--ao-space-md);align-items:center;position:relative}.ao-card-feed__secondary{display:flex;width:100%;height:100%;justify-content:center;align-items:center;background-color:var(--ao-card-bg);opacity:0;visibility:hidden;pointer-events:none}.ao-card-feed:hover .ao-card-feed__secondary{opacity:1;visibility:visible;pointer-events:all}.ao-card-feed__footer-row+.ao-card-feed__footer-row{margin-block-start:var(--ao-space-md)}.ao-assignees{display:flex;margin:0;padding:0}.ao-assignee{list-style-type:none}.ao-card-feed__subitems{margin:0;margin-inline-start:auto;padding:0;display:flex;gap:var(--ao-space-sm);align-items:center}.ao-card-feed__subitem{display:flex;flex-shrink:0;font-size:var(--ao-font-size-tag);font-weight:var(--ao-font-weight-semi-bold)}.ao-card-feed__progress-wrapper{display:flex;width:100%;align-items:center;gap:var(--ao-space-md)}.ao-card-feed__progress{flex-grow:1}.ao-card-feed__footer-row--timer{display:flex;justify-content:flex-end;margin-top:var(--ao-space-sm)}.ao-card-feed__closed{color:var(--ao-color-primary-base)}.ao-card-feed--closed :is(.ao-card-feed__body,.ao-card-feed__footer,.ao-card-feed__project,.ao-card-feed__header-icons > *:not(.ao-card-feed__closed)){opacity:.3}.ao-card-feed__title-line{display:block;word-break:normal}.ao-card-feed__slug{font-weight:var(--ao-font-weight-semi-bold);white-space:nowrap;display:inline}.ao-card-feed__title-inline{display:inline;word-break:normal}.ao-project-milestone{display:flex;flex-direction:column;flex:1;height:100%;min-height:0;width:24em;background-color:var(--ao-color-sheet);padding:var(--ao-space-lg)}.ao-project-milestone__header{display:flex;align-items:flex-start;flex-direction:column}.ao-project-milestone__header_line{display:flex;align-items:flex-start;justify-content:space-between;width:100%}.ao-project-milestone__title{display:flex;padding-inline:var(--ao-space-lg);width:100%}.ao-project-milestone__body{display:flex;flex-direction:column;height:100%;min-height:0}.ao-project-milestone__activities{display:flex;flex-direction:column;gap:var(--ao-space-md);padding:var(--ao-space-md);margin-block:0;overflow-y:auto}.ao-project-milestone__footer{display:flex;flex-direction:column;padding:var(--ao-space-md)}.ao-milestone__fieldset{width:100%;padding:var(--ao-space-md);border-block-end:var(--ao-border-width-sm) solid var(--ao-color-neutral-lightest)}.ao-milestone__field-row{width:100%;align-items:center}.ao-milestone__field-row+.ao-milestone__field-row{margin-block-start:var(--ao-space-sm)}.ao-milestone__field{padding:var(--ao-space-sm);font-size:var(--ao-font-size-label);background-color:transparent;border-width:0}.ao-milestone__field-multiselect{width:14ch;background-color:transparent}.ao-milestone__field-multiselect .multiselect-tags-search{background-color:transparent}.ao-milestone__field-multiselect .ao-multiselect{--ms-font-size: var(--ao-font-size-label);--ms-line-height: 1;--ms-border-color: none;--ms-border-width: var(--ao-input-border-width);--ms-border-color-active: none;--ms-border-width-active: var(--ao-input-border-width);--ms-radius: var(--ao-border-radius-sm);--ms-py: var(--ao-space-sm);--ms-px: var(--ao-space-sm);--ms-ring-color: transparent;--ms-placeholder-color: var(--ao-color-black);--ms-spinner-color: var(--ao-color-primary-base);--ms-dropdown-radius: var(--ao-border-radius-sm);--ms-option-bg-selected: var(--ao-color-primary-base);--ms-option-bg-selected-pointed: var(--ao-color-primary-light)}.ao-milestone__important,.ao-milestone__close{margin-inline-start:auto}.color-button{cursor:pointer;width:125px;height:24px;border-radius:var(--ao-border-radius-sm);border:1px solid #ccc}.ao-col-header{--ao-col-header-bg: var(--ao-color-card);display:flex;background-color:var(--ao-col-header-bg);border-radius:var(--ao-border-radius-md);align-items:center;padding:var(--ao-space-md)}.ao-col-header__title{flex:1}.ao-col-header__items{flex-shrink:0}.ao-list-kanban{display:flex;flex-direction:column;gap:var(--ao-space-lg);height:100%;min-height:0;scroll-snap-align:start end}.ao-list-kanban__list{display:flex;flex-direction:column;gap:var(--ao-space-md);min-height:0;overflow-y:auto;padding-inline:var(--ao-space-md)}.ao-list-kanban__header,.ao-list-kanban__footer{padding-inline:var(--ao-space-md)}.ao-list-kanban__end{display:flex;flex-direction:column;padding:var(--ao-space-md);align-items:center;justify-items:center;flex-shrink:0}.ao-list-kanban__divider{width:50%;height:2px;background-color:var(--ao-color-neutral-lightest)}.ao-list-kanban .ao-list-kanban__list .ao-list-kanban__transition-move,.ao-list-kanban .ao-list-kanban__list .ao-list-kanban__transition-enter-active,.ao-list-kanban .ao-list-kanban__list .ao-list-kanban__transition-leave-active{transition:all .5s ease}.ao-list-kanban__transition-leave-active{position:absolute}.ao-list-kanban__ghost{opacity:.5;background:var(--ao-color-primary-lightest)}.ao-search-field{--ao-search-field-icon-size: var(--ao-icon-size-md);--ao-search-field-icon-slot-size: calc( var(--ao-search-field-icon-size) + var(--ao-space-xl) );--ao-search-field-placeholder-color: var(--ao-color-black);--ao-input-border-color: var(--ao-color-neutral-lightest);display:grid;grid-template-columns:1fr var(--ao-search-field-icon-slot-size);align-items:center;gap:var(--ao-space-sm);flex:1}.ao-search-field__input{grid-column:1 / -1;grid-row:1;width:100%;padding-inline-end:var(--ao-search-field-icon-slot-size);font-size:var(--ao-font-size-button);border-radius:var(--ao-border-radius-md)}.ao-search-field__input:focus{color:var(--ao-color-primary-base);outline-color:var(--ao-color-primary-lightest)}.ao-search-field__input::placeholder{color:var(--ao-search-field-placeholder-color);opacity:1}.ao-search-field__action{grid-column:2;grid-row:1;justify-self:center;transform:scale(0);transition:transform .15s var(--ao-transition-ease);transform-origin:50%}.ao-search-field__action--visible{transform:scale(1)}.ao-search-field__icon{width:var(--ao-search-field-icon-size);height:var(--ao-search-field-icon-size);color:var(--ao-color-neutral-dark);pointer-events:none}.ao-feed{display:flex;flex-direction:column;gap:var(--ao-space-md);padding:var(--ao-space-lg);height:100%;min-height:0;flex-grow:1;container:page / inline-size}.ao-feed__body{display:grid;grid-auto-flow:column;grid-auto-columns:100%;height:100%;min-height:0;flex-grow:1;overflow-x:auto;align-items:flex-start;padding-block:var(--ao-space-md);scroll-snap-type:x mandatory}.ao-feed__activity-details__header{display:flex;gap:var(--ao-space-md)}.ao-feed__activity-details__project{flex:2}.ao-feed__activity-details__status{flex:1}@container page (min-width: 420px){.ao-feed__body{grid-auto-columns:50cqi}}@container page (min-width: 768px){.ao-feed__body{grid-auto-columns:33cqi}}@container page (min-width: 1024px){.ao-feed__body{grid-auto-columns:minmax(calc(var(--ao-grid-size) * 32),calc(var(--ao-grid-size) * 32))}}.ao-kanban__col{display:flex;flex-direction:column;gap:var(--ao-space-md);max-height:100%;min-height:0;overflow-y:auto;padding:var(--ao-space-lg)}.ao-feed__filters{flex:1;display:flex;gap:1%;align-items:center;flex-direction:column}.ao-feed__filter .multiselect-tags{flex-wrap:nowrap;overflow-x:auto;gap:var(--ao-space-xs)}.ao-feed__filter .multiselect-wrapper{justify-content:flex-start}.ao-feed__show-archived{flex:0 auto}@container header (min-width: 720px){.ao-feed__filters{flex-direction:row}.ao-feed__search{padding-inline-end:var(--ao-space-md);border-right:var(--ao-border-width-sm) solid var(--ao-color-neutral-lightest)}.ao-feed__search,.ao-feed__filter__projects{max-width:33%}.ao-feed__filter__assignees,.ao-feed__filter__types{max-width:15%}}.ao-project-mapping-overview__add-template,.ao-project-mapping-overview__save-as-template{margin-left:auto;margin-right:var(--ao-space-md)}.ao-project-mapping-overview{display:grid;grid-template-columns:1fr auto;height:100%;min-height:0;container:page / inline-size}.ao-project-mapping{display:flex;flex-direction:column;gap:var(--ao-space-md);padding-block:var(--ao-space-lg);height:100%;min-height:0;flex-grow:1;overflow:visible}.ao-project-mapping-mapping__body{display:flex;flex-direction:row;align-items:flex-start;gap:var(--ao-space-md);padding-block:var(--ao-space-md)}.ao-project-mapping-mapping__phases{flex:0 0 auto;min-width:0;max-height:100vh;overflow:scroll}.ao-project-mapping-mapping__image-wrapper{flex:1 1 0;position:relative;min-width:0}.architecture-image{position:sticky;top:var(--ao-space-md);width:100%;height:auto;display:block}@container page (min-width: 720px){.ao-project-mapping{padding-inline:var(--ao-space-lg)}}.ao-templates{display:flex;flex-direction:column;gap:var(--ao-space-md);padding:var(--ao-space-lg)}.ao-templates__header{display:flex;padding:var(--ao-space-sm)}.ao-templates__list{display:flex;margin:0;padding:var(--ao-space-sm);list-style-type:none;flex-direction:column;gap:var(--ao-space-md);container:column / inline-size}
1
+ (function(X,e){var Le=document.createElement("style");Le.textContent=`*,*:before,*:after{box-sizing:border-box}html,body{margin:0;overflow:hidden;display:flex;flex-direction:column;height:100%;min-height:0}button{color:inherit;font-family:inherit}input,textarea{font-family:inherit}:root{--ao-color-blue-lightest: #ebf1ff;--ao-color-blue-lighter: #aabdff;--ao-color-blue-light: #7183ff;--ao-color-blue-base: #4952ff;--ao-color-blue-dark: #2226e7;--ao-color-blue-darker: #09099c;--ao-color-blue-darkest: #000033;--ao-color-grey-lightest: #e6e6e6;--ao-color-grey-light: #c8c8c8;--ao-color-grey-base: #ababab;--ao-color-grey-dark: #636363;--ao-color-grey-darkest: #1c1c1c;--ao-color-white: #fff;--ao-color-black: #000;--ao-color-sand-base: #d8a55a;--ao-color-red-light: #ff4f4f;--ao-color-teal-light: #64d9bb;--ao-color-primary-lightest: var(--ao-color-blue-lightest);--ao-color-primary-lighter: var(--ao-color-blue-lighter);--ao-color-primary-light: var(--ao-color-blue-light);--ao-color-primary-base: var(--ao-color-blue-base);--ao-color-primary-dark: var(--ao-color-blue-dark);--ao-color-primary-darker: var(--ao-color-blue-darker);--ao-color-primary-darkest: var(--ao-color-blue-darkest);--ao-color-neutral-lightest: var(--ao-color-grey-lightest);--ao-color-neutral-light: var(--ao-color-grey-light);--ao-color-neutral-base: var(--ao-color-grey-base);--ao-color-neutral-dark: var(--ao-color-grey-dark);--ao-color-neutral-darkest: var(--ao-color-grey-darkest);--ao-color-canvas: #f1f1f1;--ao-color-sheet: #f9f9f9;--ao-color-card: #f9f9f9;--ao-color-text: var(--ao-color-grey-darkest);--ao-color-danger: var(--ao-color-red-light);--ao-color-warning: var(--ao-color-sand-base);--ao-color-success: var(--ao-color-teal-light);--ao-color-text-contrast: var(--ao-color-white);--ao-color-group: rgba(255, 255, 255, .2);--ao-color-backdrop: rgba(0, 0, 0, .7);--ao-grid-size: 8px;--ao-space-xs: calc(var(--ao-grid-size) / 4);--ao-space-sm: calc(var(--ao-grid-size) / 2);--ao-space-md: calc(var(--ao-grid-size) * 1);--ao-space-lg: calc(var(--ao-grid-size) * 3 / 2);--ao-space-xl: calc(var(--ao-grid-size) * 2);--ao-space-xxl: calc(var(--ao-grid-size) * 4);--ao-border-width-sm: 1px;--ao-border-width-md: 2px;--ao-border-width-lg: 4px;--ao-border-width-xl: 6px;--ao-border-radius-xs: 2px;--ao-border-radius-sm: 4px;--ao-border-radius-md: 8px;--ao-border-radius-lg: 16px;--ao-border-radius-xl: 24px;--ao-border-radius-round: 100em;font-size:15px;--ao-font-size-base: 1rem;--ao-font-size-text: var(--ao-font-size-base);--ao-font-size-input: var(--ao-font-size-base);--ao-font-size-h5: var(--ao-font-size-base);--ao-font-size-h4: calc(var(--ao-font-size-base) * 1.25);--ao-font-size-h3: calc(var(--ao-font-size-h4) * 1.25);--ao-font-size-h2: calc(var(--ao-font-size-h3) * 1.25);--ao-font-size-h1: calc(var(--ao-font-size-h2) * 1.25);--ao-font-size-label: calc(var(--ao-font-size-base) / 1.25);--ao-font-size-tag: calc(var(--ao-font-size-label) / 1.25);--ao-font-size-button: var(--ao-font-size-base);--ao-font-weight-extra-light: 200;--ao-font-weight-regular: 400;--ao-font-weight-medium: 500;--ao-font-weight-semi-bold: 600;--ao-font-weight-bold: 800;--ao-font-weight-extra-bold: 900;--ao-font-stack-system-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;--ao-font-stack-sans: "Kumbh Sans", var(--ao-font-stack-system-sans);--ao-icon-size-sm: calc(var(--ao-grid-size) * 9 / 5);--ao-icon-size-md: calc(var(--ao-grid-size) * 3);--ao-icon-size-lg: calc(var(--ao-grid-size) * 4);--ao-icon-size-xl: calc(var(--ao-grid-size) * 5);--ao-transition-ease: cubic-bezier(.215, .61, .355, 1);--ao-shadow-key-umbra-opacity: .2;--ao-shadow-key-penumbra-opacity: .14;--ao-shadow-ambient-shadow-opacity: .12;--ao-elevation-2dp: 0 2px 2px 0 rgba(0, 0, 0, var(--ao-shadow-key-penumbra-opacity)), 0 3px 1px -2px rgba(0, 0, 0, var(--ao-shadow-key-umbra-opacity)), 0 1px 5px 0 rgba(0, 0, 0, var(--ao-shadow-ambient-shadow-opacity));--ao-elevation-3dp: 0 3px 4px 0 rgba(0, 0, 0, var(--ao-shadow-key-penumbra-opacity)), 0 3px 3px -2px rgba(0, 0, 0, var(--ao-shadow-key-umbra-opacity)), 0 1px 8px 0 rgba(0, 0, 0, var(--ao-shadow-ambient-shadow-opacity));--ao-elevation-4dp: 0 4px 5px 0 rgba(0, 0, 0, var(--ao-shadow-key-penumbra-opacity)), 0 1px 10px 0 rgba(0, 0, 0, var(--ao-shadow-ambient-shadow-opacity)), 0 2px 4px -1px rgba(0, 0, 0, var(--ao-shadow-key-umbra-opacity));--ao-elevation-6dp: 0 6px 10px 0 rgba(0, 0, 0, var(--ao-shadow-key-penumbra-opacity)), 0 1px 18px 0 rgba(0, 0, 0, var(--ao-shadow-ambient-shadow-opacity)), 0 3px 5px -1px rgba(0, 0, 0, var(--ao-shadow-key-umbra-opacity));--ao-elevation-8dp: 0 8px 10px 1px rgba(0, 0, 0, var(--ao-shadow-key-penumbra-opacity)), 0 3px 14px 2px rgba(0, 0, 0, var(--ao-shadow-ambient-shadow-opacity)), 0 5px 5px -3px rgba(0, 0, 0, var(--ao-shadow-key-umbra-opacity));--ao-elevation-16dp: 0 16px 24px 2px rgba(0, 0, 0, var(--ao-shadow-key-penumbra-opacity)), 0 6px 30px 5px rgba(0, 0, 0, var(--ao-shadow-ambient-shadow-opacity)), 0 8px 10px -5px rgba(0, 0, 0, var(--ao-shadow-key-umbra-opacity));--ao-elevation-24dp: 0 9px 46px 8px rgba(0, 0, 0, var(--ao-shadow-key-penumbra-opacity)), 0 11px 15px -7px rgba(0, 0, 0, var(--ao-shadow-ambient-shadow-opacity)), 0 24px 38px 3px rgba(0, 0, 0, var(--ao-shadow-key-umbra-opacity))}html,body{font-family:var(--ao-font-stack-sans)}[class^=ao-]{scrollbar-width:thin}[class^=ao-]::-webkit-scrollbar{background-color:transparent;width:var(--ao-space-md);height:var(--ao-space-md);border-radius:var(--ao-border-radius-round)}[class^=ao-]::-webkit-scrollbar-thumb{background:var(--ao-color-neutral-light);border-radius:var(--ao-border-radius-round);cursor:grab}:root{--ao-input-color: inherit;--ao-input-bg: #fff;--ao-input-border-radius: var(--ao-border-radius-sm);--ao-input-border-width: var(--ao-border-width-sm);--ao-input-border-color: var(--ao-color-neutral-light);--ao-textarea-bg: var(--ao-input-bg)}.ao-fieldset{border-width:0;padding:0;margin:0}.ao-fieldset+.ao-fieldset{margin-block-start:var(--ao-space-xl)}.ao-fieldset__title{display:flex;align-items:center;gap:var(--ao-space-sm);color:var(--ao-color-neutral-dark)}.ao-field__row{display:flex;flex-direction:row;gap:var(--ao-space-lg)}.ao-field__row+.ao-field__row{margin-block-start:var(--ao-space-lg)}.ao-field{display:flex;flex-direction:column;align-items:flex-start;gap:var(--ao-space-md)}.ao-field--full{flex:1;width:100%}.ao-field--multiselect{min-width:20ch}.ao-field--inline{flex-direction:row;align-items:center}.ao-field__label{font-size:var(--ao-font-size-label)}.ao-field__input{padding-inline:var(--ao-space-lg);padding-block:var(--ao-space-md);margin:0;border:var(--ao-input-border-width) solid var(--ao-input-border-color);border-radius:var(--ao-input-border-radius);color:var(--ao-input-color);background-color:var(--ao-input-bg)}.ao-field__input:is(:focus,:active,:hover){--ao-input-border-color: var(--ao-color-primary-base)}.ao-field__textarea{padding:var(--ao-space-lg);border:var(--ao-input-border-width) solid var(--ao-input-border-color);border-radius:var(--ao-input-border-radius);color:var(--ao-input-color);background-color:var(--ao-textarea-bg);flex:1;width:100%;resize:vertical}.ao-multiselect{--ms-font-size: var(--font-size-text);--ms-line-height: 1.2;--ms-border-color: var(--ao-color-neutral-lightest);--ms-border-width: var(--ao-input-border-width);--ms-border-color-active: var(--ao-input-border-color);--ms-border-width-active: var(--ao-input-border-width);--ms-radius: var(--ao-border-radius-md);--ms-py: var(--ao-space-md);--ms-px: var(--ao-space-lg);--ms-ring-color: var(--ao-color-primary-lightest);--ms-placeholder-color: var(--ao-color-black);--ms-spinner-color: var(--ao-color-primary-base);--ms-tag-font-size: var(--ao-font-size-tag);--ms-tag-font-weight: var(--ao-font-weight-regular);--ms-tag-bg: var(--ao-color-primary-base);--ms-tag-radius: var(--ao-border-radius-xl);--ms-tag-py: var(--ao-space-sm);--ms-tag-my: 0;--ms-dropdown-radius: var(--ao-border-radius-sm);--ms-option-bg-selected: var(--ao-color-primary-base);--ms-option-bg-selected-pointed: var(--ao-color-primary-light)}input[readonly]{cursor:default}.is-disabled>.multiselect-wrapper{cursor:default}.ao-field__input::-webkit-outer-spin-button,.ao-field__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.ao-field__input[type=number]{-moz-appearance:textfield}.multiselect{align-items:center;background:var(--ms-bg,#fff);border:var(--ms-border-width,1px) solid var(--ms-border-color,#d1d5db);border-radius:var(--ms-radius,4px);box-sizing:border-box;cursor:pointer;display:flex;font-size:var(--ms-font-size,1rem);justify-content:flex-end;margin:0 auto;min-height:calc(var(--ms-border-width, 1px)*2 + var(--ms-font-size, 1rem)*var(--ms-line-height, 1.375) + var(--ms-py, .5rem)*2);outline:none;position:relative;width:100%}.multiselect.is-open{border-radius:var(--ms-radius,4px) var(--ms-radius,4px) 0 0}.multiselect.is-open-top{border-radius:0 0 var(--ms-radius,4px) var(--ms-radius,4px)}.multiselect.is-disabled{background:var(--ms-bg-disabled,#f3f4f6);cursor:default}.multiselect.is-active{border:var(--ms-border-width-active,var(--ms-border-width,1px)) solid var(--ms-border-color-active,var(--ms-border-color,#d1d5db));box-shadow:0 0 0 var(--ms-ring-width,3px) var(--ms-ring-color,rgba(16,185,129,.188))}.multiselect-wrapper{align-items:center;box-sizing:border-box;cursor:pointer;display:flex;justify-content:flex-end;margin:0 auto;min-height:calc(var(--ms-border-width, 1px)*2 + var(--ms-font-size, 1rem)*var(--ms-line-height, 1.375) + var(--ms-py, .5rem)*2);outline:none;position:relative;width:100%}.multiselect-multiple-label,.multiselect-placeholder,.multiselect-single-label{align-items:center;background:transparent;box-sizing:border-box;display:flex;height:100%;left:0;line-height:var(--ms-line-height,1.375);max-width:100%;padding-left:var(--ms-px,.875rem);padding-right:calc(1.25rem + var(--ms-px, .875rem)*3);pointer-events:none;position:absolute;top:0}.multiselect-placeholder{color:var(--ms-placeholder-color,#9ca3af)}.multiselect-single-label-text{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.multiselect-search{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ms-bg,#fff);border:0;border-radius:var(--ms-radius,4px);bottom:0;box-sizing:border-box;font-family:inherit;font-size:inherit;height:100%;left:0;outline:none;padding-left:var(--ms-px,.875rem);position:absolute;right:0;top:0;width:100%}.multiselect-search::-webkit-search-cancel-button,.multiselect-search::-webkit-search-decoration,.multiselect-search::-webkit-search-results-button,.multiselect-search::-webkit-search-results-decoration{-webkit-appearance:none}.multiselect-tags{flex-grow:1;flex-shrink:1;flex-wrap:wrap;margin:var(--ms-tag-my,.25rem) 0 0;padding-left:var(--ms-py,.5rem)}.multiselect-tag,.multiselect-tags{align-items:center;display:flex;min-width:0}.multiselect-tag{background:var(--ms-tag-bg,#10b981);border-radius:var(--ms-tag-radius,4px);color:var(--ms-tag-color,#fff);font-size:var(--ms-tag-font-size,.875rem);font-weight:var(--ms-tag-font-weight,600);line-height:var(--ms-tag-line-height,1.25rem);margin-bottom:var(--ms-tag-my,.25rem);margin-right:var(--ms-tag-mx,.25rem);padding:var(--ms-tag-py,.125rem) 0 var(--ms-tag-py,.125rem) var(--ms-tag-px,.5rem);white-space:nowrap}.multiselect-tag.is-disabled{background:var(--ms-tag-bg-disabled,#9ca3af);color:var(--ms-tag-color-disabled,#fff);padding-right:var(--ms-tag-px,.5rem)}.multiselect-tag-wrapper{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.multiselect-tag-wrapper-break{white-space:normal;word-break:break-all}.multiselect-tag-remove{align-items:center;border-radius:var(--ms-tag-remove-radius,4px);display:flex;justify-content:center;margin:var(--ms-tag-remove-my,0) var(--ms-tag-remove-mx,.125rem);padding:var(--ms-tag-remove-py,.25rem) var(--ms-tag-remove-px,.25rem)}.multiselect-tag-remove:hover{background:rgba(0,0,0,.063)}.multiselect-tag-remove-icon{background-color:currentColor;display:inline-block;height:.75rem;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m207.6 256 107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m207.6 256 107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;opacity:.8;width:.75rem}.multiselect-tags-search-wrapper{display:inline-block;flex-grow:1;flex-shrink:1;height:100%;margin:0 var(--ms-tag-mx,4px) var(--ms-tag-my,4px);position:relative}.multiselect-tags-search-copy{display:inline-block;height:1px;visibility:hidden;white-space:pre-wrap;width:100%}.multiselect-tags-search{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;bottom:0;box-sizing:border-box;font-family:inherit;font-size:inherit;left:0;outline:none;padding:0;position:absolute;right:0;top:0;width:100%}.multiselect-tags-search::-webkit-search-cancel-button,.multiselect-tags-search::-webkit-search-decoration,.multiselect-tags-search::-webkit-search-results-button,.multiselect-tags-search::-webkit-search-results-decoration{-webkit-appearance:none}.multiselect-inifite{align-items:center;display:flex;justify-content:center;min-height:calc(var(--ms-border-width, 1px)*2 + var(--ms-font-size, 1rem)*var(--ms-line-height, 1.375) + var(--ms-py, .5rem)*2);width:100%}.multiselect-inifite-spinner,.multiselect-spinner{animation:multiselect-spin 1s linear infinite;background-color:var(--ms-spinner-color,#10b981);flex-grow:0;flex-shrink:0;height:1rem;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m456.433 371.72-27.79-16.045c-7.192-4.152-10.052-13.136-6.487-20.636 25.82-54.328 23.566-118.602-6.768-171.03-30.265-52.529-84.802-86.621-144.76-91.424C262.35 71.922 256 64.953 256 56.649V24.56c0-9.31 7.916-16.609 17.204-15.96 81.795 5.717 156.412 51.902 197.611 123.408 41.301 71.385 43.99 159.096 8.042 232.792-4.082 8.369-14.361 11.575-22.424 6.92z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m456.433 371.72-27.79-16.045c-7.192-4.152-10.052-13.136-6.487-20.636 25.82-54.328 23.566-118.602-6.768-171.03-30.265-52.529-84.802-86.621-144.76-91.424C262.35 71.922 256 64.953 256 56.649V24.56c0-9.31 7.916-16.609 17.204-15.96 81.795 5.717 156.412 51.902 197.611 123.408 41.301 71.385 43.99 159.096 8.042 232.792-4.082 8.369-14.361 11.575-22.424 6.92z'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;width:1rem;z-index:10}.multiselect-spinner{margin:0 var(--ms-px,.875rem) 0 0}.multiselect-clear{display:flex;flex-grow:0;flex-shrink:0;opacity:1;padding:0 var(--ms-px,.875rem) 0 0;position:relative;transition:.3s;z-index:10}.multiselect-clear:hover .multiselect-clear-icon{background-color:var(--ms-clear-color-hover,#000)}.multiselect-clear-icon{background-color:var(--ms-clear-color,#999);display:inline-block;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m207.6 256 107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m207.6 256 107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z'/%3E%3C/svg%3E");transition:.3s}.multiselect-caret,.multiselect-clear-icon{height:1.125rem;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;width:.625rem}.multiselect-caret{background-color:var(--ms-caret-color,#999);flex-grow:0;flex-shrink:0;margin:0 var(--ms-px,.875rem) 0 0;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z'/%3E%3C/svg%3E");pointer-events:none;position:relative;transform:rotate(0);transition:transform .3s;z-index:10}.multiselect-caret.is-open{pointer-events:auto;transform:rotate(180deg)}.multiselect-dropdown{-webkit-overflow-scrolling:touch;background:var(--ms-dropdown-bg,#fff);border:var(--ms-dropdown-border-width,1px) solid var(--ms-dropdown-border-color,#d1d5db);border-radius:0 0 var(--ms-dropdown-radius,4px) var(--ms-dropdown-radius,4px);bottom:0;display:flex;flex-direction:column;left:calc(var(--ms-border-width, 1px)*-1);margin-top:calc(var(--ms-border-width, 1px)*-1);max-height:var(--ms-max-height,10rem);outline:none;overflow-y:scroll;position:absolute;right:calc(var(--ms-border-width, 1px)*-1);transform:translateY(100%);z-index:100}.multiselect-dropdown.is-top{border-radius:var(--ms-dropdown-radius,4px) var(--ms-dropdown-radius,4px) 0 0;bottom:auto;top:var(--ms-border-width,1px);transform:translateY(-100%)}.multiselect-dropdown.is-hidden{display:none}.multiselect-options{display:flex;flex-direction:column;list-style:none;margin:0;padding:0}.multiselect-group{margin:0;padding:0}.multiselect-group-label{align-items:center;background:var(--ms-group-label-bg,#e5e7eb);box-sizing:border-box;color:var(--ms-group-label-color,#374151);cursor:default;display:flex;font-size:.875rem;font-weight:600;justify-content:flex-start;line-height:var(--ms-group-label-line-height,1.375);padding:var(--ms-group-label-py,.3rem) var(--ms-group-label-px,.75rem);text-align:left;text-decoration:none}.multiselect-group-label.is-pointable{cursor:pointer}.multiselect-group-label.is-pointed{background:var(--ms-group-label-bg-pointed,#d1d5db);color:var(--ms-group-label-color-pointed,#374151)}.multiselect-group-label.is-selected{background:var(--ms-group-label-bg-selected,#059669);color:var(--ms-group-label-color-selected,#fff)}.multiselect-group-label.is-disabled{background:var(--ms-group-label-bg-disabled,#f3f4f6);color:var(--ms-group-label-color-disabled,#d1d5db);cursor:not-allowed}.multiselect-group-label.is-selected.is-pointed{background:var(--ms-group-label-bg-selected-pointed,#0c9e70);color:var(--ms-group-label-color-selected-pointed,#fff)}.multiselect-group-label.is-selected.is-disabled{background:var(--ms-group-label-bg-selected-disabled,#75cfb1);color:var(--ms-group-label-color-selected-disabled,#d1fae5)}.multiselect-group-options{margin:0;padding:0}.multiselect-option{align-items:center;box-sizing:border-box;cursor:pointer;display:flex;font-size:var(--ms-option-font-size,1rem);justify-content:flex-start;line-height:var(--ms-option-line-height,1.375);padding:var(--ms-option-py,.5rem) var(--ms-option-px,.75rem);text-align:left;text-decoration:none}.multiselect-option.is-pointed{background:var(--ms-option-bg-pointed,#f3f4f6);color:var(--ms-option-color-pointed,#1f2937)}.multiselect-option.is-selected{background:var(--ms-option-bg-selected,#10b981);color:var(--ms-option-color-selected,#fff)}.multiselect-option.is-disabled{background:var(--ms-option-bg-disabled,#fff);color:var(--ms-option-color-disabled,#d1d5db);cursor:not-allowed}.multiselect-option.is-selected.is-pointed{background:var(--ms-option-bg-selected-pointed,#26c08e);color:var(--ms-option-color-selected-pointed,#fff)}.multiselect-option.is-selected.is-disabled{background:var(--ms-option-bg-selected-disabled,#87dcc0);color:var(--ms-option-color-selected-disabled,#d1fae5)}.multiselect-no-options,.multiselect-no-results{color:var(--ms-empty-color,#4b5563);padding:var(--ms-option-py,.5rem) var(--ms-option-px,.75rem)}.multiselect-fake-input{background:transparent;border:0;bottom:-1px;font-size:0;height:1px;left:0;outline:none;padding:0;position:absolute;right:0;width:100%}.multiselect-fake-input:active,.multiselect-fake-input:focus{outline:none}.multiselect-assistive-text{clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;position:absolute;width:1px}.multiselect-spacer{display:none}[dir=rtl] .multiselect-multiple-label,[dir=rtl] .multiselect-placeholder,[dir=rtl] .multiselect-single-label{left:auto;padding-left:calc(1.25rem + var(--ms-px, .875rem)*3);padding-right:var(--ms-px,.875rem);right:0}[dir=rtl] .multiselect-search{padding-left:0;padding-right:var(--ms-px,.875rem)}[dir=rtl] .multiselect-tags{padding-left:0;padding-right:var(--ms-py,.5rem)}[dir=rtl] .multiselect-tag{margin-left:var(--ms-tag-mx,.25rem);margin-right:0;padding:var(--ms-tag-py,.125rem) var(--ms-tag-px,.5rem) var(--ms-tag-py,.125rem) 0}[dir=rtl] .multiselect-tag.is-disabled{padding-left:var(--ms-tag-px,.5rem)}[dir=rtl] .multiselect-caret,[dir=rtl] .multiselect-spinner{margin:0 0 0 var(--ms-px,.875rem)}[dir=rtl] .multiselect-clear{padding:0 0 0 var(--ms-px,.875rem)}@keyframes multiselect-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}@keyframes blink-ad6da4a9{0%,to{opacity:1}50%{opacity:0}}.dot[data-v-ad6da4a9]{animation:blink-ad6da4a9 1.5s ease-in-out infinite}.dot--1[data-v-ad6da4a9]{animation-delay:0}.dot--2[data-v-ad6da4a9]{animation-delay:.5s}.dot--3[data-v-ad6da4a9]{animation-delay:1s}.ao-icon{color:inherit;fill:currentColor;width:var(--ao-icon-size);height:var(--ao-icon-size)}.ao-icon *{fill:inherit}.ao-icon--sm{--ao-icon-size: var(--ao-icon-size-sm)}.ao-icon--md{--ao-icon-size: var(--ao-icon-size-md)}.ao-icon--lg{--ao-icon-size: var(--ao-icon-size-lg)}.ao-icon--xl{--ao-icon-size: var(--ao-icon-size-xl)}.ao-button{--ao-button-main-color: initial;--ao-button-secondary-color: initial;--ao-button-color: var(--ao-button-main-color);--ao-button-bg: var(--ao-button-secondary);--ao-button-border-color: transparent;--ao-button-padding: var(--ao-space-sm);--ao-button-label-padding: var(--ao-space-sm);--ao-button-border-radius: var(--ao-border-radius-md);--ao-button-line-height: var(--ao-icon-size-md);--ao-button-font-size: var(--ao-font-size-button);display:flex;padding:var(--ao-button-padding);align-items:center;border-width:var(--ao-border-width-md);border-style:solid;border-radius:var(--ao-button-border-radius);border-color:var(--ao-button-border-color);color:var(--ao-button-color);background-color:var(--ao-button-bg);cursor:pointer;font-size:var(--ao-button-font-size);font-weight:var(--ao-font-weight-semi-bold);line-height:var(--ao-button-line-height)}.ao-button--primary{--ao-button-main-color: var(--ao-color-primary-base)}.ao-button--secondary{--ao-button-main-color: var(--ao-color-success)}.ao-button--neutral{--ao-button-main-color: var(--ao-color-neutral-base)}.ao-button--black{--ao-button-main-color: var(--ao-color-neutral-darkest)}.ao-button--warning{--ao-button-main-color: var(--ao-color-warning)}.ao-button--danger{--ao-button-main-color: var(--ao-color-danger)}.ao-button--success{--ao-button-main-color: var(--ao-color-success)}.ao-button--ghost{--ao-border-color: transparent;--ao-background-color: transparent}.ao-button--outline{--ao-button-border-color: var(--ao-button-main-color)}.ao-button--solid{--ao-button-color: var(--ao-button-secondary-color);--ao-button-bg: var(--ao-button-main-color);--ao-button-border-color: var(--ao-button-main-color)}.ao-button--solid:is(.ao-button--primary,.ao-button--secondary,.ao-button--neutral,.ao-button--black){--ao-button-color: var(--ao-color-white)}.ao-button--icon-start{flex-direction:row-reverse}.ao-button--icon-end{flex-direction:row}.ao-button__icon{flex-shrink:0}.ao-button__label{padding-inline:var(--ao-button-label-padding);flex:1;width:100%}.ao-button--footer{width:100%}.ao-button--footer .ao-button__label{text-align:center}.ao-button--is-disabled{cursor:default}.ao-button--sm{--ao-button-padding: var(--ao-space-xs);--ao-button-label-padding: var(--ao-space-xs);--ao-button-line-height: var(--ao-icon-size-sm);--ao-button-font-size: var(--ao-font-size-label)}.ao-button--lg{--ao-button-line-height: var(--ao-icon-size-lg);--ao-button-font-size: var(--ao-font-size-h4)}.ao-button--xl{--ao-button-line-height: var(--ao-icon-size-xl);--ao-button-font-size: var(--ao-font-size-h3)}.ao-button--round{--ao-button-border-radius: var(--ao-border-radius-round)}.ao-title{--ao-title-color: inherit;margin:0;font-weight:var(--ao-font-weight-semi-bold);font-family:var(--ao-font-family-title);color:var(--ao-title-color);cursor:default}.ao-title--editable{cursor:text}.ao-title--readonly{padding-block:var(--ao-space-md);border:var(--ao-input-border-width) solid transparent}.ao-title--1{font-size:var(--ao-font-size-h1)}.ao-title--2{font-size:var(--ao-font-size-h2)}.ao-title--3{font-size:var(--ao-font-size-h3)}.ao-title--4{font-size:var(--ao-font-size-h4)}.ao-title--5{font-size:var(--ao-font-size-h5)}.ao-title--primary{--ao-title-color: var(--ao-color-primary-base)}.ao-title--neutral{--ao-title-color: var(--ao-color-neutral-base)}.ao-title--black{--ao-title-color: var(--ao-color-neutral-darkest)}.ao-title--editing{--ao-title-color: var(--ao-color-primary-dark);width:100%}.ao-card-horiz{--ao-card-horiz-bg-color: var(--ao-color-card);--ao-card-horiz-text-color: inherit;--ao-card-horiz-label-color: var(--ao-color-neutral-base);display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto 1fr auto;grid-template-areas:"drag header secondary" "drag body body" "drag footer footer";border-radius:var(--ao-border-radius-md);color:var(--ao-card-horiz-text-color);background-color:var(--ao-card-horiz-bg-color);overflow:hidden;cursor:pointer;container:card-horiz / inline-size}.ao-card-horiz:hover{box-shadow:var(--ao-elevation-2dp)}.ao-card-horiz--active{--ao-card-horiz-bg-color: var(--ao-color-primary-base);--ao-card-horiz-text-color: var(--ao-color-white);box-shadow:var(--ao-elevation-2dp)}.ao-card-horiz__header{display:flex;align-items:center;padding-inline:var(--ao-space-md);padding-block-start:var(--ao-space-md);grid-area:header;width:100%}.ao-card-horiz__title-group{display:flex;flex-direction:column;flex-grow:1;overflow:hidden;width:100%}.ao-card-horiz__title{min-width:2ch;min-height:1em}.ao-card-horiz__title,.ao-card-horiz__subtitle{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:flex-start}.ao-card-horiz__subtitle{margin-top:var(--ao-space-xs);font-size:var(--ao-font-size-base)}.ao-card-horiz__body{display:flex;flex-direction:column;flex-grow:1;padding-inline:var(--ao-space-md);padding-block:var(--ao-space-md);grid-area:body}.ao-card-horiz__footer{display:flex;flex-direction:column;flex-grow:1;padding-inline:var(--ao-space-md);padding-block-end:var(--ao-space-md);grid-area:footer}.ao-card-horiz__drag{display:flex;justify-content:center;align-items:center;padding-inline:var(--ao-space-md);cursor:grab;grid-area:drag}.ao-card-horiz__drag-handle{opacity:0;visibility:hidden}.ao-card-horiz:hover .ao-card-horiz__drag-handle{opacity:1;visibility:visible}.ao-card-horiz__secondary{display:flex;justify-content:center;align-items:center;padding-inline:var(--ao-space-md);opacity:0;visibility:hidden;grid-area:secondary}.ao-card-horiz:hover .ao-card-horiz__secondary{opacity:1;visibility:visible}@container column (min-width: 480px){.ao-card-horiz{display:flex;flex-direction:row}.ao-card-horiz__header{padding-block:var(--ao-space-md);padding-inline-end:0;flex-shrink:1;min-width:0}.ao-card-horiz__body{padding-inline-end:0;flex-shrink:0}.ao-card-horiz__footer{align-items:flex-end;padding-block:var(--ao-space-md);grid-area:footer;flex-shrink:0}}@container column (min-width: 768px){.ao-card-horiz__header{width:50%}}@container column (min-width: 1024px){.ao-card-horiz__header{width:33%}}@container column (min-width: 1280px){.ao-card-horiz__header{width:25%}}.ao-tag{--ao-tag-color: var(--ao-color-text-contrast);--ao-tag-bg: var(transparent);--ao-tag-border-radius: var(--ao-border-radius-xl);display:flex;flex-direction:row;align-items:stretch;border:var(--ao-border-width-sm) var(--ao-tag-bg) solid;border-radius:var(--ao-tag-border-radius);font-size:var(--ao-font-size-tag);font-weight:var(--ao-font-weight-semi-bold)}.ao-tag__icon{color:var(--ao-color-white)}.ao-tag--primary{--ao-tag-bg: var(--ao-color-primary-light)}.ao-tag--primary-lighter{--ao-tag-bg: var(--ao-color-primary-lighter)}.ao-tag--black{--ao-tag-bg: var(--ao-color-neutral-darkest)}.ao-tag--secondary{--ao-tag-bg: var(--ao-color-success)}.ao-tag--neutral{--ao-tag-bg: var(--ao-color-neutral-light)}.ao-tag--solid.ao-tag--neutral{--ao-tag-color: var(--ao-color-neutral-darkest)}.ao-tag--solid .ao-tag__label{background-color:var(--ao-tag-bg)}.ao-tag--solid_icon .ao-tag__label{background-color:var(--ao-tag-bg);display:flex;gap:var(--ao-space-sm)}.ao-tag--solid .ao-tag__close{background-color:var(--ao-tag-bg)}.ao-tag--clickable .ao-tag__label:hover{--ao-tag-bg: var(--ao-color-neutral-lightest)}.ao-tag--clickable.ao-tag--primary .ao-tag__label:hover{--ao-tag-bg: var(--ao-color-primary-lighter)}.ao-tag--clickable.ao-tag--black .ao-tag__label:hover{--ao-tag-bg: var(--ao-color-neutral-dark)}.ao-tag--clickable .ao-tag__label{cursor:pointer}.ao-tag__label{padding:var(--ao-space-sm) var(--ao-space-md);color:var(--ao-tag-color);width:100%;border-radius:var(--ao-tag-border-radius);font-size:inherit;font-weight:inherit;text-align:inherit;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;background-color:transparent;border-width:0}.ao-tag--closable .ao-tag__label{border-top-right-radius:0;border-bottom-right-radius:0}.ao-tag__close{display:flex;border-width:0;border-top-right-radius:var(--ao-tag-border-radius);border-bottom-right-radius:var(--ao-tag-border-radius);color:var(--ao-tag-color);background-color:transparent;cursor:pointer}.ao-tag--close-icon{padding:var(--ao-space-xs) var(--ao-space-md)}.ao-avatar{--ao-avatar-bg: var(--ao-color-primary-base);--ao-avatar-color: var(--ao-color-neutral-lightest);--ao-avatar-font-weight: --ao-font-weight-medium;--ao-avatar-font-size: var(--ao-font-size-base);--ao-avatar-padding: .5em;color:var(--ao-avatar-color);background-color:var(--ao-avatar-bg);position:relative;border-radius:var(--ao-border-radius-round);line-height:1;display:grid;grid-template-areas:"center";align-items:center;justify-content:center;padding:var(--ao-avatar-padding);cursor:default;overflow:hidden;font-weight:var(--ao-avatar-font-weight);font-size:var(--ao-avatar-font-size);flex-shrink:0}.ao-avatar--sm{--ao-avatar-font-weight: var(--ao-font-weight-bold);--ao-avatar-font-size: var(--ao-font-size-tag);--ao-avatar-padding: .8em}.ao-avatar--lg{--ao-avatar-font-weight: var(--ao-font-weight-light);--ao-avatar-font-size: var(--ao-font-size-h3)}.ao-avatar--xl{--ao-avatar-font-weight: var(--ao-font-weight-extra-light);--ao-avatar-font-size: var(--ao-font-size-h1)}.ao-avatar--primary{--ao-avatar-bg: var(--ao-color-primary-base)}.ao-avatar--neutral{--ao-avatar-bg: var(--ao-color-neutral-base)}.ao-avatar--black{--ao-avatar-bg: var(--ao-color-neutral-darkest)}.ao-avatar__initials{display:flex;flex-direction:column;grid-area:center;justify-content:center;align-items:center;width:1em;height:1em;text-align:center;text-transform:uppercase}.ao-avatar__close{grid-area:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) scale(0);opacity:0;visibility:hidden}.ao-avatar:hover,.ao-avatar-img:hover{z-index:1}.ao-avatar:hover .ao-avatar__close,.ao-avatar-img:hover .ao-avatar__close{transform:translate(-50%,-50%) scale(1);opacity:1;visibility:visible}.ao-avatar-img--sm{width:var(--ao-icon-size-sm);height:var(--ao-icon-size-sm)}.ao-avatar-img--md{width:var(--ao-icon-size-md);height:var(--ao-icon-size-md)}.ao-avatar-img--lg{width:var(--ao-icon-size-lg);height:var(--ao-icon-size-lg)}.ao-avatar-img--xl{width:var(--ao-icon-size-xl);height:var(--ao-icon-size-xl)}.ao-avatar-img{position:relative;border-radius:var(--ao-border-radius-round);display:grid;grid-template-areas:"center";align-items:center;justify-content:center;cursor:default;overflow:hidden;flex-shrink:0}.ao-avatar__image{width:100%;height:100%}.ao-card-template__body{display:flex;flex-direction:row;align-items:center;flex:1}.ao-card-template__footer{display:flex;gap:var(--ao-space-md)}.ao-card-template__col-title{display:flex;align-items:center;gap:var(--ao-space-sm)}.ao-card-template__col-label{font-size:var(--ao-font-size-label);font-weight:600}.ao-card-template__col{display:flex;flex-direction:column;gap:var(--ao-space-md);color:var(--ao-color-neutral-dark);font-size:var(--ao-font-size-label)}.ao-card-template__col--phases{flex-grow:1;color:var(--ao-color-neutral-darkest)}.ao-card-template__phases-list{display:flex;gap:var(--ao-space-sm);padding:0;margin:0}.ao-card-template__col-body{display:flex;flex-direction:row;align-items:flex-start;flex:1}.ao-card-template__subitems{display:flex;margin:0;padding:0;gap:var(--ao-space-sm)}.ao-card-template__subitem{display:flex;align-items:center;list-style-type:none;font-size:var(--ao-font-size-label);font-weight:var(--ao-font-weight-semi-bold)}.ao-page-header{display:flex;container:header / inline-size;z-index:1}.ao-page-header-main{display:flex;gap:var(--ao-space-sm);flex-grow:1}.ao-page-header-secondary{display:flex;gap:var(--ao-space-sm)}@container header (min-width: 720px){.ao-page-header-main{flex-direction:row;align-items:center}.ao-page-header-secondary{margin-inline-start:auto;align-items:center;justify-content:flex-end;flex-grow:1}}.ao-button-card{--ao-button-card-color: inherit;--ao-button-card-bg: transparent;--ao-button-card-border-color: currentColor;--ao-button-card-padding: var(--ao-space-md);--ao-button-card-label-padding: var(--ao-space-sm);--ao-button-card-border-radius: var(--ao-border-radius-md);display:flex;width:100%;flex:1;justify-content:center;padding:var(--ao-button-card-padding);flex-direction:column-reverse;align-items:center;border-width:var(--ao-border-width-sm);border-style:dashed;border-radius:var(--ao-button-card-border-radius);border-color:var(--ao-button-card-border-color);color:var(--ao-button-card-color);background-color:var(--ao-button-card-bg);cursor:pointer;font-size:var(--ao-font-size-button);font-weight:var(--ao-font-weight-semi-bold)}.ao-button-card--primary{--ao-button-card-color: var(--ao-color-primary-base)}.ao-button-card--secondary{--ao-button-card-color: var(--ao-color-success)}.ao-button-card--neutral{--ao-button-card-color: var(--ao-color-neutral-base)}.ao-button-card--black{--ao-button-card-color: var(--ao-color-neutral-darkest)}.ao-button-card__icon{flex-shrink:0}.ao-button-card__label{padding-inline:var(--ao-button-card-label-padding);width:100%}.ao-button-card--footer{width:100%}.ao-button-card--footer .ao-button-card__label{text-align:center}.ao-button-card--is-disabled{cursor:default}.ao-button-card--sm{--ao-button-card-padding: var(--ao-space-xs);--ao-button-card-label-padding: var(--ao-space-xs)}.ao-button-card--round{--ao-button-card-border-radius: var(--ao-border-radius-round)}.ao-card-template-item__footer{display:flex;flex:1;padding:0;margin:0;justify-content:flex-end;gap:var(--ao-space-sm);align-items:center}.ao-card-template-item__subitem{display:flex;align-items:center}.ao-card-template-item__subitem{font-size:var(--ao-font-size-label);font-weight:var(--ao-font-weight-bold)}.ao-modal__wrapper{--ao-modal-z-index: 100;--ao-modal-padding-x: var(--ao-space-sm);display:grid;grid-template-columns:5% 1fr 5%;grid-template-rows:5vh 1fr 5vh;position:absolute;top:0;left:0;width:100%;height:100%;justify-items:center;align-items:flex-start;z-index:var(--ao-modal-z-index)}.ao-modal__wrapper.ao-modal__wrapper--sm{grid-template-columns:10% 1fr 10%;grid-template-rows:15vh auto 25vh}.ao-modal__backdrop{width:100%;height:100%;grid-column:1 / -1;grid-row:1 / -1;background-color:var(--ao-color-backdrop)}.ao-modal{display:flex;width:100%;max-width:768px;height:100%;min-height:0;flex-direction:column;overflow-y:auto;grid-column:1 / -1;grid-row:1 / -1;background-color:var(--ao-color-sheet);container:modal / inline-size}.ao-modal__wrapper--sm .ao-modal{height:auto}.ao-modal__header{display:flex;flex-direction:column;padding-inline:var(--ao-modal-padding-x)}.ao-modal__header-meta{display:flex;justify-content:flex-end}.ao-modal__body{display:flex;height:100%;min-height:0;flex-direction:column;flex-grow:1}.ao-modal__footer{display:flex;flex-direction:column}@media screen and (min-width: 480px){.ao-modal__wrapper{--ao-modal-padding-x: var(--ao-space-lg)}.ao-modal{grid-column:2;grid-row:2;border-radius:var(--ao-border-radius-sm)}.ao-modal__body{flex-direction:row;overflow-y:auto}}@media screen and (min-width: 720px){.ao-modal__wrapper{--ao-modal-padding-x: var(--ao-space-xl)}.ao-modal{grid-column:2;grid-row:2;border-radius:var(--ao-border-radius-sm)}.ao-modal__body{flex-direction:row;overflow:hidden}}.ao-tasks{display:flex;flex-direction:column}.ao-tasks__list{display:flex;flex-direction:column;padding-inline-start:0;margin-block:0;gap:var(--ao-space-md)}.ao-tasks__list-footer{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding-block-start:var(--ao-space-md)}.ao-tasks__list-footer .ao-button{padding-left:0}.ao-subtask{display:flex;list-style-type:none;gap:var(--ao-space-md)}.ao-subtask__check{padding-left:0}.ao-subtask__field{flex-grow:1;border:0;border-bottom:var(--ao-input-border-width) solid var(--ao-input-border-color);border-radius:0}.ao-subtask__field--checked{text-decoration:line-through}.ao-subtask__field:focus{outline:none;border-bottom:var(--ao-border-width-md) solid var(--ao-input-border-color)}.ao-subtask__assignees{width:30%}.ao-subtask__assignees .multiselect-tags{flex-wrap:nowrap;overflow-x:auto;gap:var(--ao-space-xs)}.ao-subtask__assignees .multiselect-wrapper{justify-content:flex-start}.ao-subtask__delete{opacity:0;visibility:hidden}.ao-subtask:is(:hover,:focus-within) .ao-subtask__delete{opacity:1;visibility:visible}.ao-files__wrapper{--ao-input-file-color: var(--ao-color-neutral-darkest);--ao-input-file-border-color: transparent;--ao-input-file-placeholder-color: var(--ao-color-neutral-base);--ao-input-file-bg: transparent;position:relative;display:flex;width:100%;flex-direction:column;flex:1;border:var(--ao-border-width-md) solid var(--ao-input-file-border-color);border-radius:var(--ao-border-radius-md);background-color:var(--ao-input-file-bg);font-family:inherit;font-size:var(--ao-font-size-text);color:var(--ao-input-file-color);overflow-y:auto}.ao-files__wrapper--drop-active{--ao-input-file-border-color: var(--ao-color-primary-base);--ao-input-file-bg: var(--ao-color-primary-lightest);outline:0}.input-field{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.ao-files__input{display:flex}.ao-files__placeholder{width:100%;margin-block-start:var(--ao-space-md);text-align:center;color:var(--ao-color-neutral-base)}.ao-files__list{display:flex;padding:0;padding-block-start:var(--ao-space-md);margin:0;gap:var(--ao-space-sm);flex-wrap:wrap}.ao-file{display:flex;position:relative;padding:0;padding-inline-end:var(--ao-space-xl);list-style-type:none;background-color:var(--ao-color-primary-lighter);border-radius:var(--ao-border-radius-md)}.ao-files__delete-button{position:absolute;top:50%;right:0;transform:translateY(-50%) scale(0);transition:50ms var(--ao-transition-ease)}.ao-file:is(:hover,:focus-within) .ao-files__delete-button{transform:translateY(-50%) scale(1)}.ao-file__link{width:100%;display:flex;flex:1;align-items:center;padding-block:var(--ao-space-md);padding-inline-start:var(--ao-space-md);color:var(--ao-color-primary-darker);text-decoration:none}.ao-file__icon{flex:0}.ao-file__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--ao-font-size-label)}.ao-files__dropzone{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:var(--ao-color-backdrop)}.ao-files__dropzone-label{font-size:var(--ao-font-size-text);color:var(--ao-color-text-contrast)}.ao-comment{--ao-comment-border-radius: var(--ao-border-radius-md);--ao-comment-bg: var(--ao-color-neutral-lightest);display:grid;gap:var(--ao-space-sm);grid-template-columns:auto 1fr auto;grid-template-rows:auto auto;font-size:var(--ao-font-size-text)}.ao-comment__avatar{grid-row:2;align-self:flex-start}.ao-comment__body{padding:0 var(--ao-space-sm);grid-column:2}.ao-comment__content-wrapper{width:100%}.ao-comment__content{display:inline;width:100%;margin:0;white-space:pre-line}.ao-comment__created-at{grid-column:2;padding:0 var(--ao-space-sm);font-size:var(--ao-font-size-tag);color:var(--ao-color-neutral-light)}.ao-comment__footer{grid-column:2;display:flex;gap:var(--ao-space-sm)}.ao-comments{flex:3;overflow-y:auto}.ao-comments__list{display:flex;flex-direction:column-reverse;min-height:0;gap:var(--ao-space-lg);padding:0;padding-block-start:var(--ao-space-md);margin:0}.ao-comments__form{display:grid;gap:var(--ao-space-md);grid-template-columns:1fr auto;grid-template-rows:1fr auto;align-items:flex-end}.ao-comments__form-textarea{grid-column:1/ -1;grid-row:1/ -1}.ao-comments__form-submit{padding:var(--ao-space-md);grid-column:2;grid-row:2;display:flex;justify-content:flex-end}.mention-list{position:absolute;background:white;border:1px solid var(--ao-border-width-sm);border-radius:4px;box-shadow:0 2px 6px #00000026;z-index:1000;list-style:none;padding:0;margin:0;max-height:150px;overflow-y:auto}.mention-list li{padding:8px 12px;cursor:pointer}.mention-list li:hover{background-color:var(--ao-color-blue-lighter)}.ao-activity-details{display:flex;flex-direction:column;width:100%;height:100%;min-height:0;flex-grow:1;overflow-y:auto}.ao-activity-details__header{display:flex;flex-direction:column;padding:var(--ao-space-xl) var(--ao-space-lg) var(--ao-space-md)}.ao-activity-details__main{flex-grow:1;padding:var(--ao-space-lg)}.ao-activity__category{font-weight:var(--ao-font-weight-regular)}.ao-activity-details__content{display:flex;flex-direction:column;flex-grow:1;padding-inline:var(--ao-space-lg)}.ao-activity-details__aside{border-top:var(--ao-border-width-sm) solid var(--ao-color-neutral-lightest);margin-block-start:var(--ao-space-lg);padding-block-start:var(--ao-space-lg);display:flex;flex-direction:column}.ao-activity-details__aside-section:not(:empty){padding:var(--ao-space-xl) var(--ao-space-lg)}.ao-activity-details__aside-section+.ao-activity-details__aside-section:not(:empty){border-block-start:var(--ao-border-width-sm) solid var(--ao-color-neutral-light)}.ao-field__input--estim{width:8ch}@container modal (min-width: 480px){.ao-activity-details__content{overflow-y:auto}.ao-activity-details__aside{margin-block-start:0;border-top:0}}@container modal (min-width: 720px){.ao-activity-details{display:flex;flex-direction:column;height:auto;min-height:auto;flex-grow:1;flex-direction:row}.ao-activity-details__main{height:100%;min-height:0;flex-grow:1;overflow-y:auto}.ao-activity-details__aside{width:33%;background-color:var(--ao-color-canvas);padding-block-end:var(--ao-space-xl);padding-block-start:var(--ao-space-sm)}.ao-activity-details__aside>:nth-child(2){padding-block-start:var(--ao-space-md)}.ao-activity-details__close-button{display:flex;flex-direction:row;justify-content:end;margin-inline-end:var(--ao-space-sm)}.ao-activity-details__close-button *{cursor:pointer}.ao-activity-details__aside-section--created-by{margin-block-start:auto;border-block-start-width:0}.ao-activity-details__multiselect .multiselect-tags-search{background-color:transparent}.ao-activity-details__multiselect.ao-multiselect{--ms-font-size: var(--ao-font-size-label);--ms-bg: transparent;--ms-line-height: 1;--ms-border-color: none;--ms-border-width: var(--ao-input-border-width);--ms-border-color-active: none;--ms-border-width-active: var(--ao-input-border-width);--ms-radius: var(--ao-border-radius-sm);--ms-py: var(--ao-space-sm);--ms-px: var(--ao-space-sm);--ms-ring-color: transparent;--ms-placeholder-color: var(--ao-color-black);--ms-spinner-color: var(--ao-color-primary-base);--ms-dropdown-radius: var(--ao-border-radius-sm);--ms-option-bg-selected: var(--ao-color-primary-base);--ms-option-bg-selected-pointed: var(--ao-color-primary-light)}.ao-field__input:not(.ao-field__input--estim){background-color:transparent;border-color:transparent}}.ao-activity__created-by{display:flex;align-items:center;gap:var(--ao-space-sm)}.ao-activity__ao-tag{display:inline-flex;width:auto;border:none;border-radius:var(--ao-tag-border-radius)}.ao-activity__ao-tag .ao-tag__label{width:auto;max-width:100%}.assignee-inline{display:flex;align-items:center;gap:8px}.ao-rule-line{display:flex}.ao-rule-line__remove{visibility:hidden;opacity:0}.ao-rule-line:hover .ao-rule-line__remove{visibility:visible;opacity:1}.ao-template-rules__body{display:flex;flex-direction:column;flex:1;align-items:stretch;gap:var(--ao-space-lg)}.ao-template-rules__list{padding:0;margin:0;display:flex;flex-direction:column;flex:1;gap:var(--ao-space-md)}.ao-template-rule{list-style:none}.ao-template-details__cols{display:flex;list-style-type:none;padding:0;margin:0;container:columns / inline-size;overflow-x:auto}.ao-template-details__col{width:100%;padding-inline:var(--ao-space-md);flex-shrink:0}@container columns (min-width: 480px){.ao-template-details__col{width:50%}}@container columns (min-width: 960px){.ao-template-details__col{width:calc(1 / 3 * 100%)}}.ao-card{--ao-card-bg: var(--ao-color-card);--ao-card-color: inherit;--ao-card-padding: var(--ao-space-md);--ao-card-elevation: var(--ao-elevation-2dp);display:flex;flex-direction:row;border-radius:var(--ao-border-radius-md);background-color:var(--ao-card-bg);color:var(--ao-card-color);box-shadow:var(--ao-card-elevation);transform:translateY(0)}.ao-card__content{display:flex;flex-direction:column;width:100%}.ao-card__left-border{width:var(--ao-space-md);border-top-left-radius:var(--ao-border-radius-md);border-bottom-left-radius:var(--ao-border-radius-md)}:not(.ao-list-kanban__transition)>.ao-card{transition:all .15s var(--ao-transition-ease)}.ao-card--clickable{cursor:pointer}.ao-card--clickable:is(:hover,:focus-within){--ao-card-elevation: var(--ao-elevation-4dp);transform:translateY(-2px)}.ao-card__header{display:flex;flex-direction:column;padding-block-start:var(--ao-card-padding);padding-inline:var(--ao-card-padding)}.ao-card__body{display:flex;flex-direction:column;flex:1;padding-inline:var(--ao-card-padding)}.ao-card__footer{display:flex;flex-direction:column;padding-block-end:var(--ao-card-padding);padding-inline:var(--ao-card-padding)}.ao-progress{--ao-progress-bg: var(--ao-color-neutral-lightest);--ao-progress-height: var(--ao-grid-size);--ao-progress-border-radius: var(--ao-border-radius-md);height:var(--ao-progress-height);width:100%;display:grid;grid-column:1 / -1;grid-row:2;background-color:var(--ao-progress-bg);border-radius:var(--ao-progress-border-radius)}.ao-progress__progress{grid-column:1;grid-row:1;border-radius:var(--ao-progress-border-radius);background-color:var(--ao-progress-color);opacity:.2}.ao-progress--success{--ao-progress-color: var(--ao-color-success)}.ao-progress--warning{--ao-progress-color: var(--ao-color-warning)}.ao-progress--danger{--ao-progress-color: var(--ao-color-danger)}.ao-progress__progress:nth-child(1){opacity:1;z-index:1}.hu-color-picker{padding:10px;background:#1d2024;border-radius:4px;box-shadow:0 0 16px #00000029;z-index:1}.hu-color-picker.light{background:#f7f8f9}.hu-color-picker.light .color-show .sucker{background:#eceef0}.hu-color-picker.light .color-type .name{background:#e7e8e9}.hu-color-picker.light .color-type .value{color:#666;background:#eceef0}.hu-color-picker.light .colors.history{border-top:1px solid #eee}.hu-color-picker canvas{vertical-align:top}.hu-color-picker .color-set{display:flex}.hu-color-picker .color-show{margin-top:8px;display:flex}.saturation{position:relative;cursor:pointer}.saturation .slide{position:absolute;left:100px;top:0;width:10px;height:10px;border-radius:50%;border:1px solid #fff;box-shadow:0 0 1px 1px #0000004d;pointer-events:none}.color-type{display:flex;margin-top:8px;font-size:12px}.color-type .name{width:60px;height:30px;float:left;display:flex;justify-content:center;align-items:center;color:#999;background:#252930}.color-type .value{flex:1;height:30px;min-width:100px;padding:0 12px;border:0;color:#fff;background:#2e333a;box-sizing:border-box}.color-alpha{position:relative;margin-left:8px;cursor:pointer}.color-alpha .slide{position:absolute;left:0;top:100px;width:100%;height:4px;background:#fff;box-shadow:0 0 1px #0000004d;pointer-events:none}.sucker{width:30px;fill:#9099a4;background:#2e333a;cursor:pointer;transition:all .3s}.sucker.active,.sucker:hover{fill:#1593ff}.colors{padding:0;margin:0}.colors.history{margin-top:10px;border-top:1px solid #2e333a}.colors .item{position:relative;width:16px;height:16px;margin:10px 0 0 10px;border-radius:3px;box-sizing:border-box;vertical-align:top;display:inline-block;transition:all .1s;cursor:pointer}.colors .item:nth-child(8n+1){margin-left:0}.colors .item:hover{transform:scale(1.4)}.colors .item .alpha{height:100%;border-radius:4px}.colors .item .color{position:absolute;left:0;top:0;width:100%;height:100%;border-radius:3px}.hue{position:relative;margin-left:8px;cursor:pointer}.hue .slide{position:absolute;left:0;top:100px;width:100%;height:4px;background:#fff;box-shadow:0 0 1px #0000004d;pointer-events:none}.color-picker-wrapper{position:relative}.color-picker{box-shadow:var(--ao-elevation-2dp)}.color-picker-box{box-sizing:content-box}.ao-card-project-phase__header{display:flex;justify-content:flex-end}.ao-card-project-phase__footer{display:flex;flex-direction:column}.ao-card-project-phase__footer-row{display:grid;grid-template-columns:auto;grid-template-rows:auto;gap:var(--ao-space-md);justify-items:start;position:relative}.ao-card-project-phase__archive{opacity:0;visibility:hidden}.ao-card-project-phase:is(:hover,:focus-within) .ao-card-project-phase__archive{opacity:1;visibility:visible}.ao-card-project-phase__deadline{font-size:var(--ao-font-size-label);padding:var(--ao-space-sm);grid-column:1;grid-row:1}.ao-card-project-phase__deadline--input{padding:var(--ao-space-sm);border-width:0;background-color:transparent}.ao-card-project-phase__deadline--readonly{letter-spacing:.1em}.ao-card-project-phase__footer-row.ao-card-project-phase__no_deadline,.ao-card-project-phase__deadline--input,.ao-card-project-phase:is(:hover,:focus-within) .ao-card-project-phase__deadline{opacity:0;visibility:hidden}.ao-card-project-phase__deadline--readonly,.ao-card-project-phase:is(:hover,:focus-within) .ao-card-project-phase__deadline--input,.ao-card-project-phase:is(:hover,:focus-within) .ao-card-project-phase__no_deadline{opacity:1;visibility:visible}.ao-card-project-phase__title{padding-block:0;display:inline;word-break:normal}.ao-card-project-phase__secondary{display:flex;position:absolute;top:0;left:0;width:100%;height:100%;justify-content:center;align-items:center;background-color:var(--ao-card-bg);opacity:0;visibility:hidden;pointer-events:none}.ao-card-project-phase:is(:hover,:focus-within) .ao-card-project-phase__secondary{opacity:1;visibility:visible;pointer-events:all}.ao-card-project-phase__footer-row--progress{padding-block:var(--ao-space-sm)}.ao-card-project-phase__subitem{display:flex;flex-shrink:0;font-size:var(--ao-font-size-tag);font-weight:var(--ao-font-weight-semi-bold)}.ao-card-project-phase__progress{flex-grow:1}.aoBadge{display:inline-block;padding:4px;width:8px;height:8px;border-radius:var(--ao-border-radius-round)}.ao-card-project-milestone{--ao-card-project-milestone-border-color: transparent;padding:0;border:var(--ao-border-width-md) solid var(--ao-card-project-milestone-border-color)}.ao-card-project-milestone__default{display:flex;justify-content:space-between}.ao-card-project-milestone__archive{display:none;height:fit-content;padding-block:var(--ao-space-md)}.ao-card-project-milestone:hover .ao-card-project-milestone__archive{display:flex}.ao-card-project-milestone__activities{display:flex;flex-direction:column}.ao-card-project-milestone__activities-row{display:flex;gap:var(--ao-space-md);align-items:center;position:relative}.ao-card-project-milestone__secondary{display:flex;position:absolute;top:0;left:0;width:100%;height:100%;justify-content:center;align-items:center;background-color:var(--ao-card-bg);opacity:0;visibility:hidden;pointer-events:none}.ao-card-project-milestone:hover .ao-card-project-milestone__secondary{opacity:1;visibility:visible;pointer-events:all}.ao-card-project-milestone__activities-row+.ao-card-project-milestone__activities-row{margin-block-start:var(--ao-space-md)}.ao-card-project-milestone__subitem{display:flex;flex-shrink:0;font-size:var(--ao-font-size-tag);font-weight:var(--ao-font-weight-semi-bold)}.ao-card-project-milestone__progress{flex-grow:1}.ao-card-project-milestone__title{max-width:fit-content;display:inline;word-break:normal}.ao-card-project-item-milestone__estimation{font-weight:var(--ao-font-weight-semi-bold);display:inline;font-size:var(--ao-font-size-h5)}.ao-card-project-milestone__footer{display:flex;align-items:center;padding-block-start:var(--ao-space-sm);gap:var(--ao-space-sm)}.ao-card-project-milestone__assignee{display:flex;justify-content:flex-start;margin-inline-start:auto}.ao-card-project-milestone__deadline{padding-block:var(--ao-space-sm)}.ao-card-project-milestone__important{color:var(--ao-color-danger)}.ao-card-project-milestone__important--selected{color:var(--ao-color-white)}.ao-title-with-badge-wrapper{display:flex;align-items:center;gap:8px}.ao-mapping-card-project-phase__header{display:flex;justify-content:flex-end;opacity:0;visibility:collapse;//transition: collapse .15s}.ao-mapping-card-project-phase:is(:hover,:focus-within) .ao-mapping-card-project-phase__header{opacity:1;visibility:visible}.ao-mapping-card-project-phase__footer{display:flex;flex-direction:column}.ao-mapping-card-project-phase__footer-row{display:grid;grid-template-columns:auto;grid-template-rows:auto;gap:var(--ao-space-md);justify-items:start;position:relative}.ao-mapping-card-project-phase__archive{opacity:0;visibility:hidden}.ao-mapping-card-project-phase:is(:hover,:focus-within) .ao-mapping-card-project-phase__archive{opacity:1;visibility:visible}.ao-mapping-card-project-phase__deadline{font-size:var(--ao-font-size-label);padding:var(--ao-space-sm);grid-column:1;grid-row:1}.ao-mapping-card-project-phase__deadline--input{padding:var(--ao-space-sm);border-width:0;background-color:transparent}.ao-mapping-card-project-phase__deadline--readonly{letter-spacing:.1em}.ao-mapping-card-project-phase__footer-row.ao-mapping-card-project-phase__no_deadline,.ao-mapping-card-project-phase__deadline--input,.ao-mapping-card-project-phase:is(:hover,:focus-within) .ao-mapping-card-project-phase__deadline{opacity:0;visibility:collapse}.ao-mapping-card-project-phase__deadline--readonly,.ao-mapping-card-project-phase:is(:hover,:focus-within) .ao-mapping-card-project-phase__deadline--input,.ao-mapping-card-project-phase:is(:hover,:focus-within) .ao-mapping-card-project-phase__no_deadline{opacity:1;visibility:visible}.ao-mapping-card-project-phase__title{padding-block:0;display:inline;word-break:normal}.ao-card-project-item__title-line{display:block;word-break:normal}.ao-card-project-item-phase__estimation{font-weight:var(--ao-font-weight-semi-bold);display:inline;font-size:var(--ao-font-size-h4)}.ao-mapping-card-project-phase__secondary{display:flex;position:absolute;top:0;left:0;width:100%;height:100%;justify-content:center;align-items:center;background-color:var(--ao-card-bg);opacity:0;visibility:hidden;pointer-events:none}.ao-mapping-card-project-phase:is(:hover,:focus-within) .ao-mapping-card-project-phase__secondary{opacity:1;visibility:visible;pointer-events:all}.ao-mapping-card-project-phase__footer-row--progress{padding-block:var(--ao-space-sm)}.ao-mapping-card-project-phase__subitem{display:flex;flex-shrink:0;font-size:var(--ao-font-size-tag);font-weight:var(--ao-font-weight-semi-bold)}.ao-mapping-card-project-phase__progress{flex-grow:1}.ao-project-phase__drag-handle{opacity:0;visibility:hidden}.ao-project-phase__drag{display:flex;justify-content:center;align-items:center;padding-inline:var(--ao-space-md);cursor:grab;grid-area:drag}.ao-project-phase:hover .ao-project-phase__drag-handle{opacity:1;visibility:visible}.ao-project-phase{display:flex;flex-direction:column;padding-block:var(--ao-space-md)}.ao-project-phase--selected .ao-project-phase__col-phase{background-color:var(--ao-color-primary-lightest)}.ao-project-phase__col-phase{display:flex;flex-shrink:0;flex-direction:column;padding:var(--ao-space-xl) var(--ao-space-xxl);margin-inline-end:var(--ao-space-md);justify-content:center;border-radius:var(--ao-border-radius-md)}.ao-mapping-project-phase__col-phase{display:flex;flex-shrink:0;flex-direction:column;padding:var(--ao-space-lg) var(--ao-space-sm);margin-inline-end:var(--ao-space-md);justify-content:center;border-radius:var(--ao-border-radius-md)}.ao-project-phase__col-milestones{display:flex;flex:1;padding:var(--ao-space-md);gap:var(--ao-space-md);overflow-x:auto;scroll-snap-type:x mandatory}.ao-project-phase__milestones,.ao-project-phase__milestones-list{display:contents}.ao-project-phase__milestone{scroll-snap-align:center;width:90%;flex-shrink:0}.ao-project-phase__milestones-list-footer{display:flex;scroll-snap-align:center}@container page (min-width: 480px){.ao-project-phase__milestones-list{grid-auto-columns:45%;overflow-x:auto}.ao-project-phase__milestone{width:45%}}@container page (min-width: 720px){.ao-project-phase{flex-direction:row}.ao-project-phase__col-phase,.ao-mapping-project-phase__col-phase{width:20em}.ao-project-phase+.ao-project-phase{border-block-start:var(--ao-border-width-sm) solid var(--ao-color-neutral-lightest)}.ao-project-phase__col-milestones{flex-direction:column;border-inline-start:var(--ao-border-width-sm) solid var(--ao-color-neutral-lightest);overflow:hidden}.ao-project-phase__milestones{display:flex;width:100%;flex-direction:row;align-items:center;height:100%;padding:var(--ao-space-md);border-radius:var(--ao-border-radius-md);background-color:var(--ao-color-sheet)}.ao-project-phases__draggable-card{margin:var(--ao-space-md);border-radius:var(--ao-border-radius-md);background-color:var(--ao-color-sheet);display:flex;flex-direction:row}.ao-project-phase--selected .ao-project-phase__milestones{background-color:var(--ao-color-primary-lightest)}.ao-project-phase__milestones-list{display:grid;padding:var(--ao-space-md);flex-shrink:1;max-width:100%;min-width:0;grid-auto-columns:minmax(max(20%,147px),196px);grid-auto-flow:column;align-items:stretch;gap:var(--ao-space-md);scroll-snap-type:x mandatory;scroll-snap-padding:var(--ao-space-md)}.ao-project-phase__milestone{width:100%;scroll-snap-align:start}.ao-project-phase__milestones-list-footer{align-items:center;padding:var(--ao-space-md)}.ao-project-phase__milestone-add{flex-grow:0;flex-shrink:0}}.ao-project__phases{display:flex;flex-direction:column;height:100%;min-height:0;padding-inline-start:0;margin-block:0}.ao-project-phase__add-phase{padding:var(--ao-space-lg)}@container page (min-width: 720px){.ao-project-phase__phases-list-footer{display:flex}.ao-project-phase__empty_drag{width:40px}.ao-project-phase__phases-list-footer .ao-project-phase__col-phase{max-width:20em;padding:var(--ao-space-md)}.ao-project-phase__phases-list-footer .ao-project-phase__col-milestones{border:none}}.ao-add-template-modal__form{display:flex;flex-direction:column;height:100%;min-height:0;width:100%;margin-block-start:var(--ao-space-md);padding:0 var(--ao-space-xl) var(--ao-space-xl) var(--ao-space-xl)}.ao-add-template-modal__form-body{display:flex;flex-direction:column;height:100%;min-height:0}.ao-add-template-modal__form-footer{display:flex;justify-content:flex-end;margin-block-start:var(--ao-space-lg)}.ao-save-template-modal__form{display:flex;flex-direction:column;height:100%;min-height:0;width:100%;margin-block-start:var(--ao-space-md)}.ao-save-template-modal__form-body{display:flex;flex-direction:column;height:100%;min-height:0}.ao-save-template-modal__form-footer{display:flex;justify-content:flex-end;margin-block-start:var(--ao-space-lg)}.ao-save-template-modal__form{padding:0 var(--ao-space-lg) var(--ao-space-lg) var(--ao-space-lg)}.ao-save-template-modal__phases{margin-top:var(--ao-space-md)}.ao-field__label{padding:var(--ao-space-md) 0;font-size:var(--ao-font-size-base)}.ao-save-template-modal__phases-list{display:flex;flex-direction:column;gap:var(--ao-space-sm)}.ao-field--checkbox{display:flex;flex-direction:row}.tabbar-wrapper[data-v-ff4e3297]{display:flex;align-items:center;margin:0;font-size:var(--ao-font-size-h3);padding:var(--ao-space-sm);border-radius:var(--ao-border-radius-md);background-color:var(--ao-color-neutral-lightest)}.tab-button[data-v-ff4e3297]{border:none;background-color:transparent;padding:var(--ao-space-sm) var(--ao-space-md);border-radius:var(--ao-border-radius-sm);color:var(--ao-color-black);cursor:pointer;transition:background-color .2s ease}.tab-button--active[data-v-ff4e3297]{background-color:var(--ao-color-primary-base);color:var(--ao-color-white)}.ao-project-overview__add-template .ao-project-overview__save-as-template{margin-left:auto;margin-right:var(--ao-space-md)}.ao-project-overview{display:grid;grid-template-columns:1fr auto;height:100%;min-height:0;container:page / inline-size}.ao-project{display:flex;flex-direction:column;gap:var(--ao-space-md);padding-block:var(--ao-space-lg);height:100%;min-height:0;flex-grow:1;overflow:hidden}.ao-project__body{display:flex;flex-direction:column;height:100%;min-height:0;width:100%;min-width:0;flex-grow:1;align-items:flex-start;padding-block:var(--ao-space-md);overflow:hidden}@container page (min-width: 720px){.ao-project{padding-inline:var(--ao-space-lg)}}.ao-card-feed{cursor:pointer}.ao-card-feed__header{display:grid;grid-template-columns:minmax(0,1fr) auto;justify-items:flex-start}.ao-card-feed__header-secondary{grid-column:2;grid-row:1}.ao-card-feed__header-icons{margin-inline-start:auto}.ao-card-feed__title-group{margin-block:var(--ao-space-md);display:flex;align-items:center}.ao-card-feed__body{display:flex;flex-direction:column;align-items:flex-start}.ao-card-feed__project{max-width:100%}.ao-card-feed__breadcrumbs{font-size:var(--ao-font-size-label)}.ao-card-feed_deadline{color:var(--ao-color-neutral-base);font-size:var(--ao-font-size-label)}.ao-card-feed__important{margin-inline-start:auto;color:var(--ao-color-danger)}.ao-card-feed__warning{color:var(--ao-color-warning)}.ao-card-feed__footer{display:flex;flex-direction:column}.ao-card-feed__footer-row{display:flex;gap:var(--ao-space-md);align-items:center;position:relative}.ao-card-feed__secondary{display:flex;width:100%;height:100%;justify-content:center;align-items:center;background-color:var(--ao-card-bg);opacity:0;visibility:hidden;pointer-events:none}.ao-card-feed:hover .ao-card-feed__secondary{opacity:1;visibility:visible;pointer-events:all}.ao-card-feed__footer-row+.ao-card-feed__footer-row{margin-block-start:var(--ao-space-md)}.ao-assignees{display:flex;margin:0;padding:0}.ao-assignee{list-style-type:none}.ao-card-feed__subitems{margin:0;margin-inline-start:auto;padding:0;display:flex;gap:var(--ao-space-sm);align-items:center}.ao-card-feed__subitem{display:flex;flex-shrink:0;font-size:var(--ao-font-size-tag);font-weight:var(--ao-font-weight-semi-bold)}.ao-card-feed__progress-wrapper{display:flex;width:100%;align-items:center;gap:var(--ao-space-md)}.ao-card-feed__progress{flex-grow:1}.ao-card-feed__timer-wrapper{opacity:0;visibility:hidden;margin-inline-start:auto}.ao-card-feed:is(:hover,:focus-within) .ao-card-feed__timer-wrapper{opacity:1;visibility:visible}.ao-card-feed__timer{cursor:pointer;color:var(--ao-color-primary-base)}.ao-card-feed__timer:hover{color:var(--ao-color-primary-dark)}.ao-card-feed__closed{color:var(--ao-color-primary-base)}.ao-card-feed--closed :is(.ao-card-feed__body,.ao-card-feed__footer,.ao-card-feed__project,.ao-card-feed__header-icons > *:not(.ao-card-feed__closed)){opacity:.3}.ao-card-feed__title-line{display:block;word-break:normal}.ao-card-feed__slug{font-weight:var(--ao-font-weight-semi-bold);white-space:nowrap;display:inline}.ao-card-feed__title-inline{display:inline;word-break:normal}.ao-project-milestone{display:flex;flex-direction:column;flex:1;height:100%;min-height:0;width:24em;background-color:var(--ao-color-sheet);padding:var(--ao-space-lg)}.ao-project-milestone__header{display:flex;align-items:flex-start;flex-direction:column}.ao-project-milestone__header_line{display:flex;align-items:flex-start;justify-content:space-between;width:100%}.ao-project-milestone__title{display:flex;padding-inline:var(--ao-space-lg);width:100%}.ao-project-milestone__body{display:flex;flex-direction:column;height:100%;min-height:0}.ao-project-milestone__activities{display:flex;flex-direction:column;gap:var(--ao-space-md);padding:var(--ao-space-md);margin-block:0;overflow-y:auto}.ao-project-milestone__footer{display:flex;flex-direction:column;padding:var(--ao-space-md)}.ao-milestone__fieldset{width:100%;padding:var(--ao-space-md);border-block-end:var(--ao-border-width-sm) solid var(--ao-color-neutral-lightest)}.ao-milestone__field-row{width:100%;align-items:center}.ao-milestone__field-row+.ao-milestone__field-row{margin-block-start:var(--ao-space-sm)}.ao-milestone__field{padding:var(--ao-space-sm);font-size:var(--ao-font-size-label);background-color:transparent;border-width:0}.ao-milestone__field-multiselect{width:14ch;background-color:transparent}.ao-milestone__field-multiselect .multiselect-tags-search{background-color:transparent}.ao-milestone__field-multiselect .ao-multiselect{--ms-font-size: var(--ao-font-size-label);--ms-line-height: 1;--ms-border-color: none;--ms-border-width: var(--ao-input-border-width);--ms-border-color-active: none;--ms-border-width-active: var(--ao-input-border-width);--ms-radius: var(--ao-border-radius-sm);--ms-py: var(--ao-space-sm);--ms-px: var(--ao-space-sm);--ms-ring-color: transparent;--ms-placeholder-color: var(--ao-color-black);--ms-spinner-color: var(--ao-color-primary-base);--ms-dropdown-radius: var(--ao-border-radius-sm);--ms-option-bg-selected: var(--ao-color-primary-base);--ms-option-bg-selected-pointed: var(--ao-color-primary-light)}.ao-milestone__important,.ao-milestone__close{margin-inline-start:auto}.color-button{cursor:pointer;width:125px;height:24px;border-radius:var(--ao-border-radius-sm);border:1px solid #ccc}.ao-col-header{--ao-col-header-bg: var(--ao-color-card);display:flex;background-color:var(--ao-col-header-bg);border-radius:var(--ao-border-radius-md);align-items:center;padding:var(--ao-space-md)}.ao-col-header__title{flex:1}.ao-col-header__items{flex-shrink:0}.ao-list-kanban{display:flex;flex-direction:column;gap:var(--ao-space-lg);height:100%;min-height:0;scroll-snap-align:start end}.ao-list-kanban__list{display:flex;flex-direction:column;gap:var(--ao-space-md);min-height:0;overflow-y:auto;padding-inline:var(--ao-space-md)}.ao-list-kanban__header,.ao-list-kanban__footer{padding-inline:var(--ao-space-md)}.ao-list-kanban__end{display:flex;flex-direction:column;padding:var(--ao-space-md);align-items:center;justify-items:center;flex-shrink:0}.ao-list-kanban__divider{width:50%;height:2px;background-color:var(--ao-color-neutral-lightest)}.ao-list-kanban .ao-list-kanban__list .ao-list-kanban__transition-move,.ao-list-kanban .ao-list-kanban__list .ao-list-kanban__transition-enter-active,.ao-list-kanban .ao-list-kanban__list .ao-list-kanban__transition-leave-active{transition:all .5s ease}.ao-list-kanban__transition-leave-active{position:absolute}.ao-list-kanban__ghost{opacity:.5;background:var(--ao-color-primary-lightest)}.ao-search-field{--ao-search-field-icon-size: var(--ao-icon-size-md);--ao-search-field-icon-slot-size: calc( var(--ao-search-field-icon-size) + var(--ao-space-xl) );--ao-search-field-placeholder-color: var(--ao-color-black);--ao-input-border-color: var(--ao-color-neutral-lightest);display:grid;grid-template-columns:1fr var(--ao-search-field-icon-slot-size);align-items:center;gap:var(--ao-space-sm);flex:1}.ao-search-field__input{grid-column:1 / -1;grid-row:1;width:100%;padding-inline-end:var(--ao-search-field-icon-slot-size);font-size:var(--ao-font-size-button);border-radius:var(--ao-border-radius-md)}.ao-search-field__input:focus{color:var(--ao-color-primary-base);outline-color:var(--ao-color-primary-lightest)}.ao-search-field__input::placeholder{color:var(--ao-search-field-placeholder-color);opacity:1}.ao-search-field__action{grid-column:2;grid-row:1;justify-self:center;transform:scale(0);transition:transform .15s var(--ao-transition-ease);transform-origin:50%}.ao-search-field__action--visible{transform:scale(1)}.ao-search-field__icon{width:var(--ao-search-field-icon-size);height:var(--ao-search-field-icon-size);color:var(--ao-color-neutral-dark);pointer-events:none}.ao-feed{display:flex;flex-direction:column;gap:var(--ao-space-md);padding:var(--ao-space-lg);height:100%;min-height:0;flex-grow:1;container:page / inline-size}.ao-feed__body{display:grid;grid-auto-flow:column;grid-auto-columns:100%;height:100%;min-height:0;flex-grow:1;overflow-x:auto;align-items:flex-start;padding-block:var(--ao-space-md);scroll-snap-type:x mandatory}.ao-feed__activity-details__header{display:flex;gap:var(--ao-space-md)}.ao-feed__activity-details__project{flex:2}.ao-feed__activity-details__status{flex:1}@container page (min-width: 420px){.ao-feed__body{grid-auto-columns:50cqi}}@container page (min-width: 768px){.ao-feed__body{grid-auto-columns:33cqi}}@container page (min-width: 1024px){.ao-feed__body{grid-auto-columns:minmax(calc(var(--ao-grid-size) * 32),calc(var(--ao-grid-size) * 32))}}.ao-kanban__col{display:flex;flex-direction:column;gap:var(--ao-space-md);max-height:100%;min-height:0;overflow-y:auto;padding:var(--ao-space-lg)}.ao-feed__filters{flex:1;display:flex;gap:1%;align-items:center;flex-direction:column}.ao-feed__filter .multiselect-tags{flex-wrap:nowrap;overflow-x:auto;gap:var(--ao-space-xs)}.ao-feed__filter .multiselect-wrapper{justify-content:flex-start}.ao-feed__show-archived{flex:0 auto}@container header (min-width: 720px){.ao-feed__filters{flex-direction:row}.ao-feed__search{padding-inline-end:var(--ao-space-md);border-right:var(--ao-border-width-sm) solid var(--ao-color-neutral-lightest)}.ao-feed__search,.ao-feed__filter__projects{max-width:33%}.ao-feed__filter__assignees,.ao-feed__filter__types{max-width:15%}}.ao-project-mapping-overview__add-template,.ao-project-mapping-overview__save-as-template{margin-left:auto;margin-right:var(--ao-space-md)}.ao-project-mapping-overview{display:grid;grid-template-columns:1fr auto;height:100%;min-height:0;container:page / inline-size}.ao-project-mapping{display:flex;flex-direction:column;gap:var(--ao-space-md);padding-block:var(--ao-space-lg);height:100%;min-height:0;flex-grow:1;overflow:visible}.ao-project-mapping-mapping__body{display:flex;flex-direction:row;align-items:flex-start;gap:var(--ao-space-md);padding-block:var(--ao-space-md)}.ao-project-mapping-mapping__phases{flex:0 0 auto;min-width:0;max-height:100vh;overflow:scroll}.ao-project-mapping-mapping__image-wrapper{flex:1 1 0;position:relative;min-width:0}.architecture-image{position:sticky;top:var(--ao-space-md);width:100%;height:auto;display:block}@container page (min-width: 720px){.ao-project-mapping{padding-inline:var(--ao-space-lg)}}.ao-templates{display:flex;flex-direction:column;gap:var(--ao-space-md);padding:var(--ao-space-lg)}.ao-templates__header{display:flex;padding:var(--ao-space-sm)}.ao-templates__list{display:flex;margin:0;padding:var(--ao-space-sm);list-style-type:none;flex-direction:column;gap:var(--ao-space-md);container:column / inline-size}
2
2
  `,document.head.appendChild(Le),typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("vue-router"),require("vuedraggable")):typeof define=="function"&&define.amd?define(["exports","vue","vue-router","vuedraggable"],e):(X=typeof globalThis<"u"?globalThis:X||self,e(X.Orcha={},X.Vue,X.vueRouter,X.Draggable))})(this,function(X,e,Le,De){"use strict";const ag="",og="",rg="",ng="",Wr=e.defineComponent({__name:"AoTemplates",props:{templates:{}},setup(a){return(t,o)=>(e.openBlock(),e.createBlock(e.unref(Le.RouterView),e.mergeProps({templates:t.templates},t.$attrs),null,16,["templates"]))}}),j=(a,t)=>{const o=a.__vccOpts||a;for(const[r,n]of t)o[r]=n;return o},qr={},Yr={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Kr=[e.createElementVNode("path",{d:"M12 13C12.9667 13 13.7917 12.6583 14.475 11.975C15.1583 11.2917 15.5 10.4667 15.5 9.5C15.5 8.53333 15.1583 7.70833 14.475 7.025C13.7917 6.34167 12.9667 6 12 6C11.0333 6 10.2083 6.34167 9.525 7.025C8.84167 7.70833 8.5 8.53333 8.5 9.5C8.5 10.4667 8.84167 11.2917 9.525 11.975C10.2083 12.6583 11.0333 13 12 13ZM3 21V3H21V21H3ZM5 19H19V17.85C18.1 16.9667 17.054 16.271 15.862 15.763C14.67 15.255 13.3827 15.0007 12 15C10.6167 15 9.329 15.2543 8.137 15.763C6.945 16.2717 5.89933 16.9673 5 17.85V19Z",fill:"black"},null,-1)];function Gr(a,t){return e.openBlock(),e.createElementBlock("svg",Yr,Kr)}const Xr=j(qr,[["render",Gr]]),Qr={},Jr={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},en=[e.createElementVNode("path",{d:"M5.85 17.1C6.7 16.45 7.65 15.9373 8.7 15.562C9.75 15.1867 10.85 14.9993 12 15C13.15 15 14.25 15.1877 15.3 15.563C16.35 15.9383 17.3 16.4507 18.15 17.1C18.7333 16.4167 19.1877 15.6417 19.513 14.775C19.8383 13.9083 20.0007 12.9833 20 12C20 9.78333 19.221 7.89567 17.663 6.337C16.105 4.77833 14.2173 3.99933 12 4C9.78333 4 7.89567 4.779 6.337 6.337C4.77833 7.895 3.99933 9.78267 4 12C4 12.9833 4.16267 13.9083 4.488 14.775C4.81333 15.6417 5.26733 16.4167 5.85 17.1ZM12 13C11.0167 13 10.1873 12.6627 9.512 11.988C8.83667 11.3133 8.49933 10.484 8.5 9.5C8.5 8.51667 8.83733 7.68733 9.512 7.012C10.1867 6.33667 11.016 5.99933 12 6C12.9833 6 13.8127 6.33733 14.488 7.012C15.1633 7.68667 15.5007 8.516 15.5 9.5C15.5 10.4833 15.1627 11.3127 14.488 11.988C13.8133 12.6633 12.984 13.0007 12 13ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22Z",fill:"black"},null,-1)];function tn(a,t){return e.openBlock(),e.createElementBlock("svg",Jr,en)}const an=j(Qr,[["render",tn]]),on={},rn={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},nn=[e.createElementVNode("path",{d:"M17 21C16.45 21 15.979 20.804 15.587 20.412C15.195 20.02 14.9993 19.5493 15 19V18H13C12.45 18 11.979 17.804 11.587 17.412C11.195 17.02 10.9993 16.5493 11 16V8H9V9C9 9.55 8.804 10.021 8.412 10.413C8.02 10.805 7.54934 11.0007 7 11H4C3.45 11 2.979 10.804 2.587 10.412C2.195 10.02 1.99934 9.54934 2 9V5C2 4.45 2.196 3.979 2.588 3.587C2.98 3.195 3.45067 2.99934 4 3H7C7.55 3 8.021 3.196 8.413 3.588C8.805 3.98 9.00067 4.45067 9 5V6H15V5C15 4.45 15.196 3.979 15.588 3.587C15.98 3.195 16.4507 2.99934 17 3H20C20.55 3 21.021 3.196 21.413 3.588C21.805 3.98 22.0007 4.45067 22 5V9C22 9.55 21.804 10.021 21.412 10.413C21.02 10.805 20.5493 11.0007 20 11H17C16.45 11 15.979 10.804 15.587 10.412C15.195 10.02 14.9993 9.54934 15 9V8H13V16H15V15C15 14.45 15.196 13.979 15.588 13.587C15.98 13.195 16.4507 12.9993 17 13H20C20.55 13 21.021 13.196 21.413 13.588C21.805 13.98 22.0007 14.4507 22 15V19C22 19.55 21.804 20.021 21.412 20.413C21.02 20.805 20.5493 21.0007 20 21H17ZM17 9H20V5H17V9ZM17 19H20V15H17V19ZM4 9H7V5H4V9Z",fill:"black"},null,-1)];function sn(a,t){return e.openBlock(),e.createElementBlock("svg",rn,nn)}const ln=j(on,[["render",sn]]),cn={},dn={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},pn=[e.createElementVNode("path",{d:"M17 21C16.45 21 15.979 20.804 15.587 20.412C15.195 20.02 14.9993 19.5493 15 19V18H13C12.45 18 11.979 17.804 11.587 17.412C11.195 17.02 10.9993 16.5493 11 16V8H9V9C9 9.55 8.804 10.021 8.412 10.413C8.02 10.805 7.54934 11.0007 7 11H4C3.45 11 2.979 10.804 2.587 10.412C2.195 10.02 1.99934 9.54934 2 9V5C2 4.45 2.196 3.979 2.588 3.587C2.98 3.195 3.45067 2.99934 4 3H7C7.55 3 8.021 3.196 8.413 3.588C8.805 3.98 9.00067 4.45067 9 5V6H15V5C15 4.45 15.196 3.979 15.588 3.587C15.98 3.195 16.4507 2.99934 17 3H20C20.55 3 21.021 3.196 21.413 3.588C21.805 3.98 22.0007 4.45067 22 5V9C22 9.55 21.804 10.021 21.412 10.413C21.02 10.805 20.5493 11.0007 20 11H17C16.45 11 15.979 10.804 15.587 10.412C15.195 10.02 14.9993 9.54934 15 9V8H13V16H15V15C15 14.45 15.196 13.979 15.588 13.587C15.98 13.195 16.4507 12.9993 17 13H20C20.55 13 21.021 13.196 21.413 13.588C21.805 13.98 22.0007 14.4507 22 15V19C22 19.55 21.804 20.021 21.412 20.413C21.02 20.805 20.5493 21.0007 20 21H17Z",fill:"black"},null,-1)];function un(a,t){return e.openBlock(),e.createElementBlock("svg",dn,pn)}const mn=j(cn,[["render",un]]),fn={},hn={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},gn=[e.createElementVNode("path",{d:"M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",fill:"black"},null,-1)];function _n(a,t){return e.openBlock(),e.createElementBlock("svg",hn,gn)}const vn=j(fn,[["render",_n]]),Cn={},bn={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},yn=[e.createElementVNode("path",{d:"M12 17C12.2833 17 12.521 16.904 12.713 16.712C12.9043 16.5207 13 16.2833 13 16V13H16C16.2833 13 16.5207 12.904 16.712 12.712C16.904 12.5207 17 12.2833 17 12C17 11.7167 16.904 11.479 16.712 11.287C16.5207 11.0957 16.2833 11 16 11H13V8C13 7.71667 12.9043 7.479 12.713 7.287C12.521 7.09567 12.2833 7 12 7C11.7167 7 11.4793 7.09567 11.288 7.287C11.096 7.479 11 7.71667 11 8V11H8C7.71667 11 7.479 11.0957 7.287 11.287C7.09567 11.479 7 11.7167 7 12C7 12.2833 7.09567 12.5207 7.287 12.712C7.479 12.904 7.71667 13 8 13H11V16C11 16.2833 11.096 16.5207 11.288 16.712C11.4793 16.904 11.7167 17 12 17ZM5 21C4.45 21 3.979 20.8043 3.587 20.413C3.19567 20.021 3 19.55 3 19V5C3 4.45 3.19567 3.979 3.587 3.587C3.979 3.19567 4.45 3 5 3H19C19.55 3 20.021 3.19567 20.413 3.587C20.8043 3.979 21 4.45 21 5V19C21 19.55 20.8043 20.021 20.413 20.413C20.021 20.8043 19.55 21 19 21H5ZM5 19H19V5H5V19ZM5 19V5V19Z",fill:"black"},null,-1)];function wn(a,t){return e.openBlock(),e.createElementBlock("svg",bn,yn)}const kn=j(Cn,[["render",wn]]),$n={},En={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Bn=[e.createElementVNode("path",{d:"M5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V6.50001C3 6.25001 3.04167 6.02501 3.125 5.82501C3.20834 5.62501 3.31667 5.43334 3.45 5.25001L4.85 3.55001C4.98333 3.36667 5.15 3.22901 5.35 3.13701C5.55 3.04501 5.76667 2.99934 6 3.00001H18C18.2333 3.00001 18.45 3.04567 18.65 3.13701C18.85 3.22834 19.0167 3.36601 19.15 3.55001L20.55 5.25001C20.6833 5.43334 20.7917 5.62501 20.875 5.82501C20.9583 6.02501 21 6.25001 21 6.50001V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM5.4 6.00001H18.6L17.75 5.00001H6.25L5.4 6.00001ZM5 19H19V8.00001H5V19ZM12 17.575C12.1333 17.575 12.2583 17.554 12.375 17.512C12.4917 17.47 12.6 17.3993 12.7 17.3L15.3 14.7C15.4833 14.5167 15.575 14.2833 15.575 14C15.575 13.7167 15.4833 13.4833 15.3 13.3C15.1167 13.1167 14.8833 13.025 14.6 13.025C14.3167 13.025 14.0833 13.1167 13.9 13.3L13 14.2V11C13 10.7167 12.904 10.479 12.712 10.287C12.52 10.095 12.2827 9.99934 12 10C11.7167 10 11.479 10.096 11.287 10.288C11.095 10.48 10.9993 10.7173 11 11V14.2L10.1 13.3C9.91667 13.1167 9.68333 13.025 9.4 13.025C9.11667 13.025 8.88334 13.1167 8.7 13.3C8.51667 13.4833 8.425 13.7167 8.425 14C8.425 14.2833 8.51667 14.5167 8.7 14.7L11.3 17.3C11.4 17.4 11.5083 17.4707 11.625 17.512C11.7417 17.5533 11.8667 17.5743 12 17.575Z",fill:"black"},null,-1)];function Vn(a,t){return e.openBlock(),e.createElementBlock("svg",En,Bn)}const Sn=j($n,[["render",Vn]]),Nn={},xn={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Mn=[e.createElementVNode("path",{d:"M10.875 19.3001L4.275 12.7001C4.175 12.6001 4.104 12.4917 4.062 12.3751C4.02067 12.2584 4 12.1334 4 12.0001C4 11.8667 4.02067 11.7417 4.062 11.6251C4.104 11.5084 4.175 11.4001 4.275 11.3001L10.875 4.70008C11.0583 4.51675 11.2873 4.42075 11.562 4.41208C11.8373 4.40408 12.075 4.50008 12.275 4.70008C12.475 4.88342 12.5793 5.11242 12.588 5.38708C12.596 5.66242 12.5 5.90008 12.3 6.10008L7.4 11.0001H18.575C18.8583 11.0001 19.096 11.0957 19.288 11.2871C19.4793 11.4791 19.575 11.7167 19.575 12.0001C19.575 12.2834 19.4793 12.5207 19.288 12.7121C19.096 12.9041 18.8583 13.0001 18.575 13.0001H7.4L12.3 17.9001C12.4833 18.0834 12.5793 18.3167 12.588 18.6001C12.596 18.8834 12.5 19.1167 12.3 19.3001C12.1167 19.5001 11.8833 19.6001 11.6 19.6001C11.3167 19.6001 11.075 19.5001 10.875 19.3001V19.3001Z",fill:"black"},null,-1)];function Tn(a,t){return e.openBlock(),e.createElementBlock("svg",xn,Mn)}const An=j(Nn,[["render",Tn]]),On={},In={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ln=[e.createElementVNode("path",{d:"M11.3 14.3L8.70001 11.7C8.38335 11.3833 8.31268 11.021 8.48801 10.613C8.66268 10.2043 8.97501 10 9.42501 10H14.575C15.025 10 15.3373 10.2043 15.512 10.613C15.6873 11.021 15.6167 11.3833 15.3 11.7L12.7 14.3C12.6 14.4 12.4917 14.475 12.375 14.525C12.2583 14.575 12.1333 14.6 12 14.6C11.8667 14.6 11.7417 14.575 11.625 14.525C11.5083 14.475 11.4 14.4 11.3 14.3V14.3Z",fill:"black"},null,-1)];function Dn(a,t){return e.openBlock(),e.createElementBlock("svg",In,Ln)}const jn=j(On,[["render",Dn]]),Pn={},zn={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Hn=[e.createElementVNode("path",{d:"M11.3 19.3C11.1167 19.1167 11.0207 18.8834 11.012 18.6C11.004 18.3167 11.0917 18.0834 11.275 17.9L16.175 13H5C4.71667 13 4.479 12.904 4.287 12.712C4.09567 12.5207 4 12.2834 4 12C4 11.7167 4.09567 11.479 4.287 11.287C4.479 11.0957 4.71667 11 5 11H16.175L11.275 6.10005C11.0917 5.91672 11.004 5.68338 11.012 5.40005C11.0207 5.11672 11.1167 4.88338 11.3 4.70005C11.4833 4.51672 11.7167 4.42505 12 4.42505C12.2833 4.42505 12.5167 4.51672 12.7 4.70005L19.3 11.3C19.4 11.3834 19.471 11.4874 19.513 11.612C19.5543 11.7374 19.575 11.8667 19.575 12C19.575 12.1334 19.5543 12.2584 19.513 12.375C19.471 12.4917 19.4 12.6 19.3 12.7L12.7 19.3C12.5167 19.4834 12.2833 19.575 12 19.575C11.7167 19.575 11.4833 19.4834 11.3 19.3V19.3Z",fill:"black"},null,-1)];function Rn(a,t){return e.openBlock(),e.createElementBlock("svg",zn,Hn)}const Un=j(Pn,[["render",Rn]]),Fn={},Zn={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Wn=[e.createElementVNode("path",{d:"M8 17H13C13.2833 17 13.521 16.904 13.713 16.712C13.905 16.52 14.0007 16.2827 14 16C14 15.7167 13.904 15.479 13.712 15.287C13.52 15.095 13.2827 14.9993 13 15H8C7.71667 15 7.479 15.096 7.287 15.288C7.095 15.48 6.99934 15.7173 7 16C7 16.2833 7.096 16.521 7.288 16.713C7.48 16.905 7.71734 17.0007 8 17ZM8 13H16C16.2833 13 16.521 12.904 16.713 12.712C16.905 12.52 17.0007 12.2827 17 12C17 11.7167 16.904 11.479 16.712 11.287C16.52 11.095 16.2827 10.9993 16 11H8C7.71667 11 7.479 11.096 7.287 11.288C7.095 11.48 6.99934 11.7173 7 12C7 12.2833 7.096 12.521 7.288 12.713C7.48 12.905 7.71734 13.0007 8 13ZM8 9H16C16.2833 9 16.521 8.904 16.713 8.712C16.905 8.52 17.0007 8.28267 17 8C17 7.71667 16.904 7.479 16.712 7.287C16.52 7.095 16.2827 6.99933 16 7H8C7.71667 7 7.479 7.096 7.287 7.288C7.095 7.48 6.99934 7.71733 7 8C7 8.28333 7.096 8.521 7.288 8.713C7.48 8.905 7.71734 9.00067 8 9ZM5 19H19V5H5V19ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99933 5 3H9.2C9.41667 2.4 9.77934 1.91667 10.288 1.55C10.7967 1.18333 11.3673 1 12 1C12.6333 1 13.2043 1.18333 13.713 1.55C14.2217 1.91667 14.584 2.4 14.8 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM12 4.25C12.2167 4.25 12.3957 4.179 12.537 4.037C12.6783 3.895 12.7493 3.716 12.75 3.5C12.75 3.28333 12.679 3.10433 12.537 2.963C12.395 2.82167 12.216 2.75067 12 2.75C11.7833 2.75 11.6043 2.821 11.463 2.963C11.3217 3.105 11.2507 3.284 11.25 3.5C11.25 3.71667 11.321 3.89567 11.463 4.037C11.605 4.17833 11.784 4.24933 12 4.25Z",fill:"black"},null,-1)];function qn(a,t){return e.openBlock(),e.createElementBlock("svg",Zn,Wn)}const Yn=j(Fn,[["render",qn]]),Kn={},Gn={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Xn=[e.createElementVNode("path",{d:"M11.5 22C9.96667 22 8.66667 21.4667 7.6 20.4C6.53333 19.3333 6 18.0333 6 16.5V6C6 4.9 6.39167 3.95833 7.175 3.175C7.95833 2.39167 8.9 2 10 2C11.1 2 12.0417 2.39167 12.825 3.175C13.6083 3.95833 14 4.9 14 6V15.5C14 16.2 13.7583 16.7917 13.275 17.275C12.7917 17.7583 12.2 18 11.5 18C10.8 18 10.2083 17.7583 9.725 17.275C9.24167 16.7917 9 16.2 9 15.5V6.75C9 6.53333 9.071 6.35433 9.213 6.213C9.355 6.07167 9.534 6.00067 9.75 6C9.96667 6 10.1457 6.071 10.287 6.213C10.4283 6.355 10.4993 6.534 10.5 6.75V15.5C10.5 15.7833 10.596 16.021 10.788 16.213C10.98 16.405 11.2173 16.5007 11.5 16.5C11.7833 16.5 12.021 16.404 12.213 16.212C12.405 16.02 12.5007 15.7827 12.5 15.5V6C12.5 5.3 12.2583 4.70833 11.775 4.225C11.2917 3.74167 10.7 3.5 10 3.5C9.3 3.5 8.70833 3.74167 8.225 4.225C7.74167 4.70833 7.5 5.3 7.5 6V16.5C7.5 17.6 7.89167 18.5417 8.675 19.325C9.45833 20.1083 10.4 20.5 11.5 20.5C12.6 20.5 13.5417 20.1083 14.325 19.325C15.1083 18.5417 15.5 17.6 15.5 16.5V6.75C15.5 6.53333 15.571 6.35433 15.713 6.213C15.855 6.07167 16.034 6.00067 16.25 6C16.4667 6 16.6457 6.071 16.787 6.213C16.9283 6.355 16.9993 6.534 17 6.75V16.5C17 18.0333 16.4667 19.3333 15.4 20.4C14.3333 21.4667 13.0333 22 11.5 22Z",fill:"black"},null,-1)];function Qn(a,t){return e.openBlock(),e.createElementBlock("svg",Gn,Xn)}const Jn=j(Kn,[["render",Qn]]),ei={},ti={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ai=[e.createElementVNode("path",{d:"M5 22C4.45 22 3.979 21.804 3.587 21.412C3.195 21.02 2.99934 20.5493 3 20V6C3 5.45 3.196 4.979 3.588 4.587C3.98 4.195 4.45067 3.99933 5 4H6V2.975C6 2.69167 6.096 2.45833 6.288 2.275C6.48 2.09167 6.71734 2 7 2C7.28334 2 7.521 2.096 7.713 2.288C7.905 2.48 8.00067 2.71733 8 3V4H16V2.975C16 2.69167 16.096 2.45833 16.288 2.275C16.48 2.09167 16.7173 2 17 2C17.2833 2 17.521 2.096 17.713 2.288C17.905 2.48 18.0007 2.71733 18 3V4H19C19.55 4 20.021 4.196 20.413 4.588C20.805 4.98 21.0007 5.45067 21 6V20C21 20.55 20.804 21.021 20.412 21.413C20.02 21.805 19.5493 22.0007 19 22H5ZM5 20H19V10H5V20ZM5 8H19V6H5V8Z",fill:"black"},null,-1)];function oi(a,t){return e.openBlock(),e.createElementBlock("svg",ti,ai)}const ri=j(ei,[["render",oi]]),ni={},ii={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},si=[e.createElementVNode("path",{d:"M12 13.4L14.9 16.3C15.0833 16.4833 15.3167 16.575 15.6 16.575C15.8833 16.575 16.1167 16.4833 16.3 16.3C16.4833 16.1167 16.575 15.8833 16.575 15.6C16.575 15.3167 16.4833 15.0833 16.3 14.9L13.4 12L16.3 9.1C16.4833 8.91667 16.575 8.68333 16.575 8.4C16.575 8.11667 16.4833 7.88333 16.3 7.7C16.1167 7.51667 15.8833 7.425 15.6 7.425C15.3167 7.425 15.0833 7.51667 14.9 7.7L12 10.6L9.1 7.7C8.91667 7.51667 8.68333 7.425 8.4 7.425C8.11667 7.425 7.88333 7.51667 7.7 7.7C7.51667 7.88333 7.425 8.11667 7.425 8.4C7.425 8.68333 7.51667 8.91667 7.7 9.1L10.6 12L7.7 14.9C7.51667 15.0833 7.425 15.3167 7.425 15.6C7.425 15.8833 7.51667 16.1167 7.7 16.3C7.88333 16.4833 8.11667 16.575 8.4 16.575C8.68333 16.575 8.91667 16.4833 9.1 16.3L12 13.4ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22Z",fill:"black"},null,-1)];function li(a,t){return e.openBlock(),e.createElementBlock("svg",ii,si)}const ci=j(ni,[["render",li]]),di={},pi={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ui=[e.createElementVNode("path",{d:"M6 14H14V12H6V14ZM6 11H18V9H6V11ZM6 8H18V6H6V8ZM2 22V4C2 3.45 2.196 2.979 2.588 2.587C2.98 2.195 3.45067 1.99934 4 2H20C20.55 2 21.021 2.196 21.413 2.588C21.805 2.98 22.0007 3.45067 22 4V16C22 16.55 21.804 17.021 21.412 17.413C21.02 17.805 20.5493 18.0007 20 18H6L2 22ZM4 17.175L5.175 16H20V4H4V17.175Z",fill:"black"},null,-1)];function mi(a,t){return e.openBlock(),e.createElementBlock("svg",pi,ui)}const fi=j(di,[["render",mi]]),hi={},gi={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_i=[e.createElementVNode("path",{d:"M5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM5 19H19V5H5V19Z",fill:"black"},null,-1)];function vi(a,t){return e.openBlock(),e.createElementBlock("svg",gi,_i)}const Ci=j(hi,[["render",vi]]),bi={},yi={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wi=[e.createElementVNode("path",{d:"M3 21V3H21V21H3ZM5 19H19V5H5V19Z",fill:"black"},null,-1)];function ki(a,t){return e.openBlock(),e.createElementBlock("svg",yi,wi)}const $i=j(bi,[["render",ki]]),Ei={},Bi={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Vi=[e.createElementVNode("path",{d:"M10.6 13.4L8.45 11.25C8.26667 11.0667 8.03334 10.975 7.75 10.975C7.46667 10.975 7.23334 11.0667 7.05 11.25C6.86667 11.4333 6.775 11.6667 6.775 11.95C6.775 12.2333 6.86667 12.4667 7.05 12.65L9.9 15.5C10.1 15.7 10.3333 15.8 10.6 15.8C10.8667 15.8 11.1 15.7 11.3 15.5L16.95 9.85C17.1333 9.66667 17.225 9.43333 17.225 9.15C17.225 8.86667 17.1333 8.63334 16.95 8.45C16.7667 8.26667 16.5333 8.175 16.25 8.175C15.9667 8.175 15.7333 8.26667 15.55 8.45L10.6 13.4ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM5 19H19V5H5V19Z",fill:"black"},null,-1)];function Si(a,t){return e.openBlock(),e.createElementBlock("svg",Bi,Vi)}const Ni=j(Ei,[["render",Si]]),xi={},Mi={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ti=[e.createElementVNode("path",{d:"M10 13.6L15.9 7.70005C16.0834 7.51672 16.3167 7.42505 16.6 7.42505C16.8834 7.42505 17.1167 7.51672 17.3 7.70005C17.4834 7.88338 17.575 8.11671 17.575 8.40005C17.575 8.68338 17.4834 8.91672 17.3 9.10005L10.7 15.7C10.5 15.9 10.2667 16 10 16C9.73338 16 9.50005 15.9 9.30005 15.7L6.70005 13.1C6.51672 12.9167 6.42505 12.6834 6.42505 12.4C6.42505 12.1167 6.51672 11.8834 6.70005 11.7C6.88338 11.5167 7.11672 11.425 7.40005 11.425C7.68338 11.425 7.91672 11.5167 8.10005 11.7L10 13.6Z",fill:"black"},null,-1)];function Ai(a,t){return e.openBlock(),e.createElementBlock("svg",Mi,Ti)}const Oi=j(xi,[["render",Ai]]),Ii={},Li={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Di=[e.createElementVNode("path",{d:"M14 8.99989C13.7167 8.99989 13.479 8.90389 13.287 8.71189C13.095 8.51989 12.9994 8.28255 13 7.99989C13 7.71655 13.096 7.47889 13.288 7.28689C13.48 7.09489 13.7174 6.99922 14 6.99989H21C21.2834 6.99989 21.521 7.09589 21.713 7.28789C21.905 7.47989 22.0007 7.71722 22 7.99989C22 8.28322 21.904 8.52089 21.712 8.71289C21.52 8.90489 21.2827 9.00055 21 8.99989H14ZM14 16.9999C13.7167 16.9999 13.479 16.9039 13.287 16.7119C13.095 16.5199 12.9994 16.2826 13 15.9999C13 15.7166 13.096 15.4789 13.288 15.2869C13.48 15.0949 13.7174 14.9992 14 14.9999H21C21.2834 14.9999 21.521 15.0959 21.713 15.2879C21.905 15.4799 22.0007 15.7172 22 15.9999C22 16.2832 21.904 16.5209 21.712 16.7129C21.52 16.9049 21.2827 17.0006 21 16.9999H14ZM4.85005 10.2999L2.70005 8.14989C2.51672 7.96655 2.42505 7.73322 2.42505 7.44989C2.42505 7.16655 2.51672 6.93322 2.70005 6.74989C2.88338 6.56655 3.11672 6.47489 3.40005 6.47489C3.68338 6.47489 3.91672 6.56655 4.10005 6.74989L5.52505 8.17489L9.07505 4.62489C9.27505 4.42489 9.50838 4.32889 9.77505 4.33689C10.0417 4.34489 10.275 4.44922 10.475 4.64989C10.6584 4.84989 10.75 5.08322 10.75 5.34989C10.75 5.61655 10.6584 5.84989 10.475 6.04989L6.25005 10.2999C6.05005 10.4999 5.81672 10.5999 5.55005 10.5999C5.28338 10.5999 5.05005 10.4999 4.85005 10.2999ZM4.85005 18.2999L2.70005 16.1499C2.51672 15.9666 2.42505 15.7332 2.42505 15.4499C2.42505 15.1666 2.51672 14.9332 2.70005 14.7499C2.88338 14.5666 3.11672 14.4749 3.40005 14.4749C3.68338 14.4749 3.91672 14.5666 4.10005 14.7499L5.52505 16.1749L9.07505 12.6249C9.27505 12.4249 9.50838 12.3292 9.77505 12.3379C10.0417 12.3466 10.275 12.4506 10.475 12.6499C10.6584 12.8499 10.75 13.0832 10.75 13.3499C10.75 13.6166 10.6584 13.8499 10.475 14.0499L6.25005 18.2999C6.05005 18.4999 5.81672 18.5999 5.55005 18.5999C5.28338 18.5999 5.05005 18.4999 4.85005 18.2999Z",fill:"black"},null,-1)];function ji(a,t){return e.openBlock(),e.createElementBlock("svg",Li,Di)}const Pi=j(Ii,[["render",ji]]),zi={},Hi={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ri=[e.createElementVNode("path",{d:"M14 18L8 12L14 6L15.4 7.4L10.8 12L15.4 16.6L14 18Z",fill:"black"},null,-1)];function Ui(a,t){return e.openBlock(),e.createElementBlock("svg",Hi,Ri)}const Fi=j(zi,[["render",Ui]]),Zi={},Wi={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qi=[e.createElementVNode("path",{d:"M9.4 18L8 16.6L12.6 12L8 7.4L9.4 6L15.4 12L9.4 18Z",fill:"black"},null,-1)];function Yi(a,t){return e.openBlock(),e.createElementBlock("svg",Wi,qi)}const Ki=j(Zi,[["render",Yi]]),Gi={},Xi={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Qi=[e.createElementVNode("path",{d:"M12 13.4L7.10005 18.3C6.91672 18.4834 6.68338 18.575 6.40005 18.575C6.11672 18.575 5.88338 18.4834 5.70005 18.3C5.51672 18.1167 5.42505 17.8834 5.42505 17.6C5.42505 17.3167 5.51672 17.0834 5.70005 16.9L10.6 12L5.70005 7.10005C5.51672 6.91672 5.42505 6.68338 5.42505 6.40005C5.42505 6.11672 5.51672 5.88338 5.70005 5.70005C5.88338 5.51672 6.11672 5.42505 6.40005 5.42505C6.68338 5.42505 6.91672 5.51672 7.10005 5.70005L12 10.6L16.9 5.70005C17.0834 5.51672 17.3167 5.42505 17.6 5.42505C17.8834 5.42505 18.1167 5.51672 18.3 5.70005C18.4834 5.88338 18.575 6.11672 18.575 6.40005C18.575 6.68338 18.4834 6.91672 18.3 7.10005L13.4 12L18.3 16.9C18.4834 17.0834 18.575 17.3167 18.575 17.6C18.575 17.8834 18.4834 18.1167 18.3 18.3C18.1167 18.4834 17.8834 18.575 17.6 18.575C17.3167 18.575 17.0834 18.4834 16.9 18.3L12 13.4Z",fill:"black"},null,-1)];function Ji(a,t){return e.openBlock(),e.createElementBlock("svg",Xi,Qi)}const es=j(Gi,[["render",Ji]]),ts={},as={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},os=[e.createElementVNode("path",{d:"M5 23C4.71667 23 4.479 22.904 4.287 22.712C4.095 22.52 3.99934 22.2827 4 22C4 21.7167 4.096 21.479 4.288 21.287C4.48 21.095 4.71734 20.9993 5 21H19C19.2833 21 19.521 21.096 19.713 21.288C19.905 21.48 20.0007 21.7173 20 22C20 22.2833 19.904 22.521 19.712 22.713C19.52 22.905 19.2827 23.0007 19 23H5ZM5 3C4.71667 3 4.479 2.904 4.287 2.712C4.095 2.52 3.99934 2.28267 4 2C4 1.71667 4.096 1.479 4.288 1.287C4.48 1.095 4.71734 0.999337 5 1H19C19.2833 1 19.521 1.096 19.713 1.288C19.905 1.48 20.0007 1.71734 20 2C20 2.28334 19.904 2.521 19.712 2.713C19.52 2.905 19.2827 3.00067 19 3H5ZM12 13C12.8333 13 13.5417 12.7083 14.125 12.125C14.7083 11.5417 15 10.8333 15 10C15 9.16667 14.7083 8.45834 14.125 7.875C13.5417 7.29167 12.8333 7 12 7C11.1667 7 10.4583 7.29167 9.875 7.875C9.29167 8.45834 9 9.16667 9 10C9 10.8333 9.29167 11.5417 9.875 12.125C10.4583 12.7083 11.1667 13 12 13ZM4 20C3.45 20 2.979 19.804 2.587 19.412C2.195 19.02 1.99934 18.5493 2 18V6C2 5.45 2.196 4.979 2.588 4.587C2.98 4.195 3.45067 3.99934 4 4H20C20.55 4 21.021 4.196 21.413 4.588C21.805 4.98 22.0007 5.45067 22 6V18C22 18.55 21.804 19.021 21.412 19.413C21.02 19.805 20.5493 20.0007 20 20H4ZM5.75 18C6.5 17.0667 7.40834 16.3333 8.475 15.8C9.54167 15.2667 10.7167 15 12 15C13.2833 15 14.4583 15.2667 15.525 15.8C16.5917 16.3333 17.5 17.0667 18.25 18H20V6H4V18H5.75ZM8.7 18H15.3C14.8167 17.6667 14.2957 17.4167 13.737 17.25C13.1783 17.0833 12.5993 17 12 17C11.4 17 10.8207 17.0833 10.262 17.25C9.70334 17.4167 9.18267 17.6667 8.7 18ZM12 11C11.7167 11 11.479 10.904 11.287 10.712C11.095 10.52 10.9993 10.2827 11 10C11 9.71667 11.096 9.479 11.288 9.287C11.48 9.095 11.7173 8.99934 12 9C12.2833 9 12.521 9.096 12.713 9.288C12.905 9.48 13.0007 9.71734 13 10C13 10.2833 12.904 10.521 12.712 10.713C12.52 10.905 12.2827 11.0007 12 11Z",fill:"black"},null,-1)];function rs(a,t){return e.openBlock(),e.createElementBlock("svg",as,os)}const ns=j(ts,[["render",rs]]),is={},ss={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ls=[e.createElementVNode("path",{d:"M5 22C4.45 22 3.979 21.804 3.587 21.412C3.195 21.02 2.99934 20.5493 3 20V6H5V20H16V22H5ZM9 18C8.45 18 7.979 17.804 7.587 17.412C7.195 17.02 6.99934 16.5493 7 16V4C7 3.45 7.196 2.979 7.588 2.587C7.98 2.195 8.45067 1.99934 9 2H18C18.55 2 19.021 2.196 19.413 2.588C19.805 2.98 20.0007 3.45067 20 4V16C20 16.55 19.804 17.021 19.412 17.413C19.02 17.805 18.5493 18.0007 18 18H9ZM9 16H18V4H9V16Z",fill:"black"},null,-1)];function cs(a,t){return e.openBlock(),e.createElementBlock("svg",ss,ls)}const ds=j(is,[["render",cs]]),ps={},us={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ms=[e.createElementVNode("path",{d:"M7 21C6.45 21 5.979 20.804 5.587 20.412C5.195 20.02 4.99934 19.5493 5 19V6C4.71667 6 4.479 5.904 4.287 5.712C4.095 5.52 3.99934 5.28267 4 5C4 4.71667 4.096 4.479 4.288 4.287C4.48 4.095 4.71734 3.99934 5 4H9C9 3.71667 9.096 3.479 9.288 3.287C9.48 3.095 9.71734 2.99934 10 3H14C14.2833 3 14.521 3.096 14.713 3.288C14.905 3.48 15.0007 3.71734 15 4H19C19.2833 4 19.521 4.096 19.713 4.288C19.905 4.48 20.0007 4.71734 20 5C20 5.28334 19.904 5.521 19.712 5.713C19.52 5.905 19.2827 6.00067 19 6V19C19 19.55 18.804 20.021 18.412 20.413C18.02 20.805 17.5493 21.0007 17 21H7ZM7 6V19H17V6H7ZM9 16C9 16.2833 9.096 16.521 9.288 16.713C9.48 16.905 9.71734 17.0007 10 17C10.2833 17 10.521 16.904 10.713 16.712C10.905 16.52 11.0007 16.2827 11 16V9C11 8.71667 10.904 8.479 10.712 8.287C10.52 8.095 10.2827 7.99934 10 8C9.71667 8 9.479 8.096 9.287 8.288C9.095 8.48 8.99934 8.71734 9 9V16ZM13 16C13 16.2833 13.096 16.521 13.288 16.713C13.48 16.905 13.7173 17.0007 14 17C14.2833 17 14.521 16.904 14.713 16.712C14.905 16.52 15.0007 16.2827 15 16V9C15 8.71667 14.904 8.479 14.712 8.287C14.52 8.095 14.2827 7.99934 14 8C13.7167 8 13.479 8.096 13.287 8.288C13.095 8.48 12.9993 8.71734 13 9V16Z",fill:"black"},null,-1)];function fs(a,t){return e.openBlock(),e.createElementBlock("svg",us,ms)}const hs=j(ps,[["render",fs]]),gs={},_s={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},vs=[e.createElementVNode("path",{d:"M9 20C8.45 20 7.97933 19.8043 7.588 19.413C7.196 19.021 7 18.55 7 18C7 17.45 7.196 16.979 7.588 16.587C7.97933 16.1957 8.45 16 9 16C9.55 16 10.021 16.1957 10.413 16.587C10.8043 16.979 11 17.45 11 18C11 18.55 10.8043 19.021 10.413 19.413C10.021 19.8043 9.55 20 9 20ZM15 20C14.45 20 13.9793 19.8043 13.588 19.413C13.196 19.021 13 18.55 13 18C13 17.45 13.196 16.979 13.588 16.587C13.9793 16.1957 14.45 16 15 16C15.55 16 16.021 16.1957 16.413 16.587C16.8043 16.979 17 17.45 17 18C17 18.55 16.8043 19.021 16.413 19.413C16.021 19.8043 15.55 20 15 20ZM9 14C8.45 14 7.97933 13.804 7.588 13.412C7.196 13.0207 7 12.55 7 12C7 11.45 7.196 10.979 7.588 10.587C7.97933 10.1957 8.45 10 9 10C9.55 10 10.021 10.1957 10.413 10.587C10.8043 10.979 11 11.45 11 12C11 12.55 10.8043 13.0207 10.413 13.412C10.021 13.804 9.55 14 9 14ZM15 14C14.45 14 13.9793 13.804 13.588 13.412C13.196 13.0207 13 12.55 13 12C13 11.45 13.196 10.979 13.588 10.587C13.9793 10.1957 14.45 10 15 10C15.55 10 16.021 10.1957 16.413 10.587C16.8043 10.979 17 11.45 17 12C17 12.55 16.8043 13.0207 16.413 13.412C16.021 13.804 15.55 14 15 14ZM9 8C8.45 8 7.97933 7.804 7.588 7.412C7.196 7.02067 7 6.55 7 6C7 5.45 7.196 4.97933 7.588 4.588C7.97933 4.196 8.45 4 9 4C9.55 4 10.021 4.196 10.413 4.588C10.8043 4.97933 11 5.45 11 6C11 6.55 10.8043 7.02067 10.413 7.412C10.021 7.804 9.55 8 9 8ZM15 8C14.45 8 13.9793 7.804 13.588 7.412C13.196 7.02067 13 6.55 13 6C13 5.45 13.196 4.97933 13.588 4.588C13.9793 4.196 14.45 4 15 4C15.55 4 16.021 4.196 16.413 4.588C16.8043 4.97933 17 5.45 17 6C17 6.55 16.8043 7.02067 16.413 7.412C16.021 7.804 15.55 8 15 8Z",fill:"black"},null,-1)];function Cs(a,t){return e.openBlock(),e.createElementBlock("svg",_s,vs)}const bs=j(gs,[["render",Cs]]),ys={},ws={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ks=[e.createElementVNode("path",{d:"M6 22C5.45 22 4.979 21.804 4.587 21.412C4.195 21.02 3.99934 20.5493 4 20V4C4 3.45 4.196 2.979 4.588 2.587C4.98 2.195 5.45067 1.99934 6 2H13.175C13.4417 2 13.696 2.05 13.938 2.15C14.18 2.25 14.3923 2.39167 14.575 2.575L19.425 7.425C19.6083 7.60834 19.75 7.821 19.85 8.063C19.95 8.305 20 8.559 20 8.825V11.1L12 19.075V22H6ZM14.5 22C14.3667 22 14.25 21.95 14.15 21.85C14.05 21.75 14 21.6333 14 21.5V20.3C14 20.1667 14.0293 20.0333 14.088 19.9C14.1467 19.7667 14.2173 19.6583 14.3 19.575L19.15 14.7L21.3 16.8L16.425 21.7C16.3417 21.8 16.2333 21.875 16.1 21.925C15.9667 21.975 15.8333 22 15.7 22H14.5ZM22.025 16.1L19.9 13.975L20.6 13.275C20.8 13.075 21.0417 12.975 21.325 12.975C21.6083 12.975 21.8417 13.075 22.025 13.275L22.725 14C22.9083 14.2 23 14.4377 23 14.713C23 14.9883 22.9083 15.2173 22.725 15.4L22.025 16.1ZM14 9H18L13 4V8C13 8.28334 13.096 8.521 13.288 8.713C13.48 8.905 13.7173 9.00067 14 9Z",fill:"black"},null,-1)];function $s(a,t){return e.openBlock(),e.createElementBlock("svg",ws,ks)}const Es=j(ys,[["render",$s]]),Bs={},Vs={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ss=[e.createElementVNode("path",{d:"M5 19H6.4L15.025 10.375L13.625 8.975L5 17.6V19ZM19.3 8.925L15.05 4.725L16.45 3.325C16.8333 2.94167 17.3043 2.75 17.863 2.75C18.4217 2.75 18.8923 2.94167 19.275 3.325L20.675 4.725C21.0583 5.10833 21.2583 5.571 21.275 6.113C21.2917 6.655 21.1083 7.11733 20.725 7.5L19.3 8.925ZM17.85 10.4L7.25 21H3V16.75L13.6 6.15L17.85 10.4ZM14.325 9.675L13.625 8.975L15.025 10.375L14.325 9.675Z",fill:"black"},null,-1)];function Ns(a,t){return e.openBlock(),e.createElementBlock("svg",Vs,Ss)}const xs=j(Bs,[["render",Ns]]),Ms={},Ts={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},As=[e.createElementVNode("path",{d:"M12 17C12.2833 17 12.521 16.904 12.713 16.712C12.905 16.52 13.0007 16.2827 13 16C13 15.7167 12.904 15.479 12.712 15.287C12.52 15.095 12.2827 14.9993 12 15C11.7167 15 11.479 15.096 11.287 15.288C11.095 15.48 10.9993 15.7173 11 16C11 16.2833 11.096 16.521 11.288 16.713C11.48 16.905 11.7173 17.0007 12 17ZM12 13C12.2833 13 12.521 12.904 12.713 12.712C12.905 12.52 13.0007 12.2827 13 12V8C13 7.71667 12.904 7.479 12.712 7.287C12.52 7.095 12.2827 6.99933 12 7C11.7167 7 11.479 7.096 11.287 7.288C11.095 7.48 10.9993 7.71733 11 8V12C11 12.2833 11.096 12.521 11.288 12.713C11.48 12.905 11.7173 13.0007 12 13ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z",fill:"black"},null,-1)];function Os(a,t){return e.openBlock(),e.createElementBlock("svg",Ts,As)}const Is=j(Ms,[["render",Os]]),Ls={},Ds={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},js=[e.createElementVNode("path",{d:"M11 18C10.7167 18 10.479 17.904 10.287 17.712C10.095 17.52 9.99934 17.2827 10 17C10 16.7167 10.096 16.479 10.288 16.287C10.48 16.095 10.7173 15.9993 11 16H13C13.2833 16 13.521 16.096 13.713 16.288C13.905 16.48 14.0007 16.7173 14 17C14 17.2833 13.904 17.521 13.712 17.713C13.52 17.905 13.2827 18.0007 13 18H11ZM4 8C3.71667 8 3.479 7.904 3.287 7.712C3.095 7.52 2.99934 7.28267 3 7C3 6.71667 3.096 6.479 3.288 6.287C3.48 6.095 3.71734 5.99934 4 6H20C20.2833 6 20.521 6.096 20.713 6.288C20.905 6.48 21.0007 6.71734 21 7C21 7.28334 20.904 7.521 20.712 7.713C20.52 7.905 20.2827 8.00067 20 8H4ZM7 13C6.71667 13 6.479 12.904 6.287 12.712C6.095 12.52 5.99934 12.2827 6 12C6 11.7167 6.096 11.479 6.288 11.287C6.48 11.095 6.71734 10.9993 7 11H17C17.2833 11 17.521 11.096 17.713 11.288C17.905 11.48 18.0007 11.7173 18 12C18 12.2833 17.904 12.521 17.712 12.713C17.52 12.905 17.2827 13.0007 17 13H7Z",fill:"black"},null,-1)];function Ps(a,t){return e.openBlock(),e.createElementBlock("svg",Ds,js)}const zs=j(Ls,[["render",Ps]]),Hs={},Rs={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Us=[e.createElementVNode("path",{d:"M6 21C5.71667 21 5.479 20.904 5.287 20.712C5.095 20.52 4.99934 20.2827 5 20V5C5 4.71667 5.096 4.479 5.288 4.287C5.48 4.095 5.71734 3.99934 6 4H13.175C13.4083 4 13.6167 4.075 13.8 4.225C13.9833 4.375 14.1 4.56667 14.15 4.8L14.4 6H19C19.2833 6 19.521 6.096 19.713 6.288C19.905 6.48 20.0007 6.71734 20 7V15C20 15.2833 19.904 15.521 19.712 15.713C19.52 15.905 19.2827 16.0007 19 16H13.825C13.5917 16 13.3833 15.925 13.2 15.775C13.0167 15.625 12.9 15.4333 12.85 15.2L12.6 14H7V20C7 20.2833 6.904 20.521 6.712 20.713C6.52 20.905 6.28267 21.0007 6 21Z",fill:"black"},null,-1)];function Fs(a,t){return e.openBlock(),e.createElementBlock("svg",Rs,Us)}const Zs=j(Hs,[["render",Fs]]),Ws={},qs={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ys=[e.createElementVNode("path",{d:"M4 12V18V6V12ZM14 21C14.2833 21 14.521 20.904 14.713 20.712C14.905 20.52 15.0007 20.2827 15 20C15 19.7167 14.904 19.479 14.712 19.287C14.52 19.095 14.2827 18.9993 14 19C13.7167 19 13.479 19.096 13.287 19.288C13.095 19.48 12.9993 19.7173 13 20C13 20.2833 13.096 20.521 13.288 20.713C13.48 20.905 13.7173 21.0007 14 21ZM20 11C20.2833 11 20.521 10.904 20.713 10.712C20.905 10.52 21.0007 10.2827 21 10C21 9.71667 20.904 9.479 20.712 9.287C20.52 9.095 20.2827 8.99934 20 9C19.7167 9 19.479 9.096 19.287 9.288C19.095 9.48 18.9993 9.71734 19 10C19 10.2833 19.096 10.521 19.288 10.713C19.48 10.905 19.7173 11.0007 20 11ZM10 11C10.2833 11 10.521 10.904 10.713 10.712C10.905 10.52 11.0007 10.2827 11 10C11 9.71667 10.904 9.479 10.712 9.287C10.52 9.095 10.2827 8.99934 10 9H7C6.71667 9 6.479 9.096 6.287 9.288C6.095 9.48 5.99934 9.71734 6 10C6 10.2833 6.096 10.521 6.288 10.713C6.48 10.905 6.71734 11.0007 7 11H10ZM10 15C10.2833 15 10.521 14.904 10.713 14.712C10.905 14.52 11.0007 14.2827 11 14C11 13.7167 10.904 13.479 10.712 13.287C10.52 13.095 10.2827 12.9993 10 13H7C6.71667 13 6.479 13.096 6.287 13.288C6.095 13.48 5.99934 13.7173 6 14C6 14.2833 6.096 14.521 6.288 14.713C6.48 14.905 6.71734 15.0007 7 15H10ZM4 20C3.45 20 2.979 19.804 2.587 19.412C2.195 19.02 1.99934 18.5493 2 18V6C2 5.45 2.196 4.979 2.588 4.587C2.98 4.195 3.45067 3.99934 4 4H20C20.55 4 21.021 4.196 21.413 4.588C21.805 4.98 22.0007 5.45067 22 6H4V18H9V20H4ZM14 23C13.1667 23 12.4583 22.7083 11.875 22.125C11.2917 21.5417 11 20.8333 11 20C11 19.35 11.1877 18.7667 11.563 18.25C11.9383 17.7333 12.4173 17.375 13 17.175V15C13 14.7167 13.096 14.479 13.288 14.287C13.48 14.095 13.7173 13.9993 14 14H19V12.825C18.4167 12.625 17.9373 12.2667 17.562 11.75C17.1867 11.2333 16.9993 10.65 17 10C17 9.16667 17.2917 8.45833 17.875 7.875C18.4583 7.29167 19.1667 7 20 7C20.8333 7 21.5417 7.29167 22.125 7.875C22.7083 8.45833 23 9.16667 23 10C23 10.65 22.8123 11.2333 22.437 11.75C22.0617 12.2667 21.5827 12.625 21 12.825V15C21 15.2833 20.904 15.521 20.712 15.713C20.52 15.905 20.2827 16.0007 20 16H15V17.175C15.5833 17.375 16.0627 17.7333 16.438 18.25C16.8133 18.7667 17.0007 19.35 17 20C17 20.8333 16.7083 21.5417 16.125 22.125C15.5417 22.7083 14.8333 23 14 23Z",fill:"black"},null,-1)];function Ks(a,t){return e.openBlock(),e.createElementBlock("svg",qs,Ys)}const Gs=j(Ws,[["render",Ks]]),Xs={},Qs={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Js=[e.createElementVNode("path",{d:"M8.5 14H9.5C9.78334 14 10.021 13.904 10.213 13.712C10.405 13.52 10.5007 13.2827 10.5 13V12H9.5V13H8.5V11H10.5C10.5 10.7167 10.404 10.479 10.212 10.287C10.02 10.095 9.78267 9.99934 9.5 10H8.5C8.21667 10 7.979 10.096 7.787 10.288C7.595 10.48 7.49934 10.7173 7.5 11V13C7.5 13.2833 7.596 13.521 7.788 13.713C7.98 13.905 8.21734 14.0007 8.5 14ZM11.5 14H12.5V10H11.5V14ZM13.5 14H14.5V12.5H16V11.5H14.5V11H16.5V10H13.5V14ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5Z",fill:"black"},null,-1)];function el(a,t){return e.openBlock(),e.createElementBlock("svg",Qs,Js)}const tl=j(Xs,[["render",el]]),al={},ol={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},rl=[e.createElementVNode("path",{d:"M0 18V16.425C0 15.7083 0.366667 15.125 1.1 14.675C1.83333 14.225 2.8 14 4 14C4.21667 14 4.425 14.0043 4.625 14.013C4.825 14.0217 5.01667 14.0423 5.2 14.075C4.96667 14.425 4.79167 14.7917 4.675 15.175C4.55833 15.5583 4.5 15.9583 4.5 16.375V18H0ZM6 18V16.375C6 15.8417 6.146 15.354 6.438 14.912C6.73 14.47 7.14233 14.0827 7.675 13.75C8.20833 13.4167 8.846 13.1667 9.588 13C10.33 12.8333 11.134 12.75 12 12.75C12.8833 12.75 13.696 12.8333 14.438 13C15.18 13.1667 15.8173 13.4167 16.35 13.75C16.8833 14.0833 17.2917 14.471 17.575 14.913C17.8583 15.355 18 15.8423 18 16.375V18H6ZM19.5 18V16.375C19.5 15.9417 19.4457 15.5333 19.337 15.15C19.2283 14.7667 19.066 14.4083 18.85 14.075C19.0333 14.0417 19.221 14.021 19.413 14.013C19.605 14.005 19.8007 14.0007 20 14C21.2 14 22.1667 14.221 22.9 14.663C23.6333 15.105 24 15.6923 24 16.425V18H19.5ZM8.125 16H15.9C15.7333 15.6667 15.2707 15.375 14.512 15.125C13.7533 14.875 12.916 14.75 12 14.75C11.0833 14.75 10.2457 14.875 9.487 15.125C8.72833 15.375 8.27467 15.6667 8.126 16H8.125ZM4 13C3.45 13 2.979 12.804 2.587 12.412C2.195 12.02 1.99933 11.5493 2 11C2 10.4333 2.196 9.95833 2.588 9.575C2.98 9.19167 3.45067 9 4 9C4.56667 9 5.04167 9.19167 5.425 9.575C5.80833 9.95833 6 10.4333 6 11C6 11.55 5.80833 12.021 5.425 12.413C5.04167 12.805 4.56667 13.0007 4 13ZM20 13C19.45 13 18.979 12.804 18.587 12.412C18.195 12.02 17.9993 11.5493 18 11C18 10.4333 18.196 9.95833 18.588 9.575C18.98 9.19167 19.4507 9 20 9C20.5667 9 21.0417 9.19167 21.425 9.575C21.8083 9.95833 22 10.4333 22 11C22 11.55 21.8083 12.021 21.425 12.413C21.0417 12.805 20.5667 13.0007 20 13ZM12 12C11.1667 12 10.4583 11.7083 9.875 11.125C9.29167 10.5417 9 9.83333 9 9C9 8.15 9.29167 7.43733 9.875 6.862C10.4583 6.28667 11.1667 5.99933 12 6C12.85 6 13.5627 6.28767 14.138 6.863C14.7133 7.43833 15.0007 8.15067 15 9C15 9.83333 14.7123 10.5417 14.137 11.125C13.5617 11.7083 12.8493 12 12 12ZM12 10C12.2833 10 12.521 9.904 12.713 9.712C12.905 9.52 13.0007 9.28267 13 9C13 8.71667 12.904 8.479 12.712 8.287C12.52 8.095 12.2827 7.99933 12 8C11.7167 8 11.479 8.096 11.287 8.288C11.095 8.48 10.9993 8.71733 11 9C11 9.28333 11.096 9.521 11.288 9.713C11.48 9.905 11.7173 10.0007 12 10Z",fill:"black"},null,-1)];function nl(a,t){return e.openBlock(),e.createElementBlock("svg",ol,rl)}const il=j(al,[["render",nl]]),sl={},ll={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},cl=[e.createElementVNode("path",{d:"M6 19H9V13H15V19H18V10L12 5.5L6 10V19ZM6 21C5.45 21 4.979 20.804 4.587 20.412C4.195 20.02 3.99934 19.5493 4 19V10C4 9.68333 4.071 9.38333 4.213 9.1C4.355 8.81667 4.55067 8.58333 4.8 8.4L10.8 3.9C10.9833 3.76667 11.175 3.66667 11.375 3.6C11.575 3.53333 11.7833 3.5 12 3.5C12.2167 3.5 12.425 3.53333 12.625 3.6C12.825 3.66667 13.0167 3.76667 13.2 3.9L19.2 8.4C19.45 8.58333 19.646 8.81667 19.788 9.1C19.93 9.38333 20.0007 9.68333 20 10V19C20 19.55 19.804 20.021 19.412 20.413C19.02 20.805 18.5493 21.0007 18 21H13V15H11V21H6Z",fill:"black"},null,-1)];function dl(a,t){return e.openBlock(),e.createElementBlock("svg",ll,cl)}const pl=j(sl,[["render",dl]]),ul={},ml={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},fl=[e.createElementVNode("path",{d:"M5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM7 17H17C17.2 17 17.35 16.9083 17.45 16.725C17.55 16.5417 17.5333 16.3667 17.4 16.2L14.65 12.525C14.55 12.3917 14.4167 12.325 14.25 12.325C14.0833 12.325 13.95 12.3917 13.85 12.525L11.25 16L9.4 13.525C9.3 13.3917 9.16667 13.325 9 13.325C8.83334 13.325 8.7 13.3917 8.6 13.525L6.6 16.2C6.46667 16.3667 6.45 16.5417 6.55 16.725C6.65 16.9083 6.8 17 7 17Z",fill:"black"},null,-1)];function hl(a,t){return e.openBlock(),e.createElementBlock("svg",ml,fl)}const gl=j(ul,[["render",hl]]),_l={},vl={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Cl=[e.createElementVNode("path",{d:"M11 17H13V11H11V17ZM12 9C12.2833 9 12.521 8.904 12.713 8.712C12.905 8.52 13.0007 8.28267 13 8C13 7.71667 12.904 7.479 12.712 7.287C12.52 7.095 12.2827 6.99933 12 7C11.7167 7 11.479 7.096 11.287 7.288C11.095 7.48 10.9993 7.71733 11 8C11 8.28333 11.096 8.521 11.288 8.713C11.48 8.905 11.7173 9.00067 12 9ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22Z",fill:"black"},null,-1)];function bl(a,t){return e.openBlock(),e.createElementBlock("svg",vl,Cl)}const yl=j(_l,[["render",bl]]),wl={},kl={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$l=[e.createElementVNode("path",{d:"M12 15.4L6 9.4L7.4 8L12 12.6L16.6 8L18 9.4L12 15.4Z",fill:"black"},null,-1)];function El(a,t){return e.openBlock(),e.createElementBlock("svg",kl,$l)}const Bl=j(wl,[["render",El]]),Vl={},Sl={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Nl=[e.createElementVNode("path",{d:"M7.4 15.4L6 14L12 8L18 14L16.6 15.4L12 10.8L7.4 15.4Z",fill:"black"},null,-1)];function xl(a,t){return e.openBlock(),e.createElementBlock("svg",Sl,Nl)}const Ml=j(Vl,[["render",xl]]),Tl=e.defineComponent({name:"LoadingIcon"}),Wg="",Ma=a=>(e.pushScopeId("data-v-ad6da4a9"),a=a(),e.popScopeId(),a),Al={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ol=[Ma(()=>e.createElementVNode("circle",{class:"dot dot--1",cx:"6",cy:"12",r:"2"},null,-1)),Ma(()=>e.createElementVNode("circle",{class:"dot dot--2",cx:"12",cy:"12",r:"2"},null,-1)),Ma(()=>e.createElementVNode("circle",{class:"dot dot--3",cx:"18",cy:"12",r:"2"},null,-1))];function Il(a,t,o,r,n,s){return e.openBlock(),e.createElementBlock("svg",Al,Ol)}const Ll=j(Tl,[["render",Il],["__scopeId","data-v-ad6da4a9"]]),Dl={},jl={xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 -960 960 960",width:"24"},Pl=[e.createElementVNode("path",{d:"M240-80q-33 0-56.5-23.5T160-160v-400q0-33 23.5-56.5T240-640h40v-80q0-83 58.5-141.5T480-920q83 0 141.5 58.5T680-720v80h40q33 0 56.5 23.5T800-560v400q0 33-23.5 56.5T720-80H240Zm0-80h480v-400H240v400Zm240-120q33 0 56.5-23.5T560-360q0-33-23.5-56.5T480-440q-33 0-56.5 23.5T400-360q0 33 23.5 56.5T480-280ZM360-640h240v-80q0-50-35-85t-85-35q-50 0-85 35t-35 85v80ZM240-160v-400 400Z"},null,-1)];function zl(a,t){return e.openBlock(),e.createElementBlock("svg",jl,Pl)}const Hl=j(Dl,[["render",zl]]),Rl={},Ul={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Fl=[e.createElementVNode("path",{d:"M15.325 16.275C15.1417 16.0583 15.05 15.8127 15.05 15.538C15.05 15.2633 15.1417 15.034 15.325 14.85L17.175 13H10C9.71667 13 9.479 12.904 9.287 12.712C9.095 12.52 8.99934 12.2827 9 12C9 11.7167 9.096 11.479 9.288 11.287C9.48 11.095 9.71734 10.9993 10 11H17.175L15.325 9.15C15.125 8.95 15.025 8.71234 15.025 8.437C15.025 8.16167 15.125 7.92434 15.325 7.725C15.5083 7.525 15.7377 7.425 16.013 7.425C16.2883 7.425 16.5173 7.51667 16.7 7.7L20.3 11.3C20.4 11.4 20.471 11.5083 20.513 11.625C20.555 11.7417 20.5757 11.8667 20.575 12C20.575 12.1333 20.5543 12.2583 20.513 12.375C20.4717 12.4917 20.4007 12.6 20.3 12.7L16.7 16.3C16.4833 16.5167 16.2457 16.6127 15.987 16.588C15.7283 16.5633 15.5077 16.459 15.325 16.275ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H11C11.2833 3 11.521 3.096 11.713 3.288C11.905 3.48 12.0007 3.71734 12 4C12 4.28334 11.904 4.521 11.712 4.713C11.52 4.905 11.2827 5.00067 11 5H5V19H11C11.2833 19 11.521 19.096 11.713 19.288C11.905 19.48 12.0007 19.7173 12 20C12 20.2833 11.904 20.521 11.712 20.713C11.52 20.905 11.2827 21.0007 11 21H5Z",fill:"black"},null,-1)];function Zl(a,t){return e.openBlock(),e.createElementBlock("svg",Ul,Fl)}const Wl=j(Rl,[["render",Zl]]),ql={},Yl={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Kl=[e.createElementVNode("path",{d:"M3 18V16H21V18H3ZM3 13V11H21V13H3ZM3 8V6H21V8H3Z",fill:"black"},null,-1)];function Gl(a,t){return e.openBlock(),e.createElementBlock("svg",Yl,Kl)}const Xl=j(ql,[["render",Gl]]),Ql={},Jl={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ec=[e.createElementVNode("path",{d:"M6 14C5.45 14 4.979 13.804 4.587 13.412C4.195 13.02 3.99934 12.5493 4 12C4 11.45 4.196 10.979 4.588 10.587C4.98 10.195 5.45067 9.99934 6 10C6.55 10 7.021 10.196 7.413 10.588C7.805 10.98 8.00067 11.4507 8 12C8 12.55 7.804 13.021 7.412 13.413C7.02 13.805 6.54934 14.0007 6 14ZM12 14C11.45 14 10.979 13.804 10.587 13.412C10.195 13.02 9.99934 12.5493 10 12C10 11.45 10.196 10.979 10.588 10.587C10.98 10.195 11.4507 9.99934 12 10C12.55 10 13.021 10.196 13.413 10.588C13.805 10.98 14.0007 11.4507 14 12C14 12.55 13.804 13.021 13.412 13.413C13.02 13.805 12.5493 14.0007 12 14ZM18 14C17.45 14 16.979 13.804 16.587 13.412C16.195 13.02 15.9993 12.5493 16 12C16 11.45 16.196 10.979 16.588 10.587C16.98 10.195 17.4507 9.99934 18 10C18.55 10 19.021 10.196 19.413 10.588C19.805 10.98 20.0007 11.4507 20 12C20 12.55 19.804 13.021 19.412 13.413C19.02 13.805 18.5493 14.0007 18 14Z",fill:"black"},null,-1)];function tc(a,t){return e.openBlock(),e.createElementBlock("svg",Jl,ec)}const ac=j(Ql,[["render",tc]]),oc={},rc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},nc=[e.createElementVNode("path",{d:"M11 21C9.75 21 8.57933 20.7667 7.488 20.3C6.396 19.8333 5.44167 19.1917 4.625 18.375C3.80833 17.5583 3.16667 16.604 2.7 15.512C2.23333 14.4207 2 13.25 2 12C2 9.48333 2.871 7.354 4.613 5.612C6.35433 3.87067 8.48333 3 11 3C11.2167 3 11.425 3.00833 11.625 3.025C11.825 3.04167 12.025 3.06667 12.225 3.1C12.4417 3.13333 12.625 3.24567 12.775 3.437C12.925 3.629 13 3.84167 13 4.075C13 4.40833 12.8877 4.66233 12.663 4.837C12.4377 5.01233 12.15 5.08333 11.8 5.05C11.6667 5.03333 11.5333 5.02067 11.4 5.012C11.2667 5.004 11.1333 5 11 5C9.03333 5 7.375 5.675 6.025 7.025C4.675 8.375 4 10.0333 4 12C4 13.9667 4.675 15.625 6.025 16.975C7.375 18.325 9.03333 19 11 19C12.95 19 14.596 18.3333 15.938 17C17.2793 15.6667 17.9667 14.025 18 12.075H18.013H18C18 11.7917 18.096 11.5417 18.288 11.325C18.4793 11.1083 18.7167 11 19 11C19.2667 11 19.5 11.0957 19.7 11.287C19.9 11.479 20 11.7 20 11.95V12C20 14.5167 19.129 16.6457 17.387 18.387C15.6457 20.129 13.5167 21 11 21ZM19 9C18.7167 9 18.4793 8.904 18.288 8.712C18.096 8.52067 18 8.28333 18 8V6H16C15.7167 6 15.4793 5.90433 15.288 5.713C15.096 5.521 15 5.28333 15 5C15 4.71667 15.096 4.479 15.288 4.287C15.4793 4.09567 15.7167 4 16 4H18V2C18 1.71667 18.096 1.479 18.288 1.287C18.4793 1.09567 18.7167 1 19 1C19.2833 1 19.5207 1.09567 19.712 1.287C19.904 1.479 20 1.71667 20 2V4H22C22.2833 4 22.5207 4.09567 22.712 4.287C22.904 4.479 23 4.71667 23 5C23 5.28333 22.904 5.521 22.712 5.713C22.5207 5.90433 22.2833 6 22 6H20V8C20 8.28333 19.904 8.52067 19.712 8.712C19.5207 8.904 19.2833 9 19 9ZM13.1 15.5L10.3 12.7C10.2 12.6 10.125 12.4873 10.075 12.362C10.025 12.2373 10 12.1083 10 11.975V8C10 7.71667 10.096 7.479 10.288 7.287C10.4793 7.09567 10.7167 7 11 7C11.2833 7 11.521 7.09567 11.713 7.287C11.9043 7.479 12 7.71667 12 8V11.6L14.5 14.1C14.6833 14.2833 14.775 14.5167 14.775 14.8C14.775 15.0833 14.6833 15.3167 14.5 15.5C14.3167 15.6833 14.0833 15.775 13.8 15.775C13.5167 15.775 13.2833 15.6833 13.1 15.5V15.5Z",fill:"black"},null,-1)];function ic(a,t){return e.openBlock(),e.createElementBlock("svg",rc,nc)}const sc=j(oc,[["render",ic]]),lc={},cc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},dc=[e.createElementVNode("path",{d:"M12 20C11.45 20 10.979 19.804 10.587 19.412C10.195 19.02 9.99934 18.5493 10 18C10 17.45 10.196 16.979 10.588 16.587C10.98 16.195 11.4507 15.9993 12 16C12.55 16 13.021 16.196 13.413 16.588C13.805 16.98 14.0007 17.4507 14 18C14 18.55 13.804 19.021 13.412 19.413C13.02 19.805 12.5493 20.0007 12 20ZM12 14C11.45 14 10.979 13.804 10.587 13.412C10.195 13.02 9.99934 12.5493 10 12C10 11.45 10.196 10.979 10.588 10.587C10.98 10.195 11.4507 9.99934 12 10C12.55 10 13.021 10.196 13.413 10.588C13.805 10.98 14.0007 11.4507 14 12C14 12.55 13.804 13.021 13.412 13.413C13.02 13.805 12.5493 14.0007 12 14ZM12 8C11.45 8 10.979 7.804 10.587 7.412C10.195 7.02 9.99934 6.54934 10 6C10 5.45 10.196 4.979 10.588 4.587C10.98 4.195 11.4507 3.99934 12 4C12.55 4 13.021 4.196 13.413 4.588C13.805 4.98 14.0007 5.45067 14 6C14 6.55 13.804 7.021 13.412 7.413C13.02 7.805 12.5493 8.00067 12 8Z",fill:"black"},null,-1)];function pc(a,t){return e.openBlock(),e.createElementBlock("svg",cc,dc)}const uc=j(lc,[["render",pc]]),mc={},fc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},hc=[e.createElementVNode("path",{d:"M8.70002 12.925L10.075 13.85L11.55 13.1C11.6834 13.0167 11.8334 12.975 12 12.975C12.1667 12.975 12.3167 13.0167 12.45 13.1L13.925 13.85L15.25 12.975L14.25 11H9.65002L8.70002 12.925ZM5.22502 20H18.75L16.15 14.775L14.55 15.85C14.4 15.95 14.2377 16.0043 14.063 16.013C13.8884 16.0217 13.7174 15.984 13.55 15.9L12 15.125L10.45 15.9C10.2834 15.9833 10.1124 16.0167 9.93702 16C9.76169 15.9833 9.59936 15.925 9.45002 15.825L7.80002 14.75L5.22502 20ZM3.60002 22C3.21669 22 2.92936 21.8417 2.73802 21.525C2.54669 21.2083 2.53402 20.8833 2.70002 20.55L7.85002 10.125C8.01669 9.79167 8.26269 9.52067 8.58802 9.312C8.91336 9.10334 9.26736 8.99934 9.65002 9H11V3C11 2.71667 11.096 2.479 11.288 2.287C11.48 2.095 11.7174 1.99934 12 2H17.2C17.3834 2 17.525 2.07934 17.625 2.238C17.725 2.39667 17.7334 2.559 17.65 2.725L17.1 3.775C17.0667 3.85834 17.05 3.93334 17.05 4C17.05 4.06667 17.0667 4.14167 17.1 4.225L17.65 5.275C17.7334 5.44167 17.725 5.604 17.625 5.762C17.525 5.92 17.3834 5.99934 17.2 6H13V9H14.25C14.6334 9 14.9834 9.1 15.3 9.3C15.6167 9.5 15.8667 9.76667 16.05 10.1L21.275 20.55C21.4417 20.8833 21.4294 21.2083 21.238 21.525C21.0467 21.8417 20.759 22 20.375 22H3.60002Z",fill:"black"},null,-1)];function gc(a,t){return e.openBlock(),e.createElementBlock("svg",fc,hc)}const _c=j(mc,[["render",gc]]),vc={},Cc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},bc=[e.createElementVNode("path",{d:"M19 14C18.7167 14 18.479 13.904 18.287 13.712C18.095 13.52 17.9993 13.2827 18 13V11H16C15.7167 11 15.479 10.904 15.287 10.712C15.095 10.52 14.9993 10.2827 15 10C15 9.71667 15.096 9.479 15.288 9.287C15.48 9.095 15.7173 8.99933 16 9H18V7C18 6.71667 18.096 6.479 18.288 6.287C18.48 6.095 18.7173 5.99933 19 6C19.2833 6 19.521 6.096 19.713 6.288C19.905 6.48 20.0007 6.71733 20 7V9H22C22.2833 9 22.521 9.096 22.713 9.288C22.905 9.48 23.0007 9.71733 23 10C23 10.2833 22.904 10.521 22.712 10.713C22.52 10.905 22.2827 11.0007 22 11H20V13C20 13.2833 19.904 13.521 19.712 13.713C19.52 13.905 19.2827 14.0007 19 14ZM9 12C7.9 12 6.95834 11.6083 6.175 10.825C5.39167 10.0417 5 9.1 5 8C5 6.9 5.39167 5.95833 6.175 5.175C6.95834 4.39167 7.9 4 9 4C10.1 4 11.0417 4.39167 11.825 5.175C12.6083 5.95833 13 6.9 13 8C13 9.1 12.6083 10.0417 11.825 10.825C11.0417 11.6083 10.1 12 9 12ZM2 20C1.71667 20 1.479 19.904 1.287 19.712C1.095 19.52 0.999337 19.2827 1 19V17.2C1 16.6333 1.146 16.1123 1.438 15.637C1.73 15.1617 2.11734 14.7993 2.6 14.55C3.63334 14.0333 4.68334 13.6457 5.75 13.387C6.81667 13.1283 7.9 12.9993 9 13C10.1 13 11.1833 13.1293 12.25 13.388C13.3167 13.6467 14.3667 14.034 15.4 14.55C15.8833 14.8 16.271 15.1627 16.563 15.638C16.855 16.1133 17.0007 16.634 17 17.2V19C17 19.2833 16.904 19.521 16.712 19.713C16.52 19.905 16.2827 20.0007 16 20H2ZM3 18H15V17.2C15 17.0167 14.954 16.85 14.862 16.7C14.77 16.55 14.6493 16.4333 14.5 16.35C13.6 15.9 12.6917 15.5627 11.775 15.338C10.8583 15.1133 9.93334 15.0007 9 15C8.06667 15 7.14167 15.1127 6.225 15.338C5.30834 15.5633 4.4 15.9007 3.5 16.35C3.35 16.4333 3.229 16.55 3.137 16.7C3.045 16.85 2.99934 17.0167 3 17.2V18ZM9 10C9.55 10 10.021 9.804 10.413 9.412C10.805 9.02 11.0007 8.54933 11 8C11 7.45 10.804 6.979 10.412 6.587C10.02 6.195 9.54934 5.99933 9 6C8.45 6 7.979 6.196 7.587 6.588C7.195 6.98 6.99934 7.45067 7 8C7 8.55 7.196 9.021 7.588 9.413C7.98 9.805 8.45067 10.0007 9 10Z",fill:"black"},null,-1)];function yc(a,t){return e.openBlock(),e.createElementBlock("svg",Cc,bc)}const wc=j(vc,[["render",yc]]),kc={},$c={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ec=[e.createElementVNode("path",{d:"M10 10.5H11C11.2833 10.5 11.521 10.404 11.713 10.212C11.905 10.02 12.0007 9.78267 12 9.5V8.5C12 8.21667 11.904 7.979 11.712 7.787C11.52 7.595 11.2827 7.49934 11 7.5H9.5C9.36667 7.5 9.25 7.55 9.15 7.65C9.05 7.75 9 7.86667 9 8V12C9 12.1333 9.05 12.25 9.15 12.35C9.25 12.45 9.36667 12.5 9.5 12.5C9.63334 12.5 9.75 12.45 9.85 12.35C9.95 12.25 10 12.1333 10 12V10.5ZM10 9.5V8.5H11V9.5H10ZM15 12.5C15.2833 12.5 15.521 12.404 15.713 12.212C15.905 12.02 16.0007 11.7827 16 11.5V8.5C16 8.21667 15.904 7.979 15.712 7.787C15.52 7.595 15.2827 7.49934 15 7.5H13.5C13.3667 7.5 13.25 7.55 13.15 7.65C13.05 7.75 13 7.86667 13 8V12C13 12.1333 13.05 12.25 13.15 12.35C13.25 12.45 13.3667 12.5 13.5 12.5H15ZM14 11.5V8.5H15V11.5H14ZM18 10.5H18.5C18.6333 10.5 18.75 10.45 18.85 10.35C18.95 10.25 19 10.1333 19 10C19 9.86667 18.95 9.75 18.85 9.65C18.75 9.55 18.6333 9.5 18.5 9.5H18V8.5H18.5C18.6333 8.5 18.75 8.45 18.85 8.35C18.95 8.25 19 8.13334 19 8C19 7.86667 18.95 7.75 18.85 7.65C18.75 7.55 18.6333 7.5 18.5 7.5H17.5C17.3667 7.5 17.25 7.55 17.15 7.65C17.05 7.75 17 7.86667 17 8V12C17 12.1333 17.05 12.25 17.15 12.35C17.25 12.45 17.3667 12.5 17.5 12.5C17.6333 12.5 17.75 12.45 17.85 12.35C17.95 12.25 18 12.1333 18 12V10.5ZM8 18C7.45 18 6.979 17.804 6.587 17.412C6.195 17.02 5.99934 16.5493 6 16V4C6 3.45 6.196 2.979 6.588 2.587C6.98 2.195 7.45067 1.99934 8 2H20C20.55 2 21.021 2.196 21.413 2.588C21.805 2.98 22.0007 3.45067 22 4V16C22 16.55 21.804 17.021 21.412 17.413C21.02 17.805 20.5493 18.0007 20 18H8ZM4 22C3.45 22 2.979 21.804 2.587 21.412C2.195 21.02 1.99934 20.5493 2 20V7C2 6.71667 2.096 6.479 2.288 6.287C2.48 6.095 2.71734 5.99934 3 6C3.28334 6 3.521 6.096 3.713 6.288C3.905 6.48 4.00067 6.71734 4 7V20H17C17.2833 20 17.521 20.096 17.713 20.288C17.905 20.48 18.0007 20.7173 18 21C18 21.2833 17.904 21.521 17.712 21.713C17.52 21.905 17.2827 22.0007 17 22H4Z",fill:"black"},null,-1)];function Bc(a,t){return e.openBlock(),e.createElementBlock("svg",$c,Ec)}const Vc=j(kc,[["render",Bc]]),Sc={},Nc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},xc=[e.createElementVNode("path",{d:"M12 17C13.3833 17 14.5627 16.5123 15.538 15.537C16.5133 14.5617 17.0007 13.3827 17 12C17 10.6167 16.5123 9.43733 15.537 8.462C14.5617 7.48667 13.3827 6.99933 12 7C10.6167 7 9.43733 7.48767 8.462 8.463C7.48667 9.43833 6.99933 10.6173 7 12C7 13.3833 7.48767 14.5627 8.463 15.538C9.43833 16.5133 10.6173 17.0007 12 17ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22Z",fill:"black"},null,-1)];function Mc(a,t){return e.openBlock(),e.createElementBlock("svg",Nc,xc)}const Tc=j(Sc,[["render",Mc]]),Ac={},Oc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ic=[e.createElementVNode("path",{d:"M12 17C13.3833 17 14.5627 16.5123 15.538 15.537C16.5133 14.5617 17.0007 13.3827 17 12C17 10.6167 16.5123 9.43733 15.537 8.462C14.5617 7.48667 13.3827 6.99933 12 7C10.6167 7 9.43733 7.48767 8.462 8.463C7.48667 9.43833 6.99933 10.6173 7 12C7 13.3833 7.48767 14.5627 8.463 15.538C9.43833 16.5133 10.6173 17.0007 12 17ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z",fill:"black"},null,-1)];function Lc(a,t){return e.openBlock(),e.createElementBlock("svg",Oc,Ic)}const Dc=j(Ac,[["render",Lc]]),jc={},Pc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},zc=[e.createElementVNode("path",{d:"M12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20ZM12 20C9.76667 20 7.875 19.225 6.325 17.675C4.775 16.125 4 14.2333 4 12C4 9.76667 4.775 7.875 6.325 6.325C7.875 4.775 9.76667 4 12 4C14.2333 4 16.125 4.775 17.675 6.325C19.225 7.875 20 9.76667 20 12C20 14.2333 19.225 16.125 17.675 17.675C16.125 19.225 14.2333 20 12 20Z",fill:"black"},null,-1)];function Hc(a,t){return e.openBlock(),e.createElementBlock("svg",Pc,zc)}const Rc=j(jc,[["render",Hc]]),Uc={},Fc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Zc=[e.createElementVNode("path",{d:"M6 13C5.71667 13 5.479 12.904 5.287 12.712C5.095 12.52 4.99934 12.2827 5 12C5 11.7167 5.096 11.479 5.288 11.287C5.48 11.095 5.71734 10.9993 6 11H18C18.2833 11 18.521 11.096 18.713 11.288C18.905 11.48 19.0007 11.7173 19 12C19 12.2833 18.904 12.521 18.712 12.713C18.52 12.905 18.2827 13.0007 18 13H6Z",fill:"black"},null,-1)];function Wc(a,t){return e.openBlock(),e.createElementBlock("svg",Fc,Zc)}const qc=j(Uc,[["render",Wc]]),Yc={},Kc={width:"26",height:"29",viewBox:"0 0 26 29",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Gc=[e.createStaticVNode('<g filter="url(#filter0_d_2030_169)"><path d="M19.9 20.3L14.3 14.7C13.8 15.1 13.225 15.4167 12.575 15.65C11.925 15.8833 11.2333 16 10.5 16C8.68333 16 7.146 15.3707 5.888 14.112C4.63 12.8533 4.00067 11.316 4 9.5C4 7.68333 4.62933 6.146 5.888 4.888C7.14667 3.63 8.684 3.00067 10.5 3C12.3167 3 13.854 3.62933 15.112 4.888C16.37 6.14667 16.9993 7.684 17 9.5C17 10.2333 16.8833 10.925 16.65 11.575C16.4167 12.225 16.1 12.8 15.7 13.3L21.325 18.925C21.5083 19.1083 21.6 19.3333 21.6 19.6C21.6 19.8667 21.5 20.1 21.3 20.3C21.1167 20.4833 20.8833 20.575 20.6 20.575C20.3167 20.575 20.0833 20.4833 19.9 20.3ZM10.5 14C11.75 14 12.8127 13.5623 13.688 12.687C14.5633 11.8117 15.0007 10.7493 15 9.5C15 8.25 14.5623 7.18733 13.687 6.312C12.8117 5.43667 11.7493 4.99933 10.5 5C9.25 5 8.18733 5.43767 7.312 6.313C6.43667 7.18833 5.99933 8.25067 6 9.5C6 10.75 6.43767 11.8127 7.313 12.688C8.18833 13.5633 9.25067 14.0007 10.5 14Z" fill="black"></path></g><defs><filter id="filter0_d_2030_169" x="-3" y="0" width="32" height="32" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="4"></feOffset><feGaussianBlur stdDeviation="2"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2030_169"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2030_169" result="shape"></feBlend></filter></defs>',2)];function Xc(a,t){return e.openBlock(),e.createElementBlock("svg",Kc,Gc)}const Qc=j(Yc,[["render",Xc]]),Jc={},e1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t1=[e.createElementVNode("path",{d:"M5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.1333 3 19.2583 3.01267 19.375 3.038C19.4917 3.06334 19.6083 3.10067 19.725 3.15L17.875 5H5V19H19V12.35L21 10.35V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM11.525 17L5.875 11.35L7.275 9.95L11.525 14.2L20.7 5.025L22.125 6.4L11.525 17Z",fill:"black"},null,-1)];function a1(a,t){return e.openBlock(),e.createElementBlock("svg",e1,t1)}const o1=j(Jc,[["render",a1]]),r1={},n1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i1=[e.createElementVNode("path",{d:"M4.4 19.4251C4.06667 19.5584 3.75 19.5291 3.45 19.3371C3.15 19.1457 3 18.8667 3 18.5001V14.7751C3 14.5417 3.06667 14.3334 3.2 14.1501C3.33333 13.9667 3.51667 13.8501 3.75 13.8001L11 12.0001L3.75 10.2001C3.51667 10.1501 3.33333 10.0334 3.2 9.85006C3.06667 9.66672 3 9.45839 3 9.22506V5.50006C3 5.13339 3.15 4.85406 3.45 4.66206C3.75 4.47072 4.06667 4.44172 4.4 4.57506L19.8 11.0751C20.2167 11.2584 20.425 11.5667 20.425 12.0001C20.425 12.4334 20.2167 12.7417 19.8 12.9251L4.4 19.4251Z",fill:"black"},null,-1)];function s1(a,t){return e.openBlock(),e.createElementBlock("svg",n1,i1)}const l1=j(r1,[["render",s1]]),c1={},d1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p1=[e.createElementVNode("path",{d:"M9.24995 22L8.84995 18.8C8.63329 18.7167 8.42895 18.6167 8.23695 18.5C8.04495 18.3833 7.85762 18.2583 7.67495 18.125L4.69995 19.375L1.94995 14.625L4.52495 12.675C4.50828 12.5583 4.49995 12.4457 4.49995 12.337V11.663C4.49995 11.5543 4.50828 11.4417 4.52495 11.325L1.94995 9.375L4.69995 4.625L7.67495 5.875C7.85828 5.74167 8.04995 5.61667 8.24995 5.5C8.44995 5.38333 8.64995 5.28333 8.84995 5.2L9.24995 2H14.75L15.15 5.2C15.3666 5.28333 15.571 5.38333 15.763 5.5C15.955 5.61667 16.1423 5.74167 16.325 5.875L19.2999 4.625L22.0499 9.375L19.475 11.325C19.4916 11.4417 19.5 11.5543 19.5 11.663V12.337C19.5 12.4457 19.4833 12.5583 19.45 12.675L22.025 14.625L19.275 19.375L16.325 18.125C16.1416 18.2583 15.95 18.3833 15.75 18.5C15.55 18.6167 15.35 18.7167 15.15 18.8L14.75 22H9.24995ZM12.05 15.5C13.0166 15.5 13.8416 15.1583 14.525 14.475C15.2083 13.7917 15.55 12.9667 15.55 12C15.55 11.0333 15.2083 10.2083 14.525 9.525C13.8416 8.84167 13.0166 8.5 12.05 8.5C11.0666 8.5 10.2373 8.84167 9.56195 9.525C8.88662 10.2083 8.54928 11.0333 8.54995 12C8.54995 12.9667 8.88728 13.7917 9.56195 14.475C10.2366 15.1583 11.066 15.5 12.05 15.5Z",fill:"black"},null,-1)];function u1(a,t){return e.openBlock(),e.createElementBlock("svg",d1,p1)}const m1=j(c1,[["render",u1]]),f1={},h1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g1=[e.createElementVNode("path",{d:"M15.85 12.425C16 12.325 16.075 12.1833 16.075 12C16.075 11.8167 16 11.675 15.85 11.575L10.275 8C10.1083 7.88334 9.93734 7.875 9.762 7.975C9.58667 8.075 9.49934 8.225 9.5 8.425V15.575C9.5 15.775 9.58767 15.925 9.763 16.025C9.93833 16.125 10.109 16.1167 10.275 16L15.85 12.425ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5Z",fill:"black"},null,-1)];function _1(a,t){return e.openBlock(),e.createElementBlock("svg",h1,g1)}const v1=j(f1,[["render",_1]]),C1={},b1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},y1=[e.createElementVNode("path",{d:"M12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20ZM12 18C10.3333 18 8.91667 17.4167 7.75 16.25C6.58333 15.0833 6 13.6667 6 12C6 10.3333 6.58333 8.91667 7.75 7.75C8.91667 6.58333 10.3333 6 12 6C13.6667 6 15.0833 6.58333 16.25 7.75C17.4167 8.91667 18 10.3333 18 12C18 13.6667 17.4167 15.0833 16.25 16.25C15.0833 17.4167 13.6667 18 12 18ZM12 16C13.1 16 14.0417 15.6083 14.825 14.825C15.6083 14.0417 16 13.1 16 12C16 10.9 15.6083 9.95833 14.825 9.175C14.0417 8.39167 13.1 8 12 8C10.9 8 9.95833 8.39167 9.175 9.175C8.39167 9.95833 8 10.9 8 12C8 13.1 8.39167 14.0417 9.175 14.825C9.95833 15.6083 10.9 16 12 16ZM12 14C11.45 14 10.979 13.804 10.587 13.412C10.195 13.02 9.99933 12.5493 10 12C10 11.45 10.196 10.979 10.588 10.587C10.98 10.195 11.4507 9.99933 12 10C12.55 10 13.021 10.196 13.413 10.588C13.805 10.98 14.0007 11.4507 14 12C14 12.55 13.804 13.021 13.412 13.413C13.02 13.805 12.5493 14.0007 12 14Z",fill:"black"},null,-1)];function w1(a,t){return e.openBlock(),e.createElementBlock("svg",b1,y1)}const k1=j(C1,[["render",w1]]),$1={},E1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},B1=[e.createElementVNode("path",{d:"M10.925 15.125L9.525 13.725C9.425 13.625 9.31667 13.55 9.2 13.5C9.08334 13.45 8.96267 13.425 8.838 13.425C8.71267 13.425 8.58767 13.45 8.463 13.5C8.33834 13.55 8.22567 13.625 8.125 13.725C7.925 13.925 7.825 14.1627 7.825 14.438C7.825 14.7133 7.925 14.9507 8.125 15.15L10.25 17.3C10.35 17.4 10.4583 17.471 10.575 17.513C10.6917 17.555 10.8167 17.5757 10.95 17.575C11.0833 17.575 11.2083 17.554 11.325 17.512C11.4417 17.47 11.55 17.3993 11.65 17.3L15.875 13.075C16.075 12.875 16.175 12.6333 16.175 12.35C16.175 12.0667 16.075 11.825 15.875 11.625C15.675 11.425 15.4333 11.325 15.15 11.325C14.8667 11.325 14.625 11.425 14.425 11.625L10.925 15.125ZM6 22C5.45 22 4.979 21.804 4.587 21.412C4.195 21.02 3.99934 20.5493 4 20V4C4 3.45 4.196 2.979 4.588 2.587C4.98 2.195 5.45067 1.99934 6 2H13.175C13.4417 2 13.696 2.05 13.938 2.15C14.18 2.25 14.3923 2.39167 14.575 2.575L19.425 7.425C19.6083 7.60834 19.75 7.821 19.85 8.063C19.95 8.305 20 8.559 20 8.825V20C20 20.55 19.804 21.021 19.412 21.413C19.02 21.805 18.5493 22.0007 18 22H6ZM13 8V4H6V20H18V9H14C13.7167 9 13.479 8.904 13.287 8.712C13.095 8.52 12.9993 8.28267 13 8Z",fill:"black"},null,-1)];function V1(a,t){return e.openBlock(),e.createElementBlock("svg",E1,B1)}const S1=j($1,[["render",V1]]),N1={},x1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},M1=[e.createElementVNode("path",{d:"M5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H14.175C14.4417 3 14.696 3.05 14.938 3.15C15.18 3.25 15.3923 3.39167 15.575 3.575L20.425 8.425C20.6083 8.60834 20.75 8.821 20.85 9.063C20.95 9.305 21 9.559 21 9.825V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM8 17H16C16.2833 17 16.521 16.904 16.713 16.712C16.905 16.52 17.0007 16.2827 17 16C17 15.7167 16.904 15.479 16.712 15.287C16.52 15.095 16.2827 14.9993 16 15H8C7.71667 15 7.479 15.096 7.287 15.288C7.095 15.48 6.99934 15.7173 7 16C7 16.2833 7.096 16.521 7.288 16.713C7.48 16.905 7.71734 17.0007 8 17ZM8 13H16C16.2833 13 16.521 12.904 16.713 12.712C16.905 12.52 17.0007 12.2827 17 12C17 11.7167 16.904 11.479 16.712 11.287C16.52 11.095 16.2827 10.9993 16 11H8C7.71667 11 7.479 11.096 7.287 11.288C7.095 11.48 6.99934 11.7173 7 12C7 12.2833 7.096 12.521 7.288 12.713C7.48 12.905 7.71734 13.0007 8 13ZM8 9H13C13.2833 9 13.521 8.904 13.713 8.712C13.905 8.52 14.0007 8.28267 14 8C14 7.71667 13.904 7.479 13.712 7.287C13.52 7.095 13.2827 6.99934 13 7H8C7.71667 7 7.479 7.096 7.287 7.288C7.095 7.48 6.99934 7.71734 7 8C7 8.28334 7.096 8.521 7.288 8.713C7.48 8.905 7.71734 9.00067 8 9Z",fill:"black"},null,-1)];function T1(a,t){return e.openBlock(),e.createElementBlock("svg",x1,M1)}const A1=j(N1,[["render",T1]]),O1={},I1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L1=[e.createElementVNode("path",{d:"M9 3V1H15V3H9ZM11 14H13V8H11V14ZM12 22C10.7667 22 9.604 21.7623 8.512 21.287C7.42 20.8117 6.466 20.166 5.65 19.35C4.83333 18.5333 4.18733 17.579 3.712 16.487C3.23667 15.395 2.99933 14.2327 3 13C3 11.7667 3.23767 10.604 3.713 9.512C4.18833 8.42 4.834 7.466 5.65 6.65C6.46667 5.83333 7.421 5.18733 8.513 4.712C9.605 4.23667 10.7673 3.99933 12 4C13.0333 4 14.025 4.16667 14.975 4.5C15.925 4.83333 16.8167 5.31667 17.65 5.95L19.05 4.55L20.45 5.95L19.05 7.35C19.6833 8.18333 20.1667 9.075 20.5 10.025C20.8333 10.975 21 11.9667 21 13C21 14.2333 20.7623 15.396 20.287 16.488C19.8117 17.58 19.166 18.534 18.35 19.35C17.5333 20.1667 16.579 20.8127 15.487 21.288C14.395 21.7633 13.2327 22.0007 12 22ZM12 20C13.9333 20 15.5833 19.3167 16.95 17.95C18.3167 16.5833 19 14.9333 19 13C19 11.0667 18.3167 9.41667 16.95 8.05C15.5833 6.68333 13.9333 6 12 6C10.0667 6 8.41667 6.68333 7.05 8.05C5.68333 9.41667 5 11.0667 5 13C5 14.9333 5.68333 16.5833 7.05 17.95C8.41667 19.3167 10.0667 20 12 20Z",fill:"black"},null,-1)];function D1(a,t){return e.openBlock(),e.createElementBlock("svg",I1,L1)}const j1=j(O1,[["render",D1]]),P1={},z1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},H1=[e.createElementVNode("path",{d:"M8 10H4C3.45 10 2.979 9.804 2.587 9.412C2.195 9.02 1.99934 8.54934 2 8V4C2 3.45 2.196 2.979 2.588 2.587C2.98 2.195 3.45067 1.99934 4 2H8C8.55 2 9.021 2.196 9.413 2.588C9.805 2.98 10.0007 3.45067 10 4V8C10 8.55 9.804 9.021 9.412 9.413C9.02 9.805 8.54934 10.0007 8 10ZM8 22H4C3.45 22 2.979 21.804 2.587 21.412C2.195 21.02 1.99934 20.5493 2 20V16C2 15.45 2.196 14.979 2.588 14.587C2.98 14.195 3.45067 13.9993 4 14H8C8.55 14 9.021 14.196 9.413 14.588C9.805 14.98 10.0007 15.4507 10 16V20C10 20.55 9.804 21.021 9.412 21.413C9.02 21.805 8.54934 22.0007 8 22ZM20 10H16C15.45 10 14.979 9.804 14.587 9.412C14.195 9.02 13.9993 8.54934 14 8V4C14 3.45 14.196 2.979 14.588 2.587C14.98 2.195 15.4507 1.99934 16 2H20C20.55 2 21.021 2.196 21.413 2.588C21.805 2.98 22.0007 3.45067 22 4V8C22 8.55 21.804 9.021 21.412 9.413C21.02 9.805 20.5493 10.0007 20 10ZM20 22H16C15.45 22 14.979 21.804 14.587 21.412C14.195 21.02 13.9993 20.5493 14 20V16C14 15.45 14.196 14.979 14.588 14.587C14.98 14.195 15.4507 13.9993 16 14H20C20.55 14 21.021 14.196 21.413 14.588C21.805 14.98 22.0007 15.4507 22 16V20C22 20.55 21.804 21.021 21.412 21.413C21.02 21.805 20.5493 22.0007 20 22Z",fill:"black"},null,-1)];function R1(a,t){return e.openBlock(),e.createElementBlock("svg",z1,H1)}const U1=j(P1,[["render",R1]]),F1={},Z1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W1=[e.createElementVNode("path",{d:"M8.5 16.5H10.5C10.7833 16.5 11.021 16.404 11.213 16.212C11.405 16.02 11.5007 15.7827 11.5 15.5V13.5C11.5 13.2167 11.404 12.979 11.212 12.787C11.02 12.595 10.7827 12.4993 10.5 12.5H8.5C8.21667 12.5 7.979 12.596 7.787 12.788C7.595 12.98 7.49934 13.2173 7.5 13.5V15.5C7.5 15.7833 7.596 16.021 7.788 16.213C7.98 16.405 8.21734 16.5007 8.5 16.5ZM8.5 11.5H10.5C10.7833 11.5 11.021 11.404 11.213 11.212C11.405 11.02 11.5007 10.7827 11.5 10.5V8.5C11.5 8.21667 11.404 7.979 11.212 7.787C11.02 7.595 10.7827 7.49934 10.5 7.5H8.5C8.21667 7.5 7.979 7.596 7.787 7.788C7.595 7.98 7.49934 8.21734 7.5 8.5V10.5C7.5 10.7833 7.596 11.021 7.788 11.213C7.98 11.405 8.21734 11.5007 8.5 11.5ZM13.5 16.5H15.5C15.7833 16.5 16.021 16.404 16.213 16.212C16.405 16.02 16.5007 15.7827 16.5 15.5V13.5C16.5 13.2167 16.404 12.979 16.212 12.787C16.02 12.595 15.7827 12.4993 15.5 12.5H13.5C13.2167 12.5 12.979 12.596 12.787 12.788C12.595 12.98 12.4993 13.2173 12.5 13.5V15.5C12.5 15.7833 12.596 16.021 12.788 16.213C12.98 16.405 13.2173 16.5007 13.5 16.5ZM13.5 11.5H15.5C15.7833 11.5 16.021 11.404 16.213 11.212C16.405 11.02 16.5007 10.7827 16.5 10.5V8.5C16.5 8.21667 16.404 7.979 16.212 7.787C16.02 7.595 15.7827 7.49934 15.5 7.5H13.5C13.2167 7.5 12.979 7.596 12.787 7.788C12.595 7.98 12.4993 8.21734 12.5 8.5V10.5C12.5 10.7833 12.596 11.021 12.788 11.213C12.98 11.405 13.2173 11.5007 13.5 11.5ZM4 20C3.45 20 2.979 19.804 2.587 19.412C2.195 19.02 1.99934 18.5493 2 18V6C2 5.45 2.196 4.979 2.588 4.587C2.98 4.195 3.45067 3.99934 4 4H20C20.55 4 21.021 4.196 21.413 4.588C21.805 4.98 22.0007 5.45067 22 6V18C22 18.55 21.804 19.021 21.412 19.413C21.02 19.805 20.5493 20.0007 20 20H4Z",fill:"black"},null,-1)];function q1(a,t){return e.openBlock(),e.createElementBlock("svg",Z1,W1)}const Y1=j(F1,[["render",q1]]),K1={},G1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},X1=[e.createElementVNode("path",{d:"M7 17H11C11.2833 17 11.521 16.904 11.713 16.712C11.905 16.52 12.0007 16.2827 12 16C12 15.7167 11.904 15.479 11.712 15.287C11.52 15.095 11.2827 14.9993 11 15H7C6.71667 15 6.479 15.096 6.287 15.288C6.095 15.48 5.99934 15.7173 6 16C6 16.2833 6.096 16.521 6.288 16.713C6.48 16.905 6.71734 17.0007 7 17ZM10 13H14C14.2833 13 14.521 12.904 14.713 12.712C14.905 12.52 15.0007 12.2827 15 12C15 11.7167 14.904 11.479 14.712 11.287C14.52 11.095 14.2827 10.9993 14 11H10C9.71667 11 9.479 11.096 9.287 11.288C9.095 11.48 8.99934 11.7173 9 12C9 12.2833 9.096 12.521 9.288 12.713C9.48 12.905 9.71734 13.0007 10 13ZM13 9H17C17.2833 9 17.521 8.904 17.713 8.712C17.905 8.52 18.0007 8.28267 18 8C18 7.71667 17.904 7.479 17.712 7.287C17.52 7.095 17.2827 6.99934 17 7H13C12.7167 7 12.479 7.096 12.287 7.288C12.095 7.48 11.9993 7.71734 12 8C12 8.28334 12.096 8.521 12.288 8.713C12.48 8.905 12.7173 9.00067 13 9ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5Z",fill:"black"},null,-1)];function Q1(a,t){return e.openBlock(),e.createElementBlock("svg",G1,X1)}const J1=j(K1,[["render",Q1]]),ed={},td={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ad=[e.createElementVNode("path",{d:"M2.72499 21C2.54166 21 2.37499 20.954 2.22499 20.862C2.07499 20.77 1.95833 20.6493 1.87499 20.5C1.79166 20.35 1.74566 20.1873 1.73699 20.012C1.72833 19.8367 1.77433 19.666 1.87499 19.5L11.125 3.5C11.225 3.33333 11.3543 3.20833 11.513 3.125C11.6717 3.04167 11.834 3 12 3C12.1667 3 12.3293 3.04167 12.488 3.125C12.6467 3.20833 12.7757 3.33333 12.875 3.5L22.125 19.5C22.225 19.6667 22.271 19.8377 22.263 20.013C22.255 20.1883 22.209 20.3507 22.125 20.5C22.0417 20.65 21.925 20.771 21.775 20.863C21.625 20.955 21.4583 21.0007 21.275 21H2.72499ZM4.44999 19H19.55L12 6L4.44999 19ZM12 18C12.2833 18 12.521 17.904 12.713 17.712C12.905 17.52 13.0007 17.2827 13 17C13 16.7167 12.904 16.479 12.712 16.287C12.52 16.095 12.2827 15.9993 12 16C11.7167 16 11.479 16.096 11.287 16.288C11.095 16.48 10.9993 16.7173 11 17C11 17.2833 11.096 17.521 11.288 17.713C11.48 17.905 11.7173 18.0007 12 18ZM12 15C12.2833 15 12.521 14.904 12.713 14.712C12.905 14.52 13.0007 14.2827 13 14V11C13 10.7167 12.904 10.479 12.712 10.287C12.52 10.095 12.2827 9.99933 12 10C11.7167 10 11.479 10.096 11.287 10.288C11.095 10.48 10.9993 10.7173 11 11V14C11 14.2833 11.096 14.521 11.288 14.713C11.48 14.905 11.7173 15.0007 12 15Z",fill:"black"},null,-1)];function od(a,t){return e.openBlock(),e.createElementBlock("svg",td,ad)}const rd=j(ed,[["render",od]]),nd={},id={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},sd=[e.createElementVNode("path",{d:"M2.72505 21C2.34172 21 2.05838 20.8333 1.87505 20.5C1.69172 20.1667 1.69172 19.8333 1.87505 19.5L11.125 3.5C11.3084 3.16667 11.6 3 12 3C12.4 3 12.6917 3.16667 12.875 3.5L22.125 19.5C22.3084 19.8333 22.3084 20.1667 22.125 20.5C21.9417 20.8333 21.6584 21 21.275 21H2.72505ZM12 10C11.7167 10 11.4794 10.0957 11.288 10.287C11.096 10.479 11 10.7167 11 11V14C11 14.2833 11.096 14.5207 11.288 14.712C11.4794 14.904 11.7167 15 12 15C12.2834 15 12.521 14.904 12.713 14.712C12.9044 14.5207 13 14.2833 13 14V11C13 10.7167 12.9044 10.479 12.713 10.287C12.521 10.0957 12.2834 10 12 10ZM12 18C12.2834 18 12.521 17.904 12.713 17.712C12.9044 17.5207 13 17.2833 13 17C13 16.7167 12.9044 16.4793 12.713 16.288C12.521 16.096 12.2834 16 12 16C11.7167 16 11.4794 16.096 11.288 16.288C11.096 16.4793 11 16.7167 11 17C11 17.2833 11.096 17.5207 11.288 17.712C11.4794 17.904 11.7167 18 12 18Z",fill:"black"},null,-1)];function ld(a,t){return e.openBlock(),e.createElementBlock("svg",id,sd)}const cd=j(nd,[["render",ld]]),dd={},pd={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ud=[e.createElementVNode("path",{d:"M19.5 20C19.0833 20 18.729 19.854 18.437 19.562C18.145 19.27 17.9993 18.916 18 18.5V5.5C18 5.08334 18.146 4.729 18.438 4.437C18.73 4.145 19.084 3.99934 19.5 4C19.9167 4 20.271 4.146 20.563 4.438C20.855 4.73 21.0007 5.084 21 5.5V18.5C21 18.9167 20.854 19.271 20.562 19.563C20.27 19.855 19.916 20.0007 19.5 20ZM4.5 20C4.08334 20 3.729 19.854 3.437 19.562C3.145 19.27 2.99934 18.916 3 18.5V14.5C3 14.0833 3.146 13.729 3.438 13.437C3.73 13.145 4.084 12.9993 4.5 13C4.91667 13 5.271 13.146 5.563 13.438C5.855 13.73 6.00067 14.084 6 14.5V18.5C6 18.9167 5.854 19.271 5.562 19.563C5.27 19.855 4.916 20.0007 4.5 20ZM15.5 7C15.0833 7 14.729 6.854 14.437 6.562C14.145 6.27 13.9993 5.916 14 5.5C14 5.08334 14.146 4.729 14.438 4.437C14.73 4.145 15.084 3.99934 15.5 4C15.9167 4 16.271 4.146 16.563 4.438C16.855 4.73 17.0007 5.084 17 5.5C17 5.91667 16.854 6.271 16.562 6.563C16.27 6.855 15.916 7.00067 15.5 7ZM11.5 9C11.0833 9 10.729 8.854 10.437 8.562C10.145 8.27 9.99934 7.916 10 7.5V6.5C10 6.08334 10.146 5.729 10.438 5.437C10.73 5.145 11.084 4.99934 11.5 5C11.9167 5 12.271 5.146 12.563 5.438C12.855 5.73 13.0007 6.084 13 6.5V7.5C13 7.91667 12.854 8.271 12.562 8.563C12.27 8.855 11.916 9.00067 11.5 9ZM8.5 14C8.08334 14 7.729 13.854 7.437 13.562C7.145 13.27 6.99934 12.916 7 12.5V11.5C7 11.0833 7.146 10.729 7.438 10.437C7.73 10.145 8.084 9.99934 8.5 10C8.91667 10 9.271 10.146 9.563 10.438C9.855 10.73 10.0007 11.084 10 11.5V12.5C10 12.9167 9.854 13.271 9.562 13.563C9.27 13.855 8.916 14.0007 8.5 14Z",fill:"black"},null,-1)];function md(a,t){return e.openBlock(),e.createElementBlock("svg",pd,ud)}const fd=Object.freeze(Object.defineProperty({__proto__:null,AccountBoxSharp:Xr,AccountCircle:an,AccountTreeOutlineRounded:ln,AccountTreeRounded:mn,Add:vn,AddBoxOutlineRounded:kn,ArchiveOutlineRounded:Sn,ArrowBackRounded:An,ArrowDropDownRounded:jn,ArrowForwardRounded:Un,AssignmentOutlineRounded:Yn,AttachFileRounded:Jn,CalendarTodayOutlineRounded:ri,CancelRounded:ci,ChatOutline:fi,CheckBoxOutlineBlank:Ci,CheckBoxOutlineBlankSharp:$i,CheckBoxOutlineRounded:Ni,CheckSmallRounded:Oi,ChecklistRounded:Pi,ChevronLeft:Fi,ChevronRight:Ki,CloseRounded:es,ContactsOutlineRounded:ns,ContentCopyOutline:ds,DeleteOutlineRounded:hs,DragIndicator:bs,EditDocumentRounded:Es,EditOutline:xs,ErrorOutlineRounded:Is,FilterListRounded:zs,FlagRounded:Zs,FlowsheetOutlineRounded:Gs,GifBox:tl,GroupsOutline:il,HomeOutlineRounded:pl,ImageRounded:gl,Info:yl,KeyboardArrowDown:Bl,KeyboardArrowUp:Ml,Loading:Ll,Lock:Hl,LogoutRounded:Wl,Menu:Xl,MoreHoriz:ac,MoreTimeRounded:sc,MoreVert:uc,MountainFlagOutlineRounded:_c,PersonAddOutlineRounded:wc,PictureAsPdfRounded:Vc,RadioButtonChecked:Tc,RadioButtonCheckedOutline:Dc,RadioButtonUnchecked:Rc,RemoveRounded:qc,SearchRounded:Qc,SelectCheckBox:o1,SendRounded:l1,Settings:m1,SlideshowRounded:v1,Target:k1,TaskOutlineRounded:S1,TextSnippetRounded:A1,TimerOutline:j1,ViewComfyAltRounded:U1,ViewCompactAltRounded:Y1,ViewTimelineRounded:J1,WarningOutlineRounded:rd,WarningRounded:cd,WaterfallChartRounded:j(dd,[["render",md]])},Symbol.toStringTag,{value:"Module"})),hd={SOLID:"solid",GHOST:"ghost",OUTLINE:"outline"},qt={SM:"sm",MD:"md",LG:"lg",XL:"xl"},Ta={PRIMARY:"primary",PRIMARY_LIGHTER:"primary-lighter",NEUTRAL:"neutral",BLACK:"black"};({...Ta,...{WARNING:"warning",SUCCESS:"success",DANGER:"danger"}});const Bo={ROUND:"round",ROUNDED:"rounded"},gd={SOLID:"solid",OUTLINE:"outline",SOLID_ICON:"solid_icon"},Q=e.defineComponent({__name:"AoIcon",props:{name:{},size:{default:qt.MD}},setup(a){const t=a,o=e.computed(()=>fd[t.name]);return(r,n)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.value),{class:e.normalizeClass(["ao-icon",`ao-icon--${r.size}`])},null,8,["class"]))}}),B4="",_d=["type"],vd={key:0,class:"ao-button__label"},Y=e.defineComponent({__name:"AoButton",props:{label:{default:()=>""},variant:{default:()=>hd.SOLID},iconName:{},iconPosition:{},type:{default:()=>"button"},color:{},footer:{type:Boolean,default:()=>!1},size:{default:()=>qt.MD},isLoading:{type:Boolean,default:()=>!1},corners:{default:()=>Bo.ROUNDED}},setup(a){const t=a,o=e.computed(()=>t.size),r=e.computed(()=>t.isLoading?"Loading":t.iconName);return(n,s)=>(e.openBlock(),e.createElementBlock("button",{type:n.type,class:e.normalizeClass(["ao-button",`ao-button--${n.variant}`,n.color?`ao-button--${n.color}`:"",`ao-button--${n.corners}`,n.footer?"ao-button--footer":"",n.size?`ao-button--${n.size}`:"",n.iconName&&n.iconPosition?`ao-button--icon-${n.iconPosition}`:"",n.$attrs.disabled?"ao-button--is-disabled":""])},[e.renderSlot(n.$slots,"default",{},()=>[n.label?(e.openBlock(),e.createElementBlock("span",vd,e.toDisplayString(n.label),1)):e.createCommentVNode("",!0)]),r.value?(e.openBlock(),e.createBlock(Q,{key:0,name:r.value,class:"ao-button__icon",size:o.value},null,8,["name","size"])):e.createCommentVNode("",!0)],10,_d))}}),V4="";function Vo(a){const t=e.ref(!1),o=e.ref(""),r=e.computed(()=>"value"in a.value?"value":"innerHTML"),n=()=>{t.value=!t.value},s=d=>{t.value=d},i=d=>async()=>{s(!1),await e.nextTick(()=>{a.value[r.value]=o.value,d==null||d()})},l=d=>async p=>{const c=a.value[r.value];s(!1),await e.nextTick(()=>{d(c,p)})};return e.watch(t,async d=>{await e.nextTick(()=>{setTimeout(()=>{a.value&&d&&(a.value.focus(),o.value=a.value[r.value])},1)})}),{isEditing:t,setIsEditing:s,toggleIsEditing:n,onUpdate:l,onDiscard:i}}const ne=e.defineComponent({__name:"AoTitle",props:{id:{},title:{},level:{default:1},tag:{},color:{},isEditable:{type:Boolean,default:!1}},emits:["update:title","toggle-is-editing"],setup(a,{emit:t}){const o=a,r=e.ref(null),{isEditing:n,setIsEditing:s,onUpdate:i,onDiscard:l}=Vo(r),d=e.computed(()=>n.value?"input":o.tag||`h${o.level}`),p=e.computed(()=>o.isEditable?n.value?{change:c,click:b=>b.stopPropagation(),blur:m}:{click:h,focus:h}:{}),c=i((b,g)=>{const _=g.target.value;t("update:title",_)}),f=l(),m=async()=>{n.value&&s(!1)},u=()=>{t("toggle-is-editing",!1)},h=b=>{b.stopPropagation(),n.value||s(!0)};return e.watch(()=>o.isEditable,b=>{b||f()}),(b,g)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(d.value),e.mergeProps({id:b.id,ref_key:"target",ref:r,class:["ao-title",`ao-title--${b.level}`,{[`ao-title--${b.color}`]:!!b.color,"ao-title--editable":b.isEditable,"ao-field__input ao-title--editing":e.unref(n),"ao-title--readonly":!e.unref(n)}],type:e.unref(n)?"text":null,value:e.unref(n)?b.title:null,tabindex:"0",onKeyup:e.withKeys(u,["enter"])},e.toHandlers(p.value),{onKeydown:e.withKeys(e.unref(f),["esc"])}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(b.title),1)]),_:1},16,["id","class","type","value","onKeyup","onKeydown"]))}}),S4="",Cd={key:0,class:"ao-card-horiz__drag ao-card__drag"},bd={class:"ao-card-horiz__header"},yd={key:0,class:"ao-card-horiz__avatar"},wd={class:"ao-card-horiz__title-group"},kd={key:0,class:"ao-card-horiz__subtitle"},$d={key:1,class:"ao-card-horiz__header"},Ed={key:1,class:"ao-card-horiz__body"},Bd={key:2,class:"ao-card-horiz__footer"},Vd={key:3,class:"ao-card-horiz__secondary"},So=e.defineComponent({__name:"AoCardHoriz",props:{id:{},title:{},subtitle:{},icon:{},isActive:{type:Boolean},isEditing:{type:Boolean},tagName:{default:"div"},isDraggable:{type:Boolean}},emits:["update:title"],setup(a,{emit:t}){const o=r=>{t("update:title",r)};return(r,n)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.tagName),{class:e.normalizeClass(["ao-card-horiz",{"ao-card-horiz--active":r.isActive}])},{default:e.withCtx(()=>[r.isDraggable?(e.openBlock(),e.createElementBlock("div",Cd,[e.createVNode(Q,{name:"DragIndicator",class:"ao-card-horiz__drag-handle"})])):e.createCommentVNode("",!0),e.createElementVNode("div",bd,[r.icon?(e.openBlock(),e.createElementBlock("div",yd,[e.createVNode(Q,{class:"ao-card-horiz__icon",name:r.icon,size:"xl"},null,8,["name"])])):e.createCommentVNode("",!0),e.createElementVNode("div",wd,[e.createVNode(ne,{id:r.id,class:"ao-card-horiz__title",level:4,title:r.title||"","is-editable":!0,"onUpdate:title":o},null,8,["id","title"]),e.renderSlot(r.$slots,"subtitle",{},()=>[r.subtitle?(e.openBlock(),e.createElementBlock("span",kd,e.toDisplayString(r.subtitle),1)):e.createCommentVNode("",!0)])]),r.$slots.header?(e.openBlock(),e.createElementBlock("div",$d,[e.renderSlot(r.$slots,"header")])):e.createCommentVNode("",!0)]),r.$slots.default?(e.openBlock(),e.createElementBlock("div",Ed,[e.renderSlot(r.$slots,"default")])):e.createCommentVNode("",!0),r.$slots.footer?(e.openBlock(),e.createElementBlock("div",Bd,[e.renderSlot(r.$slots,"footer")])):e.createCommentVNode("",!0),r.$slots.secondary?(e.openBlock(),e.createElementBlock("div",Vd,[e.renderSlot(r.$slots,"secondary")])):e.createCommentVNode("",!0)]),_:3},8,["class"]))}}),N4="",wt=e.defineComponent({__name:"AoTag",props:{label:{},color:{},rawColor:{},clickable:{type:Boolean},closable:{type:Boolean},variant:{},iconName:{}},emits:["click","close"],setup(a){const t=a,o=e.computed(()=>t.clickable?"button":"span"),r=e.computed(()=>o.value==="button"?{type:"button"}:{});return(n,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["ao-tag",n.color?`ao-tag--${n.color}`:"",n.clickable?"ao-tag--clickable":"",n.closable?"ao-tag--closable":"",n.variant?`ao-tag--${n.variant}`:""]),style:e.normalizeStyle(n.rawColor?{"--ao-tag-bg":n.rawColor}:{})},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.value),e.mergeProps({class:"ao-tag__label"},r.value,{onClick:s[0]||(s[0]=i=>n.$emit("click",i))}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.label)+" ",1),n.variant===e.unref(gd).SOLID_ICON&&n.iconName?(e.openBlock(),e.createBlock(Q,{key:0,name:n.iconName,class:"ao-tag__icon",size:"sm"},null,8,["name"])):e.createCommentVNode("",!0)]),_:1},16)),n.closable?(e.openBlock(),e.createElementBlock("button",{key:0,class:"ao-tag__close",onClick:s[1]||(s[1]=i=>n.$emit("close",i))},[e.createVNode(Q,{name:"CloseRounded",size:"sm",class:"ao-tag__close-icon"})])):e.createCommentVNode("",!0)],6))}}),x4="",kt={todo:"todo",done:"done",archived:"archived"},Sd={months:"months",weeks:"weeks",days:"days"},Nd={future:"future",this_month:"this_month",this_week:"this_week",today:"today",done:"done"},No={BEFORE:"before",AFTER:"after"},xo={START:"start",end:"end"},Mo={DAYS:"days",WEEKS:"weeks",MONTHS:"months"},te={TEMPLATES:"templates",PHASES:"phases",MILESTONES:"milestones",ACTIVITIES:"activities",TASKS:"tasks"};var To=(a=>(a.PHASES="phases",a.MILESTONES="milestones",a.ACTIVITIES="activities",a))(To||{});const xd={add:"add",remove:"remove",moved:"moved"},Xe={project:"projectId",type:"typeId",assignee:"assigneeId"};function Yt(a){"@babel/helpers - typeof";return Yt=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},Yt(a)}function Ve(a){if(a===null||a===!0||a===!1)return NaN;var t=Number(a);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function oe(a,t){if(t.length<a)throw new TypeError(a+" argument"+(a>1?"s":"")+" required, but only "+t.length+" present")}function se(a){oe(1,arguments);var t=Object.prototype.toString.call(a);return a instanceof Date||Yt(a)==="object"&&t==="[object Date]"?new Date(a.getTime()):typeof a=="number"||t==="[object Number]"?new Date(a):((typeof a=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Md(a,t){oe(2,arguments);var o=se(a).getTime(),r=Ve(t);return new Date(o+r)}var Td={};function $t(){return Td}function Et(a){var t=new Date(Date.UTC(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()));return t.setUTCFullYear(a.getFullYear()),a.getTime()-t.getTime()}function Ao(a){oe(1,arguments);var t=se(a);return t.setHours(0,0,0,0),t}var Ad=864e5;function Od(a,t){oe(2,arguments);var o=Ao(a),r=Ao(t),n=o.getTime()-Et(o),s=r.getTime()-Et(r);return Math.round((n-s)/Ad)}function Id(a,t){oe(2,arguments);var o=se(a),r=se(t),n=o.getTime()-r.getTime();return n<0?-1:n>0?1:n}var Oo=6e4,Io=36e5;function Ld(a){return oe(1,arguments),a instanceof Date||Yt(a)==="object"&&Object.prototype.toString.call(a)==="[object Date]"}function Lo(a){if(oe(1,arguments),!Ld(a)&&typeof a!="number")return!1;var t=se(a);return!isNaN(Number(t))}function Aa(a,t){oe(2,arguments);var o=Ve(t);return Md(a,-o)}var Dd=864e5;function jd(a){oe(1,arguments);var t=se(a),o=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=t.getTime(),n=o-r;return Math.floor(n/Dd)+1}function Kt(a){oe(1,arguments);var t=1,o=se(a),r=o.getUTCDay(),n=(r<t?7:0)+r-t;return o.setUTCDate(o.getUTCDate()-n),o.setUTCHours(0,0,0,0),o}function Do(a){oe(1,arguments);var t=se(a),o=t.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(o+1,0,4),r.setUTCHours(0,0,0,0);var n=Kt(r),s=new Date(0);s.setUTCFullYear(o,0,4),s.setUTCHours(0,0,0,0);var i=Kt(s);return t.getTime()>=n.getTime()?o+1:t.getTime()>=i.getTime()?o:o-1}function Pd(a){oe(1,arguments);var t=Do(a),o=new Date(0);o.setUTCFullYear(t,0,4),o.setUTCHours(0,0,0,0);var r=Kt(o);return r}var zd=6048e5;function Hd(a){oe(1,arguments);var t=se(a),o=Kt(t).getTime()-Pd(t).getTime();return Math.round(o/zd)+1}function Gt(a,t){var o,r,n,s,i,l,d,p;oe(1,arguments);var c=$t(),f=Ve((o=(r=(n=(s=t==null?void 0:t.weekStartsOn)!==null&&s!==void 0?s:t==null||(i=t.locale)===null||i===void 0||(l=i.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&n!==void 0?n:c.weekStartsOn)!==null&&r!==void 0?r:(d=c.locale)===null||d===void 0||(p=d.options)===null||p===void 0?void 0:p.weekStartsOn)!==null&&o!==void 0?o:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=se(a),u=m.getUTCDay(),h=(u<f?7:0)+u-f;return m.setUTCDate(m.getUTCDate()-h),m.setUTCHours(0,0,0,0),m}function jo(a,t){var o,r,n,s,i,l,d,p;oe(1,arguments);var c=se(a),f=c.getUTCFullYear(),m=$t(),u=Ve((o=(r=(n=(s=t==null?void 0:t.firstWeekContainsDate)!==null&&s!==void 0?s:t==null||(i=t.locale)===null||i===void 0||(l=i.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&n!==void 0?n:m.firstWeekContainsDate)!==null&&r!==void 0?r:(d=m.locale)===null||d===void 0||(p=d.options)===null||p===void 0?void 0:p.firstWeekContainsDate)!==null&&o!==void 0?o:1);if(!(u>=1&&u<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var h=new Date(0);h.setUTCFullYear(f+1,0,u),h.setUTCHours(0,0,0,0);var b=Gt(h,t),g=new Date(0);g.setUTCFullYear(f,0,u),g.setUTCHours(0,0,0,0);var y=Gt(g,t);return c.getTime()>=b.getTime()?f+1:c.getTime()>=y.getTime()?f:f-1}function Rd(a,t){var o,r,n,s,i,l,d,p;oe(1,arguments);var c=$t(),f=Ve((o=(r=(n=(s=t==null?void 0:t.firstWeekContainsDate)!==null&&s!==void 0?s:t==null||(i=t.locale)===null||i===void 0||(l=i.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&n!==void 0?n:c.firstWeekContainsDate)!==null&&r!==void 0?r:(d=c.locale)===null||d===void 0||(p=d.options)===null||p===void 0?void 0:p.firstWeekContainsDate)!==null&&o!==void 0?o:1),m=jo(a,t),u=new Date(0);u.setUTCFullYear(m,0,f),u.setUTCHours(0,0,0,0);var h=Gt(u,t);return h}var Ud=6048e5;function Fd(a,t){oe(1,arguments);var o=se(a),r=Gt(o,t).getTime()-Rd(o,t).getTime();return Math.round(r/Ud)+1}function J(a,t){for(var o=a<0?"-":"",r=Math.abs(a).toString();r.length<t;)r="0"+r;return o+r}var Zd={y:function(t,o){var r=t.getUTCFullYear(),n=r>0?r:1-r;return J(o==="yy"?n%100:n,o.length)},M:function(t,o){var r=t.getUTCMonth();return o==="M"?String(r+1):J(r+1,2)},d:function(t,o){return J(t.getUTCDate(),o.length)},a:function(t,o){var r=t.getUTCHours()/12>=1?"pm":"am";switch(o){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(t,o){return J(t.getUTCHours()%12||12,o.length)},H:function(t,o){return J(t.getUTCHours(),o.length)},m:function(t,o){return J(t.getUTCMinutes(),o.length)},s:function(t,o){return J(t.getUTCSeconds(),o.length)},S:function(t,o){var r=o.length,n=t.getUTCMilliseconds(),s=Math.floor(n*Math.pow(10,r-3));return J(s,o.length)}};const je=Zd;var lt={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Wd={G:function(t,o,r){var n=t.getUTCFullYear()>0?1:0;switch(o){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"})}},y:function(t,o,r){if(o==="yo"){var n=t.getUTCFullYear(),s=n>0?n:1-n;return r.ordinalNumber(s,{unit:"year"})}return je.y(t,o)},Y:function(t,o,r,n){var s=jo(t,n),i=s>0?s:1-s;if(o==="YY"){var l=i%100;return J(l,2)}return o==="Yo"?r.ordinalNumber(i,{unit:"year"}):J(i,o.length)},R:function(t,o){var r=Do(t);return J(r,o.length)},u:function(t,o){var r=t.getUTCFullYear();return J(r,o.length)},Q:function(t,o,r){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(o){case"Q":return String(n);case"QQ":return J(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(t,o,r){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(o){case"q":return String(n);case"qq":return J(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(t,o,r){var n=t.getUTCMonth();switch(o){case"M":case"MM":return je.M(t,o);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(t,o,r){var n=t.getUTCMonth();switch(o){case"L":return String(n+1);case"LL":return J(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(t,o,r,n){var s=Fd(t,n);return o==="wo"?r.ordinalNumber(s,{unit:"week"}):J(s,o.length)},I:function(t,o,r){var n=Hd(t);return o==="Io"?r.ordinalNumber(n,{unit:"week"}):J(n,o.length)},d:function(t,o,r){return o==="do"?r.ordinalNumber(t.getUTCDate(),{unit:"date"}):je.d(t,o)},D:function(t,o,r){var n=jd(t);return o==="Do"?r.ordinalNumber(n,{unit:"dayOfYear"}):J(n,o.length)},E:function(t,o,r){var n=t.getUTCDay();switch(o){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(t,o,r,n){var s=t.getUTCDay(),i=(s-n.weekStartsOn+8)%7||7;switch(o){case"e":return String(i);case"ee":return J(i,2);case"eo":return r.ordinalNumber(i,{unit:"day"});case"eee":return r.day(s,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(s,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(s,{width:"short",context:"formatting"});case"eeee":default:return r.day(s,{width:"wide",context:"formatting"})}},c:function(t,o,r,n){var s=t.getUTCDay(),i=(s-n.weekStartsOn+8)%7||7;switch(o){case"c":return String(i);case"cc":return J(i,o.length);case"co":return r.ordinalNumber(i,{unit:"day"});case"ccc":return r.day(s,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(s,{width:"narrow",context:"standalone"});case"cccccc":return r.day(s,{width:"short",context:"standalone"});case"cccc":default:return r.day(s,{width:"wide",context:"standalone"})}},i:function(t,o,r){var n=t.getUTCDay(),s=n===0?7:n;switch(o){case"i":return String(s);case"ii":return J(s,o.length);case"io":return r.ordinalNumber(s,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(t,o,r){var n=t.getUTCHours(),s=n/12>=1?"pm":"am";switch(o){case"a":case"aa":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(s,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(s,{width:"wide",context:"formatting"})}},b:function(t,o,r){var n=t.getUTCHours(),s;switch(n===12?s=lt.noon:n===0?s=lt.midnight:s=n/12>=1?"pm":"am",o){case"b":case"bb":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(s,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(s,{width:"wide",context:"formatting"})}},B:function(t,o,r){var n=t.getUTCHours(),s;switch(n>=17?s=lt.evening:n>=12?s=lt.afternoon:n>=4?s=lt.morning:s=lt.night,o){case"B":case"BB":case"BBB":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(s,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(s,{width:"wide",context:"formatting"})}},h:function(t,o,r){if(o==="ho"){var n=t.getUTCHours()%12;return n===0&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return je.h(t,o)},H:function(t,o,r){return o==="Ho"?r.ordinalNumber(t.getUTCHours(),{unit:"hour"}):je.H(t,o)},K:function(t,o,r){var n=t.getUTCHours()%12;return o==="Ko"?r.ordinalNumber(n,{unit:"hour"}):J(n,o.length)},k:function(t,o,r){var n=t.getUTCHours();return n===0&&(n=24),o==="ko"?r.ordinalNumber(n,{unit:"hour"}):J(n,o.length)},m:function(t,o,r){return o==="mo"?r.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):je.m(t,o)},s:function(t,o,r){return o==="so"?r.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):je.s(t,o)},S:function(t,o){return je.S(t,o)},X:function(t,o,r,n){var s=n._originalDate||t,i=s.getTimezoneOffset();if(i===0)return"Z";switch(o){case"X":return zo(i);case"XXXX":case"XX":return Qe(i);case"XXXXX":case"XXX":default:return Qe(i,":")}},x:function(t,o,r,n){var s=n._originalDate||t,i=s.getTimezoneOffset();switch(o){case"x":return zo(i);case"xxxx":case"xx":return Qe(i);case"xxxxx":case"xxx":default:return Qe(i,":")}},O:function(t,o,r,n){var s=n._originalDate||t,i=s.getTimezoneOffset();switch(o){case"O":case"OO":case"OOO":return"GMT"+Po(i,":");case"OOOO":default:return"GMT"+Qe(i,":")}},z:function(t,o,r,n){var s=n._originalDate||t,i=s.getTimezoneOffset();switch(o){case"z":case"zz":case"zzz":return"GMT"+Po(i,":");case"zzzz":default:return"GMT"+Qe(i,":")}},t:function(t,o,r,n){var s=n._originalDate||t,i=Math.floor(s.getTime()/1e3);return J(i,o.length)},T:function(t,o,r,n){var s=n._originalDate||t,i=s.getTime();return J(i,o.length)}};function Po(a,t){var o=a>0?"-":"+",r=Math.abs(a),n=Math.floor(r/60),s=r%60;if(s===0)return o+String(n);var i=t||"";return o+String(n)+i+J(s,2)}function zo(a,t){if(a%60===0){var o=a>0?"-":"+";return o+J(Math.abs(a)/60,2)}return Qe(a,t)}function Qe(a,t){var o=t||"",r=a>0?"-":"+",n=Math.abs(a),s=J(Math.floor(n/60),2),i=J(n%60,2);return r+s+o+i}const qd=Wd;var Ho=function(t,o){switch(t){case"P":return o.date({width:"short"});case"PP":return o.date({width:"medium"});case"PPP":return o.date({width:"long"});case"PPPP":default:return o.date({width:"full"})}},Ro=function(t,o){switch(t){case"p":return o.time({width:"short"});case"pp":return o.time({width:"medium"});case"ppp":return o.time({width:"long"});case"pppp":default:return o.time({width:"full"})}},Yd=function(t,o){var r=t.match(/(P+)(p+)?/)||[],n=r[1],s=r[2];if(!s)return Ho(t,o);var i;switch(n){case"P":i=o.dateTime({width:"short"});break;case"PP":i=o.dateTime({width:"medium"});break;case"PPP":i=o.dateTime({width:"long"});break;case"PPPP":default:i=o.dateTime({width:"full"});break}return i.replace("{{date}}",Ho(n,o)).replace("{{time}}",Ro(s,o))},Kd={p:Ro,P:Yd};const Gd=Kd;var Xd=["D","DD"],Qd=["YY","YYYY"];function Jd(a){return Xd.indexOf(a)!==-1}function ep(a){return Qd.indexOf(a)!==-1}function Uo(a,t,o){if(a==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(o,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(a==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(o,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(a==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(o,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(a==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(o,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var tp={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},ap=function(t,o,r){var n,s=tp[t];return typeof s=="string"?n=s:o===1?n=s.one:n=s.other.replace("{{count}}",o.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n};const op=ap;function Oa(a){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=t.width?String(t.width):a.defaultWidth,r=a.formats[o]||a.formats[a.defaultWidth];return r}}var rp={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},np={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},ip={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},sp={date:Oa({formats:rp,defaultWidth:"full"}),time:Oa({formats:np,defaultWidth:"full"}),dateTime:Oa({formats:ip,defaultWidth:"full"})};const lp=sp;var cp={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},dp=function(t,o,r,n){return cp[t]};const pp=dp;function Bt(a){return function(t,o){var r=o!=null&&o.context?String(o.context):"standalone",n;if(r==="formatting"&&a.formattingValues){var s=a.defaultFormattingWidth||a.defaultWidth,i=o!=null&&o.width?String(o.width):s;n=a.formattingValues[i]||a.formattingValues[s]}else{var l=a.defaultWidth,d=o!=null&&o.width?String(o.width):a.defaultWidth;n=a.values[d]||a.values[l]}var p=a.argumentCallback?a.argumentCallback(t):t;return n[p]}}var up={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},mp={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},fp={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},hp={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},gp={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},_p={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},vp=function(t,o){var r=Number(t),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},Cp={ordinalNumber:vp,era:Bt({values:up,defaultWidth:"wide"}),quarter:Bt({values:mp,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Bt({values:fp,defaultWidth:"wide"}),day:Bt({values:hp,defaultWidth:"wide"}),dayPeriod:Bt({values:gp,defaultWidth:"wide",formattingValues:_p,defaultFormattingWidth:"wide"})};const bp=Cp;function Vt(a){return function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=o.width,n=r&&a.matchPatterns[r]||a.matchPatterns[a.defaultMatchWidth],s=t.match(n);if(!s)return null;var i=s[0],l=r&&a.parsePatterns[r]||a.parsePatterns[a.defaultParseWidth],d=Array.isArray(l)?wp(l,function(f){return f.test(i)}):yp(l,function(f){return f.test(i)}),p;p=a.valueCallback?a.valueCallback(d):d,p=o.valueCallback?o.valueCallback(p):p;var c=t.slice(i.length);return{value:p,rest:c}}}function yp(a,t){for(var o in a)if(a.hasOwnProperty(o)&&t(a[o]))return o}function wp(a,t){for(var o=0;o<a.length;o++)if(t(a[o]))return o}function kp(a){return function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(a.matchPattern);if(!r)return null;var n=r[0],s=t.match(a.parsePattern);if(!s)return null;var i=a.valueCallback?a.valueCallback(s[0]):s[0];i=o.valueCallback?o.valueCallback(i):i;var l=t.slice(n.length);return{value:i,rest:l}}}var $p=/^(\d+)(th|st|nd|rd)?/i,Ep=/\d+/i,Bp={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Vp={any:[/^b/i,/^(a|c)/i]},Sp={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Np={any:[/1/i,/2/i,/3/i,/4/i]},xp={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Mp={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Tp={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Ap={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Op={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Ip={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Lp={ordinalNumber:kp({matchPattern:$p,parsePattern:Ep,valueCallback:function(t){return parseInt(t,10)}}),era:Vt({matchPatterns:Bp,defaultMatchWidth:"wide",parsePatterns:Vp,defaultParseWidth:"any"}),quarter:Vt({matchPatterns:Sp,defaultMatchWidth:"wide",parsePatterns:Np,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Vt({matchPatterns:xp,defaultMatchWidth:"wide",parsePatterns:Mp,defaultParseWidth:"any"}),day:Vt({matchPatterns:Tp,defaultMatchWidth:"wide",parsePatterns:Ap,defaultParseWidth:"any"}),dayPeriod:Vt({matchPatterns:Op,defaultMatchWidth:"any",parsePatterns:Ip,defaultParseWidth:"any"})},Dp={code:"en-US",formatDistance:op,formatLong:lp,formatRelative:pp,localize:bp,match:Lp,options:{weekStartsOn:0,firstWeekContainsDate:1}};const Fo=Dp;var jp=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Pp=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,zp=/^'([^]*?)'?$/,Hp=/''/g,Rp=/[a-zA-Z]/;function Zo(a,t,o){var r,n,s,i,l,d,p,c,f,m,u,h,b,g,y,_,C,v;oe(2,arguments);var B=String(t),E=$t(),N=(r=(n=o==null?void 0:o.locale)!==null&&n!==void 0?n:E.locale)!==null&&r!==void 0?r:Fo,A=Ve((s=(i=(l=(d=o==null?void 0:o.firstWeekContainsDate)!==null&&d!==void 0?d:o==null||(p=o.locale)===null||p===void 0||(c=p.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&l!==void 0?l:E.firstWeekContainsDate)!==null&&i!==void 0?i:(f=E.locale)===null||f===void 0||(m=f.options)===null||m===void 0?void 0:m.firstWeekContainsDate)!==null&&s!==void 0?s:1);if(!(A>=1&&A<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var z=Ve((u=(h=(b=(g=o==null?void 0:o.weekStartsOn)!==null&&g!==void 0?g:o==null||(y=o.locale)===null||y===void 0||(_=y.options)===null||_===void 0?void 0:_.weekStartsOn)!==null&&b!==void 0?b:E.weekStartsOn)!==null&&h!==void 0?h:(C=E.locale)===null||C===void 0||(v=C.options)===null||v===void 0?void 0:v.weekStartsOn)!==null&&u!==void 0?u:0);if(!(z>=0&&z<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!N.localize)throw new RangeError("locale must contain localize property");if(!N.formatLong)throw new RangeError("locale must contain formatLong property");var U=se(a);if(!Lo(U))throw new RangeError("Invalid time value");var Z=Et(U),O=Aa(U,Z),H={firstWeekContainsDate:A,weekStartsOn:z,locale:N,_originalDate:U},K=B.match(Pp).map(function(W){var F=W[0];if(F==="p"||F==="P"){var S=Gd[F];return S(W,N.formatLong)}return W}).join("").match(jp).map(function(W){if(W==="''")return"'";var F=W[0];if(F==="'")return Up(W);var S=qd[F];if(S)return!(o!=null&&o.useAdditionalWeekYearTokens)&&ep(W)&&Uo(W,t,String(a)),!(o!=null&&o.useAdditionalDayOfYearTokens)&&Jd(W)&&Uo(W,t,String(a)),S(O,W,N.localize,H);if(F.match(Rp))throw new RangeError("Format string contains an unescaped latin alphabet character `"+F+"`");return W}).join("");return K}function Up(a){var t=a.match(zp);return t?t[1].replace(Hp,"'"):a}function Fp(a,t,o){var r,n,s,i,l,d,p,c,f,m;oe(2,arguments);var u=se(a),h=se(t),b=$t(),g=(r=(n=o==null?void 0:o.locale)!==null&&n!==void 0?n:b.locale)!==null&&r!==void 0?r:Fo,y=Ve((s=(i=(l=(d=o==null?void 0:o.weekStartsOn)!==null&&d!==void 0?d:o==null||(p=o.locale)===null||p===void 0||(c=p.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&l!==void 0?l:b.weekStartsOn)!==null&&i!==void 0?i:(f=b.locale)===null||f===void 0||(m=f.options)===null||m===void 0?void 0:m.weekStartsOn)!==null&&s!==void 0?s:0);if(!g.localize)throw new RangeError("locale must contain localize property");if(!g.formatLong)throw new RangeError("locale must contain formatLong property");if(!g.formatRelative)throw new RangeError("locale must contain formatRelative property");var _=Od(u,h);if(isNaN(_))throw new RangeError("Invalid time value");var C;_<-6?C="other":_<-1?C="lastWeek":_<0?C="yesterday":_<1?C="today":_<2?C="tomorrow":_<7?C="nextWeek":C="other";var v=Aa(u,Et(u)),B=Aa(h,Et(h)),E=g.formatRelative(C,v,B,{locale:g,weekStartsOn:y});return Zo(u,E,{locale:g,weekStartsOn:y})}function St(a,t){var o;oe(1,arguments);var r=Ve((o=t==null?void 0:t.additionalDigits)!==null&&o!==void 0?o:2);if(r!==2&&r!==1&&r!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(!(typeof a=="string"||Object.prototype.toString.call(a)==="[object String]"))return new Date(NaN);var n=Yp(a),s;if(n.date){var i=Kp(n.date,r);s=Gp(i.restDateString,i.year)}if(!s||isNaN(s.getTime()))return new Date(NaN);var l=s.getTime(),d=0,p;if(n.time&&(d=Xp(n.time),isNaN(d)))return new Date(NaN);if(n.timezone){if(p=Qp(n.timezone),isNaN(p))return new Date(NaN)}else{var c=new Date(l+d),f=new Date(0);return f.setFullYear(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),f.setHours(c.getUTCHours(),c.getUTCMinutes(),c.getUTCSeconds(),c.getUTCMilliseconds()),f}return new Date(l+d+p)}var Xt={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},Zp=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,Wp=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,qp=/^([+-])(\d{2})(?::?(\d{2}))?$/;function Yp(a){var t={},o=a.split(Xt.dateTimeDelimiter),r;if(o.length>2)return t;if(/:/.test(o[0])?r=o[0]:(t.date=o[0],r=o[1],Xt.timeZoneDelimiter.test(t.date)&&(t.date=a.split(Xt.timeZoneDelimiter)[0],r=a.substr(t.date.length,a.length))),r){var n=Xt.timezone.exec(r);n?(t.time=r.replace(n[1],""),t.timezone=n[1]):t.time=r}return t}function Kp(a,t){var o=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=a.match(o);if(!r)return{year:NaN,restDateString:""};var n=r[1]?parseInt(r[1]):null,s=r[2]?parseInt(r[2]):null;return{year:s===null?n:s*100,restDateString:a.slice((r[1]||r[2]).length)}}function Gp(a,t){if(t===null)return new Date(NaN);var o=a.match(Zp);if(!o)return new Date(NaN);var r=!!o[4],n=Nt(o[1]),s=Nt(o[2])-1,i=Nt(o[3]),l=Nt(o[4]),d=Nt(o[5])-1;if(r)return o2(t,l,d)?Jp(t,l,d):new Date(NaN);var p=new Date(0);return!t2(t,s,i)||!a2(t,n)?new Date(NaN):(p.setUTCFullYear(t,s,Math.max(n,i)),p)}function Nt(a){return a?parseInt(a):1}function Xp(a){var t=a.match(Wp);if(!t)return NaN;var o=Ia(t[1]),r=Ia(t[2]),n=Ia(t[3]);return r2(o,r,n)?o*Io+r*Oo+n*1e3:NaN}function Ia(a){return a&&parseFloat(a.replace(",","."))||0}function Qp(a){if(a==="Z")return 0;var t=a.match(qp);if(!t)return 0;var o=t[1]==="+"?-1:1,r=parseInt(t[2]),n=t[3]&&parseInt(t[3])||0;return n2(r,n)?o*(r*Io+n*Oo):NaN}function Jp(a,t,o){var r=new Date(0);r.setUTCFullYear(a,0,4);var n=r.getUTCDay()||7,s=(t-1)*7+o+1-n;return r.setUTCDate(r.getUTCDate()+s),r}var e2=[31,null,31,30,31,30,31,31,30,31,30,31];function Wo(a){return a%400===0||a%4===0&&a%100!==0}function t2(a,t,o){return t>=0&&t<=11&&o>=1&&o<=(e2[t]||(Wo(a)?29:28))}function a2(a,t){return t>=1&&t<=(Wo(a)?366:365)}function o2(a,t,o){return t>=1&&t<=53&&o>=0&&o<=6}function r2(a,t,o){return a===24?t===0&&o===0:o>=0&&o<60&&t>=0&&t<60&&a>=0&&a<25}function n2(a,t){return t>=0&&t<=59}var ue=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ie={},qo={},xt={},Mt={},ct={},Qt={};Object.defineProperty(Qt,"__esModule",{value:!0}),Qt.lexoHelper=void 0,Qt.lexoHelper={arrayCopy:i2};function i2(a,t,o,r,n){let s=r;const i=t+n;for(let l=t;l<i;l++)o[s]=a[l],++s}var Tt={};Object.defineProperty(Tt,"__esModule",{value:!0});class s2{constructor(t=""){this.str=t}get length(){return this.str.length}set length(t){this.str=this.str.substring(0,t)}append(t){return this.str=this.str+t,this}remove(t,o){return this.str=this.str.substr(0,t)+this.str.substr(t+o),this}insert(t,o){return this.str=this.str.substr(0,t)+o+this.str.substr(t),this}toString(){return this.str}}Tt.default=s2,Object.defineProperty(ct,"__esModule",{value:!0}),ct.LexoInteger=void 0;const Jt=Qt,l2=Tt;class q{constructor(t,o,r){this.sys=t,this.sign=o,this.mag=r}static parse(t,o){let r=t,n=1;t.indexOf(o.getPositiveChar())===0?r=t.substring(1):t.indexOf(o.getNegativeChar())===0&&(r=t.substring(1),n=-1);const s=new Array(r.length);let i=s.length-1;for(let l=0;i>=0;++l)s[l]=o.toDigit(r.charAt(i)),--i;return q.make(o,n,s)}static zero(t){return new q(t,0,q.ZERO_MAG)}static one(t){return q.make(t,1,q.ONE_MAG)}static make(t,o,r){let n;for(n=r.length;n>0&&r[n-1]===0;--n);if(n===0)return q.zero(t);if(n===r.length)return new q(t,o,r);const s=new Array(n).fill(0);return Jt.lexoHelper.arrayCopy(r,0,s,0,n),new q(t,o,s)}static add(t,o,r){const n=Math.max(o.length,r.length),s=new Array(n).fill(0);let i=0;for(let l=0;l<n;++l){const d=l<o.length?o[l]:0,p=l<r.length?r[l]:0;let c=d+p+i;for(i=0;c>=t.getBase();c-=t.getBase())++i;s[l]=c}return q.extendWithCarry(s,i)}static extendWithCarry(t,o){if(o>0){const r=new Array(t.length+1).fill(0);return Jt.lexoHelper.arrayCopy(t,0,r,0,t.length),r[r.length-1]=o,r}return t}static subtract(t,o,r){const n=q.complement(t,r,o.length),s=q.add(t,o,n);return s[s.length-1]=0,q.add(t,s,q.ONE_MAG)}static multiply(t,o,r){const n=new Array(o.length+r.length).fill(0);for(let s=0;s<o.length;++s)for(let i=0;i<r.length;++i){const l=s+i;for(n[l]+=o[s]*r[i];n[l]>=t.getBase();n[l]-=t.getBase())++n[l+1]}return n}static complement(t,o,r){if(r<=0)throw new Error("Expected at least 1 digit");const n=new Array(r).fill(t.getBase()-1);for(let s=0;s<o.length;++s)n[s]=t.getBase()-1-o[s];return n}static compare(t,o){if(t.length<o.length)return-1;if(t.length>o.length)return 1;for(let r=t.length-1;r>=0;--r){if(t[r]<o[r])return-1;if(t[r]>o[r])return 1}return 0}add(t){if(this.checkSystem(t),this.isZero())return t;if(t.isZero())return this;if(this.sign!==t.sign){let r;return this.sign===-1?(r=this.negate(),r.subtract(t).negate()):(r=t.negate(),this.subtract(r))}const o=q.add(this.sys,this.mag,t.mag);return q.make(this.sys,this.sign,o)}subtract(t){if(this.checkSystem(t),this.isZero())return t.negate();if(t.isZero())return this;if(this.sign!==t.sign){let r;return this.sign===-1?(r=this.negate(),r.add(t).negate()):(r=t.negate(),this.add(r))}const o=q.compare(this.mag,t.mag);return o===0?q.zero(this.sys):o<0?q.make(this.sys,this.sign===-1?1:-1,q.subtract(this.sys,t.mag,this.mag)):q.make(this.sys,this.sign===-1?-1:1,q.subtract(this.sys,this.mag,t.mag))}multiply(t){if(this.checkSystem(t),this.isZero())return this;if(t.isZero())return t;if(this.isOneish())return this.sign===t.sign?q.make(this.sys,1,t.mag):q.make(this.sys,-1,t.mag);if(t.isOneish())return this.sign===t.sign?q.make(this.sys,1,this.mag):q.make(this.sys,-1,this.mag);const o=q.multiply(this.sys,this.mag,t.mag);return this.sign===t.sign?q.make(this.sys,1,o):q.make(this.sys,-1,o)}negate(){return this.isZero()?this:q.make(this.sys,this.sign===1?-1:1,this.mag)}shiftLeft(t=1){if(t===0)return this;if(t<0)return this.shiftRight(Math.abs(t));const o=new Array(this.mag.length+t).fill(0);return Jt.lexoHelper.arrayCopy(this.mag,0,o,t,this.mag.length),q.make(this.sys,this.sign,o)}shiftRight(t=1){if(this.mag.length-t<=0)return q.zero(this.sys);const o=new Array(this.mag.length-t).fill(0);return Jt.lexoHelper.arrayCopy(this.mag,t,o,0,o.length),q.make(this.sys,this.sign,o)}complement(){return this.complementDigits(this.mag.length)}complementDigits(t){return q.make(this.sys,this.sign,q.complement(this.sys,this.mag,t))}isZero(){return this.sign===0&&this.mag.length===1&&this.mag[0]===0}isOne(){return this.sign===1&&this.mag.length===1&&this.mag[0]===1}getMag(t){return this.mag[t]}compareTo(t){if(this===t)return 0;if(!t)return 1;if(this.sign===-1){if(t.sign===-1){const o=q.compare(this.mag,t.mag);return o===-1?1:o===1?-1:0}return-1}return this.sign===1?t.sign===1?q.compare(this.mag,t.mag):1:t.sign===-1?1:t.sign===1?-1:0}getSystem(){return this.sys}format(){if(this.isZero())return""+this.sys.toChar(0);const t=new l2.default,o=this.mag,r=o.length;for(let n=0;n<r;++n){const s=o[n];t.insert(0,this.sys.toChar(s))}return this.sign===-1&&t.insert(0,this.sys.getNegativeChar()),t.toString()}equals(t){return this===t?!0:t?this.sys.getBase()===t.sys.getBase()&&this.compareTo(t)===0:!1}toString(){return this.format()}isOneish(){return this.mag.length===1&&this.mag[0]===1}checkSystem(t){if(this.sys.getBase()!==t.sys.getBase())throw new Error("Expected numbers of same numeral sys")}}ct.LexoInteger=q,q.ZERO_MAG=[0],q.ONE_MAG=[1],q.NEGATIVE_SIGN=-1,q.ZERO_SIGN=0,q.POSITIVE_SIGN=1,Object.defineProperty(Mt,"__esModule",{value:!0}),Mt.LexoDecimal=void 0;const At=ct,c2=Tt;class me{constructor(t,o){this.mag=t,this.sig=o}static half(t){const o=t.getBase()/2|0;return me.make(At.LexoInteger.make(t,1,[o]),1)}static parse(t,o){const r=t.indexOf(o.getRadixPointChar());if(t.lastIndexOf(o.getRadixPointChar())!==r)throw new Error("More than one "+o.getRadixPointChar());if(r<0)return me.make(At.LexoInteger.parse(t,o),0);const n=t.substring(0,r)+t.substring(r+1);return me.make(At.LexoInteger.parse(n,o),t.length-1-r)}static from(t){return me.make(t,0)}static make(t,o){if(t.isZero())return new me(t,0);let r=0;for(let i=0;i<o&&t.getMag(i)===0;++i)++r;const n=t.shiftRight(r),s=o-r;return new me(n,s)}getSystem(){return this.mag.getSystem()}add(t){let o=this.mag,r=this.sig,n=t.mag,s;for(s=t.sig;r<s;++r)o=o.shiftLeft();for(;r>s;)n=n.shiftLeft(),++s;return me.make(o.add(n),r)}subtract(t){let o=this.mag,r=this.sig,n=t.mag,s;for(s=t.sig;r<s;++r)o=o.shiftLeft();for(;r>s;)n=n.shiftLeft(),++s;return me.make(o.subtract(n),r)}multiply(t){return me.make(this.mag.multiply(t.mag),this.sig+t.sig)}floor(){return this.mag.shiftRight(this.sig)}ceil(){if(this.isExact())return this.mag;const t=this.floor();return t.add(At.LexoInteger.one(t.getSystem()))}isExact(){if(this.sig===0)return!0;for(let t=0;t<this.sig;++t)if(this.mag.getMag(t)!==0)return!1;return!0}getScale(){return this.sig}setScale(t,o=!1){if(t>=this.sig)return this;t<0&&(t=0);const r=this.sig-t;let n=this.mag.shiftRight(r);return o&&(n=n.add(At.LexoInteger.one(n.getSystem()))),me.make(n,t)}compareTo(t){if(this===t)return 0;if(!t)return 1;let o=this.mag,r=t.mag;return this.sig>t.sig?r=r.shiftLeft(this.sig-t.sig):this.sig<t.sig&&(o=o.shiftLeft(t.sig-this.sig)),o.compareTo(r)}format(){const t=this.mag.format();if(this.sig===0)return t;const o=new c2.default(t),r=o[0],n=r===this.mag.getSystem().getPositiveChar()||r===this.mag.getSystem().getNegativeChar();for(n&&o.remove(0,1);o.length<this.sig+1;)o.insert(0,this.mag.getSystem().toChar(0));return o.insert(o.length-this.sig,this.mag.getSystem().getRadixPointChar()),o.length-this.sig===0&&o.insert(0,this.mag.getSystem().toChar(0)),n&&o.insert(0,r),o.toString()}equals(t){return this===t?!0:t?this.mag.equals(t.mag)&&this.sig===t.sig:!1}toString(){return this.format()}}Mt.LexoDecimal=me;var ea={},Yo;function Ko(){if(Yo)return ea;Yo=1,Object.defineProperty(ea,"__esModule",{value:!0});const a=ct,t=Qo();class o{constructor(n){this.value=a.LexoInteger.parse(n,t.LexoRank.NUMERAL_SYSTEM)}static get BUCKET_0(){return this._BUCKET_0||(this._BUCKET_0=new o("0")),this._BUCKET_0}static get BUCKET_1(){return this._BUCKET_1||(this._BUCKET_1=new o("1")),this._BUCKET_1}static get BUCKET_2(){return this._BUCKET_2||(this._BUCKET_2=new o("2")),this._BUCKET_2}static get VALUES(){return this._VALUES||(this._VALUES=[o.BUCKET_0,o.BUCKET_1,o.BUCKET_2]),this._VALUES}static max(){return o.VALUES[o.VALUES.length-1]}static from(n){const s=a.LexoInteger.parse(n,t.LexoRank.NUMERAL_SYSTEM),i=o.VALUES,l=i.length;for(let d=0;d<l;++d){const p=i[d];if(p.value.equals(s))return p}throw new Error("Unknown bucket: "+n)}static resolve(n){const s=o.VALUES,i=s.length;for(let l=0;l<i;++l){const d=s[l];if(d.equals(o.from(n.toString())))return d}throw new Error("No bucket found with id "+n)}format(){return this.value.format()}next(){return this.equals(o.BUCKET_0)?o.BUCKET_1:this.equals(o.BUCKET_1)?o.BUCKET_2:this.equals(o.BUCKET_2)?o.BUCKET_0:o.BUCKET_2}prev(){return this.equals(o.BUCKET_0)?o.BUCKET_2:this.equals(o.BUCKET_1)?o.BUCKET_0:this.equals(o.BUCKET_2)?o.BUCKET_1:o.BUCKET_0}equals(n){return this===n?!0:n?this.value.equals(n.value):!1}}return ea.default=o,ea}var La={},Go={};Object.defineProperty(Go,"__esModule",{value:!0});var ta={};Object.defineProperty(ta,"__esModule",{value:!0}),ta.LexoNumeralSystem10=void 0;class d2{getBase(){return 10}getPositiveChar(){return"+"}getNegativeChar(){return"-"}getRadixPointChar(){return"."}toDigit(t){if(t>="0"&&t<="9")return t.charCodeAt(0)-48;throw new Error("Not valid digit: "+t)}toChar(t){return String.fromCharCode(t+48)}}ta.LexoNumeralSystem10=d2;var aa={};Object.defineProperty(aa,"__esModule",{value:!0}),aa.LexoNumeralSystem36=void 0;class p2{constructor(){this.DIGITS="0123456789abcdefghijklmnopqrstuvwxyz".split("")}getBase(){return 36}getPositiveChar(){return"+"}getNegativeChar(){return"-"}getRadixPointChar(){return":"}toDigit(t){if(t>="0"&&t<="9")return t.charCodeAt(0)-48;if(t>="a"&&t<="z")return t.charCodeAt(0)-97+10;throw new Error("Not valid digit: "+t)}toChar(t){return this.DIGITS[t]}}aa.LexoNumeralSystem36=p2;var oa={};Object.defineProperty(oa,"__esModule",{value:!0}),oa.LexoNumeralSystem64=void 0;class u2{constructor(){this.DIGITS="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ^_abcdefghijklmnopqrstuvwxyz".split("")}getBase(){return 64}getPositiveChar(){return"+"}getNegativeChar(){return"-"}getRadixPointChar(){return":"}toDigit(t){if(t>="0"&&t<="9")return t.charCodeAt(0)-48;if(t>="A"&&t<="Z")return t.charCodeAt(0)-65+10;if(t==="^")return 36;if(t==="_")return 37;if(t>="a"&&t<="z")return t.charCodeAt(0)-97+38;throw new Error("Not valid digit: "+t)}toChar(t){return this.DIGITS[t]}}oa.LexoNumeralSystem64=u2,function(a){var t=ue&&ue.__createBinding||(Object.create?function(r,n,s,i){i===void 0&&(i=s);var l=Object.getOwnPropertyDescriptor(n,s);(!l||("get"in l?!n.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:function(){return n[s]}}),Object.defineProperty(r,i,l)}:function(r,n,s,i){i===void 0&&(i=s),r[i]=n[s]}),o=ue&&ue.__exportStar||function(r,n){for(var s in r)s!=="default"&&!Object.prototype.hasOwnProperty.call(n,s)&&t(n,r,s)};Object.defineProperty(a,"__esModule",{value:!0}),o(Go,a),o(ta,a),o(aa,a),o(oa,a)}(La);var Xo;function Qo(){if(Xo)return xt;Xo=1,Object.defineProperty(xt,"__esModule",{value:!0}),xt.LexoRank=void 0;const a=Mt,t=Ko(),o=Tt,r=La;class n{constructor(i,l){this.value=i.format()+"|"+n.formatDecimal(l),this.bucket=i,this.decimal=l}static get NUMERAL_SYSTEM(){return this._NUMERAL_SYSTEM||(this._NUMERAL_SYSTEM=new r.LexoNumeralSystem36),this._NUMERAL_SYSTEM}static get ZERO_DECIMAL(){return this._ZERO_DECIMAL||(this._ZERO_DECIMAL=a.LexoDecimal.parse("0",n.NUMERAL_SYSTEM)),this._ZERO_DECIMAL}static get ONE_DECIMAL(){return this._ONE_DECIMAL||(this._ONE_DECIMAL=a.LexoDecimal.parse("1",n.NUMERAL_SYSTEM)),this._ONE_DECIMAL}static get EIGHT_DECIMAL(){return this._EIGHT_DECIMAL||(this._EIGHT_DECIMAL=a.LexoDecimal.parse("8",n.NUMERAL_SYSTEM)),this._EIGHT_DECIMAL}static get MIN_DECIMAL(){return this._MIN_DECIMAL||(this._MIN_DECIMAL=n.ZERO_DECIMAL),this._MIN_DECIMAL}static get MAX_DECIMAL(){return this._MAX_DECIMAL||(this._MAX_DECIMAL=a.LexoDecimal.parse("1000000",n.NUMERAL_SYSTEM).subtract(n.ONE_DECIMAL)),this._MAX_DECIMAL}static get MID_DECIMAL(){return this._MID_DECIMAL||(this._MID_DECIMAL=n.between(n.MIN_DECIMAL,n.MAX_DECIMAL)),this._MID_DECIMAL}static get INITIAL_MIN_DECIMAL(){return this._INITIAL_MIN_DECIMAL||(this._INITIAL_MIN_DECIMAL=a.LexoDecimal.parse("100000",n.NUMERAL_SYSTEM)),this._INITIAL_MIN_DECIMAL}static get INITIAL_MAX_DECIMAL(){return this._INITIAL_MAX_DECIMAL||(this._INITIAL_MAX_DECIMAL=a.LexoDecimal.parse(n.NUMERAL_SYSTEM.toChar(n.NUMERAL_SYSTEM.getBase()-2)+"00000",n.NUMERAL_SYSTEM)),this._INITIAL_MAX_DECIMAL}static min(){return n.from(t.default.BUCKET_0,n.MIN_DECIMAL)}static middle(){const i=n.min();return i.between(n.max(i.bucket))}static max(i=t.default.BUCKET_0){return n.from(i,n.MAX_DECIMAL)}static initial(i){return i===t.default.BUCKET_0?n.from(i,n.INITIAL_MIN_DECIMAL):n.from(i,n.INITIAL_MAX_DECIMAL)}static between(i,l){if(i.getSystem().getBase()!==l.getSystem().getBase())throw new Error("Expected same system");let d=i,p=l,c;if(i.getScale()<l.getScale()){if(c=l.setScale(i.getScale(),!1),i.compareTo(c)>=0)return n.mid(i,l);p=c}if(i.getScale()>p.getScale()){if(c=i.setScale(p.getScale(),!0),c.compareTo(p)>=0)return n.mid(i,l);d=c}let f;for(let h=d.getScale();h>0;p=f){const b=h-1,g=d.setScale(b,!0);if(f=p.setScale(b,!1),g.compareTo(f)===0)return n.checkMid(i,l,g);if(g.compareTo(f)>0)break;h=b,d=g}let m=n.middleInternal(i,l,d,p),u;for(let h=m.getScale();h>0;h=u){u=h-1;const b=m.setScale(u);if(i.compareTo(b)>=0||b.compareTo(l)>=0)break;m=b}return m}static parse(i){const l=i.split("|"),d=t.default.from(l[0]),p=a.LexoDecimal.parse(l[1],n.NUMERAL_SYSTEM);return new n(d,p)}static from(i,l){if(l.getSystem().getBase()!==n.NUMERAL_SYSTEM.getBase())throw new Error("Expected different system");return new n(i,l)}static middleInternal(i,l,d,p){const c=n.mid(d,p);return n.checkMid(i,l,c)}static checkMid(i,l,d){return i.compareTo(d)>=0||d.compareTo(l)>=0?n.mid(i,l):d}static mid(i,l){const p=i.add(l).multiply(a.LexoDecimal.half(i.getSystem())),c=i.getScale()>l.getScale()?i.getScale():l.getScale();if(p.getScale()>c){const f=p.setScale(c,!1);if(f.compareTo(i)>0)return f;const m=p.setScale(c,!0);if(m.compareTo(l)<0)return m}return p}static formatDecimal(i){const l=i.format(),d=new o.default(l);let p=l.indexOf(n.NUMERAL_SYSTEM.getRadixPointChar());const c=n.NUMERAL_SYSTEM.toChar(0);for(p<0&&(p=l.length,d.append(n.NUMERAL_SYSTEM.getRadixPointChar()));p<6;)d.insert(0,c),++p;for(;d[d.length-1]===c;)d.length=d.length-1;return d.toString()}genPrev(){if(this.isMax())return new n(this.bucket,n.INITIAL_MAX_DECIMAL);const i=this.decimal.floor();let d=a.LexoDecimal.from(i).subtract(n.EIGHT_DECIMAL);return d.compareTo(n.MIN_DECIMAL)<=0&&(d=n.between(n.MIN_DECIMAL,this.decimal)),new n(this.bucket,d)}genNext(){if(this.isMin())return new n(this.bucket,n.INITIAL_MIN_DECIMAL);const i=this.decimal.ceil();let d=a.LexoDecimal.from(i).add(n.EIGHT_DECIMAL);return d.compareTo(n.MAX_DECIMAL)>=0&&(d=n.between(this.decimal,n.MAX_DECIMAL)),new n(this.bucket,d)}between(i){if(!this.bucket.equals(i.bucket))throw new Error("Between works only within the same bucket");const l=this.decimal.compareTo(i.decimal);if(l>0)return new n(this.bucket,n.between(i.decimal,this.decimal));if(l===0)throw new Error("Try to rank between issues with same rank this="+this+" other="+i+" this.decimal="+this.decimal+" other.decimal="+i.decimal);return new n(this.bucket,n.between(this.decimal,i.decimal))}getBucket(){return this.bucket}getDecimal(){return this.decimal}inNextBucket(){return n.from(this.bucket.next(),this.decimal)}inPrevBucket(){return n.from(this.bucket.prev(),this.decimal)}isMin(){return this.decimal.equals(n.MIN_DECIMAL)}isMax(){return this.decimal.equals(n.MAX_DECIMAL)}format(){return this.value}equals(i){return this===i?!0:i?this.value===i.value:!1}toString(){return this.value}compareTo(i){return this===i?0:i?this.value.localeCompare(i.value):1}}return xt.LexoRank=n,xt}(function(a){var t=ue&&ue.__createBinding||(Object.create?function(r,n,s,i){i===void 0&&(i=s);var l=Object.getOwnPropertyDescriptor(n,s);(!l||("get"in l?!n.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:function(){return n[s]}}),Object.defineProperty(r,i,l)}:function(r,n,s,i){i===void 0&&(i=s),r[i]=n[s]}),o=ue&&ue.__exportStar||function(r,n){for(var s in r)s!=="default"&&!Object.prototype.hasOwnProperty.call(n,s)&&t(n,r,s)};Object.defineProperty(a,"__esModule",{value:!0}),o(Qo(),a),o(Ko(),a),o(Mt,a),o(ct,a)})(qo),function(a){var t=ue&&ue.__createBinding||(Object.create?function(r,n,s,i){i===void 0&&(i=s);var l=Object.getOwnPropertyDescriptor(n,s);(!l||("get"in l?!n.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:function(){return n[s]}}),Object.defineProperty(r,i,l)}:function(r,n,s,i){i===void 0&&(i=s),r[i]=n[s]}),o=ue&&ue.__exportStar||function(r,n){for(var s in r)s!=="default"&&!Object.prototype.hasOwnProperty.call(n,s)&&t(n,r,s)};Object.defineProperty(a,"__esModule",{value:!0}),o(qo,a),o(La,a)}(ie);function Jo(a){return(a==null?void 0:a.reduce((t,o)=>{var r;return t+(((r=o.activities)==null?void 0:r.length)??0)},0))??0}function m2(a){return(a==null?void 0:a.reduce((t,o)=>{var r;return t+(((r=o.milestones)==null?void 0:r.length)??0)},0))??0}function f2(a){return(a==null?void 0:a.reduce((t,o)=>{var n;const r=(n=o.milestones)!=null&&n.length?Jo(o.milestones):0;return t+r},0))??0}function h2(a){return a.split(" ").slice(0,2).map(t=>t.charAt(0).toLocaleLowerCase()).join("")}function Ot(a,t){if(a.moved)return dt(t,a.moved.newIndex)}function dt(a,t){if(t===0)if(a.length>1){const o=a[t+1];return ie.LexoRank.parse(o.rank).genPrev().format()}else return ie.LexoRank.middle().format();else if(t===a.length-1){const o=a[t-1];return ie.LexoRank.parse(o.rank).genNext().format()}else{const o=a[t-1],r=a[t+1];return ie.LexoRank.parse(r.rank).between(ie.LexoRank.parse(o.rank)).format()}}function ra(a,t="dd/MM/yyyy"){if(!a)return"";const o=St(a);return Lo(o)?Zo(o,t):""}function Da(a,t){return a.status.id===t.id}function g2(a,t){return a.activities.length===0?!1:!a.activities.some(o=>!Da(o,t))}function _2(a,t){return{...a,status:g2(a,t)?kt.done:kt.todo}}const er=a=>{const{firstName:t,lastName:o}=a||{};return`${t??""}${t?" ":""}${o??""}`};function v2(a,t){const o=a.replace("#",""),r=parseInt(o.slice(0,2),16),n=parseInt(o.slice(2,4),16),s=parseInt(o.slice(4,6),16);return`rgba(${r}, ${n}, ${s}, ${t})`}function C2(a,t=.15){var o;if(a.startsWith("#"))return v2(a,t);if(a.startsWith("rgba")){const r=(o=a.match(/rgba?\(([^)]+)\)/))==null?void 0:o[1].split(",").map(n=>n.trim());if(r&&r.length>=3){const[n,s,i]=r;return`rgba(${n}, ${s}, ${i}, ${t})`}}return a}function tr(a,t,o){const r=e.ref(""),n=e.ref(!1),s=e.ref({top:0,left:0}),i=e.computed(()=>o.value.filter(m=>m.firstName||m.lastName).map(m=>{const h=[m.firstName,m.lastName].filter(Boolean).join("_").replace(/\s+/g,"_");return{id:m.id,name:h}})),l=e.computed(()=>i.value.filter(m=>m.name.toLowerCase().includes(r.value.toLowerCase())));return{showMentionList:n,mentionListPosition:s,filteredUsers:l,mentionQuery:r,handleInput:m=>{const u=m.target,h=u.selectionStart,g=u.value.slice(0,h).match(/@(\w*)$/);g?(r.value=g[1],n.value=!0,e.nextTick(()=>{const{top:y,left:_}=b2(u,h);s.value={top:y,left:_}})):n.value=!1},handleKeydown:m=>{m.key==="Escape"&&n.value&&(n.value=!1)},selectUserMention:m=>{const u=a.value;if(!u)return;const h=u.selectionStart,b=t.value,g=b.slice(0,h).replace(/@(\w*)$/,`@${m} `),y=b.slice(h);t.value=g+y,n.value=!1,e.nextTick(()=>{u.focus(),u.setSelectionRange(g.length,g.length)})},getMentionedUserIds:m=>{const u=Array.from(m.matchAll(/@([\p{L}\p{M}0-9-_]+)/gu)).map(h=>h[1]);return i.value.filter(h=>u.includes(h.name)).map(h=>h.id)}}}function b2(a,t){const o=document.createElement("div"),r=document.createElement("span"),n=window.getComputedStyle(a),s=["boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","direction","letterSpacing","wordSpacing"];o.style.position="absolute",o.style.visibility="hidden",o.style.whiteSpace="pre-wrap",o.style.overflow="hidden",s.forEach(u=>{o.style[u]=n.getPropertyValue(u)}),o.style.width=n.getPropertyValue("width"),o.scrollTop=a.scrollTop,o.scrollLeft=a.scrollLeft;const i=a.value.substring(0,t),l=a.value.substring(t)||".";o.textContent=i,r.textContent=l[0],o.appendChild(r),document.body.appendChild(o);const d=r.getBoundingClientRect(),p=o.getBoundingClientRect(),c=a.getBoundingClientRect(),f=d.top-p.top+c.top-a.scrollTop,m=d.left-p.left+c.left-a.scrollLeft;return document.body.removeChild(o),{top:f+40,left:m}}const y2=["title"],w2={key:0,className:"ao-avatar__initials"},k2=["src"],ye=e.defineComponent({__name:"AoAvatar",props:{userName:{},avatarUrl:{},isClosable:{type:Boolean},size:{default:qt.MD},color:{default:"primary"}},emits:["close"],setup(a,{emit:t}){const o=a,r=e.computed(()=>[`ao-avatar--${o.color}`,...o.avatarUrl?["ao-avatar-img",`ao-avatar-img--${o.size}`]:["ao-avatar",`ao-avatar--${o.size}`]]),n=h2(o.userName),s=i=>{t("close",i)};return(i,l)=>(e.openBlock(),e.createElementBlock("div",{role:"img",class:e.normalizeClass(r.value),title:i.userName},[i.avatarUrl?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",w2,e.toDisplayString(e.unref(n)),1)),i.avatarUrl?(e.openBlock(),e.createElementBlock("img",{key:1,className:"ao-avatar__image",src:i.avatarUrl},null,8,k2)):e.createCommentVNode("",!0),i.isClosable?(e.openBlock(),e.createBlock(Y,{key:2,"icon-name":"CloseRounded",class:"ao-avatar__close",color:i.color,corners:"round",onClick:e.withModifiers(s,["stop"])},null,8,["color","onClick"])):e.createCommentVNode("",!0)],10,y2))}}),T4="",$2={class:"ao-card-template__subitems"},E2={class:"ao-card-template__subitem"},B2={class:"ao-card-template__subitem-number"},V2={class:"ao-card-template__subitem"},S2={class:"ao-card-template__subitem"},N2={class:"ao-card-template__body"},x2={class:"ao-card-template__col ao-card-template__col--phases"},M2={class:"ao-card-template__col-title"},T2={class:"ao-card-template__col-label"},A2={key:0,class:"ao-card-template__col-body ao-card-template__phases-list"},O2={class:"ao-card-template__footer"},I2={key:0,class:"ao-card-template__col ao-card-template__col--updated-at"},L2={class:"ao-card-template__col-title"},D2={class:"ao-card-template__col-label"},j2={class:"ao-card-template__col-body"},P2={key:1,class:"ao-card-template__col ao-card-template__col--updated-by"},z2={class:"ao-card-template__col-title"},H2={class:"ao-card-template__col-label"},R2={class:"ao-card-template__col-body"},U2={class:"ao-card-template-item__secondary"},ja=5,F2=e.defineComponent({__name:"AoCardTemplate",props:{id:{},title:{},activities:{},milestones:{},phases:{},updatedAt:{},updatedBy:{}},emits:["updateTitle","deleteItem"],setup(a,{emit:t}){const o=a,r=l=>{t("updateTitle",l)},n=(l,d)=>{t("deleteItem",l,d)},s=e.computed(()=>{var l;return((l=o.phases)==null?void 0:l.slice(0,ja))??[]}),i=e.computed(()=>o.phases&&o.phases.length>ja?o.phases.length-ja:0);return(l,d)=>(e.openBlock(),e.createBlock(So,{id:l.id,title:l.title,"is-draggable":!0,"onUpdate:title":r},e.createSlots({subtitle:e.withCtx(()=>[e.createElementVNode("ul",$2,[e.createElementVNode("li",E2,[e.createVNode(Q,{name:"MountainFlagOutlineRounded",size:"sm"}),e.createElementVNode("span",B2,e.toDisplayString(l.milestones),1)]),e.createElementVNode("li",V2,[e.createVNode(Q,{name:"TaskOutlineRounded",size:"sm"}),e.createElementVNode("span",S2,e.toDisplayString(l.activities),1)])])]),default:e.withCtx(()=>[e.createElementVNode("div",N2,[e.createElementVNode("div",x2,[e.createElementVNode("div",M2,[e.createVNode(Q,{name:"WaterfallChartRounded",size:"sm"}),e.createElementVNode("span",T2,e.toDisplayString(l.$t("template.phases.title")),1)]),l.phases?(e.openBlock(),e.createElementBlock("ul",A2,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,p=>(e.openBlock(),e.createBlock(wt,{key:p.id,label:p.name||p.id,color:"primary",variant:"solid"},null,8,["label"]))),128)),i.value>0?(e.openBlock(),e.createBlock(wt,{key:0,label:`+${i.value} more`,color:"primary-lighter",variant:"solid"},null,8,["label"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)])])]),secondary:e.withCtx(()=>[e.createElementVNode("div",U2,[e.createVNode(Y,{"icon-name":"DeleteOutlineRounded",variant:"ghost",size:"md",corners:"round",onClick:d[0]||(d[0]=e.withModifiers(p=>n(l.id,l.title),["stop"]))})])]),_:2},[l.updatedBy||l.updatedAt?{name:"footer",fn:e.withCtx(()=>[e.createElementVNode("div",O2,[l.updatedAt?(e.openBlock(),e.createElementBlock("div",I2,[e.createElementVNode("div",L2,[e.createElementVNode("span",D2,e.toDisplayString(l.$t("template.updatedAt.label")),1)]),e.createElementVNode("div",j2,[e.createElementVNode("span",null,e.toDisplayString(l.updatedAt),1)])])):e.createCommentVNode("",!0),l.updatedBy?(e.openBlock(),e.createElementBlock("div",P2,[e.createElementVNode("div",z2,[e.createElementVNode("span",H2,e.toDisplayString(l.$t("template.updatedBy.label")),1)]),e.createElementVNode("div",R2,[e.createVNode(ye,{"user-name":l.updatedBy},null,8,["user-name"])])])):e.createCommentVNode("",!0)])]),key:"0"}:void 0]),1032,["id","title"]))}}),A4="",Z2={class:"ao-page-header"},W2={class:"ao-page-header-main"},q2={key:0,class:"ao-page-header-secondary"},It=e.defineComponent({__name:"AoPageHeader",props:{canGoBack:{type:Boolean}},emits:["goBack"],setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("header",Z2,[e.createElementVNode("div",W2,[t.canGoBack?(e.openBlock(),e.createBlock(Y,{key:0,"icon-name":"ArrowBackRounded",variant:"ghost",onClick:o[0]||(o[0]=r=>t.$emit("goBack"))})):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"primary")]),t.$slots.secondary?(e.openBlock(),e.createElementBlock("div",q2,[e.renderSlot(t.$slots,"secondary")])):e.createCommentVNode("",!0)]))}}),O4="",Y2=["type"],K2={key:0,class:"ao-button-card__label"},Pe=e.defineComponent({__name:"AoButtonCard",props:{label:{default:()=>""},iconName:{},iconPosition:{},type:{default:()=>"button"},color:{default:()=>Ta.BLACK},size:{default:()=>qt.MD},isLoading:{type:Boolean,default:()=>!1},corners:{default:()=>Bo.ROUNDED}},setup(a){const t=a,o=e.computed(()=>t.size),r=e.computed(()=>t.isLoading?"Loading":t.iconName);return(n,s)=>(e.openBlock(),e.createElementBlock("button",{type:n.type,class:e.normalizeClass(["ao-button-card",`ao-button-card--${n.color}`,`ao-button-card--${n.corners}`,n.$attrs.disabled?"ao-button-card--is-disabled":""])},[e.renderSlot(n.$slots,"default",{},()=>[n.label?(e.openBlock(),e.createElementBlock("span",K2,e.toDisplayString(n.label),1)):e.createCommentVNode("",!0)]),r.value?(e.openBlock(),e.createBlock(Q,{key:0,name:r.value,class:"ao-button-card__icon",size:o.value},null,8,["name","size"])):e.createCommentVNode("",!0)],10,Y2))}}),I4="",G2={class:"ao-card-template-item__footer"},X2={key:0,class:"ao-card-template-item__subitem"},Q2={class:"ao-card-template-item__subitem-number"},J2={class:"ao-card-template-item__secondary"},Pa=e.defineComponent({__name:"AoCardTemplateItem",props:{milestones:{},activities:{},tasks:{},rules:{}},emits:["update:title","remove"],setup(a,{emit:t}){const o=i=>{t("update:title",i)},r=["milestones","activities","rules","tasks"],n={milestones:"MountainFlagOutlineRounded",activities:"TaskOutlineRounded",rules:"FlowsheetOutlineRounded",tasks:"ChecklistRounded"},s=()=>{t("remove")};return(i,l)=>(e.openBlock(),e.createBlock(So,{"onUpdate:title":o},{footer:e.withCtx(()=>[e.createElementVNode("ul",G2,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(r,d=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:d},[i.$props[d]?(e.openBlock(),e.createElementBlock("li",X2,[e.createVNode(Q,{name:n[d],size:"sm"},null,8,["name"]),e.createElementVNode("span",Q2,e.toDisplayString(i.$props[d]),1)])):e.createCommentVNode("",!0)],64))),64))])]),secondary:e.withCtx(()=>[e.createElementVNode("div",J2,[e.createVNode(Y,{"icon-name":"DeleteOutlineRounded",variant:"ghost",size:"md",corners:"round",onClick:e.withModifiers(s,["stop"])},null,8,["onClick"])])]),_:1}))}}),L4="",eu=e.defineComponent({__name:"AoCardTemplateItemPhase",props:{id:{},name:{},milestones:{}},setup(a){const t=a,o=e.computed(()=>{var n;return(n=t.milestones)==null?void 0:n.length}),r=e.computed(()=>t.milestones?Jo(t.milestones):0);return(n,s)=>(e.openBlock(),e.createBlock(Pa,e.mergeProps({id:n.id,title:n.name,activities:r.value,milestones:o.value},n.$attrs),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["id","title","activities","milestones"]))}}),tu=e.defineComponent({__name:"AoCardTemplateItemMilestone",props:{activities:{}},setup(a){const t=a,o=e.computed(()=>{var r;return((r=t.activities)==null?void 0:r.length)||0});return(r,n)=>(e.openBlock(),e.createBlock(Pa,{activities:o.value},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["activities"]))}}),au={class:"ao-list__footer"},ou=e.defineComponent({__name:"AoTemplateDetailsMilestones",props:{templateId:{},milestoneId:{},phase:{}},emits:["addMilestone","updateMilestone","updatePhase","removeMilestone"],setup(a,{emit:t}){const o=a,r=()=>{t("addMilestone",{phaseId:o.phase.id})},n=l=>{t("removeMilestone",{phaseId:o.phase.id,id:l})},s=l=>{t("updateMilestone",l)},i=l=>{if(l.moved){const d=Ot(l,o.phase.milestones);t("updateMilestone",{id:l.moved.element.id,rank:d})}};return(l,d)=>l.phase?(e.openBlock(),e.createBlock(e.unref(De),{key:0,"model-value":l.phase.milestones,class:"ao-templates__list",title:l.$t("template.milestones.title"),handle:".ao-card__drag","item-key":"id",onChange:i},{header:e.withCtx(()=>[e.createVNode(ne,{title:"Milestones",level:3,class:"ao-list__title"})]),item:e.withCtx(({element:p})=>[(e.openBlock(),e.createBlock(tu,{id:p.id,key:p.id,title:p.name,activities:p.activities,"is-active":l.milestoneId===p.id,"is-draggable":!0,"onUpdate:title":c=>s({id:p.id,name:c}),onClick:c=>l.$router.push({params:{milestoneId:p.id}}),onRemove:()=>n(p.id)},null,8,["id","title","activities","is-active","onUpdate:title","onClick","onRemove"]))]),footer:e.withCtx(()=>[e.createElementVNode("div",au,[e.createVNode(Pe,{"icon-name":"AddBoxOutlineRounded",label:l.$t("template.milestones.add"),onClick:r},null,8,["label"])])]),_:1},8,["model-value","title"])):e.createCommentVNode("",!0)}}),ru=e.defineComponent({__name:"AoCardTemplateItemActivity",props:{name:{},tasks:{}},setup(a){const t=a,o=e.computed(()=>{var r;return((r=t.tasks)==null?void 0:r.length)||0});return(r,n)=>(e.openBlock(),e.createBlock(Pa,{tasks:o.value},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["tasks"]))}}),nu={class:"ao-list__footer"},iu=e.defineComponent({__name:"AoTemplateDetailsActivities",props:{templateId:{},phaseId:{},milestone:{},activityId:{}},emits:["addActivity","updateActivity","updateMilestone","removeActivity"],setup(a,{emit:t}){const o=a,r=()=>{t("addActivity",{milestoneId:o.milestone.id})},n=l=>{t("updateActivity",{...l})},s=l=>{t("removeActivity",{id:l})},i=l=>{if(l.moved){const d=Ot(l,o.milestone.activities);t("updateActivity",{id:l.moved.element.id,rank:d})}};return(l,d)=>l.milestone?(e.openBlock(),e.createBlock(e.unref(De),{key:0,"model-value":l.milestone.activities,title:l.$t("template.activities.title"),class:"ao-templates__list",handle:".ao-card__drag","item-key":"id",onChange:i},{header:e.withCtx(()=>[e.createVNode(ne,{title:"Activities",level:3,class:"ao-list__title"})]),item:e.withCtx(({element:p})=>[(e.openBlock(),e.createBlock(ru,{id:p.id,key:p.id,title:p.name,tasks:p.tasks,"is-active":l.activityId===p.id,"is-draggable":!0,"onUpdate:title":c=>n({id:p.id,name:c}),onClick:c=>l.$router.push({params:{activityId:p.id}}),onRemove:()=>s(p.id)},null,8,["id","title","tasks","is-active","onUpdate:title","onClick","onRemove"]))]),footer:e.withCtx(()=>[e.createElementVNode("div",nu,[e.createVNode(Pe,{"icon-name":"AddBoxOutlineRounded",label:l.$t("template.activities.add"),onClick:r},null,8,["label"])])]),_:1},8,["model-value","title"])):e.createCommentVNode("",!0)}}),su={class:"ao-modal"},lu={key:0,class:"ao-modal__header"},cu={class:"ao-modal__header-meta"},du={class:"ao-modal__title-group"},pu={class:"ao-modal__body"},uu={key:1,class:"ao-modal__footer"},na=e.defineComponent({__name:"AoModal",props:{size:{default:"md"}},emits:["close"],setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["ao-modal__wrapper",`ao-modal__wrapper--${t.size}`])},[e.createElementVNode("div",{class:"ao-modal__backdrop",onClick:o[0]||(o[0]=r=>t.$emit("close"))}),e.createElementVNode("div",su,[t.$slots.header?(e.openBlock(),e.createElementBlock("div",lu,[e.createElementVNode("div",cu,[e.createVNode(Y,{"icon-name":"CloseRounded",variant:"ghost",color:"primary",onClick:o[1]||(o[1]=r=>t.$emit("close"))})]),e.createElementVNode("header",du,[e.renderSlot(t.$slots,"header")])])):e.createCommentVNode("",!0),e.createElementVNode("div",pu,[e.renderSlot(t.$slots,"default")]),t.$slots.footer?(e.openBlock(),e.createElementBlock("footer",uu,[e.renderSlot(t.$slots,"footer")])):e.createCommentVNode("",!0)])],2))}}),D4="",Lt=Math.min,fe=Math.max,ia=Math.round,sa=Math.floor,ze=a=>({x:a,y:a}),mu={left:"right",right:"left",bottom:"top",top:"bottom"},fu={start:"end",end:"start"};function za(a,t){return typeof a=="function"?a(t):a}function pt(a){return a.split("-")[0]}function la(a){return a.split("-")[1]}function hu(a){return a==="x"?"y":"x"}function ar(a){return a==="y"?"height":"width"}function Ha(a){return["top","bottom"].includes(pt(a))?"y":"x"}function or(a){return hu(Ha(a))}function gu(a,t,o){o===void 0&&(o=!1);const r=la(a),n=or(a),s=ar(n);let i=n==="x"?r===(o?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=ca(i)),[i,ca(i)]}function _u(a){const t=ca(a);return[Ra(a),t,Ra(t)]}function Ra(a){return a.replace(/start|end/g,t=>fu[t])}function vu(a,t,o){const r=["left","right"],n=["right","left"],s=["top","bottom"],i=["bottom","top"];switch(a){case"top":case"bottom":return o?t?n:r:t?r:n;case"left":case"right":return t?s:i;default:return[]}}function Cu(a,t,o,r){const n=la(a);let s=vu(pt(a),o==="start",r);return n&&(s=s.map(i=>i+"-"+n),t&&(s=s.concat(s.map(Ra)))),s}function ca(a){return a.replace(/left|right|bottom|top/g,t=>mu[t])}function bu(a){return{top:0,right:0,bottom:0,left:0,...a}}function yu(a){return typeof a!="number"?bu(a):{top:a,right:a,bottom:a,left:a}}function da(a){return{...a,top:a.y,left:a.x,right:a.x+a.width,bottom:a.y+a.height}}function rr(a,t,o){let{reference:r,floating:n}=a;const s=Ha(t),i=or(t),l=ar(i),d=pt(t),p=s==="y",c=r.x+r.width/2-n.width/2,f=r.y+r.height/2-n.height/2,m=r[l]/2-n[l]/2;let u;switch(d){case"top":u={x:c,y:r.y-n.height};break;case"bottom":u={x:c,y:r.y+r.height};break;case"right":u={x:r.x+r.width,y:f};break;case"left":u={x:r.x-n.width,y:f};break;default:u={x:r.x,y:r.y}}switch(la(t)){case"start":u[i]-=m*(o&&p?-1:1);break;case"end":u[i]+=m*(o&&p?-1:1);break}return u}const wu=async(a,t,o)=>{const{placement:r="bottom",strategy:n="absolute",middleware:s=[],platform:i}=o,l=s.filter(Boolean),d=await(i.isRTL==null?void 0:i.isRTL(t));let p=await i.getElementRects({reference:a,floating:t,strategy:n}),{x:c,y:f}=rr(p,r,d),m=r,u={},h=0;for(let b=0;b<l.length;b++){const{name:g,fn:y}=l[b],{x:_,y:C,data:v,reset:B}=await y({x:c,y:f,initialPlacement:r,placement:m,strategy:n,middlewareData:u,rects:p,platform:i,elements:{reference:a,floating:t}});if(c=_??c,f=C??f,u={...u,[g]:{...u[g],...v}},B&&h<=50){h++,typeof B=="object"&&(B.placement&&(m=B.placement),B.rects&&(p=B.rects===!0?await i.getElementRects({reference:a,floating:t,strategy:n}):B.rects),{x:c,y:f}=rr(p,m,d)),b=-1;continue}}return{x:c,y:f,placement:m,strategy:n,middlewareData:u}};async function nr(a,t){var o;t===void 0&&(t={});const{x:r,y:n,platform:s,rects:i,elements:l,strategy:d}=a,{boundary:p="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:m=!1,padding:u=0}=za(t,a),h=yu(u),g=l[m?f==="floating"?"reference":"floating":f],y=da(await s.getClippingRect({element:(o=await(s.isElement==null?void 0:s.isElement(g)))==null||o?g:g.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:p,rootBoundary:c,strategy:d})),_=f==="floating"?{...i.floating,x:r,y:n}:i.reference,C=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),v=await(s.isElement==null?void 0:s.isElement(C))?await(s.getScale==null?void 0:s.getScale(C))||{x:1,y:1}:{x:1,y:1},B=da(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({rect:_,offsetParent:C,strategy:d}):_);return{top:(y.top-B.top+h.top)/v.y,bottom:(B.bottom-y.bottom+h.bottom)/v.y,left:(y.left-B.left+h.left)/v.x,right:(B.right-y.right+h.right)/v.x}}const ku=function(a){return a===void 0&&(a={}),{name:"flip",options:a,async fn(t){var o,r;const{placement:n,middlewareData:s,rects:i,initialPlacement:l,platform:d,elements:p}=t,{mainAxis:c=!0,crossAxis:f=!0,fallbackPlacements:m,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:b=!0,...g}=za(a,t);if((o=s.arrow)!=null&&o.alignmentOffset)return{};const y=pt(n),_=pt(l)===l,C=await(d.isRTL==null?void 0:d.isRTL(p.floating)),v=m||(_||!b?[ca(l)]:_u(l));!m&&h!=="none"&&v.push(...Cu(l,b,h,C));const B=[l,...v],E=await nr(t,g),N=[];let A=((r=s.flip)==null?void 0:r.overflows)||[];if(c&&N.push(E[y]),f){const O=gu(n,i,C);N.push(E[O[0]],E[O[1]])}if(A=[...A,{placement:n,overflows:N}],!N.every(O=>O<=0)){var z,U;const O=(((z=s.flip)==null?void 0:z.index)||0)+1,H=B[O];if(H)return{data:{index:O,overflows:A},reset:{placement:H}};let K=(U=A.filter(W=>W.overflows[0]<=0).sort((W,F)=>W.overflows[1]-F.overflows[1])[0])==null?void 0:U.placement;if(!K)switch(u){case"bestFit":{var Z;const W=(Z=A.map(F=>[F.placement,F.overflows.filter(S=>S>0).reduce((S,$)=>S+$,0)]).sort((F,S)=>F[1]-S[1])[0])==null?void 0:Z[0];W&&(K=W);break}case"initialPlacement":K=l;break}if(n!==K)return{reset:{placement:K}}}return{}}}},$u=function(a){return a===void 0&&(a={}),{name:"size",options:a,async fn(t){const{placement:o,rects:r,platform:n,elements:s}=t,{apply:i=()=>{},...l}=za(a,t),d=await nr(t,l),p=pt(o),c=la(o),f=Ha(o)==="y",{width:m,height:u}=r.floating;let h,b;p==="top"||p==="bottom"?(h=p,b=c===(await(n.isRTL==null?void 0:n.isRTL(s.floating))?"start":"end")?"left":"right"):(b=p,h=c==="end"?"top":"bottom");const g=u-d[h],y=m-d[b],_=!t.middlewareData.shift;let C=g,v=y;if(f){const E=m-d.left-d.right;v=c||_?Lt(y,E):E}else{const E=u-d.top-d.bottom;C=c||_?Lt(g,E):E}if(_&&!c){const E=fe(d.left,0),N=fe(d.right,0),A=fe(d.top,0),z=fe(d.bottom,0);f?v=m-2*(E!==0||N!==0?E+N:fe(d.left,d.right)):C=u-2*(A!==0||z!==0?A+z:fe(d.top,d.bottom))}await i({...t,availableWidth:v,availableHeight:C});const B=await n.getDimensions(s.floating);return m!==B.width||u!==B.height?{reset:{rects:!0}}:{}}}};function He(a){return ir(a)?(a.nodeName||"").toLowerCase():"#document"}function de(a){var t;return(a==null||(t=a.ownerDocument)==null?void 0:t.defaultView)||window}function Se(a){var t;return(t=(ir(a)?a.ownerDocument:a.document)||window.document)==null?void 0:t.documentElement}function ir(a){return a instanceof Node||a instanceof de(a).Node}function Ne(a){return a instanceof Element||a instanceof de(a).Element}function we(a){return a instanceof HTMLElement||a instanceof de(a).HTMLElement}function sr(a){return typeof ShadowRoot>"u"?!1:a instanceof ShadowRoot||a instanceof de(a).ShadowRoot}function Dt(a){const{overflow:t,overflowX:o,overflowY:r,display:n}=he(a);return/auto|scroll|overlay|hidden|clip/.test(t+r+o)&&!["inline","contents"].includes(n)}function Eu(a){return["table","td","th"].includes(He(a))}function Ua(a){const t=Fa(),o=he(a);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!t&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!t&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(o.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(o.contain||"").includes(r))}function Bu(a){let t=ut(a);for(;we(t)&&!pa(t);){if(Ua(t))return t;t=ut(t)}return null}function Fa(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function pa(a){return["html","body","#document"].includes(He(a))}function he(a){return de(a).getComputedStyle(a)}function ua(a){return Ne(a)?{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop}:{scrollLeft:a.pageXOffset,scrollTop:a.pageYOffset}}function ut(a){if(He(a)==="html")return a;const t=a.assignedSlot||a.parentNode||sr(a)&&a.host||Se(a);return sr(t)?t.host:t}function lr(a){const t=ut(a);return pa(t)?a.ownerDocument?a.ownerDocument.body:a.body:we(t)&&Dt(t)?t:lr(t)}function jt(a,t,o){var r;t===void 0&&(t=[]),o===void 0&&(o=!0);const n=lr(a),s=n===((r=a.ownerDocument)==null?void 0:r.body),i=de(n);return s?t.concat(i,i.visualViewport||[],Dt(n)?n:[],i.frameElement&&o?jt(i.frameElement):[]):t.concat(n,jt(n))}function cr(a){const t=he(a);let o=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const n=we(a),s=n?a.offsetWidth:o,i=n?a.offsetHeight:r,l=ia(o)!==s||ia(r)!==i;return l&&(o=s,r=i),{width:o,height:r,$:l}}function Za(a){return Ne(a)?a:a.contextElement}function mt(a){const t=Za(a);if(!we(t))return ze(1);const o=t.getBoundingClientRect(),{width:r,height:n,$:s}=cr(t);let i=(s?ia(o.width):o.width)/r,l=(s?ia(o.height):o.height)/n;return(!i||!Number.isFinite(i))&&(i=1),(!l||!Number.isFinite(l))&&(l=1),{x:i,y:l}}const Vu=ze(0);function dr(a){const t=de(a);return!Fa()||!t.visualViewport?Vu:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Su(a,t,o){return t===void 0&&(t=!1),!o||t&&o!==de(a)?!1:t}function Je(a,t,o,r){t===void 0&&(t=!1),o===void 0&&(o=!1);const n=a.getBoundingClientRect(),s=Za(a);let i=ze(1);t&&(r?Ne(r)&&(i=mt(r)):i=mt(a));const l=Su(s,o,r)?dr(s):ze(0);let d=(n.left+l.x)/i.x,p=(n.top+l.y)/i.y,c=n.width/i.x,f=n.height/i.y;if(s){const m=de(s),u=r&&Ne(r)?de(r):r;let h=m.frameElement;for(;h&&r&&u!==m;){const b=mt(h),g=h.getBoundingClientRect(),y=he(h),_=g.left+(h.clientLeft+parseFloat(y.paddingLeft))*b.x,C=g.top+(h.clientTop+parseFloat(y.paddingTop))*b.y;d*=b.x,p*=b.y,c*=b.x,f*=b.y,d+=_,p+=C,h=de(h).frameElement}}return da({width:c,height:f,x:d,y:p})}function Nu(a){let{rect:t,offsetParent:o,strategy:r}=a;const n=we(o),s=Se(o);if(o===s)return t;let i={scrollLeft:0,scrollTop:0},l=ze(1);const d=ze(0);if((n||!n&&r!=="fixed")&&((He(o)!=="body"||Dt(s))&&(i=ua(o)),we(o))){const p=Je(o);l=mt(o),d.x=p.x+o.clientLeft,d.y=p.y+o.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-i.scrollLeft*l.x+d.x,y:t.y*l.y-i.scrollTop*l.y+d.y}}function xu(a){return Array.from(a.getClientRects())}function pr(a){return Je(Se(a)).left+ua(a).scrollLeft}function Mu(a){const t=Se(a),o=ua(a),r=a.ownerDocument.body,n=fe(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=fe(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-o.scrollLeft+pr(a);const l=-o.scrollTop;return he(r).direction==="rtl"&&(i+=fe(t.clientWidth,r.clientWidth)-n),{width:n,height:s,x:i,y:l}}function Tu(a,t){const o=de(a),r=Se(a),n=o.visualViewport;let s=r.clientWidth,i=r.clientHeight,l=0,d=0;if(n){s=n.width,i=n.height;const p=Fa();(!p||p&&t==="fixed")&&(l=n.offsetLeft,d=n.offsetTop)}return{width:s,height:i,x:l,y:d}}function Au(a,t){const o=Je(a,!0,t==="fixed"),r=o.top+a.clientTop,n=o.left+a.clientLeft,s=we(a)?mt(a):ze(1),i=a.clientWidth*s.x,l=a.clientHeight*s.y,d=n*s.x,p=r*s.y;return{width:i,height:l,x:d,y:p}}function ur(a,t,o){let r;if(t==="viewport")r=Tu(a,o);else if(t==="document")r=Mu(Se(a));else if(Ne(t))r=Au(t,o);else{const n=dr(a);r={...t,x:t.x-n.x,y:t.y-n.y}}return da(r)}function mr(a,t){const o=ut(a);return o===t||!Ne(o)||pa(o)?!1:he(o).position==="fixed"||mr(o,t)}function Ou(a,t){const o=t.get(a);if(o)return o;let r=jt(a,[],!1).filter(l=>Ne(l)&&He(l)!=="body"),n=null;const s=he(a).position==="fixed";let i=s?ut(a):a;for(;Ne(i)&&!pa(i);){const l=he(i),d=Ua(i);!d&&l.position==="fixed"&&(n=null),(s?!d&&!n:!d&&l.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Dt(i)&&!d&&mr(a,i))?r=r.filter(c=>c!==i):n=l,i=ut(i)}return t.set(a,r),r}function Iu(a){let{element:t,boundary:o,rootBoundary:r,strategy:n}=a;const i=[...o==="clippingAncestors"?Ou(t,this._c):[].concat(o),r],l=i[0],d=i.reduce((p,c)=>{const f=ur(t,c,n);return p.top=fe(f.top,p.top),p.right=Lt(f.right,p.right),p.bottom=Lt(f.bottom,p.bottom),p.left=fe(f.left,p.left),p},ur(t,l,n));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Lu(a){return cr(a)}function Du(a,t,o){const r=we(t),n=Se(t),s=o==="fixed",i=Je(a,!0,s,t);let l={scrollLeft:0,scrollTop:0};const d=ze(0);if(r||!r&&!s)if((He(t)!=="body"||Dt(n))&&(l=ua(t)),r){const p=Je(t,!0,s,t);d.x=p.x+t.clientLeft,d.y=p.y+t.clientTop}else n&&(d.x=pr(n));return{x:i.left+l.scrollLeft-d.x,y:i.top+l.scrollTop-d.y,width:i.width,height:i.height}}function fr(a,t){return!we(a)||he(a).position==="fixed"?null:t?t(a):a.offsetParent}function hr(a,t){const o=de(a);if(!we(a))return o;let r=fr(a,t);for(;r&&Eu(r)&&he(r).position==="static";)r=fr(r,t);return r&&(He(r)==="html"||He(r)==="body"&&he(r).position==="static"&&!Ua(r))?o:r||Bu(a)||o}const ju=async function(a){let{reference:t,floating:o,strategy:r}=a;const n=this.getOffsetParent||hr,s=this.getDimensions;return{reference:Du(t,await n(o),r),floating:{x:0,y:0,...await s(o)}}};function Pu(a){return he(a).direction==="rtl"}const zu={convertOffsetParentRelativeRectToViewportRelativeRect:Nu,getDocumentElement:Se,getClippingRect:Iu,getOffsetParent:hr,getElementRects:ju,getClientRects:xu,getDimensions:Lu,getScale:mt,isElement:Ne,isRTL:Pu};function Hu(a,t){let o=null,r;const n=Se(a);function s(){clearTimeout(r),o&&o.disconnect(),o=null}function i(l,d){l===void 0&&(l=!1),d===void 0&&(d=1),s();const{left:p,top:c,width:f,height:m}=a.getBoundingClientRect();if(l||t(),!f||!m)return;const u=sa(c),h=sa(n.clientWidth-(p+f)),b=sa(n.clientHeight-(c+m)),g=sa(p),_={rootMargin:-u+"px "+-h+"px "+-b+"px "+-g+"px",threshold:fe(0,Lt(1,d))||1};let C=!0;function v(B){const E=B[0].intersectionRatio;if(E!==d){if(!C)return i();E?i(!1,E):r=setTimeout(()=>{i(!1,1e-7)},100)}C=!1}try{o=new IntersectionObserver(v,{..._,root:n.ownerDocument})}catch{o=new IntersectionObserver(v,_)}o.observe(a)}return i(!0),s}function Ru(a,t,o,r){r===void 0&&(r={});const{ancestorScroll:n=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:d=!1}=r,p=Za(a),c=n||s?[...p?jt(p):[],...jt(t)]:[];c.forEach(y=>{n&&y.addEventListener("scroll",o,{passive:!0}),s&&y.addEventListener("resize",o)});const f=p&&l?Hu(p,o):null;let m=-1,u=null;i&&(u=new ResizeObserver(y=>{let[_]=y;_&&_.target===p&&u&&(u.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{u&&u.observe(t)})),o()}),p&&!d&&u.observe(p),u.observe(t));let h,b=d?Je(a):null;d&&g();function g(){const y=Je(a);b&&(y.x!==b.x||y.y!==b.y||y.width!==b.width||y.height!==b.height)&&o(),b=y,h=requestAnimationFrame(g)}return o(),()=>{c.forEach(y=>{n&&y.removeEventListener("scroll",o),s&&y.removeEventListener("resize",o)}),f&&f(),u&&u.disconnect(),u=null,d&&cancelAnimationFrame(h)}}const Uu=(a,t,o)=>{const r=new Map,n={platform:zu,...o},s={...n.platform,_c:r};return wu(a,t,{...n,platform:s})},Fu=a=>{const t=e.ref(!1),o=e.ref(),r=e.ref(),n=e.ref(0);function s(){const f=e.unref(a.appendTo);return f?typeof f=="string"?document.getElementById(f)??document.body:f:document.getElementById("floatingElements")??document.body}const i=s(),l=e.ref(()=>{});function d(f){f.relatedTarget&&r.value&&r.value.contains(f.relatedTarget)||a.multiselect.value.deactivate()}function p(){const f=a.multiselect.value.$el,m=f.querySelector(".multiselect-dropdown");if(!m||!f||t.value===!0)return;r.value=m,o.value=f,getComputedStyle(m).getPropertyValue("display")==="none"&&(m.style.display="flex"),n.value=m.offsetHeight,m.style.removeProperty("display"),Object.assign(m.style,{position:"absolute",width:"max-content",top:0,left:0,right:"auto",bottom:"auto",transform:"none",marginTop:0}),i.appendChild(m),a.multiselect.value.handleFocusOut=d;const h=Ru(o.value,r.value,c);l.value=()=>{r.value&&i.contains(r.value)&&i.removeChild(r.value),h()}}function c(){!r.value||!o.value||Uu(o.value,r.value,{strategy:"absolute",placement:"bottom-start",middleware:[ku({fallbackStrategy:"initialPlacement",fallbackPlacements:["top-start","bottom-start"]}),$u({apply({availableWidth:f,availableHeight:m,elements:u,rects:h}){Object.assign(u.floating.style,{minHeight:`${n.value}px`,width:`${h.reference.width}px`,maxWidth:`${f}px`,maxHeight:`${m}px`})}})]}).then(({x:f,y:m})=>{Object.assign(r.value.style,{left:`${f}px`,top:`${m}px`})})}e.onMounted(()=>{p()}),e.onBeforeUnmount(()=>{l.value()}),e.onUnmounted(()=>{l.value()})};function ke(a){return[null,void 0].indexOf(a)!==-1}function Zu(a,t,o){const{object:r,valueProp:n,mode:s}=e.toRefs(a),i=e.getCurrentInstance().proxy,l=o.iv,d=(f,m=!0)=>{l.value=c(f);const u=p(f);t.emit("change",u,i),m&&(t.emit("input",u),t.emit("update:modelValue",u))},p=f=>r.value||ke(f)?f:Array.isArray(f)?f.map(m=>m[n.value]):f[n.value],c=f=>ke(f)?s.value==="single"?{}:[]:f;return{update:d}}function Wu(a,t){const{value:o,modelValue:r,mode:n,valueProp:s}=e.toRefs(a),i=e.ref(n.value!=="single"?[]:{}),l=e.computed(()=>r&&r.value!==void 0?r.value:o.value),d=e.computed(()=>n.value==="single"?i.value[s.value]:i.value.map(c=>c[s.value])),p=e.computed(()=>n.value!=="single"?i.value.map(c=>c[s.value]).join(","):i.value[s.value]);return{iv:i,internalValue:i,ev:l,externalValue:l,textValue:p,plainValue:d}}function qu(a,t,o){const{regex:r}=e.toRefs(a),n=e.getCurrentInstance().proxy,s=o.isOpen,i=o.open,l=e.ref(null),d=()=>{l.value=""},p=m=>{l.value=m.target.value},c=m=>{if(r&&r.value){let u=r.value;typeof u=="string"&&(u=new RegExp(u)),m.key.match(u)||m.preventDefault()}},f=m=>{if(r&&r.value){let h=(m.clipboardData||window.clipboardData).getData("Text"),b=r.value;typeof b=="string"&&(b=new RegExp(b)),h.split("").every(g=>!!g.match(b))||m.preventDefault()}t.emit("paste",m,n)};return e.watch(l,m=>{!s.value&&m&&i(),t.emit("search-change",m,n)}),{search:l,clearSearch:d,handleSearchInput:p,handleKeypress:c,handlePaste:f}}function Yu(a,t,o){const{groupSelect:r,mode:n,groups:s,disabledProp:i}=e.toRefs(a),l=e.ref(null),d=c=>{c===void 0||c!==null&&c[i.value]||s.value&&c&&c.group&&(n.value==="single"||!r.value)||(l.value=c)};return{pointer:l,setPointer:d,clearPointer:()=>{d(null)}}}function Wa(a,t=!0){return t?String(a).toLowerCase().trim():String(a).toLowerCase().normalize("NFD").trim().replace(new RegExp(/æ/g),"ae").replace(new RegExp(/œ/g),"oe").replace(new RegExp(/ø/g),"o").replace(/\p{Diacritic}/gu,"")}function Ku(a){return Object.prototype.toString.call(a)==="[object Object]"}function Gu(a,t){const o=t.slice().sort();return a.length===t.length&&a.slice().sort().every(function(r,n){return r===o[n]})}function Xu(a,t,o){const{options:r,mode:n,trackBy:s,limit:i,hideSelected:l,createTag:d,createOption:p,label:c,appendNewTag:f,appendNewOption:m,multipleLabel:u,object:h,loading:b,delay:g,resolveOnLoad:y,minChars:_,filterResults:C,clearOnSearch:v,clearOnSelect:B,valueProp:E,allowAbsent:N,groupLabel:A,canDeselect:z,max:U,strict:Z,closeOnSelect:O,closeOnDeselect:H,groups:K,reverse:W,infinite:F,groupOptions:S,groupHideEmpty:$,groupSelect:L,onCreate:V,disabledProp:T,searchStart:w,searchFilter:x}=e.toRefs(a),R=e.getCurrentInstance().proxy,P=o.iv,M=o.ev,D=o.search,ee=o.clearSearch,le=o.update,Ut=o.pointer,Ft=o.setPointer,qe=o.clearPointer,$a=o.focus,_o=o.deactivate,Ye=o.close,Ea=o.localize,Ke=e.ref([]),Be=e.ref([]),_e=e.ref(!1),be=e.ref(null),Ae=e.ref(F.value&&i.value===-1?10:i.value),Zt=e.computed(()=>d.value||p.value||!1),Ba=e.computed(()=>f.value!==void 0?f.value:m.value!==void 0?m.value:!0),ve=e.computed(()=>{if(K.value){let k=nt.value||[],I=[];return k.forEach(G=>{$o(G[S.value]).forEach(ae=>{I.push(Object.assign({},ae,G[T.value]?{[T.value]:!0}:{}))})}),I}else{let k=$o(Be.value||[]);return Ke.value.length&&(k=k.concat(Ke.value)),k}}),Wt=e.computed(()=>{let k=ve.value;return W.value&&(k=k.reverse()),Ct.value.length&&(k=Ct.value.concat(k)),ko(k)}),Ge=e.computed(()=>{let k=Wt.value;return Ae.value>0&&(k=k.slice(0,Ae.value)),k}),nt=e.computed(()=>{if(!K.value)return[];let k=[],I=Be.value||[];return Ke.value.length&&k.push({[A.value]:" ",[S.value]:[...Ke.value],__CREATE__:!0}),k.concat(I)}),Va=e.computed(()=>{let k=[...nt.value].map(I=>({...I}));return Ct.value.length&&(k[0]&&k[0].__CREATE__?k[0][S.value]=[...Ct.value,...k[0][S.value]]:k=[{[A.value]:" ",[S.value]:[...Ct.value],__CREATE__:!0}].concat(k)),k}),vo=e.computed(()=>{if(!K.value)return[];let k=Va.value;return J7((k||[]).map((I,G)=>{const ae=$o(I[S.value]);return{...I,index:G,group:!0,[S.value]:ko(ae,!1).map(st=>Object.assign({},st,I[T.value]?{[T.value]:!0}:{})),__VISIBLE__:ko(ae).map(st=>Object.assign({},st,I[T.value]?{[T.value]:!0}:{}))}}))}),Co=e.computed(()=>{switch(n.value){case"single":return!ke(P.value[E.value]);case"multiple":case"tags":return!ke(P.value)&&P.value.length>0}}),P7=e.computed(()=>u!==void 0&&u.value!==void 0?u.value(P.value,R):P.value&&P.value.length>1?`${P.value.length} options selected`:"1 option selected"),z7=e.computed(()=>!ve.value.length&&!_e.value&&!Ct.value.length),H7=e.computed(()=>ve.value.length>0&&Ge.value.length==0&&(D.value&&K.value||!K.value)),Ct=e.computed(()=>Zt.value===!1||!D.value?[]:G7(D.value)!==-1?[]:[{[E.value]:D.value,[it.value[0]]:D.value,[c.value]:D.value,__CREATE__:!0}]),it=e.computed(()=>s.value?Array.isArray(s.value)?s.value:[s.value]:[c.value]),R7=e.computed(()=>{switch(n.value){case"single":return null;case"multiple":case"tags":return[]}}),U7=e.computed(()=>b.value||_e.value),bt=k=>{switch(typeof k!="object"&&(k=Ie(k)),n.value){case"single":le(k);break;case"multiple":case"tags":le(P.value.concat(k));break}t.emit("select",Pr(k),k,R)},yt=k=>{switch(typeof k!="object"&&(k=Ie(k)),n.value){case"single":Hr();break;case"tags":case"multiple":le(Array.isArray(k)?P.value.filter(I=>k.map(G=>G[E.value]).indexOf(I[E.value])===-1):P.value.filter(I=>I[E.value]!=k[E.value]));break}t.emit("deselect",Pr(k),k,R)},Pr=k=>h.value?k:k[E.value],zr=k=>{yt(k)},F7=(k,I)=>{if(I.button!==0){I.preventDefault();return}zr(k)},Hr=()=>{le(R7.value),t.emit("clear",R)},Oe=k=>{if(k.group!==void 0)return n.value==="single"?!1:K7(k[S.value])&&k[S.value].length;switch(n.value){case"single":return!ke(P.value)&&P.value[E.value]==k[E.value];case"tags":case"multiple":return!ke(P.value)&&P.value.map(I=>I[E.value]).indexOf(k[E.value])!==-1}},bo=k=>k[T.value]===!0,yo=()=>U===void 0||U.value===-1||!Co.value&&U.value>0?!1:P.value.length>=U.value,Z7=k=>{if(!bo(k)){if(V&&V.value&&!Oe(k)&&k.__CREATE__&&(k={...k},delete k.__CREATE__,k=V.value(k,R),k instanceof Promise)){_e.value=!0,k.then(I=>{_e.value=!1,Rr(I)});return}Rr(k)}},Rr=k=>{switch(k.__CREATE__&&(k={...k},delete k.__CREATE__),n.value){case"single":if(k&&Oe(k)){z.value&&yt(k),H.value&&(qe(),Ye());return}k&&wo(k),B.value&&ee(),O.value&&(qe(),Ye()),k&&bt(k);break;case"multiple":if(k&&Oe(k)){yt(k),H.value&&(qe(),Ye());return}if(yo()){t.emit("max",R);return}k&&(wo(k),bt(k)),B.value&&ee(),l.value&&qe(),O.value&&Ye();break;case"tags":if(k&&Oe(k)){yt(k),H.value&&(qe(),Ye());return}if(yo()){t.emit("max",R);return}k&&wo(k),B.value&&ee(),k&&bt(k),l.value&&qe(),O.value&&Ye();break}O.value||$a()},W7=k=>{if(!(bo(k)||n.value==="single"||!L.value)){switch(n.value){case"multiple":case"tags":Y7(k[S.value])?yt(k[S.value]):bt(k[S.value].filter(I=>P.value.map(G=>G[E.value]).indexOf(I[E.value])===-1).filter(I=>!I[T.value]).filter((I,G)=>P.value.length+1+G<=U.value||U.value===-1)),l.value&&Ut.value&&Ft(vo.value.filter(I=>!I[T.value])[Ut.value.index]);break}O.value&&_o()}},wo=k=>{Ie(k[E.value])===void 0&&Zt.value&&(t.emit("tag",k[E.value],R),t.emit("option",k[E.value],R),t.emit("create",k[E.value],R),Ba.value&&Q7(k),ee())},q7=()=>{n.value!=="single"&&bt(Ge.value.filter(k=>!k.disabled&&!Oe(k)))},Y7=k=>k.find(I=>!Oe(I)&&!I[T.value])===void 0,K7=k=>k.find(I=>!Oe(I))===void 0,Ie=k=>ve.value[ve.value.map(I=>String(I[E.value])).indexOf(String(k))],G7=k=>ve.value.findIndex(I=>it.value.some(G=>(parseInt(I[G])==I[G]?parseInt(I[G]):I[G])===(parseInt(k)==k?parseInt(k):k))),X7=k=>["tags","multiple"].indexOf(n.value)!==-1&&l.value&&Oe(k),Q7=k=>{Ke.value.push(k)},J7=k=>$.value?k.filter(I=>D.value?I.__VISIBLE__.length:I[S.value].length):k.filter(I=>D.value?I.__VISIBLE__.length:!0),ko=(k,I=!0)=>{let G=k;if(D.value&&C.value){let ae=x.value;ae||(ae=(st,Fr,f9)=>it.value.some(tg=>{let Zr=Wa(Ea(st[tg]),Z.value);return w.value?Zr.startsWith(Wa(Fr,Z.value)):Zr.indexOf(Wa(Fr,Z.value))!==-1})),G=G.filter(st=>ae(st,D.value,R))}return l.value&&I&&(G=G.filter(ae=>!X7(ae))),G},$o=k=>{let I=k;return Ku(I)&&(I=Object.keys(I).map(G=>{let ae=I[G];return{[E.value]:G,[it.value[0]]:ae,[c.value]:ae}})),I=I.map(G=>typeof G=="object"?G:{[E.value]:G,[it.value[0]]:G,[c.value]:G}),I},Sa=()=>{ke(M.value)||(P.value=xa(M.value))},Na=k=>(_e.value=!0,new Promise((I,G)=>{r.value(D.value,R).then(ae=>{Be.value=ae||[],typeof k=="function"&&k(ae),_e.value=!1}).catch(ae=>{console.error(ae),Be.value=[],_e.value=!1}).finally(()=>{I()})})),Eo=()=>{if(Co.value)if(n.value==="single"){let k=Ie(P.value[E.value]);if(k!==void 0){let I=k[c.value];P.value[c.value]=I,h.value&&(M.value[c.value]=I)}}else P.value.forEach((k,I)=>{let G=Ie(P.value[I][E.value]);if(G!==void 0){let ae=G[c.value];P.value[I][c.value]=ae,h.value&&(M.value[I][c.value]=ae)}})},eg=k=>{Na(k)},xa=k=>ke(k)?n.value==="single"?{}:[]:h.value?k:n.value==="single"?Ie(k)||(N.value?{[c.value]:k,[E.value]:k,[it.value[0]]:k}:{}):k.filter(I=>!!Ie(I)||N.value).map(I=>Ie(I)||{[c.value]:I,[E.value]:I,[it.value[0]]:I}),Ur=()=>{be.value=e.watch(D,k=>{k.length<_.value||!k&&_.value!==0||(_e.value=!0,v.value&&(Be.value=[]),setTimeout(()=>{k==D.value&&r.value(D.value,R).then(I=>{(k==D.value||!D.value)&&(Be.value=I,Ut.value=Ge.value.filter(G=>G[T.value]!==!0)[0]||null,_e.value=!1)}).catch(I=>{console.error(I)})},g.value))},{flush:"sync"})};if(n.value!=="single"&&!ke(M.value)&&!Array.isArray(M.value))throw new Error(`v-model must be an array when using "${n.value}" mode`);return r&&typeof r.value=="function"?y.value?Na(Sa):h.value==!0&&Sa():(Be.value=r.value,Sa()),g.value>-1&&Ur(),e.watch(g,(k,I)=>{be.value&&be.value(),k>=0&&Ur()}),e.watch(M,k=>{if(ke(k)){le(xa(k),!1);return}switch(n.value){case"single":(h.value?k[E.value]!=P.value[E.value]:k!=P.value[E.value])&&le(xa(k),!1);break;case"multiple":case"tags":Gu(h.value?k.map(I=>I[E.value]):k,P.value.map(I=>I[E.value]))||le(xa(k),!1);break}},{deep:!0}),e.watch(r,(k,I)=>{typeof a.options=="function"?y.value&&(!I||k&&k.toString()!==I.toString())&&Na():(Be.value=a.options,Object.keys(P.value).length||Sa(),Eo())}),e.watch(c,Eo),e.watch(i,(k,I)=>{Ae.value=F.value&&k===-1?10:k}),{pfo:Wt,fo:Ge,filteredOptions:Ge,hasSelected:Co,multipleLabelText:P7,eo:ve,extendedOptions:ve,eg:nt,extendedGroups:nt,fg:vo,filteredGroups:vo,noOptions:z7,noResults:H7,resolving:_e,busy:U7,offset:Ae,select:bt,deselect:yt,remove:zr,selectAll:q7,clear:Hr,isSelected:Oe,isDisabled:bo,isMax:yo,getOption:Ie,handleOptionClick:Z7,handleGroupClick:W7,handleTagRemove:F7,refreshOptions:eg,resolveOptions:Na,refreshLabels:Eo}}function Qu(a,t,o){const{valueProp:r,showOptions:n,searchable:s,groupLabel:i,groups:l,mode:d,groupSelect:p,disabledProp:c,groupOptions:f}=e.toRefs(a),m=o.fo,u=o.fg,h=o.handleOptionClick,b=o.handleGroupClick,g=o.search,y=o.pointer,_=o.setPointer,C=o.clearPointer,v=o.multiselect,B=o.isOpen,E=e.computed(()=>m.value.filter(M=>!M[c.value])),N=e.computed(()=>u.value.filter(M=>!M[c.value])),A=e.computed(()=>d.value!=="single"&&p.value),z=e.computed(()=>y.value&&y.value.group),U=e.computed(()=>R(y.value)),Z=e.computed(()=>{const M=z.value?y.value:R(y.value),D=N.value.map(le=>le[i.value]).indexOf(M[i.value]);let ee=N.value[D-1];return ee===void 0&&(ee=H.value),ee}),O=e.computed(()=>{let M=N.value.map(D=>D.label).indexOf(z.value?y.value[i.value]:R(y.value)[i.value])+1;return N.value.length<=M&&(M=0),N.value[M]}),H=e.computed(()=>[...N.value].slice(-1)[0]),K=e.computed(()=>y.value.__VISIBLE__.filter(M=>!M[c.value])[0]),W=e.computed(()=>{const M=U.value.__VISIBLE__.filter(D=>!D[c.value]);return M[M.map(D=>D[r.value]).indexOf(y.value[r.value])-1]}),F=e.computed(()=>{const M=R(y.value).__VISIBLE__.filter(D=>!D[c.value]);return M[M.map(D=>D[r.value]).indexOf(y.value[r.value])+1]}),S=e.computed(()=>[...Z.value.__VISIBLE__.filter(M=>!M[c.value])].slice(-1)[0]),$=e.computed(()=>[...H.value.__VISIBLE__.filter(M=>!M[c.value])].slice(-1)[0]),L=M=>y.value&&(!M.group&&y.value[r.value]===M[r.value]||M.group!==void 0&&y.value[i.value]===M[i.value])?!0:void 0,V=()=>{_(E.value[0]||null)},T=()=>{!y.value||y.value[c.value]===!0||(z.value?b(y.value):h(y.value))},w=()=>{if(y.value===null)_((l.value&&A.value?N.value[0].__CREATE__?E.value[0]:N.value[0]:E.value[0])||null);else if(l.value&&A.value){let M=z.value?K.value:F.value;M===void 0&&(M=O.value,M.__CREATE__&&(M=M[f.value][0])),_(M||null)}else{let M=E.value.map(D=>D[r.value]).indexOf(y.value[r.value])+1;E.value.length<=M&&(M=0),_(E.value[M]||null)}e.nextTick(()=>{P()})},x=()=>{if(y.value===null){let M=E.value[E.value.length-1];l.value&&A.value&&(M=$.value,M===void 0&&(M=H.value)),_(M||null)}else if(l.value&&A.value){let M=z.value?S.value:W.value;M===void 0&&(M=z.value?Z.value:U.value,M.__CREATE__&&(M=S.value,M===void 0&&(M=Z.value))),_(M||null)}else{let M=E.value.map(D=>D[r.value]).indexOf(y.value[r.value])-1;M<0&&(M=E.value.length-1),_(E.value[M]||null)}e.nextTick(()=>{P()})},R=M=>N.value.find(D=>D.__VISIBLE__.map(ee=>ee[r.value]).indexOf(M[r.value])!==-1),P=()=>{let M=v.value.querySelector("[data-pointed]");if(!M)return;let D=M.parentElement.parentElement;l.value&&(D=z.value?M.parentElement.parentElement.parentElement:M.parentElement.parentElement.parentElement.parentElement),M.offsetTop+M.offsetHeight>D.clientHeight+D.scrollTop&&(D.scrollTop=M.offsetTop+M.offsetHeight-D.clientHeight),M.offsetTop<D.scrollTop&&(D.scrollTop=M.offsetTop)};return e.watch(g,M=>{s.value&&(M.length&&n.value?V():C())}),e.watch(B,M=>{if(M){let D=v.value.querySelectorAll("[data-selected]")[0];if(!D)return;let ee=D.parentElement.parentElement;e.nextTick(()=>{ee.scrollTop>0||(ee.scrollTop=D.offsetTop)})}}),{pointer:y,canPointGroups:A,isPointed:L,setPointerFirst:V,selectPointer:T,forwardPointer:w,backwardPointer:x}}function pe(a){if(a==null)return window;if(a.toString()!=="[object Window]"){var t=a.ownerDocument;return t&&t.defaultView||window}return a}function et(a){var t=pe(a).Element;return a instanceof t||a instanceof Element}function ge(a){var t=pe(a).HTMLElement;return a instanceof t||a instanceof HTMLElement}function qa(a){if(typeof ShadowRoot>"u")return!1;var t=pe(a).ShadowRoot;return a instanceof t||a instanceof ShadowRoot}var tt=Math.max,ma=Math.min,ft=Math.round;function Ya(){var a=navigator.userAgentData;return a!=null&&a.brands&&Array.isArray(a.brands)?a.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function gr(){return!/^((?!chrome|android).)*safari/i.test(Ya())}function ht(a,t,o){t===void 0&&(t=!1),o===void 0&&(o=!1);var r=a.getBoundingClientRect(),n=1,s=1;t&&ge(a)&&(n=a.offsetWidth>0&&ft(r.width)/a.offsetWidth||1,s=a.offsetHeight>0&&ft(r.height)/a.offsetHeight||1);var i=et(a)?pe(a):window,l=i.visualViewport,d=!gr()&&o,p=(r.left+(d&&l?l.offsetLeft:0))/n,c=(r.top+(d&&l?l.offsetTop:0))/s,f=r.width/n,m=r.height/s;return{width:f,height:m,top:c,right:p+f,bottom:c+m,left:p,x:p,y:c}}function Ka(a){var t=pe(a),o=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:o,scrollTop:r}}function Ju(a){return{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop}}function e0(a){return a===pe(a)||!ge(a)?Ka(a):Ju(a)}function $e(a){return a?(a.nodeName||"").toLowerCase():null}function Re(a){return((et(a)?a.ownerDocument:a.document)||window.document).documentElement}function Ga(a){return ht(Re(a)).left+Ka(a).scrollLeft}function xe(a){return pe(a).getComputedStyle(a)}function Xa(a){var t=xe(a),o=t.overflow,r=t.overflowX,n=t.overflowY;return/auto|scroll|overlay|hidden/.test(o+n+r)}function t0(a){var t=a.getBoundingClientRect(),o=ft(t.width)/a.offsetWidth||1,r=ft(t.height)/a.offsetHeight||1;return o!==1||r!==1}function a0(a,t,o){o===void 0&&(o=!1);var r=ge(t),n=ge(t)&&t0(t),s=Re(t),i=ht(a,n,o),l={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(r||!r&&!o)&&(($e(t)!=="body"||Xa(s))&&(l=e0(t)),ge(t)?(d=ht(t,!0),d.x+=t.clientLeft,d.y+=t.clientTop):s&&(d.x=Ga(s))),{x:i.left+l.scrollLeft-d.x,y:i.top+l.scrollTop-d.y,width:i.width,height:i.height}}function _r(a){var t=ht(a),o=a.offsetWidth,r=a.offsetHeight;return Math.abs(t.width-o)<=1&&(o=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:a.offsetLeft,y:a.offsetTop,width:o,height:r}}function fa(a){return $e(a)==="html"?a:a.assignedSlot||a.parentNode||(qa(a)?a.host:null)||Re(a)}function vr(a){return["html","body","#document"].indexOf($e(a))>=0?a.ownerDocument.body:ge(a)&&Xa(a)?a:vr(fa(a))}function Pt(a,t){var o;t===void 0&&(t=[]);var r=vr(a),n=r===((o=a.ownerDocument)==null?void 0:o.body),s=pe(r),i=n?[s].concat(s.visualViewport||[],Xa(r)?r:[]):r,l=t.concat(i);return n?l:l.concat(Pt(fa(i)))}function o0(a){return["table","td","th"].indexOf($e(a))>=0}function Cr(a){return!ge(a)||xe(a).position==="fixed"?null:a.offsetParent}function r0(a){var t=/firefox/i.test(Ya()),o=/Trident/i.test(Ya());if(o&&ge(a)){var r=xe(a);if(r.position==="fixed")return null}var n=fa(a);for(qa(n)&&(n=n.host);ge(n)&&["html","body"].indexOf($e(n))<0;){var s=xe(n);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return n;n=n.parentNode}return null}function ha(a){for(var t=pe(a),o=Cr(a);o&&o0(o)&&xe(o).position==="static";)o=Cr(o);return o&&($e(o)==="html"||$e(o)==="body"&&xe(o).position==="static")?t:o||r0(a)||t}var Ce="top",Ee="bottom",Ue="right",Me="left",Qa="auto",ga=[Ce,Ee,Ue,Me],gt="start",zt="end",n0="clippingParents",br="viewport",Ht="popper",i0="reference",yr=ga.reduce(function(a,t){return a.concat([t+"-"+gt,t+"-"+zt])},[]),s0=[].concat(ga,[Qa]).reduce(function(a,t){return a.concat([t,t+"-"+gt,t+"-"+zt])},[]),l0="beforeRead",c0="read",d0="afterRead",p0="beforeMain",u0="main",m0="afterMain",f0="beforeWrite",h0="write",g0="afterWrite",_0=[l0,c0,d0,p0,u0,m0,f0,h0,g0];function v0(a){var t=new Map,o=new Set,r=[];a.forEach(function(s){t.set(s.name,s)});function n(s){o.add(s.name);var i=[].concat(s.requires||[],s.requiresIfExists||[]);i.forEach(function(l){if(!o.has(l)){var d=t.get(l);d&&n(d)}}),r.push(s)}return a.forEach(function(s){o.has(s.name)||n(s)}),r}function C0(a){var t=v0(a);return _0.reduce(function(o,r){return o.concat(t.filter(function(n){return n.phase===r}))},[])}function b0(a){var t;return function(){return t||(t=new Promise(function(o){Promise.resolve().then(function(){t=void 0,o(a())})})),t}}function y0(a){var t=a.reduce(function(o,r){var n=o[r.name];return o[r.name]=n?Object.assign({},n,r,{options:Object.assign({},n.options,r.options),data:Object.assign({},n.data,r.data)}):r,o},{});return Object.keys(t).map(function(o){return t[o]})}function w0(a,t){var o=pe(a),r=Re(a),n=o.visualViewport,s=r.clientWidth,i=r.clientHeight,l=0,d=0;if(n){s=n.width,i=n.height;var p=gr();(p||!p&&t==="fixed")&&(l=n.offsetLeft,d=n.offsetTop)}return{width:s,height:i,x:l+Ga(a),y:d}}function k0(a){var t,o=Re(a),r=Ka(a),n=(t=a.ownerDocument)==null?void 0:t.body,s=tt(o.scrollWidth,o.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),i=tt(o.scrollHeight,o.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),l=-r.scrollLeft+Ga(a),d=-r.scrollTop;return xe(n||o).direction==="rtl"&&(l+=tt(o.clientWidth,n?n.clientWidth:0)-s),{width:s,height:i,x:l,y:d}}function $0(a,t){var o=t.getRootNode&&t.getRootNode();if(a.contains(t))return!0;if(o&&qa(o)){var r=t;do{if(r&&a.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Ja(a){return Object.assign({},a,{left:a.x,top:a.y,right:a.x+a.width,bottom:a.y+a.height})}function E0(a,t){var o=ht(a,!1,t==="fixed");return o.top=o.top+a.clientTop,o.left=o.left+a.clientLeft,o.bottom=o.top+a.clientHeight,o.right=o.left+a.clientWidth,o.width=a.clientWidth,o.height=a.clientHeight,o.x=o.left,o.y=o.top,o}function wr(a,t,o){return t===br?Ja(w0(a,o)):et(t)?E0(t,o):Ja(k0(Re(a)))}function B0(a){var t=Pt(fa(a)),o=["absolute","fixed"].indexOf(xe(a).position)>=0,r=o&&ge(a)?ha(a):a;return et(r)?t.filter(function(n){return et(n)&&$0(n,r)&&$e(n)!=="body"}):[]}function V0(a,t,o,r){var n=t==="clippingParents"?B0(a):[].concat(t),s=[].concat(n,[o]),i=s[0],l=s.reduce(function(d,p){var c=wr(a,p,r);return d.top=tt(c.top,d.top),d.right=ma(c.right,d.right),d.bottom=ma(c.bottom,d.bottom),d.left=tt(c.left,d.left),d},wr(a,i,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Fe(a){return a.split("-")[0]}function _t(a){return a.split("-")[1]}function kr(a){return["top","bottom"].indexOf(a)>=0?"x":"y"}function $r(a){var t=a.reference,o=a.element,r=a.placement,n=r?Fe(r):null,s=r?_t(r):null,i=t.x+t.width/2-o.width/2,l=t.y+t.height/2-o.height/2,d;switch(n){case Ce:d={x:i,y:t.y-o.height};break;case Ee:d={x:i,y:t.y+t.height};break;case Ue:d={x:t.x+t.width,y:l};break;case Me:d={x:t.x-o.width,y:l};break;default:d={x:t.x,y:t.y}}var p=n?kr(n):null;if(p!=null){var c=p==="y"?"height":"width";switch(s){case gt:d[p]=d[p]-(t[c]/2-o[c]/2);break;case zt:d[p]=d[p]+(t[c]/2-o[c]/2);break}}return d}function Er(){return{top:0,right:0,bottom:0,left:0}}function S0(a){return Object.assign({},Er(),a)}function N0(a,t){return t.reduce(function(o,r){return o[r]=a,o},{})}function eo(a,t){t===void 0&&(t={});var o=t,r=o.placement,n=r===void 0?a.placement:r,s=o.strategy,i=s===void 0?a.strategy:s,l=o.boundary,d=l===void 0?n0:l,p=o.rootBoundary,c=p===void 0?br:p,f=o.elementContext,m=f===void 0?Ht:f,u=o.altBoundary,h=u===void 0?!1:u,b=o.padding,g=b===void 0?0:b,y=S0(typeof g!="number"?g:N0(g,ga)),_=m===Ht?i0:Ht,C=a.rects.popper,v=a.elements[h?_:m],B=V0(et(v)?v:v.contextElement||Re(a.elements.popper),d,c,i),E=ht(a.elements.reference),N=$r({reference:E,element:C,strategy:"absolute",placement:n}),A=Ja(Object.assign({},C,N)),z=m===Ht?A:E,U={top:B.top-z.top+y.top,bottom:z.bottom-B.bottom+y.bottom,left:B.left-z.left+y.left,right:z.right-B.right+y.right},Z=a.modifiersData.offset;if(m===Ht&&Z){var O=Z[n];Object.keys(U).forEach(function(H){var K=[Ue,Ee].indexOf(H)>=0?1:-1,W=[Ce,Ee].indexOf(H)>=0?"y":"x";U[H]+=O[W]*K})}return U}var Br={placement:"bottom",modifiers:[],strategy:"absolute"};function Vr(){for(var a=arguments.length,t=new Array(a),o=0;o<a;o++)t[o]=arguments[o];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function x0(a){a===void 0&&(a={});var t=a,o=t.defaultModifiers,r=o===void 0?[]:o,n=t.defaultOptions,s=n===void 0?Br:n;return function(l,d,p){p===void 0&&(p=s);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},Br,s),modifiersData:{},elements:{reference:l,popper:d},attributes:{},styles:{}},f=[],m=!1,u={state:c,setOptions:function(y){var _=typeof y=="function"?y(c.options):y;b(),c.options=Object.assign({},s,c.options,_),c.scrollParents={reference:et(l)?Pt(l):l.contextElement?Pt(l.contextElement):[],popper:Pt(d)};var C=C0(y0([].concat(r,c.options.modifiers)));return c.orderedModifiers=C.filter(function(v){return v.enabled}),h(),u.update()},forceUpdate:function(){if(!m){var y=c.elements,_=y.reference,C=y.popper;if(Vr(_,C)){c.rects={reference:a0(_,ha(C),c.options.strategy==="fixed"),popper:_r(C)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(U){return c.modifiersData[U.name]=Object.assign({},U.data)});for(var v=0;v<c.orderedModifiers.length;v++){if(c.reset===!0){c.reset=!1,v=-1;continue}var B=c.orderedModifiers[v],E=B.fn,N=B.options,A=N===void 0?{}:N,z=B.name;typeof E=="function"&&(c=E({state:c,options:A,name:z,instance:u})||c)}}}},update:b0(function(){return new Promise(function(g){u.forceUpdate(),g(c)})}),destroy:function(){b(),m=!0}};if(!Vr(l,d))return u;u.setOptions(p).then(function(g){!m&&p.onFirstUpdate&&p.onFirstUpdate(g)});function h(){c.orderedModifiers.forEach(function(g){var y=g.name,_=g.options,C=_===void 0?{}:_,v=g.effect;if(typeof v=="function"){var B=v({state:c,name:y,instance:u,options:C}),E=function(){};f.push(B||E)}})}function b(){f.forEach(function(g){return g()}),f=[]}return u}}var _a={passive:!0};function M0(a){var t=a.state,o=a.instance,r=a.options,n=r.scroll,s=n===void 0?!0:n,i=r.resize,l=i===void 0?!0:i,d=pe(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&p.forEach(function(c){c.addEventListener("scroll",o.update,_a)}),l&&d.addEventListener("resize",o.update,_a),function(){s&&p.forEach(function(c){c.removeEventListener("scroll",o.update,_a)}),l&&d.removeEventListener("resize",o.update,_a)}}var T0={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:M0,data:{}};function A0(a){var t=a.state,o=a.name;t.modifiersData[o]=$r({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var O0={name:"popperOffsets",enabled:!0,phase:"read",fn:A0,data:{}},I0={top:"auto",right:"auto",bottom:"auto",left:"auto"};function L0(a,t){var o=a.x,r=a.y,n=t.devicePixelRatio||1;return{x:ft(o*n)/n||0,y:ft(r*n)/n||0}}function Sr(a){var t,o=a.popper,r=a.popperRect,n=a.placement,s=a.variation,i=a.offsets,l=a.position,d=a.gpuAcceleration,p=a.adaptive,c=a.roundOffsets,f=a.isFixed,m=i.x,u=m===void 0?0:m,h=i.y,b=h===void 0?0:h,g=typeof c=="function"?c({x:u,y:b}):{x:u,y:b};u=g.x,b=g.y;var y=i.hasOwnProperty("x"),_=i.hasOwnProperty("y"),C=Me,v=Ce,B=window;if(p){var E=ha(o),N="clientHeight",A="clientWidth";if(E===pe(o)&&(E=Re(o),xe(E).position!=="static"&&l==="absolute"&&(N="scrollHeight",A="scrollWidth")),E=E,n===Ce||(n===Me||n===Ue)&&s===zt){v=Ee;var z=f&&E===B&&B.visualViewport?B.visualViewport.height:E[N];b-=z-r.height,b*=d?1:-1}if(n===Me||(n===Ce||n===Ee)&&s===zt){C=Ue;var U=f&&E===B&&B.visualViewport?B.visualViewport.width:E[A];u-=U-r.width,u*=d?1:-1}}var Z=Object.assign({position:l},p&&I0),O=c===!0?L0({x:u,y:b},pe(o)):{x:u,y:b};if(u=O.x,b=O.y,d){var H;return Object.assign({},Z,(H={},H[v]=_?"0":"",H[C]=y?"0":"",H.transform=(B.devicePixelRatio||1)<=1?"translate("+u+"px, "+b+"px)":"translate3d("+u+"px, "+b+"px, 0)",H))}return Object.assign({},Z,(t={},t[v]=_?b+"px":"",t[C]=y?u+"px":"",t.transform="",t))}function D0(a){var t=a.state,o=a.options,r=o.gpuAcceleration,n=r===void 0?!0:r,s=o.adaptive,i=s===void 0?!0:s,l=o.roundOffsets,d=l===void 0?!0:l,p={placement:Fe(t.placement),variation:_t(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:n,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Sr(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:d})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Sr(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:d})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var j0={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:D0,data:{}};function P0(a){var t=a.state;Object.keys(t.elements).forEach(function(o){var r=t.styles[o]||{},n=t.attributes[o]||{},s=t.elements[o];!ge(s)||!$e(s)||(Object.assign(s.style,r),Object.keys(n).forEach(function(i){var l=n[i];l===!1?s.removeAttribute(i):s.setAttribute(i,l===!0?"":l)}))})}function z0(a){var t=a.state,o={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,o.popper),t.styles=o,t.elements.arrow&&Object.assign(t.elements.arrow.style,o.arrow),function(){Object.keys(t.elements).forEach(function(r){var n=t.elements[r],s=t.attributes[r]||{},i=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:o[r]),l=i.reduce(function(d,p){return d[p]="",d},{});!ge(n)||!$e(n)||(Object.assign(n.style,l),Object.keys(s).forEach(function(d){n.removeAttribute(d)}))})}}var H0={name:"applyStyles",enabled:!0,phase:"write",fn:P0,effect:z0,requires:["computeStyles"]},R0=[T0,O0,j0,H0],U0=x0({defaultModifiers:R0});function F0(a){return a==="x"?"y":"x"}function va(a,t,o){return tt(a,ma(t,o))}function Z0(a,t,o){var r=va(a,t,o);return r>o?o:r}function W0(a){var t=a.state,o=a.options,r=a.name,n=o.mainAxis,s=n===void 0?!0:n,i=o.altAxis,l=i===void 0?!1:i,d=o.boundary,p=o.rootBoundary,c=o.altBoundary,f=o.padding,m=o.tether,u=m===void 0?!0:m,h=o.tetherOffset,b=h===void 0?0:h,g=eo(t,{boundary:d,rootBoundary:p,padding:f,altBoundary:c}),y=Fe(t.placement),_=_t(t.placement),C=!_,v=kr(y),B=F0(v),E=t.modifiersData.popperOffsets,N=t.rects.reference,A=t.rects.popper,z=typeof b=="function"?b(Object.assign({},t.rects,{placement:t.placement})):b,U=typeof z=="number"?{mainAxis:z,altAxis:z}:Object.assign({mainAxis:0,altAxis:0},z),Z=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(E){if(s){var H,K=v==="y"?Ce:Me,W=v==="y"?Ee:Ue,F=v==="y"?"height":"width",S=E[v],$=S+g[K],L=S-g[W],V=u?-A[F]/2:0,T=_===gt?N[F]:A[F],w=_===gt?-A[F]:-N[F],x=t.elements.arrow,R=u&&x?_r(x):{width:0,height:0},P=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Er(),M=P[K],D=P[W],ee=va(0,N[F],R[F]),le=C?N[F]/2-V-ee-M-U.mainAxis:T-ee-M-U.mainAxis,Ut=C?-N[F]/2+V+ee+D+U.mainAxis:w+ee+D+U.mainAxis,Ft=t.elements.arrow&&ha(t.elements.arrow),qe=Ft?v==="y"?Ft.clientTop||0:Ft.clientLeft||0:0,$a=(H=Z==null?void 0:Z[v])!=null?H:0,_o=S+le-$a-qe,Ye=S+Ut-$a,Ea=va(u?ma($,_o):$,S,u?tt(L,Ye):L);E[v]=Ea,O[v]=Ea-S}if(l){var Ke,Be=v==="x"?Ce:Me,_e=v==="x"?Ee:Ue,be=E[B],Ae=B==="y"?"height":"width",Zt=be+g[Be],Ba=be-g[_e],ve=[Ce,Me].indexOf(y)!==-1,Wt=(Ke=Z==null?void 0:Z[B])!=null?Ke:0,Ge=ve?Zt:be-N[Ae]-A[Ae]-Wt+U.altAxis,nt=ve?be+N[Ae]+A[Ae]-Wt-U.altAxis:Ba,Va=u&&ve?Z0(Ge,be,nt):va(u?Ge:Zt,be,u?nt:Ba);E[B]=Va,O[B]=Va-be}t.modifiersData[r]=O}}var q0={name:"preventOverflow",enabled:!0,phase:"main",fn:W0,requiresIfExists:["offset"]},Y0={left:"right",right:"left",bottom:"top",top:"bottom"};function Ca(a){return a.replace(/left|right|bottom|top/g,function(t){return Y0[t]})}var K0={start:"end",end:"start"};function Nr(a){return a.replace(/start|end/g,function(t){return K0[t]})}function G0(a,t){t===void 0&&(t={});var o=t,r=o.placement,n=o.boundary,s=o.rootBoundary,i=o.padding,l=o.flipVariations,d=o.allowedAutoPlacements,p=d===void 0?s0:d,c=_t(r),f=c?l?yr:yr.filter(function(h){return _t(h)===c}):ga,m=f.filter(function(h){return p.indexOf(h)>=0});m.length===0&&(m=f);var u=m.reduce(function(h,b){return h[b]=eo(a,{placement:b,boundary:n,rootBoundary:s,padding:i})[Fe(b)],h},{});return Object.keys(u).sort(function(h,b){return u[h]-u[b]})}function X0(a){if(Fe(a)===Qa)return[];var t=Ca(a);return[Nr(a),t,Nr(t)]}function Q0(a){var t=a.state,o=a.options,r=a.name;if(!t.modifiersData[r]._skip){for(var n=o.mainAxis,s=n===void 0?!0:n,i=o.altAxis,l=i===void 0?!0:i,d=o.fallbackPlacements,p=o.padding,c=o.boundary,f=o.rootBoundary,m=o.altBoundary,u=o.flipVariations,h=u===void 0?!0:u,b=o.allowedAutoPlacements,g=t.options.placement,y=Fe(g),_=y===g,C=d||(_||!h?[Ca(g)]:X0(g)),v=[g].concat(C).reduce(function(R,P){return R.concat(Fe(P)===Qa?G0(t,{placement:P,boundary:c,rootBoundary:f,padding:p,flipVariations:h,allowedAutoPlacements:b}):P)},[]),B=t.rects.reference,E=t.rects.popper,N=new Map,A=!0,z=v[0],U=0;U<v.length;U++){var Z=v[U],O=Fe(Z),H=_t(Z)===gt,K=[Ce,Ee].indexOf(O)>=0,W=K?"width":"height",F=eo(t,{placement:Z,boundary:c,rootBoundary:f,altBoundary:m,padding:p}),S=K?H?Ue:Me:H?Ee:Ce;B[W]>E[W]&&(S=Ca(S));var $=Ca(S),L=[];if(s&&L.push(F[O]<=0),l&&L.push(F[S]<=0,F[$]<=0),L.every(function(R){return R})){z=Z,A=!1;break}N.set(Z,L)}if(A)for(var V=h?3:1,T=function(P){var M=v.find(function(D){var ee=N.get(D);if(ee)return ee.slice(0,P).every(function(le){return le})});if(M)return z=M,"break"},w=V;w>0;w--){var x=T(w);if(x==="break")break}t.placement!==z&&(t.modifiersData[r]._skip=!0,t.placement=z,t.reset=!0)}}var J0={name:"flip",enabled:!0,phase:"main",fn:Q0,requiresIfExists:["offset"],data:{_skip:!1}};function em(a,t,o){const{disabled:r,appendTo:n,appendToBody:s,openDirection:i}=e.toRefs(a),l=e.getCurrentInstance().proxy,d=o.multiselect,p=o.dropdown,c=e.ref(!1),f=e.ref(null),m=e.ref(null),u=e.computed(()=>n.value||s.value),h=e.computed(()=>i.value==="top"&&m.value==="bottom"||i.value==="bottom"&&m.value!=="top"?"bottom":"top"),b=()=>{c.value||r.value||(c.value=!0,t.emit("open",l),u.value&&e.nextTick(()=>{y()}))},g=()=>{c.value&&(c.value=!1,t.emit("close",l))},y=()=>{if(!f.value)return;let C=parseInt(window.getComputedStyle(p.value).borderTopWidth.replace("px","")),v=parseInt(window.getComputedStyle(p.value).borderBottomWidth.replace("px",""));f.value.setOptions(B=>({...B,modifiers:[...B.modifiers,{name:"offset",options:{offset:[0,(h.value==="top"?C:v)*-1]}}]})),f.value.update()},_=C=>{for(;C&&C!==document.body;){if(getComputedStyle(C).position==="fixed")return!0;C=C.parentElement}return!1};return e.onMounted(()=>{u.value&&(f.value=U0(d.value,p.value,{strategy:_(d.value)?"fixed":void 0,placement:i.value,modifiers:[q0,J0,{name:"sameWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:C})=>{C.styles.popper.width=`${C.rects.reference.width}px`},effect:({state:C})=>{C.elements.popper.style.width=`${C.elements.reference.offsetWidth}px`}},{name:"toggleClass",enabled:!0,phase:"write",fn({state:C}){m.value=C.placement}}]}))}),e.onBeforeUnmount(()=>{!u.value||!f.value||(f.value.destroy(),f.value=null)}),{popper:f,isOpen:c,open:b,close:g,placement:h,updatePopper:y}}function tm(a,t,o){const{searchable:r,disabled:n,clearOnBlur:s}=e.toRefs(a),i=o.input,l=o.open,d=o.close,p=o.clearSearch,c=o.isOpen,f=o.wrapper,m=o.tags,u=e.ref(!1),h=e.ref(!1),b=e.computed(()=>r.value||n.value?-1:0),g=()=>{r.value&&i.value.blur(),f.value.blur()},y=()=>{r.value&&!n.value&&i.value.focus()},_=(A=!0)=>{n.value||(u.value=!0,A&&l())},C=()=>{u.value=!1,setTimeout(()=>{u.value||(d(),s.value&&p())},1)};return{tabindex:b,isActive:u,mouseClicked:h,blur:g,focus:y,activate:_,deactivate:C,handleFocusIn:A=>{A.target.closest("[data-tags]")&&A.target.nodeName!=="INPUT"||A.target.closest("[data-clear]")||_(h.value)},handleFocusOut:()=>{C()},handleCaretClick:()=>{C(),g()},handleMousedown:A=>{h.value=!0,c.value&&(A.target.isEqualNode(f.value)||A.target.isEqualNode(m.value))?setTimeout(()=>{C()},0):!c.value&&(document.activeElement.isEqualNode(f.value)||document.activeElement.isEqualNode(i.value))&&_(),setTimeout(()=>{h.value=!1},0)}}}function am(a,t,o){const{mode:r,addTagOn:n,openDirection:s,searchable:i,showOptions:l,valueProp:d,groups:p,addOptionOn:c,createTag:f,createOption:m,reverse:u}=e.toRefs(a),h=e.getCurrentInstance().proxy,b=o.iv,g=o.update,y=o.deselect,_=o.search,C=o.setPointer,v=o.selectPointer,B=o.backwardPointer,E=o.forwardPointer,N=o.multiselect,A=o.wrapper,z=o.tags,U=o.isOpen,Z=o.open,O=o.blur,H=o.fo,K=e.computed(()=>f.value||m.value||!1),W=e.computed(()=>n.value!==void 0?n.value:c.value!==void 0?c.value:["enter"]),F=()=>{r.value==="tags"&&!l.value&&K.value&&i.value&&!p.value&&C(H.value[H.value.map(L=>L[d.value]).indexOf(_.value)])};return{handleKeydown:L=>{t.emit("keydown",L,h);let V,T;switch(["ArrowLeft","ArrowRight","Enter"].indexOf(L.key)!==-1&&r.value==="tags"&&(V=[...N.value.querySelectorAll("[data-tags] > *")].filter(w=>w!==z.value),T=V.findIndex(w=>w===document.activeElement)),L.key){case"Backspace":if(r.value==="single"||i.value&&[null,""].indexOf(_.value)===-1||b.value.length===0)return;let w=b.value.filter(x=>!x.disabled&&x.remove!==!1);w.length&&y(w[w.length-1]);break;case"Enter":if(L.preventDefault(),L.keyCode===229)return;if(T!==-1&&T!==void 0){g([...b.value].filter((x,R)=>R!==T)),T===V.length-1&&(V.length-1?V[V.length-2].focus():i.value?z.value.querySelector("input").focus():A.value.focus());return}if(W.value.indexOf("enter")===-1&&K.value)return;F(),v();break;case" ":if(!K.value&&!i.value){L.preventDefault(),F(),v();return}if(!K.value)return!1;if(W.value.indexOf("space")===-1&&K.value)return;L.preventDefault(),F(),v();break;case"Tab":case";":case",":if(W.value.indexOf(L.key.toLowerCase())===-1||!K.value)return;F(),v(),L.preventDefault();break;case"Escape":O();break;case"ArrowUp":if(L.preventDefault(),!l.value)return;U.value||Z(),B();break;case"ArrowDown":if(L.preventDefault(),!l.value)return;U.value||Z(),E();break;case"ArrowLeft":if(i.value&&z.value&&z.value.querySelector("input").selectionStart||L.shiftKey||r.value!=="tags"||!b.value||!b.value.length)return;L.preventDefault(),T===-1?V[V.length-1].focus():T>0&&V[T-1].focus();break;case"ArrowRight":if(T===-1||L.shiftKey||r.value!=="tags"||!b.value||!b.value.length)return;L.preventDefault(),V.length>T+1?V[T+1].focus():i.value?z.value.querySelector("input").focus():i.value||A.value.focus();break}},handleKeyup:L=>{t.emit("keyup",L,h)},preparePointer:F}}function om(a,t,o){const{classes:r,disabled:n,showOptions:s,breakTags:i}=e.toRefs(a),l=o.isOpen,d=o.isPointed,p=o.isSelected,c=o.isDisabled,f=o.isActive,m=o.canPointGroups,u=o.resolving,h=o.fo,b=o.placement,g=e.computed(()=>({container:"multiselect",containerDisabled:"is-disabled",containerOpen:"is-open",containerOpenTop:"is-open-top",containerActive:"is-active",wrapper:"multiselect-wrapper",singleLabel:"multiselect-single-label",singleLabelText:"multiselect-single-label-text",multipleLabel:"multiselect-multiple-label",search:"multiselect-search",tags:"multiselect-tags",tag:"multiselect-tag",tagWrapper:"multiselect-tag-wrapper",tagWrapperBreak:"multiselect-tag-wrapper-break",tagDisabled:"is-disabled",tagRemove:"multiselect-tag-remove",tagRemoveIcon:"multiselect-tag-remove-icon",tagsSearchWrapper:"multiselect-tags-search-wrapper",tagsSearch:"multiselect-tags-search",tagsSearchCopy:"multiselect-tags-search-copy",placeholder:"multiselect-placeholder",caret:"multiselect-caret",caretOpen:"is-open",clear:"multiselect-clear",clearIcon:"multiselect-clear-icon",spinner:"multiselect-spinner",inifinite:"multiselect-inifite",inifiniteSpinner:"multiselect-inifite-spinner",dropdown:"multiselect-dropdown",dropdownTop:"is-top",dropdownHidden:"is-hidden",options:"multiselect-options",optionsTop:"is-top",group:"multiselect-group",groupLabel:"multiselect-group-label",groupLabelPointable:"is-pointable",groupLabelPointed:"is-pointed",groupLabelSelected:"is-selected",groupLabelDisabled:"is-disabled",groupLabelSelectedPointed:"is-selected is-pointed",groupLabelSelectedDisabled:"is-selected is-disabled",groupOptions:"multiselect-group-options",option:"multiselect-option",optionPointed:"is-pointed",optionSelected:"is-selected",optionDisabled:"is-disabled",optionSelectedPointed:"is-selected is-pointed",optionSelectedDisabled:"is-selected is-disabled",noOptions:"multiselect-no-options",noResults:"multiselect-no-results",fakeInput:"multiselect-fake-input",assist:"multiselect-assistive-text",spacer:"multiselect-spacer",...r.value})),y=e.computed(()=>!!(l.value&&s.value&&(!u.value||u.value&&h.value.length)));return{classList:e.computed(()=>{const C=g.value;return{container:[C.container].concat(n.value?C.containerDisabled:[]).concat(y.value&&b.value==="top"?C.containerOpenTop:[]).concat(y.value&&b.value!=="top"?C.containerOpen:[]).concat(f.value?C.containerActive:[]),wrapper:C.wrapper,spacer:C.spacer,singleLabel:C.singleLabel,singleLabelText:C.singleLabelText,multipleLabel:C.multipleLabel,search:C.search,tags:C.tags,tag:[C.tag].concat(n.value?C.tagDisabled:[]),tagWrapper:[C.tagWrapper,i.value?C.tagWrapperBreak:null],tagDisabled:C.tagDisabled,tagRemove:C.tagRemove,tagRemoveIcon:C.tagRemoveIcon,tagsSearchWrapper:C.tagsSearchWrapper,tagsSearch:C.tagsSearch,tagsSearchCopy:C.tagsSearchCopy,placeholder:C.placeholder,caret:[C.caret].concat(l.value?C.caretOpen:[]),clear:C.clear,clearIcon:C.clearIcon,spinner:C.spinner,inifinite:C.inifinite,inifiniteSpinner:C.inifiniteSpinner,dropdown:[C.dropdown].concat(b.value==="top"?C.dropdownTop:[]).concat(!l.value||!s.value||!y.value?C.dropdownHidden:[]),options:[C.options].concat(b.value==="top"?C.optionsTop:[]),group:C.group,groupLabel:v=>{let B=[C.groupLabel];return d(v)?B.push(p(v)?C.groupLabelSelectedPointed:C.groupLabelPointed):p(v)&&m.value?B.push(c(v)?C.groupLabelSelectedDisabled:C.groupLabelSelected):c(v)&&B.push(C.groupLabelDisabled),m.value&&B.push(C.groupLabelPointable),B},groupOptions:C.groupOptions,option:(v,B)=>{let E=[C.option];return d(v)?E.push(p(v)?C.optionSelectedPointed:C.optionPointed):p(v)?E.push(c(v)?C.optionSelectedDisabled:C.optionSelected):(c(v)||B&&c(B))&&E.push(C.optionDisabled),E},noOptions:C.noOptions,noResults:C.noResults,assist:C.assist,fakeInput:C.fakeInput}}),showDropdown:y}}function rm(a,t,o){const{limit:r,infinite:n}=e.toRefs(a),s=o.isOpen,i=o.offset,l=o.search,d=o.pfo,p=o.eo,c=e.ref(null),f=e.ref(null),m=e.computed(()=>i.value<d.value.length),u=b=>{const{isIntersecting:g,target:y}=b[0];if(g){const _=y.offsetParent,C=_.scrollTop;i.value+=r.value==-1?10:r.value,e.nextTick(()=>{_.scrollTop=C})}},h=()=>{s.value&&i.value<d.value.length?c.value.observe(f.value):!s.value&&c.value&&c.value.disconnect()};return e.watch(s,()=>{n.value&&h()}),e.watch(l,()=>{n.value&&(i.value=r.value,h())},{flush:"post"}),e.watch(p,()=>{n.value&&h()},{immediate:!1,flush:"post"}),e.onMounted(()=>{window&&window.IntersectionObserver&&(c.value=new IntersectionObserver(u))}),{hasMore:m,infiniteLoader:f}}function nm(a,t,o){const{placeholder:r,id:n,valueProp:s,label:i,mode:l,groupLabel:d,aria:p,searchable:c}=e.toRefs(a),f=o.pointer,m=o.iv,u=o.hasSelected,h=o.multipleLabelText,b=e.ref(null),g=e.computed(()=>{let O=[];return n&&n.value&&O.push(n.value),O.push("assist"),O.join("-")}),y=e.computed(()=>{let O=[];return n&&n.value&&O.push(n.value),O.push("multiselect-options"),O.join("-")}),_=e.computed(()=>{let O=[];if(n&&n.value&&O.push(n.value),f.value)return O.push(f.value.group?"multiselect-group":"multiselect-option"),O.push(f.value.group?f.value.index:f.value[s.value]),O.join("-")}),C=e.computed(()=>r.value),v=e.computed(()=>l.value!=="single"),B=e.computed(()=>{let O="";return l.value==="single"&&u.value&&(O+=m.value[i.value]),l.value==="multiple"&&u.value&&(O+=h.value),l.value==="tags"&&u.value&&(O+=m.value.map(H=>H[i.value]).join(", ")),O}),E=e.computed(()=>{let O={...p.value};return c.value&&(O["aria-labelledby"]=O["aria-labelledby"]?`${g.value} ${O["aria-labelledby"]}`:g.value,B.value&&O["aria-label"]&&(O["aria-label"]=`${B.value}, ${O["aria-label"]}`)),O}),N=O=>{let H=[];return n&&n.value&&H.push(n.value),H.push("multiselect-option"),H.push(O[s.value]),H.join("-")},A=O=>{let H=[];return n&&n.value&&H.push(n.value),H.push("multiselect-group"),H.push(O.index),H.join("-")},z=O=>{let H=[];return H.push(O),H.join(" ")},U=O=>{let H=[];return H.push(O),H.join(" ")},Z=O=>`${O} ❎`;return e.onMounted(()=>{if(n&&n.value&&document&&document.querySelector){let O=document.querySelector(`[for="${n.value}"]`);b.value=O?O.innerText:null}}),{arias:E,ariaLabel:B,ariaAssist:g,ariaControls:y,ariaPlaceholder:C,ariaMultiselectable:v,ariaActiveDescendant:_,ariaOptionId:N,ariaOptionLabel:z,ariaGroupId:A,ariaGroupLabel:U,ariaTagLabel:Z}}function im(a,t,o){const{locale:r,fallbackLocale:n}=e.toRefs(a);return{localize:i=>!i||typeof i!="object"?i:i&&i[r.value]?i[r.value]:i&&r.value&&i[r.value.toUpperCase()]?i[r.value.toUpperCase()]:i&&i[n.value]?i[n.value]:i&&n.value&&i[n.value.toUpperCase()]?i[n.value.toUpperCase()]:i&&Object.keys(i)[0]?i[Object.keys(i)[0]]:""}}function sm(a,t,o){const r=e.ref(null),n=e.ref(null),s=e.ref(null),i=e.ref(null),l=e.ref(null);return{multiselect:r,wrapper:n,tags:s,input:i,dropdown:l}}function lm(a,t,o,r={}){return o.forEach(n=>{n&&(r={...r,...n(a,t,r)})}),r}var Ze={name:"Multiselect",emits:["paste","open","close","select","deselect","input","search-change","tag","option","update:modelValue","change","clear","keydown","keyup","max","create"],props:{value:{required:!1},modelValue:{required:!1},options:{type:[Array,Object,Function],required:!1,default:()=>[]},id:{type:[String,Number],required:!1},name:{type:[String,Number],required:!1,default:"multiselect"},disabled:{type:Boolean,required:!1,default:!1},label:{type:String,required:!1,default:"label"},trackBy:{type:[String,Array],required:!1,default:void 0},valueProp:{type:String,required:!1,default:"value"},placeholder:{type:String,required:!1,default:null},mode:{type:String,required:!1,default:"single"},searchable:{type:Boolean,required:!1,default:!1},limit:{type:Number,required:!1,default:-1},hideSelected:{type:Boolean,required:!1,default:!0},createTag:{type:Boolean,required:!1,default:void 0},createOption:{type:Boolean,required:!1,default:void 0},appendNewTag:{type:Boolean,required:!1,default:void 0},appendNewOption:{type:Boolean,required:!1,default:void 0},addTagOn:{type:Array,required:!1,default:void 0},addOptionOn:{type:Array,required:!1,default:void 0},caret:{type:Boolean,required:!1,default:!0},loading:{type:Boolean,required:!1,default:!1},noOptionsText:{type:[String,Object],required:!1,default:"The list is empty"},noResultsText:{type:[String,Object],required:!1,default:"No results found"},multipleLabel:{type:Function,required:!1},object:{type:Boolean,required:!1,default:!1},delay:{type:Number,required:!1,default:-1},minChars:{type:Number,required:!1,default:0},resolveOnLoad:{type:Boolean,required:!1,default:!0},filterResults:{type:Boolean,required:!1,default:!0},clearOnSearch:{type:Boolean,required:!1,default:!1},clearOnSelect:{type:Boolean,required:!1,default:!0},canDeselect:{type:Boolean,required:!1,default:!0},canClear:{type:Boolean,required:!1,default:!0},max:{type:Number,required:!1,default:-1},showOptions:{type:Boolean,required:!1,default:!0},required:{type:Boolean,required:!1,default:!1},openDirection:{type:String,required:!1,default:"bottom"},nativeSupport:{type:Boolean,required:!1,default:!1},classes:{type:Object,required:!1,default:()=>({})},strict:{type:Boolean,required:!1,default:!0},closeOnSelect:{type:Boolean,required:!1,default:!0},closeOnDeselect:{type:Boolean,required:!1,default:!1},autocomplete:{type:String,required:!1},groups:{type:Boolean,required:!1,default:!1},groupLabel:{type:String,required:!1,default:"label"},groupOptions:{type:String,required:!1,default:"options"},groupHideEmpty:{type:Boolean,required:!1,default:!1},groupSelect:{type:Boolean,required:!1,default:!0},inputType:{type:String,required:!1,default:"text"},attrs:{required:!1,type:Object,default:()=>({})},onCreate:{required:!1,type:Function},disabledProp:{type:String,required:!1,default:"disabled"},searchStart:{type:Boolean,required:!1,default:!1},reverse:{type:Boolean,required:!1,default:!1},regex:{type:[Object,String,RegExp],required:!1,default:void 0},rtl:{type:Boolean,required:!1,default:!1},infinite:{type:Boolean,required:!1,default:!1},aria:{required:!1,type:Object,default:()=>({})},clearOnBlur:{required:!1,type:Boolean,default:!0},locale:{required:!1,type:String,default:null},fallbackLocale:{required:!1,type:String,default:"en"},searchFilter:{required:!1,type:Function,default:null},allowAbsent:{required:!1,type:Boolean,default:!1},appendToBody:{required:!1,type:Boolean,default:!1},closeOnScroll:{required:!1,type:Boolean,default:!1},breakTags:{required:!1,type:Boolean,default:!1},appendTo:{required:!1,type:String}},setup(a,t){return lm(a,t,[sm,im,Wu,Yu,em,qu,Zu,tm,Xu,rm,Qu,am,om,nm])},beforeMount(){var a,t;((t=(a=this.$root.constructor)==null?void 0:a.version)!=null&&t.match(/^2\./)||this.vueVersionMs===2)&&(this.$options.components.Teleport||(this.$options.components.Teleport={render(){return this.$slots.default?this.$slots.default[0]:null}}))}};const cm=["id","dir"],dm=["tabindex","aria-controls","aria-placeholder","aria-expanded","aria-activedescendant","aria-multiselectable","role"],pm=["type","modelValue","value","autocomplete","id","aria-controls","aria-placeholder","aria-expanded","aria-activedescendant","aria-multiselectable"],um=["onKeyup","aria-label"],mm=["onClick"],fm=["type","modelValue","value","id","autocomplete","aria-controls","aria-placeholder","aria-expanded","aria-activedescendant","aria-multiselectable"],hm=["innerHTML"],gm=["id"],_m=["id"],vm=["id","aria-label","aria-selected"],Cm=["data-pointed","onMouseenter","onMousedown"],bm=["innerHTML"],ym=["aria-label"],wm=["data-pointed","data-selected","onMouseenter","onMousedown","id","aria-selected","aria-label"],km=["data-pointed","data-selected","onMouseenter","onMousedown","id","aria-selected","aria-label"],$m=["innerHTML"],Em=["innerHTML"],Bm=["value"],Vm=["name","value"],Sm=["name","value"],Nm=["id"];function xm(a,t,o,r,n,s){return e.openBlock(),e.createElementBlock("div",{ref:"multiselect",class:e.normalizeClass(a.classList.container),id:o.searchable?void 0:o.id,dir:o.rtl?"rtl":void 0,onFocusin:t[10]||(t[10]=(...i)=>a.handleFocusIn&&a.handleFocusIn(...i)),onFocusout:t[11]||(t[11]=(...i)=>a.handleFocusOut&&a.handleFocusOut(...i)),onKeyup:t[12]||(t[12]=(...i)=>a.handleKeyup&&a.handleKeyup(...i)),onKeydown:t[13]||(t[13]=(...i)=>a.handleKeydown&&a.handleKeydown(...i))},[e.createElementVNode("div",e.mergeProps({class:a.classList.wrapper,onMousedown:t[9]||(t[9]=(...i)=>a.handleMousedown&&a.handleMousedown(...i)),ref:"wrapper",tabindex:a.tabindex,"aria-controls":o.searchable?void 0:a.ariaControls,"aria-placeholder":o.searchable?void 0:a.ariaPlaceholder,"aria-expanded":o.searchable?void 0:a.isOpen,"aria-activedescendant":o.searchable?void 0:a.ariaActiveDescendant,"aria-multiselectable":o.searchable?void 0:a.ariaMultiselectable,role:o.searchable?void 0:"combobox"},o.searchable?{}:a.arias),[e.createCommentVNode(" Search "),o.mode!=="tags"&&o.searchable&&!o.disabled?(e.openBlock(),e.createElementBlock("input",e.mergeProps({key:0,type:o.inputType,modelValue:a.search,value:a.search,class:a.classList.search,autocomplete:o.autocomplete,id:o.searchable?o.id:void 0,onInput:t[0]||(t[0]=(...i)=>a.handleSearchInput&&a.handleSearchInput(...i)),onKeypress:t[1]||(t[1]=(...i)=>a.handleKeypress&&a.handleKeypress(...i)),onPaste:t[2]||(t[2]=e.withModifiers((...i)=>a.handlePaste&&a.handlePaste(...i),["stop"])),ref:"input","aria-controls":a.ariaControls,"aria-placeholder":a.ariaPlaceholder,"aria-expanded":a.isOpen,"aria-activedescendant":a.ariaActiveDescendant,"aria-multiselectable":a.ariaMultiselectable,role:"combobox"},{...o.attrs,...a.arias}),null,16,pm)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Tags (with search) "),o.mode=="tags"?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(a.classList.tags),"data-tags":""},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.iv,(i,l,d)=>e.renderSlot(a.$slots,"tag",{option:i,handleTagRemove:a.handleTagRemove,disabled:o.disabled},()=>[(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass([a.classList.tag,i.disabled?a.classList.tagDisabled:null]),tabindex:"-1",onKeyup:e.withKeys(p=>a.handleTagRemove(i,p),["enter"]),key:d,"aria-label":a.ariaTagLabel(a.localize(i[o.label]))},[e.createElementVNode("span",{class:e.normalizeClass(a.classList.tagWrapper)},e.toDisplayString(a.localize(i[o.label])),3),!o.disabled&&!i.disabled?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(a.classList.tagRemove),onClick:e.withModifiers(p=>a.handleTagRemove(i,p),["stop"])},[e.createElementVNode("span",{class:e.normalizeClass(a.classList.tagRemoveIcon)},null,2)],10,mm)):e.createCommentVNode("v-if",!0)],42,um))])),256)),e.createElementVNode("div",{class:e.normalizeClass(a.classList.tagsSearchWrapper),ref:"tags"},[e.createCommentVNode(" Used for measuring search width "),e.createElementVNode("span",{class:e.normalizeClass(a.classList.tagsSearchCopy)},e.toDisplayString(a.search),3),e.createCommentVNode(" Actual search input "),o.searchable&&!o.disabled?(e.openBlock(),e.createElementBlock("input",e.mergeProps({key:0,type:o.inputType,modelValue:a.search,value:a.search,class:a.classList.tagsSearch,id:o.searchable?o.id:void 0,autocomplete:o.autocomplete,onInput:t[3]||(t[3]=(...i)=>a.handleSearchInput&&a.handleSearchInput(...i)),onKeypress:t[4]||(t[4]=(...i)=>a.handleKeypress&&a.handleKeypress(...i)),onPaste:t[5]||(t[5]=e.withModifiers((...i)=>a.handlePaste&&a.handlePaste(...i),["stop"])),ref:"input","aria-controls":a.ariaControls,"aria-placeholder":a.ariaPlaceholder,"aria-expanded":a.isOpen,"aria-activedescendant":a.ariaActiveDescendant,"aria-multiselectable":a.ariaMultiselectable,role:"combobox"},{...o.attrs,...a.arias}),null,16,fm)):e.createCommentVNode("v-if",!0)],2)],2)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Single label "),o.mode=="single"&&a.hasSelected&&!a.search&&a.iv?e.renderSlot(a.$slots,"singlelabel",{key:2,value:a.iv},()=>[e.createElementVNode("div",{class:e.normalizeClass(a.classList.singleLabel)},[e.createElementVNode("span",{class:e.normalizeClass(a.classList.singleLabelText)},e.toDisplayString(a.localize(a.iv[o.label])),3)],2)]):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Multiple label "),o.mode=="multiple"&&a.hasSelected&&!a.search?e.renderSlot(a.$slots,"multiplelabel",{key:3,values:a.iv},()=>[e.createElementVNode("div",{class:e.normalizeClass(a.classList.multipleLabel),innerHTML:a.multipleLabelText},null,10,hm)]):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Placeholder "),o.placeholder&&!a.hasSelected&&!a.search?e.renderSlot(a.$slots,"placeholder",{key:4},()=>[e.createElementVNode("div",{class:e.normalizeClass(a.classList.placeholder),"aria-hidden":"true"},e.toDisplayString(o.placeholder),3)]):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Spinner "),o.loading||a.resolving?e.renderSlot(a.$slots,"spinner",{key:5},()=>[e.createElementVNode("span",{class:e.normalizeClass(a.classList.spinner),"aria-hidden":"true"},null,2)]):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Clear "),a.hasSelected&&!o.disabled&&o.canClear&&!a.busy?e.renderSlot(a.$slots,"clear",{key:6,clear:a.clear},()=>[e.createElementVNode("span",{"aria-hidden":"true",tabindex:"0",role:"button","data-clear":"","aria-roledescription":"❎",class:e.normalizeClass(a.classList.clear),onClick:t[6]||(t[6]=(...i)=>a.clear&&a.clear(...i)),onKeyup:t[7]||(t[7]=e.withKeys((...i)=>a.clear&&a.clear(...i),["enter"]))},[e.createElementVNode("span",{class:e.normalizeClass(a.classList.clearIcon)},null,2)],34)]):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Caret "),o.caret&&o.showOptions?e.renderSlot(a.$slots,"caret",{key:7,handleCaretClick:a.handleCaretClick,isOpen:a.isOpen},()=>[e.createElementVNode("span",{class:e.normalizeClass(a.classList.caret),onClick:t[8]||(t[8]=(...i)=>a.handleCaretClick&&a.handleCaretClick(...i)),"aria-hidden":"true"},null,2)]):e.createCommentVNode("v-if",!0)],16,dm),e.createCommentVNode(" Options "),(e.openBlock(),e.createBlock(e.Teleport,{to:o.appendTo||"body",disabled:!o.appendToBody&&!o.appendTo},[e.createElementVNode("div",{id:`${o.id}-dropdown`,class:e.normalizeClass(a.classList.dropdown),tabindex:"-1",ref:"dropdown"},[e.renderSlot(a.$slots,"beforelist",{options:a.fo}),e.createElementVNode("ul",{class:e.normalizeClass(a.classList.options),id:a.ariaControls,role:"listbox"},[o.groups?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.fg,(i,l,d)=>(e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass(a.classList.group),key:d,id:a.ariaGroupId(i),"aria-label":a.ariaGroupLabel(a.localize(i[o.groupLabel])),"aria-selected":a.isSelected(i),role:"option"},[i.__CREATE__?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(a.classList.groupLabel(i)),"data-pointed":a.isPointed(i),onMouseenter:p=>a.setPointer(i,l),onMousedown:e.withModifiers(p=>a.handleGroupClick(i),["prevent"])},[e.renderSlot(a.$slots,"grouplabel",{group:i,isSelected:a.isSelected,isPointed:a.isPointed},()=>[e.createElementVNode("span",{innerHTML:a.localize(i[o.groupLabel])},null,8,bm)])],42,Cm)),e.createElementVNode("ul",{class:e.normalizeClass(a.classList.groupOptions),"aria-label":a.ariaGroupLabel(a.localize(i[o.groupLabel])),role:"group"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.__VISIBLE__,(p,c,f)=>(e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass(a.classList.option(p,i)),"data-pointed":a.isPointed(p),"data-selected":a.isSelected(p)||void 0,key:f,onMouseenter:m=>a.setPointer(p),onMousedown:e.withModifiers(m=>a.handleOptionClick(p),["prevent"]),id:a.ariaOptionId(p),"aria-selected":a.isSelected(p),"aria-label":a.ariaOptionLabel(a.localize(p[o.label])),role:"option"},[e.renderSlot(a.$slots,"option",{option:p,isSelected:a.isSelected,isPointed:a.isPointed,search:a.search},()=>[e.createElementVNode("span",null,e.toDisplayString(a.localize(p[o.label])),1)])],42,wm))),128))],10,ym)],10,vm))),128)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(a.fo,(i,l,d)=>(e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass(a.classList.option(i)),"data-pointed":a.isPointed(i),"data-selected":a.isSelected(i)||void 0,key:d,onMouseenter:p=>a.setPointer(i),onMousedown:e.withModifiers(p=>a.handleOptionClick(i),["prevent"]),id:a.ariaOptionId(i),"aria-selected":a.isSelected(i),"aria-label":a.ariaOptionLabel(a.localize(i[o.label])),role:"option"},[e.renderSlot(a.$slots,"option",{option:i,isSelected:a.isSelected,isPointed:a.isPointed,search:a.search},()=>[e.createElementVNode("span",null,e.toDisplayString(a.localize(i[o.label])),1)])],42,km))),128))],10,_m),a.noOptions?e.renderSlot(a.$slots,"nooptions",{key:0},()=>[e.createElementVNode("div",{class:e.normalizeClass(a.classList.noOptions),innerHTML:a.localize(o.noOptionsText)},null,10,$m)]):e.createCommentVNode("v-if",!0),a.noResults?e.renderSlot(a.$slots,"noresults",{key:1},()=>[e.createElementVNode("div",{class:e.normalizeClass(a.classList.noResults),innerHTML:a.localize(o.noResultsText)},null,10,Em)]):e.createCommentVNode("v-if",!0),o.infinite&&a.hasMore?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(a.classList.inifinite),ref:"infiniteLoader"},[e.renderSlot(a.$slots,"infinite",{},()=>[e.createElementVNode("span",{class:e.normalizeClass(a.classList.inifiniteSpinner)},null,2)])],2)):e.createCommentVNode("v-if",!0),e.renderSlot(a.$slots,"afterlist",{options:a.fo})],10,gm)],8,["to","disabled"])),e.createCommentVNode(" Hacky input element to show HTML5 required warning "),o.required?(e.openBlock(),e.createElementBlock("input",{key:0,class:e.normalizeClass(a.classList.fakeInput),tabindex:"-1",value:a.textValue,required:""},null,10,Bm)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Native input support "),o.nativeSupport?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.mode=="single"?(e.openBlock(),e.createElementBlock("input",{key:0,type:"hidden",name:o.name,value:a.plainValue!==void 0?a.plainValue:""},null,8,Vm)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(a.plainValue,(i,l)=>(e.openBlock(),e.createElementBlock("input",{type:"hidden",name:`${o.name}[]`,value:i,key:l},null,8,Sm))),128))],64)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Screen reader assistive text "),o.searchable&&a.hasSelected?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(a.classList.assist),id:a.ariaAssist,"aria-hidden":"true"},e.toDisplayString(a.ariaLabel),11,Nm)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Create height for empty input "),e.createElementVNode("div",{class:e.normalizeClass(a.classList.spacer)},null,2)],42,cm)}Ze.render=xm,Ze.__file="src/Multiselect.vue";const ce=e.defineComponent({__name:"AoMultiselect",props:{detached:{type:Boolean},appendTo:{}},setup(a){const t=a,o=e.toRef(()=>t.appendTo),r=e.ref();return t.detached&&Fu({multiselect:r,appendTo:o.value}),(n,s)=>(e.openBlock(),e.createBlock(e.unref(Ze),{ref_key:"multiselectRef",ref:r,class:"ao-multiselect"},e.createSlots({_:2},[e.renderList(n.$slots,(i,l)=>({name:l,fn:e.withCtx(d=>[e.renderSlot(n.$slots,l,e.normalizeProps(e.guardReactiveProps(d??{})))])}))]),1536))}});var xr;function We(){const a=Mm(),t=a.appContext.config.globalProperties;return{i18next:t.$i18next,t:t.$t.bind(a.proxy)}}function Mm(){const a=e.getCurrentInstance();if(!a)throw new Error("i18next-vue: No Vue instance in context. Make sure to register the i18next-vue plugin using app.use(...).");return a}e.defineComponent({props:{translation:{type:String,required:!0}},setup(a,{slots:t}){return()=>{const o=a.translation,r=[];let n,s=0;for(;(n=xr.exec(o))!==null;){r.push(o.substring(s,n.index));const i=t[n[1]];i?r.push(...i()):r.push(n[0]),s=xr.lastIndex}return r.push(o.substring(s)),r}}});async function Te(a,t){if(t&&a&&a.length-t.length===1){const o=new Set(t.map(l=>l.id)),r=a.filter(l=>!o.has(l.id));if(r.length!==1)return;const n=r[0].id;await e.nextTick();const s=document.getElementById(n);s==null||s.focus(),await e.nextTick();const i=document.getElementById(n);i==null||i.select()}}const Tm={class:"ao-tasks"},Am={class:"ao-tasks__list"},Om=["id","value","readonly","onChange","onKeyup"],Im={class:"ao-tasks__list-footer"},Lm=e.defineComponent({__name:"AoActivityTasks",props:{activityId:{},tasks:{},isCheckable:{type:Function},users:{},isEditable:{type:Boolean},isTemplate:{type:Boolean}},emits:["add","delete","update"],setup(a,{emit:t}){const o=a,{t:r}=We();e.watch(()=>o.tasks,(f,m)=>{Te(f,m)});const n=e.computed(()=>{var f;return((f=o.users)==null?void 0:f.map(m=>({label:`${m.firstName} ${m.lastName}`,value:m.id,avatar:m.avatarUrl})))??[]}),s=()=>{const f=o.tasks.length,m={name:r("task.defaultName",{idx:f+1}),activityId:o.activityId};t("add",m)},i=(f,m)=>{const h=f.target.value;t("update",{id:m,name:h})},l=(f,m)=>{o.isEditable&&t("update",{id:f,isDone:m})},d=f=>{t("delete",{id:f})},p=(f,m)=>{t("update",{id:m,assigneeId:f[0]??null})},c=f=>{const m=f.target;m==null||m.blur()};return(f,m)=>(e.openBlock(),e.createElementBlock("div",Tm,[e.createElementVNode("ul",Am,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.tasks,u=>{var h,b;return e.openBlock(),e.createElementBlock("li",{key:u.id,class:"ao-subtask"},[((h=f.isCheckable)==null?void 0:h.call(f,u))??!1?(e.openBlock(),e.createBlock(Y,{key:0,class:"ao-subtask__check","icon-name":u.isDone?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank",disabled:!f.isEditable,variant:"ghost",color:"primary",onClick:()=>l(u.id,!u.isDone)},null,8,["icon-name","disabled","onClick"])):e.createCommentVNode("",!0),e.createElementVNode("input",{id:u.id,value:u.name,readonly:!f.isEditable,class:e.normalizeClass(["ao-field__input ao-subtask__field",{"ao-subtask__field--checked":u.isDone}]),type:"text",onChange:g=>i(g,u.id),onKeyup:e.withKeys(c,["enter"])},null,42,Om),e.createTextVNode(". "),!f.isTemplate&&f.users?(e.openBlock(),e.createBlock(ce,{key:1,value:(b=u.assignee)!=null&&b.id?[u.assignee.id]:[],options:n.value,"close-on-select":!0,searchable:!0,max:1,class:"ao-subtask__assignees",mode:"tags",placeholder:f.$t("feed.filters.assignee.placeholder"),disabled:!f.isEditable,caret:f.isEditable,onChange:g=>p(g,u.id)},{tag:e.withCtx(({option:g,handleTagRemove:y})=>[e.createVNode(ye,{"user-name":g.label,"avatar-url":g.avatar,"is-closable":!0,onClose:_=>y(g,_)},null,8,["user-name","avatar-url","onClose"])]),_:2},1032,["value","options","placeholder","disabled","caret","onChange"])):e.createCommentVNode("",!0),f.isEditable?(e.openBlock(),e.createBlock(Y,{key:2,class:"ao-subtask__delete","icon-name":"CancelRounded",size:"sm",variant:"ghost",color:"neutral",onClick:()=>d(u.id)},null,8,["onClick"])):e.createCommentVNode("",!0)])}),128))]),e.createElementVNode("div",Im,[f.isEditable?(e.openBlock(),e.createBlock(Y,{key:0,label:f.$t("activity.tasks.add"),"icon-name":"Add",variant:"ghost",color:"primary",onClick:s},null,8,["label"])):e.createCommentVNode("",!0)])]))}}),j4="",Dm=["onDrop","onDragenter","onDragover","onDragleave"],jm={class:"ao-files__placeholder"},Pm={key:0,class:"ao-files__list"},zm=["href"],Hm={class:"ao-file__title"},Rm={key:0},Um={class:"ao-files__input"},Fm={class:"ao-files__button ao-button ao-button--primary ao-button--ghost ao-button--sm"},Zm={class:"ao-button__label"},Wm={class:"ao-files__dropzone"},qm={class:"ao-files__dropzone-label"},Ym=e.defineComponent({__name:"AoActivityDetailsFiles",props:{attachments:{},isEditable:{type:Boolean}},emits:["add","toggleIsDropActive","remove"],setup(a,{emit:t}){const o=a,r=c=>{t("remove",c)},n=c=>{const f=c.target,m=Array.from(f.files??[]);t("add",m)},s=["dragenter","dragover","dragleave","drop"];e.onMounted(()=>{s.forEach(c=>{document.body.addEventListener(c,f=>f.preventDefault())})}),e.onUnmounted(()=>{s.forEach(c=>{document.body.removeEventListener(c,f=>f.preventDefault())})});const i=e.ref(!1);function l(){o.isEditable&&(i.value=!0)}function d(){i.value=!1}e.watch(i,c=>{t("toggleIsDropActive",c)});function p(c){var m;d();const f=Array.from(((m=c.dataTransfer)==null?void 0:m.files)||[]);c.dataTransfer&&t("add",f)}return(c,f)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["ao-files__wrapper",{"ao-files__wrapper--drop-active":i.value}]),onDrop:e.withModifiers(p,["prevent"]),onDragenter:e.withModifiers(l,["prevent"]),onDragover:e.withModifiers(l,["prevent"]),onDragleave:e.withModifiers(d,["prevent"])},[e.renderSlot(c.$slots,"default",{},()=>[e.createElementVNode("span",jm,e.toDisplayString(c.$t("activity.attachment.placeholder.resting")),1)]),c.attachments?(e.openBlock(),e.createElementBlock("ul",Pm,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.attachments,m=>(e.openBlock(),e.createElementBlock("li",{key:m.id,class:"ao-file"},[e.createElementVNode("a",{class:"ao-file__link",href:m.url,target:"_blank",rel:"noopener noreferrer"},[e.createVNode(Q,{class:"ao-file__icon",name:"AttachFileRounded",size:"sm"}),e.createElementVNode("span",Hm,e.toDisplayString(m.name),1)],8,zm),c.isEditable?(e.openBlock(),e.createBlock(Y,{key:0,class:"ao-files__delete-button","icon-name":"DeleteOutlineRounded",variant:"ghost",color:"primary",size:"sm",corners:"round",onClick:()=>r(m)},null,8,["onClick"])):e.createCommentVNode("",!0)]))),128)),c.isEditable?(e.openBlock(),e.createElementBlock("li",Rm,[e.createElementVNode("label",Um,[e.createElementVNode("div",Fm,[e.createVNode(Q,{name:"Add",size:"sm"}),e.createElementVNode("span",Zm,e.toDisplayString(c.$t("activity.attachment.button.resting")),1)]),e.createElementVNode("input",{class:"input-field",type:"file",name:"pictures",multiple:"",accept:"image/*",onChange:n},null,32)])])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("div",Wm,[e.createElementVNode("span",qm,e.toDisplayString(c.$t("activity.attachment.placeholder.active")),1)],512),[[e.vShow,i.value]])],42,Dm))}}),P4="",Km={class:"ao-comment"},Gm={class:"ao-comment__created-at"},Xm={class:"ao-comment__body"},Qm={class:"ao-comment__content-wrapper"},Jm={key:0,class:"ao-comment__content"},e3=["rows"],t3=["onClick"],a3={key:1,class:"ao-comment__footer"},o3=e.defineComponent({__name:"AoComment",props:{user:{},content:{},createdAt:{},editedAt:{},isEditable:{type:Boolean},mentionableUsers:{}},emits:["edit","remove"],setup(a,{emit:t}){const o=a,r=e.computed(()=>{const B=o.user;return B?`${B==null?void 0:B.firstName} ${B==null?void 0:B.lastName}`:null}),n=e.ref(null),s=e.ref(o.content),{isEditing:i,toggleIsEditing:l,onUpdate:d,onDiscard:p}=Vo(n),c=e.computed(()=>{const B=o.editedAt&&St(o.editedAt),E=St(o.createdAt),N=new Date,A=B??E;return A&&Fp(A,N)});e.computed(()=>i.value?"textarea":"p");const f=p(),m=d(B=>{t("edit",B)}),u=()=>{t("remove")},h=e.ref(2);e.onUpdated(()=>{e.nextTick(()=>{var B;if(!i.value){const E=(B=n.value)==null?void 0:B.getClientRects().length;h.value=E||2}})});const{showMentionList:b,mentionListPosition:g,filteredUsers:y,handleInput:_,handleKeydown:C,selectUserMention:v}=tr(n,s,e.toRef(o,"mentionableUsers"));return(B,E)=>{var N;return e.openBlock(),e.createElementBlock("li",Km,[r.value?(e.openBlock(),e.createBlock(ye,{key:0,"avatar-url":(N=B.user)==null?void 0:N.avatarUrl,"user-name":r.value,class:"ao-comment__avatar"},null,8,["avatar-url","user-name"])):e.createCommentVNode("",!0),e.createElementVNode("span",Gm,e.toDisplayString(c.value),1),e.createElementVNode("div",Xm,[e.createElementVNode("div",Qm,[e.unref(i)?e.withDirectives((e.openBlock(),e.createElementBlock("textarea",{key:1,ref_key:"commentContent",ref:n,class:"ao-comment__content","onUpdate:modelValue":E[0]||(E[0]=A=>s.value=A),rows:h.value,onInput:E[1]||(E[1]=(...A)=>e.unref(_)&&e.unref(_)(...A)),onKeydown:E[2]||(E[2]=(...A)=>e.unref(C)&&e.unref(C)(...A)),onKeyup:[E[3]||(E[3]=e.withKeys((...A)=>e.unref(f)&&e.unref(f)(...A),["esc"])),E[4]||(E[4]=e.withKeys(e.withModifiers((...A)=>e.unref(m)&&e.unref(m)(...A),["ctrl"]),["enter"]))]},null,40,e3)),[[e.vModelText,s.value]]):(e.openBlock(),e.createElementBlock("p",Jm,e.toDisplayString(B.content),1)),e.unref(b)&&e.unref(y).length>0?(e.openBlock(),e.createElementBlock("ul",{key:2,class:"mention-list",style:e.normalizeStyle({top:e.unref(g).top+"px",left:e.unref(g).left+"px"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(y),A=>(e.openBlock(),e.createElementBlock("li",{key:A.id,onClick:z=>e.unref(v)(A.name)}," @"+e.toDisplayString(A.name),9,t3))),128))],4)):e.createCommentVNode("",!0)])]),B.isEditable?(e.openBlock(),e.createElementBlock("div",a3,[e.unref(i)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(Y,{"icon-name":"CloseRounded",size:"sm",variant:"ghost",color:"neutral",onClick:e.unref(f)},null,8,["onClick"]),e.createVNode(Y,{"icon-name":"CheckSmallRounded",size:"sm",variant:"solid",corners:"round",color:"black",onClick:e.unref(m)},null,8,["onClick"])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(Y,{label:B.$t("activity.comment.delete"),size:"sm",variant:"ghost",color:"neutral",onClick:u},null,8,["label"]),e.createVNode(Y,{label:B.$t("activity.comment.edit"),size:"sm",variant:"ghost",color:"neutral",onClick:e.unref(l)},null,8,["label","onClick"])],64))])):e.createCommentVNode("",!0)])}}}),z4="",r3={class:"ao-comments__header"},n3=["onSubmit"],i3=["placeholder"],s3={class:"ao-comments__form-submit"},l3={key:0,class:"ao-comments__list"},c3=["onClick"],d3=e.defineComponent({__name:"AoActivityDetailsComments",props:{comments:{default:()=>[]},users:{},newComment:{default:""},userId:{}},emits:["createComment","updateComment","removeComment"],setup(a,{emit:t}){const o=a,r=e.computed(()=>(o.comments||[]).toSorted((v,B)=>Id(St(v.createdAt),St(B.createdAt)))),n=C=>o.users.find(B=>B.id===C),s=e.ref();e.nextTick(()=>{s.value&&(s.value.scrollTop=s.value.scrollHeight)});const i=e.toRef(o.newComment),l=e.computed({get(){return i.value},set(C){i.value=C}}),d=()=>{const C=i.value.trim();C&&(t("createComment",{authorId:o.userId,message:C,mentionedUserIds:_(C)}),i.value="")},p=(C,v)=>{t("updateComment",{id:C,message:v,mentionedUserIds:_(v)})},c=C=>{t("removeComment",{id:C})},f=e.ref(),{showMentionList:m,mentionListPosition:u,filteredUsers:h,handleInput:b,handleKeydown:g,selectUserMention:y,getMentionedUserIds:_}=tr(f,l,e.toRef(o,"users"));return(C,v)=>{var B;return e.openBlock(),e.createElementBlock("div",{ref_key:"commentsContainer",ref:s,class:"ao-comments"},[e.createElementVNode("div",r3,[e.createElementVNode("form",{class:"ao-comments__form",onSubmit:e.withModifiers(d,["prevent"])},[e.withDirectives(e.createElementVNode("textarea",{ref_key:"textareaRef",ref:f,"onUpdate:modelValue":v[0]||(v[0]=E=>l.value=E),rows:"2",class:"ao-field__textarea ao-comments__form-textarea",placeholder:C.$t("activity.comment.label"),onInput:v[1]||(v[1]=(...E)=>e.unref(b)&&e.unref(b)(...E)),onKeydown:v[2]||(v[2]=(...E)=>e.unref(g)&&e.unref(g)(...E))},null,40,i3),[[e.vModelText,l.value,void 0,{trim:!0}]]),e.createElementVNode("div",s3,[e.createVNode(Y,{type:"submit","icon-name":"SendRounded",color:"primary",variant:"solid",corners:"round",size:"sm"})])],40,n3)]),((B=r.value)==null?void 0:B.length)>0?(e.openBlock(),e.createElementBlock("ul",l3,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,E=>(e.openBlock(),e.createBlock(o3,{key:E.id,user:n(E.author.id),content:E.message,"created-at":E.createdAt,"edited-at":E.updatedAt,"is-editable":E.author.id===C.userId,"mentionable-users":C.users,class:"ao-comment",onEdit:N=>p(E.id,N),onRemove:()=>c(E.id)},null,8,["user","content","created-at","edited-at","is-editable","mentionable-users","onEdit","onRemove"]))),128))])):e.createCommentVNode("",!0),e.unref(m)&&e.unref(h).length>0?(e.openBlock(),e.createElementBlock("ul",{key:1,class:"mention-list",style:e.normalizeStyle({top:e.unref(u).top+"px",left:e.unref(u).left+"px"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(h),E=>(e.openBlock(),e.createElementBlock("li",{key:E.id,onClick:N=>e.unref(y)(E.name)}," @"+e.toDisplayString(E.name),9,c3))),128))],4)):e.createCommentVNode("",!0)],512)}}}),H4="",to=e.defineComponent({__name:"AoButtonCheck",props:{modelValue:{type:Boolean},color:{}},emits:["update:modelValue"],setup(a,{emit:t}){const o=a,r=()=>{t("update:modelValue",!o.modelValue)};return(n,s)=>(e.openBlock(),e.createBlock(Y,{color:n.modelValue?n.color:e.unref(Ta).NEUTRAL,"icon-position":"start",onClick:s[0]||(s[0]=()=>r())},null,8,["color"]))}}),p3={class:"ao-activity-details"},u3={class:"ao-activity-details__main"},m3={class:"ao-activity-details__header"},f3={key:1,class:"ao-activity__category"},h3={class:"ao-feed__activity-details__header"},g3={key:0,class:"ao-field ao-feed__activity-details__project"},_3={class:"ao-field__label"},v3={key:1,class:"ao-field ao-feed__activity-details__project"},C3={class:"ao-field__label"},b3={class:"ao-activity-details__content"},y3={class:"ao-fieldset"},w3={class:"ao-field__row"},k3={class:"ao-field ao-field--full"},$3={class:"ao-field__label"},E3=["readonly"],B3={class:"ao-field__row"},V3={class:"ao-field ao-field--inline"},S3={class:"ao-field__label"},N3=["readonly"],x3={class:"ao-field ao-field--inline"},M3={class:"ao-field__label"},T3={class:"ao-field__input ao-field__input--estim ao-field__input--readonly"},A3={class:"ao-fieldset"},O3={class:"ao-fieldset__title"},I3={class:"ao-fieldset__body"},L3={key:0,class:"ao-fieldset"},D3={class:"ao-fieldset__title"},j3={class:"ao-activity-details__aside"},P3={class:"ao-activity-details__close-button"},z3={key:0,class:"ao-activity-details__aside-section"},H3={class:"ao-field"},R3={class:"ao-field__label"},U3={class:"ao-activity-details__aside-section"},F3={class:"ao-field ao-field--multiselect"},Z3={class:"assignee-inline"},W3={class:"ao-field__label"},q3={class:"ao-activity-details__aside-section"},Y3={key:0,class:"ao-field__row"},K3={class:"ao-field"},G3={class:"ao-field__label"},X3=["readonly"],Q3={class:"ao-activity-details__aside-section"},J3={key:0,class:"ao-field__row"},ef={class:"ao-field ao-field--multiselect"},tf={class:"ao-activity-details__aside-section"},af={key:1,class:"ao-activity-details__aside-section"},of={class:"ao-fieldset ao-activity-details__aside-section"},rf={class:"ao-fieldset__title"},nf={class:"ao-fieldset__body"},sf={class:"ao-field__row"},lf={class:"ao-field ao-field--multiselect"},cf={class:"ao-field__label"},df={class:"ao-field__row"},pf={class:"ao-field ao-field--multiselect"},uf={class:"ao-field__label"},mf={key:2,class:"ao-activity-details__aside-section ao-activity-details__aside-section--created-by"},ff={class:"ao-activity__created-by"},ao=e.defineComponent({__name:"AoActivityDetails",props:{activity:{},activityTypes:{},breadcrumbs:{},milestoneId:{},templateActivities:{},templateMilestones:{},isTemplate:{type:Boolean},users:{},userId:{},isTaskCheckable:{},statuses:{},isEditable:{type:[Boolean,String]},attachmentEnabled:{type:Boolean},projects:{default:()=>[]},timeTrackingData:{}},emits:["update:activity","close","addSubtask","updateSubtask","deleteSubtask","addFiles","removeFile","addComment","updateComment","removeComment","toast"],setup(a,{emit:t}){const o=a,r=e.computed(()=>{var w;return o.isEditable===!0?!0:o.userId&&o.isEditable==="only-own"?o.userId===((w=o.activity.assignee)==null?void 0:w.id):!1}),n=w=>{t("update:activity",{id:o.activity.id,name:w})},s=e.computed({get(){return o.activity.description??""},set(w){t("update:activity",{id:o.activity.id,description:w})}}),i=e.computed({get(){return o.activity.estimation??0},set(w){t("update:activity",{id:o.activity.id,estimation:w})}}),l=e.computed({get(){var x;const w=(x=o.timeTrackingData)==null?void 0:x[o.activity.id];return(w==null?void 0:w.timeSpent)??0},set(){}}),d=e.computed({get(){return o.activity.important??!1},set(w){t("update:activity",{id:o.activity.id,important:w})}}),p=e.computed({get(){return o.activity.private??!1},set(w){t("update:activity",{id:o.activity.id,private:w})}}),c=e.computed({get(){return o.activity.deadline},set(w){t("update:activity",{id:o.activity.id,deadline:w})}}),f=e.computed(()=>{var w;return(w=o.activityTypes)==null?void 0:w.map(x=>({label:x.name,value:x.id}))}),m=e.computed({get(){var w;return(w=o.activity.type)==null?void 0:w.id},set(w){t("update:activity",{id:o.activity.id,typeId:w})}}),u=e.computed(()=>o.templateActivities.filter(w=>w.id!==o.activity.id).map(w=>({label:w.name,value:w.id}))),h=e.computed({get(){var w;return(w=o.activity.dependingOn)==null?void 0:w.map(x=>x.id)},set(w){w&&t("update:activity",{id:o.activity.id,dependingOn:w})}}),b=e.computed(()=>u.value.map(w=>{var x;return{...w,disabled:(x=o.activity.blocking)==null?void 0:x.some(R=>R.id===w.value)}})),g=e.computed({get(){var w;return(w=o.activity.blocking)==null?void 0:w.map(x=>x.id)},set(w){w&&t("update:activity",{id:o.activity.id,blocking:w})}}),y=e.computed(()=>u.value.map(w=>{var x;return{...w,disabled:(x=o.activity.dependingOn)==null?void 0:x.some(R=>R.id===w.value)}})),_=w=>{t("addSubtask",w)},C=w=>{t("updateSubtask",w)},v=w=>{t("deleteSubtask",w)};function B(){o.userId?A.value=[o.userId]:console.error("Failed assigning to self: userId is missing")}function E(w){A.value=[w]}const N=e.computed(()=>{var w;return((w=o.users)==null?void 0:w.map(x=>({label:`${x.firstName} ${x.lastName}`,value:x.id,avatar:x.avatarUrl})))||[]}),A=e.computed({get(){var w,x;return(w=o.activity.assignee)!=null&&w.id?[(x=o.activity.assignee)==null?void 0:x.id]:[]},set(w){t("update:activity",{id:o.activity.id,assigneeId:w[0]??null})}}),z=w=>{t("addFiles",{activityId:o.activity.id,files:w})},U=w=>{t("removeFile",{activityId:o.activity.id,file:w})},Z=e.computed(()=>o.projects.map(w=>({value:w.id,label:w.name}))),O=e.computed(()=>{var x,R,P;const w=(P=(R=(x=o.activity)==null?void 0:x.project)==null?void 0:R.phases)==null?void 0:P.reduce((M,D)=>[...M,...D.milestones],[]);return w==null?void 0:w.map(M=>({value:M.id,label:M.name}))}),H=w=>{o.activity&&t("update:activity",{id:o.activity.id,projectId:w})},K=w=>{o.activity&&t("update:activity",{id:o.activity.id,milestoneId:w})},W=e.computed(()=>{var w;return(w=o.statuses)==null?void 0:w.map(x=>({value:x.id,label:x.name}))}),F=w=>{t("update:activity",{id:o.activity.id,statusId:w})},S=w=>{t("addComment",{...w,activityId:o.activity.id})},$=w=>{t("updateComment",w)},L=w=>{t("removeComment",w)},V=e.computed(()=>{var w,x;return((w=o.activity.createdBy)==null?void 0:w.firstName)&&((x=o.activity.createdBy)==null?void 0:x.lastName)&&`${o.activity.createdBy.firstName} ${o.activity.createdBy.lastName}`});function T(){const w=window.location.origin,x=o.activity.slug,R=`${w}/activity-feed/slug/${x}`;navigator.clipboard.writeText(R).then(()=>{console.log(`Link copied to clipboard: ${R}`),t("toast","clipboard.copy.success","success")}).catch(()=>{console.log("Failed to copy link"),t("toast","clipboard.copy.error","error")})}return(w,x)=>(e.openBlock(),e.createBlock(na,{onClose:x[10]||(x[10]=R=>w.$emit("close"))},{default:e.withCtx(()=>{var R,P,M;return[e.createElementVNode("div",p3,[e.createElementVNode("div",u3,[e.createElementVNode("div",m3,[w.activity.slug?(e.openBlock(),e.createBlock(wt,{key:0,label:w.activity.slug,clickable:!0,variant:"solid_icon",color:"primary","icon-name":"ContentCopyOutline",class:"ao-activity__ao-tag",onClick:T},null,8,["label"])):e.createCommentVNode("",!0),w.breadcrumbs?(e.openBlock(),e.createElementBlock("div",f3,e.toDisplayString(w.breadcrumbs),1)):e.createCommentVNode("",!0),e.createVNode(ne,{title:w.activity.name||"",level:4,"is-editable":r.value,"onUpdate:title":n},null,8,["title","is-editable"]),e.createElementVNode("div",h3,[Z.value?(e.openBlock(),e.createElementBlock("label",g3,[e.createElementVNode("span",_3,e.toDisplayString(w.$t("activity.project.label")),1),e.createVNode(ce,{options:Z.value,value:(R=w.activity.project)==null?void 0:R.id,searchable:!0,disabled:!r.value,caret:r.value,onChange:H},null,8,["options","value","disabled","caret"])])):e.createCommentVNode("",!0),O.value?(e.openBlock(),e.createElementBlock("label",v3,[e.createElementVNode("span",C3,e.toDisplayString(w.$t("activity.milestone.label")),1),e.createVNode(ce,{options:O.value,value:(P=w.activity.milestone)==null?void 0:P.id,searchable:!0,disabled:!r.value,caret:r.value,onChange:K},null,8,["options","value","disabled","caret"])])):e.createCommentVNode("",!0)]),e.renderSlot(w.$slots,"header")]),e.createElementVNode("div",b3,[e.createElementVNode("fieldset",y3,[e.createElementVNode("div",w3,[e.createVNode(Ym,{attachments:w.activity.attachments,"is-editable":w.attachmentEnabled&&r.value&&w.isTemplate!==!0&&!!w.userId,onAdd:z,onRemove:U},{default:e.withCtx(()=>[e.createElementVNode("label",k3,[e.createElementVNode("span",$3,e.toDisplayString(w.$t("activity.description.label")),1),e.withDirectives(e.createElementVNode("textarea",{"onUpdate:modelValue":x[0]||(x[0]=D=>s.value=D),readonly:!r.value,rows:"4",class:"ao-field__textarea"},null,8,E3),[[e.vModelText,s.value,void 0,{lazy:!0,trim:!0}]])])]),_:1},8,["attachments","is-editable"])]),e.createElementVNode("div",B3,[e.createElementVNode("label",V3,[e.createElementVNode("span",S3,e.toDisplayString(w.$t("activity.estimation.label")),1),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":x[1]||(x[1]=D=>i.value=D),readonly:!r.value,class:"ao-field__input ao-field__input--estim",type:"number",min:"0"},null,8,N3),[[e.vModelText,i.value,void 0,{lazy:!0,number:!0}]])]),e.createElementVNode("label",x3,[e.createElementVNode("span",M3,e.toDisplayString(w.$t("activity.timeSpent.label")),1),e.createElementVNode("span",T3,e.toDisplayString(l.value),1)])])]),e.createElementVNode("fieldset",A3,[e.createElementVNode("div",O3,[e.createVNode(Q,{name:"SelectCheckBox"}),e.createVNode(ne,{level:4,title:w.$t("activity.tasks.title")},null,8,["title"])]),e.createElementVNode("div",I3,[e.createVNode(Lm,{class:"ao-activity-details__tasks ao-field__row",tasks:w.activity.tasks||[],"activity-id":w.activity.id,users:w.users,"is-checkable":w.isTaskCheckable,"is-editable":r.value,"is-template":w.isTemplate,onAdd:_,onUpdate:C,onDelete:v},null,8,["tasks","activity-id","users","is-checkable","is-editable","is-template"])])]),w.isTemplate!==!0&&w.userId?(e.openBlock(),e.createElementBlock("div",L3,[e.createElementVNode("div",D3,[e.createVNode(Q,{name:"ChatOutline"}),e.createVNode(ne,{level:4,title:w.$t("activity.comments.title")},null,8,["title"])]),e.createVNode(d3,{comments:w.activity.comments,users:w.users,"user-id":w.userId,onCreateComment:S,onUpdateComment:$,onRemoveComment:L},null,8,["comments","users","user-id"])])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",j3,[e.createElementVNode("div",P3,[e.createVNode(Q,{name:"CloseRounded",onClick:x[2]||(x[2]=D=>w.$emit("close"))})]),W.value?(e.openBlock(),e.createElementBlock("div",z3,[e.createElementVNode("label",H3,[e.createElementVNode("span",R3,e.toDisplayString(w.$t("activity.status.label")),1),e.createVNode(ce,{class:"ao-activity-details__multiselect",options:W.value,value:(M=w.activity.status)==null?void 0:M.id,"can-clear":!1,"can-deselect":!1,disabled:!r.value,caret:r.value,onChange:F},null,8,["options","value","disabled","caret"])])])):e.createCommentVNode("",!0),e.createElementVNode("div",U3,[e.createElementVNode("div",F3,[e.createElementVNode("div",Z3,[e.createElementVNode("span",W3,e.toDisplayString(w.$t("activity.assignee.label")),1),e.createVNode(Y,{label:w.$t("activity.assignee.toMe"),type:"button",color:"primary",variant:"solid",class:"ao-button--sm",onClick:B},null,8,["label"])]),e.createVNode(ce,{modelValue:A.value,"onUpdate:modelValue":x[3]||(x[3]=D=>A.value=D),class:"ao-activity-details__assignees ao-activity-details__multiselect",options:N.value,"close-on-select":!0,searchable:!0,placeholder:w.$t("activity.filters.assignee.placeholder"),mode:"tags",disabled:!r.value,caret:r.value,onSelect:E},{tag:e.withCtx(({option:D,handleTagRemove:ee})=>[e.createVNode(ye,{"user-name":D.label,"avatar-url":D.avatar,"is-closable":!0,onClose:le=>ee(D,le)},null,8,["user-name","avatar-url","onClose"])]),_:1},8,["modelValue","options","placeholder","disabled","caret"])])]),e.createElementVNode("div",q3,[w.isTemplate!==!0&&w.userId?(e.openBlock(),e.createElementBlock("div",Y3,[e.createElementVNode("label",K3,[e.createElementVNode("span",G3,e.toDisplayString(w.$t("activity.deadline.label")),1),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":x[4]||(x[4]=D=>c.value=D),readonly:!r.value,class:"ao-field__input",type:"date"},null,8,X3),[[e.vModelText,c.value,void 0,{lazy:!0}]])])])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Q3,[f.value?(e.openBlock(),e.createElementBlock("div",J3,[e.createElementVNode("label",ef,[e.createVNode(ce,{modelValue:m.value,"onUpdate:modelValue":x[5]||(x[5]=D=>m.value=D),class:"ao-activity-details__multiselect",mode:"single",searchable:!0,options:f.value,placeholder:w.$t("activity.filters.type.placeholder"),disabled:!r.value,caret:r.value},null,8,["modelValue","options","placeholder","disabled","caret"])])])):e.createCommentVNode("",!0),e.renderSlot(w.$slots,"default",{activity:w.activity})]),e.createElementVNode("div",tf,[e.createVNode(to,{modelValue:d.value,"onUpdate:modelValue":x[6]||(x[6]=D=>d.value=D),modelModifiers:{lazy:!0},label:w.$t("activity.important.label"),disabled:!r.value,variant:"ghost","icon-name":"FlagRounded",class:"ao-field__input",color:"danger",type:"checkbox",size:"sm"},null,8,["modelValue","label","disabled"])]),w.isTemplate!==!0&&w.activity.createdBy.id===w.userId?(e.openBlock(),e.createElementBlock("div",af,[e.createVNode(to,{modelValue:p.value,"onUpdate:modelValue":x[7]||(x[7]=D=>p.value=D),modelModifiers:{lazy:!0},label:w.$t("activity.private.label"),disabled:!r.value,variant:"ghost","icon-name":"Lock",color:"warning",class:"ao-field__input",size:"sm"},null,8,["modelValue","label","disabled"])])):e.createCommentVNode("",!0),e.createElementVNode("fieldset",of,[e.createElementVNode("div",rf,[e.createVNode(Q,{name:"FlowsheetOutlineRounded"}),e.createVNode(ne,{level:4,title:w.$t("activity.dependencies.title")},null,8,["title"])]),e.createElementVNode("div",nf,[e.createElementVNode("div",sf,[e.createElementVNode("label",lf,[e.createElementVNode("span",cf,e.toDisplayString(w.$t("activity.dependingOn.label")),1),e.createVNode(ce,{modelValue:h.value,"onUpdate:modelValue":x[8]||(x[8]=D=>h.value=D),class:"ao-activity-details__multiselect",mode:"tags","close-on-select":!1,searchable:!0,options:b.value,disabled:!r.value,caret:r.value},null,8,["modelValue","options","disabled","caret"])])]),e.createElementVNode("div",df,[e.createElementVNode("label",pf,[e.createElementVNode("span",uf,e.toDisplayString(w.$t("activity.blocking.label")),1),e.createVNode(ce,{modelValue:g.value,"onUpdate:modelValue":x[9]||(x[9]=D=>g.value=D),class:"ao-activity-details__multiselect",mode:"tags","close-on-select":!1,searchable:!0,options:y.value,disabled:!r.value,caret:r.value},null,8,["modelValue","options","disabled","caret"])])])])]),w.isTemplate!==!0&&V.value?(e.openBlock(),e.createElementBlock("div",mf,[e.createElementVNode("div",ff,[e.createVNode(ye,{"user-name":V.value,color:"black"},null,8,["user-name"]),e.createElementVNode("span",null,e.toDisplayString(V.value),1)])])):e.createCommentVNode("",!0)])])]}),_:3}))}}),R4="",hf=e.defineComponent({__name:"AoRuleLine",props:{rule:{},templatePhases:{},templateMilestones:{},templateActivities:{},tagName:{default:"li"}},emits:["update:rule","close"],setup(a,{emit:t}){const o=a,r=e.toRef(o.rule.itemType||te.ACTIVITIES),n=e.computed({get(){return r.value},set(y){r.value=y,t("update:rule",{...o.rule,itemType:y,subItemId:void 0})}}),s=e.computed(()=>Object.values(te)),i=e.computed({get(){return o.rule.subItemId},set(y){t("update:rule",{...o.rule,subItemId:y,itemType:o.rule.itemType||n.value})}}),l=e.computed(()=>{var _;return!o.templateActivities||!o.templateMilestones||!o.templatePhases?null:(_={[te.ACTIVITIES]:o.templateActivities,[te.MILESTONES]:o.templateMilestones,[te.PHASES]:o.templatePhases}[r.value])==null?void 0:_.map(C=>({value:C.id,label:C.name}))}),d=e.toRef(o.rule.comparator),p=e.computed({get(){return d.value},set(y){t("update:rule",{...o.rule,comparator:y})}}),c=e.computed(()=>Object.values(No)),f=e.toRef(o.rule.trigger),m=e.computed({get(){return f.value},set(y){t("update:rule",{...o.rule,trigger:y})}}),u=e.computed(()=>Object.values(xo)),h=e.computed({get(){return o.rule.duration},set(y){t("update:rule",{...o.rule,duration:y})}}),b=e.computed({get(){return o.rule.durationUnit},set(y){t("update:rule",{...o.rule,durationUnit:y})}}),g=e.computed(()=>Object.values(Mo));return(y,_)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(y.tagName),{class:"ao-rule-line"},{default:e.withCtx(()=>[e.createVNode(e.unref(Ze),{modelValue:n.value,"onUpdate:modelValue":_[0]||(_[0]=C=>n.value=C),options:s.value},null,8,["modelValue","options"]),e.createVNode(e.unref(Ze),{modelValue:i.value,"onUpdate:modelValue":_[1]||(_[1]=C=>i.value=C),options:l.value},null,8,["modelValue","options"]),e.createVNode(e.unref(Ze),{modelValue:m.value,"onUpdate:modelValue":_[2]||(_[2]=C=>m.value=C),options:u.value},null,8,["modelValue","options"]),e.createVNode(e.unref(Ze),{modelValue:p.value,"onUpdate:modelValue":_[3]||(_[3]=C=>p.value=C),options:c.value},null,8,["modelValue","options"]),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":_[4]||(_[4]=C=>h.value=C),type:"number",min:"0"},null,512),[[e.vModelText,h.value,void 0,{number:!0}]]),e.createVNode(e.unref(Ze),{modelValue:b.value,"onUpdate:modelValue":_[5]||(_[5]=C=>b.value=C),options:g.value},null,8,["modelValue","options"]),e.createVNode(Y,{class:"ao-rule-line__remove","icon-name":"CloseRounded",variant:"ghost",onClick:_[6]||(_[6]=C=>y.$emit("close"))})]),_:1}))}}),U4="",gf={class:"ao-template-rules__body"},_f={class:"ao-template-rules__list"},vf=e.defineComponent({__name:"AoTemplateRules",props:{templateId:{},rules:{},templatePhases:{},templateMilestones:{},templateActivities:{}},emits:["addRule","removeRule"],setup(a,{emit:t}){const o=()=>{t("addRule")},r=n=>{t("removeRule",n)};return(n,s)=>(e.openBlock(),e.createBlock(na,null,{header:e.withCtx(()=>[e.createVNode(ne,{title:n.$t("template.rules.title"),level:2},null,8,["title"])]),default:e.withCtx(()=>[e.createElementVNode("div",gf,[e.createElementVNode("ul",_f,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.rules,i=>(e.openBlock(),e.createBlock(hf,{key:i.id,rule:i,"template-phases":n.templatePhases,"template-milestones":n.templateMilestones,"template-activities":n.templateActivities,class:"ao-template-rule",onClose:()=>r(i.id)},null,8,["rule","template-phases","template-milestones","template-activities","onClose"]))),128))]),e.createVNode(Pe,{label:n.$t("template.rules.add"),"icon-name":"Add",onClick:o},null,8,["label"])])]),_:1}))}}),F4="";function at(a,t,o){const r=a.length,n=a.at(-1),s=n?ie.LexoRank.parse(n.rank).genNext():ie.LexoRank.middle();return{name:o(`template.defaultName.${t}`,{idx:r+1}),rank:s.format()}}const Cf={key:0,class:"ao-template-details"},bf={class:"ao-template-details__body"},yf={class:"ao-template-details__cols"},wf={class:"ao-template-details__col"},kf={class:"ao-list__footer"},$f={class:"ao-template-details__col"},Ef={class:"ao-template-details__col"},Mr=e.defineComponent({__name:"AoTemplateDetails",props:{templateId:{},templates:{},users:{},phaseId:{},milestoneId:{},activityId:{},activityTypes:{}},emits:["addItem","removeItem","updateItem","addRule","removeRule","addFiles","removeFile"],setup(a,{emit:t}){const o=a,{t:r}=We(),n=e.computed(()=>{var S;return(S=o.templates)==null?void 0:S.find($=>$.id===o.templateId)}),s=e.ref(!1);e.watch(()=>[o.templateId,o.phaseId,o.milestoneId],()=>s.value=!1),e.watch(()=>{var S;return(S=n.value)==null?void 0:S.phases},(S,$)=>{s.value&&Te(S,$)});const i=e.computed(()=>{var S,$;return($=(S=n==null?void 0:n.value)==null?void 0:S.phases)==null?void 0:$.find(L=>L.id===o.phaseId)});e.watch(()=>{var S;return(S=i.value)==null?void 0:S.milestones},(S,$)=>{s.value&&Te(S,$)});const l=e.computed(()=>{var S,$;return($=(S=i.value)==null?void 0:S.milestones)==null?void 0:$.find(L=>L.id===o.milestoneId)});e.watch(()=>{var S;return(S=l.value)==null?void 0:S.activities},(S,$)=>{s.value&&Te(S,$)});const d=e.computed(()=>{var S,$;return(($=(S=n.value)==null?void 0:S.phases)==null?void 0:$.reduce((L,V)=>{const T=V.milestones||[];return[...L,...T]},[]))||[]}),p=e.computed(()=>{var S,$;return(($=(S=n.value)==null?void 0:S.phases)==null?void 0:$.reduce((L,V)=>{const w=(V.milestones||[]).reduce((x,R)=>R.activities?[...x,...R.activities]:x,[]);return[...L,...w]},[]))||[]}),c=e.computed(()=>{var S,$;return($=(S=l.value)==null?void 0:S.activities)==null?void 0:$.find(L=>L.id===o.activityId)}),f=e.computed(()=>{var S;return((S=n.value)==null?void 0:S.name)||o.templateId}),m=()=>{if(!n.value)return;const{name:S,rank:$}=at(n.value.phases,"phase",r);s.value=!0,t("addItem",{type:te.PHASES,templateId:o.templateId,item:{name:S,rank:$}})},u=S=>{t("updateItem",{templateId:o.templateId,id:o.templateId,itemType:te.TEMPLATES,data:{name:S}})},h=S=>{t("removeItem",{itemType:te.PHASES,templateId:o.templateId,data:{id:S}})},b=(S,$)=>{t("updateItem",{templateId:o.templateId,id:S,itemType:te.PHASES,data:{name:$}})},g=S=>{t("updateItem",S)},y=S=>{if(!i.value)return;const{name:$,rank:L}=at(i.value.milestones,"milestone",r);s.value=!0,t("addItem",{type:te.MILESTONES,templateId:o.templateId,phaseId:S.phaseId,item:{name:$,rank:L,phaseId:S.phaseId}})},_=S=>{t("removeItem",{itemType:te.MILESTONES,templateId:o.templateId,phaseId:S.phaseId,data:{id:S.id}})},C=S=>{const{id:$,...L}=S;t("updateItem",{itemType:te.MILESTONES,id:$,templateId:o.templateId,data:L})},v=S=>{const{milestoneId:$}=S;if(!l.value)return;const{name:L,rank:V}=at(l.value.activities,"activity",r);s.value=!0,t("addItem",{type:te.ACTIVITIES,milestoneId:$,templateId:o.templateId,item:{name:L,rank:V,milestoneId:$}})},B=S=>{var $,L;t("removeItem",{itemType:te.ACTIVITIES,templateId:o.templateId,phaseId:($=i.value)==null?void 0:$.id,milestoneId:(L=l.value)==null?void 0:L.id,data:{id:S.id}})},E=S=>{const{id:$,...L}=S;t("updateItem",{itemType:te.ACTIVITIES,id:$,templateId:o.templateId,data:L})},N=e.ref(!1),A=()=>{N.value=!N.value},z=()=>{t("addRule",{templateId:o.templateId})},U=S=>{t("removeRule",{id:S,templateId:o.templateId})},Z=S=>{var $;if(S.moved){const L=Ot(S,(($=n.value)==null?void 0:$.phases)??[]);t("updateItem",{itemType:te.PHASES,id:S.moved.element.id,templateId:o.templateId,data:{rank:L}})}},O=S=>{!i.value||!l.value||!c.value||t("addItem",{type:te.TASKS,activityId:S.activityId,milestoneId:l.value.id,phaseId:i.value.id,templateId:o.templateId,item:S})},H=S=>{!i.value||!l.value||!c.value||t("updateItem",{itemType:te.TASKS,id:S.id,templateId:o.templateId,data:S})},K=S=>{!i.value||!l.value||!c.value||t("removeItem",{itemType:te.TASKS,activityId:c.value.id,milestoneId:l.value.id,phaseId:i.value.id,templateId:o.templateId,data:S})},W=S=>{t("addFiles",S)},F=S=>{t("removeFile",S)};return(S,$)=>{var L,V,T,w,x,R;return n.value?(e.openBlock(),e.createElementBlock("div",Cf,[e.createVNode(It,{"can-go-back":!0,onGoBack:$[1]||($[1]=P=>S.$router.push({name:e.unref(rt).TEMPLATES_LIST}))},{primary:e.withCtx(()=>[e.createVNode(ne,{title:f.value,level:2,"is-editable":!0,"onUpdate:title":$[0]||($[0]=P=>{u(P)})},null,8,["title"])]),_:1}),e.createElementVNode("div",bf,[e.createElementVNode("ol",yf,[e.createElementVNode("li",wf,[e.createVNode(e.unref(De),{"model-value":n.value.phases,class:"ao-templates__list","item-key":"id",handle:".ao-card__drag",onChange:Z},{header:e.withCtx(()=>[e.createVNode(ne,{title:S.$t("template.phases.title"),level:3,class:"ao-list__title"},null,8,["title"])]),item:e.withCtx(({element:P})=>{var M;return[e.createVNode(eu,{id:P.id,name:P.name,milestones:P.milestones,"is-active":((M=i.value)==null?void 0:M.id)===P.id,"is-draggable":!0,onClick:D=>S.$router.push({params:{templateId:S.templateId,phaseId:P.id}}),"onUpdate:title":D=>{b(P.id,D)},onRemove:()=>h(P.id)},null,8,["id","name","milestones","is-active","onClick","onUpdate:title","onRemove"])]}),footer:e.withCtx(()=>[e.createElementVNode("div",kf,[e.createVNode(Pe,{"icon-name":"AddBoxOutlineRounded",label:S.$t("template.phases.add"),onClick:m},null,8,["label"])])]),_:1},8,["model-value"])]),e.createElementVNode("li",$f,[i.value?(e.openBlock(),e.createBlock(ou,{key:0,"template-id":S.templateId,phase:i.value,"milestone-id":(L=l.value)==null?void 0:L.id,onAddMilestone:y,onUpdateMilestone:C,onUpdatePhase:g,onRemoveMilestone:_},null,8,["template-id","phase","milestone-id"])):e.createCommentVNode("",!0)]),e.createElementVNode("li",Ef,[i.value&&l.value?(e.openBlock(),e.createBlock(iu,{key:0,"template-id":S.templateId,"phase-id":(V=i.value)==null?void 0:V.id,milestone:l.value,"activity-id":(T=c.value)==null?void 0:T.id,onAddActivity:v,onUpdateActivity:E,onRemoveActivity:B},null,8,["template-id","phase-id","milestone","activity-id"])):e.createCommentVNode("",!0)])])]),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[c.value?(e.openBlock(),e.createBlock(ao,{key:0,activity:c.value,"activity-types":S.activityTypes,breadcrumbs:`${n.value.name} / ${(w=i.value)==null?void 0:w.name} / ${(x=l.value)==null?void 0:x.name}`,"milestone-id":(R=l.value)==null?void 0:R.id,"template-activities":p.value,"template-milestones":d.value,"is-template":!0,"is-editable":!0,users:S.users,"onUpdate:activity":$[2]||($[2]=P=>{c.value&&E(P)}),"attachment-enabled":!1,onClose:S.$router.back,onAddSubtask:O,onUpdateSubtask:H,onDeleteSubtask:K,onAddFiles:W,onRemoveFile:F},{default:e.withCtx(P=>[e.renderSlot(S.$slots,"activityDetailsBody",e.normalizeProps(e.guardReactiveProps(P)))]),_:3},8,["activity","activity-types","breadcrumbs","milestone-id","template-activities","template-milestones","users","onClose"])):e.createCommentVNode("",!0)])),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[N.value?(e.openBlock(),e.createBlock(vf,{key:0,"template-id":n.value.id,rules:n.value.rules||[],"template-phases":n.value.phases,"template-milestones":d.value,"template-activities":p.value,onClose:A,onAddRule:z,onRemoveRule:U},null,8,["template-id","rules","template-phases","template-milestones","template-activities"])):e.createCommentVNode("",!0)]))])):e.createCommentVNode("",!0)}}}),Z4="",Bf={class:"ao-card__content"},Vf={key:0,class:"ao-card__header"},Sf={class:"ao-card__body"},Nf={key:1,class:"ao-card__footer"},ba=e.defineComponent({__name:"AoCard",props:{isClickable:{type:Boolean},tagName:{default:"div"},isSelected:{type:Boolean},color:{},withLeftBorder:{type:Boolean,default:!1}},setup(a){return(t,o)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tagName),{class:e.normalizeClass(["ao-card",{"ao-card--clickable":t.isClickable}]),style:e.normalizeStyle(t.isSelected?{border:"solid",borderColor:t.color||"var(--ao-color-blue-base)",borderWidth:"thick"}:{})},{default:e.withCtx(()=>[t.withLeftBorder?(e.openBlock(),e.createElementBlock("div",{key:0,class:"ao-card__left-border",style:e.normalizeStyle({backgroundColor:t.color})},null,4)):e.createCommentVNode("",!0),e.createElementVNode("div",Bf,[t.$slots.header?(e.openBlock(),e.createElementBlock("header",Vf,[e.renderSlot(t.$slots,"header")])):e.createCommentVNode("",!0),e.createElementVNode("div",Sf,[e.renderSlot(t.$slots,"default")]),t.$slots.footer?(e.openBlock(),e.createElementBlock("footer",Nf,[e.renderSlot(t.$slots,"footer")])):e.createCommentVNode("",!0)])]),_:3},8,["class","style"]))}}),W4="",ya=e.defineComponent({__name:"AoProgress",props:{percentages:{},status:{},color:{}},setup(a){const t=a,o=e.computed(()=>typeof t.percentages=="number"?[t.percentages]:t.percentages??[]);return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["ao-progress",r.status?`ao-progress--${r.status}`:""]),role:"meter"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,s=>(e.openBlock(),e.createElementBlock("div",{key:s,class:e.normalizeClass(["ao-progress__progress"]),style:e.normalizeStyle({width:`${s*100}%`,"--ao-progress-color":r.color||"var(--ao-color-primary-base)"})},null,4))),128))],2))}}),q4="";/*!
3
3
  * vue-color-kit v1.0.6
4
4
  * (c) 2023
5
5
  * @license MIT
6
- */function ot(a){let t={r:0,g:0,b:0,a:1};/#/.test(a)?t=Mf(a):/rgb/.test(a)?t=Tr(a):typeof a=="string"?t=Tr(`rgba(${a})`):Object.prototype.toString.call(a)==="[object Object]"&&(t=a);const{r:o,g:r,b:n,a:s}=t,{h:i,s:l,v:d}=Tf(t);return{r:o,g:r,b:n,a:s===void 0?1:s,h:i,s:l,v:d}}function oo(a){const t=document.createElement("canvas"),o=t.getContext("2d"),r=a*2;return t.width=r,t.height=r,o.fillStyle="#ffffff",o.fillRect(0,0,r,r),o.fillStyle="#ccd5db",o.fillRect(0,0,a,a),o.fillRect(a,a,a,a),t}function ro(a,t,o,r,n,s){const i=a==="l",l=t.createLinearGradient(0,0,i?o:0,i?0:r);l.addColorStop(.01,n),l.addColorStop(.99,s),t.fillStyle=l,t.fillRect(0,0,o,r)}function xf({r:a,g:t,b:o},r){const n=i=>("0"+Number(i).toString(16)).slice(-2),s=`#${n(a)}${n(t)}${n(o)}`;return r?s.toUpperCase():s}function Mf(a){a=a.slice(1);const t=o=>parseInt(o,16)||0;return{r:t(a.slice(0,2)),g:t(a.slice(2,4)),b:t(a.slice(4,6))}}function Tr(a){return typeof a=="string"?(a=(/rgba?\((.*?)\)/.exec(a)||["","0,0,0,1"])[1].split(","),{r:Number(a[0])||0,g:Number(a[1])||0,b:Number(a[2])||0,a:Number(a[3]?a[3]:1)}):a}function Tf({r:a,g:t,b:o}){a=a/255,t=t/255,o=o/255;const r=Math.max(a,t,o),n=Math.min(a,t,o),s=r-n;let i=0;r===n?i=0:r===a?t>=o?i=60*(t-o)/s:i=60*(t-o)/s+360:r===t?i=60*(o-a)/s+120:r===o&&(i=60*(a-t)/s+240),i=Math.floor(i);let l=parseFloat((r===0?0:1-n/r).toFixed(2)),d=parseFloat(r.toFixed(2));return{h:i,s:l,v:d}}var no=e.defineComponent({props:{color:{type:String,default:"#000000"},hsv:{type:Object,default:null},size:{type:Number,default:152}},emits:["selectSaturation"],data(){return{slideSaturationStyle:{}}},mounted(){this.renderColor(),this.renderSlide()},methods:{renderColor(){const a=this.$refs.canvasSaturation,t=this.size,o=a.getContext("2d");a.width=t,a.height=t,o.fillStyle=this.color,o.fillRect(0,0,t,t),ro("l",o,t,t,"#FFFFFF","rgba(255,255,255,0)"),ro("p",o,t,t,"rgba(0,0,0,0)","#000000")},renderSlide(){this.slideSaturationStyle={left:this.hsv.s*this.size-5+"px",top:(1-this.hsv.v)*this.size-5+"px"}},selectSaturation(a){const{top:t,left:o}=this.$el.getBoundingClientRect(),r=a.target.getContext("2d"),n=i=>{let l=i.clientX-o,d=i.clientY-t;l<0&&(l=0),d<0&&(d=0),l>this.size&&(l=this.size),d>this.size&&(d=this.size),this.slideSaturationStyle={left:l-5+"px",top:d-5+"px"};const p=r.getImageData(Math.min(l,this.size-1),Math.min(d,this.size-1),1,1),[c,f,m]=p.data;this.$emit("selectSaturation",{r:c,g:f,b:m})};n(a);const s=()=>{document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",s)};document.addEventListener("mousemove",n),document.addEventListener("mouseup",s)}}});const Af={ref:"canvasSaturation"};function Of(a,t,o,r,n,s){return e.openBlock(),e.createBlock("div",{class:"saturation",onMousedown:t[1]||(t[1]=e.withModifiers((...i)=>a.selectSaturation&&a.selectSaturation(...i),["prevent","stop"]))},[e.createVNode("canvas",Af,null,512),e.createVNode("div",{style:a.slideSaturationStyle,class:"slide"},null,4)],32)}no.render=Of,no.__file="src/color/Saturation.vue";var io=e.defineComponent({props:{hsv:{type:Object,default:null},width:{type:Number,default:15},height:{type:Number,default:152}},emits:["selectHue"],data(){return{slideHueStyle:{}}},mounted(){this.renderColor(),this.renderSlide()},methods:{renderColor(){const a=this.$refs.canvasHue,t=this.width,o=this.height,r=a.getContext("2d");a.width=t,a.height=o;const n=r.createLinearGradient(0,0,0,o);n.addColorStop(0,"#FF0000"),n.addColorStop(.17*1,"#FF00FF"),n.addColorStop(.17*2,"#0000FF"),n.addColorStop(.17*3,"#00FFFF"),n.addColorStop(.17*4,"#00FF00"),n.addColorStop(.17*5,"#FFFF00"),n.addColorStop(1,"#FF0000"),r.fillStyle=n,r.fillRect(0,0,t,o)},renderSlide(){this.slideHueStyle={top:(1-this.hsv.h/360)*this.height-2+"px"}},selectHue(a){const{top:t}=this.$el.getBoundingClientRect(),o=a.target.getContext("2d"),r=s=>{let i=s.clientY-t;i<0&&(i=0),i>this.height&&(i=this.height),this.slideHueStyle={top:i-2+"px"};const l=o.getImageData(0,Math.min(i,this.height-1),1,1),[d,p,c]=l.data;this.$emit("selectHue",{r:d,g:p,b:c})};r(a);const n=()=>{document.removeEventListener("mousemove",r),document.removeEventListener("mouseup",n)};document.addEventListener("mousemove",r),document.addEventListener("mouseup",n)}}});const If={ref:"canvasHue"};function Lf(a,t,o,r,n,s){return e.openBlock(),e.createBlock("div",{class:"hue",onMousedown:t[1]||(t[1]=e.withModifiers((...i)=>a.selectHue&&a.selectHue(...i),["prevent","stop"]))},[e.createVNode("canvas",If,null,512),e.createVNode("div",{style:a.slideHueStyle,class:"slide"},null,4)],32)}io.render=Lf,io.__file="src/color/Hue.vue";var so=e.defineComponent({props:{color:{type:String,default:"#000000"},rgba:{type:Object,default:null},width:{type:Number,default:15},height:{type:Number,default:152}},emits:["selectAlpha"],data(){return{slideAlphaStyle:{},alphaSize:5}},watch:{color(){this.renderColor()},"rgba.a"(){this.renderSlide()}},mounted(){this.renderColor(),this.renderSlide()},methods:{renderColor(){const a=this.$refs.canvasAlpha,t=this.width,o=this.height,r=this.alphaSize,n=oo(r),s=a.getContext("2d");a.width=t,a.height=o,s.fillStyle=s.createPattern(n,"repeat"),s.fillRect(0,0,t,o),ro("p",s,t,o,"rgba(255,255,255,0)",this.color)},renderSlide(){this.slideAlphaStyle={top:this.rgba.a*this.height-2+"px"}},selectAlpha(a){const{top:t}=this.$el.getBoundingClientRect(),o=n=>{let s=n.clientY-t;s<0&&(s=0),s>this.height&&(s=this.height);let i=parseFloat((s/this.height).toFixed(2));this.$emit("selectAlpha",i)};o(a);const r=()=>{document.removeEventListener("mousemove",o),document.removeEventListener("mouseup",r)};document.addEventListener("mousemove",o),document.addEventListener("mouseup",r)}}});const Df={ref:"canvasAlpha"};function jf(a,t,o,r,n,s){return e.openBlock(),e.createBlock("div",{class:"color-alpha",onMousedown:t[1]||(t[1]=e.withModifiers((...i)=>a.selectAlpha&&a.selectAlpha(...i),["prevent","stop"]))},[e.createVNode("canvas",Df,null,512),e.createVNode("div",{style:a.slideAlphaStyle,class:"slide"},null,4)],32)}so.render=jf,so.__file="src/color/Alpha.vue";var lo=e.defineComponent({props:{color:{type:String,default:"#000000"},width:{type:Number,default:100},height:{type:Number,default:30}},data(){return{alphaSize:5}},watch:{color(){this.renderColor()}},mounted(){this.renderColor()},methods:{renderColor(){const a=this.$el,t=this.width,o=this.height,r=this.alphaSize,n=oo(r),s=a.getContext("2d");a.width=t,a.height=o,s.fillStyle=s.createPattern(n,"repeat"),s.fillRect(0,0,t,o),s.fillStyle=this.color,s.fillRect(0,0,t,o)}}});function Pf(a,t,o,r,n,s){return e.openBlock(),e.createBlock("canvas")}lo.render=Pf,lo.__file="src/color/Preview.vue";var co=e.defineComponent({props:{suckerCanvas:{type:Object,default:null},suckerArea:{type:Array,default:()=>[]}},data(){return{isOpenSucker:!1,suckerPreview:null,isSucking:!1}},watch:{suckerCanvas(a){this.isSucking=!1,this.suckColor(a)}},methods:{openSucker(){this.isOpenSucker?this.keydownHandler({keyCode:27}):(this.isOpenSucker=!0,this.isSucking=!0,this.$emit("openSucker",!0),document.addEventListener("keydown",this.keydownHandler))},keydownHandler(a){a.keyCode===27&&(this.isOpenSucker=!1,this.isSucking=!1,this.$emit("openSucker",!1),document.removeEventListener("keydown",this.keydownHandler),document.removeEventListener("mousemove",this.mousemoveHandler),document.removeEventListener("mouseup",this.mousemoveHandler),this.suckerPreview&&(document.body.removeChild(this.suckerPreview),this.suckerPreview=null))},mousemoveHandler(a){const{clientX:t,clientY:o}=a,{top:r,left:n,width:s,height:i}=this.suckerCanvas.getBoundingClientRect(),l=t-n,d=o-r,c=this.suckerCanvas.getContext("2d").getImageData(Math.min(l,s-1),Math.min(d,i-1),1,1);let[f,m,u,h]=c.data;h=parseFloat((h/255).toFixed(2));const b=this.suckerPreview.style;Object.assign(b,{position:"absolute",left:t+20+"px",top:o-36+"px",width:"24px",height:"24px",borderRadius:"50%",border:"2px solid #fff",boxShadow:"0 0 8px 0 rgba(0, 0, 0, 0.16)",background:`rgba(${f}, ${m}, ${u}, ${h})`,zIndex:95}),this.suckerArea.length&&t>=this.suckerArea[0]&&o>=this.suckerArea[1]&&t<=this.suckerArea[2]&&o<=this.suckerArea[3]?b.display="":b.display="none"},suckColor(a){a&&a.tagName!=="CANVAS"||(this.suckerPreview=document.createElement("div"),this.suckerPreview&&document.body.appendChild(this.suckerPreview),document.addEventListener("mousemove",this.mousemoveHandler),document.addEventListener("mouseup",this.mousemoveHandler),a.addEventListener("click",t=>{const{clientX:o,clientY:r}=t,{top:n,left:s,width:i,height:l}=a.getBoundingClientRect(),d=o-s,p=r-n,f=a.getContext("2d").getImageData(Math.min(d,i-1),Math.min(p,l-1),1,1);let[m,u,h,b]=f.data;b=parseFloat((b/255).toFixed(2)),this.$emit("selectSucker",{r:m,g:u,b:h,a:b})}))}}});const zf=e.createVNode("path",{d:"M13.1,8.2l5.6,5.6c0.4,0.4,0.5,1.1,0.1,1.5s-1.1,0.5-1.5,0.1c0,0-0.1,0-0.1-0.1l-1.4-1.4l-7.7,7.7C7.9,21.9,7.6,22,7.3,22H3.1C2.5,22,2,21.5,2,20.9l0,0v-4.2c0-0.3,0.1-0.6,0.3-0.8l5.8-5.8C8.5,9.7,9.2,9.6,9.7,10s0.5,1.1,0.1,1.5c0,0,0,0.1-0.1,0.1l-5.5,5.5v2.7h2.7l7.4-7.4L8.7,6.8c-0.5-0.4-0.5-1-0.1-1.5s1.1-0.5,1.5-0.1c0,0,0.1,0,0.1,0.1l1.4,1.4l3.5-3.5c1.6-1.6,4.1-1.6,5.8-0.1c1.6,1.6,1.6,4.1,0.1,5.8L20.9,9l-3.6,3.6c-0.4,0.4-1.1,0.5-1.5,0.1"},null,-1),Hf={key:1,class:"sucker",viewBox:"-16 -16 68 68",xmlns:"http://www.w3.org/2000/svg",stroke:"#9099a4"},Rf=e.createVNode("g",{fill:"none","fill-rule":"evenodd"},[e.createVNode("g",{transform:"translate(1 1)","stroke-width":"4"},[e.createVNode("circle",{"stroke-opacity":".5",cx:"18",cy:"18",r:"18"}),e.createVNode("path",{d:"M36 18c0-9.94-8.06-18-18-18"},[e.createVNode("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})])])],-1);function Uf(a,t,o,r,n,s){return e.openBlock(),e.createBlock("div",null,[a.isSucking?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createBlock("svg",{key:0,class:[{active:a.isOpenSucker},"sucker"],xmlns:"http://www.w3.org/2000/svg",viewBox:"-12 -12 48 48",onClick:t[1]||(t[1]=(...i)=>a.openSucker&&a.openSucker(...i))},[zf],2)),a.isSucking?(e.openBlock(),e.createBlock("svg",Hf,[Rf])):e.createCommentVNode("v-if",!0)])}co.render=Uf,co.__file="src/color/Sucker.vue";var po=e.defineComponent({props:{name:{type:String,default:""},color:{type:String,default:""}},emits:["inputColor","inputFocus","inputBlur"],setup(a,{emit:t}){return{modelColor:e.computed({get(){return a.color||""},set(s){t("inputColor",s)}}),handleFocus:s=>{t("inputFocus",s)},handleBlur:s=>{t("inputBlur",s)}}}});const Ff={class:"color-type"},Zf={class:"name"};function Wf(a,t,o,r,n,s){return e.openBlock(),e.createBlock("div",Ff,[e.createVNode("span",Zf,e.toDisplayString(a.name),1),e.withDirectives(e.createVNode("input",{"onUpdate:modelValue":t[1]||(t[1]=i=>a.modelColor=i),class:"value",onFocus:t[2]||(t[2]=(...i)=>a.handleFocus&&a.handleFocus(...i)),onBlur:t[3]||(t[3]=(...i)=>a.handleBlur&&a.handleBlur(...i))},null,544),[[e.vModelText,a.modelColor]])])}po.render=Wf,po.__file="src/color/Box.vue";var uo=e.defineComponent({name:"ColorPicker",props:{color:{type:String,default:"#000000"},colorsDefault:{type:Array,default:()=>[]},colorsHistoryKey:{type:String,default:""}},emits:["selectColor"],setup(a,{emit:t}){const o=e.ref(),r=e.ref([]),n=e.ref();a.colorsHistoryKey&&localStorage&&(r.value=JSON.parse(localStorage.getItem(a.colorsHistoryKey))||[]),n.value=oo(4).toDataURL(),e.onUnmounted(()=>{s(o.value)});function s(l){if(!l)return;const d=r.value||[],p=d.indexOf(l);p>=0&&d.splice(p,1),d.length>=8&&(d.length=7),d.unshift(l),r.value=d||[],localStorage&&a.colorsHistoryKey&&localStorage.setItem(a.colorsHistoryKey,JSON.stringify(d))}function i(l){t("selectColor",l)}return{setColorsHistory:s,colorsHistory:r,color:o,imgAlphaBase64:n,selectColor:i}}});const qf={class:"colors"},Yf={key:0,class:"colors history"};function Kf(a,t,o,r,n,s){return e.openBlock(),e.createBlock("div",null,[e.createVNode("ul",qf,[(e.openBlock(!0),e.createBlock(e.Fragment,null,e.renderList(a.colorsDefault,i=>(e.openBlock(),e.createBlock("li",{key:i,class:"item",onClick:l=>a.selectColor(i)},[e.createVNode("div",{style:{background:`url(${a.imgAlphaBase64})`},class:"alpha"},null,4),e.createVNode("div",{style:{background:i},class:"color"},null,4)],8,["onClick"]))),128))]),a.colorsHistory.length?(e.openBlock(),e.createBlock("ul",Yf,[(e.openBlock(!0),e.createBlock(e.Fragment,null,e.renderList(a.colorsHistory,i=>(e.openBlock(),e.createBlock("li",{key:i,class:"item",onClick:l=>a.selectColor(i)},[e.createVNode("div",{style:{background:`url(${a.imgAlphaBase64})`},class:"alpha"},null,4),e.createVNode("div",{style:{background:i},class:"color"},null,4)],8,["onClick"]))),128))])):e.createCommentVNode("v-if",!0)])}uo.render=Kf,uo.__file="src/color/Colors.vue";var vt=e.defineComponent({components:{Saturation:no,Hue:io,Alpha:so,Preview:lo,Sucker:co,Box:po,Colors:uo},emits:["changeColor","openSucker","inputFocus","inputBlur"],props:{color:{type:String,default:"#000000"},theme:{type:String,default:"dark"},suckerHide:{type:Boolean,default:!0},suckerCanvas:{type:null,default:null},suckerArea:{type:Array,default:()=>[]},colorsDefault:{type:Array,default:()=>["#000000","#FFFFFF","#FF1900","#F47365","#FFB243","#FFE623","#6EFF2A","#1BC7B1","#00BEFF","#2E81FF","#5D61FF","#FF89CF","#FC3CAD","#BF3DCE","#8E00A7","rgba(0,0,0,0)"]},colorsHistoryKey:{type:String,default:"vue-colorpicker-history"}},data(){return{hueWidth:15,hueHeight:152,previewHeight:30,modelRgba:"",modelHex:"",r:0,g:0,b:0,a:1,h:0,s:0,v:0}},computed:{isLightTheme(){return this.theme==="light"},totalWidth(){return this.hueHeight+(this.hueWidth+8)*2},previewWidth(){return this.totalWidth-(this.suckerHide?0:this.previewHeight)},rgba(){return{r:this.r,g:this.g,b:this.b,a:this.a}},hsv(){return{h:this.h,s:this.s,v:this.v}},rgbString(){return`rgb(${this.r}, ${this.g}, ${this.b})`},rgbaStringShort(){return`${this.r}, ${this.g}, ${this.b}, ${this.a}`},rgbaString(){return`rgba(${this.rgbaStringShort})`},hexString(){return xf(this.rgba,!0)}},created(){Object.assign(this,ot(this.color)),this.setText(),this.$watch("rgba",()=>{this.$emit("changeColor",{rgba:this.rgba,hsv:this.hsv,hex:this.modelHex})})},methods:{selectSaturation(a){const{r:t,g:o,b:r,h:n,s,v:i}=ot(a);Object.assign(this,{r:t,g:o,b:r,h:n,s,v:i}),this.setText()},handleFocus(a){this.$emit("inputFocus",a)},handleBlur(a){this.$emit("inputBlur",a)},selectHue(a){const{r:t,g:o,b:r,h:n,s,v:i}=ot(a);Object.assign(this,{r:t,g:o,b:r,h:n,s,v:i}),this.setText(),this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide()})},selectAlpha(a){this.a=a,this.setText()},inputHex(a){const{r:t,g:o,b:r,a:n,h:s,s:i,v:l}=ot(a);Object.assign(this,{r:t,g:o,b:r,a:n,h:s,s:i,v:l}),this.modelHex=a,this.modelRgba=this.rgbaStringShort,this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide(),this.$refs.hue.renderSlide()})},inputRgba(a){const{r:t,g:o,b:r,a:n,h:s,s:i,v:l}=ot(a);Object.assign(this,{r:t,g:o,b:r,a:n,h:s,s:i,v:l}),this.modelHex=this.hexString,this.modelRgba=a,this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide(),this.$refs.hue.renderSlide()})},setText(){this.modelHex=this.hexString,this.modelRgba=this.rgbaStringShort},openSucker(a){this.$emit("openSucker",a)},selectSucker(a){const{r:t,g:o,b:r,a:n,h:s,s:i,v:l}=ot(a);Object.assign(this,{r:t,g:o,b:r,a:n,h:s,s:i,v:l}),this.setText(),this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide(),this.$refs.hue.renderSlide()})},selectColor(a){const{r:t,g:o,b:r,a:n,h:s,s:i,v:l}=ot(a);Object.assign(this,{r:t,g:o,b:r,a:n,h:s,s:i,v:l}),this.setText(),this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide(),this.$refs.hue.renderSlide()})}}});const Gf={class:"color-set"};function Xf(a,t,o,r,n,s){const i=e.resolveComponent("Saturation"),l=e.resolveComponent("Hue"),d=e.resolveComponent("Alpha"),p=e.resolveComponent("Preview"),c=e.resolveComponent("Sucker"),f=e.resolveComponent("Box"),m=e.resolveComponent("Colors");return e.openBlock(),e.createBlock("div",{class:["hu-color-picker",{light:a.isLightTheme}],style:{width:a.totalWidth+"px"}},[e.createVNode("div",Gf,[e.createVNode(i,{ref:"saturation",color:a.rgbString,hsv:a.hsv,size:a.hueHeight,onSelectSaturation:a.selectSaturation},null,8,["color","hsv","size","onSelectSaturation"]),e.createVNode(l,{ref:"hue",hsv:a.hsv,width:a.hueWidth,height:a.hueHeight,onSelectHue:a.selectHue},null,8,["hsv","width","height","onSelectHue"]),e.createVNode(d,{ref:"alpha",color:a.rgbString,rgba:a.rgba,width:a.hueWidth,height:a.hueHeight,onSelectAlpha:a.selectAlpha},null,8,["color","rgba","width","height","onSelectAlpha"])]),e.createVNode("div",{style:{height:a.previewHeight+"px"},class:"color-show"},[e.createVNode(p,{color:a.rgbaString,width:a.previewWidth,height:a.previewHeight},null,8,["color","width","height"]),a.suckerHide?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createBlock(c,{key:0,"sucker-canvas":a.suckerCanvas,"sucker-area":a.suckerArea,onOpenSucker:a.openSucker,onSelectSucker:a.selectSucker},null,8,["sucker-canvas","sucker-area","onOpenSucker","onSelectSucker"]))],4),e.createVNode(f,{name:"HEX",color:a.modelHex,onInputColor:a.inputHex,onInputFocus:a.handleFocus,onInputBlur:a.handleBlur},null,8,["color","onInputColor","onInputFocus","onInputBlur"]),e.createVNode(f,{name:"RGBA",color:a.modelRgba,onInputColor:a.inputRgba,onInputFocus:a.handleFocus,onInputBlur:a.handleBlur},null,8,["color","onInputColor","onInputFocus","onInputBlur"]),e.createVNode(m,{color:a.rgbaString,"colors-default":a.colorsDefault,"colors-history-key":a.colorsHistoryKey,onSelectColor:a.selectColor},null,8,["color","colors-default","colors-history-key","onSelectColor"]),e.createCommentVNode(" custom options "),e.renderSlot(a.$slots,"default")],6)}vt.render=Xf,vt.__file="src/color/ColorPicker.vue",vt.install=a=>{a.component(vt.name,vt)};const Y4="",Qf={class:"color-picker-wrapper"},mo=e.defineComponent({__name:"AoColorPicker",props:{color:{}},emits:["update:color"],setup(a,{emit:t}){const o=a,r=e.ref(!1),n=e.ref(null),s=e.ref(null),i=e.ref(0),l=e.ref(0),d=async u=>{s.value=u,r.value=!0,await e.nextTick();const h=u.getBoundingClientRect(),b=n.value,g=(b==null?void 0:b.offsetHeight)||300,y=window.innerHeight-h.bottom,_=h.top,C=y<g&&_>g;console.log("pickerHeight = "+g),i.value=C?h.top-g-8:h.bottom+8,l.value=h.left,setTimeout(()=>{window.addEventListener("click",c)},0)},p=e.computed(()=>({position:"fixed",top:`${i.value}px`,left:`${l.value}px`,zIndex:1e3})),c=u=>{const h=u.target;n.value&&!n.value.contains(h)&&(r.value=!1,t("update:color",f.value),window.removeEventListener("click",c))};e.onBeforeUnmount(()=>{window.removeEventListener("click",c)}),e.watch(()=>o.color,u=>{r.value||(f.value=u)});const f=e.ref(o.color),m=u=>{const{r:h,g:b,b:g,a:y}=u.rgba;f.value=`rgba(${h}, ${b}, ${g}, ${y})`};return(u,h)=>(e.openBlock(),e.createElementBlock("div",Qf,[e.renderSlot(u.$slots,"clickable",{openPicker:d,bgColor:u.color}),r.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"pickerRef",ref:n,class:"color-picker",style:e.normalizeStyle(p.value)},[e.createVNode(e.unref(vt),{class:"color-picker-box",theme:"light",color:u.color,onChangeColor:m},null,8,["color"])],4)):e.createCommentVNode("",!0)]))}}),K4="",Jf={class:"ao-card-project-phase__header"},eh={class:"ao-card-project-item__title-line"},th={key:0,class:"ao-card-project-item-phase__estimation"},ah={class:"ao-card-project-phase__footer"},oh={key:0,class:"ao-card-project-phase__footer-row ao-card-project-phase__footer-row--progress"},rh={class:"ao-card-project-phase__subitem"},nh={class:"ao-card-project-phase__subitem"},ih={key:0,class:"ao-card-project-phase__secondary"},sh={class:"ao-card-project-phase__deadline ao-card-project-phase__deadline--readonly"},lh=e.defineComponent({__name:"AoCardProjectItemPhase",props:{id:{},projectName:{},name:{},milestones:{},isEditable:{type:Boolean},deadline:{},active:{type:Boolean},color:{},timeTrackingData:{}},emits:["update:title","update:deadline","archivePhase","unarchivePhase","updatePhase"],setup(a,{emit:t}){const o=a,r=u=>{t("update:title",u)},n=e.computed(()=>{var u;return((u=o.milestones)==null?void 0:u.reduce((h,b)=>{var g;return h+((g=b.activities)==null?void 0:g.reduce((y,_)=>y+(_.estimation||0),0))},0))||0}),s=e.computed(()=>!o.milestones||!o.timeTrackingData?0:o.milestones.reduce((u,h)=>{var b;return u+(((b=h.activities)==null?void 0:b.reduce((g,y)=>{var C;const _=(C=o.timeTrackingData)==null?void 0:C[y.id];return g+((_==null?void 0:_.timeSpent)||0)},0))||0)},0)),i=e.computed(()=>(s.value/60).toFixed(2)),l=e.computed(()=>{var u;return(u=o.milestones)==null?void 0:u.length}),d=e.computed(()=>{var u;return(u=o.milestones)==null?void 0:u.filter(h=>h.status===kt.done).length}),p=e.computed(()=>(d.value||0)/(l.value||1)),c=e.computed({get:()=>o.deadline??"",set:u=>t("update:deadline",u!=null&&u.length?u:null)}),f=e.computed({get:()=>o.color,set:u=>{t("updatePhase",{id:o.id,color:u})}}),m=(u,h)=>{const b=u.target;b.closest("button")||b.closest("input")||b.closest(".ao-title")||h(b)};return(u,h)=>(e.openBlock(),e.createBlock(mo,{color:f.value,"onUpdate:color":h[2]||(h[2]=b=>f.value=b)},{clickable:e.withCtx(({openPicker:b,bgColor:g})=>[e.createVNode(ba,{class:"ao-card-project-phase","is-clickable":u.isEditable,color:g,withLeftBorder:!0,onClick:y=>m(y,b)},e.createSlots({default:e.withCtx(()=>[e.createElementVNode("div",eh,[e.createVNode(ne,{id:u.id,class:"ao-card-project-phase__title",title:u.name||"",level:4,"is-editable":u.isEditable,"onUpdate:title":r},null,8,["id","title","is-editable"]),n.value||s.value?(e.openBlock(),e.createElementBlock("span",th," ("+e.toDisplayString(i.value)+"/"+e.toDisplayString(n.value)+")",1)):e.createCommentVNode("",!0)])]),footer:e.withCtx(()=>[e.createElementVNode("div",ah,[l.value?(e.openBlock(),e.createElementBlock("div",oh,[e.createElementVNode("div",rh,[e.createVNode(Q,{name:"MountainFlagOutlineRounded",size:"sm"}),e.createElementVNode("span",nh,e.toDisplayString(d.value)+" / "+e.toDisplayString(l.value),1)]),e.createVNode(ya,{percentages:p.value,class:"ao-card-project-phase__progress",color:u.color},null,8,["percentages","color"]),u.$slots.secondary?(e.openBlock(),e.createElementBlock("div",ih,[e.renderSlot(u.$slots,"secondary")])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["ao-card-project-phase__footer-row",c.value?"":"ao-card-project-phase__no_deadline"])},[u.isEditable?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:0,"onUpdate:modelValue":h[1]||(h[1]=y=>c.value=y),class:"ao-card-project-phase__deadline ao-card-project-phase__deadline--input",type:"date"},null,512)),[[e.vModelText,c.value,void 0,{lazy:!0}]]):e.createCommentVNode("",!0),e.createElementVNode("span",sh,e.toDisplayString(e.unref(ra)(u.deadline)),1)],2)])]),_:2},[u.isEditable?{name:"header",fn:e.withCtx(()=>[e.createElementVNode("div",Jf,[e.createVNode(Y,{class:"ao-card-project-phase__archive",color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:u.active?u.$t("archive"):u.$t("unarchive"),onClick:h[0]||(h[0]=e.withModifiers(()=>u.active?u.$emit("archivePhase",{id:u.id}):u.$emit("unarchivePhase",{id:u.id}),["stop"]))},null,8,["label"])])]),key:"0"}:void 0]),1032,["is-clickable","color","onClick"])]),_:3},8,["color"]))}}),G4="",ch=e.defineComponent({__name:"AoBadge",props:{color:{}},setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("span",{class:"aoBadge",style:e.normalizeStyle({backgroundColor:t.color})},null,4))}}),X4="",dh={class:"ao-card-project-milestone__default"},ph={class:"ao-title-with-badge-wrapper"},uh={class:"ao-card-project-item__title-line"},mh={key:0,class:"ao-card-project-item-milestone__estimation"},fh={key:0,class:"ao-card-project-milestone__archive"},hh={class:"ao-card-project-milestone__activities"},gh={class:"ao-card-project-milestone__activities-row"},_h={class:"ao-card-project-milestone__subitem"},vh={class:"ao-card-project-milestone__subitem"},Ch={key:1,class:"ao-card-project-milestone__secondary"},bh={class:"ao-card-project-milestone__footer"},yh={key:1,class:"ao-field ao-card-project-milestone__deadline"},wh={class:"ao-field__label"},kh={key:2,class:"ao-card-project-milestone__assignee"},$h=e.defineComponent({__name:"AoCardProjectItemMilestone",props:{id:{},name:{},color:{},phaseColor:{},activities:{},closedStatus:{},isEditable:{type:Boolean},deadline:{},active:{type:Boolean},isSelected:{type:Boolean},assignee:{},important:{type:Boolean},readonly:{type:Boolean},timeTrackingData:{}},emits:["updateMilestone","archiveMilestone","unarchiveMilestone"],setup(a,{emit:t}){const o=a,r=e.computed(()=>{var c;return((c=o.activities)==null?void 0:c.reduce((f,m)=>f+(m.estimation||0),0))||0}),n=e.computed(()=>!o.activities||!o.timeTrackingData?0:o.activities.reduce((c,f)=>{var u;const m=(u=o.timeTrackingData)==null?void 0:u[f.id];return c+((m==null?void 0:m.timeSpent)||0)},0)),s=e.computed(()=>(n.value/60).toFixed(2)),i=e.computed(()=>{var c;return(c=o.activities)==null?void 0:c.length}),l=e.computed(()=>{var c;return(c=o.activities)==null?void 0:c.filter(f=>Da(f,o.closedStatus)).length}),d=e.computed(()=>(l.value||0)/(i.value||1)),p=c=>{t("updateMilestone",{id:o.id,name:c})};return(c,f)=>(e.openBlock(),e.createBlock(ba,{class:e.normalizeClass(["ao-card-project-milestone"]),"is-clickable":!c.readonly,"tag-name":"li","is-selected":c.isSelected,color:c.phaseColor},{default:e.withCtx(()=>[e.createElementVNode("div",dh,[e.createElementVNode("div",ph,[e.createVNode(ch,{color:c.color||""},null,8,["color"]),e.createElementVNode("div",uh,[e.createVNode(ne,{id:c.id,title:c.name||"",level:5,"is-editable":!c.readonly&&c.isEditable,class:"ao-card-project-milestone__title","onUpdate:title":p},null,8,["id","title","is-editable"]),r.value||n.value?(e.openBlock(),e.createElementBlock("span",mh," ("+e.toDisplayString(s.value)+"/"+e.toDisplayString(r.value)+")",1)):e.createCommentVNode("",!0)])]),!c.readonly&&c.isEditable?(e.openBlock(),e.createElementBlock("div",fh,[e.createVNode(Y,{color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:c.active?c.$t("archive"):c.$t("unarchive"),onClick:f[0]||(f[0]=e.withModifiers(()=>c.active?c.$emit("archiveMilestone",{id:c.id}):c.$emit("unarchiveMilestone",{id:c.id}),["stop"]))},null,8,["label"])])):e.createCommentVNode("",!0)]),e.createElementVNode("div",hh,[e.createElementVNode("div",gh,[i.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",_h,[e.createVNode(Q,{name:"SelectCheckBox",size:"sm"}),e.createElementVNode("span",vh,e.toDisplayString(l.value)+" / "+e.toDisplayString(i.value),1)]),e.createVNode(ya,{percentages:d.value,color:c.phaseColor,class:"ao-card-project-milestone__progress"},null,8,["percentages","color"])],64)):e.createCommentVNode("",!0),c.$slots.secondary?(e.openBlock(),e.createElementBlock("div",Ch,[e.renderSlot(c.$slots,"secondary")])):e.createCommentVNode("",!0)])])]),footer:e.withCtx(()=>[e.createElementVNode("div",bh,[c.important?(e.openBlock(),e.createBlock(Q,{key:0,name:"FlagRounded",class:e.normalizeClass(c.isSelected?"ao-card-project-milestone__important--selected":"ao-card-project-milestone__important"),size:"sm"},null,8,["class"])):e.createCommentVNode("",!0),c.deadline?(e.openBlock(),e.createElementBlock("label",yh,[e.createElementVNode("span",wh,e.toDisplayString(e.unref(ra)(c.deadline)),1)])):e.createCommentVNode("",!0),c.assignee?(e.openBlock(),e.createElementBlock("div",kh,[e.createVNode(ye,{"user-name":e.unref(er)(c.assignee),"avatar-url":c.assignee.avatarUrl,color:c.isSelected?"black":"primary",size:"sm"},null,8,["user-name","avatar-url","color"])])):e.createCommentVNode("",!0)])]),_:3},8,["is-clickable","is-selected","color"]))}}),Q4="",Eh={class:"ao-mapping-card-project-phase__header"},Bh={class:"ao-card-project-item__title-line"},Vh={key:0,class:"ao-card-project-item-phase__estimation"},Sh={class:"ao-mapping-card-project-phase__footer"},Nh={key:0,class:"ao-mapping-card-project-phase__footer-row ao-mapping-card-project-phase__footer-row--progress"},xh={class:"ao-mapping-card-project-phase__subitem"},Mh={class:"ao-mapping-card-project-phase__subitem"},Th={key:0,class:"ao-mapping-card-project-phase__secondary"},Ah={class:"ao-mapping-card-project-phase__deadline ao-mapping-card-project-phase__deadline--readonly"},Oh=e.defineComponent({__name:"AoCondensedCardProjectItemPhase",props:{id:{},projectName:{},name:{},milestones:{},isEditable:{type:Boolean},deadline:{},active:{type:Boolean},color:{},timeTrackingData:{}},emits:["update:title","update:deadline","archivePhase","updatePhase","unarchivePhase"],setup(a,{emit:t}){const o=a,r=u=>{t("update:title",u)},n=e.computed(()=>{var u;return((u=o.milestones)==null?void 0:u.reduce((h,b)=>{var g;return h+((g=b.activities)==null?void 0:g.reduce((y,_)=>y+(_.estimation||0),0))},0))||0}),s=e.computed(()=>!o.milestones||!o.timeTrackingData?0:o.milestones.reduce((u,h)=>{var b;return u+(((b=h.activities)==null?void 0:b.reduce((g,y)=>{var C;const _=(C=o.timeTrackingData)==null?void 0:C[y.id];return g+((_==null?void 0:_.timeSpent)||0)},0))||0)},0)),i=e.computed(()=>(s.value/60).toFixed(2)),l=e.computed(()=>{var u;return(u=o.milestones)==null?void 0:u.length}),d=e.computed(()=>{var u;return(u=o.milestones)==null?void 0:u.filter(h=>h.status===kt.done).length}),p=e.computed(()=>(d.value||0)/(l.value||1)),c=e.computed({get:()=>o.deadline??"",set:u=>t("update:deadline",u!=null&&u.length?u:null)}),f=e.computed({get:()=>o.color,set:u=>{t("updatePhase",{id:o.id,color:u})}}),m=(u,h)=>{const b=u.target;b.closest("button")||b.closest("input")||b.closest(".ao-title")||h()};return(u,h)=>(e.openBlock(),e.createBlock(mo,{color:f.value,"onUpdate:color":h[2]||(h[2]=b=>f.value=b)},{clickable:e.withCtx(({openPicker:b,bgColor:g})=>[e.createVNode(ba,{class:"ao-mapping-card-project-phase","is-clickable":u.isEditable,color:g,withLeftBorder:!0,onClick:y=>m(y,b)},e.createSlots({default:e.withCtx(()=>[e.createElementVNode("div",Bh,[e.createVNode(ne,{id:u.id,class:"ao-mapping-card-project-phase__title",title:u.name||"",level:4,"is-editable":u.isEditable,"onUpdate:title":r},null,8,["id","title","is-editable"]),n.value||s.value?(e.openBlock(),e.createElementBlock("span",Vh," ("+e.toDisplayString(i.value)+"/"+e.toDisplayString(n.value)+")",1)):e.createCommentVNode("",!0)])]),footer:e.withCtx(()=>[e.createElementVNode("div",Sh,[l.value?(e.openBlock(),e.createElementBlock("div",Nh,[e.createElementVNode("div",xh,[e.createVNode(Q,{name:"MountainFlagOutlineRounded",size:"sm"}),e.createElementVNode("span",Mh,e.toDisplayString(d.value)+" / "+e.toDisplayString(l.value),1)]),e.createVNode(ya,{percentages:p.value,class:"ao-mapping-card-project-phase__progress",color:f.value},null,8,["percentages","color"]),u.$slots.secondary?(e.openBlock(),e.createElementBlock("div",Th,[e.renderSlot(u.$slots,"secondary")])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["ao-mapping-card-project-phase__footer-row",c.value?"":"ao-mapping-card-project-phase__no_deadline"])},[u.isEditable?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:0,"onUpdate:modelValue":h[1]||(h[1]=y=>c.value=y),class:"ao-mapping-card-project-phase__deadline ao-mapping-card-project-phase__deadline--input",type:"date"},null,512)),[[e.vModelText,c.value,void 0,{lazy:!0}]]):e.createCommentVNode("",!0),e.createElementVNode("span",Ah,e.toDisplayString(e.unref(ra)(u.deadline)),1)],2)])]),_:2},[u.isEditable?{name:"header",fn:e.withCtx(()=>[e.createElementVNode("div",Eh,[e.createVNode(Y,{class:"ao-mapping-card-project-phase__archive",color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:u.active?u.$t("archive"):u.$t("unarchive"),onClick:h[0]||(h[0]=e.withModifiers(()=>u.active?u.$emit("archivePhase",{id:u.id}):u.$emit("unarchivePhase",{id:u.id}),["stop"]))},null,8,["label"])])]),key:"0"}:void 0]),1032,["is-clickable","color","onClick"])]),_:3},8,["color"]))}}),J4="",Ih={class:"ao-project-phase"},Lh={key:0,class:"ao-project-phase__drag ao-card__drag"},Dh={key:1,class:"ao-project-phase__col-phase"},jh={key:2,class:"ao-mapping-project-phase__col-phase"},Ph={key:0,class:"ao-project-phase__col-milestones"},zh={class:"ao-project-phase__milestones-list-footer"},Hh=e.defineComponent({__name:"AoProjectPhase",props:{phase:{},closedStatus:{},users:{},isEditable:{type:Boolean},readonly:{type:Boolean},timeTrackingData:{}},emits:["addMilestone","updateMilestone","archiveMilestone","unarchiveMilestone","updatePhase","archivePhase","unarchivePhase"],setup(a,{emit:t}){const o=a,{t:r}=We();e.watch(()=>o.phase.milestones,(_,C)=>{Te(_,C)});const n=_=>{t("updatePhase",{id:o.phase.id,name:_})},s=_=>{t("updatePhase",{id:o.phase.id,deadline:_})},i=_=>{t("updatePhase",_)},l=e.computed(()=>o.phase.milestones.map(_=>_2(_,o.closedStatus))),d=_=>{const{name:C,rank:v}=at(l.value??[],"milestone",r);t("addMilestone",{name:C,rank:v,phaseId:_})},p=_=>{t("updateMilestone",_)},c=_=>{t("archiveMilestone",_)},f=_=>{t("unarchiveMilestone",_)},m=_=>{t("archivePhase",_)},u=_=>{t("unarchivePhase",_)},h=_=>{"added"in _?t("updateMilestone",{id:_.added.element.id,phaseId:o.phase.id,rank:dt(l.value,_.added.newIndex)}):"removed"in _||"moved"in _&&t("updateMilestone",{id:_.moved.element.id,rank:dt(l.value,_.moved.newIndex)})},b=Le.useRoute(),g=e.computed(()=>b.path.includes("/mapping")),y=e.computed(()=>{var _;return o.phase.id!==((_=b.params)==null?void 0:_.phaseId)?{backgroundColor:"var(--ao-color-sheet)"}:o.phase.color?{backgroundColor:C2(o.phase.color)}:{backgroundColor:"var(--ao-color-primary-lightest)"}});return(_,C)=>(e.openBlock(),e.createElementBlock("li",Ih,[e.createElementVNode("div",{class:"ao-project-phases__draggable-card",style:e.normalizeStyle(y.value)},[_.isEditable?(e.openBlock(),e.createElementBlock("div",Lh,[e.createVNode(Q,{name:"DragIndicator",class:"ao-project-phase__drag-handle"})])):e.createCommentVNode("",!0),g.value?(e.openBlock(),e.createElementBlock("div",jh,[e.createVNode(Oh,{id:_.phase.id,milestones:l.value,name:_.phase.name,deadline:_.phase.deadline,active:_.phase.active,"is-editable":_.isEditable,color:_.phase.color,"onUpdate:deadline":s,"onUpdate:title":n,onArchivePhase:m,onUnarchivePhase:u,onUpdatePhase:i},null,8,["id","milestones","name","deadline","active","is-editable","color"])])):(e.openBlock(),e.createElementBlock("div",Dh,[e.createVNode(lh,{id:_.phase.id,milestones:l.value,name:_.phase.name,deadline:_.phase.deadline,active:_.phase.active,"is-editable":_.isEditable,color:_.phase.color,"time-tracking-data":_.timeTrackingData,"onUpdate:deadline":s,"onUpdate:title":n,onArchivePhase:m,onUnarchivePhase:u,onUpdatePhase:i},null,8,["id","milestones","name","deadline","active","is-editable","color","time-tracking-data"])]))],4),g.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Ph,[e.createElementVNode("div",{class:"ao-project-phase__milestones",style:e.normalizeStyle(y.value)},[e.createVNode(e.unref(De),e.mergeProps({class:"ao-project-phase__milestones-list",list:l.value,disabled:_.readonly||!_.isEditable,"item-key":"id",group:"kanban"},_.$attrs,{onChange:h}),{item:e.withCtx(({element:v})=>{var B;return[e.createVNode($h,{id:v.id,name:v.name,color:v.color,"phase-color":_.phase.color,activities:v.activities,deadline:v.deadline,active:v.active,"is-editable":!_.readonly&&_.isEditable,"is-draggable":!_.readonly&&_.isEditable,"closed-status":_.closedStatus,"is-selected":v.id===((B=_.$route.params)==null?void 0:B.milestoneId),assignee:v.assignee,important:v.important,readonly:_.readonly,"time-tracking-data":_.timeTrackingData,class:e.normalizeClass(["ao-project-phase__milestone"]),onClick:E=>!_.readonly&&_.$router.push({name:e.unref(re).milestone,params:{phaseId:_.phase.id,milestoneId:v.id}}),onUpdateMilestone:p,onArchiveMilestone:c,onUnarchiveMilestone:f},null,8,["id","name","color","phase-color","activities","deadline","active","is-editable","is-draggable","closed-status","is-selected","assignee","important","readonly","time-tracking-data","onClick"])]}),_:1},16,["list","disabled"]),e.createElementVNode("div",zh,[_.isEditable?(e.openBlock(),e.createBlock(Pe,{key:0,label:_.$t("project.milestone.add"),class:"ao-project-phase__milestone-add","icon-name":"Add",onClick:C[0]||(C[0]=()=>d(_.phase.id))},null,8,["label"])):e.createCommentVNode("",!0)])],4)]))]))}}),e9="",Rh={class:"ao-project__phases"},Uh={key:0,class:"ao-project-phase__phases-list-footer"},Fh=e.createElementVNode("div",{class:"ao-project-phase__empty_drag"},null,-1),Zh={class:"ao-project-phase__col-phase"},Wh=e.createElementVNode("div",{class:"ao-project-phase__col-milestones"},null,-1),fo=e.defineComponent({__name:"AoProjectPhases",props:{phases:{},closedStatus:{},isEditable:{type:Boolean},users:{},readonly:{type:Boolean},timeTrackingData:{}},emits:["addMilestone","updateMilestone","archiveMilestone","unarchiveMilestone","addPhase","updatePhase","archivePhase","unarchivePhase"],setup(a,{emit:t}){const o=a;e.watch(()=>o.phases,(m,u)=>{Te(m,u)});const r=m=>{t("addMilestone",m)},n=m=>{t("updateMilestone",m)},s=m=>{t("archiveMilestone",m)},i=m=>{t("unarchiveMilestone",m)},l=m=>{t("archivePhase",m)},d=m=>{t("unarchivePhase",m)},p=m=>{if(m.moved){const u=Ot(m,o.phases??[]);t("updatePhase",{id:m.moved.element.id,rank:u})}},c=m=>{t("updatePhase",m)},f=m=>{t("addPhase",m)};return(m,u)=>(e.openBlock(),e.createElementBlock("div",Rh,[e.createVNode(e.unref(De),{class:"ao-project-phase__phases-list","model-value":m.phases,"item-key":"id",handle:".ao-card__drag",onChange:p},{item:e.withCtx(({element:h})=>[e.createVNode(Hh,{phase:h,"is-editable":!m.readonly&&m.isEditable,"closed-status":m.closedStatus,users:m.users,readonly:m.readonly,"time-tracking-data":m.timeTrackingData,onAddMilestone:r,onUpdateMilestone:n,onArchiveMilestone:s,onUnarchiveMilestone:i,onUpdatePhase:c,onArchivePhase:l,onUnarchivePhase:d},null,8,["phase","is-editable","closed-status","users","readonly","time-tracking-data"])]),_:1},8,["model-value"]),m.isEditable?(e.openBlock(),e.createElementBlock("div",Uh,[Fh,e.createElementVNode("div",Zh,[e.createVNode(Pe,{label:m.$t("project.phases.add"),"icon-name":"Add",class:"ao-project-phase__add-phase",onClick:f},null,8,["label"])]),Wh])):e.createCommentVNode("",!0)]))}}),t9="",qh=["onSubmit"],Yh={class:"ao-add-template-modal__form-body"},Kh={class:"field__row"},Gh={class:"ao-add-template-modal__form-footer"},Ar=e.defineComponent({__name:"AoAddTemplateModal",props:{projectId:{},templates:{}},emits:["apply"],setup(a,{emit:t}){const o=a,r=e.computed(()=>o.templates.map(l=>({value:l.id,label:l.name}))),n=e.ref(null),s=l=>{n.value=l},i=()=>{n.value&&t("apply",n.value,o.projectId)};return(l,d)=>(e.openBlock(),e.createBlock(na,{size:"sm"},{header:e.withCtx(()=>[e.createVNode(ne,{title:l.$t("project.template.apply.title"),level:3},null,8,["title"])]),default:e.withCtx(()=>[e.createElementVNode("form",{class:"ao-add-template-modal__form",onSubmit:e.withModifiers(i,["prevent"])},[e.createElementVNode("p",null,e.toDisplayString(l.$t("project.template.apply.notice")),1),e.createElementVNode("div",Yh,[e.createElementVNode("div",Kh,[e.createVNode(ce,{value:n.value,options:r.value,detached:!0,onChange:s},null,8,["value","options"])])]),e.createElementVNode("footer",Gh,[e.createVNode(Y,{label:l.$t("project.template.apply.label"),type:"submit",color:"primary",variant:"solid",onClick:i},null,8,["label"])])],40,qh)]),_:1}))}}),a9="",Xh=["onSubmit"],Qh={class:"ao-save-template-modal__form-body"},Jh={class:"field__row"},e5={class:"ao-field ao-field--inline"},t5={class:"ao-field__label"},a5={class:"ao-save-template-modal__phases"},o5={class:"ao-field__label"},r5={class:"ao-save-template-modal__phases-list"},n5=["value"],i5={class:"ao-save-template-modal__form-footer"},Or=e.defineComponent({__name:"AoSaveTemplateModal",props:{phases:{}},emits:["save"],setup(a,{emit:t}){const o=a,r=e.ref(""),n=e.ref([]);e.onMounted(()=>{n.value=o.phases.map(i=>i.id)});const s=()=>{r.value&&t("save",r.value,n.value)};return(i,l)=>(e.openBlock(),e.createBlock(na,{size:"sm"},{header:e.withCtx(()=>[e.createVNode(ne,{title:i.$t("project.template.save.title"),level:3},null,8,["title"])]),default:e.withCtx(()=>[e.createElementVNode("form",{class:"ao-save-template-modal__form",onSubmit:e.withModifiers(s,["prevent"])},[e.createElementVNode("div",Qh,[e.createElementVNode("div",Jh,[e.createElementVNode("label",e5,[e.createElementVNode("span",t5,e.toDisplayString(i.$t("project.template.name.label"))+": ",1),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":l[0]||(l[0]=d=>r.value=d),type:"text"},null,512),[[e.vModelText,r.value]])])]),e.createElementVNode("div",a5,[e.createElementVNode("div",o5,e.toDisplayString(i.$t("project.template.phases.label")),1),e.createElementVNode("div",r5,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.phases,d=>(e.openBlock(),e.createElementBlock("label",{class:"ao-field ao-field--checkbox",key:d.id},[e.withDirectives(e.createElementVNode("input",{type:"checkbox",value:d.id,"onUpdate:modelValue":l[1]||(l[1]=p=>n.value=p)},null,8,n5),[[e.vModelCheckbox,n.value]]),e.createElementVNode("span",null,e.toDisplayString(d.name),1)]))),128))])])]),e.createElementVNode("footer",i5,[e.createVNode(Y,{label:i.$t("project.template.save.label"),type:"submit",color:"primary",variant:"solid",onClick:s},null,8,["label"])])],40,Xh)]),_:1}))}}),o9="",s5=e.defineComponent({props:{modelValue:{type:[String,Number],required:!0},tabs:{type:Array,required:!0}},emits:["update:modelValue"],methods:{selectTab(a){this.$emit("update:modelValue",a)}}}),r9="",l5={class:"tabbar-wrapper"},c5=["onClick"];function d5(a,t,o,r,n,s){return e.openBlock(),e.createElementBlock("div",l5,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.tabs,i=>(e.openBlock(),e.createElementBlock("button",{key:i.value,class:e.normalizeClass(["tab-button",{"tab-button--active":i.value===a.modelValue}]),type:"button",onClick:l=>a.selectTab(i.value)},e.toDisplayString(i.label),11,c5))),128))])}const wa=j(s5,[["render",d5],["__scopeId","data-v-ff4e3297"]]),p5={class:"ao-project"},u5={class:"ao-project__body"},m5=e.defineComponent({__name:"AoProjectOverviewProject",props:{project:{},phases:{},closedStatus:{},users:{},userId:{},templates:{},isTaskCheckable:{type:Function},statuses:{},activityTypes:{},isEditable:{type:[Boolean,String]},showsArchived:{type:Boolean},attachmentEnabled:{type:Boolean},timeTrackingData:{}},emits:["addPhase","updatePhase","archivePhase","unarchivePhase","addMilestone","updateMilestone","archiveMilestone","unarchiveMilestone","addActivity","update:activity","archiveActivity","copyPhaseToTemplate","unarchiveActivity","addSubtask","updateSubtask","deleteSubtask","addFiles","removeFile","addComment","updateComment","removeComment","applyTemplate","saveTemplate","update:showsArchived"],setup(a,{emit:t}){const o=a,{t:r}=We(),n=e.computed(()=>o.phases.flatMap($=>$.milestones)),s=()=>{const{name:$,rank:L}=at(o.phases,"phase",r);t("addPhase",{name:$,rank:L,projectId:o.project.id})},i=$=>{t("updatePhase",$)},l=$=>{t("archivePhase",$)},d=$=>{t("unarchivePhase",$)},p=$=>{t("copyPhaseToTemplate",$)},c=$=>{t("addMilestone",$)},f=$=>{t("updateMilestone",$)},m=$=>{t("archiveMilestone",$)},u=$=>{t("unarchiveMilestone",$)},h=$=>{t("addActivity",$)},b=$=>{t("update:activity",$)},g=$=>{t("archiveActivity",$)},y=$=>{t("unarchiveActivity",$)},_=$=>{t("addSubtask",$)},C=$=>{t("updateSubtask",$)},v=$=>{t("deleteSubtask",$)},B=e.computed(()=>n.value.flatMap($=>$.activities)),E=$=>{t("addFiles",$)},N=$=>{t("removeFile",$)},A=$=>{t("addComment",$)},z=$=>{t("updateComment",$)},U=$=>{t("removeComment",$)},Z=e.ref(!1),O=e.ref(!1),H=($,L)=>{t("applyTemplate",{templateId:$,projectId:L}),Z.value=!1},K=($,L)=>{var w;const V=(w=o.templates)==null?void 0:w.at(-1),T=V?ie.LexoRank.parse(V.rank).genNext():ie.LexoRank.middle();t("saveTemplate",{templateName:$,rank:T.format(),phaseIds:L}),O.value=!1},W=Le.useRouter(),F=e.ref("overview"),S=[{label:"Overview",value:"overview"},{label:"Feed",value:"feed"},{label:"Mapping",value:"mapping"}];return e.watch(F,$=>{$==="feed"?(W.push({name:re.feed}),console.log("Navigating to feed...")):$==="overview"?(W.push({name:re.project}),console.log("Navigating to feed...")):$==="mapping"&&(W.push({name:re.mapping}),console.log("Navigating to feed..."))}),($,L)=>{const V=e.resolveComponent("RouterView");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",e.mergeProps({class:"ao-project-overview"},$.$attrs),[e.createElementVNode("div",p5,[e.createVNode(It,null,{primary:e.withCtx(()=>[e.createVNode(wa,{tabs:S,modelValue:F.value,"onUpdate:modelValue":L[0]||(L[0]=T=>F.value=T)},null,8,["modelValue"]),e.createVNode(Y,{class:"ao-feed__show-archived",size:"sm","icon-name":$.showsArchived?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank","icon-position":"start",color:"primary",variant:"ghost",label:$.$t("feed.filters.showsArchived.label"),role:"checkbox","aria-checked":$.showsArchived,onClick:L[1]||(L[1]=T=>$.$emit("update:showsArchived",!$.showsArchived))},null,8,["icon-name","label","aria-checked"])]),secondary:e.withCtx(()=>[$.isEditable===!0?(e.openBlock(),e.createBlock(Y,{key:0,class:"ao-project-overview__save-as-template",color:"primary",label:$.$t("project.template.save.label"),onClick:L[2]||(L[2]=T=>O.value=!0)},null,8,["label"])):e.createCommentVNode("",!0),$.isEditable===!0?(e.openBlock(),e.createBlock(Y,{key:1,class:"ao-project-overview__add-template",color:"primary",label:$.$t("project.template.apply.label"),onClick:L[3]||(L[3]=T=>Z.value=!0)},null,8,["label"])):e.createCommentVNode("",!0)]),_:1}),e.createElementVNode("div",u5,[e.createVNode(fo,{phases:$.phases,"closed-status":$.closedStatus,"is-editable":$.isEditable===!0,users:$.users,"time-tracking-data":$.timeTrackingData,onAddMilestone:c,onUpdateMilestone:f,onArchiveMilestone:m,onUnarchiveMilestone:u,onAddPhase:s,onUpdatePhase:i,onArchivePhase:l,onUnarchivePhase:d,onCopyPhaseToTemplate:p},null,8,["phases","closed-status","is-editable","users","time-tracking-data"])])]),e.createVNode(V,{class:"ao-project__sidebar",phases:$.phases,"project-id":$.project.id,"project-name":$.project.name,users:$.users,"is-editable":$.isEditable===!0,"closed-status":$.closedStatus,"time-tracking-data":$.timeTrackingData,onClose:L[4]||(L[4]=T=>$.$router.push({name:e.unref(re).project})),onUpdateMilestone:f,onAddActivity:h,onUpdateActivity:b,onArchiveActivity:g,onUnarchiveActivity:y},null,8,["phases","project-id","project-name","users","is-editable","closed-status","time-tracking-data"]),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(V,{name:"modal",activities:B.value,"is-task-checkable":$.isTaskCheckable,statuses:$.statuses,"activity-types":$.activityTypes,phases:$.phases,project:$.project,users:$.users,"user-id":$.userId,"is-editable":$.isEditable,"attachment-enabled":$.attachmentEnabled,"time-tracking-data":$.timeTrackingData,"onUpdate:activity":b,onAddSubtask:_,onUpdateSubtask:C,onDeleteSubtask:v,onAddFiles:E,onRemoveFile:N,onAddComment:A,onUpdateComment:z,onRemoveComment:U},{default:e.withCtx(({Component:T})=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(T),null,{default:e.withCtx(w=>[e.renderSlot($.$slots,"activityDetailsBody",e.normalizeProps(e.guardReactiveProps(w)))]),_:2},1024))]),_:3},8,["activities","is-task-checkable","statuses","activity-types","phases","project","users","user-id","is-editable","attachment-enabled","time-tracking-data"])]))],16),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[O.value?(e.openBlock(),e.createBlock(Or,{key:0,phases:$.phases,onClose:L[5]||(L[5]=T=>O.value=!1),onSave:K},null,8,["phases"])):e.createCommentVNode("",!0),Z.value?(e.openBlock(),e.createBlock(Ar,{key:1,"project-id":$.project.id,templates:$.templates,onClose:L[6]||(L[6]=T=>Z.value=!1),onApply:H},null,8,["project-id","templates"])):e.createCommentVNode("",!0)]))],64)}}}),n9="",f5={class:"ao-card-feed__header"},h5={key:1,class:"ao-card-feed__header-secondary ao-card-feed__header-icons"},g5={key:2,class:"ao-card-feed__header-secondary ao-card-feed__secondary"},_5={class:"ao-card-feed__body"},v5={key:0,class:"ao-card-feed__breadcrumbs"},C5={class:e.normalizeClass(["ao-card-feed__title-group"])},b5={class:"ao-card-feed__title-line"},y5={key:0,class:"ao-card-feed__slug"},w5={key:1,class:"ao-card-feed__deadline"},k5={class:"ao-card-feed__footer"},$5={class:"ao-card-feed__footer-row"},E5={class:"ao-assignees"},B5={key:0,class:"ao-assignee"},V5={key:0,class:"ao-card-feed__subitems"},S5={key:0,class:"ao-card-feed__subitem"},N5={class:"ao-card-feed__subitem"},x5={key:1,class:"ao-card-feed__subitem"},M5={class:"ao-card-feed__subitem"},T5={class:"ao-card-feed__footer-row"},A5={key:0,class:"ao-card-feed__progress-wrapper"},O5={class:"ao-card-feed__subitem"},I5={class:"ao-card-feed__subitem"},L5={class:"ao-card-feed__footer-row ao-card-feed__footer-row--timer"},ho=e.defineComponent({__name:"AoCardFeed",props:{id:{},name:{},projectName:{},projectId:{},projectColor:{},phaseName:{},milestoneName:{},milestoneColor:{},deadline:{},important:{type:Boolean},assignee:{},slug:{},comments:{},attachments:{},tasks:{},isEditable:{type:Boolean},isPrivate:{type:Boolean},isClosed:{type:Boolean},tagType:{}},emits:["removeAssignee","updateActivity","startTimer"],setup(a,{emit:t}){const o=a,r=e.computed(()=>o.tagType==="milestone"?o.milestoneName:o.projectName),n=e.computed(()=>o.tagType==="milestone"?o.milestoneColor:o.projectColor),s=h=>{t("updateActivity",{id:o.id,name:h})},i=e.computed(()=>o.tagType==="milestone"&&o.phaseName?`${o.phaseName}`:o.phaseName&&o.milestoneName?`${o.phaseName} / ${o.milestoneName}`:""),l=e.computed(()=>o.assignee?[o.assignee]:[]),d=e.computed(()=>ra(o.deadline)),p=h=>{t("removeAssignee",h)},c=()=>{t("startTimer",{activityId:o.id,name:o.name,project:o.projectName,projectId:o.projectId,slug:o.slug})},f=e.computed(()=>{var h;return(h=o.tasks)==null?void 0:h.length}),m=e.computed(()=>{var h;return(h=o.tasks)==null?void 0:h.filter(b=>b.isDone).length}),u=e.computed(()=>(m.value||0)/(f.value||1));return(h,b)=>(e.openBlock(),e.createBlock(ba,{class:e.normalizeClass(["ao-card-feed",{"ao-card-feed--closed":h.isClosed}]),"is-clickable":!0},{header:e.withCtx(()=>[e.createElementVNode("div",f5,[r.value?(e.openBlock(),e.createBlock(wt,{key:0,label:r.value,class:"ao-card-feed__project",variant:"solid",color:h.projectColor?void 0:"primary","raw-color":n.value},null,8,["label","color","raw-color"])):e.createCommentVNode("",!0),h.isPrivate||h.important||h.isClosed?(e.openBlock(),e.createElementBlock("div",h5,[h.isPrivate?(e.openBlock(),e.createBlock(Q,{key:0,name:"Lock",class:"ao-card-feed__warning",size:"sm"})):e.createCommentVNode("",!0),h.important?(e.openBlock(),e.createBlock(Q,{key:1,name:"FlagRounded",class:"ao-card-feed__important",size:"sm"})):e.createCommentVNode("",!0),h.isClosed?(e.openBlock(),e.createBlock(Q,{key:2,name:"CheckSmallRounded",class:"ao-card-feed__closed"})):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),h.$slots.secondary?(e.openBlock(),e.createElementBlock("div",g5,[e.renderSlot(h.$slots,"secondary")])):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[e.createElementVNode("div",_5,[i.value?(e.openBlock(),e.createElementBlock("span",v5,e.toDisplayString(i.value),1)):e.createCommentVNode("",!0),e.createElementVNode("div",C5,[e.createElementVNode("div",b5,[h.slug?(e.openBlock(),e.createElementBlock("span",y5,e.toDisplayString(h.slug)+": ",1)):e.createCommentVNode("",!0),e.createVNode(ne,{id:h.id,title:h.name,level:5,"is-editable":h.isEditable,"onUpdate:title":s,class:"ao-card-feed__title-inline"},null,8,["id","title","is-editable"])])]),h.deadline?(e.openBlock(),e.createElementBlock("span",w5,e.toDisplayString(d.value),1)):e.createCommentVNode("",!0)])]),footer:e.withCtx(()=>[e.createElementVNode("div",k5,[e.createElementVNode("div",$5,[e.createElementVNode("ul",E5,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,g=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:g.id},[g?(e.openBlock(),e.createElementBlock("li",B5,[e.createVNode(ye,{"user-name":e.unref(er)(g),"avatar-url":g.avatarUrl,"is-closable":!0,onClose:()=>p(g.id)},null,8,["user-name","avatar-url","onClose"])])):e.createCommentVNode("",!0)],64))),128))]),h.comments||h.attachments?(e.openBlock(),e.createElementBlock("ul",V5,[h.comments?(e.openBlock(),e.createElementBlock("li",S5,[e.createVNode(Q,{name:"ChatOutline",size:"sm"}),e.createElementVNode("span",N5,e.toDisplayString(h.comments),1)])):e.createCommentVNode("",!0),h.attachments?(e.openBlock(),e.createElementBlock("li",x5,[e.createVNode(Q,{name:"AttachFileRounded",size:"sm"}),e.createElementVNode("span",M5,e.toDisplayString(h.attachments),1)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",T5,[h.tasks&&h.tasks.length?(e.openBlock(),e.createElementBlock("div",A5,[e.createElementVNode("div",O5,[e.createVNode(Q,{name:"SelectCheckBox",size:"sm"}),e.createElementVNode("span",I5,e.toDisplayString(m.value)+" / "+e.toDisplayString(f.value),1)]),e.createVNode(ya,{percentages:u.value,class:"ao-card-feed__progress"},null,8,["percentages"])])):e.createCommentVNode("",!0)]),e.createElementVNode("div",L5,[e.createVNode(Y,{color:"primary",variant:"ghost","icon-name":"TimerOutline",size:"md","icon-position":"start",corners:"round",label:h.$t("feed.activity.timer"),onClick:e.withModifiers(c,["stop"])},null,8,["label","onClick"])])])]),_:3},8,["class"]))}}),i9="",D5={class:"ao-project-milestone"},j5={class:"ao-project-milestone__header"},P5={class:"ao-project-milestone__header_line"},z5={class:"ao-project-milestone__header_line"},H5={class:"ao-project-milestone__title"},R5={key:0,class:"ao-fieldset ao-milestone__fieldset"},U5={class:"ao-field__row ao-milestone__field-row"},F5={class:"ao-field ao-field--inline"},Z5={class:"ao-field__row ao-milestone__field-row"},W5={class:"ao-field ao-milestone__field-multiselect"},q5=["onClick"],Y5={class:"ao-project-milestone__body"},K5={key:0,class:"ao-project-milestone__footer"},Ir=e.defineComponent({__name:"AoProjectOverviewMilestoneDetails",props:{milestoneId:{},users:{},projectId:{},phases:{},phaseId:{},isEditable:{type:Boolean},closedStatus:{},timeTrackingData:{}},emits:["close","addActivity","updateMilestone","updateActivity","archiveActivity","unarchiveActivity","startTimer"],setup(a,{emit:t}){const o=a,{t:r}=We(),n=v=>{var B;t("startTimer",v),(B=window.parent)==null||B.postMessage({type:"startTimer",data:v},"*")},s=e.computed(()=>{var v;return(v=o.phases)==null?void 0:v.find(B=>B.id===o.phaseId)}),i=e.computed(()=>{var v;return(v=o.phases)==null?void 0:v.flatMap(B=>B.milestones)}),l=e.computed(()=>{var v;return(v=i.value)==null?void 0:v.find(B=>B.id===o.milestoneId)}),d=e.computed(()=>{var v;return(v=l.value)==null?void 0:v.activities});e.watch(d,(v,B)=>{Te(v,B)});const p=v=>{t("close",v)},c=()=>{const{name:v,rank:B}=at(d.value??[],"activity",r);t("addActivity",{milestoneId:o.milestoneId,name:v,rank:B,projectId:o.projectId})},f=v=>{t("updateActivity",v)},m=v=>{d.value&&"moved"in v&&t("updateActivity",{id:v.moved.element.id,rank:dt(d.value,v.moved.newIndex)})},u=e.computed({get:()=>{var v;return(v=l.value)==null?void 0:v.color},set:v=>{l.value&&t("updateMilestone",{id:l.value.id,color:v})}}),h=e.computed({get:()=>{var v;return((v=l==null?void 0:l.value)==null?void 0:v.deadline)??""},set:v=>{l.value&&t("updateMilestone",{id:l.value.id,deadline:v!=null&&v.length?v:null})}}),b=v=>o.closedStatus?Da(v,o.closedStatus):!1,g=e.computed(()=>{var v;return((v=o.users)==null?void 0:v.map(B=>({label:`${B.firstName} ${B.lastName}`,value:B.id,avatar:B.avatarUrl})))||[]}),y=e.computed({get(){var v,B;return(B=(v=l.value)==null?void 0:v.assignee)!=null&&B.id?[l.value.assignee.id]:[]},set(v){t("updateMilestone",{id:o.milestoneId,assigneeId:v[0]??null})}}),_=e.computed({get(){var v;return((v=l.value)==null?void 0:v.important)??!1},set(v){t("updateMilestone",{id:o.milestoneId,important:v})}}),C=(v,B)=>{const E=v.currentTarget;E instanceof HTMLElement&&B(E)};return(v,B)=>{var E;return e.openBlock(),e.createElementBlock("div",D5,[e.createElementVNode("header",j5,[e.createElementVNode("div",P5,[e.createVNode(Y,{"icon-name":"CloseRounded",variant:"ghost",size:"sm",class:"ao-milestone__close",onClick:p})]),e.createElementVNode("div",z5,[e.createElementVNode("div",H5,[e.createVNode(ne,{title:((E=l.value)==null?void 0:E.name)||v.milestoneId,level:5},null,8,["title"]),e.createVNode(to,{modelValue:_.value,"onUpdate:modelValue":B[0]||(B[0]=N=>_.value=N),modelModifiers:{lazy:!0},disabled:!v.isEditable,class:"ao-milestone__important",color:"danger",label:v.$t("activity.important.label"),"icon-name":"FlagRounded",variant:"ghost",size:"sm"},null,8,["modelValue","disabled","label"])])]),l.value?(e.openBlock(),e.createElementBlock("div",R5,[e.createElementVNode("div",U5,[e.createElementVNode("label",F5,[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":B[1]||(B[1]=N=>h.value=N),class:"ao-milestone__field ao-milestone__date-field",type:"date"},null,512),[[e.vModelText,h.value,void 0,{lazy:!0}]])])]),e.createElementVNode("div",Z5,[e.createElementVNode("label",W5,[e.createVNode(ce,{modelValue:y.value,"onUpdate:modelValue":B[2]||(B[2]=N=>y.value=N),options:g.value,"close-on-select":!0,searchable:!0,max:1,class:"ao-milestone__field ao-milestone__multiselect",placeholder:v.$t("activity.filters.assignee.placeholder"),mode:"tags",disabled:!v.isEditable,caret:v.isEditable},{tag:e.withCtx(({option:N,handleTagRemove:A})=>[e.createVNode(ye,{"user-name":N.label,"avatar-url":N.avatar,"is-closable":!0,onClose:z=>A(N,z)},null,8,["user-name","avatar-url","onClose"])]),_:1},8,["modelValue","options","placeholder","disabled","caret"])])]),e.createVNode(mo,{color:u.value,"onUpdate:color":B[3]||(B[3]=N=>u.value=N)},{clickable:e.withCtx(({openPicker:N,bgColor:A})=>[e.createElementVNode("button",{style:e.normalizeStyle({background:A}),class:"color-button",onClick:z=>C(z,N)},null,12,q5)]),_:1},8,["color"])])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Y5,[e.createVNode(e.unref(De),e.mergeProps({class:"ao-project-milestone__activities",list:d.value,disabled:!v.isEditable,"item-key":"id",group:"kanban"},v.$attrs,{onChange:m}),{item:e.withCtx(({element:N})=>{var A,z,U,Z,O;return[e.createVNode(ho,{id:N.id,name:N.name||N.id,"project-id":v.projectId,"phase-name":(A=s.value)==null?void 0:A.name,"milestone-name":(z=l.value)==null?void 0:z.name,"milestone-color":(U=l.value)==null?void 0:U.color,deadline:N.deadline,important:N.important,users:v.users,assignee:N.assignee,slug:N.slug,comments:(Z=N.comments)==null?void 0:Z.length,attachments:(O=N.attachments)==null?void 0:O.length,tasks:N.tasks,"is-editable":v.isEditable,"is-private":N.private,"is-closed":b(N),onClick:H=>v.$router.push({name:e.unref(re).activity,params:{milestoneId:v.milestoneId,activityId:N.id}}),onUpdateActivity:f,onRemoveAssignee:()=>f({id:N.id,assigneeId:null}),onStartTimer:n},e.createSlots({_:2},[v.isEditable?{name:"secondary",fn:e.withCtx(()=>[v.isEditable&&N.active?(e.openBlock(),e.createBlock(Y,{key:0,color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:v.$t("archive"),onClick:e.withModifiers(()=>v.$emit("archiveActivity",{id:N.id}),["stop"])},null,8,["label","onClick"])):e.createCommentVNode("",!0),v.isEditable&&!N.active?(e.openBlock(),e.createBlock(Y,{key:1,color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:v.$t("feed.activity.unarchive"),onClick:e.withModifiers(()=>v.$emit("unarchiveActivity",{id:N.id}),["stop"])},null,8,["label","onClick"])):e.createCommentVNode("",!0)]),key:"0"}:void 0]),1032,["id","name","project-id","phase-name","milestone-name","milestone-color","deadline","important","users","assignee","slug","comments","attachments","tasks","is-editable","is-private","is-closed","onClick","onRemoveAssignee"])]}),_:1},16,["list","disabled"]),v.isEditable?(e.openBlock(),e.createElementBlock("div",K5,[e.createVNode(Pe,{"icon-name":"Add",label:v.$t("project.activity.add"),onClick:c},null,8,["label"])])):e.createCommentVNode("",!0)])])}}}),s9="",G5=e.defineComponent({__name:"AoProjectOverviewActivityDetails",props:{phaseId:{},milestoneId:{},activityId:{},activityTypes:{},activities:{},isTaskCheckable:{type:Function},statuses:{},phases:{},users:{},project:{},userId:{},isEditable:{type:Boolean},attachmentEnabled:{type:Boolean},timeTrackingData:{}},emits:["update:activity","addSubtask","updateSubtask","deleteSubtask","addFiles","removeFile","addComment","updateComment","removeComment"],setup(a,{emit:t}){const o=a,r=e.computed(()=>{var g;return(g=o.phases)==null?void 0:g.find(y=>y.id===o.phaseId)}),n=e.computed(()=>{var g;return(g=o.phases)==null?void 0:g.flatMap(y=>y.milestones)}),s=e.computed(()=>{var g;return(g=n.value)==null?void 0:g.find(y=>y.id===o.milestoneId)}),i=e.computed(()=>{var g;return(g=o.activities)==null?void 0:g.find(y=>y.id===o.activityId)}),l=g=>{t("update:activity",g)},d=g=>{t("addSubtask",g)},p=g=>{t("updateSubtask",g)},c=g=>{t("deleteSubtask",g)},f=g=>{t("addFiles",g)},m=g=>{t("removeFile",g)},u=g=>{t("addComment",g)},h=g=>{t("updateComment",g)},b=g=>{t("removeComment",g)};return(g,y)=>{var _,C;return i.value?(e.openBlock(),e.createBlock(ao,{key:0,activity:i.value,"activity-types":g.activityTypes,"milestone-id":g.milestoneId,"template-activities":g.activities,"is-template":!1,users:g.users,"user-id":g.userId,"is-task-checkable":g.isTaskCheckable,statuses:g.statuses,breadcrumbs:`${(_=r.value)==null?void 0:_.name} / ${(C=s.value)==null?void 0:C.name}`,"is-editable":g.isEditable,"attachment-enabled":g.attachmentEnabled,projects:[g.project],"time-tracking-data":g.timeTrackingData,onClose:g.$router.back,"onUpdate:activity":l,onAddSubtask:d,onUpdateSubtask:p,onDeleteSubtask:c,onAddFiles:f,onRemoveFile:m,onAddComment:u,onUpdateComment:h,onRemoveComment:b},{default:e.withCtx(v=>[e.renderSlot(g.$slots,"default",e.normalizeProps(e.guardReactiveProps(v)))]),_:3},8,["activity","activity-types","milestone-id","template-activities","users","user-id","is-task-checkable","statuses","breadcrumbs","is-editable","attachment-enabled","projects","time-tracking-data","onClose"])):e.createCommentVNode("",!0)}}}),X5={class:"ao-col-header"},Q5=e.defineComponent({__name:"AoColHeader",props:{title:{},items:{}},setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("header",X5,[e.createVNode(ne,{title:t.title,class:"ao-col-header__title",level:4},null,8,["title"]),t.items?(e.openBlock(),e.createBlock(wt,{key:0,label:t.items,class:"ao-col-header__items",variant:"solid",color:"primary"},null,8,["label"])):e.createCommentVNode("",!0)]))}}),l9="";function J5(a){return e.getCurrentScope()?(e.onScopeDispose(a),!0):!1}function ka(a){return typeof a=="function"?a():e.unref(a)}const e7=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const t7=a=>a!=null,Rt=()=>{};function a7(a,t){function o(...r){return new Promise((n,s)=>{Promise.resolve(a(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(n).catch(s)})}return o}function o7(a,t={}){let o,r,n=Rt;const s=l=>{clearTimeout(l),n(),n=Rt};return l=>{const d=ka(a),p=ka(t.maxWait);return o&&s(o),d<=0||p!==void 0&&p<=0?(r&&(s(r),r=null),Promise.resolve(l())):new Promise((c,f)=>{n=t.rejectOnCancel?f:c,p&&!r&&(r=setTimeout(()=>{o&&s(o),r=null,c(l())},p)),o=setTimeout(()=>{r&&s(r),r=null,c(l())},d)})}}function r7(a,t=200,o={}){return a7(o7(t,o),a)}function go(a){var t;const o=ka(a);return(t=o==null?void 0:o.$el)!=null?t:o}const n7=e7?window:void 0;function i7(){const a=e.ref(!1),t=e.getCurrentInstance();return t&&e.onMounted(()=>{a.value=!0},t),a}function s7(a){const t=i7();return e.computed(()=>(t.value,!!a()))}function l7(a,t,o={}){const{root:r,rootMargin:n="0px",threshold:s=.1,window:i=n7,immediate:l=!0}=o,d=s7(()=>i&&"IntersectionObserver"in i),p=e.computed(()=>{const h=ka(a);return(Array.isArray(h)?h:[h]).map(go).filter(t7)});let c=Rt;const f=e.ref(l),m=d.value?e.watch(()=>[p.value,go(r),f.value],([h,b])=>{if(c(),!f.value||!h.length)return;const g=new IntersectionObserver(t,{root:go(b),rootMargin:n,threshold:s});h.forEach(y=>y&&g.observe(y)),c=()=>{g.disconnect(),c=Rt}},{immediate:l,flush:"post"}):Rt,u=()=>{c(),m(),f.value=!1};return J5(u),{isSupported:d,isActive:f,pause(){c(),f.value=!1},resume(){f.value=!0},stop:u}}const c7={class:e.normalizeClass(["ao-list-kanban"])},d7={class:"ao-list-kanban__header"},p7={key:0,class:"ao-list-kanban__end ao-list-kanban__end--loading"},u7={key:1,class:"ao-list-kanban__end"},m7={key:0,class:"ao-list-kanban__no-more"},f7={key:1,class:"ao-list-kanban__divider"},h7={key:1,class:"ao-list-kanban__footer"},g7=e.defineComponent({__name:"AoListKanban",props:{list:{},status:{},users:{},userId:{},title:{},footerLabel:{},isLoading:{type:Boolean},hasMore:{type:Boolean},noMoreLabel:{},isEditable:{type:[Boolean,String]},tagType:{}},emits:["add","update:list","change:list","loadMore","selectActivity","archiveActivity","unarchiveActivity","updateActivity","startTimer"],setup(a,{emit:t}){const o=a,r=e.ref(!1),n=e.ref(null);l7(n,([{isIntersecting:c}])=>{r.value=c}),e.watch(r,c=>{c&&o.hasMore&&!o.isLoading&&t("loadMore")});const s=c=>{var f;return o.isEditable===!0?!0:o.userId&&o.isEditable==="only-own"?o.userId===((f=c.assignee)==null?void 0:f.id):!1},i=c=>{t("selectActivity",c)},l=c=>{t("updateActivity",c)},d=c=>{"added"in c?t("updateActivity",{id:c.added.element.id,statusId:o.status.id,rank:dt(o.list,c.added.newIndex)}):"removed"in c||"moved"in c&&t("updateActivity",{id:c.moved.element.id,rank:dt(o.list,c.moved.newIndex)})},p=e.ref(!1);return(c,f)=>(e.openBlock(),e.createElementBlock("div",c7,[c.title||c.$slots.header?e.renderSlot(c.$slots,"header",{key:0},()=>{var m;return[e.createElementVNode("div",d7,[c.title?(e.openBlock(),e.createBlock(Q5,{key:0,title:c.title,level:3,items:(m=c.list)==null?void 0:m.length},null,8,["title","items"])):e.createCommentVNode("",!0)])]}):e.createCommentVNode("",!0),e.createVNode(e.unref(De),e.mergeProps({class:["ao-list-kanban__list",p.value?"ao-list-kanban__transition":void 0],list:c.list,"item-key":"id",group:"kanban","ghost-class":"ao-list-kanban__ghost",animation:"200"},c.$attrs,{draggable:".ao-list-draggable",disabled:!c.isEditable,onChange:d,onStart:f[1]||(f[1]=m=>p.value=!0),onEnd:f[2]||(f[2]=m=>p.value=!1),"component-data":{tag:"transition-group",name:"ao-list-kanban__transition"}}),{item:e.withCtx(({element:m})=>{var u,h,b,g,y,_,C,v,B,E;return[e.createVNode(ho,{class:e.normalizeClass(s(m)?"ao-list-draggable":""),id:m.id,name:m.name,"project-name":(u=m.project)==null?void 0:u.name,"project-id":(h=m.project)==null?void 0:h.id,"project-color":(b=m.project)==null?void 0:b.color,"phase-name":(y=(g=m.milestone)==null?void 0:g.phase)==null?void 0:y.name,"milestone-name":(_=m.milestone)==null?void 0:_.name,"milestone-color":(C=m.milestone)==null?void 0:C.color,deadline:m.deadline,rules:((v=m.rules)==null?void 0:v.length)||0,tasks:m.tasks,description:m.description,important:m.important,type:m.type,comments:(B=m.comments)==null?void 0:B.length,attachments:(E=m.attachments)==null?void 0:E.length,users:c.users,assignee:m.assignee,slug:m.slug,"is-editable":s(m),"is-private":m.private,"tag-type":c.tagType,onUpdateActivity:[N=>s(m)&&l(N),()=>s(m)&&l],onClick:()=>i(m.id),onRemoveAssignee:()=>s(m)&&l({id:m.id,assigneeId:null}),onStartTimer:f[0]||(f[0]=N=>c.$emit("startTimer",N))},{secondary:e.withCtx(()=>[s(m)&&m.active?(e.openBlock(),e.createBlock(Y,{key:0,color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:c.$t("feed.activity.archive"),onClick:e.withModifiers(()=>c.$emit("archiveActivity",{id:m.id}),["stop"])},null,8,["label","onClick"])):e.createCommentVNode("",!0),s(m)&&!m.active?(e.openBlock(),e.createBlock(Y,{key:1,color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:c.$t("feed.activity.unarchive"),onClick:e.withModifiers(()=>c.$emit("unarchiveActivity",{id:m.id}),["stop"])},null,8,["label","onClick"])):e.createCommentVNode("",!0)]),_:2},1032,["class","id","name","project-name","project-id","project-color","phase-name","milestone-name","milestone-color","deadline","rules","tasks","description","important","type","comments","attachments","users","assignee","slug","is-editable","is-private","tag-type","onUpdateActivity","onClick","onRemoveAssignee"])]}),footer:e.withCtx(()=>[c.isLoading?(e.openBlock(),e.createElementBlock("div",p7,[e.createVNode(Q,{name:"Loading"})])):c.hasMore?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"scrollEnd",ref:n,class:"ao-list-kanban__end"},null,512)):(e.openBlock(),e.createElementBlock("div",u7,[c.noMoreLabel?(e.openBlock(),e.createElementBlock("span",m7,e.toDisplayString(c.noMoreLabel),1)):c.isEditable?(e.openBlock(),e.createElementBlock("span",f7)):e.createCommentVNode("",!0)]))]),_:1},16,["class","list","disabled"]),c.$slots.footer||c.footerLabel?(e.openBlock(),e.createElementBlock("div",h7,[e.renderSlot(c.$slots,"footer",{},()=>[c.isEditable?(e.openBlock(),e.createBlock(Pe,{key:0,"icon-name":"AddBoxOutlineRounded",label:c.footerLabel,onClick:f[3]||(f[3]=m=>c.$emit("add"))},null,8,["label"])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)]))}}),c9="",_7={class:"ao-field ao-search-field"},v7=["value","placeholder","onKeypress"],C7=e.defineComponent({__name:"AoSearchField",props:{modelValue:{},delay:{default:250},placeholder:{default:"Search"}},emits:["update:modelValue","clear"],setup(a,{emit:t}){const o=a,r=async i=>{const d=i.target.value;t("update:modelValue",d,i)},n=r7(r,o.delay),s=i=>{t("clear",i)};return(i,l)=>(e.openBlock(),e.createElementBlock("div",_7,[e.createElementVNode("input",{value:i.modelValue,type:"text",class:"ao-field__input ao-search-field__input",placeholder:i.placeholder,onInput:l[0]||(l[0]=(...d)=>e.unref(n)&&e.unref(n)(...d)),onKeypress:e.withKeys(r,["enter"])},null,40,v7),e.createVNode(Q,{name:"SearchRounded",class:e.normalizeClass(`ao-search-field__icon ao-search-field__action ${i.modelValue?"":"ao-search-field__action--visible"}`)},null,8,["class"]),e.createVNode(Y,{"icon-name":"CloseRounded",size:"sm",color:"primary",corners:"round",class:e.normalizeClass(`ao-search-field__button ao-search-field__action ${i.modelValue?"ao-search-field__action--visible":""}`),onClick:s},null,8,["class"])]))}}),d9="",b7={class:"ao-feed"},y7={class:"ao-feed__filters"},w7={class:"ao-feed__body"},Lr=e.defineComponent({__name:"AoFeed",props:{activities:{},statuses:{},project:{},projects:{},filters:{},activityTypes:{},users:{},userId:{},initialActivityId:{},initialActivitySlug:{},searchText:{default:""},showsArchivedActivities:{type:Boolean},showsOnlyImportant:{type:Boolean},showsOnlyNonAssigned:{type:Boolean},selectedActivity:{},isTaskCheckable:{type:Function,default:void 0},isEditable:{type:[Boolean,String]},attachmentEnabled:{type:Boolean,default:!0},timeTrackingData:{}},emits:["change:activities","addActivity","update:filters","selectActivity","update:activity","archiveActivity","unarchiveActivity","update:searchText","clear:searchText","update:showsArchivedActivities","update:showsOnlyImportant","update:showsOnlyNonAssigned","addSubtask","updateSubtask","deleteSubtask","addFiles","removeFile","addComment","updateComment","removeComment","toast","startTimer"],setup(a,{emit:t}){const o=a,{t:r}=We();function n(V,T){t("toast",V,T)}const s=e.toRef(o,"activities"),i=async(V,T)=>{await t("selectActivity",V,T)},l=e.ref({}),d=e.ref(!1),p=e.ref(!1),c=e.computed(()=>o.project?"milestone":"project");e.watch([()=>o.statuses,()=>o.activities,()=>o.initialActivityId,()=>o.initialActivitySlug],async([V,T,w,x],[R,P])=>{l.value=Object.fromEntries(V.map(M=>[M.id,T.filter(D=>{var ee;return((ee=D.status)==null?void 0:ee.id)===M.id})])),w&&!d.value?(i(w,null),d.value=!0):x&&!d.value&&(i(null,x),d.value=!0),p.value&&Te(T,P)},{immediate:!0});const f=e.computed(()=>{var V;return!o.selectedActivity||!o.selectedActivity.milestone?"":`${((V=o.selectedActivity.milestone.phase)==null?void 0:V.name)??""} / ${o.selectedActivity.milestone.name??""}`}),m=V=>{var P,M;const T=(P=o.activities)==null?void 0:P.at(-1),w=T?ie.LexoRank.parse(T.rank).genNext():ie.LexoRank.middle(),x=((M=o.activities)==null?void 0:M.length)??0,R={name:r("activity.defaultName",{idx:x+1}),rank:w.format(),statusId:V.id};o.filters.assigneeId.length>0&&(R.assigneeId=o.filters.assigneeId[0]),o.filters.projectId.length>0&&(R.projectId=o.filters.projectId[0]),o.filters.typeId.length>0&&(R.typeId=o.filters.typeId[0]),p.value=!0,t("addActivity",R)},u=(V,T)=>{p.value=!1,t("update:filters",{...o.filters,[V]:T})},h=e.computed(()=>o.project?[o.project]:o.projects??[]),b=e.computed(()=>h.value.map(V=>({value:V.id,label:V.name}))),g=e.computed(()=>{var V;return(V=o.activityTypes)==null?void 0:V.map(T=>({value:T.id,label:T.name}))}),y=e.computed(()=>o.users.map(V=>({value:V.id,label:`${V.firstName} ${V.lastName}`,avatar:V.avatarUrl}))),_=V=>{o.selectedActivity&&t("update:activity",V)},C=V=>{t("update:activity",V)},v=V=>{t("archiveActivity",V)},B=V=>{t("unarchiveActivity",V)},E=V=>{var T;t("startTimer",V),(T=window.parent)==null||T.postMessage({type:"startTimer",data:V},"*")},N=V=>{p.value=!1,t("update:searchText",V)},A=V=>{p.value=!1,t("clear:searchText",V)},z=V=>{o.selectedActivity&&t("addSubtask",V)},U=V=>{o.selectedActivity&&t("updateSubtask",V)},Z=V=>{o.selectedActivity&&t("deleteSubtask",V)},O=V=>{t("addFiles",V)},H=V=>{t("removeFile",V)},K=V=>{o.selectedActivity&&t("addComment",{...V,activityId:o.selectedActivity.id})},W=V=>{const{id:T}=o.selectedActivity||{};T&&t("updateComment",V)},F=V=>{const{id:T}=o.selectedActivity||{};T&&t("removeComment",V)},S=Le.useRouter(),$=e.ref("feed"),L=[{label:"Overview",value:"overview"},{label:"Feed",value:"feed"},{label:"Mapping",value:"mapping"}];return e.watch($,V=>{V==="feed"?(S.push({name:re.feed}),console.log("Navigating to feed...")):V==="overview"?(S.push({name:re.project}),console.log("Navigating to feed...")):V==="mapping"&&(S.push({name:re.mapping}),console.log("Navigating to feed..."))}),(V,T)=>{var w;return e.openBlock(),e.createElementBlock("div",b7,[e.createVNode(It,null,{primary:e.withCtx(()=>[e.createElementVNode("div",y7,[e.createVNode(wa,{tabs:L,modelValue:$.value,"onUpdate:modelValue":T[0]||(T[0]=x=>$.value=x)},null,8,["modelValue"]),e.createVNode(C7,{"model-value":V.searchText,placeholder:V.$t("feed.search.placeholder"),class:"ao-feed__search","onUpdate:modelValue":N,onClear:A},null,8,["model-value","placeholder"]),o.project?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ce,{key:0,"model-value":V.filters[e.unref(Xe).project],mode:"tags",options:b.value,"close-on-select":!1,searchable:!0,class:"ao-feed__filter ao-feed__filter__projects",placeholder:V.$t("feed.filters.project.placeholder"),"onUpdate:modelValue":T[1]||(T[1]=x=>u(e.unref(Xe).project,x))},null,8,["model-value","options","placeholder"])),g.value?(e.openBlock(),e.createBlock(ce,{key:1,"model-value":V.filters[e.unref(Xe).type],mode:"tags",options:g.value,"close-on-select":!1,searchable:!0,class:"ao-feed__filter ao-feed__filter__types",placeholder:V.$t("feed.filters.activityType.placeholder"),"onUpdate:modelValue":T[2]||(T[2]=x=>u(e.unref(Xe).type,x))},null,8,["model-value","options","placeholder"])):e.createCommentVNode("",!0),y.value.length?(e.openBlock(),e.createBlock(ce,{key:2,"model-value":V.filters[e.unref(Xe).assignee],mode:"tags",options:y.value,"close-on-select":!1,searchable:!0,class:"ao-feed__filter ao-feed__filter__assignees",placeholder:V.$t("feed.filters.assignee.placeholder"),"onUpdate:modelValue":T[3]||(T[3]=x=>u(e.unref(Xe).assignee,x))},{tag:e.withCtx(({option:x,handleTagRemove:R})=>[e.createVNode(ye,{"user-name":x.label,"avatar-url":x.avatar,"is-closable":!0,onClose:P=>R(x,P)},null,8,["user-name","avatar-url","onClose"])]),_:1},8,["model-value","options","placeholder"])):e.createCommentVNode("",!0)]),e.createVNode(Y,{class:"ao-feed__only-non-assigned",size:"sm","icon-name":V.showsOnlyNonAssigned?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank","icon-position":"start",color:"primary",variant:"ghost",label:V.$t("feed.filters.showsOnlyNonAssigned.label"),role:"checkbox","aria-checked":V.showsOnlyNonAssigned,onClick:T[4]||(T[4]=x=>V.$emit("update:showsOnlyNonAssigned",!V.showsOnlyNonAssigned))},null,8,["icon-name","label","aria-checked"]),e.createVNode(Y,{class:"ao-feed__only-important",size:"sm","icon-name":V.showsOnlyImportant?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank","icon-position":"start",color:"primary",variant:"ghost",label:V.$t("feed.filters.showsOnlyImportant.label"),role:"checkbox","aria-checked":V.showsOnlyImportant,onClick:T[5]||(T[5]=x=>V.$emit("update:showsOnlyImportant",!V.showsOnlyImportant))},null,8,["icon-name","label","aria-checked"]),e.createVNode(Y,{class:"ao-feed__show-archived",size:"sm","icon-name":V.showsArchivedActivities?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank","icon-position":"start",color:"primary",variant:"ghost",label:V.$t("feed.filters.showsArchivedActivities.label"),role:"checkbox","aria-checked":V.showsArchivedActivities,onClick:T[6]||(T[6]=x=>V.$emit("update:showsArchivedActivities",!V.showsArchivedActivities))},null,8,["icon-name","label","aria-checked"])]),_:1}),e.createElementVNode("div",w7,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(V.statuses,x=>(e.openBlock(),e.createBlock(g7,{key:x.id,status:x,list:l.value[x.id],title:x.name,"footer-label":V.$t("feed.activity.add"),users:V.users,"user-id":V.userId,"is-editable":V.isEditable,tagType:c.value,onAdd:()=>m(x),onSelectActivity:i,onArchiveActivity:v,onUnarchiveActivity:B,onUpdateActivity:C,onStartTimer:E},null,8,["status","list","title","footer-label","users","user-id","is-editable","tagType","onAdd"]))),128))]),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[V.selectedActivity?(e.openBlock(),e.createBlock(ao,{key:0,activity:V.selectedActivity,"activity-types":V.activityTypes,"milestone-id":(w=V.selectedActivity.milestone)==null?void 0:w.id,"template-activities":s.value,users:V.users,"user-id":V.userId,"is-task-checkable":V.isTaskCheckable,statuses:V.statuses,breadcrumbs:f.value,"is-editable":V.isEditable,"attachment-enabled":V.attachmentEnabled,projects:h.value,"time-tracking-data":V.timeTrackingData,onClose:T[7]||(T[7]=()=>i(null,null)),"onUpdate:activity":_,onAddSubtask:z,onUpdateSubtask:U,onDeleteSubtask:Z,onAddFiles:O,onRemoveFile:H,onAddComment:K,onUpdateComment:W,onRemoveComment:F,onToast:n},{default:e.withCtx(x=>[e.renderSlot(V.$slots,"activityDetailsBody",e.normalizeProps(e.guardReactiveProps(x)))]),_:3},8,["activity","activity-types","milestone-id","template-activities","users","user-id","is-task-checkable","statuses","breadcrumbs","is-editable","attachment-enabled","projects","time-tracking-data"])):e.createCommentVNode("",!0)]))])}}}),p9="",k7={class:"ao-project-mapping"},$7={class:"ao-project-mapping-mapping__body"},E7={class:"ao-project-mapping-mapping__phases"},B7={key:0,class:"ao-project-mapping-mapping__image-wrapper"},V7=["src","alt"],S7=e.defineComponent({__name:"AoMapping",props:{project:{},phases:{},closedStatus:{},users:{},userId:{},templates:{},isTaskCheckable:{type:Function},statuses:{},activityTypes:{},isEditable:{type:[Boolean,String]},showsArchived:{type:Boolean},attachmentEnabled:{type:Boolean}},emits:["addPhase","updatePhase","archivePhase","unarchivePhase","copyPhaseToTemplate","applyTemplate","saveTemplate","update:showsArchived"],setup(a,{emit:t}){const o=a,{t:r}=We(),n=()=>{const{name:g,rank:y}=at(o.phases,"phase",r);t("addPhase",{name:g,rank:y,projectId:o.project.id})},s=g=>{t("updatePhase",g)},i=g=>{t("archivePhase",g)},l=g=>{t("unarchivePhase",g)},d=g=>{t("copyPhaseToTemplate",g)},p=e.ref(!1),c=e.ref(!1),f=(g,y)=>{t("applyTemplate",{templateId:g,projectId:y}),p.value=!1},m=(g,y)=>{var v;const _=(v=o.templates)==null?void 0:v.at(-1),C=_?ie.LexoRank.parse(_.rank).genNext():ie.LexoRank.middle();t("saveTemplate",{templateName:g,rank:C.format(),phaseIds:y}),c.value=!1},u=Le.useRouter(),h=e.ref("mapping"),b=[{label:"Overview",value:"overview"},{label:"Feed",value:"feed"},{label:"Mapping",value:"mapping"}];return e.watch(h,g=>{g==="feed"?(u.push({name:re.feed}),console.log("Navigating to feed...")):g==="overview"?(u.push({name:re.project}),console.log("Navigating to feed...")):g==="mapping"&&(u.push({name:re.mapping}),console.log("Navigating to feed..."))}),(g,y)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",e.mergeProps({class:"ao-project-mapping-overview"},g.$attrs),[e.createElementVNode("div",k7,[e.createVNode(It,null,{primary:e.withCtx(()=>[e.createVNode(wa,{modelValue:h.value,"onUpdate:modelValue":y[0]||(y[0]=_=>h.value=_),tabs:b},null,8,["modelValue"]),e.createVNode(Y,{class:"ao-feed__show-archived",size:"sm","icon-name":g.showsArchived?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank","icon-position":"start",color:"primary",variant:"ghost",label:g.$t("feed.filters.showsArchived.label"),role:"checkbox","aria-checked":g.showsArchived,onClick:y[1]||(y[1]=_=>g.$emit("update:showsArchived",!g.showsArchived))},null,8,["icon-name","label","aria-checked"])]),secondary:e.withCtx(()=>[g.isEditable===!0?(e.openBlock(),e.createBlock(Y,{key:0,class:"ao-project-mapping-overview__save-as-template",color:"primary",label:g.$t("project.template.save.label"),onClick:y[2]||(y[2]=_=>c.value=!0)},null,8,["label"])):e.createCommentVNode("",!0),g.isEditable===!0?(e.openBlock(),e.createBlock(Y,{key:1,class:"ao-project-mapping-overview__add-template",color:"primary",label:g.$t("project.template.apply.label"),onClick:y[3]||(y[3]=_=>p.value=!0)},null,8,["label"])):e.createCommentVNode("",!0)]),_:1}),e.createElementVNode("div",$7,[e.createElementVNode("div",E7,[e.createVNode(fo,{phases:g.phases,"closed-status":g.closedStatus,"is-editable":g.isEditable===!0,users:g.users,onAddPhase:n,onUpdatePhase:s,onArchivePhase:i,onUnarchivePhase:l,onCopyPhaseToTemplate:d},null,8,["phases","closed-status","is-editable","users"])]),g.project.architectureImage?(e.openBlock(),e.createElementBlock("div",B7,[e.createElementVNode("img",{class:"architecture-image",src:g.project.architectureImage.url,alt:e.unref(r)("architectureImage.alt")},null,8,V7)])):e.createCommentVNode("",!0)])])],16),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[c.value?(e.openBlock(),e.createBlock(Or,{key:0,phases:g.phases,onClose:y[4]||(y[4]=_=>c.value=!1),onSave:m},null,8,["phases"])):e.createCommentVNode("",!0),p.value?(e.openBlock(),e.createBlock(Ar,{key:1,"project-id":g.project.id,templates:g.templates,onClose:y[5]||(y[5]=_=>p.value=!1),onApply:f},null,8,["project-id","templates"])):e.createCommentVNode("",!0)]))],64))}}),u9="",rt={TEMPLATES:"templates",TEMPLATE_DETAILS:"template_details",TEMPLATES_LIST:"templates_list"},N7=(a,t={})=>[{path:a,name:rt.TEMPLATES,redirect:{name:rt.TEMPLATES_LIST},...t,children:[{path:"",name:rt.TEMPLATES_LIST,component:Dr},{path:":templateId/:phaseId?/:milestoneId?/:activityId?",name:rt.TEMPLATE_DETAILS,component:Mr,props:!0}]}],re={project:"AoProject",feed:"AoProjectFeed",mapping:"AoProjectMapping",milestone:"AoMilestone",activity:"AoActivity"},x7=(a,t={})=>[{path:a,...t,redirect:{name:re.project},children:[{path:"",name:re.project,component:m5,props:!0,children:[{path:":phaseId/:milestoneId",name:re.milestone,component:Ir,props:!0},{path:":phaseId/:milestoneId/:activityId",name:re.activity,props:{default:!0,modal:!0},components:{default:Ir,modal:G5}}]},{path:"feed",name:re.feed,component:Lr,props:!0},{path:"mapping",name:re.mapping,component:S7,props:!0}]}],M7={class:"ao-templates"},Dr=e.defineComponent({__name:"AoTemplatesList",props:{templates:{}},emits:["addTemplate","updateTemplates","updateItem","removeItem"],setup(a,{emit:t}){const o=a,{t:r}=We();e.watch(()=>o.templates,(d,p)=>{Te(d,p)});const n=()=>{var m,u;const d=(m=o.templates)==null?void 0:m.at(-1),p=d?ie.LexoRank.parse(d.rank).genNext():ie.LexoRank.middle(),c=((u=o.templates)==null?void 0:u.length)??0,f={name:r("template.defaultName.template",{idx:c+1}),rank:p.format()};t("addTemplate",f)},s=(d,p)=>{t("updateItem",{itemType:te.TEMPLATES,id:d,templateId:d,data:{name:p}})},i=(d,p)=>{t("removeItem",{itemType:te.TEMPLATES,templateId:d,data:{id:d,...p?{name:p}:{}}})},l=d=>{if(d.moved){const p=Ot(d,o.templates??[]);t("updateItem",{itemType:te.TEMPLATES,id:d.moved.element.id,templateId:d.moved.element.id,data:{rank:p}})}};return(d,p)=>(e.openBlock(),e.createElementBlock("div",M7,[e.createVNode(It,null,{secondary:e.withCtx(()=>[e.createVNode(Y,{label:d.$t("templates.new"),color:"primary","icon-name":"Add","icon-position":"start",onClick:n},null,8,["label"])]),_:1}),e.createVNode(e.unref(De),{"model-value":d.templates,class:"ao-templates__list","item-key":"id",handle:".ao-card__drag",onChange:l},{item:e.withCtx(({element:c})=>{var f;return[e.createVNode(F2,{id:c.id,title:c.name,phases:c.phases,milestones:(f=c.phases)!=null&&f.length?e.unref(m2)(c.phases):0,activities:c.phases?e.unref(f2)(c.phases):0,"updated-at":c.updatedAt,"updated-by":c.updatedBy,onUpdateTitle:m=>s(c.id,m),onClick:m=>d.$router.push({name:e.unref(rt).TEMPLATE_DETAILS,params:{templateId:c.id}}),onDeleteItem:p[0]||(p[0]=(m,u)=>i(m,u))},null,8,["id","title","phases","milestones","activities","updated-at","updated-by","onUpdateTitle","onClick"])]}),_:1},8,["model-value"])]))}}),m9="",T7={class:"ao-field__label"},jr=e.defineComponent({__name:"AoField",props:{label:{},isMultiselect:{type:Boolean,default:!1}},setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("label",{class:e.normalizeClass(["ao-field",{"ao-field--multiselect":t.isMultiselect}])},[e.createElementVNode("span",T7,e.toDisplayString(t.label),1),e.renderSlot(t.$slots,"default")],2))}}),A7=["type","value","disabled","readonly"],O7=e.defineComponent({__name:"AoInputField",props:{label:{default:""},type:{default:"text"},modelValue:{default:""},modelModifiers:{default:()=>({})},isDisabled:{type:Boolean,default:!1},isReadonly:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(a,{emit:t}){const o=a,r=e.computed(()=>o.modelModifiers.lazy?"change":"input"),n=s=>{o.modelModifiers.number&&(s=Number(s)),t("update:modelValue",s)};return(s,i)=>(e.openBlock(),e.createBlock(jr,{label:s.label},{default:e.withCtx(()=>[e.createElementVNode("input",e.mergeProps({class:"ao-field__input",type:s.type,value:s.modelValue,disabled:s.isDisabled,readonly:s.isReadonly},{[e.toHandlerKey(r.value)]:i[0]||(i[0]=l=>n(l.target.value))}),null,16,A7)]),_:1},8,["label"]))}}),I7={class:"ao-field"},L7={class:"ao-field__label"},D7=["checked","disabled"],j7=e.defineComponent({__name:"AoCheckboxField",props:{label:{default:""},modelValue:{type:Boolean,default:!1},isReadonly:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("label",I7,[e.createElementVNode("span",L7,e.toDisplayString(t.label),1),e.createElementVNode("input",{class:"ao-field__input",type:"checkbox",checked:t.modelValue,disabled:t.isDisabled,onChange:o[0]||(o[0]=r=>{var n;return t.$emit("update:modelValue",((n=r.target)==null?void 0:n.checked)??!1)})},null,40,D7)]))}});X.AoAvatar=ye,X.AoCardFeed=ho,X.AoCheckboxField=j7,X.AoFeed=Lr,X.AoField=jr,X.AoInputField=O7,X.AoMultiselect=ce,X.AoProjectPhases=fo,X.AoTabBar=wa,X.AoTemplateDetails=Mr,X.AoTemplates=Wr,X.AoTemplatesList=Dr,X.TemplateItemTypeEnum=To,X.activityFeedStatus=Nd,X.durationTypes=Sd,X.feedFilterTypes=Xe,X.getProjectOverviewRoutes=x7,X.getTemplateRoutes=N7,X.listUpdateTypes=xd,X.milestoneStatus=kt,X.projectOverviewRoutes=re,X.ruleComparators=No,X.ruleDurationUnits=Mo,X.ruleTriggerTypes=xo,X.templateItemType=te,X.templateRouteNames=rt,Object.defineProperty(X,Symbol.toStringTag,{value:"Module"})});
6
+ */function ot(a){let t={r:0,g:0,b:0,a:1};/#/.test(a)?t=Mf(a):/rgb/.test(a)?t=Tr(a):typeof a=="string"?t=Tr(`rgba(${a})`):Object.prototype.toString.call(a)==="[object Object]"&&(t=a);const{r:o,g:r,b:n,a:s}=t,{h:i,s:l,v:d}=Tf(t);return{r:o,g:r,b:n,a:s===void 0?1:s,h:i,s:l,v:d}}function oo(a){const t=document.createElement("canvas"),o=t.getContext("2d"),r=a*2;return t.width=r,t.height=r,o.fillStyle="#ffffff",o.fillRect(0,0,r,r),o.fillStyle="#ccd5db",o.fillRect(0,0,a,a),o.fillRect(a,a,a,a),t}function ro(a,t,o,r,n,s){const i=a==="l",l=t.createLinearGradient(0,0,i?o:0,i?0:r);l.addColorStop(.01,n),l.addColorStop(.99,s),t.fillStyle=l,t.fillRect(0,0,o,r)}function xf({r:a,g:t,b:o},r){const n=i=>("0"+Number(i).toString(16)).slice(-2),s=`#${n(a)}${n(t)}${n(o)}`;return r?s.toUpperCase():s}function Mf(a){a=a.slice(1);const t=o=>parseInt(o,16)||0;return{r:t(a.slice(0,2)),g:t(a.slice(2,4)),b:t(a.slice(4,6))}}function Tr(a){return typeof a=="string"?(a=(/rgba?\((.*?)\)/.exec(a)||["","0,0,0,1"])[1].split(","),{r:Number(a[0])||0,g:Number(a[1])||0,b:Number(a[2])||0,a:Number(a[3]?a[3]:1)}):a}function Tf({r:a,g:t,b:o}){a=a/255,t=t/255,o=o/255;const r=Math.max(a,t,o),n=Math.min(a,t,o),s=r-n;let i=0;r===n?i=0:r===a?t>=o?i=60*(t-o)/s:i=60*(t-o)/s+360:r===t?i=60*(o-a)/s+120:r===o&&(i=60*(a-t)/s+240),i=Math.floor(i);let l=parseFloat((r===0?0:1-n/r).toFixed(2)),d=parseFloat(r.toFixed(2));return{h:i,s:l,v:d}}var no=e.defineComponent({props:{color:{type:String,default:"#000000"},hsv:{type:Object,default:null},size:{type:Number,default:152}},emits:["selectSaturation"],data(){return{slideSaturationStyle:{}}},mounted(){this.renderColor(),this.renderSlide()},methods:{renderColor(){const a=this.$refs.canvasSaturation,t=this.size,o=a.getContext("2d");a.width=t,a.height=t,o.fillStyle=this.color,o.fillRect(0,0,t,t),ro("l",o,t,t,"#FFFFFF","rgba(255,255,255,0)"),ro("p",o,t,t,"rgba(0,0,0,0)","#000000")},renderSlide(){this.slideSaturationStyle={left:this.hsv.s*this.size-5+"px",top:(1-this.hsv.v)*this.size-5+"px"}},selectSaturation(a){const{top:t,left:o}=this.$el.getBoundingClientRect(),r=a.target.getContext("2d"),n=i=>{let l=i.clientX-o,d=i.clientY-t;l<0&&(l=0),d<0&&(d=0),l>this.size&&(l=this.size),d>this.size&&(d=this.size),this.slideSaturationStyle={left:l-5+"px",top:d-5+"px"};const p=r.getImageData(Math.min(l,this.size-1),Math.min(d,this.size-1),1,1),[c,f,m]=p.data;this.$emit("selectSaturation",{r:c,g:f,b:m})};n(a);const s=()=>{document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",s)};document.addEventListener("mousemove",n),document.addEventListener("mouseup",s)}}});const Af={ref:"canvasSaturation"};function Of(a,t,o,r,n,s){return e.openBlock(),e.createBlock("div",{class:"saturation",onMousedown:t[1]||(t[1]=e.withModifiers((...i)=>a.selectSaturation&&a.selectSaturation(...i),["prevent","stop"]))},[e.createVNode("canvas",Af,null,512),e.createVNode("div",{style:a.slideSaturationStyle,class:"slide"},null,4)],32)}no.render=Of,no.__file="src/color/Saturation.vue";var io=e.defineComponent({props:{hsv:{type:Object,default:null},width:{type:Number,default:15},height:{type:Number,default:152}},emits:["selectHue"],data(){return{slideHueStyle:{}}},mounted(){this.renderColor(),this.renderSlide()},methods:{renderColor(){const a=this.$refs.canvasHue,t=this.width,o=this.height,r=a.getContext("2d");a.width=t,a.height=o;const n=r.createLinearGradient(0,0,0,o);n.addColorStop(0,"#FF0000"),n.addColorStop(.17*1,"#FF00FF"),n.addColorStop(.17*2,"#0000FF"),n.addColorStop(.17*3,"#00FFFF"),n.addColorStop(.17*4,"#00FF00"),n.addColorStop(.17*5,"#FFFF00"),n.addColorStop(1,"#FF0000"),r.fillStyle=n,r.fillRect(0,0,t,o)},renderSlide(){this.slideHueStyle={top:(1-this.hsv.h/360)*this.height-2+"px"}},selectHue(a){const{top:t}=this.$el.getBoundingClientRect(),o=a.target.getContext("2d"),r=s=>{let i=s.clientY-t;i<0&&(i=0),i>this.height&&(i=this.height),this.slideHueStyle={top:i-2+"px"};const l=o.getImageData(0,Math.min(i,this.height-1),1,1),[d,p,c]=l.data;this.$emit("selectHue",{r:d,g:p,b:c})};r(a);const n=()=>{document.removeEventListener("mousemove",r),document.removeEventListener("mouseup",n)};document.addEventListener("mousemove",r),document.addEventListener("mouseup",n)}}});const If={ref:"canvasHue"};function Lf(a,t,o,r,n,s){return e.openBlock(),e.createBlock("div",{class:"hue",onMousedown:t[1]||(t[1]=e.withModifiers((...i)=>a.selectHue&&a.selectHue(...i),["prevent","stop"]))},[e.createVNode("canvas",If,null,512),e.createVNode("div",{style:a.slideHueStyle,class:"slide"},null,4)],32)}io.render=Lf,io.__file="src/color/Hue.vue";var so=e.defineComponent({props:{color:{type:String,default:"#000000"},rgba:{type:Object,default:null},width:{type:Number,default:15},height:{type:Number,default:152}},emits:["selectAlpha"],data(){return{slideAlphaStyle:{},alphaSize:5}},watch:{color(){this.renderColor()},"rgba.a"(){this.renderSlide()}},mounted(){this.renderColor(),this.renderSlide()},methods:{renderColor(){const a=this.$refs.canvasAlpha,t=this.width,o=this.height,r=this.alphaSize,n=oo(r),s=a.getContext("2d");a.width=t,a.height=o,s.fillStyle=s.createPattern(n,"repeat"),s.fillRect(0,0,t,o),ro("p",s,t,o,"rgba(255,255,255,0)",this.color)},renderSlide(){this.slideAlphaStyle={top:this.rgba.a*this.height-2+"px"}},selectAlpha(a){const{top:t}=this.$el.getBoundingClientRect(),o=n=>{let s=n.clientY-t;s<0&&(s=0),s>this.height&&(s=this.height);let i=parseFloat((s/this.height).toFixed(2));this.$emit("selectAlpha",i)};o(a);const r=()=>{document.removeEventListener("mousemove",o),document.removeEventListener("mouseup",r)};document.addEventListener("mousemove",o),document.addEventListener("mouseup",r)}}});const Df={ref:"canvasAlpha"};function jf(a,t,o,r,n,s){return e.openBlock(),e.createBlock("div",{class:"color-alpha",onMousedown:t[1]||(t[1]=e.withModifiers((...i)=>a.selectAlpha&&a.selectAlpha(...i),["prevent","stop"]))},[e.createVNode("canvas",Df,null,512),e.createVNode("div",{style:a.slideAlphaStyle,class:"slide"},null,4)],32)}so.render=jf,so.__file="src/color/Alpha.vue";var lo=e.defineComponent({props:{color:{type:String,default:"#000000"},width:{type:Number,default:100},height:{type:Number,default:30}},data(){return{alphaSize:5}},watch:{color(){this.renderColor()}},mounted(){this.renderColor()},methods:{renderColor(){const a=this.$el,t=this.width,o=this.height,r=this.alphaSize,n=oo(r),s=a.getContext("2d");a.width=t,a.height=o,s.fillStyle=s.createPattern(n,"repeat"),s.fillRect(0,0,t,o),s.fillStyle=this.color,s.fillRect(0,0,t,o)}}});function Pf(a,t,o,r,n,s){return e.openBlock(),e.createBlock("canvas")}lo.render=Pf,lo.__file="src/color/Preview.vue";var co=e.defineComponent({props:{suckerCanvas:{type:Object,default:null},suckerArea:{type:Array,default:()=>[]}},data(){return{isOpenSucker:!1,suckerPreview:null,isSucking:!1}},watch:{suckerCanvas(a){this.isSucking=!1,this.suckColor(a)}},methods:{openSucker(){this.isOpenSucker?this.keydownHandler({keyCode:27}):(this.isOpenSucker=!0,this.isSucking=!0,this.$emit("openSucker",!0),document.addEventListener("keydown",this.keydownHandler))},keydownHandler(a){a.keyCode===27&&(this.isOpenSucker=!1,this.isSucking=!1,this.$emit("openSucker",!1),document.removeEventListener("keydown",this.keydownHandler),document.removeEventListener("mousemove",this.mousemoveHandler),document.removeEventListener("mouseup",this.mousemoveHandler),this.suckerPreview&&(document.body.removeChild(this.suckerPreview),this.suckerPreview=null))},mousemoveHandler(a){const{clientX:t,clientY:o}=a,{top:r,left:n,width:s,height:i}=this.suckerCanvas.getBoundingClientRect(),l=t-n,d=o-r,c=this.suckerCanvas.getContext("2d").getImageData(Math.min(l,s-1),Math.min(d,i-1),1,1);let[f,m,u,h]=c.data;h=parseFloat((h/255).toFixed(2));const b=this.suckerPreview.style;Object.assign(b,{position:"absolute",left:t+20+"px",top:o-36+"px",width:"24px",height:"24px",borderRadius:"50%",border:"2px solid #fff",boxShadow:"0 0 8px 0 rgba(0, 0, 0, 0.16)",background:`rgba(${f}, ${m}, ${u}, ${h})`,zIndex:95}),this.suckerArea.length&&t>=this.suckerArea[0]&&o>=this.suckerArea[1]&&t<=this.suckerArea[2]&&o<=this.suckerArea[3]?b.display="":b.display="none"},suckColor(a){a&&a.tagName!=="CANVAS"||(this.suckerPreview=document.createElement("div"),this.suckerPreview&&document.body.appendChild(this.suckerPreview),document.addEventListener("mousemove",this.mousemoveHandler),document.addEventListener("mouseup",this.mousemoveHandler),a.addEventListener("click",t=>{const{clientX:o,clientY:r}=t,{top:n,left:s,width:i,height:l}=a.getBoundingClientRect(),d=o-s,p=r-n,f=a.getContext("2d").getImageData(Math.min(d,i-1),Math.min(p,l-1),1,1);let[m,u,h,b]=f.data;b=parseFloat((b/255).toFixed(2)),this.$emit("selectSucker",{r:m,g:u,b:h,a:b})}))}}});const zf=e.createVNode("path",{d:"M13.1,8.2l5.6,5.6c0.4,0.4,0.5,1.1,0.1,1.5s-1.1,0.5-1.5,0.1c0,0-0.1,0-0.1-0.1l-1.4-1.4l-7.7,7.7C7.9,21.9,7.6,22,7.3,22H3.1C2.5,22,2,21.5,2,20.9l0,0v-4.2c0-0.3,0.1-0.6,0.3-0.8l5.8-5.8C8.5,9.7,9.2,9.6,9.7,10s0.5,1.1,0.1,1.5c0,0,0,0.1-0.1,0.1l-5.5,5.5v2.7h2.7l7.4-7.4L8.7,6.8c-0.5-0.4-0.5-1-0.1-1.5s1.1-0.5,1.5-0.1c0,0,0.1,0,0.1,0.1l1.4,1.4l3.5-3.5c1.6-1.6,4.1-1.6,5.8-0.1c1.6,1.6,1.6,4.1,0.1,5.8L20.9,9l-3.6,3.6c-0.4,0.4-1.1,0.5-1.5,0.1"},null,-1),Hf={key:1,class:"sucker",viewBox:"-16 -16 68 68",xmlns:"http://www.w3.org/2000/svg",stroke:"#9099a4"},Rf=e.createVNode("g",{fill:"none","fill-rule":"evenodd"},[e.createVNode("g",{transform:"translate(1 1)","stroke-width":"4"},[e.createVNode("circle",{"stroke-opacity":".5",cx:"18",cy:"18",r:"18"}),e.createVNode("path",{d:"M36 18c0-9.94-8.06-18-18-18"},[e.createVNode("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})])])],-1);function Uf(a,t,o,r,n,s){return e.openBlock(),e.createBlock("div",null,[a.isSucking?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createBlock("svg",{key:0,class:[{active:a.isOpenSucker},"sucker"],xmlns:"http://www.w3.org/2000/svg",viewBox:"-12 -12 48 48",onClick:t[1]||(t[1]=(...i)=>a.openSucker&&a.openSucker(...i))},[zf],2)),a.isSucking?(e.openBlock(),e.createBlock("svg",Hf,[Rf])):e.createCommentVNode("v-if",!0)])}co.render=Uf,co.__file="src/color/Sucker.vue";var po=e.defineComponent({props:{name:{type:String,default:""},color:{type:String,default:""}},emits:["inputColor","inputFocus","inputBlur"],setup(a,{emit:t}){return{modelColor:e.computed({get(){return a.color||""},set(s){t("inputColor",s)}}),handleFocus:s=>{t("inputFocus",s)},handleBlur:s=>{t("inputBlur",s)}}}});const Ff={class:"color-type"},Zf={class:"name"};function Wf(a,t,o,r,n,s){return e.openBlock(),e.createBlock("div",Ff,[e.createVNode("span",Zf,e.toDisplayString(a.name),1),e.withDirectives(e.createVNode("input",{"onUpdate:modelValue":t[1]||(t[1]=i=>a.modelColor=i),class:"value",onFocus:t[2]||(t[2]=(...i)=>a.handleFocus&&a.handleFocus(...i)),onBlur:t[3]||(t[3]=(...i)=>a.handleBlur&&a.handleBlur(...i))},null,544),[[e.vModelText,a.modelColor]])])}po.render=Wf,po.__file="src/color/Box.vue";var uo=e.defineComponent({name:"ColorPicker",props:{color:{type:String,default:"#000000"},colorsDefault:{type:Array,default:()=>[]},colorsHistoryKey:{type:String,default:""}},emits:["selectColor"],setup(a,{emit:t}){const o=e.ref(),r=e.ref([]),n=e.ref();a.colorsHistoryKey&&localStorage&&(r.value=JSON.parse(localStorage.getItem(a.colorsHistoryKey))||[]),n.value=oo(4).toDataURL(),e.onUnmounted(()=>{s(o.value)});function s(l){if(!l)return;const d=r.value||[],p=d.indexOf(l);p>=0&&d.splice(p,1),d.length>=8&&(d.length=7),d.unshift(l),r.value=d||[],localStorage&&a.colorsHistoryKey&&localStorage.setItem(a.colorsHistoryKey,JSON.stringify(d))}function i(l){t("selectColor",l)}return{setColorsHistory:s,colorsHistory:r,color:o,imgAlphaBase64:n,selectColor:i}}});const qf={class:"colors"},Yf={key:0,class:"colors history"};function Kf(a,t,o,r,n,s){return e.openBlock(),e.createBlock("div",null,[e.createVNode("ul",qf,[(e.openBlock(!0),e.createBlock(e.Fragment,null,e.renderList(a.colorsDefault,i=>(e.openBlock(),e.createBlock("li",{key:i,class:"item",onClick:l=>a.selectColor(i)},[e.createVNode("div",{style:{background:`url(${a.imgAlphaBase64})`},class:"alpha"},null,4),e.createVNode("div",{style:{background:i},class:"color"},null,4)],8,["onClick"]))),128))]),a.colorsHistory.length?(e.openBlock(),e.createBlock("ul",Yf,[(e.openBlock(!0),e.createBlock(e.Fragment,null,e.renderList(a.colorsHistory,i=>(e.openBlock(),e.createBlock("li",{key:i,class:"item",onClick:l=>a.selectColor(i)},[e.createVNode("div",{style:{background:`url(${a.imgAlphaBase64})`},class:"alpha"},null,4),e.createVNode("div",{style:{background:i},class:"color"},null,4)],8,["onClick"]))),128))])):e.createCommentVNode("v-if",!0)])}uo.render=Kf,uo.__file="src/color/Colors.vue";var vt=e.defineComponent({components:{Saturation:no,Hue:io,Alpha:so,Preview:lo,Sucker:co,Box:po,Colors:uo},emits:["changeColor","openSucker","inputFocus","inputBlur"],props:{color:{type:String,default:"#000000"},theme:{type:String,default:"dark"},suckerHide:{type:Boolean,default:!0},suckerCanvas:{type:null,default:null},suckerArea:{type:Array,default:()=>[]},colorsDefault:{type:Array,default:()=>["#000000","#FFFFFF","#FF1900","#F47365","#FFB243","#FFE623","#6EFF2A","#1BC7B1","#00BEFF","#2E81FF","#5D61FF","#FF89CF","#FC3CAD","#BF3DCE","#8E00A7","rgba(0,0,0,0)"]},colorsHistoryKey:{type:String,default:"vue-colorpicker-history"}},data(){return{hueWidth:15,hueHeight:152,previewHeight:30,modelRgba:"",modelHex:"",r:0,g:0,b:0,a:1,h:0,s:0,v:0}},computed:{isLightTheme(){return this.theme==="light"},totalWidth(){return this.hueHeight+(this.hueWidth+8)*2},previewWidth(){return this.totalWidth-(this.suckerHide?0:this.previewHeight)},rgba(){return{r:this.r,g:this.g,b:this.b,a:this.a}},hsv(){return{h:this.h,s:this.s,v:this.v}},rgbString(){return`rgb(${this.r}, ${this.g}, ${this.b})`},rgbaStringShort(){return`${this.r}, ${this.g}, ${this.b}, ${this.a}`},rgbaString(){return`rgba(${this.rgbaStringShort})`},hexString(){return xf(this.rgba,!0)}},created(){Object.assign(this,ot(this.color)),this.setText(),this.$watch("rgba",()=>{this.$emit("changeColor",{rgba:this.rgba,hsv:this.hsv,hex:this.modelHex})})},methods:{selectSaturation(a){const{r:t,g:o,b:r,h:n,s,v:i}=ot(a);Object.assign(this,{r:t,g:o,b:r,h:n,s,v:i}),this.setText()},handleFocus(a){this.$emit("inputFocus",a)},handleBlur(a){this.$emit("inputBlur",a)},selectHue(a){const{r:t,g:o,b:r,h:n,s,v:i}=ot(a);Object.assign(this,{r:t,g:o,b:r,h:n,s,v:i}),this.setText(),this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide()})},selectAlpha(a){this.a=a,this.setText()},inputHex(a){const{r:t,g:o,b:r,a:n,h:s,s:i,v:l}=ot(a);Object.assign(this,{r:t,g:o,b:r,a:n,h:s,s:i,v:l}),this.modelHex=a,this.modelRgba=this.rgbaStringShort,this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide(),this.$refs.hue.renderSlide()})},inputRgba(a){const{r:t,g:o,b:r,a:n,h:s,s:i,v:l}=ot(a);Object.assign(this,{r:t,g:o,b:r,a:n,h:s,s:i,v:l}),this.modelHex=this.hexString,this.modelRgba=a,this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide(),this.$refs.hue.renderSlide()})},setText(){this.modelHex=this.hexString,this.modelRgba=this.rgbaStringShort},openSucker(a){this.$emit("openSucker",a)},selectSucker(a){const{r:t,g:o,b:r,a:n,h:s,s:i,v:l}=ot(a);Object.assign(this,{r:t,g:o,b:r,a:n,h:s,s:i,v:l}),this.setText(),this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide(),this.$refs.hue.renderSlide()})},selectColor(a){const{r:t,g:o,b:r,a:n,h:s,s:i,v:l}=ot(a);Object.assign(this,{r:t,g:o,b:r,a:n,h:s,s:i,v:l}),this.setText(),this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide(),this.$refs.hue.renderSlide()})}}});const Gf={class:"color-set"};function Xf(a,t,o,r,n,s){const i=e.resolveComponent("Saturation"),l=e.resolveComponent("Hue"),d=e.resolveComponent("Alpha"),p=e.resolveComponent("Preview"),c=e.resolveComponent("Sucker"),f=e.resolveComponent("Box"),m=e.resolveComponent("Colors");return e.openBlock(),e.createBlock("div",{class:["hu-color-picker",{light:a.isLightTheme}],style:{width:a.totalWidth+"px"}},[e.createVNode("div",Gf,[e.createVNode(i,{ref:"saturation",color:a.rgbString,hsv:a.hsv,size:a.hueHeight,onSelectSaturation:a.selectSaturation},null,8,["color","hsv","size","onSelectSaturation"]),e.createVNode(l,{ref:"hue",hsv:a.hsv,width:a.hueWidth,height:a.hueHeight,onSelectHue:a.selectHue},null,8,["hsv","width","height","onSelectHue"]),e.createVNode(d,{ref:"alpha",color:a.rgbString,rgba:a.rgba,width:a.hueWidth,height:a.hueHeight,onSelectAlpha:a.selectAlpha},null,8,["color","rgba","width","height","onSelectAlpha"])]),e.createVNode("div",{style:{height:a.previewHeight+"px"},class:"color-show"},[e.createVNode(p,{color:a.rgbaString,width:a.previewWidth,height:a.previewHeight},null,8,["color","width","height"]),a.suckerHide?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createBlock(c,{key:0,"sucker-canvas":a.suckerCanvas,"sucker-area":a.suckerArea,onOpenSucker:a.openSucker,onSelectSucker:a.selectSucker},null,8,["sucker-canvas","sucker-area","onOpenSucker","onSelectSucker"]))],4),e.createVNode(f,{name:"HEX",color:a.modelHex,onInputColor:a.inputHex,onInputFocus:a.handleFocus,onInputBlur:a.handleBlur},null,8,["color","onInputColor","onInputFocus","onInputBlur"]),e.createVNode(f,{name:"RGBA",color:a.modelRgba,onInputColor:a.inputRgba,onInputFocus:a.handleFocus,onInputBlur:a.handleBlur},null,8,["color","onInputColor","onInputFocus","onInputBlur"]),e.createVNode(m,{color:a.rgbaString,"colors-default":a.colorsDefault,"colors-history-key":a.colorsHistoryKey,onSelectColor:a.selectColor},null,8,["color","colors-default","colors-history-key","onSelectColor"]),e.createCommentVNode(" custom options "),e.renderSlot(a.$slots,"default")],6)}vt.render=Xf,vt.__file="src/color/ColorPicker.vue",vt.install=a=>{a.component(vt.name,vt)};const Y4="",Qf={class:"color-picker-wrapper"},mo=e.defineComponent({__name:"AoColorPicker",props:{color:{}},emits:["update:color"],setup(a,{emit:t}){const o=a,r=e.ref(!1),n=e.ref(null),s=e.ref(null),i=e.ref(0),l=e.ref(0),d=async u=>{s.value=u,r.value=!0,await e.nextTick();const h=u.getBoundingClientRect(),b=n.value,g=(b==null?void 0:b.offsetHeight)||300,y=window.innerHeight-h.bottom,_=h.top,C=y<g&&_>g;console.log("pickerHeight = "+g),i.value=C?h.top-g-8:h.bottom+8,l.value=h.left,setTimeout(()=>{window.addEventListener("click",c)},0)},p=e.computed(()=>({position:"fixed",top:`${i.value}px`,left:`${l.value}px`,zIndex:1e3})),c=u=>{const h=u.target;n.value&&!n.value.contains(h)&&(r.value=!1,t("update:color",f.value),window.removeEventListener("click",c))};e.onBeforeUnmount(()=>{window.removeEventListener("click",c)}),e.watch(()=>o.color,u=>{r.value||(f.value=u)});const f=e.ref(o.color),m=u=>{const{r:h,g:b,b:g,a:y}=u.rgba;f.value=`rgba(${h}, ${b}, ${g}, ${y})`};return(u,h)=>(e.openBlock(),e.createElementBlock("div",Qf,[e.renderSlot(u.$slots,"clickable",{openPicker:d,bgColor:u.color}),r.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"pickerRef",ref:n,class:"color-picker",style:e.normalizeStyle(p.value)},[e.createVNode(e.unref(vt),{class:"color-picker-box",theme:"light",color:u.color,onChangeColor:m},null,8,["color"])],4)):e.createCommentVNode("",!0)]))}}),K4="",Jf={class:"ao-card-project-phase__header"},eh={class:"ao-card-project-item__title-line"},th={key:0,class:"ao-card-project-item-phase__estimation"},ah={class:"ao-card-project-phase__footer"},oh={key:0,class:"ao-card-project-phase__footer-row ao-card-project-phase__footer-row--progress"},rh={class:"ao-card-project-phase__subitem"},nh={class:"ao-card-project-phase__subitem"},ih={key:0,class:"ao-card-project-phase__secondary"},sh={class:"ao-card-project-phase__deadline ao-card-project-phase__deadline--readonly"},lh=e.defineComponent({__name:"AoCardProjectItemPhase",props:{id:{},projectName:{},name:{},milestones:{},isEditable:{type:Boolean},deadline:{},active:{type:Boolean},color:{},timeTrackingData:{}},emits:["update:title","update:deadline","archivePhase","unarchivePhase","updatePhase"],setup(a,{emit:t}){const o=a,r=u=>{t("update:title",u)},n=e.computed(()=>{var u;return((u=o.milestones)==null?void 0:u.reduce((h,b)=>{var g;return h+((g=b.activities)==null?void 0:g.reduce((y,_)=>y+(_.estimation||0),0))},0))||0}),s=e.computed(()=>!o.milestones||!o.timeTrackingData?0:o.milestones.reduce((u,h)=>{var b;return u+(((b=h.activities)==null?void 0:b.reduce((g,y)=>{var C;const _=(C=o.timeTrackingData)==null?void 0:C[y.id];return g+((_==null?void 0:_.timeSpent)||0)},0))||0)},0)),i=e.computed(()=>(s.value/60).toFixed(2)),l=e.computed(()=>{var u;return(u=o.milestones)==null?void 0:u.length}),d=e.computed(()=>{var u;return(u=o.milestones)==null?void 0:u.filter(h=>h.status===kt.done).length}),p=e.computed(()=>(d.value||0)/(l.value||1)),c=e.computed({get:()=>o.deadline??"",set:u=>t("update:deadline",u!=null&&u.length?u:null)}),f=e.computed({get:()=>o.color,set:u=>{t("updatePhase",{id:o.id,color:u})}}),m=(u,h)=>{const b=u.target;b.closest("button")||b.closest("input")||b.closest(".ao-title")||h(b)};return(u,h)=>(e.openBlock(),e.createBlock(mo,{color:f.value,"onUpdate:color":h[2]||(h[2]=b=>f.value=b)},{clickable:e.withCtx(({openPicker:b,bgColor:g})=>[e.createVNode(ba,{class:"ao-card-project-phase","is-clickable":u.isEditable,color:g,withLeftBorder:!0,onClick:y=>m(y,b)},e.createSlots({default:e.withCtx(()=>[e.createElementVNode("div",eh,[e.createVNode(ne,{id:u.id,class:"ao-card-project-phase__title",title:u.name||"",level:4,"is-editable":u.isEditable,"onUpdate:title":r},null,8,["id","title","is-editable"]),n.value||s.value?(e.openBlock(),e.createElementBlock("span",th," ("+e.toDisplayString(i.value)+"/"+e.toDisplayString(n.value)+")",1)):e.createCommentVNode("",!0)])]),footer:e.withCtx(()=>[e.createElementVNode("div",ah,[l.value?(e.openBlock(),e.createElementBlock("div",oh,[e.createElementVNode("div",rh,[e.createVNode(Q,{name:"MountainFlagOutlineRounded",size:"sm"}),e.createElementVNode("span",nh,e.toDisplayString(d.value)+" / "+e.toDisplayString(l.value),1)]),e.createVNode(ya,{percentages:p.value,class:"ao-card-project-phase__progress",color:u.color},null,8,["percentages","color"]),u.$slots.secondary?(e.openBlock(),e.createElementBlock("div",ih,[e.renderSlot(u.$slots,"secondary")])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["ao-card-project-phase__footer-row",c.value?"":"ao-card-project-phase__no_deadline"])},[u.isEditable?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:0,"onUpdate:modelValue":h[1]||(h[1]=y=>c.value=y),class:"ao-card-project-phase__deadline ao-card-project-phase__deadline--input",type:"date"},null,512)),[[e.vModelText,c.value,void 0,{lazy:!0}]]):e.createCommentVNode("",!0),e.createElementVNode("span",sh,e.toDisplayString(e.unref(ra)(u.deadline)),1)],2)])]),_:2},[u.isEditable?{name:"header",fn:e.withCtx(()=>[e.createElementVNode("div",Jf,[e.createVNode(Y,{class:"ao-card-project-phase__archive",color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:u.active?u.$t("archive"):u.$t("unarchive"),onClick:h[0]||(h[0]=e.withModifiers(()=>u.active?u.$emit("archivePhase",{id:u.id}):u.$emit("unarchivePhase",{id:u.id}),["stop"]))},null,8,["label"])])]),key:"0"}:void 0]),1032,["is-clickable","color","onClick"])]),_:3},8,["color"]))}}),G4="",ch=e.defineComponent({__name:"AoBadge",props:{color:{}},setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("span",{class:"aoBadge",style:e.normalizeStyle({backgroundColor:t.color})},null,4))}}),X4="",dh={class:"ao-card-project-milestone__default"},ph={class:"ao-title-with-badge-wrapper"},uh={class:"ao-card-project-item__title-line"},mh={key:0,class:"ao-card-project-item-milestone__estimation"},fh={key:0,class:"ao-card-project-milestone__archive"},hh={class:"ao-card-project-milestone__activities"},gh={class:"ao-card-project-milestone__activities-row"},_h={class:"ao-card-project-milestone__subitem"},vh={class:"ao-card-project-milestone__subitem"},Ch={key:1,class:"ao-card-project-milestone__secondary"},bh={class:"ao-card-project-milestone__footer"},yh={key:1,class:"ao-field ao-card-project-milestone__deadline"},wh={class:"ao-field__label"},kh={key:2,class:"ao-card-project-milestone__assignee"},$h=e.defineComponent({__name:"AoCardProjectItemMilestone",props:{id:{},name:{},color:{},phaseColor:{},activities:{},closedStatus:{},isEditable:{type:Boolean},deadline:{},active:{type:Boolean},isSelected:{type:Boolean},assignee:{},important:{type:Boolean},readonly:{type:Boolean},timeTrackingData:{}},emits:["updateMilestone","archiveMilestone","unarchiveMilestone"],setup(a,{emit:t}){const o=a,r=e.computed(()=>{var c;return((c=o.activities)==null?void 0:c.reduce((f,m)=>f+(m.estimation||0),0))||0}),n=e.computed(()=>!o.activities||!o.timeTrackingData?0:o.activities.reduce((c,f)=>{var u;const m=(u=o.timeTrackingData)==null?void 0:u[f.id];return c+((m==null?void 0:m.timeSpent)||0)},0)),s=e.computed(()=>(n.value/60).toFixed(2)),i=e.computed(()=>{var c;return(c=o.activities)==null?void 0:c.length}),l=e.computed(()=>{var c;return(c=o.activities)==null?void 0:c.filter(f=>Da(f,o.closedStatus)).length}),d=e.computed(()=>(l.value||0)/(i.value||1)),p=c=>{t("updateMilestone",{id:o.id,name:c})};return(c,f)=>(e.openBlock(),e.createBlock(ba,{class:e.normalizeClass(["ao-card-project-milestone"]),"is-clickable":!c.readonly,"tag-name":"li","is-selected":c.isSelected,color:c.phaseColor},{default:e.withCtx(()=>[e.createElementVNode("div",dh,[e.createElementVNode("div",ph,[e.createVNode(ch,{color:c.color||""},null,8,["color"]),e.createElementVNode("div",uh,[e.createVNode(ne,{id:c.id,title:c.name||"",level:5,"is-editable":!c.readonly&&c.isEditable,class:"ao-card-project-milestone__title","onUpdate:title":p},null,8,["id","title","is-editable"]),r.value||n.value?(e.openBlock(),e.createElementBlock("span",mh," ("+e.toDisplayString(s.value)+"/"+e.toDisplayString(r.value)+")",1)):e.createCommentVNode("",!0)])]),!c.readonly&&c.isEditable?(e.openBlock(),e.createElementBlock("div",fh,[e.createVNode(Y,{color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:c.active?c.$t("archive"):c.$t("unarchive"),onClick:f[0]||(f[0]=e.withModifiers(()=>c.active?c.$emit("archiveMilestone",{id:c.id}):c.$emit("unarchiveMilestone",{id:c.id}),["stop"]))},null,8,["label"])])):e.createCommentVNode("",!0)]),e.createElementVNode("div",hh,[e.createElementVNode("div",gh,[i.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",_h,[e.createVNode(Q,{name:"SelectCheckBox",size:"sm"}),e.createElementVNode("span",vh,e.toDisplayString(l.value)+" / "+e.toDisplayString(i.value),1)]),e.createVNode(ya,{percentages:d.value,color:c.phaseColor,class:"ao-card-project-milestone__progress"},null,8,["percentages","color"])],64)):e.createCommentVNode("",!0),c.$slots.secondary?(e.openBlock(),e.createElementBlock("div",Ch,[e.renderSlot(c.$slots,"secondary")])):e.createCommentVNode("",!0)])])]),footer:e.withCtx(()=>[e.createElementVNode("div",bh,[c.important?(e.openBlock(),e.createBlock(Q,{key:0,name:"FlagRounded",class:e.normalizeClass(c.isSelected?"ao-card-project-milestone__important--selected":"ao-card-project-milestone__important"),size:"sm"},null,8,["class"])):e.createCommentVNode("",!0),c.deadline?(e.openBlock(),e.createElementBlock("label",yh,[e.createElementVNode("span",wh,e.toDisplayString(e.unref(ra)(c.deadline)),1)])):e.createCommentVNode("",!0),c.assignee?(e.openBlock(),e.createElementBlock("div",kh,[e.createVNode(ye,{"user-name":e.unref(er)(c.assignee),"avatar-url":c.assignee.avatarUrl,color:c.isSelected?"black":"primary",size:"sm"},null,8,["user-name","avatar-url","color"])])):e.createCommentVNode("",!0)])]),_:3},8,["is-clickable","is-selected","color"]))}}),Q4="",Eh={class:"ao-mapping-card-project-phase__header"},Bh={class:"ao-card-project-item__title-line"},Vh={key:0,class:"ao-card-project-item-phase__estimation"},Sh={class:"ao-mapping-card-project-phase__footer"},Nh={key:0,class:"ao-mapping-card-project-phase__footer-row ao-mapping-card-project-phase__footer-row--progress"},xh={class:"ao-mapping-card-project-phase__subitem"},Mh={class:"ao-mapping-card-project-phase__subitem"},Th={key:0,class:"ao-mapping-card-project-phase__secondary"},Ah={class:"ao-mapping-card-project-phase__deadline ao-mapping-card-project-phase__deadline--readonly"},Oh=e.defineComponent({__name:"AoCondensedCardProjectItemPhase",props:{id:{},projectName:{},name:{},milestones:{},isEditable:{type:Boolean},deadline:{},active:{type:Boolean},color:{},timeTrackingData:{}},emits:["update:title","update:deadline","archivePhase","updatePhase","unarchivePhase"],setup(a,{emit:t}){const o=a,r=u=>{t("update:title",u)},n=e.computed(()=>{var u;return((u=o.milestones)==null?void 0:u.reduce((h,b)=>{var g;return h+((g=b.activities)==null?void 0:g.reduce((y,_)=>y+(_.estimation||0),0))},0))||0}),s=e.computed(()=>!o.milestones||!o.timeTrackingData?0:o.milestones.reduce((u,h)=>{var b;return u+(((b=h.activities)==null?void 0:b.reduce((g,y)=>{var C;const _=(C=o.timeTrackingData)==null?void 0:C[y.id];return g+((_==null?void 0:_.timeSpent)||0)},0))||0)},0)),i=e.computed(()=>(s.value/60).toFixed(2)),l=e.computed(()=>{var u;return(u=o.milestones)==null?void 0:u.length}),d=e.computed(()=>{var u;return(u=o.milestones)==null?void 0:u.filter(h=>h.status===kt.done).length}),p=e.computed(()=>(d.value||0)/(l.value||1)),c=e.computed({get:()=>o.deadline??"",set:u=>t("update:deadline",u!=null&&u.length?u:null)}),f=e.computed({get:()=>o.color,set:u=>{t("updatePhase",{id:o.id,color:u})}}),m=(u,h)=>{const b=u.target;b.closest("button")||b.closest("input")||b.closest(".ao-title")||h()};return(u,h)=>(e.openBlock(),e.createBlock(mo,{color:f.value,"onUpdate:color":h[2]||(h[2]=b=>f.value=b)},{clickable:e.withCtx(({openPicker:b,bgColor:g})=>[e.createVNode(ba,{class:"ao-mapping-card-project-phase","is-clickable":u.isEditable,color:g,withLeftBorder:!0,onClick:y=>m(y,b)},e.createSlots({default:e.withCtx(()=>[e.createElementVNode("div",Bh,[e.createVNode(ne,{id:u.id,class:"ao-mapping-card-project-phase__title",title:u.name||"",level:4,"is-editable":u.isEditable,"onUpdate:title":r},null,8,["id","title","is-editable"]),n.value||s.value?(e.openBlock(),e.createElementBlock("span",Vh," ("+e.toDisplayString(i.value)+"/"+e.toDisplayString(n.value)+")",1)):e.createCommentVNode("",!0)])]),footer:e.withCtx(()=>[e.createElementVNode("div",Sh,[l.value?(e.openBlock(),e.createElementBlock("div",Nh,[e.createElementVNode("div",xh,[e.createVNode(Q,{name:"MountainFlagOutlineRounded",size:"sm"}),e.createElementVNode("span",Mh,e.toDisplayString(d.value)+" / "+e.toDisplayString(l.value),1)]),e.createVNode(ya,{percentages:p.value,class:"ao-mapping-card-project-phase__progress",color:f.value},null,8,["percentages","color"]),u.$slots.secondary?(e.openBlock(),e.createElementBlock("div",Th,[e.renderSlot(u.$slots,"secondary")])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["ao-mapping-card-project-phase__footer-row",c.value?"":"ao-mapping-card-project-phase__no_deadline"])},[u.isEditable?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:0,"onUpdate:modelValue":h[1]||(h[1]=y=>c.value=y),class:"ao-mapping-card-project-phase__deadline ao-mapping-card-project-phase__deadline--input",type:"date"},null,512)),[[e.vModelText,c.value,void 0,{lazy:!0}]]):e.createCommentVNode("",!0),e.createElementVNode("span",Ah,e.toDisplayString(e.unref(ra)(u.deadline)),1)],2)])]),_:2},[u.isEditable?{name:"header",fn:e.withCtx(()=>[e.createElementVNode("div",Eh,[e.createVNode(Y,{class:"ao-mapping-card-project-phase__archive",color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:u.active?u.$t("archive"):u.$t("unarchive"),onClick:h[0]||(h[0]=e.withModifiers(()=>u.active?u.$emit("archivePhase",{id:u.id}):u.$emit("unarchivePhase",{id:u.id}),["stop"]))},null,8,["label"])])]),key:"0"}:void 0]),1032,["is-clickable","color","onClick"])]),_:3},8,["color"]))}}),J4="",Ih={class:"ao-project-phase"},Lh={key:0,class:"ao-project-phase__drag ao-card__drag"},Dh={key:1,class:"ao-project-phase__col-phase"},jh={key:2,class:"ao-mapping-project-phase__col-phase"},Ph={key:0,class:"ao-project-phase__col-milestones"},zh={class:"ao-project-phase__milestones-list-footer"},Hh=e.defineComponent({__name:"AoProjectPhase",props:{phase:{},closedStatus:{},users:{},isEditable:{type:Boolean},readonly:{type:Boolean},timeTrackingData:{}},emits:["addMilestone","updateMilestone","archiveMilestone","unarchiveMilestone","updatePhase","archivePhase","unarchivePhase"],setup(a,{emit:t}){const o=a,{t:r}=We();e.watch(()=>o.phase.milestones,(_,C)=>{Te(_,C)});const n=_=>{t("updatePhase",{id:o.phase.id,name:_})},s=_=>{t("updatePhase",{id:o.phase.id,deadline:_})},i=_=>{t("updatePhase",_)},l=e.computed(()=>o.phase.milestones.map(_=>_2(_,o.closedStatus))),d=_=>{const{name:C,rank:v}=at(l.value??[],"milestone",r);t("addMilestone",{name:C,rank:v,phaseId:_})},p=_=>{t("updateMilestone",_)},c=_=>{t("archiveMilestone",_)},f=_=>{t("unarchiveMilestone",_)},m=_=>{t("archivePhase",_)},u=_=>{t("unarchivePhase",_)},h=_=>{"added"in _?t("updateMilestone",{id:_.added.element.id,phaseId:o.phase.id,rank:dt(l.value,_.added.newIndex)}):"removed"in _||"moved"in _&&t("updateMilestone",{id:_.moved.element.id,rank:dt(l.value,_.moved.newIndex)})},b=Le.useRoute(),g=e.computed(()=>b.path.includes("/mapping")),y=e.computed(()=>{var _;return o.phase.id!==((_=b.params)==null?void 0:_.phaseId)?{backgroundColor:"var(--ao-color-sheet)"}:o.phase.color?{backgroundColor:C2(o.phase.color)}:{backgroundColor:"var(--ao-color-primary-lightest)"}});return(_,C)=>(e.openBlock(),e.createElementBlock("li",Ih,[e.createElementVNode("div",{class:"ao-project-phases__draggable-card",style:e.normalizeStyle(y.value)},[_.isEditable?(e.openBlock(),e.createElementBlock("div",Lh,[e.createVNode(Q,{name:"DragIndicator",class:"ao-project-phase__drag-handle"})])):e.createCommentVNode("",!0),g.value?(e.openBlock(),e.createElementBlock("div",jh,[e.createVNode(Oh,{id:_.phase.id,milestones:l.value,name:_.phase.name,deadline:_.phase.deadline,active:_.phase.active,"is-editable":_.isEditable,color:_.phase.color,"onUpdate:deadline":s,"onUpdate:title":n,onArchivePhase:m,onUnarchivePhase:u,onUpdatePhase:i},null,8,["id","milestones","name","deadline","active","is-editable","color"])])):(e.openBlock(),e.createElementBlock("div",Dh,[e.createVNode(lh,{id:_.phase.id,milestones:l.value,name:_.phase.name,deadline:_.phase.deadline,active:_.phase.active,"is-editable":_.isEditable,color:_.phase.color,"time-tracking-data":_.timeTrackingData,"onUpdate:deadline":s,"onUpdate:title":n,onArchivePhase:m,onUnarchivePhase:u,onUpdatePhase:i},null,8,["id","milestones","name","deadline","active","is-editable","color","time-tracking-data"])]))],4),g.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Ph,[e.createElementVNode("div",{class:"ao-project-phase__milestones",style:e.normalizeStyle(y.value)},[e.createVNode(e.unref(De),e.mergeProps({class:"ao-project-phase__milestones-list",list:l.value,disabled:_.readonly||!_.isEditable,"item-key":"id",group:"kanban"},_.$attrs,{onChange:h}),{item:e.withCtx(({element:v})=>{var B;return[e.createVNode($h,{id:v.id,name:v.name,color:v.color,"phase-color":_.phase.color,activities:v.activities,deadline:v.deadline,active:v.active,"is-editable":!_.readonly&&_.isEditable,"is-draggable":!_.readonly&&_.isEditable,"closed-status":_.closedStatus,"is-selected":v.id===((B=_.$route.params)==null?void 0:B.milestoneId),assignee:v.assignee,important:v.important,readonly:_.readonly,"time-tracking-data":_.timeTrackingData,class:e.normalizeClass(["ao-project-phase__milestone"]),onClick:E=>!_.readonly&&_.$router.push({name:e.unref(re).milestone,params:{phaseId:_.phase.id,milestoneId:v.id}}),onUpdateMilestone:p,onArchiveMilestone:c,onUnarchiveMilestone:f},null,8,["id","name","color","phase-color","activities","deadline","active","is-editable","is-draggable","closed-status","is-selected","assignee","important","readonly","time-tracking-data","onClick"])]}),_:1},16,["list","disabled"]),e.createElementVNode("div",zh,[_.isEditable?(e.openBlock(),e.createBlock(Pe,{key:0,label:_.$t("project.milestone.add"),class:"ao-project-phase__milestone-add","icon-name":"Add",onClick:C[0]||(C[0]=()=>d(_.phase.id))},null,8,["label"])):e.createCommentVNode("",!0)])],4)]))]))}}),e9="",Rh={class:"ao-project__phases"},Uh={key:0,class:"ao-project-phase__phases-list-footer"},Fh=e.createElementVNode("div",{class:"ao-project-phase__empty_drag"},null,-1),Zh={class:"ao-project-phase__col-phase"},Wh=e.createElementVNode("div",{class:"ao-project-phase__col-milestones"},null,-1),fo=e.defineComponent({__name:"AoProjectPhases",props:{phases:{},closedStatus:{},isEditable:{type:Boolean},users:{},readonly:{type:Boolean},timeTrackingData:{}},emits:["addMilestone","updateMilestone","archiveMilestone","unarchiveMilestone","addPhase","updatePhase","archivePhase","unarchivePhase"],setup(a,{emit:t}){const o=a;e.watch(()=>o.phases,(m,u)=>{Te(m,u)});const r=m=>{t("addMilestone",m)},n=m=>{t("updateMilestone",m)},s=m=>{t("archiveMilestone",m)},i=m=>{t("unarchiveMilestone",m)},l=m=>{t("archivePhase",m)},d=m=>{t("unarchivePhase",m)},p=m=>{if(m.moved){const u=Ot(m,o.phases??[]);t("updatePhase",{id:m.moved.element.id,rank:u})}},c=m=>{t("updatePhase",m)},f=m=>{t("addPhase",m)};return(m,u)=>(e.openBlock(),e.createElementBlock("div",Rh,[e.createVNode(e.unref(De),{class:"ao-project-phase__phases-list","model-value":m.phases,"item-key":"id",handle:".ao-card__drag",onChange:p},{item:e.withCtx(({element:h})=>[e.createVNode(Hh,{phase:h,"is-editable":!m.readonly&&m.isEditable,"closed-status":m.closedStatus,users:m.users,readonly:m.readonly,"time-tracking-data":m.timeTrackingData,onAddMilestone:r,onUpdateMilestone:n,onArchiveMilestone:s,onUnarchiveMilestone:i,onUpdatePhase:c,onArchivePhase:l,onUnarchivePhase:d},null,8,["phase","is-editable","closed-status","users","readonly","time-tracking-data"])]),_:1},8,["model-value"]),m.isEditable?(e.openBlock(),e.createElementBlock("div",Uh,[Fh,e.createElementVNode("div",Zh,[e.createVNode(Pe,{label:m.$t("project.phases.add"),"icon-name":"Add",class:"ao-project-phase__add-phase",onClick:f},null,8,["label"])]),Wh])):e.createCommentVNode("",!0)]))}}),t9="",qh=["onSubmit"],Yh={class:"ao-add-template-modal__form-body"},Kh={class:"field__row"},Gh={class:"ao-add-template-modal__form-footer"},Ar=e.defineComponent({__name:"AoAddTemplateModal",props:{projectId:{},templates:{}},emits:["apply"],setup(a,{emit:t}){const o=a,r=e.computed(()=>o.templates.map(l=>({value:l.id,label:l.name}))),n=e.ref(null),s=l=>{n.value=l},i=()=>{n.value&&t("apply",n.value,o.projectId)};return(l,d)=>(e.openBlock(),e.createBlock(na,{size:"sm"},{header:e.withCtx(()=>[e.createVNode(ne,{title:l.$t("project.template.apply.title"),level:3},null,8,["title"])]),default:e.withCtx(()=>[e.createElementVNode("form",{class:"ao-add-template-modal__form",onSubmit:e.withModifiers(i,["prevent"])},[e.createElementVNode("p",null,e.toDisplayString(l.$t("project.template.apply.notice")),1),e.createElementVNode("div",Yh,[e.createElementVNode("div",Kh,[e.createVNode(ce,{value:n.value,options:r.value,detached:!0,onChange:s},null,8,["value","options"])])]),e.createElementVNode("footer",Gh,[e.createVNode(Y,{label:l.$t("project.template.apply.label"),type:"submit",color:"primary",variant:"solid",onClick:i},null,8,["label"])])],40,qh)]),_:1}))}}),a9="",Xh=["onSubmit"],Qh={class:"ao-save-template-modal__form-body"},Jh={class:"field__row"},e5={class:"ao-field ao-field--inline"},t5={class:"ao-field__label"},a5={class:"ao-save-template-modal__phases"},o5={class:"ao-field__label"},r5={class:"ao-save-template-modal__phases-list"},n5=["value"],i5={class:"ao-save-template-modal__form-footer"},Or=e.defineComponent({__name:"AoSaveTemplateModal",props:{phases:{}},emits:["save"],setup(a,{emit:t}){const o=a,r=e.ref(""),n=e.ref([]);e.onMounted(()=>{n.value=o.phases.map(i=>i.id)});const s=()=>{r.value&&t("save",r.value,n.value)};return(i,l)=>(e.openBlock(),e.createBlock(na,{size:"sm"},{header:e.withCtx(()=>[e.createVNode(ne,{title:i.$t("project.template.save.title"),level:3},null,8,["title"])]),default:e.withCtx(()=>[e.createElementVNode("form",{class:"ao-save-template-modal__form",onSubmit:e.withModifiers(s,["prevent"])},[e.createElementVNode("div",Qh,[e.createElementVNode("div",Jh,[e.createElementVNode("label",e5,[e.createElementVNode("span",t5,e.toDisplayString(i.$t("project.template.name.label"))+": ",1),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":l[0]||(l[0]=d=>r.value=d),type:"text"},null,512),[[e.vModelText,r.value]])])]),e.createElementVNode("div",a5,[e.createElementVNode("div",o5,e.toDisplayString(i.$t("project.template.phases.label")),1),e.createElementVNode("div",r5,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.phases,d=>(e.openBlock(),e.createElementBlock("label",{class:"ao-field ao-field--checkbox",key:d.id},[e.withDirectives(e.createElementVNode("input",{type:"checkbox",value:d.id,"onUpdate:modelValue":l[1]||(l[1]=p=>n.value=p)},null,8,n5),[[e.vModelCheckbox,n.value]]),e.createElementVNode("span",null,e.toDisplayString(d.name),1)]))),128))])])]),e.createElementVNode("footer",i5,[e.createVNode(Y,{label:i.$t("project.template.save.label"),type:"submit",color:"primary",variant:"solid",onClick:s},null,8,["label"])])],40,Xh)]),_:1}))}}),o9="",s5=e.defineComponent({props:{modelValue:{type:[String,Number],required:!0},tabs:{type:Array,required:!0}},emits:["update:modelValue"],methods:{selectTab(a){this.$emit("update:modelValue",a)}}}),r9="",l5={class:"tabbar-wrapper"},c5=["onClick"];function d5(a,t,o,r,n,s){return e.openBlock(),e.createElementBlock("div",l5,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.tabs,i=>(e.openBlock(),e.createElementBlock("button",{key:i.value,class:e.normalizeClass(["tab-button",{"tab-button--active":i.value===a.modelValue}]),type:"button",onClick:l=>a.selectTab(i.value)},e.toDisplayString(i.label),11,c5))),128))])}const wa=j(s5,[["render",d5],["__scopeId","data-v-ff4e3297"]]),p5={class:"ao-project"},u5={class:"ao-project__body"},m5=e.defineComponent({__name:"AoProjectOverviewProject",props:{project:{},phases:{},closedStatus:{},users:{},userId:{},templates:{},isTaskCheckable:{type:Function},statuses:{},activityTypes:{},isEditable:{type:[Boolean,String]},showsArchived:{type:Boolean},attachmentEnabled:{type:Boolean},timeTrackingData:{}},emits:["addPhase","updatePhase","archivePhase","unarchivePhase","addMilestone","updateMilestone","archiveMilestone","unarchiveMilestone","addActivity","update:activity","archiveActivity","copyPhaseToTemplate","unarchiveActivity","addSubtask","updateSubtask","deleteSubtask","addFiles","removeFile","addComment","updateComment","removeComment","applyTemplate","saveTemplate","update:showsArchived"],setup(a,{emit:t}){const o=a,{t:r}=We(),n=e.computed(()=>o.phases.flatMap($=>$.milestones)),s=()=>{const{name:$,rank:L}=at(o.phases,"phase",r);t("addPhase",{name:$,rank:L,projectId:o.project.id})},i=$=>{t("updatePhase",$)},l=$=>{t("archivePhase",$)},d=$=>{t("unarchivePhase",$)},p=$=>{t("copyPhaseToTemplate",$)},c=$=>{t("addMilestone",$)},f=$=>{t("updateMilestone",$)},m=$=>{t("archiveMilestone",$)},u=$=>{t("unarchiveMilestone",$)},h=$=>{t("addActivity",$)},b=$=>{t("update:activity",$)},g=$=>{t("archiveActivity",$)},y=$=>{t("unarchiveActivity",$)},_=$=>{t("addSubtask",$)},C=$=>{t("updateSubtask",$)},v=$=>{t("deleteSubtask",$)},B=e.computed(()=>n.value.flatMap($=>$.activities)),E=$=>{t("addFiles",$)},N=$=>{t("removeFile",$)},A=$=>{t("addComment",$)},z=$=>{t("updateComment",$)},U=$=>{t("removeComment",$)},Z=e.ref(!1),O=e.ref(!1),H=($,L)=>{t("applyTemplate",{templateId:$,projectId:L}),Z.value=!1},K=($,L)=>{var w;const V=(w=o.templates)==null?void 0:w.at(-1),T=V?ie.LexoRank.parse(V.rank).genNext():ie.LexoRank.middle();t("saveTemplate",{templateName:$,rank:T.format(),phaseIds:L}),O.value=!1},W=Le.useRouter(),F=e.ref("overview"),S=[{label:"Overview",value:"overview"},{label:"Feed",value:"feed"},{label:"Mapping",value:"mapping"}];return e.watch(F,$=>{$==="feed"?(W.push({name:re.feed}),console.log("Navigating to feed...")):$==="overview"?(W.push({name:re.project}),console.log("Navigating to feed...")):$==="mapping"&&(W.push({name:re.mapping}),console.log("Navigating to feed..."))}),($,L)=>{const V=e.resolveComponent("RouterView");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",e.mergeProps({class:"ao-project-overview"},$.$attrs),[e.createElementVNode("div",p5,[e.createVNode(It,null,{primary:e.withCtx(()=>[e.createVNode(wa,{tabs:S,modelValue:F.value,"onUpdate:modelValue":L[0]||(L[0]=T=>F.value=T)},null,8,["modelValue"]),e.createVNode(Y,{class:"ao-feed__show-archived",size:"sm","icon-name":$.showsArchived?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank","icon-position":"start",color:"primary",variant:"ghost",label:$.$t("feed.filters.showsArchived.label"),role:"checkbox","aria-checked":$.showsArchived,onClick:L[1]||(L[1]=T=>$.$emit("update:showsArchived",!$.showsArchived))},null,8,["icon-name","label","aria-checked"])]),secondary:e.withCtx(()=>[$.isEditable===!0?(e.openBlock(),e.createBlock(Y,{key:0,class:"ao-project-overview__save-as-template",color:"primary",label:$.$t("project.template.save.label"),onClick:L[2]||(L[2]=T=>O.value=!0)},null,8,["label"])):e.createCommentVNode("",!0),$.isEditable===!0?(e.openBlock(),e.createBlock(Y,{key:1,class:"ao-project-overview__add-template",color:"primary",label:$.$t("project.template.apply.label"),onClick:L[3]||(L[3]=T=>Z.value=!0)},null,8,["label"])):e.createCommentVNode("",!0)]),_:1}),e.createElementVNode("div",u5,[e.createVNode(fo,{phases:$.phases,"closed-status":$.closedStatus,"is-editable":$.isEditable===!0,users:$.users,"time-tracking-data":$.timeTrackingData,onAddMilestone:c,onUpdateMilestone:f,onArchiveMilestone:m,onUnarchiveMilestone:u,onAddPhase:s,onUpdatePhase:i,onArchivePhase:l,onUnarchivePhase:d,onCopyPhaseToTemplate:p},null,8,["phases","closed-status","is-editable","users","time-tracking-data"])])]),e.createVNode(V,{class:"ao-project__sidebar",phases:$.phases,"project-id":$.project.id,"project-name":$.project.name,users:$.users,"is-editable":$.isEditable===!0,"closed-status":$.closedStatus,"time-tracking-data":$.timeTrackingData,onClose:L[4]||(L[4]=T=>$.$router.push({name:e.unref(re).project})),onUpdateMilestone:f,onAddActivity:h,onUpdateActivity:b,onArchiveActivity:g,onUnarchiveActivity:y},null,8,["phases","project-id","project-name","users","is-editable","closed-status","time-tracking-data"]),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(V,{name:"modal",activities:B.value,"is-task-checkable":$.isTaskCheckable,statuses:$.statuses,"activity-types":$.activityTypes,phases:$.phases,project:$.project,users:$.users,"user-id":$.userId,"is-editable":$.isEditable,"attachment-enabled":$.attachmentEnabled,"time-tracking-data":$.timeTrackingData,"onUpdate:activity":b,onAddSubtask:_,onUpdateSubtask:C,onDeleteSubtask:v,onAddFiles:E,onRemoveFile:N,onAddComment:A,onUpdateComment:z,onRemoveComment:U},{default:e.withCtx(({Component:T})=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(T),null,{default:e.withCtx(w=>[e.renderSlot($.$slots,"activityDetailsBody",e.normalizeProps(e.guardReactiveProps(w)))]),_:2},1024))]),_:3},8,["activities","is-task-checkable","statuses","activity-types","phases","project","users","user-id","is-editable","attachment-enabled","time-tracking-data"])]))],16),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[O.value?(e.openBlock(),e.createBlock(Or,{key:0,phases:$.phases,onClose:L[5]||(L[5]=T=>O.value=!1),onSave:K},null,8,["phases"])):e.createCommentVNode("",!0),Z.value?(e.openBlock(),e.createBlock(Ar,{key:1,"project-id":$.project.id,templates:$.templates,onClose:L[6]||(L[6]=T=>Z.value=!1),onApply:H},null,8,["project-id","templates"])):e.createCommentVNode("",!0)]))],64)}}}),n9="",f5={class:"ao-card-feed__header"},h5={key:1,class:"ao-card-feed__header-secondary ao-card-feed__header-icons"},g5={key:2,class:"ao-card-feed__header-secondary ao-card-feed__secondary"},_5={class:"ao-card-feed__body"},v5={key:0,class:"ao-card-feed__breadcrumbs"},C5={class:e.normalizeClass(["ao-card-feed__title-group"])},b5={class:"ao-card-feed__title-line"},y5={key:0,class:"ao-card-feed__slug"},w5={key:1,class:"ao-card-feed__deadline"},k5={class:"ao-card-feed__footer"},$5={class:"ao-card-feed__footer-row"},E5={class:"ao-assignees"},B5={key:0,class:"ao-assignee"},V5={key:0,class:"ao-card-feed__subitems"},S5={key:0,class:"ao-card-feed__subitem"},N5={class:"ao-card-feed__subitem"},x5={key:1,class:"ao-card-feed__subitem"},M5={class:"ao-card-feed__subitem"},T5={class:"ao-card-feed__timer-wrapper"},A5={class:"ao-card-feed__footer-row"},O5={key:0,class:"ao-card-feed__progress-wrapper"},I5={class:"ao-card-feed__subitem"},L5={class:"ao-card-feed__subitem"},ho=e.defineComponent({__name:"AoCardFeed",props:{id:{},name:{},projectName:{},projectId:{},projectColor:{},phaseName:{},milestoneName:{},milestoneColor:{},deadline:{},important:{type:Boolean},assignee:{},slug:{},comments:{},attachments:{},tasks:{},isEditable:{type:Boolean},isPrivate:{type:Boolean},isClosed:{type:Boolean},tagType:{}},emits:["removeAssignee","updateActivity","startTimer"],setup(a,{emit:t}){const o=a,r=e.computed(()=>o.tagType==="milestone"?o.milestoneName:o.projectName),n=e.computed(()=>o.tagType==="milestone"?o.milestoneColor:o.projectColor),s=h=>{t("updateActivity",{id:o.id,name:h})},i=e.computed(()=>o.tagType==="milestone"&&o.phaseName?`${o.phaseName}`:o.phaseName&&o.milestoneName?`${o.phaseName} / ${o.milestoneName}`:""),l=e.computed(()=>o.assignee?[o.assignee]:[]),d=e.computed(()=>ra(o.deadline)),p=h=>{t("removeAssignee",h)},c=()=>{t("startTimer",{activityId:o.id,name:o.name,project:o.projectName,projectId:o.projectId,slug:o.slug})},f=e.computed(()=>{var h;return(h=o.tasks)==null?void 0:h.length}),m=e.computed(()=>{var h;return(h=o.tasks)==null?void 0:h.filter(b=>b.isDone).length}),u=e.computed(()=>(m.value||0)/(f.value||1));return(h,b)=>(e.openBlock(),e.createBlock(ba,{class:e.normalizeClass(["ao-card-feed",{"ao-card-feed--closed":h.isClosed}]),"is-clickable":!0},{header:e.withCtx(()=>[e.createElementVNode("div",f5,[r.value?(e.openBlock(),e.createBlock(wt,{key:0,label:r.value,class:"ao-card-feed__project",variant:"solid",color:h.projectColor?void 0:"primary","raw-color":n.value},null,8,["label","color","raw-color"])):e.createCommentVNode("",!0),h.isPrivate||h.important||h.isClosed?(e.openBlock(),e.createElementBlock("div",h5,[h.isPrivate?(e.openBlock(),e.createBlock(Q,{key:0,name:"Lock",class:"ao-card-feed__warning",size:"sm"})):e.createCommentVNode("",!0),h.important?(e.openBlock(),e.createBlock(Q,{key:1,name:"FlagRounded",class:"ao-card-feed__important",size:"sm"})):e.createCommentVNode("",!0),h.isClosed?(e.openBlock(),e.createBlock(Q,{key:2,name:"CheckSmallRounded",class:"ao-card-feed__closed"})):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),h.$slots.secondary?(e.openBlock(),e.createElementBlock("div",g5,[e.renderSlot(h.$slots,"secondary")])):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[e.createElementVNode("div",_5,[i.value?(e.openBlock(),e.createElementBlock("span",v5,e.toDisplayString(i.value),1)):e.createCommentVNode("",!0),e.createElementVNode("div",C5,[e.createElementVNode("div",b5,[h.slug?(e.openBlock(),e.createElementBlock("span",y5,e.toDisplayString(h.slug)+": ",1)):e.createCommentVNode("",!0),e.createVNode(ne,{id:h.id,title:h.name,level:5,"is-editable":h.isEditable,"onUpdate:title":s,class:"ao-card-feed__title-inline"},null,8,["id","title","is-editable"])])]),h.deadline?(e.openBlock(),e.createElementBlock("span",w5,e.toDisplayString(d.value),1)):e.createCommentVNode("",!0)])]),footer:e.withCtx(()=>[e.createElementVNode("div",k5,[e.createElementVNode("div",$5,[e.createElementVNode("ul",E5,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,g=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:g.id},[g?(e.openBlock(),e.createElementBlock("li",B5,[e.createVNode(ye,{"user-name":e.unref(er)(g),"avatar-url":g.avatarUrl,"is-closable":!0,onClose:()=>p(g.id)},null,8,["user-name","avatar-url","onClose"])])):e.createCommentVNode("",!0)],64))),128))]),h.comments||h.attachments?(e.openBlock(),e.createElementBlock("ul",V5,[h.comments?(e.openBlock(),e.createElementBlock("li",S5,[e.createVNode(Q,{name:"ChatOutline",size:"sm"}),e.createElementVNode("span",N5,e.toDisplayString(h.comments),1)])):e.createCommentVNode("",!0),h.attachments?(e.openBlock(),e.createElementBlock("li",x5,[e.createVNode(Q,{name:"AttachFileRounded",size:"sm"}),e.createElementVNode("span",M5,e.toDisplayString(h.attachments),1)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",T5,[e.createVNode(Q,{name:"PlayArrowRounded",class:"ao-card-feed__timer",size:"md",onClick:e.withModifiers(c,["stop"])},null,8,["onClick"])])]),e.createElementVNode("div",A5,[h.tasks&&h.tasks.length?(e.openBlock(),e.createElementBlock("div",O5,[e.createElementVNode("div",I5,[e.createVNode(Q,{name:"SelectCheckBox",size:"sm"}),e.createElementVNode("span",L5,e.toDisplayString(m.value)+" / "+e.toDisplayString(f.value),1)]),e.createVNode(ya,{percentages:u.value,class:"ao-card-feed__progress"},null,8,["percentages"])])):e.createCommentVNode("",!0)])])]),_:3},8,["class"]))}}),i9="",D5={class:"ao-project-milestone"},j5={class:"ao-project-milestone__header"},P5={class:"ao-project-milestone__header_line"},z5={class:"ao-project-milestone__header_line"},H5={class:"ao-project-milestone__title"},R5={key:0,class:"ao-fieldset ao-milestone__fieldset"},U5={class:"ao-field__row ao-milestone__field-row"},F5={class:"ao-field ao-field--inline"},Z5={class:"ao-field__row ao-milestone__field-row"},W5={class:"ao-field ao-milestone__field-multiselect"},q5=["onClick"],Y5={class:"ao-project-milestone__body"},K5={key:0,class:"ao-project-milestone__footer"},Ir=e.defineComponent({__name:"AoProjectOverviewMilestoneDetails",props:{milestoneId:{},users:{},projectId:{},phases:{},phaseId:{},isEditable:{type:Boolean},closedStatus:{},timeTrackingData:{}},emits:["close","addActivity","updateMilestone","updateActivity","archiveActivity","unarchiveActivity","startTimer"],setup(a,{emit:t}){const o=a,{t:r}=We(),n=v=>{var B;t("startTimer",v),(B=window.parent)==null||B.postMessage({type:"startTimer",data:v},"*")},s=e.computed(()=>{var v;return(v=o.phases)==null?void 0:v.find(B=>B.id===o.phaseId)}),i=e.computed(()=>{var v;return(v=o.phases)==null?void 0:v.flatMap(B=>B.milestones)}),l=e.computed(()=>{var v;return(v=i.value)==null?void 0:v.find(B=>B.id===o.milestoneId)}),d=e.computed(()=>{var v;return(v=l.value)==null?void 0:v.activities});e.watch(d,(v,B)=>{Te(v,B)});const p=v=>{t("close",v)},c=()=>{const{name:v,rank:B}=at(d.value??[],"activity",r);t("addActivity",{milestoneId:o.milestoneId,name:v,rank:B,projectId:o.projectId})},f=v=>{t("updateActivity",v)},m=v=>{d.value&&"moved"in v&&t("updateActivity",{id:v.moved.element.id,rank:dt(d.value,v.moved.newIndex)})},u=e.computed({get:()=>{var v;return(v=l.value)==null?void 0:v.color},set:v=>{l.value&&t("updateMilestone",{id:l.value.id,color:v})}}),h=e.computed({get:()=>{var v;return((v=l==null?void 0:l.value)==null?void 0:v.deadline)??""},set:v=>{l.value&&t("updateMilestone",{id:l.value.id,deadline:v!=null&&v.length?v:null})}}),b=v=>o.closedStatus?Da(v,o.closedStatus):!1,g=e.computed(()=>{var v;return((v=o.users)==null?void 0:v.map(B=>({label:`${B.firstName} ${B.lastName}`,value:B.id,avatar:B.avatarUrl})))||[]}),y=e.computed({get(){var v,B;return(B=(v=l.value)==null?void 0:v.assignee)!=null&&B.id?[l.value.assignee.id]:[]},set(v){t("updateMilestone",{id:o.milestoneId,assigneeId:v[0]??null})}}),_=e.computed({get(){var v;return((v=l.value)==null?void 0:v.important)??!1},set(v){t("updateMilestone",{id:o.milestoneId,important:v})}}),C=(v,B)=>{const E=v.currentTarget;E instanceof HTMLElement&&B(E)};return(v,B)=>{var E;return e.openBlock(),e.createElementBlock("div",D5,[e.createElementVNode("header",j5,[e.createElementVNode("div",P5,[e.createVNode(Y,{"icon-name":"CloseRounded",variant:"ghost",size:"sm",class:"ao-milestone__close",onClick:p})]),e.createElementVNode("div",z5,[e.createElementVNode("div",H5,[e.createVNode(ne,{title:((E=l.value)==null?void 0:E.name)||v.milestoneId,level:5},null,8,["title"]),e.createVNode(to,{modelValue:_.value,"onUpdate:modelValue":B[0]||(B[0]=N=>_.value=N),modelModifiers:{lazy:!0},disabled:!v.isEditable,class:"ao-milestone__important",color:"danger",label:v.$t("activity.important.label"),"icon-name":"FlagRounded",variant:"ghost",size:"sm"},null,8,["modelValue","disabled","label"])])]),l.value?(e.openBlock(),e.createElementBlock("div",R5,[e.createElementVNode("div",U5,[e.createElementVNode("label",F5,[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":B[1]||(B[1]=N=>h.value=N),class:"ao-milestone__field ao-milestone__date-field",type:"date"},null,512),[[e.vModelText,h.value,void 0,{lazy:!0}]])])]),e.createElementVNode("div",Z5,[e.createElementVNode("label",W5,[e.createVNode(ce,{modelValue:y.value,"onUpdate:modelValue":B[2]||(B[2]=N=>y.value=N),options:g.value,"close-on-select":!0,searchable:!0,max:1,class:"ao-milestone__field ao-milestone__multiselect",placeholder:v.$t("activity.filters.assignee.placeholder"),mode:"tags",disabled:!v.isEditable,caret:v.isEditable},{tag:e.withCtx(({option:N,handleTagRemove:A})=>[e.createVNode(ye,{"user-name":N.label,"avatar-url":N.avatar,"is-closable":!0,onClose:z=>A(N,z)},null,8,["user-name","avatar-url","onClose"])]),_:1},8,["modelValue","options","placeholder","disabled","caret"])])]),e.createVNode(mo,{color:u.value,"onUpdate:color":B[3]||(B[3]=N=>u.value=N)},{clickable:e.withCtx(({openPicker:N,bgColor:A})=>[e.createElementVNode("button",{style:e.normalizeStyle({background:A}),class:"color-button",onClick:z=>C(z,N)},null,12,q5)]),_:1},8,["color"])])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Y5,[e.createVNode(e.unref(De),e.mergeProps({class:"ao-project-milestone__activities",list:d.value,disabled:!v.isEditable,"item-key":"id",group:"kanban"},v.$attrs,{onChange:m}),{item:e.withCtx(({element:N})=>{var A,z,U,Z,O;return[e.createVNode(ho,{id:N.id,name:N.name||N.id,"project-id":v.projectId,"phase-name":(A=s.value)==null?void 0:A.name,"milestone-name":(z=l.value)==null?void 0:z.name,"milestone-color":(U=l.value)==null?void 0:U.color,deadline:N.deadline,important:N.important,users:v.users,assignee:N.assignee,slug:N.slug,comments:(Z=N.comments)==null?void 0:Z.length,attachments:(O=N.attachments)==null?void 0:O.length,tasks:N.tasks,"is-editable":v.isEditable,"is-private":N.private,"is-closed":b(N),onClick:H=>v.$router.push({name:e.unref(re).activity,params:{milestoneId:v.milestoneId,activityId:N.id}}),onUpdateActivity:f,onRemoveAssignee:()=>f({id:N.id,assigneeId:null}),onStartTimer:n},e.createSlots({_:2},[v.isEditable?{name:"secondary",fn:e.withCtx(()=>[v.isEditable&&N.active?(e.openBlock(),e.createBlock(Y,{key:0,color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:v.$t("archive"),onClick:e.withModifiers(()=>v.$emit("archiveActivity",{id:N.id}),["stop"])},null,8,["label","onClick"])):e.createCommentVNode("",!0),v.isEditable&&!N.active?(e.openBlock(),e.createBlock(Y,{key:1,color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:v.$t("feed.activity.unarchive"),onClick:e.withModifiers(()=>v.$emit("unarchiveActivity",{id:N.id}),["stop"])},null,8,["label","onClick"])):e.createCommentVNode("",!0)]),key:"0"}:void 0]),1032,["id","name","project-id","phase-name","milestone-name","milestone-color","deadline","important","users","assignee","slug","comments","attachments","tasks","is-editable","is-private","is-closed","onClick","onRemoveAssignee"])]}),_:1},16,["list","disabled"]),v.isEditable?(e.openBlock(),e.createElementBlock("div",K5,[e.createVNode(Pe,{"icon-name":"Add",label:v.$t("project.activity.add"),onClick:c},null,8,["label"])])):e.createCommentVNode("",!0)])])}}}),s9="",G5=e.defineComponent({__name:"AoProjectOverviewActivityDetails",props:{phaseId:{},milestoneId:{},activityId:{},activityTypes:{},activities:{},isTaskCheckable:{type:Function},statuses:{},phases:{},users:{},project:{},userId:{},isEditable:{type:Boolean},attachmentEnabled:{type:Boolean},timeTrackingData:{}},emits:["update:activity","addSubtask","updateSubtask","deleteSubtask","addFiles","removeFile","addComment","updateComment","removeComment"],setup(a,{emit:t}){const o=a,r=e.computed(()=>{var g;return(g=o.phases)==null?void 0:g.find(y=>y.id===o.phaseId)}),n=e.computed(()=>{var g;return(g=o.phases)==null?void 0:g.flatMap(y=>y.milestones)}),s=e.computed(()=>{var g;return(g=n.value)==null?void 0:g.find(y=>y.id===o.milestoneId)}),i=e.computed(()=>{var g;return(g=o.activities)==null?void 0:g.find(y=>y.id===o.activityId)}),l=g=>{t("update:activity",g)},d=g=>{t("addSubtask",g)},p=g=>{t("updateSubtask",g)},c=g=>{t("deleteSubtask",g)},f=g=>{t("addFiles",g)},m=g=>{t("removeFile",g)},u=g=>{t("addComment",g)},h=g=>{t("updateComment",g)},b=g=>{t("removeComment",g)};return(g,y)=>{var _,C;return i.value?(e.openBlock(),e.createBlock(ao,{key:0,activity:i.value,"activity-types":g.activityTypes,"milestone-id":g.milestoneId,"template-activities":g.activities,"is-template":!1,users:g.users,"user-id":g.userId,"is-task-checkable":g.isTaskCheckable,statuses:g.statuses,breadcrumbs:`${(_=r.value)==null?void 0:_.name} / ${(C=s.value)==null?void 0:C.name}`,"is-editable":g.isEditable,"attachment-enabled":g.attachmentEnabled,projects:[g.project],"time-tracking-data":g.timeTrackingData,onClose:g.$router.back,"onUpdate:activity":l,onAddSubtask:d,onUpdateSubtask:p,onDeleteSubtask:c,onAddFiles:f,onRemoveFile:m,onAddComment:u,onUpdateComment:h,onRemoveComment:b},{default:e.withCtx(v=>[e.renderSlot(g.$slots,"default",e.normalizeProps(e.guardReactiveProps(v)))]),_:3},8,["activity","activity-types","milestone-id","template-activities","users","user-id","is-task-checkable","statuses","breadcrumbs","is-editable","attachment-enabled","projects","time-tracking-data","onClose"])):e.createCommentVNode("",!0)}}}),X5={class:"ao-col-header"},Q5=e.defineComponent({__name:"AoColHeader",props:{title:{},items:{}},setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("header",X5,[e.createVNode(ne,{title:t.title,class:"ao-col-header__title",level:4},null,8,["title"]),t.items?(e.openBlock(),e.createBlock(wt,{key:0,label:t.items,class:"ao-col-header__items",variant:"solid",color:"primary"},null,8,["label"])):e.createCommentVNode("",!0)]))}}),l9="";function J5(a){return e.getCurrentScope()?(e.onScopeDispose(a),!0):!1}function ka(a){return typeof a=="function"?a():e.unref(a)}const e7=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const t7=a=>a!=null,Rt=()=>{};function a7(a,t){function o(...r){return new Promise((n,s)=>{Promise.resolve(a(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(n).catch(s)})}return o}function o7(a,t={}){let o,r,n=Rt;const s=l=>{clearTimeout(l),n(),n=Rt};return l=>{const d=ka(a),p=ka(t.maxWait);return o&&s(o),d<=0||p!==void 0&&p<=0?(r&&(s(r),r=null),Promise.resolve(l())):new Promise((c,f)=>{n=t.rejectOnCancel?f:c,p&&!r&&(r=setTimeout(()=>{o&&s(o),r=null,c(l())},p)),o=setTimeout(()=>{r&&s(r),r=null,c(l())},d)})}}function r7(a,t=200,o={}){return a7(o7(t,o),a)}function go(a){var t;const o=ka(a);return(t=o==null?void 0:o.$el)!=null?t:o}const n7=e7?window:void 0;function i7(){const a=e.ref(!1),t=e.getCurrentInstance();return t&&e.onMounted(()=>{a.value=!0},t),a}function s7(a){const t=i7();return e.computed(()=>(t.value,!!a()))}function l7(a,t,o={}){const{root:r,rootMargin:n="0px",threshold:s=.1,window:i=n7,immediate:l=!0}=o,d=s7(()=>i&&"IntersectionObserver"in i),p=e.computed(()=>{const h=ka(a);return(Array.isArray(h)?h:[h]).map(go).filter(t7)});let c=Rt;const f=e.ref(l),m=d.value?e.watch(()=>[p.value,go(r),f.value],([h,b])=>{if(c(),!f.value||!h.length)return;const g=new IntersectionObserver(t,{root:go(b),rootMargin:n,threshold:s});h.forEach(y=>y&&g.observe(y)),c=()=>{g.disconnect(),c=Rt}},{immediate:l,flush:"post"}):Rt,u=()=>{c(),m(),f.value=!1};return J5(u),{isSupported:d,isActive:f,pause(){c(),f.value=!1},resume(){f.value=!0},stop:u}}const c7={class:e.normalizeClass(["ao-list-kanban"])},d7={class:"ao-list-kanban__header"},p7={key:0,class:"ao-list-kanban__end ao-list-kanban__end--loading"},u7={key:1,class:"ao-list-kanban__end"},m7={key:0,class:"ao-list-kanban__no-more"},f7={key:1,class:"ao-list-kanban__divider"},h7={key:1,class:"ao-list-kanban__footer"},g7=e.defineComponent({__name:"AoListKanban",props:{list:{},status:{},users:{},userId:{},title:{},footerLabel:{},isLoading:{type:Boolean},hasMore:{type:Boolean},noMoreLabel:{},isEditable:{type:[Boolean,String]},tagType:{}},emits:["add","update:list","change:list","loadMore","selectActivity","archiveActivity","unarchiveActivity","updateActivity","startTimer"],setup(a,{emit:t}){const o=a,r=e.ref(!1),n=e.ref(null);l7(n,([{isIntersecting:c}])=>{r.value=c}),e.watch(r,c=>{c&&o.hasMore&&!o.isLoading&&t("loadMore")});const s=c=>{var f;return o.isEditable===!0?!0:o.userId&&o.isEditable==="only-own"?o.userId===((f=c.assignee)==null?void 0:f.id):!1},i=c=>{t("selectActivity",c)},l=c=>{t("updateActivity",c)},d=c=>{"added"in c?t("updateActivity",{id:c.added.element.id,statusId:o.status.id,rank:dt(o.list,c.added.newIndex)}):"removed"in c||"moved"in c&&t("updateActivity",{id:c.moved.element.id,rank:dt(o.list,c.moved.newIndex)})},p=e.ref(!1);return(c,f)=>(e.openBlock(),e.createElementBlock("div",c7,[c.title||c.$slots.header?e.renderSlot(c.$slots,"header",{key:0},()=>{var m;return[e.createElementVNode("div",d7,[c.title?(e.openBlock(),e.createBlock(Q5,{key:0,title:c.title,level:3,items:(m=c.list)==null?void 0:m.length},null,8,["title","items"])):e.createCommentVNode("",!0)])]}):e.createCommentVNode("",!0),e.createVNode(e.unref(De),e.mergeProps({class:["ao-list-kanban__list",p.value?"ao-list-kanban__transition":void 0],list:c.list,"item-key":"id",group:"kanban","ghost-class":"ao-list-kanban__ghost",animation:"200"},c.$attrs,{draggable:".ao-list-draggable",disabled:!c.isEditable,onChange:d,onStart:f[1]||(f[1]=m=>p.value=!0),onEnd:f[2]||(f[2]=m=>p.value=!1),"component-data":{tag:"transition-group",name:"ao-list-kanban__transition"}}),{item:e.withCtx(({element:m})=>{var u,h,b,g,y,_,C,v,B,E;return[e.createVNode(ho,{class:e.normalizeClass(s(m)?"ao-list-draggable":""),id:m.id,name:m.name,"project-name":(u=m.project)==null?void 0:u.name,"project-id":(h=m.project)==null?void 0:h.id,"project-color":(b=m.project)==null?void 0:b.color,"phase-name":(y=(g=m.milestone)==null?void 0:g.phase)==null?void 0:y.name,"milestone-name":(_=m.milestone)==null?void 0:_.name,"milestone-color":(C=m.milestone)==null?void 0:C.color,deadline:m.deadline,rules:((v=m.rules)==null?void 0:v.length)||0,tasks:m.tasks,description:m.description,important:m.important,type:m.type,comments:(B=m.comments)==null?void 0:B.length,attachments:(E=m.attachments)==null?void 0:E.length,users:c.users,assignee:m.assignee,slug:m.slug,"is-editable":s(m),"is-private":m.private,"tag-type":c.tagType,onUpdateActivity:[N=>s(m)&&l(N),()=>s(m)&&l],onClick:()=>i(m.id),onRemoveAssignee:()=>s(m)&&l({id:m.id,assigneeId:null}),onStartTimer:f[0]||(f[0]=N=>c.$emit("startTimer",N))},{secondary:e.withCtx(()=>[s(m)&&m.active?(e.openBlock(),e.createBlock(Y,{key:0,color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:c.$t("feed.activity.archive"),onClick:e.withModifiers(()=>c.$emit("archiveActivity",{id:m.id}),["stop"])},null,8,["label","onClick"])):e.createCommentVNode("",!0),s(m)&&!m.active?(e.openBlock(),e.createBlock(Y,{key:1,color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:c.$t("feed.activity.unarchive"),onClick:e.withModifiers(()=>c.$emit("unarchiveActivity",{id:m.id}),["stop"])},null,8,["label","onClick"])):e.createCommentVNode("",!0)]),_:2},1032,["class","id","name","project-name","project-id","project-color","phase-name","milestone-name","milestone-color","deadline","rules","tasks","description","important","type","comments","attachments","users","assignee","slug","is-editable","is-private","tag-type","onUpdateActivity","onClick","onRemoveAssignee"])]}),footer:e.withCtx(()=>[c.isLoading?(e.openBlock(),e.createElementBlock("div",p7,[e.createVNode(Q,{name:"Loading"})])):c.hasMore?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"scrollEnd",ref:n,class:"ao-list-kanban__end"},null,512)):(e.openBlock(),e.createElementBlock("div",u7,[c.noMoreLabel?(e.openBlock(),e.createElementBlock("span",m7,e.toDisplayString(c.noMoreLabel),1)):c.isEditable?(e.openBlock(),e.createElementBlock("span",f7)):e.createCommentVNode("",!0)]))]),_:1},16,["class","list","disabled"]),c.$slots.footer||c.footerLabel?(e.openBlock(),e.createElementBlock("div",h7,[e.renderSlot(c.$slots,"footer",{},()=>[c.isEditable?(e.openBlock(),e.createBlock(Pe,{key:0,"icon-name":"AddBoxOutlineRounded",label:c.footerLabel,onClick:f[3]||(f[3]=m=>c.$emit("add"))},null,8,["label"])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)]))}}),c9="",_7={class:"ao-field ao-search-field"},v7=["value","placeholder","onKeypress"],C7=e.defineComponent({__name:"AoSearchField",props:{modelValue:{},delay:{default:250},placeholder:{default:"Search"}},emits:["update:modelValue","clear"],setup(a,{emit:t}){const o=a,r=async i=>{const d=i.target.value;t("update:modelValue",d,i)},n=r7(r,o.delay),s=i=>{t("clear",i)};return(i,l)=>(e.openBlock(),e.createElementBlock("div",_7,[e.createElementVNode("input",{value:i.modelValue,type:"text",class:"ao-field__input ao-search-field__input",placeholder:i.placeholder,onInput:l[0]||(l[0]=(...d)=>e.unref(n)&&e.unref(n)(...d)),onKeypress:e.withKeys(r,["enter"])},null,40,v7),e.createVNode(Q,{name:"SearchRounded",class:e.normalizeClass(`ao-search-field__icon ao-search-field__action ${i.modelValue?"":"ao-search-field__action--visible"}`)},null,8,["class"]),e.createVNode(Y,{"icon-name":"CloseRounded",size:"sm",color:"primary",corners:"round",class:e.normalizeClass(`ao-search-field__button ao-search-field__action ${i.modelValue?"ao-search-field__action--visible":""}`),onClick:s},null,8,["class"])]))}}),d9="",b7={class:"ao-feed"},y7={class:"ao-feed__filters"},w7={class:"ao-feed__body"},Lr=e.defineComponent({__name:"AoFeed",props:{activities:{},statuses:{},project:{},projects:{},filters:{},activityTypes:{},users:{},userId:{},initialActivityId:{},initialActivitySlug:{},searchText:{default:""},showsArchivedActivities:{type:Boolean},showsOnlyImportant:{type:Boolean},showsOnlyNonAssigned:{type:Boolean},selectedActivity:{},isTaskCheckable:{type:Function,default:void 0},isEditable:{type:[Boolean,String]},attachmentEnabled:{type:Boolean,default:!0},timeTrackingData:{}},emits:["change:activities","addActivity","update:filters","selectActivity","update:activity","archiveActivity","unarchiveActivity","update:searchText","clear:searchText","update:showsArchivedActivities","update:showsOnlyImportant","update:showsOnlyNonAssigned","addSubtask","updateSubtask","deleteSubtask","addFiles","removeFile","addComment","updateComment","removeComment","toast","startTimer"],setup(a,{emit:t}){const o=a,{t:r}=We();function n(V,T){t("toast",V,T)}const s=e.toRef(o,"activities"),i=async(V,T)=>{await t("selectActivity",V,T)},l=e.ref({}),d=e.ref(!1),p=e.ref(!1),c=e.computed(()=>o.project?"milestone":"project");e.watch([()=>o.statuses,()=>o.activities,()=>o.initialActivityId,()=>o.initialActivitySlug],async([V,T,w,x],[R,P])=>{l.value=Object.fromEntries(V.map(M=>[M.id,T.filter(D=>{var ee;return((ee=D.status)==null?void 0:ee.id)===M.id})])),w&&!d.value?(i(w,null),d.value=!0):x&&!d.value&&(i(null,x),d.value=!0),p.value&&Te(T,P)},{immediate:!0});const f=e.computed(()=>{var V;return!o.selectedActivity||!o.selectedActivity.milestone?"":`${((V=o.selectedActivity.milestone.phase)==null?void 0:V.name)??""} / ${o.selectedActivity.milestone.name??""}`}),m=V=>{var P,M;const T=(P=o.activities)==null?void 0:P.at(-1),w=T?ie.LexoRank.parse(T.rank).genNext():ie.LexoRank.middle(),x=((M=o.activities)==null?void 0:M.length)??0,R={name:r("activity.defaultName",{idx:x+1}),rank:w.format(),statusId:V.id};o.filters.assigneeId.length>0&&(R.assigneeId=o.filters.assigneeId[0]),o.filters.projectId.length>0&&(R.projectId=o.filters.projectId[0]),o.filters.typeId.length>0&&(R.typeId=o.filters.typeId[0]),p.value=!0,t("addActivity",R)},u=(V,T)=>{p.value=!1,t("update:filters",{...o.filters,[V]:T})},h=e.computed(()=>o.project?[o.project]:o.projects??[]),b=e.computed(()=>h.value.map(V=>({value:V.id,label:V.name}))),g=e.computed(()=>{var V;return(V=o.activityTypes)==null?void 0:V.map(T=>({value:T.id,label:T.name}))}),y=e.computed(()=>o.users.map(V=>({value:V.id,label:`${V.firstName} ${V.lastName}`,avatar:V.avatarUrl}))),_=V=>{o.selectedActivity&&t("update:activity",V)},C=V=>{t("update:activity",V)},v=V=>{t("archiveActivity",V)},B=V=>{t("unarchiveActivity",V)},E=V=>{var T;t("startTimer",V),(T=window.parent)==null||T.postMessage({type:"startTimer",data:V},"*")},N=V=>{p.value=!1,t("update:searchText",V)},A=V=>{p.value=!1,t("clear:searchText",V)},z=V=>{o.selectedActivity&&t("addSubtask",V)},U=V=>{o.selectedActivity&&t("updateSubtask",V)},Z=V=>{o.selectedActivity&&t("deleteSubtask",V)},O=V=>{t("addFiles",V)},H=V=>{t("removeFile",V)},K=V=>{o.selectedActivity&&t("addComment",{...V,activityId:o.selectedActivity.id})},W=V=>{const{id:T}=o.selectedActivity||{};T&&t("updateComment",V)},F=V=>{const{id:T}=o.selectedActivity||{};T&&t("removeComment",V)},S=Le.useRouter(),$=e.ref("feed"),L=[{label:"Overview",value:"overview"},{label:"Feed",value:"feed"},{label:"Mapping",value:"mapping"}];return e.watch($,V=>{V==="feed"?(S.push({name:re.feed}),console.log("Navigating to feed...")):V==="overview"?(S.push({name:re.project}),console.log("Navigating to feed...")):V==="mapping"&&(S.push({name:re.mapping}),console.log("Navigating to feed..."))}),(V,T)=>{var w;return e.openBlock(),e.createElementBlock("div",b7,[e.createVNode(It,null,{primary:e.withCtx(()=>[e.createElementVNode("div",y7,[e.createVNode(wa,{tabs:L,modelValue:$.value,"onUpdate:modelValue":T[0]||(T[0]=x=>$.value=x)},null,8,["modelValue"]),e.createVNode(C7,{"model-value":V.searchText,placeholder:V.$t("feed.search.placeholder"),class:"ao-feed__search","onUpdate:modelValue":N,onClear:A},null,8,["model-value","placeholder"]),o.project?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ce,{key:0,"model-value":V.filters[e.unref(Xe).project],mode:"tags",options:b.value,"close-on-select":!1,searchable:!0,class:"ao-feed__filter ao-feed__filter__projects",placeholder:V.$t("feed.filters.project.placeholder"),"onUpdate:modelValue":T[1]||(T[1]=x=>u(e.unref(Xe).project,x))},null,8,["model-value","options","placeholder"])),g.value?(e.openBlock(),e.createBlock(ce,{key:1,"model-value":V.filters[e.unref(Xe).type],mode:"tags",options:g.value,"close-on-select":!1,searchable:!0,class:"ao-feed__filter ao-feed__filter__types",placeholder:V.$t("feed.filters.activityType.placeholder"),"onUpdate:modelValue":T[2]||(T[2]=x=>u(e.unref(Xe).type,x))},null,8,["model-value","options","placeholder"])):e.createCommentVNode("",!0),y.value.length?(e.openBlock(),e.createBlock(ce,{key:2,"model-value":V.filters[e.unref(Xe).assignee],mode:"tags",options:y.value,"close-on-select":!1,searchable:!0,class:"ao-feed__filter ao-feed__filter__assignees",placeholder:V.$t("feed.filters.assignee.placeholder"),"onUpdate:modelValue":T[3]||(T[3]=x=>u(e.unref(Xe).assignee,x))},{tag:e.withCtx(({option:x,handleTagRemove:R})=>[e.createVNode(ye,{"user-name":x.label,"avatar-url":x.avatar,"is-closable":!0,onClose:P=>R(x,P)},null,8,["user-name","avatar-url","onClose"])]),_:1},8,["model-value","options","placeholder"])):e.createCommentVNode("",!0)]),e.createVNode(Y,{class:"ao-feed__only-non-assigned",size:"sm","icon-name":V.showsOnlyNonAssigned?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank","icon-position":"start",color:"primary",variant:"ghost",label:V.$t("feed.filters.showsOnlyNonAssigned.label"),role:"checkbox","aria-checked":V.showsOnlyNonAssigned,onClick:T[4]||(T[4]=x=>V.$emit("update:showsOnlyNonAssigned",!V.showsOnlyNonAssigned))},null,8,["icon-name","label","aria-checked"]),e.createVNode(Y,{class:"ao-feed__only-important",size:"sm","icon-name":V.showsOnlyImportant?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank","icon-position":"start",color:"primary",variant:"ghost",label:V.$t("feed.filters.showsOnlyImportant.label"),role:"checkbox","aria-checked":V.showsOnlyImportant,onClick:T[5]||(T[5]=x=>V.$emit("update:showsOnlyImportant",!V.showsOnlyImportant))},null,8,["icon-name","label","aria-checked"]),e.createVNode(Y,{class:"ao-feed__show-archived",size:"sm","icon-name":V.showsArchivedActivities?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank","icon-position":"start",color:"primary",variant:"ghost",label:V.$t("feed.filters.showsArchivedActivities.label"),role:"checkbox","aria-checked":V.showsArchivedActivities,onClick:T[6]||(T[6]=x=>V.$emit("update:showsArchivedActivities",!V.showsArchivedActivities))},null,8,["icon-name","label","aria-checked"])]),_:1}),e.createElementVNode("div",w7,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(V.statuses,x=>(e.openBlock(),e.createBlock(g7,{key:x.id,status:x,list:l.value[x.id],title:x.name,"footer-label":V.$t("feed.activity.add"),users:V.users,"user-id":V.userId,"is-editable":V.isEditable,tagType:c.value,onAdd:()=>m(x),onSelectActivity:i,onArchiveActivity:v,onUnarchiveActivity:B,onUpdateActivity:C,onStartTimer:E},null,8,["status","list","title","footer-label","users","user-id","is-editable","tagType","onAdd"]))),128))]),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[V.selectedActivity?(e.openBlock(),e.createBlock(ao,{key:0,activity:V.selectedActivity,"activity-types":V.activityTypes,"milestone-id":(w=V.selectedActivity.milestone)==null?void 0:w.id,"template-activities":s.value,users:V.users,"user-id":V.userId,"is-task-checkable":V.isTaskCheckable,statuses:V.statuses,breadcrumbs:f.value,"is-editable":V.isEditable,"attachment-enabled":V.attachmentEnabled,projects:h.value,"time-tracking-data":V.timeTrackingData,onClose:T[7]||(T[7]=()=>i(null,null)),"onUpdate:activity":_,onAddSubtask:z,onUpdateSubtask:U,onDeleteSubtask:Z,onAddFiles:O,onRemoveFile:H,onAddComment:K,onUpdateComment:W,onRemoveComment:F,onToast:n},{default:e.withCtx(x=>[e.renderSlot(V.$slots,"activityDetailsBody",e.normalizeProps(e.guardReactiveProps(x)))]),_:3},8,["activity","activity-types","milestone-id","template-activities","users","user-id","is-task-checkable","statuses","breadcrumbs","is-editable","attachment-enabled","projects","time-tracking-data"])):e.createCommentVNode("",!0)]))])}}}),p9="",k7={class:"ao-project-mapping"},$7={class:"ao-project-mapping-mapping__body"},E7={class:"ao-project-mapping-mapping__phases"},B7={key:0,class:"ao-project-mapping-mapping__image-wrapper"},V7=["src","alt"],S7=e.defineComponent({__name:"AoMapping",props:{project:{},phases:{},closedStatus:{},users:{},userId:{},templates:{},isTaskCheckable:{type:Function},statuses:{},activityTypes:{},isEditable:{type:[Boolean,String]},showsArchived:{type:Boolean},attachmentEnabled:{type:Boolean}},emits:["addPhase","updatePhase","archivePhase","unarchivePhase","copyPhaseToTemplate","applyTemplate","saveTemplate","update:showsArchived"],setup(a,{emit:t}){const o=a,{t:r}=We(),n=()=>{const{name:g,rank:y}=at(o.phases,"phase",r);t("addPhase",{name:g,rank:y,projectId:o.project.id})},s=g=>{t("updatePhase",g)},i=g=>{t("archivePhase",g)},l=g=>{t("unarchivePhase",g)},d=g=>{t("copyPhaseToTemplate",g)},p=e.ref(!1),c=e.ref(!1),f=(g,y)=>{t("applyTemplate",{templateId:g,projectId:y}),p.value=!1},m=(g,y)=>{var v;const _=(v=o.templates)==null?void 0:v.at(-1),C=_?ie.LexoRank.parse(_.rank).genNext():ie.LexoRank.middle();t("saveTemplate",{templateName:g,rank:C.format(),phaseIds:y}),c.value=!1},u=Le.useRouter(),h=e.ref("mapping"),b=[{label:"Overview",value:"overview"},{label:"Feed",value:"feed"},{label:"Mapping",value:"mapping"}];return e.watch(h,g=>{g==="feed"?(u.push({name:re.feed}),console.log("Navigating to feed...")):g==="overview"?(u.push({name:re.project}),console.log("Navigating to feed...")):g==="mapping"&&(u.push({name:re.mapping}),console.log("Navigating to feed..."))}),(g,y)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",e.mergeProps({class:"ao-project-mapping-overview"},g.$attrs),[e.createElementVNode("div",k7,[e.createVNode(It,null,{primary:e.withCtx(()=>[e.createVNode(wa,{modelValue:h.value,"onUpdate:modelValue":y[0]||(y[0]=_=>h.value=_),tabs:b},null,8,["modelValue"]),e.createVNode(Y,{class:"ao-feed__show-archived",size:"sm","icon-name":g.showsArchived?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank","icon-position":"start",color:"primary",variant:"ghost",label:g.$t("feed.filters.showsArchived.label"),role:"checkbox","aria-checked":g.showsArchived,onClick:y[1]||(y[1]=_=>g.$emit("update:showsArchived",!g.showsArchived))},null,8,["icon-name","label","aria-checked"])]),secondary:e.withCtx(()=>[g.isEditable===!0?(e.openBlock(),e.createBlock(Y,{key:0,class:"ao-project-mapping-overview__save-as-template",color:"primary",label:g.$t("project.template.save.label"),onClick:y[2]||(y[2]=_=>c.value=!0)},null,8,["label"])):e.createCommentVNode("",!0),g.isEditable===!0?(e.openBlock(),e.createBlock(Y,{key:1,class:"ao-project-mapping-overview__add-template",color:"primary",label:g.$t("project.template.apply.label"),onClick:y[3]||(y[3]=_=>p.value=!0)},null,8,["label"])):e.createCommentVNode("",!0)]),_:1}),e.createElementVNode("div",$7,[e.createElementVNode("div",E7,[e.createVNode(fo,{phases:g.phases,"closed-status":g.closedStatus,"is-editable":g.isEditable===!0,users:g.users,onAddPhase:n,onUpdatePhase:s,onArchivePhase:i,onUnarchivePhase:l,onCopyPhaseToTemplate:d},null,8,["phases","closed-status","is-editable","users"])]),g.project.architectureImage?(e.openBlock(),e.createElementBlock("div",B7,[e.createElementVNode("img",{class:"architecture-image",src:g.project.architectureImage.url,alt:e.unref(r)("architectureImage.alt")},null,8,V7)])):e.createCommentVNode("",!0)])])],16),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[c.value?(e.openBlock(),e.createBlock(Or,{key:0,phases:g.phases,onClose:y[4]||(y[4]=_=>c.value=!1),onSave:m},null,8,["phases"])):e.createCommentVNode("",!0),p.value?(e.openBlock(),e.createBlock(Ar,{key:1,"project-id":g.project.id,templates:g.templates,onClose:y[5]||(y[5]=_=>p.value=!1),onApply:f},null,8,["project-id","templates"])):e.createCommentVNode("",!0)]))],64))}}),u9="",rt={TEMPLATES:"templates",TEMPLATE_DETAILS:"template_details",TEMPLATES_LIST:"templates_list"},N7=(a,t={})=>[{path:a,name:rt.TEMPLATES,redirect:{name:rt.TEMPLATES_LIST},...t,children:[{path:"",name:rt.TEMPLATES_LIST,component:Dr},{path:":templateId/:phaseId?/:milestoneId?/:activityId?",name:rt.TEMPLATE_DETAILS,component:Mr,props:!0}]}],re={project:"AoProject",feed:"AoProjectFeed",mapping:"AoProjectMapping",milestone:"AoMilestone",activity:"AoActivity"},x7=(a,t={})=>[{path:a,...t,redirect:{name:re.project},children:[{path:"",name:re.project,component:m5,props:!0,children:[{path:":phaseId/:milestoneId",name:re.milestone,component:Ir,props:!0},{path:":phaseId/:milestoneId/:activityId",name:re.activity,props:{default:!0,modal:!0},components:{default:Ir,modal:G5}}]},{path:"feed",name:re.feed,component:Lr,props:!0},{path:"mapping",name:re.mapping,component:S7,props:!0}]}],M7={class:"ao-templates"},Dr=e.defineComponent({__name:"AoTemplatesList",props:{templates:{}},emits:["addTemplate","updateTemplates","updateItem","removeItem"],setup(a,{emit:t}){const o=a,{t:r}=We();e.watch(()=>o.templates,(d,p)=>{Te(d,p)});const n=()=>{var m,u;const d=(m=o.templates)==null?void 0:m.at(-1),p=d?ie.LexoRank.parse(d.rank).genNext():ie.LexoRank.middle(),c=((u=o.templates)==null?void 0:u.length)??0,f={name:r("template.defaultName.template",{idx:c+1}),rank:p.format()};t("addTemplate",f)},s=(d,p)=>{t("updateItem",{itemType:te.TEMPLATES,id:d,templateId:d,data:{name:p}})},i=(d,p)=>{t("removeItem",{itemType:te.TEMPLATES,templateId:d,data:{id:d,...p?{name:p}:{}}})},l=d=>{if(d.moved){const p=Ot(d,o.templates??[]);t("updateItem",{itemType:te.TEMPLATES,id:d.moved.element.id,templateId:d.moved.element.id,data:{rank:p}})}};return(d,p)=>(e.openBlock(),e.createElementBlock("div",M7,[e.createVNode(It,null,{secondary:e.withCtx(()=>[e.createVNode(Y,{label:d.$t("templates.new"),color:"primary","icon-name":"Add","icon-position":"start",onClick:n},null,8,["label"])]),_:1}),e.createVNode(e.unref(De),{"model-value":d.templates,class:"ao-templates__list","item-key":"id",handle:".ao-card__drag",onChange:l},{item:e.withCtx(({element:c})=>{var f;return[e.createVNode(F2,{id:c.id,title:c.name,phases:c.phases,milestones:(f=c.phases)!=null&&f.length?e.unref(m2)(c.phases):0,activities:c.phases?e.unref(f2)(c.phases):0,"updated-at":c.updatedAt,"updated-by":c.updatedBy,onUpdateTitle:m=>s(c.id,m),onClick:m=>d.$router.push({name:e.unref(rt).TEMPLATE_DETAILS,params:{templateId:c.id}}),onDeleteItem:p[0]||(p[0]=(m,u)=>i(m,u))},null,8,["id","title","phases","milestones","activities","updated-at","updated-by","onUpdateTitle","onClick"])]}),_:1},8,["model-value"])]))}}),m9="",T7={class:"ao-field__label"},jr=e.defineComponent({__name:"AoField",props:{label:{},isMultiselect:{type:Boolean,default:!1}},setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("label",{class:e.normalizeClass(["ao-field",{"ao-field--multiselect":t.isMultiselect}])},[e.createElementVNode("span",T7,e.toDisplayString(t.label),1),e.renderSlot(t.$slots,"default")],2))}}),A7=["type","value","disabled","readonly"],O7=e.defineComponent({__name:"AoInputField",props:{label:{default:""},type:{default:"text"},modelValue:{default:""},modelModifiers:{default:()=>({})},isDisabled:{type:Boolean,default:!1},isReadonly:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(a,{emit:t}){const o=a,r=e.computed(()=>o.modelModifiers.lazy?"change":"input"),n=s=>{o.modelModifiers.number&&(s=Number(s)),t("update:modelValue",s)};return(s,i)=>(e.openBlock(),e.createBlock(jr,{label:s.label},{default:e.withCtx(()=>[e.createElementVNode("input",e.mergeProps({class:"ao-field__input",type:s.type,value:s.modelValue,disabled:s.isDisabled,readonly:s.isReadonly},{[e.toHandlerKey(r.value)]:i[0]||(i[0]=l=>n(l.target.value))}),null,16,A7)]),_:1},8,["label"]))}}),I7={class:"ao-field"},L7={class:"ao-field__label"},D7=["checked","disabled"],j7=e.defineComponent({__name:"AoCheckboxField",props:{label:{default:""},modelValue:{type:Boolean,default:!1},isReadonly:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("label",I7,[e.createElementVNode("span",L7,e.toDisplayString(t.label),1),e.createElementVNode("input",{class:"ao-field__input",type:"checkbox",checked:t.modelValue,disabled:t.isDisabled,onChange:o[0]||(o[0]=r=>{var n;return t.$emit("update:modelValue",((n=r.target)==null?void 0:n.checked)??!1)})},null,40,D7)]))}});X.AoAvatar=ye,X.AoCardFeed=ho,X.AoCheckboxField=j7,X.AoFeed=Lr,X.AoField=jr,X.AoInputField=O7,X.AoMultiselect=ce,X.AoProjectPhases=fo,X.AoTabBar=wa,X.AoTemplateDetails=Mr,X.AoTemplates=Wr,X.AoTemplatesList=Dr,X.TemplateItemTypeEnum=To,X.activityFeedStatus=Nd,X.durationTypes=Sd,X.feedFilterTypes=Xe,X.getProjectOverviewRoutes=x7,X.getTemplateRoutes=N7,X.listUpdateTypes=xd,X.milestoneStatus=kt,X.projectOverviewRoutes=re,X.ruleComparators=No,X.ruleDurationUnits=Mo,X.ruleTriggerTypes=xo,X.templateItemType=te,X.templateRouteNames=rt,Object.defineProperty(X,Symbol.toStringTag,{value:"Module"})});