@solibo/solibo-ui 2.2.18 → 2.2.20

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.
Files changed (52) hide show
  1. package/dist/assets/index.css +1 -1
  2. package/dist/assets/index18.css +1 -1
  3. package/dist/assets/index20.css +1 -1
  4. package/dist/components/checkbox/index.cjs +1 -1
  5. package/dist/components/checkbox/index.js +1 -1
  6. package/dist/components/comment/index.cjs +1 -1
  7. package/dist/components/comment/index.js +1 -1
  8. package/dist/components/comments/index.cjs +1 -1
  9. package/dist/components/comments/index.js +1 -1
  10. package/dist/components/controls/index.cjs +1 -1
  11. package/dist/components/controls/index.js +2 -2
  12. package/dist/components/dropdown/index.cjs +1 -1
  13. package/dist/components/dropdown/index.js +3 -3
  14. package/dist/components/editor/index.cjs +1 -1
  15. package/dist/components/editor/index.js +1 -1
  16. package/dist/components/icon/index.cjs +1 -1
  17. package/dist/components/icon/index.js +1 -1
  18. package/dist/components/iframe/index.cjs +1 -1
  19. package/dist/components/iframe/index.js +93 -74
  20. package/dist/components/input/index.cjs +1 -1
  21. package/dist/components/input/index.js +2 -2
  22. package/dist/components/menu/index.cjs +1 -1
  23. package/dist/components/menu/index.js +1 -1
  24. package/dist/components/message/index.cjs +1 -1
  25. package/dist/components/message/index.js +32 -33
  26. package/dist/components/messages/index.cjs +1 -1
  27. package/dist/components/messages/index.js +1 -1
  28. package/dist/components/nav/index.cjs +1 -1
  29. package/dist/components/nav/index.js +1 -1
  30. package/dist/components/search/index.cjs +1 -1
  31. package/dist/components/search/index.js +2 -2
  32. package/dist/components/select/index.cjs +1 -1
  33. package/dist/components/select/index.js +2 -2
  34. package/dist/icons-BSfBrPs3.cjs +1 -0
  35. package/dist/{icons-DVeBguFb.js → icons-DtAsxlep.js} +3 -0
  36. package/dist/{index-B4dFheLl.cjs → index-BAvndpvN.cjs} +1 -1
  37. package/dist/{index-acMNM3VJ.js → index-BOIHwDwc.js} +1 -1
  38. package/dist/{index-BwfsmdF6.cjs → index-C6rfOHaL.cjs} +1 -1
  39. package/dist/{index-GPsHvb4d.js → index-CWeknFzO.js} +1 -1
  40. package/dist/{index-BQoXmNo3.cjs → index-Ct84TXGv.cjs} +1 -1
  41. package/dist/{index-DEQcFR32.cjs → index-D3gtJMYv.cjs} +1 -1
  42. package/dist/{index-6TyCExT0.js → index-DpkXKD1Z.js} +1 -1
  43. package/dist/{index-BJiUk1q2.js → index-pFwW6g9T.js} +1 -1
  44. package/dist/index.cjs +1 -1
  45. package/dist/index.d.ts +7 -4
  46. package/dist/index.js +4 -4
  47. package/dist/{menu-popover-Ceb_9V67.js → menu-popover-AX_9ln6L.js} +3 -3
  48. package/dist/menu-popover-Bzgvr-we.cjs +1 -0
  49. package/dist/tokens.json +1 -1
  50. package/package.json +1 -1
  51. package/dist/icons-BIdcCH-v.cjs +0 -1
  52. package/dist/menu-popover-bqblnK6P.cjs +0 -1
@@ -1 +1 @@
1
- @keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes fade-out{0%{opacity:1}to{opacity:0}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes stagger-in{0%{opacity:0;translate:0 4px}to{opacity:1;translate:0 0}}@media (prefers-reduced-motion: reduce){*{animation:none!important;opacity:1!important;transition:none!important;translate:none!important}}[data-animation=stagger]{--stagger-duration: var(--utils-tokens-transition-duration);--stagger-parent: var(--utils-tokens-transition-duration);--stagger-step: var(--utils-tokens-transition-duration)}[data-animation=stagger] *{--stagger-index: 0;--stagger-next: calc(var(--stagger-total) + var(--stagger-duration));--stagger-self: calc(var(--stagger-index) * var(--stagger-step));--stagger-total: calc(var(--stagger-parent) + var(--stagger-self));animation:stagger-in var(--stagger-duration) var(--utils-tokens-transition-timing-function) var(--utils-tokens-transition-delay) both;animation-delay:var(--stagger-total);opacity:0;translate:0 var(--scale-4);will-change:opacity,translate}[data-animation=stagger] *>*{--stagger-parent: var(--stagger-next)}[data-animation=stagger]>*:nth-child(1),[data-animation=stagger] *>*:nth-child(1){--stagger-index: 0}[data-animation=stagger]>*:nth-child(2),[data-animation=stagger] *>*:nth-child(2){--stagger-index: 1}[data-animation=stagger]>*:nth-child(3),[data-animation=stagger] *>*:nth-child(3){--stagger-index: 2}[data-animation=stagger]>*:nth-child(4),[data-animation=stagger] *>*:nth-child(4){--stagger-index: 3}[data-animation=stagger]>*:nth-child(5),[data-animation=stagger] *>*:nth-child(5){--stagger-index: 4}[data-animation=stagger]>*:nth-child(6),[data-animation=stagger] *>*:nth-child(6){--stagger-index: 5}[data-animation=stagger]>*:nth-child(7),[data-animation=stagger] *>*:nth-child(7){--stagger-index: 6}[data-animation=stagger]>*:nth-child(8),[data-animation=stagger] *>*:nth-child(8){--stagger-index: 7}[data-animation=stagger]>*:nth-child(9),[data-animation=stagger] *>*:nth-child(9){--stagger-index: 8}[data-animation=stagger]>*:nth-child(10),[data-animation=stagger] *>*:nth-child(10){--stagger-index: 9}[data-animation=stagger][data-stagger-step]{--stagger-step: attr(data-stagger-step time, 25ms)}[data-animation=stagger] [data-stagger-off],[data-animation=stagger] [data-stagger-off] *{--stagger-duration: 0ms;--stagger-parent: 0ms;--stagger-step: 0ms;animation:none!important;opacity:1!important;translate:none!important}@media print{@page{margin:1.5cm}*,*:before,*:after{animation:none!important;box-shadow:none!important;text-shadow:none!important;transition:none!important}html,body{background:#fff!important;color:#000!important;font:12pt/1.4 system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif!important}body{margin:0}nav,aside,button:not([data-print-content]),input,select,textarea,iframe,video,audio,body:before,[data-component=controls],[data-component=toolbar],[data-component=menu],[data-message-actions],[data-content=collapsible-indicator],[data-component=messages]>[data-component=editor],[data-component=messages]>[data-component=tooltip],.no-print,.print-hidden,[aria-hidden=true]{display:none!important}main,article,section,[data-component=appshell],[data-component=panel],[data-component=messages],[data-message-list],[data-component=list],[data-print-flow]{display:block!important;height:auto!important;max-height:none!important;min-height:0!important;min-width:0!important;overflow:visible!important;position:static!important;max-width:none!important;width:100%!important}main,article,section{margin:0!important;padding:0!important}article[data-component=card]{overflow:visible!important}[data-animation],[data-animation] *{opacity:1!important;translate:none!important}[data-message-type]{display:block!important;-moz-column-break-inside:auto;break-inside:auto;margin:0 0 1em!important;padding:0!important;background:transparent!important}[data-message-type]>*,[data-message-type] [data-appearance]{margin-inline:0!important;max-width:none!important;width:auto!important}[data-message-type] [data-appearance]{display:block!important;-webkit-line-clamp:unset!important;overflow:visible!important;padding:0!important;border:0!important;background:transparent!important;color:inherit!important;text-overflow:clip!important}[data-content=user-generated],html [data-content=user-generated] :is(p,table,th,td,tr),[data-component=file],[data-component=file] :is(a,button,span),[data-component=avatar] :is(strong,span){max-height:none!important;overflow:visible!important;text-overflow:clip!important;white-space:normal!important;overflow-wrap:anywhere}[data-component=file] button{color:#000!important}header,[data-component=message],[data-component=file]{color:#000!important}header :is(p,span,strong,b,em,time,h1,h2,h3,h4,h5,h6),[data-component=message] :is(p,span,strong,b,em,time,h1,h2,h3,h4,h5,h6),[data-component=file] :is(p,span,strong,b,em,time,h1,h2,h3,h4,h5,h6){color:inherit!important}[data-component=avatar] span,[data-component=file],[data-component=panel],[data-component=card],[data-component=messages]>ul{background-color:transparent!important}header{-moz-column-break-after:avoid;break-after:avoid}[data-component=card] :is(h1,h2,h3,h4,h5,h6){overflow:visible!important;white-space:normal!important}h1,h2,h3{-moz-column-break-after:avoid;break-after:avoid;page-break-after:avoid}p,h1,h2,h3,h4,h5,h6{orphans:3;widows:3}a{color:#000!important;text-decoration:underline}[data-component=file]>a[href]{flex-wrap:wrap}[data-component=file]>a[href]:after{flex-basis:100%}[data-content=user-generated] a[href^=http]:after,a[data-print-url][href^=http]:after,[data-component=file]>a[href]:not([href^="#"]):after{content:" (" attr(href) ")";font-size:90%;overflow-wrap:anywhere}table{border-collapse:collapse;page-break-inside:auto;width:100%}html [data-content=user-generated] table{table-layout:auto!important;width:100%!important}tr,img{-moz-column-break-inside:avoid;break-inside:avoid;page-break-inside:avoid}th,td{border:1px solid #000;padding:.25rem .4rem;vertical-align:top}thead{display:table-header-group}img,svg{height:auto!important;max-width:100%!important}pre,code{white-space:pre-wrap;word-break:break-word}pre,blockquote{-moz-column-break-inside:auto;break-inside:auto}.no-print,.print-hidden,[aria-hidden=true],[hidden]{display:none!important}}:root{--breakpoint-lg: 1024;--breakpoint-md: 768;--breakpoint-sm: 480;--breakpoint-xl: 1280;--colors-blue-100: #c9dcff;--colors-blue-200: var(--colors-new-brand-blue);--colors-blue-300: #6695ff;--colors-blue-400: #296afa;--colors-blue-50: var(--colors-new-brand-light-blue);--colors-blue-500: #0b4ad5;--colors-blue-600: #0c3797;--colors-blue-700: #0c2764;--colors-blue-800: #0b1938;--colors-blue-900: #090e1b;--colors-box-shadow: #0000001f;--colors-box-shadow-heavy: #0006;--colors-categories-bg-grey-1: #e3e4e6;--colors-categories-bg-grey-2: #d4dce5;--colors-categories-bg-pink-1: #e7e3ea;--colors-categories-bg-pink-2: #e3d2f0;--colors-categories-bg-pink-3: #d8bfe5;--colors-categories-bg-pink-4: #e0c3d8;--colors-categories-bg-pink-5: #e8c6d2;--colors-categories-bg-yellow-1: #d9cbaf;--colors-categories-bg-yellow-2: #d9c7c0;--colors-categories-bg-yellow-3: #cdb8ac;--colors-categories-content-on-grey: #3f444a;--colors-categories-content-on-pink: #783b65;--colors-categories-content-on-yellow: #65483f;--colors-green-100: #d9e0d7;--colors-green-200: #b8c7b3;--colors-green-300: #90aa88;--colors-green-400: #698c5f;--colors-green-50: #eff1ee;--colors-green-500: #4a6344;--colors-green-600: var(--colors-new-brand-shadow-green);--colors-green-700: var(--colors-new-brand-dark-green);--colors-green-800: #151b13;--colors-green-900: #0c0f0b;--colors-neutral-0: #fff;--colors-neutral-100: #ebebeb;--colors-neutral-200: #dfdfdf;--colors-neutral-300: #b3b3b3;--colors-neutral-400: #7b7b7b;--colors-neutral-50: #f5f5f5;--colors-neutral-500: #525252;--colors-neutral-600: #373737;--colors-neutral-700: #2a2a2a;--colors-neutral-800: #1c1c1c;--colors-neutral-900: #0b0b0b;--colors-new-brand-blue: #abc5ff;--colors-new-brand-dark-green: #202b1b;--colors-new-brand-light-blue: #e8f1ff;--colors-new-brand-light-yellow: #f8fac0;--colors-new-brand-nature-white: #f7f7e1;--colors-new-brand-shadow-green: #263821;--colors-new-brand-shadow-yellow: #7d8233;--colors-new-brand-yellow: #cde517;--colors-orange-100: #fbe7d3;--colors-orange-200: #f1cda7;--colors-orange-300: #e6b37a;--colors-orange-400: #dc9c50;--colors-orange-50: #fff5ea;--colors-orange-500: #cf8a33;--colors-orange-600: #a96f23;--colors-orange-700: #885716;--colors-orange-800: #633e0d;--colors-orange-900: #442a08;--colors-red-100: #f8e2de;--colors-red-200: #e9bbb3;--colors-red-300: #d1897e;--colors-red-400: #aa5449;--colors-red-50: #fff4f2;--colors-red-500: #862b22;--colors-red-600: #702018;--colors-red-700: #5a1610;--colors-red-800: #43100b;--colors-red-900: #2d0906;--colors-semantic-bg-backdrop: #000000d9;--colors-semantic-bg-disabled: var(--colors-neutral-50);--colors-semantic-bg-overlay: var(--colors-neutral-100);--colors-semantic-bg-page: var(--colors-neutral-50);--colors-semantic-bg-surface: var(--colors-neutral-0);--colors-semantic-border-active: var(--colors-neutral-800);--colors-semantic-border-default: var(--colors-neutral-300);--colors-semantic-border-destructive: var(--colors-red-600);--colors-semantic-border-disabled: var(--colors-neutral-100);--colors-semantic-border-focus: var(--colors-new-brand-shadow-yellow);--colors-semantic-border-on-color: var(--colors-neutral-0);--colors-semantic-border-strong: var(--colors-neutral-400);--colors-semantic-border-subtle: var(--colors-neutral-100);--colors-semantic-content-destructive: var(--colors-red-700);--colors-semantic-content-disabled: var(--colors-neutral-400);--colors-semantic-content-highlight: var(--colors-green-200);--colors-semantic-content-link: var(--colors-blue-500);--colors-semantic-content-link-hover: var(--colors-blue-700);--colors-semantic-content-link-visited: var(--colors-blue-600);--colors-semantic-content-on-color: var(--colors-new-brand-light-yellow);--colors-semantic-content-primary: var(--colors-green-700);--colors-semantic-content-secondary: var(--colors-neutral-600);--colors-semantic-content-tertiary: var(--colors-neutral-500);--colors-semantic-interactive-checked: var(--colors-yellow-700);--colors-semantic-interactive-checked-hover: var(--colors-yellow-600);--colors-semantic-interactive-destructive-bg: var(--colors-red-500);--colors-semantic-interactive-destructive-disabled: var(--colors-red-200);--colors-semantic-interactive-destructive-hover: var(--colors-red-600);--colors-semantic-interactive-disabled: var(--colors-neutral-200);--colors-semantic-interactive-hover: var(--colors-green-50);--colors-semantic-interactive-hover-overlay: #0000001f;--colors-semantic-interactive-hover-subtle: var(--colors-neutral-100);--colors-semantic-interactive-neutral: var(--colors-neutral-300);--colors-semantic-interactive-on-checked: var(--colors-new-brand-nature-white);--colors-semantic-interactive-pressed: var(--colors-green-100);--colors-semantic-interactive-secondary-bg: var(--colors-new-brand-nature-white);--colors-semantic-interactive-secondary-destructive-bg: var(--colors-red-50);--colors-semantic-interactive-secondary-destructive-hover: var(--colors-red-100);--colors-semantic-interactive-secondary-hover: var(--colors-new-brand-light-yellow);--colors-semantic-interactive-selected: var(--colors-green-100);--colors-semantic-interactive-unchecked: var(--colors-neutral-300);--colors-semantic-interactive-unchecked-hover: var(--colors-neutral-400);--colors-semantic-main-nav-admin-bg: var(--colors-red-800);--colors-semantic-main-nav-admin-content: var(--colors-red-100);--colors-semantic-main-nav-admin-content-active: var(--colors-neutral-0);--colors-semantic-main-nav-admin-hover: var(--colors-red-600);--colors-semantic-main-nav-admin-selected: var(--colors-red-600);--colors-semantic-main-nav-admin-selected-border: var(--colors-yellow-500);--colors-semantic-main-nav-admin-submenu-bg: var(--colors-red-900);--colors-semantic-main-nav-forvalt-bg: var(--colors-blue-800);--colors-semantic-main-nav-forvalt-content: var(--colors-blue-100);--colors-semantic-main-nav-forvalt-content-active: var(--colors-neutral-0);--colors-semantic-main-nav-forvalt-hover: var(--colors-blue-700);--colors-semantic-main-nav-forvalt-selected: var(--colors-blue-700);--colors-semantic-main-nav-forvalt-selected-border: var(--colors-yellow-500);--colors-semantic-main-nav-forvalt-submenu-bg: var(--colors-blue-900);--colors-semantic-main-nav-portal-bg: var(--colors-green-700);--colors-semantic-main-nav-portal-content: var(--colors-new-brand-light-yellow);--colors-semantic-main-nav-portal-content-active: var(--colors-neutral-0);--colors-semantic-main-nav-portal-hover: var(--colors-yellow-800);--colors-semantic-main-nav-portal-selected: var(--colors-yellow-800);--colors-semantic-main-nav-portal-selected-border: var(--colors-yellow-500);--colors-semantic-main-nav-portal-submenu-bg: var(--colors-green-900);--colors-semantic-primary-on-primary: var(--colors-new-brand-light-yellow);--colors-semantic-primary-on-primary-subtle: var(--colors-green-600);--colors-semantic-primary-primary: var(--colors-green-600);--colors-semantic-primary-primary-active: var(--colors-green-500);--colors-semantic-primary-primary-border: var(--colors-green-600);--colors-semantic-primary-primary-hover: var(--colors-green-700);--colors-semantic-primary-primary-subtle: var(--colors-green-100);--colors-semantic-primary-primary-subtle-border: var(--colors-green-300);--colors-semantic-roles-bg-board: var(--colors-new-brand-light-yellow);--colors-semantic-roles-bg-external: var(--colors-green-100);--colors-semantic-roles-bg-owner: var(--colors-blue-200);--colors-semantic-roles-bg-renter: var(--colors-blue-50);--colors-semantic-roles-bg-solibo: var(--colors-green-700);--colors-semantic-roles-content-board: var(--colors-green-700);--colors-semantic-roles-content-external: var(--colors-green-800);--colors-semantic-roles-content-owner: var(--colors-new-brand-dark-green);--colors-semantic-roles-content-renter: var(--colors-new-brand-dark-green);--colors-semantic-roles-content-solibo: var(--colors-new-brand-light-yellow);--colors-semantic-status-active-bg: var(--colors-new-brand-yellow);--colors-semantic-status-active-content: var(--colors-new-brand-dark-green);--colors-semantic-status-error-bg: var(--colors-red-50);--colors-semantic-status-error-border: var(--colors-red-400);--colors-semantic-status-error-content: var(--colors-red-800);--colors-semantic-status-error-content-inverse: var(--colors-neutral-0);--colors-semantic-status-info-bg: var(--colors-blue-50);--colors-semantic-status-info-border: var(--colors-blue-300);--colors-semantic-status-info-content: var(--colors-blue-800);--colors-semantic-status-info-content-inverse: var(--colors-neutral-0);--colors-semantic-status-pending-bg: var(--colors-neutral-200);--colors-semantic-status-pending-content: var(--colors-neutral-600);--colors-semantic-status-success-bg: var(--colors-green-100);--colors-semantic-status-success-border: var(--colors-green-300);--colors-semantic-status-success-content: var(--colors-green-800);--colors-semantic-status-success-content-inverse: var(--colors-neutral-0);--colors-semantic-status-warning-bg: var(--colors-orange-50);--colors-semantic-status-warning-border: var(--colors-orange-300);--colors-semantic-status-warning-content: var(--colors-orange-800);--colors-semantic-status-warning-content-inverse: var(--colors-neutral-0);--colors-translucent: #fff3;--colors-yellow-100: #f2f7a4;--colors-yellow-200: #e6f078;--colors-yellow-300: #daea46;--colors-yellow-400: var(--colors-new-brand-yellow);--colors-yellow-50: var(--colors-new-brand-light-yellow);--colors-yellow-500: #b0c62a;--colors-yellow-600: #96a439;--colors-yellow-700: var(--colors-new-brand-shadow-yellow);--colors-yellow-800: #50551c;--colors-yellow-900: #282b0d;--font-body: "Geist";--font-font-weight-bold: 700;--font-font-weight-medium: 500;--font-font-weight-regular: 400;--font-font-weight-semibold: 600;--font-headline: "Degular";--scale-0: 0px;--scale-1: 1px;--scale-12: 12px;--scale-14: 14px;--scale-16: 16px;--scale-18: 18px;--scale-2: 2px;--scale-20: 20px;--scale-24: 24px;--scale-28: 28px;--scale-32: 32px;--scale-4: 4px;--scale-40: 40px;--scale-48: 48px;--scale-56: 56px;--scale-64: 64px;--scale-72: 72px;--scale-8: 8px;--scale-80: 80px;--scale-88: 88px;--scale-96: 96px;--scale-negative-16: -16px;--shape-border-radius-radius-2xl: var(--scale-16);--shape-border-radius-radius-full: var(--scale-32);--shape-border-radius-radius-lg: var(--scale-8);--shape-border-radius-radius-md: var(--scale-4);--shape-border-radius-radius-none: var(--scale-0);--shape-border-radius-radius-sm: var(--scale-2);--shape-border-radius-radius-xl: var(--scale-12);--shape-border-width-default: 1px;--shape-border-width-thick: 2px;--shape-box-shadow-lg-blur: 12px;--shape-box-shadow-lg-color: var(--colors-box-shadow);--shape-box-shadow-lg-position-x: 0px;--shape-box-shadow-lg-position-y: 12px;--shape-box-shadow-lg-spread: -12px;--shape-box-shadow-md-blur: 8px;--shape-box-shadow-md-color: var(--colors-box-shadow);--shape-box-shadow-md-position-x: 0px;--shape-box-shadow-md-position-y: 8px;--shape-box-shadow-md-spread: -8px;--shape-box-shadow-sm-blur: 4px;--shape-box-shadow-sm-color: var(--colors-box-shadow);--shape-box-shadow-sm-position-x: 0px;--shape-box-shadow-sm-position-y: 4px;--shape-box-shadow-sm-spread: -4px;--shape-box-shadow-xl-blur: 16px;--shape-box-shadow-xl-color: var(--colors-box-shadow);--shape-box-shadow-xl-position-x: 0px;--shape-box-shadow-xl-position-y: 16px;--shape-box-shadow-xl-spread: -16px;--shape-box-shadow-xs-blur: 2px;--shape-box-shadow-xs-color: var(--colors-box-shadow);--shape-box-shadow-xs-position-x: 0px;--shape-box-shadow-xs-position-y: 1px;--shape-box-shadow-xs-spread: 0px;--shape-image-dektop-max-height: 400px;--shape-image-dektop-max-width: 320px;--shape-image-dektop-min-height: 96px;--shape-image-dektop-min-width: 96px;--shape-image-homepage: 200px;--shape-image-mobile-max-height: 320px;--shape-image-mobile-max-width: 240px;--shape-image-mobile-min-height: 96px;--shape-image-mobile-min-width: 96px;--shape-outline-focus: 3px;--shape-outline-selected: 1px;--shape-spacing-2xl: var(--scale-48);--shape-spacing-2xs: var(--scale-4);--shape-spacing-3xl: var(--scale-64);--shape-spacing-3xs: var(--scale-2);--shape-spacing-lg: var(--scale-24);--shape-spacing-md: var(--scale-16);--shape-spacing-none: var(--scale-0);--shape-spacing-sm: var(--scale-12);--shape-spacing-xl: var(--scale-32);--shape-spacing-xs: var(--scale-8);--shape-width-max: 480px;--shape-width-max-lg: 640px;--shape-width-sidebar: 240px;--typography-font-sizes-body-lg: var(--scale-18);--typography-font-sizes-body-md: var(--scale-16);--typography-font-sizes-body-sm: var(--scale-14);--typography-font-sizes-caption: var(--scale-12);--typography-font-sizes-display-lg: var(--scale-48);--typography-font-sizes-display-sm: var(--scale-40);--typography-font-sizes-h1: var(--scale-28);--typography-font-sizes-h2: var(--scale-24);--typography-font-sizes-h3: var(--scale-20);--typography-font-sizes-h4: var(--scale-16);--typography-font-sizes-label-lg: var(--scale-16);--typography-font-sizes-label-sm: var(--scale-14);--utils-tokens-blur-default: var(--scale-8);--utils-tokens-font-family-body: "Geist", "Arial", sans-serif;--utils-tokens-font-family-headline: "Degular", "Arial", sans-serif;--utils-tokens-gradient: linear-gradient(180deg, rgb(255 255 255 / 100%), transparent 50%);--utils-tokens-icon-large: var(--scale-32);--utils-tokens-icon-medium: var(--scale-24);--utils-tokens-icon-small: var(--scale-16);--utils-tokens-icon-tiny: var(--scale-12);--utils-tokens-negative-unit: var(--scale-negative-16);--utils-tokens-opacity-default: 70;--utils-tokens-opacity-minimal: .5;--utils-tokens-transition-delay: 125ms;--utils-tokens-transition-duration: .25s;--utils-tokens-transition-timing-function: ease-out;--utils-tokens-unit: var(--scale-16);--utils-tokens-z-max: 2147483648}[data-theme=dark]{--colors-box-shadow: #000000e0;--colors-orange-100: #fdd7b0;--colors-orange-200: #fbc48a;--colors-orange-300: #faa954;--colors-orange-400: #f99933;--colors-orange-50: #fef2e6;--colors-orange-500: #f77f00;--colors-orange-600: #e17400;--colors-orange-700: #af5a00;--colors-orange-800: #884600;--colors-orange-900: #683500;--colors-red-100: #ebb2b1;--colors-red-200: #e28c8b;--colors-red-300: #d45856;--colors-red-400: #cc3835;--colors-red-50: #f9e6e6;--colors-red-500: #bf0603;--colors-red-600: #ae0503;--colors-red-700: #880402;--colors-red-800: #690302;--colors-red-900: #500301;--colors-semantic-bg-disabled: var(--colors-neutral-800);--colors-semantic-bg-overlay: var(--colors-neutral-600);--colors-semantic-bg-page: var(--colors-neutral-900);--colors-semantic-bg-surface: var(--colors-neutral-700);--colors-semantic-border-active: var(--colors-neutral-50);--colors-semantic-border-default: var(--colors-neutral-500);--colors-semantic-border-destructive: var(--colors-red-300);--colors-semantic-border-disabled: var(--colors-neutral-700);--colors-semantic-border-focus: ;--colors-semantic-border-on-color: var(--colors-neutral-400);--colors-semantic-border-strong: var(--colors-neutral-300);--colors-semantic-border-subtle: var(--colors-neutral-600);--colors-semantic-content-destructive: var(--colors-red-600);--colors-semantic-content-disabled: var(--colors-neutral-500);--colors-semantic-content-highlight: ;--colors-semantic-content-link: ;--colors-semantic-content-link-hover: ;--colors-semantic-content-link-visited: ;--colors-semantic-content-on-color: var(--colors-neutral-0);--colors-semantic-content-primary: var(--colors-neutral-50);--colors-semantic-content-secondary: var(--colors-neutral-200);--colors-semantic-content-tertiary: var(--colors-neutral-300);--colors-semantic-interactive-checked: var(--colors-neutral-500);--colors-semantic-interactive-checked-hover: var(--colors-neutral-500);--colors-semantic-interactive-destructive-bg: var(--colors-red-600);--colors-semantic-interactive-destructive-hover: var(--colors-red-700);--colors-semantic-interactive-disabled: var(--colors-neutral-500);--colors-semantic-interactive-hover: var(--colors-neutral-500);--colors-semantic-interactive-hover-subtle: var(--colors-neutral-600);--colors-semantic-interactive-neutral: var(--colors-neutral-400);--colors-semantic-interactive-on-checked: var(--colors-neutral-500);--colors-semantic-interactive-pressed: ;--colors-semantic-interactive-secondary-bg: var(--colors-neutral-600);--colors-semantic-interactive-secondary-destructive-bg: var(--colors-red-600);--colors-semantic-interactive-secondary-destructive-hover: var(--colors-red-50);--colors-semantic-interactive-secondary-hover: var(--colors-neutral-500);--colors-semantic-interactive-selected: ;--colors-semantic-interactive-unchecked: var(--colors-neutral-500);--colors-semantic-interactive-unchecked-hover: var(--colors-neutral-500);--colors-semantic-main-nav-admin-bg: ;--colors-semantic-main-nav-admin-content: ;--colors-semantic-main-nav-admin-content-active: ;--colors-semantic-main-nav-admin-hover: ;--colors-semantic-main-nav-admin-selected: ;--colors-semantic-main-nav-admin-selected-border: ;--colors-semantic-main-nav-admin-submenu-bg: ;--colors-semantic-main-nav-forvalt-bg: ;--colors-semantic-main-nav-forvalt-content: ;--colors-semantic-main-nav-forvalt-content-active: ;--colors-semantic-main-nav-forvalt-hover: ;--colors-semantic-main-nav-forvalt-selected: ;--colors-semantic-main-nav-forvalt-selected-border: ;--colors-semantic-main-nav-forvalt-submenu-bg: ;--colors-semantic-main-nav-portal-bg: ;--colors-semantic-main-nav-portal-content: ;--colors-semantic-main-nav-portal-content-active: ;--colors-semantic-main-nav-portal-hover: ;--colors-semantic-main-nav-portal-selected: ;--colors-semantic-main-nav-portal-selected-border: ;--colors-semantic-main-nav-portal-submenu-bg: ;--colors-semantic-primary-on-primary: var(--colors-neutral-0);--colors-semantic-primary-on-primary-subtle: ;--colors-semantic-primary-primary: ;--colors-semantic-primary-primary-active: ;--colors-semantic-primary-primary-border: ;--colors-semantic-primary-primary-hover: ;--colors-semantic-primary-primary-subtle: ;--colors-semantic-primary-primary-subtle-border: ;--colors-semantic-roles-content-owner: var(--colors-blue-800);--colors-semantic-roles-content-renter: var(--colors-blue-800);--colors-semantic-status-error-bg: var(--colors-red-200);--colors-semantic-status-error-border: var(--colors-red-300);--colors-semantic-status-info-bg: var(--colors-blue-200);--colors-semantic-status-info-border: var(--colors-blue-400);--colors-semantic-status-success-bg: ;--colors-semantic-status-success-border: ;--colors-semantic-status-success-content: ;--colors-semantic-status-warning-bg: var(--colors-orange-200);--colors-semantic-status-warning-border: var(--colors-orange-400)}@media (width <= 960px){:root{--typography-font-sizes-body-lg: var(--scale-16);--typography-font-sizes-display-lg: var(--scale-40);--typography-font-sizes-display-sm: var(--scale-32);--typography-font-sizes-h1: var(--scale-24);--typography-font-sizes-h2: var(--scale-20);--typography-font-sizes-h3: var(--scale-18)}}*,:before,:after{box-sizing:border-box}:where(body,figure,input){margin:0}:where(img){display:block}:where(input,button,textarea,select){font:inherit}@media (prefers-reduced-motion: no-preference){@view-transition{navigation: auto;}:where(html,body){scroll-behavior:smooth}}:where(dt){font-weight:var(--font-font-weight-semibold);margin-top:var(--utils-tokens-unit)}:where(body){background-color:var(--colors-semantic-bg-page);font-family:var(--utils-tokens-font-family-body);font-size:var(--typography-font-sizes-body-md);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:where(:focus-visible){outline:solid var(--scale-2) var(--colors-semantic-border-focus);outline-offset:var(--shape-outline-offset, calc(var(--scale-2) * -1));border-radius:var(--shape-border-radius-radius-md)}:where(article a){color:var(--colors-semantic-content-link)}:where(b,strong){font-weight:var(--font-font-weight-bold)}:where(menu,ol,p,ul){margin-block:var(--utils-tokens-unit)}:where(menu,ol,ul){list-style:none;padding-inline-start:0}:where(small,sub){font-size:var(--typography-font-sizes-body-sm)}[data-content=screen-reader]{border:0;clip:rect(0,0,0,0);height:var(--scale-1);margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:var(--scale-1)}*[data-content=user-generated]{overflow-x:auto;word-break:break-word}*[data-content=user-generated] p{background-color:transparent!important;max-width:100%;overflow:hidden;text-overflow:ellipsis}*[data-content=user-generated] p img{max-width:100%!important}*[data-content=user-generated] table{border-collapse:collapse;margin-bottom:var(--utils-tokens-unit);overflow:hidden!important;table-layout:fixed;text-overflow:ellipsis;width:auto!important}*[data-content=user-generated] table th,*[data-content=user-generated] table td,*[data-content=user-generated] table tr{max-width:calc(100% - calc(2 * var(--utils-tokens-unit)))!important;overflow:hidden;text-overflow:ellipsis;width:auto!important}*[data-content=user-generated] table th,*[data-content=user-generated] table td{border:var(--scale-1) solid var(--colors-semantic-border-default);padding:var(--scale-8) var(--utils-tokens-unit);text-align:left}*[data-content=user-generated] table th{background-color:var(--colors-semantic-bg-page)}*[data-content=user-generated] table th:first-child{border-top-left-radius:var(--shape-border-radius-radius-md)}*[data-content=user-generated] table th:last-child{border-top-right-radius:var(--shape-border-radius-radius-md)}*[data-content=user-generated] ul{margin-left:var(--scale-4)!important}*[data-content=user-generated] ul li{list-style:disc;margin-bottom:var(--scale-8);margin-left:var(--scale-16)}[data-required]{position:relative}[data-required]:after{content:"*";font-size:var(--typography-font-sizes-label-lg);margin-left:var(--scale-2);position:absolute}[data-span=all]{-moz-column-span:all;column-span:all;grid-column:1 / -1}@supports (-moz-appearance: none){*{scrollbar-color:var(--colors-semantic-interactive-neutral) transparent}}::-webkit-scrollbar{height:var(--scale-8);width:var(--scale-8)}::-webkit-scrollbar-track,::-webkit-scrollbar-corner{background-color:transparent}::-webkit-scrollbar-thumb{background-color:var(--colors-semantic-interactive-neutral);border-radius:var(--shape-border-radius-radius-lg)}
1
+ @keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes fade-out{0%{opacity:1}to{opacity:0}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes stagger-in{0%{opacity:0;translate:0 4px}to{opacity:1;translate:0 0}}@media (prefers-reduced-motion: reduce){*{animation:none!important;opacity:1!important;transition:none!important;translate:none!important}}[data-animation=stagger]{--stagger-duration: var(--utils-tokens-transition-duration);--stagger-parent: var(--utils-tokens-transition-duration);--stagger-step: var(--utils-tokens-transition-duration)}[data-animation=stagger] *{--stagger-index: 0;--stagger-next: calc(var(--stagger-total) + var(--stagger-duration));--stagger-self: calc(var(--stagger-index) * var(--stagger-step));--stagger-total: calc(var(--stagger-parent) + var(--stagger-self));animation:stagger-in var(--stagger-duration) var(--utils-tokens-transition-timing-function) var(--utils-tokens-transition-delay) both;animation-delay:var(--stagger-total);opacity:0;translate:0 var(--scale-4);will-change:opacity,translate}[data-animation=stagger] *>*{--stagger-parent: var(--stagger-next)}[data-animation=stagger]>*:nth-child(1),[data-animation=stagger] *>*:nth-child(1){--stagger-index: 0}[data-animation=stagger]>*:nth-child(2),[data-animation=stagger] *>*:nth-child(2){--stagger-index: 1}[data-animation=stagger]>*:nth-child(3),[data-animation=stagger] *>*:nth-child(3){--stagger-index: 2}[data-animation=stagger]>*:nth-child(4),[data-animation=stagger] *>*:nth-child(4){--stagger-index: 3}[data-animation=stagger]>*:nth-child(5),[data-animation=stagger] *>*:nth-child(5){--stagger-index: 4}[data-animation=stagger]>*:nth-child(6),[data-animation=stagger] *>*:nth-child(6){--stagger-index: 5}[data-animation=stagger]>*:nth-child(7),[data-animation=stagger] *>*:nth-child(7){--stagger-index: 6}[data-animation=stagger]>*:nth-child(8),[data-animation=stagger] *>*:nth-child(8){--stagger-index: 7}[data-animation=stagger]>*:nth-child(9),[data-animation=stagger] *>*:nth-child(9){--stagger-index: 8}[data-animation=stagger]>*:nth-child(10),[data-animation=stagger] *>*:nth-child(10){--stagger-index: 9}[data-animation=stagger][data-stagger-step]{--stagger-step: attr(data-stagger-step time, 25ms)}[data-animation=stagger] [data-stagger-off],[data-animation=stagger] [data-stagger-off] *{--stagger-duration: 0ms;--stagger-parent: 0ms;--stagger-step: 0ms;animation:none!important;opacity:1!important;translate:none!important}@media print{@page{margin:1.5cm}*,*:before,*:after{animation:none!important;box-shadow:none!important;text-shadow:none!important;transition:none!important}html,body{background:#fff!important;color:#000!important;font:12pt/1.4 system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif!important}body{margin:0}nav,aside,button:not([data-print-content]),input,select,textarea,iframe,video,audio,body:before,[data-component=controls],[data-component=toolbar],[data-component=menu],[data-message-actions],[data-content=collapsible-indicator],[data-component=messages]>[data-component=editor],[data-component=messages]>[data-component=tooltip],.no-print,.print-hidden,[aria-hidden=true]{display:none!important}main,article,section,[data-component=applayout],[data-component=panel],[data-component=messages],[data-message-list],[data-component=list],[data-print-flow]{display:block!important;height:auto!important;max-height:none!important;min-height:0!important;min-width:0!important;overflow:visible!important;position:static!important;max-width:none!important;width:100%!important}main,article,section{margin:0!important;padding:0!important}article[data-component=card]{overflow:visible!important}[data-animation],[data-animation] *{opacity:1!important;translate:none!important}[data-message-type]{display:block!important;-moz-column-break-inside:auto;break-inside:auto;margin:0 0 1em!important;padding:0!important;background:transparent!important}[data-message-list]>li{-moz-column-break-inside:auto!important;break-inside:auto!important;page-break-inside:auto!important}[data-message-type]>*,[data-message-type] [data-appearance]{margin-inline:0!important;max-width:none!important;width:auto!important}[data-message-type] [data-appearance]{display:block!important;-webkit-line-clamp:unset!important;overflow:visible!important;padding:0!important;border:0!important;background:transparent!important;color:inherit!important;text-overflow:clip!important}[data-content=user-generated],html [data-content=user-generated] :is(p,table,th,td,tr),[data-component=file],[data-component=file] :is(a,button,span),[data-component=avatar] :is(strong,span){max-height:none!important;overflow:visible!important;text-overflow:clip!important;white-space:normal!important;overflow-wrap:anywhere}[data-component=file] button{color:#000!important}header,[data-component=message],[data-component=file]{color:#000!important}header :is(p,span,strong,b,em,time,h1,h2,h3,h4,h5,h6),[data-component=message] :is(p,span,strong,b,em,time,h1,h2,h3,h4,h5,h6),[data-component=file] :is(p,span,strong,b,em,time,h1,h2,h3,h4,h5,h6){color:inherit!important}[data-component=avatar] span,[data-component=file],[data-component=panel],[data-component=card],[data-component=messages]>ul{background-color:transparent!important}header{-moz-column-break-after:avoid;break-after:avoid}[data-component=card] :is(h1,h2,h3,h4,h5,h6){overflow:visible!important;white-space:normal!important}h1,h2,h3{-moz-column-break-after:avoid;break-after:avoid;page-break-after:avoid}p,h1,h2,h3,h4,h5,h6{orphans:3;widows:3}a{color:#000!important;text-decoration:underline}[data-component=file]>a[href]{flex-wrap:wrap}[data-component=file]>a[href]:after{flex-basis:100%}[data-content=user-generated] a[href^=http]:after,a[data-print-url][href^=http]:after,[data-component=file]>a[href]:not([href^="#"]):after{content:" (" attr(href) ")";font-size:90%;overflow-wrap:anywhere}table{border-collapse:collapse;page-break-inside:auto;width:100%}html [data-content=user-generated] table{table-layout:auto!important;width:100%!important}tr,img{-moz-column-break-inside:avoid;break-inside:avoid;page-break-inside:avoid}[data-iframe-print-content] tr{-moz-column-break-inside:auto!important;break-inside:auto!important;page-break-inside:auto!important}th,td{border:1px solid #000;padding:.25rem .4rem;vertical-align:top}thead{display:table-header-group}img,svg{height:auto!important;max-width:100%!important}pre,code{white-space:pre-wrap;word-break:break-word}pre,blockquote{-moz-column-break-inside:auto;break-inside:auto}.no-print,.print-hidden,[aria-hidden=true],[hidden]{display:none!important}}:root{--breakpoint-lg: 1024;--breakpoint-md: 768;--breakpoint-sm: 480;--breakpoint-xl: 1280;--colors-blue-100: #c9dcff;--colors-blue-200: var(--colors-new-brand-blue);--colors-blue-300: #6695ff;--colors-blue-400: #296afa;--colors-blue-50: var(--colors-new-brand-light-blue);--colors-blue-500: #0b4ad5;--colors-blue-600: #0c3797;--colors-blue-700: #0c2764;--colors-blue-800: #0b1938;--colors-blue-900: #090e1b;--colors-box-shadow: #0000001f;--colors-box-shadow-heavy: #0006;--colors-categories-bg-grey-1: #e3e4e6;--colors-categories-bg-grey-2: #d4dce5;--colors-categories-bg-pink-1: #e7e3ea;--colors-categories-bg-pink-2: #e3d2f0;--colors-categories-bg-pink-3: #d8bfe5;--colors-categories-bg-pink-4: #e0c3d8;--colors-categories-bg-pink-5: #e8c6d2;--colors-categories-bg-yellow-1: #d9cbaf;--colors-categories-bg-yellow-2: #d9c7c0;--colors-categories-bg-yellow-3: #cdb8ac;--colors-categories-content-on-grey: #3f444a;--colors-categories-content-on-pink: #783b65;--colors-categories-content-on-yellow: #65483f;--colors-green-100: #d9e0d7;--colors-green-200: #b8c7b3;--colors-green-300: #90aa88;--colors-green-400: #698c5f;--colors-green-50: #eff1ee;--colors-green-500: #4a6344;--colors-green-600: var(--colors-new-brand-shadow-green);--colors-green-700: var(--colors-new-brand-dark-green);--colors-green-800: #151b13;--colors-green-900: #0c0f0b;--colors-neutral-0: #fff;--colors-neutral-100: #ebebeb;--colors-neutral-200: #dfdfdf;--colors-neutral-300: #b3b3b3;--colors-neutral-400: #7b7b7b;--colors-neutral-50: #f5f5f5;--colors-neutral-500: #525252;--colors-neutral-600: #373737;--colors-neutral-700: #2a2a2a;--colors-neutral-800: #1c1c1c;--colors-neutral-900: #0b0b0b;--colors-new-brand-blue: #abc5ff;--colors-new-brand-dark-green: #202b1b;--colors-new-brand-light-blue: #e8f1ff;--colors-new-brand-light-yellow: #f8fac0;--colors-new-brand-nature-white: #f7f7e1;--colors-new-brand-shadow-green: #263821;--colors-new-brand-shadow-yellow: #7d8233;--colors-new-brand-yellow: #cde517;--colors-orange-100: #fbe7d3;--colors-orange-200: #f1cda7;--colors-orange-300: #e6b37a;--colors-orange-400: #dc9c50;--colors-orange-50: #fff5ea;--colors-orange-500: #cf8a33;--colors-orange-600: #a96f23;--colors-orange-700: #885716;--colors-orange-800: #633e0d;--colors-orange-900: #442a08;--colors-red-100: #f8e2de;--colors-red-200: #e9bbb3;--colors-red-300: #d1897e;--colors-red-400: #aa5449;--colors-red-50: #fff4f2;--colors-red-500: #862b22;--colors-red-600: #702018;--colors-red-700: #5a1610;--colors-red-800: #43100b;--colors-red-900: #2d0906;--colors-semantic-bg-backdrop: #000000d9;--colors-semantic-bg-disabled: var(--colors-neutral-50);--colors-semantic-bg-overlay: var(--colors-neutral-100);--colors-semantic-bg-page: var(--colors-neutral-50);--colors-semantic-bg-surface: var(--colors-neutral-0);--colors-semantic-border-active: var(--colors-neutral-800);--colors-semantic-border-default: var(--colors-neutral-300);--colors-semantic-border-destructive: var(--colors-red-600);--colors-semantic-border-disabled: var(--colors-neutral-100);--colors-semantic-border-focus: var(--colors-new-brand-shadow-yellow);--colors-semantic-border-on-color: var(--colors-neutral-0);--colors-semantic-border-strong: var(--colors-neutral-400);--colors-semantic-border-subtle: var(--colors-neutral-100);--colors-semantic-content-destructive: var(--colors-red-700);--colors-semantic-content-disabled: var(--colors-neutral-400);--colors-semantic-content-highlight: var(--colors-green-200);--colors-semantic-content-link: var(--colors-blue-500);--colors-semantic-content-link-hover: var(--colors-blue-700);--colors-semantic-content-link-visited: var(--colors-blue-600);--colors-semantic-content-on-color: var(--colors-new-brand-light-yellow);--colors-semantic-content-primary: var(--colors-green-700);--colors-semantic-content-secondary: var(--colors-neutral-600);--colors-semantic-content-tertiary: var(--colors-neutral-500);--colors-semantic-interactive-checked: var(--colors-yellow-700);--colors-semantic-interactive-checked-hover: var(--colors-yellow-600);--colors-semantic-interactive-destructive-bg: var(--colors-red-500);--colors-semantic-interactive-destructive-disabled: var(--colors-red-200);--colors-semantic-interactive-destructive-hover: var(--colors-red-600);--colors-semantic-interactive-disabled: var(--colors-neutral-200);--colors-semantic-interactive-hover: var(--colors-green-50);--colors-semantic-interactive-hover-overlay: #0000001f;--colors-semantic-interactive-hover-subtle: var(--colors-neutral-100);--colors-semantic-interactive-neutral: var(--colors-neutral-300);--colors-semantic-interactive-on-checked: var(--colors-new-brand-nature-white);--colors-semantic-interactive-pressed: var(--colors-green-100);--colors-semantic-interactive-secondary-bg: var(--colors-new-brand-nature-white);--colors-semantic-interactive-secondary-destructive-bg: var(--colors-red-50);--colors-semantic-interactive-secondary-destructive-hover: var(--colors-red-100);--colors-semantic-interactive-secondary-hover: var(--colors-new-brand-light-yellow);--colors-semantic-interactive-selected: var(--colors-green-100);--colors-semantic-interactive-unchecked: var(--colors-neutral-300);--colors-semantic-interactive-unchecked-hover: var(--colors-neutral-400);--colors-semantic-main-nav-admin-bg: var(--colors-red-800);--colors-semantic-main-nav-admin-content: var(--colors-red-100);--colors-semantic-main-nav-admin-content-active: var(--colors-neutral-0);--colors-semantic-main-nav-admin-hover: var(--colors-red-600);--colors-semantic-main-nav-admin-selected: var(--colors-red-600);--colors-semantic-main-nav-admin-selected-border: var(--colors-yellow-500);--colors-semantic-main-nav-admin-submenu-bg: var(--colors-red-900);--colors-semantic-main-nav-forvalt-bg: var(--colors-blue-800);--colors-semantic-main-nav-forvalt-content: var(--colors-blue-100);--colors-semantic-main-nav-forvalt-content-active: var(--colors-neutral-0);--colors-semantic-main-nav-forvalt-hover: var(--colors-blue-700);--colors-semantic-main-nav-forvalt-selected: var(--colors-blue-700);--colors-semantic-main-nav-forvalt-selected-border: var(--colors-yellow-500);--colors-semantic-main-nav-forvalt-submenu-bg: var(--colors-blue-900);--colors-semantic-main-nav-portal-bg: var(--colors-green-700);--colors-semantic-main-nav-portal-content: var(--colors-new-brand-light-yellow);--colors-semantic-main-nav-portal-content-active: var(--colors-neutral-0);--colors-semantic-main-nav-portal-hover: var(--colors-yellow-800);--colors-semantic-main-nav-portal-selected: var(--colors-yellow-800);--colors-semantic-main-nav-portal-selected-border: var(--colors-yellow-500);--colors-semantic-main-nav-portal-submenu-bg: var(--colors-green-900);--colors-semantic-primary-on-primary: var(--colors-new-brand-light-yellow);--colors-semantic-primary-on-primary-subtle: var(--colors-green-600);--colors-semantic-primary-primary: var(--colors-green-600);--colors-semantic-primary-primary-active: var(--colors-green-500);--colors-semantic-primary-primary-border: var(--colors-green-600);--colors-semantic-primary-primary-hover: var(--colors-green-700);--colors-semantic-primary-primary-subtle: var(--colors-green-100);--colors-semantic-primary-primary-subtle-border: var(--colors-green-300);--colors-semantic-roles-bg-board: var(--colors-new-brand-light-yellow);--colors-semantic-roles-bg-external: var(--colors-green-100);--colors-semantic-roles-bg-owner: var(--colors-blue-200);--colors-semantic-roles-bg-renter: var(--colors-blue-50);--colors-semantic-roles-bg-solibo: var(--colors-green-700);--colors-semantic-roles-content-board: var(--colors-green-700);--colors-semantic-roles-content-external: var(--colors-green-800);--colors-semantic-roles-content-owner: var(--colors-new-brand-dark-green);--colors-semantic-roles-content-renter: var(--colors-new-brand-dark-green);--colors-semantic-roles-content-solibo: var(--colors-new-brand-light-yellow);--colors-semantic-status-active-bg: var(--colors-new-brand-yellow);--colors-semantic-status-active-content: var(--colors-new-brand-dark-green);--colors-semantic-status-error-bg: var(--colors-red-50);--colors-semantic-status-error-border: var(--colors-red-400);--colors-semantic-status-error-content: var(--colors-red-800);--colors-semantic-status-error-content-inverse: var(--colors-neutral-0);--colors-semantic-status-info-bg: var(--colors-blue-50);--colors-semantic-status-info-border: var(--colors-blue-300);--colors-semantic-status-info-content: var(--colors-blue-800);--colors-semantic-status-info-content-inverse: var(--colors-neutral-0);--colors-semantic-status-pending-bg: var(--colors-neutral-200);--colors-semantic-status-pending-content: var(--colors-neutral-600);--colors-semantic-status-success-bg: var(--colors-green-100);--colors-semantic-status-success-border: var(--colors-green-300);--colors-semantic-status-success-content: var(--colors-green-800);--colors-semantic-status-success-content-inverse: var(--colors-neutral-0);--colors-semantic-status-warning-bg: var(--colors-orange-50);--colors-semantic-status-warning-border: var(--colors-orange-300);--colors-semantic-status-warning-content: var(--colors-orange-800);--colors-semantic-status-warning-content-inverse: var(--colors-neutral-0);--colors-translucent: #fff3;--colors-yellow-100: #f2f7a4;--colors-yellow-200: #e6f078;--colors-yellow-300: #daea46;--colors-yellow-400: var(--colors-new-brand-yellow);--colors-yellow-50: var(--colors-new-brand-light-yellow);--colors-yellow-500: #b0c62a;--colors-yellow-600: #96a439;--colors-yellow-700: var(--colors-new-brand-shadow-yellow);--colors-yellow-800: #50551c;--colors-yellow-900: #282b0d;--font-body: "Geist";--font-font-weight-bold: 700;--font-font-weight-medium: 500;--font-font-weight-regular: 400;--font-font-weight-semibold: 600;--font-headline: "Degular";--scale-0: 0px;--scale-1: 1px;--scale-12: 12px;--scale-14: 14px;--scale-16: 16px;--scale-18: 18px;--scale-2: 2px;--scale-20: 20px;--scale-24: 24px;--scale-28: 28px;--scale-32: 32px;--scale-4: 4px;--scale-40: 40px;--scale-48: 48px;--scale-56: 56px;--scale-64: 64px;--scale-72: 72px;--scale-8: 8px;--scale-80: 80px;--scale-88: 88px;--scale-96: 96px;--scale-negative-16: -16px;--shape-border-radius-radius-2xl: var(--scale-16);--shape-border-radius-radius-full: var(--scale-32);--shape-border-radius-radius-lg: var(--scale-8);--shape-border-radius-radius-md: var(--scale-4);--shape-border-radius-radius-none: var(--scale-0);--shape-border-radius-radius-sm: var(--scale-2);--shape-border-radius-radius-xl: var(--scale-12);--shape-border-width-default: 1px;--shape-border-width-thick: 2px;--shape-box-shadow-lg-blur: 12px;--shape-box-shadow-lg-color: var(--colors-box-shadow);--shape-box-shadow-lg-position-x: 0px;--shape-box-shadow-lg-position-y: 12px;--shape-box-shadow-lg-spread: -12px;--shape-box-shadow-md-blur: 8px;--shape-box-shadow-md-color: var(--colors-box-shadow);--shape-box-shadow-md-position-x: 0px;--shape-box-shadow-md-position-y: 8px;--shape-box-shadow-md-spread: -8px;--shape-box-shadow-sm-blur: 4px;--shape-box-shadow-sm-color: var(--colors-box-shadow);--shape-box-shadow-sm-position-x: 0px;--shape-box-shadow-sm-position-y: 4px;--shape-box-shadow-sm-spread: -4px;--shape-box-shadow-xl-blur: 16px;--shape-box-shadow-xl-color: var(--colors-box-shadow);--shape-box-shadow-xl-position-x: 0px;--shape-box-shadow-xl-position-y: 16px;--shape-box-shadow-xl-spread: -16px;--shape-box-shadow-xs-blur: 2px;--shape-box-shadow-xs-color: var(--colors-box-shadow);--shape-box-shadow-xs-position-x: 0px;--shape-box-shadow-xs-position-y: 1px;--shape-box-shadow-xs-spread: 0px;--shape-image-dektop-max-height: 400px;--shape-image-dektop-max-width: 320px;--shape-image-dektop-min-height: 96px;--shape-image-dektop-min-width: 96px;--shape-image-homepage: 200px;--shape-image-mobile-max-height: 320px;--shape-image-mobile-max-width: 240px;--shape-image-mobile-min-height: 96px;--shape-image-mobile-min-width: 96px;--shape-outline-focus: 3px;--shape-outline-selected: 1px;--shape-spacing-2xl: var(--scale-48);--shape-spacing-2xs: var(--scale-4);--shape-spacing-3xl: var(--scale-64);--shape-spacing-3xs: var(--scale-2);--shape-spacing-lg: var(--scale-24);--shape-spacing-md: var(--scale-16);--shape-spacing-none: var(--scale-0);--shape-spacing-sm: var(--scale-12);--shape-spacing-xl: var(--scale-32);--shape-spacing-xs: var(--scale-8);--shape-width-max: 480px;--shape-width-max-lg: 640px;--shape-width-sidebar: 240px;--typography-font-sizes-body-lg: var(--scale-18);--typography-font-sizes-body-md: var(--scale-16);--typography-font-sizes-body-sm: var(--scale-14);--typography-font-sizes-caption: var(--scale-12);--typography-font-sizes-display-lg: var(--scale-48);--typography-font-sizes-display-sm: var(--scale-40);--typography-font-sizes-h1: var(--scale-28);--typography-font-sizes-h2: var(--scale-24);--typography-font-sizes-h3: var(--scale-20);--typography-font-sizes-h4: var(--scale-16);--typography-font-sizes-label-lg: var(--scale-16);--typography-font-sizes-label-sm: var(--scale-14);--utils-tokens-blur-default: var(--scale-8);--utils-tokens-font-family-body: "Geist", "Arial", sans-serif;--utils-tokens-font-family-headline: "Degular", "Arial", sans-serif;--utils-tokens-gradient: linear-gradient(180deg, rgb(255 255 255 / 100%), transparent 50%);--utils-tokens-icon-large: var(--scale-32);--utils-tokens-icon-medium: var(--scale-24);--utils-tokens-icon-small: var(--scale-16);--utils-tokens-icon-tiny: var(--scale-12);--utils-tokens-negative-unit: var(--scale-negative-16);--utils-tokens-opacity-default: 70;--utils-tokens-opacity-minimal: .5;--utils-tokens-transition-delay: 125ms;--utils-tokens-transition-duration: .25s;--utils-tokens-transition-timing-function: ease-out;--utils-tokens-unit: var(--scale-16);--utils-tokens-z-max: 2147483648}[data-theme=dark]{--colors-box-shadow: #000000e0;--colors-orange-100: #fdd7b0;--colors-orange-200: #fbc48a;--colors-orange-300: #faa954;--colors-orange-400: #f99933;--colors-orange-50: #fef2e6;--colors-orange-500: #f77f00;--colors-orange-600: #e17400;--colors-orange-700: #af5a00;--colors-orange-800: #884600;--colors-orange-900: #683500;--colors-red-100: #ebb2b1;--colors-red-200: #e28c8b;--colors-red-300: #d45856;--colors-red-400: #cc3835;--colors-red-50: #f9e6e6;--colors-red-500: #bf0603;--colors-red-600: #ae0503;--colors-red-700: #880402;--colors-red-800: #690302;--colors-red-900: #500301;--colors-semantic-bg-disabled: var(--colors-neutral-800);--colors-semantic-bg-overlay: var(--colors-neutral-600);--colors-semantic-bg-page: var(--colors-neutral-900);--colors-semantic-bg-surface: var(--colors-neutral-700);--colors-semantic-border-active: var(--colors-neutral-50);--colors-semantic-border-default: var(--colors-neutral-500);--colors-semantic-border-destructive: var(--colors-red-300);--colors-semantic-border-disabled: var(--colors-neutral-700);--colors-semantic-border-focus: ;--colors-semantic-border-on-color: var(--colors-neutral-400);--colors-semantic-border-strong: var(--colors-neutral-300);--colors-semantic-border-subtle: var(--colors-neutral-600);--colors-semantic-content-destructive: var(--colors-red-600);--colors-semantic-content-disabled: var(--colors-neutral-500);--colors-semantic-content-highlight: ;--colors-semantic-content-link: ;--colors-semantic-content-link-hover: ;--colors-semantic-content-link-visited: ;--colors-semantic-content-on-color: var(--colors-neutral-0);--colors-semantic-content-primary: var(--colors-neutral-50);--colors-semantic-content-secondary: var(--colors-neutral-200);--colors-semantic-content-tertiary: var(--colors-neutral-300);--colors-semantic-interactive-checked: var(--colors-neutral-500);--colors-semantic-interactive-checked-hover: var(--colors-neutral-500);--colors-semantic-interactive-destructive-bg: var(--colors-red-600);--colors-semantic-interactive-destructive-hover: var(--colors-red-700);--colors-semantic-interactive-disabled: var(--colors-neutral-500);--colors-semantic-interactive-hover: var(--colors-neutral-500);--colors-semantic-interactive-hover-subtle: var(--colors-neutral-600);--colors-semantic-interactive-neutral: var(--colors-neutral-400);--colors-semantic-interactive-on-checked: var(--colors-neutral-500);--colors-semantic-interactive-pressed: ;--colors-semantic-interactive-secondary-bg: var(--colors-neutral-600);--colors-semantic-interactive-secondary-destructive-bg: var(--colors-red-600);--colors-semantic-interactive-secondary-destructive-hover: var(--colors-red-50);--colors-semantic-interactive-secondary-hover: var(--colors-neutral-500);--colors-semantic-interactive-selected: ;--colors-semantic-interactive-unchecked: var(--colors-neutral-500);--colors-semantic-interactive-unchecked-hover: var(--colors-neutral-500);--colors-semantic-main-nav-admin-bg: ;--colors-semantic-main-nav-admin-content: ;--colors-semantic-main-nav-admin-content-active: ;--colors-semantic-main-nav-admin-hover: ;--colors-semantic-main-nav-admin-selected: ;--colors-semantic-main-nav-admin-selected-border: ;--colors-semantic-main-nav-admin-submenu-bg: ;--colors-semantic-main-nav-forvalt-bg: ;--colors-semantic-main-nav-forvalt-content: ;--colors-semantic-main-nav-forvalt-content-active: ;--colors-semantic-main-nav-forvalt-hover: ;--colors-semantic-main-nav-forvalt-selected: ;--colors-semantic-main-nav-forvalt-selected-border: ;--colors-semantic-main-nav-forvalt-submenu-bg: ;--colors-semantic-main-nav-portal-bg: ;--colors-semantic-main-nav-portal-content: ;--colors-semantic-main-nav-portal-content-active: ;--colors-semantic-main-nav-portal-hover: ;--colors-semantic-main-nav-portal-selected: ;--colors-semantic-main-nav-portal-selected-border: ;--colors-semantic-main-nav-portal-submenu-bg: ;--colors-semantic-primary-on-primary: var(--colors-neutral-0);--colors-semantic-primary-on-primary-subtle: ;--colors-semantic-primary-primary: ;--colors-semantic-primary-primary-active: ;--colors-semantic-primary-primary-border: ;--colors-semantic-primary-primary-hover: ;--colors-semantic-primary-primary-subtle: ;--colors-semantic-primary-primary-subtle-border: ;--colors-semantic-roles-content-owner: var(--colors-blue-800);--colors-semantic-roles-content-renter: var(--colors-blue-800);--colors-semantic-status-error-bg: var(--colors-red-200);--colors-semantic-status-error-border: var(--colors-red-300);--colors-semantic-status-info-bg: var(--colors-blue-200);--colors-semantic-status-info-border: var(--colors-blue-400);--colors-semantic-status-success-bg: ;--colors-semantic-status-success-border: ;--colors-semantic-status-success-content: ;--colors-semantic-status-warning-bg: var(--colors-orange-200);--colors-semantic-status-warning-border: var(--colors-orange-400)}@media (width <= 960px){:root{--typography-font-sizes-body-lg: var(--scale-16);--typography-font-sizes-display-lg: var(--scale-40);--typography-font-sizes-display-sm: var(--scale-32);--typography-font-sizes-h1: var(--scale-24);--typography-font-sizes-h2: var(--scale-20);--typography-font-sizes-h3: var(--scale-18)}}*,:before,:after{box-sizing:border-box}:where(body,figure,input){margin:0}:where(img){display:block}:where(input,button,textarea,select){font:inherit}@media (prefers-reduced-motion: no-preference){@view-transition{navigation: auto;}:where(html,body){scroll-behavior:smooth}}:where(dt){font-weight:var(--font-font-weight-semibold);margin-top:var(--utils-tokens-unit)}:where(body){background-color:var(--colors-semantic-bg-page);font-family:var(--utils-tokens-font-family-body);font-size:var(--typography-font-sizes-body-md);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:where(:focus-visible){outline:solid var(--scale-2) var(--colors-semantic-border-focus);outline-offset:var(--shape-outline-offset, calc(var(--scale-2) * -1));border-radius:var(--shape-border-radius-radius-md)}:where(article a){color:var(--colors-semantic-content-link)}:where(b,strong){font-weight:var(--font-font-weight-bold)}:where(menu,ol,p,ul){margin-block:var(--utils-tokens-unit)}:where(menu,ol,ul){list-style:none;padding-inline-start:0}:where(small,sub){font-size:var(--typography-font-sizes-body-sm)}[data-content=screen-reader]{border:0;clip:rect(0,0,0,0);height:var(--scale-1);margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:var(--scale-1)}*[data-content=user-generated]{overflow-x:auto;word-break:break-word}*[data-content=user-generated] p{background-color:transparent!important;max-width:100%;overflow:hidden;text-overflow:ellipsis}*[data-content=user-generated] p img{max-width:100%!important}*[data-content=user-generated] table{border-collapse:collapse;margin-bottom:var(--utils-tokens-unit);overflow:hidden!important;table-layout:fixed;text-overflow:ellipsis;width:auto!important}*[data-content=user-generated] table th,*[data-content=user-generated] table td,*[data-content=user-generated] table tr{max-width:calc(100% - calc(2 * var(--utils-tokens-unit)))!important;overflow:hidden;text-overflow:ellipsis;width:auto!important}*[data-content=user-generated] table th,*[data-content=user-generated] table td{border:var(--scale-1) solid var(--colors-semantic-border-default);padding:var(--scale-8) var(--utils-tokens-unit);text-align:left}*[data-content=user-generated] table th{background-color:var(--colors-semantic-bg-page)}*[data-content=user-generated] table th:first-child{border-top-left-radius:var(--shape-border-radius-radius-md)}*[data-content=user-generated] table th:last-child{border-top-right-radius:var(--shape-border-radius-radius-md)}*[data-content=user-generated] ul{margin-left:var(--scale-4)!important}*[data-content=user-generated] ul li{list-style:disc;margin-bottom:var(--scale-8);margin-left:var(--scale-16)}[data-required]{position:relative}[data-required]:after{content:"*";font-size:var(--typography-font-sizes-label-lg);margin-left:var(--scale-2);position:absolute}[data-span=all]{-moz-column-span:all;column-span:all;grid-column:1 / -1}@supports (-moz-appearance: none){*{scrollbar-color:var(--colors-semantic-interactive-neutral) transparent}}::-webkit-scrollbar{height:var(--scale-8);width:var(--scale-8)}::-webkit-scrollbar-track,::-webkit-scrollbar-corner{background-color:transparent}::-webkit-scrollbar-thumb{background-color:var(--colors-semantic-interactive-neutral);border-radius:var(--shape-border-radius-radius-lg)}
@@ -1 +1 @@
1
- ._attachments_1jli5_1{align-items:flex-start;display:flex;flex-direction:column;gap:var(--scale-8);margin-bottom:var(--scale-4);margin-top:var(--scale-4);max-width:min(90%,var(--shape-width-max-lg))}._message-group_1jli5_11{align-items:flex-start;display:flex;flex-direction:column}._message-group_1jli5_11[data-message-type=default]>._attachments_1jli5_1{margin-left:var(--scale-16)}._message-group_1jli5_11>:first-child{margin-left:var(--scale-16)}._message-group_1jli5_11>time,._message-group_1jli5_11>._footer_1jli5_27{color:var(--colors-semantic-content-tertiary);margin-left:var(--scale-20);margin-right:var(--scale-16)}._message-group_1jli5_11>._footer_1jli5_27{align-items:center;display:flex;flex-wrap:wrap;gap:var(--scale-4) var(--scale-8)}._message-group_1jli5_11[data-message-type=system],._message-group_1jli5_11:has([data-component=collapsible]){padding:0 var(--shape-spacing-md);margin-left:20%;margin-right:5%}._message-group_1jli5_11[data-message-type=system]>div:first-child,._message-group_1jli5_11:has([data-component=collapsible])>div:first-child{margin-left:0}._message-group_1jli5_11:has([data-component=collapsible]) [data-message-type=system]{margin-left:0;max-width:100%;padding-inline:0}._message-group_1jli5_11[data-message-type=user]{align-items:flex-end}._message-group_1jli5_11[data-message-type=user]>._attachments_1jli5_1{align-items:flex-end;margin-right:var(--scale-16)}._message_1jli5_11{border:solid var(--shape-border-width-default) var(--colors-semantic-border-default);margin:var(--scale-4) 0;padding:var(--utils-tokens-unit);white-space:pre-wrap;word-break:break-word}._message_1jli5_11:is([data-type=default],[data-type=user],[data-appearance=file]){max-width:min(90%,var(--shape-width-max-lg));width:-moz-fit-content;width:fit-content}._message_1jli5_11[data-type=default]{background-color:var(--colors-semantic-bg-page);border-left:none;border-radius:0 var(--utils-tokens-unit) var(--utils-tokens-unit) 0;margin-inline:var(--message-edge-gap, 0) auto}._message_1jli5_11:is([data-type=minimal],[data-type=system]){border:none}._message_1jli5_11[data-type=minimal]{margin:var(--scale-8) 0 0 0;padding:0}._message_1jli5_11[data-appearance=file] ul{margin:0}._message_1jli5_11[data-type=user]{background-color:var(--colors-semantic-primary-primary-subtle);border-radius:var(--utils-tokens-unit) 0 0 var(--utils-tokens-unit);border-right:none;margin-inline:auto var(--message-edge-gap, 0)}._message_1jli5_11[data-type=user][data-appearance=file] ul{text-align:right}._message_1jli5_11[data-type=system]{border-bottom:solid var(--shape-border-width-default) var(--colors-semantic-border-strong);color:var(--colors-semantic-content-secondary);font-size:var(--typography-font-sizes-label-sm);padding:0;padding-bottom:var(--shape-spacing-xs);text-align:left}._message_1jli5_11[data-appearance=file]{--message-edge-gap: var(--scale-16);background-color:transparent;border:0;padding:0}._message_1jli5_11[data-appearance=document]{max-width:min(90%,var(--shape-width-max-lg));overflow:hidden;padding:0;width:100%}._message_1jli5_11 p:first-child{margin-top:0}._message_1jli5_11 p:last-child{margin-bottom:0}._message_1jli5_11 [data-component=collapsible] p{font-size:var(--typography-font-sizes-label-sm)}._timestamp_1jli5_147{color:var(--colors-semantic-content-secondary);font-size:var(--typography-font-sizes-caption)}._actions_1jli5_152{align-items:center;display:flex;gap:var(--scale-4)}._actions_1jli5_152 [data-component=button]{font-size:var(--typography-font-sizes-caption);min-height:0;padding-block:0}._preview_1jli5_164{-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}@media print{._preview_1jli5_164{display:block;-webkit-line-clamp:unset;overflow:visible}}@media (width < 1024px){._message-group_1jli5_11[data-message-type=system],._message-group_1jli5_11:has([data-component=collapsible]){margin-left:10%;margin-right:5%}}@media (width < 480px){._message-group_1jli5_11[data-message-type=system],._message-group_1jli5_11:has([data-component=collapsible]){margin-inline:0}}._toolbar_1jli5_199{display:flex;justify-content:flex-end}@media (hover: hover) and (pointer: fine){._message_1jli5_11._with-toolbar_1jli5_205{max-width:min(calc(100% - var(--scale-96)),var(--shape-width-max-lg));overflow:visible;position:relative}._toolbar_1jli5_199{opacity:0;padding-right:var(--shape-spacing-xs);pointer-events:none;position:absolute;right:100%;top:50%;transform:translateY(-50%);transition:opacity var(--utils-tokens-transition-duration) var(--utils-tokens-transition-timing-function) var(--utils-tokens-transition-duration),pointer-events 0s linear calc(var(--utils-tokens-transition-duration) + var(--utils-tokens-transition-duration)) allow-discrete}._with-toolbar_1jli5_205:is(:hover,:focus-within) ._toolbar_1jli5_199{opacity:1;pointer-events:auto;transition-delay:var(--utils-tokens-transition-delay)}}
1
+ ._attachments_1t3tb_1{align-items:flex-start;display:flex;flex-direction:column;gap:var(--scale-8);margin-bottom:var(--scale-4);margin-top:var(--scale-4);max-width:min(90%,var(--shape-width-max-lg))}._message-group_1t3tb_11{align-items:flex-start;display:flex;flex-direction:column}._message-group_1t3tb_11[data-message-type=default]>._attachments_1t3tb_1{margin-left:var(--scale-16)}._message-group_1t3tb_11>:first-child{margin-left:var(--scale-16)}._message-group_1t3tb_11>time,._message-group_1t3tb_11>._footer_1t3tb_27{color:var(--colors-semantic-content-tertiary);margin-left:var(--scale-20);margin-right:var(--scale-16)}._message-group_1t3tb_11>._footer_1t3tb_27{align-items:center;display:flex;flex-wrap:wrap;gap:var(--scale-4) var(--scale-8)}._message-group_1t3tb_11[data-message-type=system],._message-group_1t3tb_11:has([data-component=collapsible]){padding:0 var(--shape-spacing-md);margin-left:20%;margin-right:5%}._message-group_1t3tb_11[data-message-type=system]>div:first-child,._message-group_1t3tb_11:has([data-component=collapsible])>div:first-child{margin-left:0}._message-group_1t3tb_11:has([data-component=collapsible]) [data-message-type=system]{margin-left:0;max-width:100%;padding-inline:0}._message-group_1t3tb_11[data-message-type=user]{align-items:flex-end}._message-group_1t3tb_11[data-message-type=user]>._attachments_1t3tb_1{align-items:flex-end;margin-right:var(--scale-16)}._message_1t3tb_11{border:solid var(--shape-border-width-default) var(--colors-semantic-border-default);margin:var(--scale-4) 0;padding:var(--utils-tokens-unit);white-space:pre-wrap;word-break:break-word}._message_1t3tb_11:is([data-type=default],[data-type=user],[data-appearance=file]){max-width:min(90%,var(--shape-width-max-lg));width:-moz-fit-content;width:fit-content}._message_1t3tb_11[data-type=default]{background-color:var(--colors-semantic-bg-page);border-left:none;border-radius:0 var(--utils-tokens-unit) var(--utils-tokens-unit) 0;margin-inline:var(--message-edge-gap, 0) auto}._message_1t3tb_11:is([data-type=minimal],[data-type=system]){border:none}._message_1t3tb_11[data-type=minimal]{margin:var(--scale-8) 0 0 0;padding:0}._message_1t3tb_11[data-appearance=file] ul{margin:0}._message_1t3tb_11[data-type=user]{background-color:var(--colors-semantic-primary-primary-subtle);border-radius:var(--utils-tokens-unit) 0 0 var(--utils-tokens-unit);border-right:none;margin-inline:auto var(--message-edge-gap, 0)}._message_1t3tb_11[data-type=user][data-appearance=file] ul{text-align:right}._message_1t3tb_11[data-type=system]{border-bottom:solid var(--shape-border-width-default) var(--colors-semantic-border-strong);color:var(--colors-semantic-content-secondary);font-size:var(--typography-font-sizes-label-sm);padding:0;padding-bottom:var(--shape-spacing-xs);text-align:left}._message_1t3tb_11[data-appearance=file]{--message-edge-gap: var(--scale-16);background-color:transparent;border:0;padding:0}._message_1t3tb_11[data-appearance=document]{max-width:min(90%,var(--shape-width-max-lg));overflow:hidden;padding:0;width:100%}._message_1t3tb_11 p:first-child{margin-top:0}._message_1t3tb_11 p:last-child{margin-bottom:0}._message_1t3tb_11 [data-component=collapsible] p{font-size:var(--typography-font-sizes-label-sm)}._timestamp_1t3tb_147{color:var(--colors-semantic-content-secondary);font-size:var(--typography-font-sizes-caption)}._preview_1t3tb_152{-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}@media print{._preview_1t3tb_152{display:block;-webkit-line-clamp:unset;overflow:visible}}@media (width < 1024px){._message-group_1t3tb_11[data-message-type=system],._message-group_1t3tb_11:has([data-component=collapsible]){margin-left:10%;margin-right:5%}}@media (width < 480px){._message-group_1t3tb_11[data-message-type=system],._message-group_1t3tb_11:has([data-component=collapsible]){margin-inline:0}}._toolbar_1t3tb_187{display:flex;justify-content:flex-end}@media (hover: hover) and (pointer: fine){._message_1t3tb_11._with-toolbar_1t3tb_193{max-width:min(calc(100% - var(--scale-96)),var(--shape-width-max-lg));overflow:visible;position:relative}._toolbar_1t3tb_187{opacity:0;padding-right:var(--shape-spacing-xs);pointer-events:none;position:absolute;right:100%;top:50%;transform:translateY(-50%);transition:opacity var(--utils-tokens-transition-duration) var(--utils-tokens-transition-timing-function) var(--utils-tokens-transition-duration),pointer-events 0s linear calc(var(--utils-tokens-transition-duration) + var(--utils-tokens-transition-duration)) allow-discrete}._with-toolbar_1t3tb_193:is(:hover,:focus-within) ._toolbar_1t3tb_187{opacity:1;pointer-events:auto;transition-delay:var(--utils-tokens-transition-delay)}}
@@ -1 +1 @@
1
- ._wrapper_vtkwq_1{display:grid;min-width:0}._toolbar_vtkwq_6{display:flex;justify-content:flex-end;margin-bottom:var(--scale-4)}._iframe_vtkwq_12{border:0;display:block;width:100%}._fullscreen-iframe_vtkwq_18{height:100%;min-height:0}._print-content_vtkwq_23{display:none}@media print{._wrapper_vtkwq_1,._print-content_vtkwq_23{display:block}._toolbar_vtkwq_6{display:none}}
1
+ ._wrapper_1xjxk_1{min-width:0}._iframe_1xjxk_5{border:0;display:block;width:100%}._fullscreen-iframe_1xjxk_11{height:100%;min-height:0}._print-content_1xjxk_16{display:none}@media print{._print-content_1xjxk_16{display:block}}
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index31.css');const e=require("react/jsx-runtime"),o=require("react"),a=require("../label/index.cjs"),b=require("../../icons-BIdcCH-v.cjs"),h=require("../loading/index.cjs"),d="_checkbox_31wdz_3",k={checkbox:d},f=({checked:r,disabled:i,indeterminate:t=!1,isLoading:n,label:s,onChange:u,...l})=>{const c=o.useRef(null);o.useEffect(()=>{c.current&&(c.current.indeterminate=t)},[t]);const x={"--icon-svg":b.iconSVG("Check")};return e.jsxs("label",{className:k.checkbox,"data-component":"checkbox",children:[e.jsx("input",{ref:c,checked:r,disabled:i||n,onChange:u,type:"checkbox",style:x,...l}),n&&e.jsx(h.Loading,{size:"small",sticky:!0}),s&&e.jsx(a.Label,{inline:!0,label:s})]})};exports.Checkbox=f;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index31.css');const e=require("react/jsx-runtime"),o=require("react"),a=require("../label/index.cjs"),b=require("../../icons-BSfBrPs3.cjs"),h=require("../loading/index.cjs"),d="_checkbox_31wdz_3",k={checkbox:d},f=({checked:r,disabled:i,indeterminate:t=!1,isLoading:n,label:s,onChange:u,...l})=>{const c=o.useRef(null);o.useEffect(()=>{c.current&&(c.current.indeterminate=t)},[t]);const x={"--icon-svg":b.iconSVG("Check")};return e.jsxs("label",{className:k.checkbox,"data-component":"checkbox",children:[e.jsx("input",{ref:c,checked:r,disabled:i||n,onChange:u,type:"checkbox",style:x,...l}),n&&e.jsx(h.Loading,{size:"small",sticky:!0}),s&&e.jsx(a.Label,{inline:!0,label:s})]})};exports.Checkbox=f;
@@ -1,7 +1,7 @@
1
1
  import { jsxs as l, jsx as c } from "react/jsx-runtime";
2
2
  import { useRef as a, useEffect as h } from "react";
3
3
  import { Label as p } from "../label/index.js";
4
- import { i as u } from "../../icons-DVeBguFb.js";
4
+ import { i as u } from "../../icons-DtAsxlep.js";
5
5
  import { Loading as x } from "../loading/index.js";
6
6
  import '../../assets/index31.css';const b = "_checkbox_31wdz_3", k = {
7
7
  checkbox: b
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("react/jsx-runtime");require("react");require("../avatar/index.cjs");require("../button/index.cjs");require("../group/index.cjs");require("../icon/index.cjs");const e=require("../../index-B4dFheLl.cjs");exports.Comment=e.Comment;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("react/jsx-runtime");require("react");require("../avatar/index.cjs");require("../button/index.cjs");require("../group/index.cjs");require("../icon/index.cjs");const e=require("../../index-BAvndpvN.cjs");exports.Comment=e.Comment;
@@ -4,7 +4,7 @@ import "../avatar/index.js";
4
4
  import "../button/index.js";
5
5
  import "../group/index.js";
6
6
  import "../icon/index.js";
7
- import { C as a } from "../../index-BJiUk1q2.js";
7
+ import { C as a } from "../../index-pFwW6g9T.js";
8
8
  export {
9
9
  a as Comment
10
10
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index36.css');const e=require("react/jsx-runtime"),s=require("react"),y=require("../button/index.cjs"),j=require("../../index-B4dFheLl.cjs"),p=require("../icon/index.cjs"),v=require("../loading/index.cjs"),I="_comments_7c16w_1",R="_content_7c16w_26",S="_guidance_7c16w_32",k="_list_7c16w_39",c={comments:I,content:R,guidance:S,list:k},N=({comments:o,title:g,open:t,onOpenChange:l,showLabel:f="Show",hideLabel:b="Hide",guidance:a,loading:C,composer:d,status:m,pagination:q})=>{const u=s.useId(),_=s.useRef(null),r=s.useRef(null),i=s.useCallback(()=>{var h;const n=Array.from(((h=_.current)==null?void 0:h.querySelectorAll("[data-comment-id]"))??[]).find(w=>w.dataset.commentId===r.current);n&&(r.current=null,n.scrollIntoView({behavior:"smooth",block:"center"}))},[]);s.useEffect(i,[o,t,i]);const x=n=>{r.current=n,i()};return e.jsxs("div",{className:c.comments,"data-component":"comments","data-open":t,onClick:t?void 0:()=>l(!0),ref:_,children:[e.jsxs("header",{children:[e.jsx("h3",{children:g}),e.jsxs(y.Button,{"aria-controls":u,"aria-expanded":t,onClick:n=>{n.stopPropagation(),l(!t)},variant:"tertiary",children:[t?b:f,e.jsx(p.Icon,{name:t?"CaretUp":"CaretDown",size:"small"})]})]}),t&&e.jsxs("div",{className:c.content,id:u,children:[a&&e.jsx("p",{className:c.guidance,children:a}),C?e.jsx(v.Loading,{}):o.length>0&&e.jsx("ul",{className:c.list,children:o.map(n=>e.jsx("li",{children:e.jsx(j.Comment,{...n,onPublished:x})},n.id))}),q,d&&e.jsx(j.CommentComposer,{...d,onPublished:x}),m&&e.jsx("sub",{children:m})]})]})};exports.Comments=N;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index36.css');const e=require("react/jsx-runtime"),s=require("react"),y=require("../button/index.cjs"),j=require("../../index-BAvndpvN.cjs"),p=require("../icon/index.cjs"),v=require("../loading/index.cjs"),I="_comments_7c16w_1",R="_content_7c16w_26",S="_guidance_7c16w_32",k="_list_7c16w_39",c={comments:I,content:R,guidance:S,list:k},N=({comments:o,title:g,open:t,onOpenChange:l,showLabel:f="Show",hideLabel:b="Hide",guidance:a,loading:C,composer:d,status:m,pagination:q})=>{const u=s.useId(),_=s.useRef(null),r=s.useRef(null),i=s.useCallback(()=>{var h;const n=Array.from(((h=_.current)==null?void 0:h.querySelectorAll("[data-comment-id]"))??[]).find(w=>w.dataset.commentId===r.current);n&&(r.current=null,n.scrollIntoView({behavior:"smooth",block:"center"}))},[]);s.useEffect(i,[o,t,i]);const x=n=>{r.current=n,i()};return e.jsxs("div",{className:c.comments,"data-component":"comments","data-open":t,onClick:t?void 0:()=>l(!0),ref:_,children:[e.jsxs("header",{children:[e.jsx("h3",{children:g}),e.jsxs(y.Button,{"aria-controls":u,"aria-expanded":t,onClick:n=>{n.stopPropagation(),l(!t)},variant:"tertiary",children:[t?b:f,e.jsx(p.Icon,{name:t?"CaretUp":"CaretDown",size:"small"})]})]}),t&&e.jsxs("div",{className:c.content,id:u,children:[a&&e.jsx("p",{className:c.guidance,children:a}),C?e.jsx(v.Loading,{}):o.length>0&&e.jsx("ul",{className:c.list,children:o.map(n=>e.jsx("li",{children:e.jsx(j.Comment,{...n,onPublished:x})},n.id))}),q,d&&e.jsx(j.CommentComposer,{...d,onPublished:x}),m&&e.jsx("sub",{children:m})]})]})};exports.Comments=N;
@@ -1,7 +1,7 @@
1
1
  import { jsxs as o, jsx as n } from "react/jsx-runtime";
2
2
  import { useId as I, useRef as C, useCallback as k, useEffect as x } from "react";
3
3
  import { Button as N } from "../button/index.js";
4
- import { C as P, a as S } from "../../index-BJiUk1q2.js";
4
+ import { C as P, a as S } from "../../index-pFwW6g9T.js";
5
5
  import { Icon as j } from "../icon/index.js";
6
6
  import { Loading as A } from "../loading/index.js";
7
7
  import '../../assets/index36.css';const R = "_comments_7c16w_1", q = "_content_7c16w_26", z = "_guidance_7c16w_32", B = "_list_7c16w_39", c = {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("react/jsx-runtime");require("classix");require("react");require("../../menu-popover-bqblnK6P.cjs");const e=require("../../index-BwfsmdF6.cjs");exports.Controls=e.Controls;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("react/jsx-runtime");require("classix");require("react");require("../../menu-popover-Bzgvr-we.cjs");const e=require("../../index-C6rfOHaL.cjs");exports.Controls=e.Controls;
@@ -1,8 +1,8 @@
1
1
  import "react/jsx-runtime";
2
2
  import "classix";
3
3
  import "react";
4
- import "../../menu-popover-Ceb_9V67.js";
5
- import { C as s } from "../../index-acMNM3VJ.js";
4
+ import "../../menu-popover-AX_9ln6L.js";
5
+ import { C as s } from "../../index-BOIHwDwc.js";
6
6
  export {
7
7
  s as Controls
8
8
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index41.css');const n=require("react/jsx-runtime"),V=require("classix"),s=require("react"),B=require("../button/index.cjs"),Ze=require("../form/index.cjs"),et=require("../../icons-BIdcCH-v.cjs"),we=require("../../index-DEQcFR32.cjs"),tt=require("../label/index.cjs"),nt=require("../list/index.cjs"),Ee=require("../loading/index.cjs"),$=require("../../index-BQoXmNo3.cjs");function G(t){return typeof t=="string"||typeof t=="number"?String(t):Array.isArray(t)?t.map(G).join(" "):s.isValidElement(t)?G(t.props.children):""}function st(t){return s.isValidElement(t)&&t.type==="option"}function it(t){return s.isValidElement(t)&&t.type==="optgroup"}function lt(t){return s.isValidElement(t)&&t.type===s.Fragment}function rt(t){return s.isValidElement(t)&&t.type===$.Select}function le(t,o,r=!1){const a=[];return s.Children.forEach(t,i=>{if(lt(i))a.push(...le(i.props.children,o,r));else if(st(i)){const x=G(i.props.children).trim(),k=i.props.value!=null?String(i.props.value):x;a.push({disabled:r||!!i.props.disabled,groupLabel:o,hidden:!!i.props.hidden,isPlaceholder:!!(i.props.hidden&&k===""),label:i.props.children,selected:!!i.props.selected,text:x,value:k})}else it(i)&&a.push(...le(i.props.children,i.props.label,r||!!i.props.disabled))}),a}function ot(t){const o=t.trim();if(!o)return null;const a=[.../[*?]/.test(o)?o:`*${o}*`].map(i=>i==="*"?".*":i==="?"?".":i.replace(/[|\\{}()[\]^$+.,]/g,"\\$&")).join("");return new RegExp(`^${a}$`,"i")}function at(t,o){const r=ot(o),a=t.filter(i=>!i.hidden&&!i.isPlaceholder);return r?a.filter(i=>r.test([i.groupLabel,i.text,i.value].filter(Boolean).join(" "))):a}function ct(t,o){return t.find(r=>r.value===o)??t.find(r=>r.isPlaceholder)??t[0]}function ut(t,o,r){var a,i;return o!=null?String(o):r!=null?String(r):((a=t.find(x=>x.selected))==null?void 0:a.value)??((i=t[0])==null?void 0:i.value)??""}function dt(t){if(rt(t)){const{children:o,placeholder:r,...a}=t.props;return{children:n.jsxs(n.Fragment,{children:[r&&n.jsx("option",{hidden:!0,value:"",children:r}),o]}),props:a}}return{children:t.props.children,props:t.props}}const ft="_combobox_7iy0q_3",pt="_dropdown_7iy0q_21",mt="_empty_7iy0q_29",_t="_group_7iy0q_30",bt="_placeholder_7iy0q_31",yt="_filter_7iy0q_39",vt="_native_7iy0q_71",xt="_option_7iy0q_81",ht="_options_7iy0q_107",jt="_panel_7iy0q_117",qt="_selected_7iy0q_142",gt="_text_7iy0q_146",wt="_trigger_7iy0q_154",Et="_minimal_7iy0q_199",St="_inline_7iy0q_259",Rt="_field_7iy0q_293",Nt="_label_7iy0q_297",l={combobox:ft,"combobox-input":"_combobox-input_7iy0q_12",dropdown:pt,empty:mt,group:_t,placeholder:bt,filter:yt,"filter-controls":"_filter-controls_7iy0q_46","loading-status":"_loading-status_7iy0q_57",native:vt,option:xt,options:ht,panel:jt,selected:qt,text:gt,trigger:wt,minimal:Et,inline:St,field:Rt,label:Nt,"inline-field":"_inline-field_7iy0q_302"};function Se(t,o){return{"--icon-svg":et.iconSVG(t,o)}}const It=({children:t,className:o,combobox:r=!1,description:a,errorMessage:i,invalid:x=!1,searchable:k,createOption:h,emptyLabel:Re="No matches found",errorLabel:m,onRetry:re,retryLabel:Ne="Retry",label:y,filterOptions:Ie=!0,hasNextPage:b=!1,loading:d=!1,loadingLabel:oe="Loading",loadMoreLabel:Ce="Load more",onLoadMore:R,onOpenChange:D,onSearchChange:F,searchValue:M,renderOption:A,searchPlaceholder:L="Filter",selectedItems:Ve,variant:j="default",...Be})=>{const O=dt(t),{defaultValue:$e,onChange:T,value:K,...ke}=O.props,c=$.sanitizeSelectProps(ke),{className:De,...Fe}=c,ae=s.useRef(null),ce=s.useRef(null),q=s.useId(),H=x&&i?`${q}-error`:void 0,ue=a?`${q}-description`:void 0,de=[c["aria-describedby"],ue,H].filter(Boolean).join(" ")||void 0,fe=x?!0:c["aria-invalid"],pe=s.useRef(null),g=s.useRef(null),P=s.useRef(null),me=s.useRef(null),J=s.useRef(!1),U=s.useRef(!1),X=s.useRef(R),_e=!!R,w=le(O.children),N=K!=null,Y=ut(w,K,$e),[Z,ee]=s.useState(()=>Y),[u,We]=s.useState(!1),[ze,be]=s.useState(!1),[Qe,Ge]=s.useState(null),[Me,Ae]=s.useState(""),v=M??Me,te=w.filter(e=>!e.hidden).length,Le=Qe??(d||!!m||b||te>8),E=k??(Le||ze||v.length>0),I=s.useCallback(e=>{M===void 0&&Ae(e),F==null||F(e)},[F,M]),_=s.useCallback(e=>{J.current===e||e&&c.disabled||(J.current=e,We(e),D==null||D(e),e||I(""))},[D,c.disabled,I]),W=N?String(K):Z,ye={default:$.resolveColor("--colors-semantic-content-secondary"),white:$.resolveColor("--color-white","white")},ve=c.disabled?$.resolveColor("--colors-semantic-content-disabled"):j==="minimal"?ye.white:ye.default,z=ct(w,W),Oe=Se("CaretDown",ve),Te=Se("MagnifyingGlass",ve),ne=at(w,Ie?v:""),S=v.trim(),Q=!!(r&&h&&S&&h.isValid(S)),Ke=y&&j==="inline"?we.formatInlineLabel(y):y,xe=e=>e?(A==null?void 0:A({groupLabel:e.groupLabel,isSelected:e.value===W,label:e.label,text:e.text,value:e.value}))??e.label:"Select an option";s.useEffect(()=>{u&&!v&&!d&&!m&&Ge(b||te>8)},[u,v,d,m,b,te]),s.useEffect(()=>{!N&&!w.some(e=>e.value===Z)&&ee(Y)},[Y,Z,N,w]),s.useEffect(()=>{u?E&&be(!0):be(!1)},[u,E]),s.useEffect(()=>{var e,f,p;u&&(r||E?(e=g.current)==null||e.focus():(p=(f=P.current)==null?void 0:f.querySelector("button:not(:disabled)"))==null||p.focus())},[u,r,E]),s.useEffect(()=>{if(!u)return;const e=f=>{var p;(p=ce.current)!=null&&p.contains(f.target)||_(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[_,u]),s.useEffect(()=>{X.current=R},[R]),s.useEffect(()=>{c.disabled&&_(!1)},[_,c.disabled]);const se=s.useCallback(()=>{!J.current||c.disabled||d||m||!b||!X.current||U.current||(U.current=!0,X.current())},[m,b,d,c.disabled]);s.useEffect(()=>{if(U.current=!1,!u||c.disabled||d||m||!b||!_e)return;const e=me.current,f=P.current;if(!e||!f||typeof IntersectionObserver>"u")return;let p=!0;const C=new IntersectionObserver(Xe=>{p&&Xe.some(Ye=>Ye.isIntersecting)&&se()},{root:f});return C.observe(e),()=>{p=!1,C.disconnect()}},[u,d,m,b,_e,se,ne.length,v,c.disabled]);const He=e=>{N||ee(e.target.value),T==null||T(e)},ie=()=>{var e;_(!1),r||(e=ae.current)==null||e.focus()},he=()=>{var e;I(""),_(!0),(e=g.current)==null||e.focus()},je=()=>{!h||!Q||(h.onCreate(S),he())},Pe=e=>{var C;N||ee(e);const f=pe.current;if(!f){ie();return}const p=(C=Object.getOwnPropertyDescriptor(HTMLSelectElement.prototype,"value"))==null?void 0:C.set;p==null||p.call(f,e),f.dispatchEvent(new Event("change",{bubbles:!0})),r?he():ie()},Je=e=>{e.key==="Escape"&&ie(),e.key==="Enter"&&e.target===g.current&&Q&&(e.preventDefault(),je())},qe=n.jsx("div",{"aria-hidden":!d,"aria-label":oe,className:l["loading-status"],role:"status",children:d&&n.jsx(Ee.Loading,{size:"small"})}),ge=n.jsxs("div",{className:V(l.dropdown,j==="inline"&&l.inline,j==="minimal"&&l.minimal,o),onKeyDown:Je,ref:ce,...Be,children:[n.jsx("select",{...Fe,"aria-hidden":"true",className:V(l.native,De),onChange:He,ref:pe,tabIndex:-1,value:W,children:O.children}),r?n.jsxs("div",{className:l.combobox,onClick:()=>{var e;return(e=g.current)==null?void 0:e.focus()},children:[Ve,n.jsx("input",{"aria-describedby":de,"aria-invalid":fe,"aria-autocomplete":"list","aria-expanded":u,"aria-label":c["aria-label"]??y??L,className:l["combobox-input"],disabled:c.disabled,onChange:e=>{I(e.target.value),_(!0)},onClick:()=>_(!0),onFocus:()=>_(!0),placeholder:L||void 0,ref:g,role:"combobox",type:"text",value:v}),qe]}):n.jsx(B.Button,{"aria-describedby":de,"aria-invalid":fe,"aria-label":y?void 0:c["aria-label"],"aria-expanded":u,"aria-haspopup":"dialog","aria-labelledby":y?`${q} ${q}-value`:void 0,className:V(l.trigger,(z==null?void 0:z.isPlaceholder)&&l.placeholder),"data-open":u?"true":void 0,disabled:c.disabled,onClick:()=>_(!u),ref:ae,style:Oe,variant:"simple",children:n.jsx("span",{className:l.text,id:`${q}-value`,children:xe(z)})}),u&&n.jsxs("div",{className:l.panel,children:[!r&&E&&n.jsxs("div",{className:l["filter-controls"],children:[n.jsx(we.Input,{"aria-label":"Filter",className:l.filter,icon:"MagnifyingGlass",onChange:e=>I(e.target.value),placeholder:L,ref:g,style:Te,type:"search",value:v}),qe]}),n.jsxs(nt.List,{"aria-label":"Dropdown","aria-busy":d||void 0,className:l.options,ref:P,children:[ne.map(e=>{const f=e.value===W;return n.jsx("li",{"data-component":"dropdown",children:n.jsxs(B.Button,{"aria-label":f?`${e.text}, selected`:e.text,className:V(l.option,f&&l.selected),disabled:e.disabled,onClick:()=>Pe(e.value),variant:"tertiary",children:[n.jsx("span",{className:l.text,children:xe(e)}),e.groupLabel&&n.jsx("small",{className:l.group,children:e.groupLabel})]})},`${e.groupLabel??"root"}-${e.value}`)}),Q&&h&&n.jsx("li",{children:n.jsx(B.Button,{"aria-label":G(h.render(S))||S,className:l.option,onClick:je,variant:"tertiary",children:n.jsx("span",{className:l.text,children:h.render(S)})})}),ne.length===0&&!Q&&!d&&!m&&!b&&n.jsx("li",{className:l.empty,children:Re}),m&&n.jsxs("li",{className:l.empty,children:[n.jsx("span",{role:"alert",children:m}),re&&n.jsx(B.Button,{disabled:d,onClick:re,variant:"tertiary",children:Ne})]}),d&&!r&&!E&&n.jsx("li",{"aria-label":oe,className:l.empty,role:"status",children:n.jsx(Ee.Loading,{size:"small"})}),b&&R&&!m&&n.jsx("li",{ref:me,children:n.jsx(B.Button,{className:l.option,disabled:d,onClick:se,variant:"tertiary",children:Ce})})]})]})]}),Ue=y||a?n.jsxs("div",{className:V(l.label,j==="inline"&&l["inline-field"]),children:[n.jsx(tt.Label,{label:Ke,labelId:y?q:void 0,description:a,descriptionId:ue,inline:j==="inline"}),ge]}):ge;return n.jsxs("div",{className:l.field,"data-component":"dropdown",children:[Ue,H&&n.jsx(Ze.FieldError,{errorId:H,errorMessage:i})]})};exports.Dropdown=It;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index41.css');const n=require("react/jsx-runtime"),V=require("classix"),s=require("react"),B=require("../button/index.cjs"),Ze=require("../form/index.cjs"),et=require("../../icons-BSfBrPs3.cjs"),we=require("../../index-D3gtJMYv.cjs"),tt=require("../label/index.cjs"),nt=require("../list/index.cjs"),Ee=require("../loading/index.cjs"),$=require("../../index-Ct84TXGv.cjs");function G(t){return typeof t=="string"||typeof t=="number"?String(t):Array.isArray(t)?t.map(G).join(" "):s.isValidElement(t)?G(t.props.children):""}function st(t){return s.isValidElement(t)&&t.type==="option"}function it(t){return s.isValidElement(t)&&t.type==="optgroup"}function lt(t){return s.isValidElement(t)&&t.type===s.Fragment}function rt(t){return s.isValidElement(t)&&t.type===$.Select}function le(t,o,r=!1){const a=[];return s.Children.forEach(t,i=>{if(lt(i))a.push(...le(i.props.children,o,r));else if(st(i)){const x=G(i.props.children).trim(),k=i.props.value!=null?String(i.props.value):x;a.push({disabled:r||!!i.props.disabled,groupLabel:o,hidden:!!i.props.hidden,isPlaceholder:!!(i.props.hidden&&k===""),label:i.props.children,selected:!!i.props.selected,text:x,value:k})}else it(i)&&a.push(...le(i.props.children,i.props.label,r||!!i.props.disabled))}),a}function ot(t){const o=t.trim();if(!o)return null;const a=[.../[*?]/.test(o)?o:`*${o}*`].map(i=>i==="*"?".*":i==="?"?".":i.replace(/[|\\{}()[\]^$+.,]/g,"\\$&")).join("");return new RegExp(`^${a}$`,"i")}function at(t,o){const r=ot(o),a=t.filter(i=>!i.hidden&&!i.isPlaceholder);return r?a.filter(i=>r.test([i.groupLabel,i.text,i.value].filter(Boolean).join(" "))):a}function ct(t,o){return t.find(r=>r.value===o)??t.find(r=>r.isPlaceholder)??t[0]}function ut(t,o,r){var a,i;return o!=null?String(o):r!=null?String(r):((a=t.find(x=>x.selected))==null?void 0:a.value)??((i=t[0])==null?void 0:i.value)??""}function dt(t){if(rt(t)){const{children:o,placeholder:r,...a}=t.props;return{children:n.jsxs(n.Fragment,{children:[r&&n.jsx("option",{hidden:!0,value:"",children:r}),o]}),props:a}}return{children:t.props.children,props:t.props}}const ft="_combobox_7iy0q_3",pt="_dropdown_7iy0q_21",mt="_empty_7iy0q_29",_t="_group_7iy0q_30",bt="_placeholder_7iy0q_31",yt="_filter_7iy0q_39",vt="_native_7iy0q_71",xt="_option_7iy0q_81",ht="_options_7iy0q_107",jt="_panel_7iy0q_117",qt="_selected_7iy0q_142",gt="_text_7iy0q_146",wt="_trigger_7iy0q_154",Et="_minimal_7iy0q_199",St="_inline_7iy0q_259",Rt="_field_7iy0q_293",Nt="_label_7iy0q_297",l={combobox:ft,"combobox-input":"_combobox-input_7iy0q_12",dropdown:pt,empty:mt,group:_t,placeholder:bt,filter:yt,"filter-controls":"_filter-controls_7iy0q_46","loading-status":"_loading-status_7iy0q_57",native:vt,option:xt,options:ht,panel:jt,selected:qt,text:gt,trigger:wt,minimal:Et,inline:St,field:Rt,label:Nt,"inline-field":"_inline-field_7iy0q_302"};function Se(t,o){return{"--icon-svg":et.iconSVG(t,o)}}const It=({children:t,className:o,combobox:r=!1,description:a,errorMessage:i,invalid:x=!1,searchable:k,createOption:h,emptyLabel:Re="No matches found",errorLabel:m,onRetry:re,retryLabel:Ne="Retry",label:y,filterOptions:Ie=!0,hasNextPage:b=!1,loading:d=!1,loadingLabel:oe="Loading",loadMoreLabel:Ce="Load more",onLoadMore:R,onOpenChange:D,onSearchChange:F,searchValue:M,renderOption:A,searchPlaceholder:L="Filter",selectedItems:Ve,variant:j="default",...Be})=>{const O=dt(t),{defaultValue:$e,onChange:T,value:K,...ke}=O.props,c=$.sanitizeSelectProps(ke),{className:De,...Fe}=c,ae=s.useRef(null),ce=s.useRef(null),q=s.useId(),H=x&&i?`${q}-error`:void 0,ue=a?`${q}-description`:void 0,de=[c["aria-describedby"],ue,H].filter(Boolean).join(" ")||void 0,fe=x?!0:c["aria-invalid"],pe=s.useRef(null),g=s.useRef(null),P=s.useRef(null),me=s.useRef(null),J=s.useRef(!1),U=s.useRef(!1),X=s.useRef(R),_e=!!R,w=le(O.children),N=K!=null,Y=ut(w,K,$e),[Z,ee]=s.useState(()=>Y),[u,We]=s.useState(!1),[ze,be]=s.useState(!1),[Qe,Ge]=s.useState(null),[Me,Ae]=s.useState(""),v=M??Me,te=w.filter(e=>!e.hidden).length,Le=Qe??(d||!!m||b||te>8),E=k??(Le||ze||v.length>0),I=s.useCallback(e=>{M===void 0&&Ae(e),F==null||F(e)},[F,M]),_=s.useCallback(e=>{J.current===e||e&&c.disabled||(J.current=e,We(e),D==null||D(e),e||I(""))},[D,c.disabled,I]),W=N?String(K):Z,ye={default:$.resolveColor("--colors-semantic-content-secondary"),white:$.resolveColor("--color-white","white")},ve=c.disabled?$.resolveColor("--colors-semantic-content-disabled"):j==="minimal"?ye.white:ye.default,z=ct(w,W),Oe=Se("CaretDown",ve),Te=Se("MagnifyingGlass",ve),ne=at(w,Ie?v:""),S=v.trim(),Q=!!(r&&h&&S&&h.isValid(S)),Ke=y&&j==="inline"?we.formatInlineLabel(y):y,xe=e=>e?(A==null?void 0:A({groupLabel:e.groupLabel,isSelected:e.value===W,label:e.label,text:e.text,value:e.value}))??e.label:"Select an option";s.useEffect(()=>{u&&!v&&!d&&!m&&Ge(b||te>8)},[u,v,d,m,b,te]),s.useEffect(()=>{!N&&!w.some(e=>e.value===Z)&&ee(Y)},[Y,Z,N,w]),s.useEffect(()=>{u?E&&be(!0):be(!1)},[u,E]),s.useEffect(()=>{var e,f,p;u&&(r||E?(e=g.current)==null||e.focus():(p=(f=P.current)==null?void 0:f.querySelector("button:not(:disabled)"))==null||p.focus())},[u,r,E]),s.useEffect(()=>{if(!u)return;const e=f=>{var p;(p=ce.current)!=null&&p.contains(f.target)||_(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[_,u]),s.useEffect(()=>{X.current=R},[R]),s.useEffect(()=>{c.disabled&&_(!1)},[_,c.disabled]);const se=s.useCallback(()=>{!J.current||c.disabled||d||m||!b||!X.current||U.current||(U.current=!0,X.current())},[m,b,d,c.disabled]);s.useEffect(()=>{if(U.current=!1,!u||c.disabled||d||m||!b||!_e)return;const e=me.current,f=P.current;if(!e||!f||typeof IntersectionObserver>"u")return;let p=!0;const C=new IntersectionObserver(Xe=>{p&&Xe.some(Ye=>Ye.isIntersecting)&&se()},{root:f});return C.observe(e),()=>{p=!1,C.disconnect()}},[u,d,m,b,_e,se,ne.length,v,c.disabled]);const He=e=>{N||ee(e.target.value),T==null||T(e)},ie=()=>{var e;_(!1),r||(e=ae.current)==null||e.focus()},he=()=>{var e;I(""),_(!0),(e=g.current)==null||e.focus()},je=()=>{!h||!Q||(h.onCreate(S),he())},Pe=e=>{var C;N||ee(e);const f=pe.current;if(!f){ie();return}const p=(C=Object.getOwnPropertyDescriptor(HTMLSelectElement.prototype,"value"))==null?void 0:C.set;p==null||p.call(f,e),f.dispatchEvent(new Event("change",{bubbles:!0})),r?he():ie()},Je=e=>{e.key==="Escape"&&ie(),e.key==="Enter"&&e.target===g.current&&Q&&(e.preventDefault(),je())},qe=n.jsx("div",{"aria-hidden":!d,"aria-label":oe,className:l["loading-status"],role:"status",children:d&&n.jsx(Ee.Loading,{size:"small"})}),ge=n.jsxs("div",{className:V(l.dropdown,j==="inline"&&l.inline,j==="minimal"&&l.minimal,o),onKeyDown:Je,ref:ce,...Be,children:[n.jsx("select",{...Fe,"aria-hidden":"true",className:V(l.native,De),onChange:He,ref:pe,tabIndex:-1,value:W,children:O.children}),r?n.jsxs("div",{className:l.combobox,onClick:()=>{var e;return(e=g.current)==null?void 0:e.focus()},children:[Ve,n.jsx("input",{"aria-describedby":de,"aria-invalid":fe,"aria-autocomplete":"list","aria-expanded":u,"aria-label":c["aria-label"]??y??L,className:l["combobox-input"],disabled:c.disabled,onChange:e=>{I(e.target.value),_(!0)},onClick:()=>_(!0),onFocus:()=>_(!0),placeholder:L||void 0,ref:g,role:"combobox",type:"text",value:v}),qe]}):n.jsx(B.Button,{"aria-describedby":de,"aria-invalid":fe,"aria-label":y?void 0:c["aria-label"],"aria-expanded":u,"aria-haspopup":"dialog","aria-labelledby":y?`${q} ${q}-value`:void 0,className:V(l.trigger,(z==null?void 0:z.isPlaceholder)&&l.placeholder),"data-open":u?"true":void 0,disabled:c.disabled,onClick:()=>_(!u),ref:ae,style:Oe,variant:"simple",children:n.jsx("span",{className:l.text,id:`${q}-value`,children:xe(z)})}),u&&n.jsxs("div",{className:l.panel,children:[!r&&E&&n.jsxs("div",{className:l["filter-controls"],children:[n.jsx(we.Input,{"aria-label":"Filter",className:l.filter,icon:"MagnifyingGlass",onChange:e=>I(e.target.value),placeholder:L,ref:g,style:Te,type:"search",value:v}),qe]}),n.jsxs(nt.List,{"aria-label":"Dropdown","aria-busy":d||void 0,className:l.options,ref:P,children:[ne.map(e=>{const f=e.value===W;return n.jsx("li",{"data-component":"dropdown",children:n.jsxs(B.Button,{"aria-label":f?`${e.text}, selected`:e.text,className:V(l.option,f&&l.selected),disabled:e.disabled,onClick:()=>Pe(e.value),variant:"tertiary",children:[n.jsx("span",{className:l.text,children:xe(e)}),e.groupLabel&&n.jsx("small",{className:l.group,children:e.groupLabel})]})},`${e.groupLabel??"root"}-${e.value}`)}),Q&&h&&n.jsx("li",{children:n.jsx(B.Button,{"aria-label":G(h.render(S))||S,className:l.option,onClick:je,variant:"tertiary",children:n.jsx("span",{className:l.text,children:h.render(S)})})}),ne.length===0&&!Q&&!d&&!m&&!b&&n.jsx("li",{className:l.empty,children:Re}),m&&n.jsxs("li",{className:l.empty,children:[n.jsx("span",{role:"alert",children:m}),re&&n.jsx(B.Button,{disabled:d,onClick:re,variant:"tertiary",children:Ne})]}),d&&!r&&!E&&n.jsx("li",{"aria-label":oe,className:l.empty,role:"status",children:n.jsx(Ee.Loading,{size:"small"})}),b&&R&&!m&&n.jsx("li",{ref:me,children:n.jsx(B.Button,{className:l.option,disabled:d,onClick:se,variant:"tertiary",children:Ce})})]})]})]}),Ue=y||a?n.jsxs("div",{className:V(l.label,j==="inline"&&l["inline-field"]),children:[n.jsx(tt.Label,{label:Ke,labelId:y?q:void 0,description:a,descriptionId:ue,inline:j==="inline"}),ge]}):ge;return n.jsxs("div",{className:l.field,"data-component":"dropdown",children:[Ue,H&&n.jsx(Ze.FieldError,{errorId:H,errorMessage:i})]})};exports.Dropdown=It;
@@ -3,12 +3,12 @@ import k from "classix";
3
3
  import rt, { Children as lt, isValidElement as F, useRef as _, useId as st, useState as D, useCallback as oe, useEffect as g } from "react";
4
4
  import { Button as j } from "../button/index.js";
5
5
  import { FieldError as at } from "../form/index.js";
6
- import { i as ot } from "../../icons-DVeBguFb.js";
7
- import { f as ct, I as dt } from "../../index-6TyCExT0.js";
6
+ import { i as ot } from "../../icons-DtAsxlep.js";
7
+ import { f as ct, I as dt } from "../../index-DpkXKD1Z.js";
8
8
  import { Label as ut } from "../label/index.js";
9
9
  import { List as ft } from "../list/index.js";
10
10
  import { Loading as Re } from "../loading/index.js";
11
- import { S as pt, s as mt, r as ce } from "../../index-GPsHvb4d.js";
11
+ import { S as pt, s as mt, r as ce } from "../../index-CWeknFzO.js";
12
12
  import '../../assets/index41.css';function K(t) {
13
13
  return typeof t == "string" || typeof t == "number" ? String(t) : Array.isArray(t) ? t.map(K).join(" ") : F(t) ? K(t.props.children) : "";
14
14
  }
@@ -1 +1 @@
1
- "use strict";require('../../assets/index43.css');var be=Object.defineProperty;var Ie=(l,t,e)=>t in l?be(l,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):l[t]=e;var V=(l,t,e)=>Ie(l,typeof t!="symbol"?t+"":t,e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),fe=require("@lexical/html"),P=require("@lexical/link"),O=require("@lexical/list"),De=require("@lexical/react/LexicalAutoFocusPlugin"),Ce=require("@lexical/react/LexicalAutoLinkPlugin"),he=require("@lexical/react/LexicalComposerContext"),ye=require("@lexical/react/LexicalContentEditable"),Le=require("@lexical/react/LexicalErrorBoundary"),ke=require("@lexical/react/LexicalExtensionComposer"),ve=require("@lexical/react/LexicalHistoryPlugin"),we=require("@lexical/react/LexicalLinkPlugin"),Ne=require("@lexical/react/LexicalListPlugin"),Me=require("@lexical/react/LexicalOnChangePlugin"),Ae=require("@lexical/react/LexicalRichTextPlugin"),se=require("classix"),c=require("lexical"),s=require("react"),me=require("sanitize-html"),j=require("../button/index.cjs"),Se=require("../file/index.cjs"),R=require("../icon/index.cjs"),je=require("@lexical/utils"),_e=require("../../index-DEQcFR32.cjs"),Re=require("../toolbar/index.cjs"),Te="_field_x93yd_3",Ee="_editor_x93yd_8",$e="_submit_x93yd_23",Pe="_resizable_x93yd_68",Oe="_resized_x93yd_72",Be="_invalid_x93yd_98",qe="_error_x93yd_102",Ue="_dragging_x93yd_108",ze="_content_x93yd_112",He="_embedded_x93yd_124",Fe="_files_x93yd_144",We="_placeholder_x93yd_154",Ke="_fill_x93yd_162",Ge="_meta_x93yd_194",Ye="_active_x93yd_203",Xe="_bold_x93yd_272",Ze="_italic_x93yd_276",Ve="_underline_x93yd_280",Je="_link_x93yd_284",Qe="_list_x93yd_290",et="_paragraph_x93yd_291",f={field:Te,editor:Ee,submit:$e,"image-resize-handle":"_image-resize-handle_x93yd_47","with-controls":"_with-controls_x93yd_53",resizable:Pe,resized:Oe,"resize-handle":"_resize-handle_x93yd_76",invalid:Be,error:qe,dragging:Ue,content:ze,embedded:He,"has-files":"_has-files_x93yd_140",files:Fe,placeholder:We,fill:Ke,"fill-editor":"_fill-editor_x93yd_170",meta:Ge,active:Ye,"inline-image":"_inline-image_x93yd_215",bold:Xe,italic:Ze,underline:Ve,link:Je,list:Qe,paragraph:et};function tt({alt:l="",editor:t,height:e,nodeKey:d,soliboDocumentId:p,soliboDocumentSlot:_,src:I,width:o}){const u=s.useRef(null),x=s.useRef(null),[A,L]=s.useState(),C=()=>{const a=t.getRootElement();if(!a)return 1/0;const m=getComputedStyle(a);return Math.max(1,a.clientWidth-(parseFloat(m.paddingLeft)||0)-(parseFloat(m.paddingRight)||0))},v=(a,m=C())=>Math.round(Math.min(m,Math.max(Math.min(32,m),a))),B=a=>{t.update(()=>{const m=c.$getNodeByKey(d);de(m)&&m.setWidth(a)}),L(void 0)};return i.jsxs("span",{className:f["inline-image"],contentEditable:!1,tabIndex:_?0:void 0,onKeyDown:a=>{!_||a.target!==a.currentTarget||!["Backspace","Delete"].includes(a.key)||(a.preventDefault(),a.stopPropagation(),t.update(()=>{const m=c.$getNodeByKey(d);if(!de(m))return;const D=m.getParent();c.$isParagraphNode(D)&&D.getChildrenSize()===1?D.remove():m.remove(),t.dispatchCommand(pe,_)}),t.focus())},"data-component":"editorimage",children:[i.jsx("img",{alt:l,"data-solibo-document-id":p,"data-solibo-document-slot":_,draggable:!1,height:A===void 0?e:void 0,ref:u,src:I,width:A??o,onClick:a=>{var m;a.preventDefault(),_&&((m=a.currentTarget.parentElement)==null||m.focus()),t.dispatchCommand(xe,{key:d,soliboDocumentSlot:_,src:I,width:o})}}),i.jsx("button",{type:"button","aria-label":`Resize image${l?`: ${l}`:""}`,title:"Drag to resize; use arrow keys to adjust width",className:f["image-resize-handle"],tabIndex:0,onClick:a=>{a.preventDefault(),a.stopPropagation()},onKeyDown:a=>{var D;if(!["ArrowLeft","ArrowRight","ArrowUp","ArrowDown"].includes(a.key))return;a.preventDefault(),a.stopPropagation();const m=((D=u.current)==null?void 0:D.getBoundingClientRect().width)??o??32;B(v(m+(["ArrowRight","ArrowUp"].includes(a.key)?10:-10)))},onPointerDown:a=>{a.button!==0||!u.current||(a.preventDefault(),a.stopPropagation(),a.currentTarget.focus({preventScroll:!0}),a.currentTarget.setPointerCapture(a.pointerId),x.current={pointerId:a.pointerId,x:a.clientX,width:u.current.getBoundingClientRect().width,maximum:C()})},onPointerMove:a=>{const m=x.current;!m||m.pointerId!==a.pointerId||L(v(m.width+a.clientX-m.x,m.maximum))},onPointerUp:a=>{const m=x.current;!m||m.pointerId!==a.pointerId||(x.current=null,B(v(m.width+a.clientX-m.x,m.maximum)),a.currentTarget.releasePointerCapture(a.pointerId))},onPointerCancel:()=>{x.current=null,L(void 0)},onLostPointerCapture:()=>{x.current=null,L(void 0)}})]})}const pe=c.createCommand(),xe=c.createCommand();class oe extends c.DecoratorNode{constructor(e,d,p,_,I,o,u){super(I);V(this,"__src");V(this,"__alt");V(this,"__width");V(this,"__height");V(this,"__soliboDocumentId");V(this,"__soliboDocumentSlot");this.__src=e,this.__alt=d,this.__width=p,this.__height=_,this.__soliboDocumentId=o,this.__soliboDocumentSlot=u}static getType(){return"image"}static clone(e){return new oe(e.__src,e.__alt,e.__width,e.__height,e.__key,e.__soliboDocumentId,e.__soliboDocumentSlot)}static importJSON(e){return ue({alt:e.alt,height:e.height,soliboDocumentId:e.soliboDocumentId,soliboDocumentSlot:e.soliboDocumentSlot,src:e.src,width:e.width})}exportJSON(){return{alt:this.__alt,height:this.__height,...this.__soliboDocumentId?{soliboDocumentId:this.__soliboDocumentId}:void 0,...this.__soliboDocumentSlot?{soliboDocumentSlot:this.__soliboDocumentSlot}:void 0,src:this.__src,type:"image",version:1,width:this.__width}}static importDOM(){return{img:e=>({conversion:d=>{if(!(d instanceof HTMLImageElement))return null;const p=d.getAttribute("src")??"";if(!p)return null;const _=d.getAttribute("width"),I=d.getAttribute("height");return{node:ue({alt:d.getAttribute("alt")??"",height:I?Number(I):void 0,soliboDocumentId:d.getAttribute("data-solibo-document-id")??void 0,soliboDocumentSlot:d.getAttribute("data-solibo-document-slot")??void 0,src:p,width:_?Number(_):void 0})}},priority:0})}}exportDOM(){const e=document.createElement("img");return this.__soliboDocumentSlot||e.setAttribute("src",this.__src),this.__soliboDocumentId&&e.setAttribute("data-solibo-document-id",this.__soliboDocumentId),this.__soliboDocumentSlot&&e.setAttribute("data-solibo-document-slot",this.__soliboDocumentSlot),this.__alt&&e.setAttribute("alt",this.__alt),this.__width&&e.setAttribute("width",String(this.__width)),this.__height&&e.setAttribute("height",String(this.__height)),{element:e}}createDOM(){return document.createElement("span")}updateDOM(){return!1}isInline(){return!0}getSrc(){return this.__src}setSrc(e){const d=this.getWritable();return d.__src=e,d}setWidth(e){const d=this.getWritable();return d.__width=e,d.__height=void 0,d}decorate(e){return i.jsx(tt,{alt:this.__alt,editor:e,height:this.__height,nodeKey:this.getKey(),soliboDocumentId:this.__soliboDocumentId,soliboDocumentSlot:this.__soliboDocumentSlot,src:this.__src,width:this.__width})}}function ue({alt:l="",height:t,soliboDocumentId:e,soliboDocumentSlot:d,src:p,width:_}){return c.$applyNodeReplacement(new oe(p,l,_,t,void 0,e,d))}function de(l){return l instanceof oe}const rt=({createImages:l,onRemove:t})=>{const[e]=he.useLexicalComposerContext();return s.useEffect(()=>e.registerCommand(pe,d=>(t(d),!0),c.COMMAND_PRIORITY_HIGH),[e,t]),s.useEffect(()=>e.registerCommand(c.PASTE_COMMAND,d=>{var o;if(!("clipboardData"in d))return!1;const p=d,_=Array.from(((o=p.clipboardData)==null?void 0:o.items)??[]).flatMap(u=>{if(u.kind!=="file"||!u.type.startsWith("image/"))return[];const x=u.getAsFile();return x?[x]:[]});if(_.length===0)return!1;p.preventDefault();const I=l(_);return e.update(()=>{c.$insertNodes(I.map(u=>ue(u)))}),!0},c.COMMAND_PRIORITY_HIGH),[l,e]),null},it=/(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))/,nt=/((https?:\/\/(www\.)?)|(www\.))[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)/,st=[l=>{const t=it.exec(l);return t!=null&&t.length?{index:t.index,length:t[0].length,text:t[0],url:`mailto:${t[0]}`}:null},l=>{const t=nt.exec(l);return t!=null&&t.length?{index:t.index,length:t[0].length,text:t[0],url:t[0].startsWith("http")?t[0]:`https://${t[0]}`}:null}];function ge(l){try{const t=new URL(l);return t.protocol==="http:"||t.protocol==="https:"}catch{return!1}}function ot({editableRef:l}){const t=s.useRef(null),[e,d]=s.useState(0),[p,_]=s.useState(0);s.useEffect(()=>{const o=l.current;if(!o)return;const u=()=>{d(Math.round(o.getBoundingClientRect().height)),_(Math.round(parseFloat(getComputedStyle(o).minHeight)||0))};if(u(),typeof ResizeObserver>"u")return;const x=new ResizeObserver(u);return x.observe(o),()=>x.disconnect()},[l]);const I=o=>{const u=l.current;if(!u)return;const x=parseFloat(getComputedStyle(u).minHeight)||0;u.style.height=`${Math.max(x,o)}px`};return i.jsx("div",{"aria-label":"Resize editor","aria-orientation":"horizontal","aria-valuemin":p,"aria-valuenow":e,"aria-valuetext":`${e} pixels`,className:f["resize-handle"],role:"separator",tabIndex:0,onDoubleClick:()=>{var o;return(o=l.current)==null?void 0:o.style.removeProperty("height")},onKeyDown:o=>{const u=l.current;u&&(o.key==="Home"?(o.preventDefault(),u.style.removeProperty("height")):(o.key==="ArrowUp"||o.key==="ArrowDown")&&(o.preventDefault(),I(u.getBoundingClientRect().height+(o.key==="ArrowUp"?20:-20))))},onPointerDown:o=>{const u=l.current;o.button!==0||!u||(o.preventDefault(),o.currentTarget.focus({preventScroll:!0}),o.currentTarget.setPointerCapture(o.pointerId),t.current={pointerId:o.pointerId,y:o.clientY,height:u.getBoundingClientRect().height})},onPointerMove:o=>{!t.current||t.current.pointerId!==o.pointerId||I(t.current.height+t.current.y-o.clientY)},onPointerUp:o=>{!t.current||t.current.pointerId!==o.pointerId||(t.current=null,o.currentTarget.releasePointerCapture(o.pointerId))},onLostPointerCapture:()=>{t.current=null},onPointerCancel:()=>{t.current=null},"data-component":"editorresizehandle"})}const at=({onFilesSelected:l,onInlineImageRemove:t})=>{const[e]=he.useLexicalComposerContext(),[d,p]=s.useState(!1),[_,I]=s.useState(!1),[o,u]=s.useState(!1),[x,A]=s.useState(!1),[L,C]=s.useState(!1),[v,B]=s.useState(!1),[a,m]=s.useState(""),[D,H]=s.useState(null),[q,F]=s.useState(null),[U,T]=s.useState(""),W=ge(U.trim()),re=s.useRef(null),J=s.useRef(null),ie=s.useRef(null),E=s.useRef(null),K=s.useRef(!1),Q=r=>r.preventDefault(),ee=s.useCallback(r=>{E.current=c.$isRangeSelection(r)?r.clone():null},[]),X=s.useCallback(r=>{e.update(()=>{E.current&&c.$setSelection(E.current),r()}),E.current=null},[e]),ae=r=>{K.current=!0,r.preventDefault()},Z=()=>{if(K.current){K.current=!1;return}k()},w=s.useCallback(()=>{I(!1),m(""),H(null),F(null)},[]),$=s.useCallback(()=>{C(!1),T("")},[]),le=s.useCallback(r=>{I(!0),m((r==null?void 0:r.src)??""),H((r==null?void 0:r.key)??null),F((r==null?void 0:r.soliboDocumentSlot)??null),$(),r!=null&&r.soliboDocumentSlot||setTimeout(()=>{var b;return(b=J.current)==null?void 0:b.focus()},0)},[$]),ce=s.useCallback(r=>{e.getEditorState().read(()=>{ee(c.$getSelection())}),C(!0),T(r),w(),setTimeout(()=>{var b;return(b=ie.current)==null?void 0:b.focus()},0)},[w,e,ee]),N=s.useCallback(()=>{const r=U.trim();ge(r)&&(X(()=>{e.dispatchCommand(P.TOGGLE_LINK_COMMAND,{url:r,target:"_blank"});const b=c.$getSelection();if(!c.$isRangeSelection(b))return;const M=b.getNodes().at(-1)??null,z=(M==null?void 0:M.getParent())??null,y=P.$isLinkNode(M)?M:P.$isLinkNode(z)?z:null;if(y){const n=y.getLastChild();if(c.$isTextNode(n)){const S=n.getTextContent(),ne=S.replace(/\s+$/,"");ne!==S&&n.setTextContent(ne)}const h=y.getNextSibling();if(c.$isTextNode(h)&&/^\s/.test(h.getTextContent())){h.select(1,1);return}const g=c.$createTextNode(" ");y.insertAfter(g),g.selectEnd()}}),$())},[$,e,U,X]),k=s.useCallback(()=>{const r=a.trim();if(!r){w();return}e.update(()=>{if(D){const b=c.$getNodeByKey(D);de(b)&&b.setSrc(r);return}c.$insertNodes([ue({src:r})])}),w()},[w,e,D,a]),G=s.useCallback(()=>{if(!D){w();return}e.update(()=>{const r=c.$getNodeByKey(D);if(de(r)){const b=r.getParent();c.$isParagraphNode(b)&&b.getChildrenSize()===1?b.remove():r.remove(),q&&(t==null||t(q))}}),w()},[w,e,D,q,t]),te=s.useCallback(()=>{X(()=>{e.dispatchCommand(P.TOGGLE_LINK_COMMAND,null)}),$()},[$,e,X]),Y=s.useCallback(()=>{const r=c.$getSelection();if(!c.$isRangeSelection(r)){if(c.$isNodeSelection(r)){const z=r.getNodes(),y=z[0]??null,n=(y==null?void 0:y.getParent())??null;p(z.some(g=>c.$isTextNode(g)&&g.hasFormat("bold"))),u(z.some(g=>c.$isTextNode(g)&&g.hasFormat("italic"))),A(z.some(g=>c.$isTextNode(g)&&g.hasFormat("underline"))),B(O.$isListNode(n)||O.$isListItemNode(n)||O.$isListNode(y)||O.$isListItemNode(y));const h=P.$isLinkNode(y)?y:P.$isLinkNode(n)?n:null;if(h){C(!0),T(h.getURL());return}C(!1),T(""),E.current=null;return}p(!1),u(!1),A(!1),B(!1),C(!1),T(""),E.current=null;return}const[b]=r.getNodes(),M=(b==null?void 0:b.getParent())??null;if(p(r.hasFormat("bold")),u(r.hasFormat("italic")),A(r.hasFormat("underline")),B(O.$isListNode(M)||O.$isListItemNode(M)),P.$isLinkNode(M)){C(!0),T(M.getURL()),ee(r);return}C(!1),T(""),E.current=null},[ee]);return s.useEffect(()=>je.mergeRegister(e.registerUpdateListener(({editorState:r})=>{r.read(()=>{Y()})}),e.registerCommand(xe,r=>(r.soliboDocumentSlot?(w(),$()):le(r),!0),c.COMMAND_PRIORITY_LOW),e.registerCommand(c.SELECTION_CHANGE_COMMAND,()=>(e.getEditorState().read(()=>{Y()}),!1),c.COMMAND_PRIORITY_LOW)),[w,$,e,le,Y]),i.jsxs(Re.Toolbar,{variant:"editor","data-component":"editortoolbar",children:[i.jsx(j.Button,{"aria-label":"Bold","data-active":d,onClick:()=>{e.dispatchCommand(c.FORMAT_TEXT_COMMAND,"bold")},title:"Bold",variant:"tertiary",children:i.jsx(R.Icon,{name:"TextB"})}),i.jsx(j.Button,{"aria-label":"Italic","data-active":o,onClick:()=>{e.dispatchCommand(c.FORMAT_TEXT_COMMAND,"italic")},title:"Italic",variant:"tertiary",children:i.jsx(R.Icon,{name:"TextItalic"})}),i.jsx(j.Button,{"aria-label":"Underline","data-active":x,onClick:()=>{e.dispatchCommand(c.FORMAT_TEXT_COMMAND,"underline")},title:"Underline",variant:"tertiary",children:i.jsx(R.Icon,{name:"TextUnderline"})}),i.jsx(j.Button,{"aria-label":"List","data-active":v,onClick:()=>{v?e.dispatchCommand(O.REMOVE_LIST_COMMAND,void 0):e.dispatchCommand(O.INSERT_UNORDERED_LIST_COMMAND,void 0)},title:"List",variant:"tertiary",children:i.jsx(R.Icon,{name:"ListBullets"})}),i.jsx(j.Button,{"aria-label":"Link","data-active":L,onClick:()=>{L?ce(U):(e.dispatchCommand(P.TOGGLE_LINK_COMMAND,{url:"https://"}),ce("https://"))},title:"Link",variant:"tertiary",children:i.jsx(R.Icon,{name:"Link"})}),l&&i.jsxs(i.Fragment,{children:[i.jsx("input",{hidden:!0,multiple:!0,onChange:r=>{r.target.files&&l(r.target.files),r.target.value=""},ref:re,type:"file"}),i.jsx(j.Button,{"aria-label":"Upload files",onClick:()=>{var r;return(r=re.current)==null?void 0:r.click()},title:"Upload files",variant:"tertiary",children:i.jsx(R.Icon,{name:"Paperclip"})})]}),i.jsxs("div",{className:se(f.meta,L||_?f.active:""),children:[L&&i.jsxs(i.Fragment,{children:[i.jsx(_e.Input,{"aria-invalid":!W,onBlur:()=>N(),onChange:r=>T(r.target.value),onKeyDown:r=>{r.key==="Enter"&&(r.preventDefault(),N())},ref:ie,value:U}),i.jsx(j.Button,{"aria-label":"Apply link",disabled:!W,onClick:()=>{N()},onMouseDown:Q,variant:"tertiary",children:i.jsx(R.Icon,{name:"Check"})}),i.jsx(j.Button,{"aria-label":"Remove link",onClick:()=>te(),onMouseDown:Q,variant:"tertiary",children:i.jsx(R.Icon,{name:"Trash",variant:"danger"})})]}),_&&i.jsxs(i.Fragment,{children:[!q&&i.jsxs(i.Fragment,{children:[i.jsx(_e.Input,{className:se(f.active),onBlur:Z,onChange:r=>m(r.target.value),onKeyDown:r=>{r.key==="Enter"&&(r.preventDefault(),K.current=!0,k())},ref:J,value:a}),i.jsx(j.Button,{"aria-label":"Apply image",onClick:()=>k(),onMouseDown:ae,variant:"tertiary",children:i.jsx(R.Icon,{name:"Check"})})]}),i.jsx(j.Button,{"aria-label":"Remove image",onClick:()=>G(),onMouseDown:ae,variant:"tertiary",children:i.jsx(R.Icon,{name:"Trash",variant:"danger"})})]})]})]})},lt=c.defineExtension({name:"solibo-editor",namespace:"Editor",nodes:[P.AutoLinkNode,P.LinkNode,O.ListNode,O.ListItemNode,oe],onError(l){throw l},theme:{link:f.link,list:{ol:f.list,ul:f.list},paragraph:f.paragraph,text:{bold:f.bold,italic:f.italic,underline:f.underline}}});function ct({autofocus:l,content:t="",sessionKey:e,lastEmittedContentRef:d,imagePreviews:p}){const[_]=he.useLexicalComposerContext(),I=s.useRef(e);return s.useEffect(()=>{const o=I.current!==e;I.current=e,!(!o&&d.current===t)&&(_.update(()=>{const x=new DOMParser().parseFromString(t,"text/html");x.querySelectorAll("img[data-solibo-document-slot]").forEach(C=>{const v=p.get(C.getAttribute("data-solibo-document-slot"));v&&C.setAttribute("src",v)});const A=fe.$generateNodesFromDOM(_,x),L=c.$getRoot();L.clear().select(),c.$insertNodes(A),l||o?L.selectEnd():c.$setSelection(null)},{discrete:!0}),o&&_.dispatchCommand(c.CLEAR_HISTORY_COMMAND,void 0))},[l,t,_,p,d,e]),null}const ut=({autofocus:l=!1,attachmentsEnabled:t=!0,sessionKey:e,autolink:d=!1,content:p,controls:_,disabled:I=!1,errorMessage:o,fill:u=!1,files:x,inline:A=!1,inlineImages:L,invalid:C=!1,isSubmitting:v=!1,maxRows:B=12,minRows:a=1,onChange:m,onFilesChange:D,onInlineImagesChange:H,onSubmit:q,onUpload:F,placeholder:U,required:T=!1,resizable:W=!1,submitLabel:re="Submit",variant:J="default"})=>{const ie=s.useId(),E=s.useRef(void 0),K=s.useRef(!1),Q=s.useRef(null),[ee,X]=s.useState(!1),[ae,Z]=s.useState(!1),[w,$]=s.useState([]),[le,ce]=s.useState([]),N=s.useRef(new Map),k=x??w,G=L??le;s.useEffect(()=>{const n=Q.current;if(!n)return;if(!W||u){n.style.removeProperty("height"),X(!1);return}const h=()=>X(n.style.height!==""),g=new MutationObserver(h);return g.observe(n,{attributes:!0,attributeFilter:["style"]}),h(),()=>g.disconnect()},[u,W]);const te=n=>{x===void 0&&$(n),D==null||D(n)},Y=s.useCallback(n=>{L===void 0&&ce(n),H==null||H(n)},[L,H]),r=s.useCallback(n=>{const h=n.map(g=>{const S=`pasted-${crypto.randomUUID()}`,ne=URL.createObjectURL(g);return N.current.set(S,ne),{image:{alt:g.name,soliboDocumentSlot:S,src:ne},pending:{file:g,slot:S}}});return Y([...G,...h.map(({pending:g})=>g)]),h.map(({image:g})=>g)},[G,Y]),b=s.useCallback(n=>{Y(G.filter(g=>g.slot!==n));const h=N.current.get(n);h&&URL.revokeObjectURL(h),N.current.delete(n)},[G,Y]);s.useEffect(()=>()=>{N.current.forEach(n=>URL.revokeObjectURL(n)),N.current.clear()},[]),s.useEffect(()=>{const n=new Set(G.map(h=>h.slot));N.current.forEach((h,g)=>{n.has(g)||(URL.revokeObjectURL(h),N.current.delete(g))})},[G]);const M=n=>{if(typeof DataTransfer<"u"){const h=new DataTransfer;return n.forEach(g=>h.items.add(g)),h.files}return Object.assign([...n],{item:h=>n[h]??null})},z=async()=>{if(!(I||v||K.current)){K.current=!0;try{t&&k.length>0&&await(F==null?void 0:F(M(k))),await(q==null?void 0:q()),t&&k.length>0&&te([])}catch{return}finally{K.current=!1}}},y=n=>{n.preventDefault(),n.stopPropagation()};return i.jsxs("div",{className:se(f.field,u&&f.fill),"data-max-rows":B,"data-min-rows":a,onDragEnter:n=>{y(n),Z(t&&!!D)},onDragOver:n=>{y(n),Z(t&&!!D)},onDragLeave:n=>{y(n),Z(!1)},onDropCapture:n=>{var g;const h=(g=n.dataTransfer)==null?void 0:g.files;h!=null&&h.length&&(y(n),t&&(D||F)&&te([...k,...Array.from(h)]),Z(!1))},onDrop:n=>{n.preventDefault(),Z(!1)},"data-component":"editor",children:[W==="top"&&!u&&i.jsx(ot,{editableRef:Q}),i.jsx("div",{className:se(f.editor,!!_&&f["with-controls"],J==="embedded"&&f.embedded,u&&f["fill-editor"],W===!0&&!u&&f.resizable,W&&!u&&ee&&f.resized,C&&f.invalid,k.length>0&&f["has-files"]),style:{"--editor-max-height":`calc(${B*1.25}em + (2 * var(--scale-8)))`,"--editor-min-height":`calc(${a*1.25}em + (2 * var(--scale-8)))`},children:i.jsxs(ke.LexicalExtensionComposer,{contentEditable:null,extension:lt,children:[!A&&J!=="embedded"&&i.jsx(at,{onInlineImageRemove:t?b:void 0,onFilesSelected:t&&(F||D)?n=>{te([...k,...Array.from(n)])}:void 0}),i.jsx("div",{className:se(f.content,ae&&f.dragging),children:i.jsx(Ae.RichTextPlugin,{contentEditable:i.jsx(ye.ContentEditable,{ref:Q,"aria-placeholder":U??"",ariaErrorMessage:C&&o?ie:void 0,ariaInvalid:C||void 0,ariaRequired:T||void 0,placeholder:()=>U?i.jsx("div",{className:f.placeholder,children:U}):null}),ErrorBoundary:Le.LexicalErrorBoundary})}),!A&&J!=="embedded"&&(_||q)&&i.jsx("div",{className:f.submit,children:_??i.jsx(j.Button,{"aria-label":re,"data-cy":"toolbar-submit-button",disabled:I,icon:"PaperPlaneTilt",isLoading:v,onClick:()=>void z(),variant:"primary",children:i.jsx("span",{children:re})})}),t&&k.length>0&&i.jsx("div",{"aria-label":"Files to upload",className:f.files,role:"region",children:k.map((n,h)=>i.jsx(Se.File,{deleteAccessibleLabel:`Remove ${n.name} from upload queue`,name:n.name,onDelete:()=>te(k.filter((g,S)=>S!==h))},`${n.name}-${n.size}-${n.lastModified}-${h}`))}),l&&i.jsx(De.AutoFocusPlugin,{}),d&&i.jsx(Ce.AutoLinkPlugin,{matchers:st}),i.jsx(ve.HistoryPlugin,{}),t&&H&&i.jsx(rt,{createImages:r,onRemove:b}),p!==void 0&&i.jsx(ct,{autofocus:l,content:p,sessionKey:e,lastEmittedContentRef:E,imagePreviews:N.current}),i.jsx(we.LinkPlugin,{validateUrl:ge}),i.jsx(Ne.ListPlugin,{}),m&&i.jsx(Me.OnChangePlugin,{ignoreHistoryMergeTagChange:!1,onChange:(n,h)=>{n.read(()=>{const g=fe.$generateHtmlFromNodes(h,null),S=me(g,{allowedAttributes:{...me.defaults.allowedAttributes,img:[...me.defaults.allowedAttributes.img??[],"data-solibo-document-id","data-solibo-document-slot"]},allowedTags:["a","b","br","i","img","li","ol","p","u","ul"]});E.current=S,m(S)})}})]})}),C&&o&&i.jsxs("div",{className:f.error,id:ie,children:[i.jsx(R.Icon,{name:"Warning",gap:"right",size:"small"}),o]})]})};exports.Editor=ut;
1
+ "use strict";require('../../assets/index43.css');var be=Object.defineProperty;var Ie=(l,t,e)=>t in l?be(l,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):l[t]=e;var V=(l,t,e)=>Ie(l,typeof t!="symbol"?t+"":t,e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),fe=require("@lexical/html"),P=require("@lexical/link"),O=require("@lexical/list"),De=require("@lexical/react/LexicalAutoFocusPlugin"),Ce=require("@lexical/react/LexicalAutoLinkPlugin"),he=require("@lexical/react/LexicalComposerContext"),ye=require("@lexical/react/LexicalContentEditable"),Le=require("@lexical/react/LexicalErrorBoundary"),ke=require("@lexical/react/LexicalExtensionComposer"),ve=require("@lexical/react/LexicalHistoryPlugin"),we=require("@lexical/react/LexicalLinkPlugin"),Ne=require("@lexical/react/LexicalListPlugin"),Me=require("@lexical/react/LexicalOnChangePlugin"),Ae=require("@lexical/react/LexicalRichTextPlugin"),se=require("classix"),c=require("lexical"),s=require("react"),me=require("sanitize-html"),j=require("../button/index.cjs"),Se=require("../file/index.cjs"),R=require("../icon/index.cjs"),je=require("@lexical/utils"),_e=require("../../index-D3gtJMYv.cjs"),Re=require("../toolbar/index.cjs"),Te="_field_x93yd_3",Ee="_editor_x93yd_8",$e="_submit_x93yd_23",Pe="_resizable_x93yd_68",Oe="_resized_x93yd_72",Be="_invalid_x93yd_98",qe="_error_x93yd_102",Ue="_dragging_x93yd_108",ze="_content_x93yd_112",He="_embedded_x93yd_124",Fe="_files_x93yd_144",We="_placeholder_x93yd_154",Ke="_fill_x93yd_162",Ge="_meta_x93yd_194",Ye="_active_x93yd_203",Xe="_bold_x93yd_272",Ze="_italic_x93yd_276",Ve="_underline_x93yd_280",Je="_link_x93yd_284",Qe="_list_x93yd_290",et="_paragraph_x93yd_291",f={field:Te,editor:Ee,submit:$e,"image-resize-handle":"_image-resize-handle_x93yd_47","with-controls":"_with-controls_x93yd_53",resizable:Pe,resized:Oe,"resize-handle":"_resize-handle_x93yd_76",invalid:Be,error:qe,dragging:Ue,content:ze,embedded:He,"has-files":"_has-files_x93yd_140",files:Fe,placeholder:We,fill:Ke,"fill-editor":"_fill-editor_x93yd_170",meta:Ge,active:Ye,"inline-image":"_inline-image_x93yd_215",bold:Xe,italic:Ze,underline:Ve,link:Je,list:Qe,paragraph:et};function tt({alt:l="",editor:t,height:e,nodeKey:d,soliboDocumentId:p,soliboDocumentSlot:_,src:I,width:o}){const u=s.useRef(null),x=s.useRef(null),[A,L]=s.useState(),C=()=>{const a=t.getRootElement();if(!a)return 1/0;const m=getComputedStyle(a);return Math.max(1,a.clientWidth-(parseFloat(m.paddingLeft)||0)-(parseFloat(m.paddingRight)||0))},v=(a,m=C())=>Math.round(Math.min(m,Math.max(Math.min(32,m),a))),B=a=>{t.update(()=>{const m=c.$getNodeByKey(d);de(m)&&m.setWidth(a)}),L(void 0)};return i.jsxs("span",{className:f["inline-image"],contentEditable:!1,tabIndex:_?0:void 0,onKeyDown:a=>{!_||a.target!==a.currentTarget||!["Backspace","Delete"].includes(a.key)||(a.preventDefault(),a.stopPropagation(),t.update(()=>{const m=c.$getNodeByKey(d);if(!de(m))return;const D=m.getParent();c.$isParagraphNode(D)&&D.getChildrenSize()===1?D.remove():m.remove(),t.dispatchCommand(pe,_)}),t.focus())},"data-component":"editorimage",children:[i.jsx("img",{alt:l,"data-solibo-document-id":p,"data-solibo-document-slot":_,draggable:!1,height:A===void 0?e:void 0,ref:u,src:I,width:A??o,onClick:a=>{var m;a.preventDefault(),_&&((m=a.currentTarget.parentElement)==null||m.focus()),t.dispatchCommand(xe,{key:d,soliboDocumentSlot:_,src:I,width:o})}}),i.jsx("button",{type:"button","aria-label":`Resize image${l?`: ${l}`:""}`,title:"Drag to resize; use arrow keys to adjust width",className:f["image-resize-handle"],tabIndex:0,onClick:a=>{a.preventDefault(),a.stopPropagation()},onKeyDown:a=>{var D;if(!["ArrowLeft","ArrowRight","ArrowUp","ArrowDown"].includes(a.key))return;a.preventDefault(),a.stopPropagation();const m=((D=u.current)==null?void 0:D.getBoundingClientRect().width)??o??32;B(v(m+(["ArrowRight","ArrowUp"].includes(a.key)?10:-10)))},onPointerDown:a=>{a.button!==0||!u.current||(a.preventDefault(),a.stopPropagation(),a.currentTarget.focus({preventScroll:!0}),a.currentTarget.setPointerCapture(a.pointerId),x.current={pointerId:a.pointerId,x:a.clientX,width:u.current.getBoundingClientRect().width,maximum:C()})},onPointerMove:a=>{const m=x.current;!m||m.pointerId!==a.pointerId||L(v(m.width+a.clientX-m.x,m.maximum))},onPointerUp:a=>{const m=x.current;!m||m.pointerId!==a.pointerId||(x.current=null,B(v(m.width+a.clientX-m.x,m.maximum)),a.currentTarget.releasePointerCapture(a.pointerId))},onPointerCancel:()=>{x.current=null,L(void 0)},onLostPointerCapture:()=>{x.current=null,L(void 0)}})]})}const pe=c.createCommand(),xe=c.createCommand();class oe extends c.DecoratorNode{constructor(e,d,p,_,I,o,u){super(I);V(this,"__src");V(this,"__alt");V(this,"__width");V(this,"__height");V(this,"__soliboDocumentId");V(this,"__soliboDocumentSlot");this.__src=e,this.__alt=d,this.__width=p,this.__height=_,this.__soliboDocumentId=o,this.__soliboDocumentSlot=u}static getType(){return"image"}static clone(e){return new oe(e.__src,e.__alt,e.__width,e.__height,e.__key,e.__soliboDocumentId,e.__soliboDocumentSlot)}static importJSON(e){return ue({alt:e.alt,height:e.height,soliboDocumentId:e.soliboDocumentId,soliboDocumentSlot:e.soliboDocumentSlot,src:e.src,width:e.width})}exportJSON(){return{alt:this.__alt,height:this.__height,...this.__soliboDocumentId?{soliboDocumentId:this.__soliboDocumentId}:void 0,...this.__soliboDocumentSlot?{soliboDocumentSlot:this.__soliboDocumentSlot}:void 0,src:this.__src,type:"image",version:1,width:this.__width}}static importDOM(){return{img:e=>({conversion:d=>{if(!(d instanceof HTMLImageElement))return null;const p=d.getAttribute("src")??"";if(!p)return null;const _=d.getAttribute("width"),I=d.getAttribute("height");return{node:ue({alt:d.getAttribute("alt")??"",height:I?Number(I):void 0,soliboDocumentId:d.getAttribute("data-solibo-document-id")??void 0,soliboDocumentSlot:d.getAttribute("data-solibo-document-slot")??void 0,src:p,width:_?Number(_):void 0})}},priority:0})}}exportDOM(){const e=document.createElement("img");return this.__soliboDocumentSlot||e.setAttribute("src",this.__src),this.__soliboDocumentId&&e.setAttribute("data-solibo-document-id",this.__soliboDocumentId),this.__soliboDocumentSlot&&e.setAttribute("data-solibo-document-slot",this.__soliboDocumentSlot),this.__alt&&e.setAttribute("alt",this.__alt),this.__width&&e.setAttribute("width",String(this.__width)),this.__height&&e.setAttribute("height",String(this.__height)),{element:e}}createDOM(){return document.createElement("span")}updateDOM(){return!1}isInline(){return!0}getSrc(){return this.__src}setSrc(e){const d=this.getWritable();return d.__src=e,d}setWidth(e){const d=this.getWritable();return d.__width=e,d.__height=void 0,d}decorate(e){return i.jsx(tt,{alt:this.__alt,editor:e,height:this.__height,nodeKey:this.getKey(),soliboDocumentId:this.__soliboDocumentId,soliboDocumentSlot:this.__soliboDocumentSlot,src:this.__src,width:this.__width})}}function ue({alt:l="",height:t,soliboDocumentId:e,soliboDocumentSlot:d,src:p,width:_}){return c.$applyNodeReplacement(new oe(p,l,_,t,void 0,e,d))}function de(l){return l instanceof oe}const rt=({createImages:l,onRemove:t})=>{const[e]=he.useLexicalComposerContext();return s.useEffect(()=>e.registerCommand(pe,d=>(t(d),!0),c.COMMAND_PRIORITY_HIGH),[e,t]),s.useEffect(()=>e.registerCommand(c.PASTE_COMMAND,d=>{var o;if(!("clipboardData"in d))return!1;const p=d,_=Array.from(((o=p.clipboardData)==null?void 0:o.items)??[]).flatMap(u=>{if(u.kind!=="file"||!u.type.startsWith("image/"))return[];const x=u.getAsFile();return x?[x]:[]});if(_.length===0)return!1;p.preventDefault();const I=l(_);return e.update(()=>{c.$insertNodes(I.map(u=>ue(u)))}),!0},c.COMMAND_PRIORITY_HIGH),[l,e]),null},it=/(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))/,nt=/((https?:\/\/(www\.)?)|(www\.))[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)/,st=[l=>{const t=it.exec(l);return t!=null&&t.length?{index:t.index,length:t[0].length,text:t[0],url:`mailto:${t[0]}`}:null},l=>{const t=nt.exec(l);return t!=null&&t.length?{index:t.index,length:t[0].length,text:t[0],url:t[0].startsWith("http")?t[0]:`https://${t[0]}`}:null}];function ge(l){try{const t=new URL(l);return t.protocol==="http:"||t.protocol==="https:"}catch{return!1}}function ot({editableRef:l}){const t=s.useRef(null),[e,d]=s.useState(0),[p,_]=s.useState(0);s.useEffect(()=>{const o=l.current;if(!o)return;const u=()=>{d(Math.round(o.getBoundingClientRect().height)),_(Math.round(parseFloat(getComputedStyle(o).minHeight)||0))};if(u(),typeof ResizeObserver>"u")return;const x=new ResizeObserver(u);return x.observe(o),()=>x.disconnect()},[l]);const I=o=>{const u=l.current;if(!u)return;const x=parseFloat(getComputedStyle(u).minHeight)||0;u.style.height=`${Math.max(x,o)}px`};return i.jsx("div",{"aria-label":"Resize editor","aria-orientation":"horizontal","aria-valuemin":p,"aria-valuenow":e,"aria-valuetext":`${e} pixels`,className:f["resize-handle"],role:"separator",tabIndex:0,onDoubleClick:()=>{var o;return(o=l.current)==null?void 0:o.style.removeProperty("height")},onKeyDown:o=>{const u=l.current;u&&(o.key==="Home"?(o.preventDefault(),u.style.removeProperty("height")):(o.key==="ArrowUp"||o.key==="ArrowDown")&&(o.preventDefault(),I(u.getBoundingClientRect().height+(o.key==="ArrowUp"?20:-20))))},onPointerDown:o=>{const u=l.current;o.button!==0||!u||(o.preventDefault(),o.currentTarget.focus({preventScroll:!0}),o.currentTarget.setPointerCapture(o.pointerId),t.current={pointerId:o.pointerId,y:o.clientY,height:u.getBoundingClientRect().height})},onPointerMove:o=>{!t.current||t.current.pointerId!==o.pointerId||I(t.current.height+t.current.y-o.clientY)},onPointerUp:o=>{!t.current||t.current.pointerId!==o.pointerId||(t.current=null,o.currentTarget.releasePointerCapture(o.pointerId))},onLostPointerCapture:()=>{t.current=null},onPointerCancel:()=>{t.current=null},"data-component":"editorresizehandle"})}const at=({onFilesSelected:l,onInlineImageRemove:t})=>{const[e]=he.useLexicalComposerContext(),[d,p]=s.useState(!1),[_,I]=s.useState(!1),[o,u]=s.useState(!1),[x,A]=s.useState(!1),[L,C]=s.useState(!1),[v,B]=s.useState(!1),[a,m]=s.useState(""),[D,H]=s.useState(null),[q,F]=s.useState(null),[U,T]=s.useState(""),W=ge(U.trim()),re=s.useRef(null),J=s.useRef(null),ie=s.useRef(null),E=s.useRef(null),K=s.useRef(!1),Q=r=>r.preventDefault(),ee=s.useCallback(r=>{E.current=c.$isRangeSelection(r)?r.clone():null},[]),X=s.useCallback(r=>{e.update(()=>{E.current&&c.$setSelection(E.current),r()}),E.current=null},[e]),ae=r=>{K.current=!0,r.preventDefault()},Z=()=>{if(K.current){K.current=!1;return}k()},w=s.useCallback(()=>{I(!1),m(""),H(null),F(null)},[]),$=s.useCallback(()=>{C(!1),T("")},[]),le=s.useCallback(r=>{I(!0),m((r==null?void 0:r.src)??""),H((r==null?void 0:r.key)??null),F((r==null?void 0:r.soliboDocumentSlot)??null),$(),r!=null&&r.soliboDocumentSlot||setTimeout(()=>{var b;return(b=J.current)==null?void 0:b.focus()},0)},[$]),ce=s.useCallback(r=>{e.getEditorState().read(()=>{ee(c.$getSelection())}),C(!0),T(r),w(),setTimeout(()=>{var b;return(b=ie.current)==null?void 0:b.focus()},0)},[w,e,ee]),N=s.useCallback(()=>{const r=U.trim();ge(r)&&(X(()=>{e.dispatchCommand(P.TOGGLE_LINK_COMMAND,{url:r,target:"_blank"});const b=c.$getSelection();if(!c.$isRangeSelection(b))return;const M=b.getNodes().at(-1)??null,z=(M==null?void 0:M.getParent())??null,y=P.$isLinkNode(M)?M:P.$isLinkNode(z)?z:null;if(y){const n=y.getLastChild();if(c.$isTextNode(n)){const S=n.getTextContent(),ne=S.replace(/\s+$/,"");ne!==S&&n.setTextContent(ne)}const h=y.getNextSibling();if(c.$isTextNode(h)&&/^\s/.test(h.getTextContent())){h.select(1,1);return}const g=c.$createTextNode(" ");y.insertAfter(g),g.selectEnd()}}),$())},[$,e,U,X]),k=s.useCallback(()=>{const r=a.trim();if(!r){w();return}e.update(()=>{if(D){const b=c.$getNodeByKey(D);de(b)&&b.setSrc(r);return}c.$insertNodes([ue({src:r})])}),w()},[w,e,D,a]),G=s.useCallback(()=>{if(!D){w();return}e.update(()=>{const r=c.$getNodeByKey(D);if(de(r)){const b=r.getParent();c.$isParagraphNode(b)&&b.getChildrenSize()===1?b.remove():r.remove(),q&&(t==null||t(q))}}),w()},[w,e,D,q,t]),te=s.useCallback(()=>{X(()=>{e.dispatchCommand(P.TOGGLE_LINK_COMMAND,null)}),$()},[$,e,X]),Y=s.useCallback(()=>{const r=c.$getSelection();if(!c.$isRangeSelection(r)){if(c.$isNodeSelection(r)){const z=r.getNodes(),y=z[0]??null,n=(y==null?void 0:y.getParent())??null;p(z.some(g=>c.$isTextNode(g)&&g.hasFormat("bold"))),u(z.some(g=>c.$isTextNode(g)&&g.hasFormat("italic"))),A(z.some(g=>c.$isTextNode(g)&&g.hasFormat("underline"))),B(O.$isListNode(n)||O.$isListItemNode(n)||O.$isListNode(y)||O.$isListItemNode(y));const h=P.$isLinkNode(y)?y:P.$isLinkNode(n)?n:null;if(h){C(!0),T(h.getURL());return}C(!1),T(""),E.current=null;return}p(!1),u(!1),A(!1),B(!1),C(!1),T(""),E.current=null;return}const[b]=r.getNodes(),M=(b==null?void 0:b.getParent())??null;if(p(r.hasFormat("bold")),u(r.hasFormat("italic")),A(r.hasFormat("underline")),B(O.$isListNode(M)||O.$isListItemNode(M)),P.$isLinkNode(M)){C(!0),T(M.getURL()),ee(r);return}C(!1),T(""),E.current=null},[ee]);return s.useEffect(()=>je.mergeRegister(e.registerUpdateListener(({editorState:r})=>{r.read(()=>{Y()})}),e.registerCommand(xe,r=>(r.soliboDocumentSlot?(w(),$()):le(r),!0),c.COMMAND_PRIORITY_LOW),e.registerCommand(c.SELECTION_CHANGE_COMMAND,()=>(e.getEditorState().read(()=>{Y()}),!1),c.COMMAND_PRIORITY_LOW)),[w,$,e,le,Y]),i.jsxs(Re.Toolbar,{variant:"editor","data-component":"editortoolbar",children:[i.jsx(j.Button,{"aria-label":"Bold","data-active":d,onClick:()=>{e.dispatchCommand(c.FORMAT_TEXT_COMMAND,"bold")},title:"Bold",variant:"tertiary",children:i.jsx(R.Icon,{name:"TextB"})}),i.jsx(j.Button,{"aria-label":"Italic","data-active":o,onClick:()=>{e.dispatchCommand(c.FORMAT_TEXT_COMMAND,"italic")},title:"Italic",variant:"tertiary",children:i.jsx(R.Icon,{name:"TextItalic"})}),i.jsx(j.Button,{"aria-label":"Underline","data-active":x,onClick:()=>{e.dispatchCommand(c.FORMAT_TEXT_COMMAND,"underline")},title:"Underline",variant:"tertiary",children:i.jsx(R.Icon,{name:"TextUnderline"})}),i.jsx(j.Button,{"aria-label":"List","data-active":v,onClick:()=>{v?e.dispatchCommand(O.REMOVE_LIST_COMMAND,void 0):e.dispatchCommand(O.INSERT_UNORDERED_LIST_COMMAND,void 0)},title:"List",variant:"tertiary",children:i.jsx(R.Icon,{name:"ListBullets"})}),i.jsx(j.Button,{"aria-label":"Link","data-active":L,onClick:()=>{L?ce(U):(e.dispatchCommand(P.TOGGLE_LINK_COMMAND,{url:"https://"}),ce("https://"))},title:"Link",variant:"tertiary",children:i.jsx(R.Icon,{name:"Link"})}),l&&i.jsxs(i.Fragment,{children:[i.jsx("input",{hidden:!0,multiple:!0,onChange:r=>{r.target.files&&l(r.target.files),r.target.value=""},ref:re,type:"file"}),i.jsx(j.Button,{"aria-label":"Upload files",onClick:()=>{var r;return(r=re.current)==null?void 0:r.click()},title:"Upload files",variant:"tertiary",children:i.jsx(R.Icon,{name:"Paperclip"})})]}),i.jsxs("div",{className:se(f.meta,L||_?f.active:""),children:[L&&i.jsxs(i.Fragment,{children:[i.jsx(_e.Input,{"aria-invalid":!W,onBlur:()=>N(),onChange:r=>T(r.target.value),onKeyDown:r=>{r.key==="Enter"&&(r.preventDefault(),N())},ref:ie,value:U}),i.jsx(j.Button,{"aria-label":"Apply link",disabled:!W,onClick:()=>{N()},onMouseDown:Q,variant:"tertiary",children:i.jsx(R.Icon,{name:"Check"})}),i.jsx(j.Button,{"aria-label":"Remove link",onClick:()=>te(),onMouseDown:Q,variant:"tertiary",children:i.jsx(R.Icon,{name:"Trash",variant:"danger"})})]}),_&&i.jsxs(i.Fragment,{children:[!q&&i.jsxs(i.Fragment,{children:[i.jsx(_e.Input,{className:se(f.active),onBlur:Z,onChange:r=>m(r.target.value),onKeyDown:r=>{r.key==="Enter"&&(r.preventDefault(),K.current=!0,k())},ref:J,value:a}),i.jsx(j.Button,{"aria-label":"Apply image",onClick:()=>k(),onMouseDown:ae,variant:"tertiary",children:i.jsx(R.Icon,{name:"Check"})})]}),i.jsx(j.Button,{"aria-label":"Remove image",onClick:()=>G(),onMouseDown:ae,variant:"tertiary",children:i.jsx(R.Icon,{name:"Trash",variant:"danger"})})]})]})]})},lt=c.defineExtension({name:"solibo-editor",namespace:"Editor",nodes:[P.AutoLinkNode,P.LinkNode,O.ListNode,O.ListItemNode,oe],onError(l){throw l},theme:{link:f.link,list:{ol:f.list,ul:f.list},paragraph:f.paragraph,text:{bold:f.bold,italic:f.italic,underline:f.underline}}});function ct({autofocus:l,content:t="",sessionKey:e,lastEmittedContentRef:d,imagePreviews:p}){const[_]=he.useLexicalComposerContext(),I=s.useRef(e);return s.useEffect(()=>{const o=I.current!==e;I.current=e,!(!o&&d.current===t)&&(_.update(()=>{const x=new DOMParser().parseFromString(t,"text/html");x.querySelectorAll("img[data-solibo-document-slot]").forEach(C=>{const v=p.get(C.getAttribute("data-solibo-document-slot"));v&&C.setAttribute("src",v)});const A=fe.$generateNodesFromDOM(_,x),L=c.$getRoot();L.clear().select(),c.$insertNodes(A),l||o?L.selectEnd():c.$setSelection(null)},{discrete:!0}),o&&_.dispatchCommand(c.CLEAR_HISTORY_COMMAND,void 0))},[l,t,_,p,d,e]),null}const ut=({autofocus:l=!1,attachmentsEnabled:t=!0,sessionKey:e,autolink:d=!1,content:p,controls:_,disabled:I=!1,errorMessage:o,fill:u=!1,files:x,inline:A=!1,inlineImages:L,invalid:C=!1,isSubmitting:v=!1,maxRows:B=12,minRows:a=1,onChange:m,onFilesChange:D,onInlineImagesChange:H,onSubmit:q,onUpload:F,placeholder:U,required:T=!1,resizable:W=!1,submitLabel:re="Submit",variant:J="default"})=>{const ie=s.useId(),E=s.useRef(void 0),K=s.useRef(!1),Q=s.useRef(null),[ee,X]=s.useState(!1),[ae,Z]=s.useState(!1),[w,$]=s.useState([]),[le,ce]=s.useState([]),N=s.useRef(new Map),k=x??w,G=L??le;s.useEffect(()=>{const n=Q.current;if(!n)return;if(!W||u){n.style.removeProperty("height"),X(!1);return}const h=()=>X(n.style.height!==""),g=new MutationObserver(h);return g.observe(n,{attributes:!0,attributeFilter:["style"]}),h(),()=>g.disconnect()},[u,W]);const te=n=>{x===void 0&&$(n),D==null||D(n)},Y=s.useCallback(n=>{L===void 0&&ce(n),H==null||H(n)},[L,H]),r=s.useCallback(n=>{const h=n.map(g=>{const S=`pasted-${crypto.randomUUID()}`,ne=URL.createObjectURL(g);return N.current.set(S,ne),{image:{alt:g.name,soliboDocumentSlot:S,src:ne},pending:{file:g,slot:S}}});return Y([...G,...h.map(({pending:g})=>g)]),h.map(({image:g})=>g)},[G,Y]),b=s.useCallback(n=>{Y(G.filter(g=>g.slot!==n));const h=N.current.get(n);h&&URL.revokeObjectURL(h),N.current.delete(n)},[G,Y]);s.useEffect(()=>()=>{N.current.forEach(n=>URL.revokeObjectURL(n)),N.current.clear()},[]),s.useEffect(()=>{const n=new Set(G.map(h=>h.slot));N.current.forEach((h,g)=>{n.has(g)||(URL.revokeObjectURL(h),N.current.delete(g))})},[G]);const M=n=>{if(typeof DataTransfer<"u"){const h=new DataTransfer;return n.forEach(g=>h.items.add(g)),h.files}return Object.assign([...n],{item:h=>n[h]??null})},z=async()=>{if(!(I||v||K.current)){K.current=!0;try{t&&k.length>0&&await(F==null?void 0:F(M(k))),await(q==null?void 0:q()),t&&k.length>0&&te([])}catch{return}finally{K.current=!1}}},y=n=>{n.preventDefault(),n.stopPropagation()};return i.jsxs("div",{className:se(f.field,u&&f.fill),"data-max-rows":B,"data-min-rows":a,onDragEnter:n=>{y(n),Z(t&&!!D)},onDragOver:n=>{y(n),Z(t&&!!D)},onDragLeave:n=>{y(n),Z(!1)},onDropCapture:n=>{var g;const h=(g=n.dataTransfer)==null?void 0:g.files;h!=null&&h.length&&(y(n),t&&(D||F)&&te([...k,...Array.from(h)]),Z(!1))},onDrop:n=>{n.preventDefault(),Z(!1)},"data-component":"editor",children:[W==="top"&&!u&&i.jsx(ot,{editableRef:Q}),i.jsx("div",{className:se(f.editor,!!_&&f["with-controls"],J==="embedded"&&f.embedded,u&&f["fill-editor"],W===!0&&!u&&f.resizable,W&&!u&&ee&&f.resized,C&&f.invalid,k.length>0&&f["has-files"]),style:{"--editor-max-height":`calc(${B*1.25}em + (2 * var(--scale-8)))`,"--editor-min-height":`calc(${a*1.25}em + (2 * var(--scale-8)))`},children:i.jsxs(ke.LexicalExtensionComposer,{contentEditable:null,extension:lt,children:[!A&&J!=="embedded"&&i.jsx(at,{onInlineImageRemove:t?b:void 0,onFilesSelected:t&&(F||D)?n=>{te([...k,...Array.from(n)])}:void 0}),i.jsx("div",{className:se(f.content,ae&&f.dragging),children:i.jsx(Ae.RichTextPlugin,{contentEditable:i.jsx(ye.ContentEditable,{ref:Q,"aria-placeholder":U??"",ariaErrorMessage:C&&o?ie:void 0,ariaInvalid:C||void 0,ariaRequired:T||void 0,placeholder:()=>U?i.jsx("div",{className:f.placeholder,children:U}):null}),ErrorBoundary:Le.LexicalErrorBoundary})}),!A&&J!=="embedded"&&(_||q)&&i.jsx("div",{className:f.submit,children:_??i.jsx(j.Button,{"aria-label":re,"data-cy":"toolbar-submit-button",disabled:I,icon:"PaperPlaneTilt",isLoading:v,onClick:()=>void z(),variant:"primary",children:i.jsx("span",{children:re})})}),t&&k.length>0&&i.jsx("div",{"aria-label":"Files to upload",className:f.files,role:"region",children:k.map((n,h)=>i.jsx(Se.File,{deleteAccessibleLabel:`Remove ${n.name} from upload queue`,name:n.name,onDelete:()=>te(k.filter((g,S)=>S!==h))},`${n.name}-${n.size}-${n.lastModified}-${h}`))}),l&&i.jsx(De.AutoFocusPlugin,{}),d&&i.jsx(Ce.AutoLinkPlugin,{matchers:st}),i.jsx(ve.HistoryPlugin,{}),t&&H&&i.jsx(rt,{createImages:r,onRemove:b}),p!==void 0&&i.jsx(ct,{autofocus:l,content:p,sessionKey:e,lastEmittedContentRef:E,imagePreviews:N.current}),i.jsx(we.LinkPlugin,{validateUrl:ge}),i.jsx(Ne.ListPlugin,{}),m&&i.jsx(Me.OnChangePlugin,{ignoreHistoryMergeTagChange:!1,onChange:(n,h)=>{n.read(()=>{const g=fe.$generateHtmlFromNodes(h,null),S=me(g,{allowedAttributes:{...me.defaults.allowedAttributes,img:[...me.defaults.allowedAttributes.img??[],"data-solibo-document-id","data-solibo-document-slot"]},allowedTags:["a","b","br","i","img","li","ol","p","u","ul"]});E.current=S,m(S)})}})]})}),C&&o&&i.jsxs("div",{className:f.error,id:ie,children:[i.jsx(R.Icon,{name:"Warning",gap:"right",size:"small"}),o]})]})};exports.Editor=ut;
@@ -24,7 +24,7 @@ import { Button as T } from "../button/index.js";
24
24
  import { File as de } from "../file/index.js";
25
25
  import { Icon as E } from "../icon/index.js";
26
26
  import { mergeRegister as me } from "@lexical/utils";
27
- import { I as Mt } from "../../index-6TyCExT0.js";
27
+ import { I as Mt } from "../../index-DpkXKD1Z.js";
28
28
  import { Toolbar as he } from "../toolbar/index.js";
29
29
  const ge = "_field_x93yd_3", fe = "_editor_x93yd_8", pe = "_submit_x93yd_23", _e = "_resizable_x93yd_68", be = "_resized_x93yd_72", De = "_invalid_x93yd_98", ve = "_error_x93yd_102", Ie = "_dragging_x93yd_108", ye = "_content_x93yd_112", we = "_embedded_x93yd_124", xe = "_files_x93yd_144", Ce = "_placeholder_x93yd_154", ke = "_fill_x93yd_162", Ae = "_meta_x93yd_194", Le = "_active_x93yd_203", Me = "_bold_x93yd_272", Ne = "_italic_x93yd_276", Se = "_underline_x93yd_280", Pe = "_link_x93yd_284", Te = "_list_x93yd_290", Ee = "_paragraph_x93yd_291", g = {
30
30
  field: ge,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index52.css');const c=require("react/jsx-runtime"),r=require("classix"),l=require("../../icons-BIdcCH-v.cjs"),_="_icon_23h6o_1",m="_large_23h6o_10",g="_medium_23h6o_15",d="_small_23h6o_20",u="_tiny_23h6o_25",h="_danger_23h6o_30",n={icon:_,large:m,medium:g,small:d,tiny:u,danger:h,"gap-right":"_gap-right_23h6o_34","gap-left":"_gap-left_23h6o_38"},y={large:n.large,medium:n.medium,small:n.small,tiny:n.tiny},p={danger:n.danger},S=({gap:e="none",name:t,size:s="medium",variant:o,weight:i})=>{const a={maskImage:l.iconSVG(t,void 0,i)};return c.jsx("span",{"aria-hidden":"true",className:r(e!=="none"&&n[`gap-${e}`],y[s],n.icon,o&&p[o]),style:a,"data-component":"icon"})};exports.Icon=S;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index52.css');const c=require("react/jsx-runtime"),r=require("classix"),l=require("../../icons-BSfBrPs3.cjs"),_="_icon_23h6o_1",m="_large_23h6o_10",g="_medium_23h6o_15",d="_small_23h6o_20",u="_tiny_23h6o_25",h="_danger_23h6o_30",n={icon:_,large:m,medium:g,small:d,tiny:u,danger:h,"gap-right":"_gap-right_23h6o_34","gap-left":"_gap-left_23h6o_38"},y={large:n.large,medium:n.medium,small:n.small,tiny:n.tiny},p={danger:n.danger},S=({gap:e="none",name:t,size:s="medium",variant:o,weight:i})=>{const a={maskImage:l.iconSVG(t,void 0,i)};return c.jsx("span",{"aria-hidden":"true",className:r(e!=="none"&&n[`gap-${e}`],y[s],n.icon,o&&p[o]),style:a,"data-component":"icon"})};exports.Icon=S;
@@ -1,6 +1,6 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
2
  import _ from "classix";
3
- import { i as r } from "../../icons-DVeBguFb.js";
3
+ import { i as r } from "../../icons-DtAsxlep.js";
4
4
  import '../../assets/index52.css';const c = "_icon_23h6o_1", l = "_large_23h6o_10", g = "_medium_23h6o_15", d = "_small_23h6o_20", h = "_tiny_23h6o_25", p = "_danger_23h6o_30", o = {
5
5
  icon: c,
6
6
  large: l,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index20.css');const r=require("react/jsx-runtime"),z=require("classix"),i=require("react"),L=require("../button/index.cjs"),te=require("../../index-BwfsmdF6.cjs"),ne=require("../dialog/index.cjs"),re=require("../header/index.cjs"),ie="_wrapper_vtkwq_1",se="_toolbar_vtkwq_6",oe="_iframe_vtkwq_12",m={wrapper:ie,toolbar:se,iframe:oe,"fullscreen-iframe":"_fullscreen-iframe_vtkwq_18","print-content":"_print-content_vtkwq_23"},k=120,ce=12e3,ae=8,le=({accessibleLabel:v,autoResize:l=!1,className:S,closeFullscreenLabel:W="Close fullscreen",fullscreenLabel:X="View in fullscreen",hasFullscreenView:J=!0,loading:K="lazy",onLoad:w,printContent:C,referrerPolicy:F="no-referrer",sandbox:O="",srcDoc:f,style:N,...I})=>{const _=i.useRef(null),g=i.useRef(null),h=i.useRef(void 0),p=i.useRef(!0),x=i.useRef(f),y=i.useRef(void 0),[P,Q]=i.useState(k),[M,b]=i.useState(!1),R=i.useCallback(()=>{g.current!==null&&(window.cancelAnimationFrame(g.current),g.current=null)},[]),T=i.useCallback(()=>{if(!(!l||!p.current))try{const e=_.current,n=e==null?void 0:e.contentDocument;if(!e||!(n!=null&&n.body))return;const s=n.querySelector("[data-iframe-content]")??n.body,t=s.getBoundingClientRect(),c=e.clientHeight||Number.parseFloat(e.style.height),u=n.documentElement.scrollHeight,H=Math.max(s.scrollHeight,s.offsetHeight,t.height),o=Math.max(s===n.body&&s.scrollHeight<=c?0:s.scrollHeight,s.offsetHeight,t.height,t.bottom||0),A=u>c+1?u:0,Z=Number.parseFloat(window.getComputedStyle(s).height),D=Math.abs(H-c)<=1||Math.abs(Z-c)<=1&&s.scrollHeight<=s.offsetHeight,B=Math.min(Math.max(Math.ceil(D?c:Math.max(o,A)+ae),k),ce),d=y.current,q=Math.max(o,A),U=e.clientWidth,ee=(d==null?void 0:d.document)===n&&d.width===U,E=d?c-d.viewportHeight:0,V=d?q-d.contentHeight:0,G=!!(ee&&q>c&&(E>1&&Math.abs(V-E)<=1||d.viewportDependent&&Math.abs(E)<=1&&Math.abs(V)<=1));y.current={document:n,viewportHeight:c,width:U,contentHeight:q,viewportDependent:G},G||Q($=>$===B?$:B)}catch{return}},[l]),a=i.useCallback(()=>{!l||!p.current||g.current!==null||(g.current=window.requestAnimationFrame(()=>{g.current=null,T()}))},[l,T]),j=i.useCallback(()=>{var e,n,s;if((e=h.current)==null||e.call(h),h.current=void 0,y.current=void 0,!!l)try{const t=(n=_.current)==null?void 0:n.contentDocument;if(!(t!=null&&t.body))return;let c=!0;const u=()=>{c&&a()},H=t.querySelector("[data-iframe-content]")??t.body,o=typeof ResizeObserver>"u"?void 0:new ResizeObserver(u);o==null||o.observe(H),H!==t.body&&(o==null||o.observe(t.body)),t.addEventListener("load",u,!0),t.addEventListener("error",u,!0),(s=t.fonts)==null||s.ready.then(u).catch(()=>{}),h.current=()=>{c=!1,o==null||o.disconnect(),t.removeEventListener("load",u,!0),t.removeEventListener("error",u,!0)}}catch{return}},[l,a]),Y=e=>{p.current=!0,j(),w==null||w(e),a()};return i.useEffect(()=>(p.current=x.current===f,x.current===f&&(j(),a()),x.current=f,()=>{var e;p.current=!1,(e=h.current)==null||e.call(h),R()}),[R,j,a,f]),i.useEffect(()=>{var e;if(l)return window.addEventListener("resize",a),(e=window.visualViewport)==null||e.addEventListener("resize",a),()=>{var n;window.removeEventListener("resize",a),(n=window.visualViewport)==null||n.removeEventListener("resize",a)}},[l,a]),r.jsxs("div",{className:m.wrapper,"data-component":"iframe",children:[J&&r.jsx("div",{className:m.toolbar,children:r.jsx(L.Button,{"aria-expanded":M,"aria-haspopup":"dialog",onClick:()=>b(!0),variant:"tertiary",children:X})}),r.jsx("iframe",{...I,className:z(m.iframe,S),loading:K,onLoad:Y,ref:_,referrerPolicy:F,sandbox:O,srcDoc:f,style:l?{...N,height:P,minHeight:k}:N,title:v}),!M&&r.jsx("div",{className:m["print-content"],"data-iframe-print-content":!0,children:C??r.jsx("p",{children:v})}),M&&r.jsxs(ne.Dialog,{"aria-label":`${v} fullscreen`,controls:r.jsx(te.Controls,{children:r.jsx(L.Button,{onClick:()=>b(!1),children:W})}),fullscreen:!0,header:r.jsx(re.Header,{children:r.jsx("h2",{children:v})}),open:!0,setOpen:b,children:[r.jsx("iframe",{...I,className:z(m.iframe,m["fullscreen-iframe"],S),loading:"eager",onLoad:w,referrerPolicy:F,sandbox:O,srcDoc:f,title:`${v} fullscreen`}),r.jsx("div",{className:m["print-content"],"data-iframe-print-content":!0,children:C??r.jsx("p",{children:v})})]})]})};exports.Iframe=le;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index20.css');const o=require("react/jsx-runtime"),J=require("classix"),r=require("react"),te=require("react-dom"),re=require("../dialog/index.cjs"),ne=":host{all:initial;display:block;color:#000;background:#fff;font:12pt/1.4 system-ui,sans-serif;overflow-wrap:anywhere;-webkit-print-color-adjust:exact;print-color-adjust:exact}img{max-width:100%;height:auto}table{max-width:100%;page-break-inside:auto}tr{-moz-column-break-inside:auto;break-inside:auto;page-break-inside:auto}pre{white-space:pre-wrap}",ie="_wrapper_1xjxk_1",oe="_iframe_1xjxk_5",b={wrapper:ie,iframe:oe,"fullscreen-iframe":"_fullscreen-iframe_1xjxk_11","print-content":"_print-content_1xjxk_16"},N=120,ce=12e3,se=8,ae=({children:d})=>{const[c,E]=r.useState(null),h=r.useCallback(x=>{x&&E(x.shadowRoot??x.attachShadow({mode:"open"}))},[]);return o.jsx("div",{ref:h,"data-component":"isolatedprintcontent",children:c&&te.createPortal(o.jsxs(o.Fragment,{children:[o.jsx("style",{children:ne}),d]}),c)})},ue=({accessibleLabel:d,autoResize:c=!1,className:E,fullscreenOpen:h=!1,isolatePrintContent:x=!1,loading:K="lazy",onLoad:M,onFullscreenOpenChange:_,printContent:A,referrerPolicy:C="no-referrer",sandbox:B="",srcDoc:m,style:F,...U})=>{const k=r.useRef(null),g=r.useRef(null),f=r.useRef(void 0),H=r.useRef(!0),S=r.useRef(m),R=r.useRef(void 0),[Q,Y]=r.useState(N),y=r.useRef(null);r.useLayoutEffect(()=>{h&&!y.current&&(y.current=document.activeElement instanceof HTMLElement?document.activeElement:null)},[h]),r.useEffect(()=>{var t;h||((t=y.current)!=null&&t.isConnected&&y.current.focus({preventScroll:!0}),y.current=null)},[h]);const V=r.useCallback(()=>{g.current!==null&&(window.cancelAnimationFrame(g.current),g.current=null)},[]),G=r.useCallback(()=>{if(!(!c||!H.current))try{const t=k.current,n=t==null?void 0:t.contentDocument;if(!t||!(n!=null&&n.body))return;const i=n.querySelector("[data-iframe-content]")??n.body,w=i.getBoundingClientRect(),e=t.clientHeight||Number.parseFloat(t.style.height),v=n.documentElement.scrollHeight,u=n.documentElement.offsetHeight,j=Math.max(i.scrollHeight,i.offsetHeight,w.height),p=Math.max(i===n.body&&i.scrollHeight<=e?0:i.scrollHeight,i.offsetHeight,w.height,w.bottom||0,u),s=v>e+1?v:0,D=Number.parseFloat(window.getComputedStyle(i).height),O=Math.abs(j-e)<=1||Math.abs(D-e)<=1&&i.scrollHeight<=i.offsetHeight||Math.abs(u-e)<=1&&v<=e+1&&p<=e+1,z=Math.min(Math.max(Math.ceil(O?e:Math.max(p,s)+se),N),ce),l=R.current,q=Math.max(p,s),P=t.clientWidth,ee=(l==null?void 0:l.document)===n&&l.width===P,I=l?e-l.viewportHeight:0,$=l?q-l.contentHeight:0,W=!!(ee&&q>e&&(I>1&&Math.abs($-I)<=1||l.viewportDependent&&Math.abs(I)<=1&&Math.abs($)<=1));R.current={document:n,viewportHeight:e,width:P,contentHeight:q,viewportDependent:W},W||Y(X=>X===z?X:z)}catch{return}},[c]),a=r.useCallback(()=>{!c||!H.current||g.current!==null||(g.current=window.requestAnimationFrame(()=>{g.current=null,G()}))},[c,G]),T=r.useCallback(()=>{var t,n,i,w;if((t=f.current)==null||t.call(f),f.current=void 0,R.current=void 0,!!c)try{const e=(n=k.current)==null?void 0:n.contentDocument;if(!(e!=null&&e.body))return;let v=!0;const u=()=>{v&&a()},j=e.querySelector("[data-iframe-content]")??e.body,p=((i=e.defaultView)==null?void 0:i.ResizeObserver)??window.ResizeObserver,s=p?new p(u):void 0;s==null||s.observe(j),j!==e.body&&(s==null||s.observe(e.body)),e.addEventListener("load",u,!0),e.addEventListener("error",u,!0),(w=e.fonts)==null||w.ready.then(u).catch(()=>{}),f.current=()=>{v=!1,s==null||s.disconnect(),e.removeEventListener("load",u,!0),e.removeEventListener("error",u,!0)}}catch{return}},[c,a]),Z=t=>{H.current=!0,T(),M==null||M(t),a()};r.useEffect(()=>(H.current=S.current===m,S.current===m&&(T(),a()),S.current=m,()=>{var t;H.current=!1,(t=f.current)==null||t.call(f),V()}),[V,T,a,m]),r.useEffect(()=>{var t;if(c)return window.addEventListener("resize",a),(t=window.visualViewport)==null||t.addEventListener("resize",a),()=>{var n;window.removeEventListener("resize",a),(n=window.visualViewport)==null||n.removeEventListener("resize",a)}},[c,a]);const L=o.jsx("div",{className:b["print-content"],"data-iframe-print-content":!0,children:x?o.jsx(ae,{children:A??o.jsx("p",{children:d})}):A??o.jsx("p",{children:d})});return o.jsxs("div",{className:b.wrapper,"data-component":"iframe",children:[o.jsx("iframe",{...U,className:J(b.iframe,E),loading:K,onLoad:Z,ref:k,referrerPolicy:C,sandbox:B,srcDoc:m,style:c?{...F,height:Q,minHeight:N}:F,title:d}),!h&&L,h&&o.jsxs(re.Dialog,{"aria-label":`${d} fullscreen`,fullscreen:!0,header:o.jsx("h2",{className:"print-hidden",children:d}),open:!0,setOpen:()=>_==null?void 0:_(!1),children:[o.jsx("iframe",{...U,className:J(b.iframe,b["fullscreen-iframe"],E),loading:"eager",onLoad:M,referrerPolicy:C,sandbox:B,srcDoc:m,title:`${d} fullscreen`}),L]})]})};exports.Iframe=ue;