@epam/statgpt-ui-components 0.7.0-dev.27 → 0.7.0-dev.29

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.
@@ -0,0 +1 @@
1
+ export declare const MOBILE_BREAKPOINT = 768;
@@ -2,3 +2,4 @@ export * from './alert';
2
2
  export * from './tree-view';
3
3
  export * from './series-limit';
4
4
  export * from './calendar';
5
+ export * from './breakpoints';
package/index.css CHANGED
@@ -1 +1 @@
1
- *,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.\!container{width:100%!important}.container{width:100%}@media (min-width:429px){.\!container{max-width:429px!important}.container{max-width:429px}}@media (min-width:720px){.\!container{max-width:720px!important}.container{max-width:720px}}@media (min-width:1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width:1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"\201C""\201D""\2018""\2019";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px var(--tw-prose-kbd-shadows),0 3px 0 var(--tw-prose-kbd-shadows);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start:1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body:#374151;--tw-prose-headings:#111827;--tw-prose-lead:#4b5563;--tw-prose-links:#111827;--tw-prose-bold:#111827;--tw-prose-counters:#6b7280;--tw-prose-bullets:#d1d5db;--tw-prose-hr:#e5e7eb;--tw-prose-quotes:#111827;--tw-prose-quote-borders:#e5e7eb;--tw-prose-captions:#6b7280;--tw-prose-kbd:#111827;--tw-prose-kbd-shadows:rgba(17,24,39,.1);--tw-prose-code:#111827;--tw-prose-pre-code:#e5e7eb;--tw-prose-pre-bg:#1f2937;--tw-prose-th-borders:#d1d5db;--tw-prose-td-borders:#e5e7eb;--tw-prose-invert-body:#d1d5db;--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:#9ca3af;--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:#9ca3af;--tw-prose-invert-bullets:#4b5563;--tw-prose-invert-hr:#374151;--tw-prose-invert-quotes:#f3f4f6;--tw-prose-invert-quote-borders:#374151;--tw-prose-invert-captions:#9ca3af;--tw-prose-invert-kbd:#fff;--tw-prose-invert-kbd-shadows:hsla(0,0%,100%,.1);--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:#d1d5db;--tw-prose-invert-pre-bg:rgba(0,0,0,.5);--tw-prose-invert-th-borders:#4b5563;--tw-prose-invert-td-borders:#374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.-left-\[0\.5px\]{left:-.5px}.bottom-0{bottom:0}.bottom-2{bottom:.5rem}.bottom-3{bottom:.75rem}.bottom-\[88px\]{bottom:88px}.left-0{left:0}.left-1\/2{left:50%}.left-\[-4px\]{left:-4px}.right-10{right:2.5rem}.right-3{right:.75rem}.right-\[-6px\]{right:-6px}.right-\[11px\]{right:11px}.right-\[402px\]{right:402px}.top-0\.5{top:.125rem}.top-3{top:.75rem}.top-\[26px\]{top:26px}.top-\[29px\]{top:29px}.top-full{top:100%}.z-10{z-index:10}.z-50{z-index:50}.z-\[4\]{z-index:4}.order-2{order:2}.order-3{order:3}.m-0{margin:0}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-5{margin-left:1.25rem;margin-right:1.25rem}.mx-\[-8px\]{margin-left:-8px;margin-right:-8px}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-4{margin-top:1rem;margin-bottom:1rem}.\!mb-0{margin-bottom:0!important}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-12{margin-left:3rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-6{margin-left:1.5rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-8{margin-top:2rem}.mt-\[84px\]{margin-top:84px}.mt-auto{margin-top:auto}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.\!flex{display:flex!important}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.\!size-10{width:2.5rem!important;height:2.5rem!important}.size-11{width:2.75rem;height:2.75rem}.size-3{width:.75rem;height:.75rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.size-6{width:1.5rem;height:1.5rem}.size-9{width:2.25rem;height:2.25rem}.size-\[14px\]{width:14px;height:14px}.size-\[20px\]{width:20px;height:20px}.size-full{width:100%;height:100%}.\!h-4{height:1rem!important}.\!h-6{height:1.5rem!important}.h-0{height:0}.h-10{height:2.5rem}.h-3{height:.75rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-\[14px\]{height:14px}.h-\[20px\]{height:20px}.h-\[350px\]{height:350px}.h-\[40px\]{height:40px}.h-\[44px\]{height:44px}.h-\[4px\]{height:4px}.h-\[80\%\]{height:80%}.h-\[calc\(100\%-108px\)\]{height:calc(100% - 108px)}.h-auto{height:auto}.h-full{height:100%}.max-h-96{max-height:24rem}.max-h-\[32px\]{max-height:32px}.max-h-\[400px\]{max-height:400px}.max-h-\[48px\]{max-height:48px}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-12{min-height:3rem}.min-h-\[100px\]{min-height:100px}.min-h-\[200px\]{min-height:200px}.min-h-\[300px\]{min-height:300px}.min-h-\[400px\]{min-height:400px}.min-h-\[72px\]{min-height:72px}.min-h-\[80px\]{min-height:80px}.\!w-4{width:1rem!important}.\!w-fit{width:-moz-fit-content!important;width:fit-content!important}.w-0\.5{width:.125rem}.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-\[100\%\]{width:100%}.w-\[176px\]{width:176px}.w-\[20px\]{width:20px}.w-\[24px\]{width:24px}.w-\[300px\]{width:300px}.w-\[338px\]{width:338px}.w-\[362px\]{width:362px}.w-\[363px\]{width:363px}.w-\[40px\]{width:40px}.w-\[422px\]{width:422px}.w-\[44px\]{width:44px}.w-\[51px\]{width:51px}.w-\[64px\]{width:64px}.w-\[fit-content\]{width:-moz-fit-content;width:fit-content}.w-\[min\(380px\2c calc\(100vw-24px\)\)\]{width:min(380px,calc(100vw - 24px))}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-px{width:1px}.min-w-0{min-width:0}.min-w-\[200px\]{min-width:200px}.max-w-\[130px\]{max-width:130px}.max-w-\[30\%\]{max-width:30%}.max-w-\[350px\]{max-width:350px}.max-w-\[500px\]{max-width:500px}.max-w-\[65\%\]{max-width:65%}.max-w-\[784px\]{max-width:784px}.max-w-\[calc\(100vw-24px\)\]{max-width:calc(100vw - 24px)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.-translate-x-1\/2{--tw-translate-x:-50%}.-translate-x-1\/2,.rotate-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-0{--tw-rotate:0deg}.rotate-180{--tw-rotate:180deg}.rotate-180,.rotate-45{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-45{--tw-rotate:45deg}.rotate-90{--tw-rotate:90deg}.rotate-90,.rotate-\[180deg\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-\[180deg\]{--tw-rotate:180deg}.rotate-\[90deg\]{--tw-rotate:90deg}.rotate-\[90deg\],.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\!cursor-not-allowed{cursor:not-allowed!important}.cursor-default{cursor:default}.cursor-grab{cursor:grab}.cursor-grabbing{cursor:grabbing}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.list-none{list-style-type:none}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.content-center{align-content:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.gap-x-8{-moz-column-gap:2rem;column-gap:2rem}.gap-x-\[4px\]{-moz-column-gap:4px;column-gap:4px}.gap-y-1{row-gap:.25rem}.gap-y-3{row-gap:.75rem}.gap-y-4{row-gap:1rem}.gap-y-6{row-gap:1.5rem}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem*var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px*var(--tw-divide-y-reverse))}.divide-neutrals-400>:not([hidden])~:not([hidden]){border-color:var(--neutrals-400,#e9eef6)}.\!self-center{align-self:center!important}.self-center{align-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;white-space:nowrap}.text-ellipsis,.truncate{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-\[100px\]{border-radius:100px}.rounded-\[20px\]{border-radius:20px}.rounded-\[50\%\]{border-radius:50%}.rounded-\[5px\]{border-radius:5px}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.border{border-width:1px}.border-0{border-width:0}.border-\[1px\]{border-width:1px}.border-\[2px\]{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-l-2,.border-l-\[2px\]{border-left-width:2px}.border-t{border-top-width:1px}.border-t-2{border-top-width:2px}.\!border-none{border-style:none!important}.border-none{border-style:none}.border-accent-300{border-color:var(--accent-300,#90a1ff)}.border-accent-700{border-color:var(--accent-700,#0094ff)}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity,1))}.border-hues-200{border-color:var(--hues-200,#cbd0ff)}.border-hues-900{border-color:var(--hues-900,#0d2282)}.border-neutrals-200{border-color:var(--neutrals-200,#f3f5ff)}.border-neutrals-400{border-color:var(--neutrals-400,#e9eef6)}.border-neutrals-500{border-color:var(--neutrals-500,#dddfe8)}.border-neutrals-600{border-color:var(--neutrals-600,#cfcfcf)}.border-neutrals-800{border-color:var(--neutrals-800,#757575)}.border-primary{border-color:var(--primary,#414fff)}.border-red-400{--tw-border-opacity:1;border-color:rgb(248 113 113/var(--tw-border-opacity,1))}.border-semantic-error{border-color:var(--semantic-error,#d6323e)}.border-semantic-warning{border-color:var(--semantic-warning,#d4c000)}.border-transparent{border-color:transparent}.border-b-transparent{border-bottom-color:transparent}.border-l-neutral-500{--tw-border-opacity:1;border-left-color:rgb(115 115 115/var(--tw-border-opacity,1))}.bg-accent-300{background-color:var(--accent-300,#90a1ff)}.bg-blackout{background-color:var(--blackout,#090d13b3)}.bg-blue-50{--tw-bg-opacity:1;background-color:rgb(239 246 255/var(--tw-bg-opacity,1))}.bg-gradients-light{background-color:var(--gradients-light,#73e1e5)}.bg-highlight{background-color:var(--highlight,#bedaff)}.bg-hues-100{background-color:var(--hues-100,#dfe6ff)}.bg-hues-800{background-color:var(--hues-800,#354487)}.bg-neutral-300{--tw-bg-opacity:1;background-color:rgb(212 212 212/var(--tw-bg-opacity,1))}.bg-neutrals-100{background-color:var(--neutrals-100,#f3f6fb)}.bg-neutrals-200{background-color:var(--neutrals-200,#f3f5ff)}.bg-neutrals-300{background-color:var(--neutrals-300,#f0f4f8)}.bg-neutrals-600{background-color:var(--neutrals-600,#cfcfcf)}.bg-neutrals-700{background-color:var(--neutrals-700,#89898b)}.bg-primary{background-color:var(--primary,#414fff)}.bg-red-50{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity,1))}.bg-semantic-error-light{background-color:var(--semantic-error-light,#fbeaec)}.bg-semantic-warning{background-color:var(--semantic-warning,#d4c000)}.bg-semantic-warning-light{background-color:var(--semantic-warning-light,#fbf9e5)}.bg-transparent{background-color:transparent}.bg-white{background-color:var(--white,#fff)}.bg-\[url\(\'\/images\/left-panel-bg\.svg\'\)\]{background-image:url(/images/left-panel-bg.svg)}.bg-cover{background-size:cover}.bg-center{background-position:50%}.bg-no-repeat{background-repeat:no-repeat}.\!fill-neutrals-1000{fill:var(--neutrals-1000,#2b2b2d)!important}.fill-primary{fill:var(--primary,#414fff)}.\!p-0{padding:0!important}.\!p-1{padding:.25rem!important}.\!p-2{padding:.5rem!important}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[10px\]{padding:10px}.p-\[7px\]{padding:7px}.\!px-\[45px\]{padding-left:45px!important;padding-right:45px!important}.\!py-\[14px\]{padding-top:14px!important;padding-bottom:14px!important}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-\[10px\]{padding-left:10px;padding-right:10px}.px-\[16px\]{padding-left:16px;padding-right:16px}.py-0{padding-top:0;padding-bottom:0}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-\[14px\]{padding-top:14px;padding-bottom:14px}.py-\[6px\]{padding-top:6px;padding-bottom:6px}.pb-0{padding-bottom:0}.pb-1{padding-bottom:.25rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pb-8{padding-bottom:2rem}.pb-\[14px\]{padding-bottom:14px}.pb-\[88px\]{padding-bottom:88px}.pl-1{padding-left:.25rem}.pl-2{padding-left:.5rem}.pl-4{padding-left:1rem}.pl-6{padding-left:1.5rem}.pl-7{padding-left:1.75rem}.pl-\[15\%\]{padding-left:15%}.pr-0\.5{padding-right:.125rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pr-6{padding-right:1.5rem}.pr-\[8\%\]{padding-right:8%}.pt-0{padding-top:0}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}.pt-\[20px\]{padding-top:20px}.pt-\[72px\]{padding-top:72px}.pt-\[8px\]{padding-top:8px}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-start{text-align:start}.text-end{text-align:end}.align-top{vertical-align:top}.align-middle{vertical-align:middle}.text-\[8px\]{font-size:8px}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.\!text-neutrals-1000{color:var(--neutrals-1000,#2b2b2d)!important}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.text-hues-800{color:var(--hues-800,#354487)}.text-hues-900{color:var(--hues-900,#0d2282)}.text-neutral-700{--tw-text-opacity:1;color:rgb(64 64 64/var(--tw-text-opacity,1))}.text-neutral-800{--tw-text-opacity:1;color:rgb(38 38 38/var(--tw-text-opacity,1))}.text-neutrals-1000{color:var(--neutrals-1000,#2b2b2d)}.text-neutrals-400{color:var(--neutrals-400,#e9eef6)}.text-neutrals-500{color:var(--neutrals-500,#dddfe8)}.text-neutrals-600{color:var(--neutrals-600,#cfcfcf)}.text-neutrals-700{color:var(--neutrals-700,#89898b)}.text-neutrals-800{color:var(--neutrals-800,#757575)}.text-neutrals-900{color:var(--neutrals-900,#3f404a)}.text-primary{color:var(--primary,#414fff)}.text-semantic-error{color:var(--semantic-error,#d6323e)}.text-semantic-success{color:var(--semantic-success,#00cc6f)}.text-semantic-warning{color:var(--semantic-warning,#d4c000)}.text-transparent{color:transparent}.text-white{color:var(--white,#fff)}.underline{text-decoration-line:underline}.opacity-50{opacity:.5}.opacity-\[0\.7\]{opacity:.7}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-none{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}.outline-none{outline:2px solid transparent;outline-offset:2px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.\!filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-150,.transition-transform{transition-duration:.15s}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.\[writing-mode\:vertical-rl\]{writing-mode:vertical-rl}.first\:mt-0:first-child{margin-top:0}.last\:mb-8:last-child{margin-bottom:2rem}.last\:mr-4:last-child{margin-right:1rem}.last\:pb-0:last-child{padding-bottom:0}.hover\:border-hues-600:hover{border-color:var(--hues-600,#9da4ff)}.hover\:bg-hues-100:hover{background-color:var(--hues-100,#dfe6ff)}.hover\:bg-neutrals-100:hover{background-color:var(--neutrals-100,#f3f6fb)}.hover\:bg-neutrals-400:hover{background-color:var(--neutrals-400,#e9eef6)}.hover\:text-blue-700:hover{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity,1))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.disabled\:hover\:bg-neutrals-100:hover:disabled{background-color:var(--neutrals-100,#f3f6fb)}.disabled\:hover\:bg-transparent:hover:disabled{background-color:transparent}.group:hover .group-hover\:flex{display:flex}.group\/drag-handle:hover .group-hover\/drag-handle\:text-primary{color:var(--primary,#414fff)}.group:hover .group-hover\:opacity-100{opacity:1}@media (max-width:719px){.sm\:top-4{top:1rem}.sm\:flex{display:flex}.sm\:hidden{display:none}.sm\:h-14{height:3.5rem}.sm\:h-\[24px\]{height:24px}.sm\:h-\[32px\]{height:32px}.sm\:h-\[calc\(100\%-80px\)\]{height:calc(100% - 80px)}.sm\:w-\[24px\]{width:24px}.sm\:w-\[32px\]{width:32px}.sm\:w-\[calc\(100\%-30px\)\]{width:calc(100% - 30px)}.sm\:w-full{width:100%}.sm\:max-w-full{max-width:100%}.sm\:flex-col{flex-direction:column}.sm\:flex-col-reverse{flex-direction:column-reverse}.sm\:items-center{align-items:center}.sm\:justify-center{justify-content:center}.sm\:gap-y-4{row-gap:1rem}.sm\:border-0{border-width:0}.sm\:p-0{padding:0}.sm\:p-4{padding:1rem}.sm\:px-0{padding-left:0;padding-right:0}.sm\:px-4{padding-left:1rem;padding-right:1rem}.sm\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}.sm\:pb-2{padding-bottom:.5rem}.sm\:pt-10{padding-top:2.5rem}.sm\:text-center{text-align:center}.sm\:hover\:bg-white:hover{background-color:var(--white,#fff)}}@media (max-width:1023px){.md\:hidden{display:none}}@media (max-width:1279px){.lg\:right-6{right:1.5rem}.lg\:right-\[386px\]{right:386px}}@media (min-width:720px){.sm-min\:px-4{padding-left:1rem;padding-right:1rem}}.\[\&\>svg\]\:h-\[16px\]>svg{height:16px}.\[\&\>svg\]\:w-\[16px\]>svg{width:16px}.\[\&_\.cursors-layer\]\:hidden .cursors-layer{display:none}
1
+ *,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.\!container{width:100%!important}.container{width:100%}@media (min-width:429px){.\!container{max-width:429px!important}.container{max-width:429px}}@media (min-width:720px){.\!container{max-width:720px!important}.container{max-width:720px}}@media (min-width:1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width:1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"\201C""\201D""\2018""\2019";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px var(--tw-prose-kbd-shadows),0 3px 0 var(--tw-prose-kbd-shadows);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start:1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body:#374151;--tw-prose-headings:#111827;--tw-prose-lead:#4b5563;--tw-prose-links:#111827;--tw-prose-bold:#111827;--tw-prose-counters:#6b7280;--tw-prose-bullets:#d1d5db;--tw-prose-hr:#e5e7eb;--tw-prose-quotes:#111827;--tw-prose-quote-borders:#e5e7eb;--tw-prose-captions:#6b7280;--tw-prose-kbd:#111827;--tw-prose-kbd-shadows:rgba(17,24,39,.1);--tw-prose-code:#111827;--tw-prose-pre-code:#e5e7eb;--tw-prose-pre-bg:#1f2937;--tw-prose-th-borders:#d1d5db;--tw-prose-td-borders:#e5e7eb;--tw-prose-invert-body:#d1d5db;--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:#9ca3af;--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:#9ca3af;--tw-prose-invert-bullets:#4b5563;--tw-prose-invert-hr:#374151;--tw-prose-invert-quotes:#f3f4f6;--tw-prose-invert-quote-borders:#374151;--tw-prose-invert-captions:#9ca3af;--tw-prose-invert-kbd:#fff;--tw-prose-invert-kbd-shadows:hsla(0,0%,100%,.1);--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:#d1d5db;--tw-prose-invert-pre-bg:rgba(0,0,0,.5);--tw-prose-invert-th-borders:#4b5563;--tw-prose-invert-td-borders:#374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.-left-\[0\.5px\]{left:-.5px}.bottom-0{bottom:0}.bottom-2{bottom:.5rem}.bottom-3{bottom:.75rem}.bottom-\[88px\]{bottom:88px}.left-0{left:0}.left-1\/2{left:50%}.left-\[-4px\]{left:-4px}.right-10{right:2.5rem}.right-3{right:.75rem}.right-\[-6px\]{right:-6px}.right-\[11px\]{right:11px}.right-\[402px\]{right:402px}.top-0\.5{top:.125rem}.top-3{top:.75rem}.top-\[26px\]{top:26px}.top-\[29px\]{top:29px}.top-full{top:100%}.z-10{z-index:10}.z-50{z-index:50}.z-\[4\]{z-index:4}.order-2{order:2}.order-3{order:3}.m-0{margin:0}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-5{margin-left:1.25rem;margin-right:1.25rem}.mx-\[-8px\]{margin-left:-8px;margin-right:-8px}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-4{margin-top:1rem;margin-bottom:1rem}.\!mb-0{margin-bottom:0!important}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-12{margin-left:3rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-6{margin-left:1.5rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-8{margin-top:2rem}.mt-\[84px\]{margin-top:84px}.mt-auto{margin-top:auto}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.\!flex{display:flex!important}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.\!size-10{width:2.5rem!important;height:2.5rem!important}.size-11{width:2.75rem;height:2.75rem}.size-3{width:.75rem;height:.75rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.size-6{width:1.5rem;height:1.5rem}.size-9{width:2.25rem;height:2.25rem}.size-\[14px\]{width:14px;height:14px}.size-\[20px\]{width:20px;height:20px}.size-\[44px\]{width:44px;height:44px}.size-full{width:100%;height:100%}.\!h-4{height:1rem!important}.\!h-6{height:1.5rem!important}.h-0{height:0}.h-10{height:2.5rem}.h-3{height:.75rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-\[14px\]{height:14px}.h-\[350px\]{height:350px}.h-\[40px\]{height:40px}.h-\[44px\]{height:44px}.h-\[4px\]{height:4px}.h-\[80\%\]{height:80%}.h-\[calc\(100\%-108px\)\]{height:calc(100% - 108px)}.h-auto{height:auto}.h-full{height:100%}.max-h-96{max-height:24rem}.max-h-\[120px\]{max-height:120px}.max-h-\[32px\]{max-height:32px}.max-h-\[400px\]{max-height:400px}.max-h-\[48px\]{max-height:48px}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-12{min-height:3rem}.min-h-\[100px\]{min-height:100px}.min-h-\[200px\]{min-height:200px}.min-h-\[280px\]{min-height:280px}.min-h-\[300px\]{min-height:300px}.min-h-\[360px\]{min-height:360px}.min-h-\[400px\]{min-height:400px}.min-h-\[500px\]{min-height:500px}.min-h-\[72px\]{min-height:72px}.min-h-\[80px\]{min-height:80px}.\!w-4{width:1rem!important}.\!w-fit{width:-moz-fit-content!important;width:fit-content!important}.w-0\.5{width:.125rem}.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-\[100\%\]{width:100%}.w-\[176px\]{width:176px}.w-\[24px\]{width:24px}.w-\[300px\]{width:300px}.w-\[338px\]{width:338px}.w-\[362px\]{width:362px}.w-\[363px\]{width:363px}.w-\[40px\]{width:40px}.w-\[422px\]{width:422px}.w-\[44px\]{width:44px}.w-\[51px\]{width:51px}.w-\[64px\]{width:64px}.w-\[fit-content\]{width:-moz-fit-content;width:fit-content}.w-\[min\(380px\2c calc\(100vw-24px\)\)\]{width:min(380px,calc(100vw - 24px))}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-px{width:1px}.min-w-0{min-width:0}.min-w-\[200px\]{min-width:200px}.max-w-\[130px\]{max-width:130px}.max-w-\[30\%\]{max-width:30%}.max-w-\[350px\]{max-width:350px}.max-w-\[500px\]{max-width:500px}.max-w-\[65\%\]{max-width:65%}.max-w-\[784px\]{max-width:784px}.max-w-\[calc\(100vw-24px\)\]{max-width:calc(100vw - 24px)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.-translate-x-1\/2{--tw-translate-x:-50%}.-translate-x-1\/2,.rotate-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-0{--tw-rotate:0deg}.rotate-180{--tw-rotate:180deg}.rotate-180,.rotate-45{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-45{--tw-rotate:45deg}.rotate-90{--tw-rotate:90deg}.rotate-90,.rotate-\[180deg\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-\[180deg\]{--tw-rotate:180deg}.rotate-\[90deg\]{--tw-rotate:90deg}.rotate-\[90deg\],.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\!cursor-not-allowed{cursor:not-allowed!important}.cursor-default{cursor:default}.cursor-grab{cursor:grab}.cursor-grabbing{cursor:grabbing}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.list-none{list-style-type:none}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.content-center{align-content:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.gap-x-8{-moz-column-gap:2rem;column-gap:2rem}.gap-x-\[4px\]{-moz-column-gap:4px;column-gap:4px}.gap-y-1{row-gap:.25rem}.gap-y-3{row-gap:.75rem}.gap-y-4{row-gap:1rem}.gap-y-6{row-gap:1.5rem}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem*var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px*var(--tw-divide-y-reverse))}.divide-neutrals-400>:not([hidden])~:not([hidden]){border-color:var(--neutrals-400,#e9eef6)}.\!self-center{align-self:center!important}.self-center{align-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;white-space:nowrap}.text-ellipsis,.truncate{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-\[100px\]{border-radius:100px}.rounded-\[20px\]{border-radius:20px}.rounded-\[50\%\]{border-radius:50%}.rounded-\[5px\]{border-radius:5px}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.border{border-width:1px}.border-0{border-width:0}.border-\[1px\]{border-width:1px}.border-\[2px\]{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-l-2,.border-l-\[2px\]{border-left-width:2px}.border-t{border-top-width:1px}.border-t-2{border-top-width:2px}.\!border-none{border-style:none!important}.border-none{border-style:none}.border-accent-300{border-color:var(--accent-300,#90a1ff)}.border-accent-700{border-color:var(--accent-700,#0094ff)}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity,1))}.border-hues-200{border-color:var(--hues-200,#cbd0ff)}.border-hues-900{border-color:var(--hues-900,#0d2282)}.border-neutrals-200{border-color:var(--neutrals-200,#f3f5ff)}.border-neutrals-400{border-color:var(--neutrals-400,#e9eef6)}.border-neutrals-500{border-color:var(--neutrals-500,#dddfe8)}.border-neutrals-600{border-color:var(--neutrals-600,#cfcfcf)}.border-neutrals-800{border-color:var(--neutrals-800,#757575)}.border-primary{border-color:var(--primary,#414fff)}.border-red-400{--tw-border-opacity:1;border-color:rgb(248 113 113/var(--tw-border-opacity,1))}.border-semantic-error{border-color:var(--semantic-error,#d6323e)}.border-semantic-warning{border-color:var(--semantic-warning,#d4c000)}.border-transparent{border-color:transparent}.border-b-transparent{border-bottom-color:transparent}.border-l-neutral-500{--tw-border-opacity:1;border-left-color:rgb(115 115 115/var(--tw-border-opacity,1))}.bg-accent-300{background-color:var(--accent-300,#90a1ff)}.bg-blackout{background-color:var(--blackout,#090d13b3)}.bg-blue-50{--tw-bg-opacity:1;background-color:rgb(239 246 255/var(--tw-bg-opacity,1))}.bg-gradients-light{background-color:var(--gradients-light,#73e1e5)}.bg-highlight{background-color:var(--highlight,#bedaff)}.bg-hues-100{background-color:var(--hues-100,#dfe6ff)}.bg-hues-800{background-color:var(--hues-800,#354487)}.bg-neutral-300{--tw-bg-opacity:1;background-color:rgb(212 212 212/var(--tw-bg-opacity,1))}.bg-neutrals-100{background-color:var(--neutrals-100,#f3f6fb)}.bg-neutrals-200{background-color:var(--neutrals-200,#f3f5ff)}.bg-neutrals-300{background-color:var(--neutrals-300,#f0f4f8)}.bg-neutrals-600{background-color:var(--neutrals-600,#cfcfcf)}.bg-neutrals-700{background-color:var(--neutrals-700,#89898b)}.bg-primary{background-color:var(--primary,#414fff)}.bg-red-50{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity,1))}.bg-semantic-error-light{background-color:var(--semantic-error-light,#fbeaec)}.bg-semantic-warning{background-color:var(--semantic-warning,#d4c000)}.bg-semantic-warning-light{background-color:var(--semantic-warning-light,#fbf9e5)}.bg-transparent{background-color:transparent}.bg-white{background-color:var(--white,#fff)}.bg-\[url\(\'\/images\/left-panel-bg\.svg\'\)\]{background-image:url(/images/left-panel-bg.svg)}.bg-cover{background-size:cover}.bg-center{background-position:50%}.bg-no-repeat{background-repeat:no-repeat}.\!fill-neutrals-1000{fill:var(--neutrals-1000,#2b2b2d)!important}.fill-primary{fill:var(--primary,#414fff)}.\!p-0{padding:0!important}.\!p-1{padding:.25rem!important}.\!p-2{padding:.5rem!important}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[10px\]{padding:10px}.p-\[7px\]{padding:7px}.\!px-\[45px\]{padding-left:45px!important;padding-right:45px!important}.\!py-\[14px\]{padding-top:14px!important;padding-bottom:14px!important}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-\[10px\]{padding-left:10px;padding-right:10px}.px-\[16px\]{padding-left:16px;padding-right:16px}.py-0{padding-top:0;padding-bottom:0}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-\[14px\]{padding-top:14px;padding-bottom:14px}.py-\[6px\]{padding-top:6px;padding-bottom:6px}.pb-0{padding-bottom:0}.pb-1{padding-bottom:.25rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pb-8{padding-bottom:2rem}.pb-\[14px\]{padding-bottom:14px}.pb-\[88px\]{padding-bottom:88px}.pl-1{padding-left:.25rem}.pl-2{padding-left:.5rem}.pl-4{padding-left:1rem}.pl-6{padding-left:1.5rem}.pl-7{padding-left:1.75rem}.pl-\[15\%\]{padding-left:15%}.pr-0\.5{padding-right:.125rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pr-6{padding-right:1.5rem}.pr-\[8\%\]{padding-right:8%}.pt-0{padding-top:0}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}.pt-\[20px\]{padding-top:20px}.pt-\[72px\]{padding-top:72px}.pt-\[8px\]{padding-top:8px}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-start{text-align:start}.text-end{text-align:end}.align-top{vertical-align:top}.align-middle{vertical-align:middle}.text-\[8px\]{font-size:8px}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.\!text-neutrals-1000{color:var(--neutrals-1000,#2b2b2d)!important}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.text-hues-800{color:var(--hues-800,#354487)}.text-hues-900{color:var(--hues-900,#0d2282)}.text-neutral-700{--tw-text-opacity:1;color:rgb(64 64 64/var(--tw-text-opacity,1))}.text-neutral-800{--tw-text-opacity:1;color:rgb(38 38 38/var(--tw-text-opacity,1))}.text-neutrals-1000{color:var(--neutrals-1000,#2b2b2d)}.text-neutrals-400{color:var(--neutrals-400,#e9eef6)}.text-neutrals-500{color:var(--neutrals-500,#dddfe8)}.text-neutrals-600{color:var(--neutrals-600,#cfcfcf)}.text-neutrals-700{color:var(--neutrals-700,#89898b)}.text-neutrals-800{color:var(--neutrals-800,#757575)}.text-neutrals-900{color:var(--neutrals-900,#3f404a)}.text-primary{color:var(--primary,#414fff)}.text-semantic-error{color:var(--semantic-error,#d6323e)}.text-semantic-success{color:var(--semantic-success,#00cc6f)}.text-semantic-warning{color:var(--semantic-warning,#d4c000)}.text-transparent{color:transparent}.text-white{color:var(--white,#fff)}.underline{text-decoration-line:underline}.opacity-50{opacity:.5}.opacity-\[0\.7\]{opacity:.7}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-none{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}.outline-none{outline:2px solid transparent;outline-offset:2px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.\!filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-150,.transition-transform{transition-duration:.15s}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.\[writing-mode\:vertical-rl\]{writing-mode:vertical-rl}.first\:mt-0:first-child{margin-top:0}.last\:mb-8:last-child{margin-bottom:2rem}.last\:mr-4:last-child{margin-right:1rem}.last\:pb-0:last-child{padding-bottom:0}.hover\:border-hues-600:hover{border-color:var(--hues-600,#9da4ff)}.hover\:bg-hues-100:hover{background-color:var(--hues-100,#dfe6ff)}.hover\:bg-neutrals-100:hover{background-color:var(--neutrals-100,#f3f6fb)}.hover\:bg-neutrals-400:hover{background-color:var(--neutrals-400,#e9eef6)}.hover\:text-blue-700:hover{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity,1))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.disabled\:hover\:bg-neutrals-100:hover:disabled{background-color:var(--neutrals-100,#f3f6fb)}.disabled\:hover\:bg-transparent:hover:disabled{background-color:transparent}.group:hover .group-hover\:flex{display:flex}.group\/drag-handle:hover .group-hover\/drag-handle\:text-primary{color:var(--primary,#414fff)}.group:hover .group-hover\:opacity-100{opacity:1}@media (max-width:719px){.sm\:top-4{top:1rem}.sm\:flex{display:flex}.sm\:hidden{display:none}.sm\:h-14{height:3.5rem}.sm\:h-\[24px\]{height:24px}.sm\:h-\[32px\]{height:32px}.sm\:h-\[calc\(100\%-80px\)\]{height:calc(100% - 80px)}.sm\:w-\[24px\]{width:24px}.sm\:w-\[32px\]{width:32px}.sm\:w-\[calc\(100\%-30px\)\]{width:calc(100% - 30px)}.sm\:w-full{width:100%}.sm\:max-w-full{max-width:100%}.sm\:flex-col{flex-direction:column}.sm\:flex-col-reverse{flex-direction:column-reverse}.sm\:items-center{align-items:center}.sm\:justify-center{justify-content:center}.sm\:gap-y-4{row-gap:1rem}.sm\:border-0{border-width:0}.sm\:p-0{padding:0}.sm\:p-4{padding:1rem}.sm\:px-0{padding-left:0;padding-right:0}.sm\:px-4{padding-left:1rem;padding-right:1rem}.sm\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}.sm\:pb-2{padding-bottom:.5rem}.sm\:pt-10{padding-top:2.5rem}.sm\:text-center{text-align:center}.sm\:hover\:bg-white:hover{background-color:var(--white,#fff)}}@media (max-width:1023px){.md\:hidden{display:none}}@media (max-width:1279px){.lg\:right-6{right:1.5rem}.lg\:right-\[386px\]{right:386px}}@media (max-width:768px){.mobile\:h-auto{height:auto}.mobile\:w-full{width:100%}.mobile\:flex-none{flex:none}.mobile\:overflow-visible{overflow:visible}.mobile\:border-0{border-width:0}.mobile\:px-1{padding-left:.25rem;padding-right:.25rem}}@media (min-width:720px){.sm-min\:px-4{padding-left:1rem;padding-right:1rem}}.\[\&\>svg\]\:h-\[16px\]>svg{height:16px}.\[\&\>svg\]\:w-\[16px\]>svg{width:16px}.\[\&_\.cursors-layer\]\:hidden .cursors-layer{display:none}.\[\&_svg\]\:size-\[44px\] svg{width:44px;height:44px}
package/index.js CHANGED
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,a)=>(a=n==null?{}:e(i(n)),o(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));let c=require("react");c=s(c);let l=require("classnames");l=s(l);let u=require("@tabler/icons-react"),d=require("react/jsx-runtime"),f=require("tailwind-merge"),p=require("react-flatpickr");p=s(p);let m=require("@epam/statgpt-shared-toolkit"),h=require("@floating-ui/react"),g=require("@dnd-kit/core"),_=require("@dnd-kit/sortable"),v=require("@dnd-kit/utilities");var y=({title:e,btnClassNames:t,iconWidth:n,iconHeight:r,onClick:i})=>(0,d.jsx)(`button`,{type:`button`,"aria-label":`button`,className:t,title:e,onClick:i,children:(0,d.jsx)(u.IconX,{height:r||20,width:n||20})}),b=function(e){return e.INFO=`info`,e.ERROR=`error`,e.SUCCESS=`success`,e.IN_PROGRESS=`in_progress`,e}({}),x=3e4,S=({alertDetails:e,infoIcon:t,successIcon:n,errorIcon:r,onClose:i,closeButtonTitle:a,children:o})=>{let s=e?.type,u=s===b.IN_PROGRESS||s===b.INFO,f=()=>u?`alert-in-progress`:s===b.SUCCESS?`alert-success`:`alert-error`,p=u?t:s===b.SUCCESS?n:s===b.ERROR?r:null,m=e?.text;return(0,c.useEffect)(()=>{if(!e||u)return;let t=setTimeout(()=>{i?.()},x);return()=>clearTimeout(t)},[e,u,i]),(0,d.jsx)(`div`,{className:(0,l.default)(`alert alert-shadow fixed bottom-3 right-3 z-10 w-[min(380px,calc(100vw-24px))] max-w-[calc(100vw-24px)]`,f()),children:(0,d.jsxs)(`div`,{className:`alert-content flex items-start`,children:[p&&(0,d.jsx)(`div`,{className:`alert-icon`,children:p}),(0,d.jsxs)(`div`,{className:`flex min-w-0 flex-1 flex-col gap-2`,children:[(0,d.jsx)(`h3`,{className:`alert-title truncate`,children:e?.title}),o??(m&&(0,d.jsx)(`div`,{className:`alert-text whitespace-pre-line break-words`,title:m,children:m}))]}),(0,d.jsx)(y,{title:a,onClick:i})]})})},C=()=>(0,d.jsx)(`div`,{className:`flex h-full items-center justify-center`,children:(0,d.jsx)(`div`,{className:`loader`})}),w=(0,f.extendTailwindMerge)({extend:{classGroups:{typography:[`h1`,`h2`,`h3`,`h4`,`h5`,`body-1`,`body-2`,`body-3`,`caption`]}}});function T(...e){return w((0,l.default)(...e))}var E=({buttonClassName:e,textClassName:t,isLoading:n=!1,title:r,disabled:i,iconAfter:a,iconBefore:o,onClick:s,isSmallButton:c})=>{let u=T([c?`font-semibold`:``,a?`mr-2`:``,o?`ml-2`:``,t]);return(0,d.jsxs)(`button`,{type:`button`,className:(0,l.default)(`base-button`,e,c?`small-button`:``),disabled:i||n,"aria-label":`button`,onClick:e=>s?.(e),title:r,children:[o,n&&(0,d.jsx)(C,{}),r?c?(0,d.jsx)(`h4`,{className:u,children:r}):(0,d.jsx)(`h3`,{className:u,children:r}):null,a]})};function D(e=719){let[t,n]=(0,c.useState)(()=>typeof window<`u`?window.innerWidth<e:!1);return(0,c.useEffect)(()=>{let t=window.matchMedia(`(max-width: ${e}px)`),r=e=>{n(e.matches)};return n(t.matches),t.addEventListener(`change`,r),()=>t.removeEventListener(`change`,r)},[e]),t}function ee(e,t){let n=(0,c.useRef)(null);return(0,c.useCallback)((...r)=>{n.current&&clearTimeout(n.current),n.current=setTimeout(()=>{e(...r)},t)},[e,t])}var te=24,ne=24,O=1e3,re=24,k=({label:e,onChange:t,value:n,options:r,calendarResolution:i=m.CalendarResolution.DAY,id:a,icon:o,isEndDate:s})=>{let l=(0,c.useRef)(null),f=D();(0,c.useEffect)(()=>{let t=l?.current;t&&t.querySelector(`input`)?.setAttribute(`aria-label`,e)},[e]);let h={...r,disableMobile:!0,defaultDate:i===m.CalendarResolution.MONTH?new Date(n.getFullYear(),n.getMonth()):n};return(0,d.jsxs)(`div`,{className:`calendar relative`,ref:l,children:[(0,d.jsx)(`div`,{className:`calendar-title mb-1`,children:e}),(0,d.jsx)(`label`,{htmlFor:a,className:`absolute right-[11px] top-[29px] cursor-pointer`,children:o||(0,d.jsx)(u.IconCalendarEvent,{})}),(0,d.jsx)(p.default,{defaultValue:(i===m.CalendarResolution.MONTH?new Date(n.getFullYear(),n.getMonth()):n)?.toDateString(),options:h,onChange:e=>{t(e[0])},onOpen:[(e,t,n)=>{if(i===m.CalendarResolution.MONTH&&e.length>0){let t=r.minDate,i=r.maxDate,a=e[0].getFullYear(),o=n.calendarContainer,s=`flatpickr-disabled`,c=o.querySelectorAll(`.flatpickr-monthSelect-month`),l=o.querySelectorAll(`.flatpickr-next-month`)[0],u=o.querySelectorAll(`.flatpickr-prev-month`)[0];a===i.getFullYear()&&l.classList.add(s),a===t.getFullYear()&&u.classList.add(s),(a===t.getFullYear()||a===i.getFullYear())&&c.forEach(e=>{e.classList.remove(s);let n=new Date(e.getAttribute(`aria-label`)),r=n.getFullYear()===t.getFullYear()&&n.getMonth()===t.getMonth(),a=n.getFullYear()===i.getFullYear()&&n.getMonth()===i.getMonth();r||a||(n<t||n>i)&&e.classList.add(s)})}setTimeout(()=>{let e=n.calendarContainer,t=n._input?.getBoundingClientRect();e&&(e.style.top=`${t.top-e.offsetHeight-8}px`,e.style.width=`${e.style.width}px`,s?(e.style.right=`${window.innerWidth-t.right-(f?24:0)}px`,e.style.left=`auto`):e.style.left=`${t.left}px`)},0)}],onReady:[(e,t,n)=>{let r=`calendar__${i===m.CalendarResolution.MONTH?`month`:`day`}`;n.calendarContainer&&n.calendarContainer.classList.add(r)}],id:a})]})},A=({label:e,id:t,checked:n,indeterminate:r=!1,checkboxIcon:i,onChange:a,disabled:o=!1,disabledScope:s=`full`,className:f,stopPropagation:p=!0})=>{let m=(0,c.useRef)(null);(0,c.useEffect)(()=>{m.current&&(m.current.indeterminate=!n&&r)},[n,r]);let h=(0,c.useCallback)(e=>{p&&e.stopPropagation()},[p]),g=(0,c.useCallback)(e=>{p&&e.stopPropagation(),a?.(t,e.target.checked)},[a,t,p]);return(0,d.jsxs)(`label`,{htmlFor:t,onClick:h,className:T(`flex min-w-0 items-center py-1 shrink-0`,o?`cursor-not-allowed`:`cursor-pointer`,o&&s===`full`&&`opacity-50`,f),children:[(0,d.jsx)(`span`,{className:(0,l.default)(`checkbox-button relative flex size-[14px] items-center justify-center`,o&&s===`icon`&&`opacity-50`),"aria-hidden":!0,children:(()=>{if(n)return i||(0,d.jsx)(u.IconSquareCheckFilled,{className:`absolute size-4`});if(r)return(0,d.jsx)(u.IconSquareMinusFilled,{className:`absolute size-4`})})()}),e?(0,d.jsx)(`p`,{className:(0,l.default)(`checkbox-button-text text-neutrals-1000 min-w-0 ml-2 flex-1 truncate pr-2`),title:e,children:e}):null,(0,d.jsx)(`input`,{ref:m,id:t,type:`checkbox`,checked:n,disabled:o,onChange:g,className:`hidden`})]})},ie=({title:e,icon:t,children:n,value:r})=>{let[i,a]=(0,c.useState)(!1);return(0,d.jsxs)(`div`,{className:`collapsible-block flex flex-col border-t-2 border-neutrals-600 ${i?`collapsible-block-open`:``}`,children:[(0,d.jsxs)(`div`,{className:`collapsible-block-title flex cursor-pointer items-center py-4`,onClick:()=>a(!i),children:[(0,d.jsx)(`div`,{className:`${i?`rotate-180`:``} transition-transform`,children:t||(0,d.jsx)(u.IconChevronDown,{className:`mr-3 size-5`})}),(0,d.jsxs)(`div`,{className:`flex flex-1 items-center justify-between`,children:[(0,d.jsx)(`span`,{children:e}),r&&(0,d.jsx)(`p`,{className:`body-1 text-neutrals-800`,children:r})]})]}),i&&(0,d.jsx)(`div`,{className:`collapsible-block-content pb-4`,children:n})]})},j=({text:e,highlightText:t})=>(0,d.jsx)(d.Fragment,{children:(0,c.useMemo)(()=>{let n=[];if(!t)return[{id:0,text:e,highlight:!1}];let r=t?.toLowerCase()||``,i=e?.toLowerCase()?.split(r)||``;for(let r=0,a=0;r<i?.length;r++){let o=i?.[r],s=o.length;o!==``&&n.push({id:n.length,highlight:!1,text:e?.substring(a,a+s)}),a+=s,r!==i?.length-1&&(n.push({id:n.length,highlight:!0,text:e?.substring(a,a+t.length)}),a+=t.length)}return n},[t,e]).map(e=>(0,d.jsx)(`span`,{className:(0,l.default)(e?.highlight&&`bg-highlight`),children:e?.text},e?.id))}),M=({icon:e,onClick:t,buttonClassName:n,disabled:r,title:i,isBaseIconStyles:a=!0})=>(0,d.jsx)(`button`,{type:`button`,className:(0,l.default)(a&&`base-icon-button`,n),onClick:e=>t?.(e),disabled:r,title:i,"aria-label":`button`,children:e}),N=({value:e,inputId:t,placeholder:n=``,cssClass:r=``,type:i=`text`,disabled:a,readonly:o,onChange:s,onKeyDown:c,onFocus:u,onBlur:f})=>{let p=(0,l.default)(`truncate outline-none shadow-none body-1`,r,o?`pointer-events-none`:``);return(0,d.jsx)(`input`,{type:i,autoComplete:`off`,id:t,placeholder:n,value:e||``,title:e?String(e):``,disabled:a,className:p,onKeyDown:c,onFocus:u,onBlur:f,onChange:e=>s?.(e.currentTarget.value)})},ae=({iconBeforeInput:e,iconAfterInput:t,containerClasses:n,cssClass:r,...i})=>(0,d.jsxs)(`div`,{className:(0,l.default)(`input w-full flex flex-row`,n),children:[e,(0,d.jsx)(N,{cssClass:(0,l.default)(`border-0 bg-transparent p-0 h-full shadow-none flex-1 min-w-0 rounded-none`,r),...i}),t]}),oe=({url:e,title:t,linkClassName:n=``,iconBefore:r,iconAfter:i})=>{let a=(0,l.default)(i?`mr-2`:``,r?`ml-2`:``);return(0,d.jsxs)(`a`,{href:e,target:`_blank`,rel:`noopener noreferrer`,className:(0,l.default)(`base-link`,n),title:t,children:[r,(0,d.jsx)(`span`,{className:a,children:t}),i]})},se=({title:e,text:t,disabled:n,onClick:r})=>(0,d.jsx)(`button`,{type:`button`,className:(0,l.default)(`tag flex items-center justify-center`,`disabled:cursor-not-allowed disabled:opacity-50 disabled:hover:bg-neutrals-100`),disabled:n,onClick:()=>r?.(t||e),"aria-label":`button`,children:(0,d.jsx)(`h4`,{children:e})}),ce=({label:e,id:t,checked:n,radioIcon:r,description:i,onChange:a})=>{let o=(0,c.useCallback)(e=>{e.stopPropagation(),a?.(t,e.target.checked)},[a,t]);return(0,d.jsxs)(`label`,{className:`flex min-w-0 cursor-pointer flex-col py-[6px]`,htmlFor:t,children:[(0,d.jsxs)(`p`,{className:`radio-label flex min-w-0 items-center`,children:[(0,d.jsx)(`span`,{className:(0,l.default)(`flex justify-center items-center w-4 h-4 mr-2 relative`,`radio-button`,n?`radio-button-active`:``),children:n&&r}),e&&(0,d.jsx)(`span`,{className:`radio-title body-1 min-w-0 flex-1 truncate pr-2 text-neutrals-1000`,title:e,children:e})]}),i&&(0,d.jsx)(`span`,{className:`radio-description body-2 ml-6 flex w-auto items-center text-neutrals-800`,title:i,children:i}),(0,d.jsx)(`input`,{type:`radio`,onChange:o,id:t,checked:n,className:`hidden`})]})},P=function(e){return e.Closed=`Closed`,e.Opened=`Opened`,e}({}),F=function(e){return e.LG=`Large`,e.SM=`Small`,e}({}),le=({portalId:e,state:t=P.Opened,heading:n,size:r,onClose:i,children:a,overlayClassName:o,containerClassName:s,dividers:u=!0,closeButtonTitle:f})=>{let{refs:p,context:m}=(0,h.useFloating)({open:t!==P.Closed&&!!t,onOpenChange:i}),{getFloatingProps:g}=(0,h.useInteractions)([(0,h.useRole)(m,{role:`dialog`}),(0,h.useDismiss)(m,{outsidePress:!0})]),_=(0,c.useCallback)(e=>{e?.preventDefault(),e?.stopPropagation(),i()},[i]);return(0,d.jsx)(h.FloatingPortal,{id:e,children:t!==P.Closed&&(0,d.jsx)(h.FloatingOverlay,{className:(0,l.default)(`z-modal flex items-center justify-center bg-blackout p-4`,o),children:(0,d.jsx)(h.FloatingFocusManager,{context:m,children:(0,d.jsxs)(`div`,{className:(0,l.default)(`relative max-h-full modal rounded bg-white flex flex-col shadow w-full`,r===F.LG&&`max-w-[65%]`,r===F.SM&&`max-w-[30%]`,u&&`divide-neutrals-400 divide-y`,s,`sm:w-full sm:max-w-full sm:px-4 sm:py-6`),ref:p.setFloating,...g({onClick(e){e.stopPropagation()}}),children:[(0,d.jsxs)(`div`,{className:`modal-heading flex flex-row items-center justify-between px-6 py-5 sm:p-0 sm:pb-2`,children:[n&&(typeof n==`string`?(0,d.jsx)(`h2`,{className:`modal-heading-title sm:h3 mr-3 min-w-0 flex-1`,children:n}):n),(0,d.jsx)(y,{title:f,onClick:_,btnClassNames:`sm:h-[24px] sm:w-[24px] sm:top-4`})]}),a.map(e=>e)]})})})})},ue=e=>e.state===P.Closed?null:(0,d.jsx)(le,{...e}),I=`statgpt-dropdown-open`,L=8,R={name:`keepDropdownWithinViewport`,fn({y:e,rects:t}){if(typeof window>`u`)return{};let n=document.documentElement.clientHeight||window.innerHeight,r=Math.min(t.floating.height,Math.max(0,n-L*2)),i=L,a=n-r-L;return{y:Math.min(Math.max(e,i),Math.max(i,a))}}},z=({triggerButton:e,options:t,content:n,selectedOption:r,disabled:i,containerClassName:a,openedClassName:o,onOptionSelect:s})=>{let u=(0,c.useId)(),[f,p]=(0,c.useState)(!1),{refs:m,floatingStyles:g,context:_}=(0,h.useFloating)({open:f,onOpenChange:i?void 0:p,placement:`bottom-end`,strategy:`fixed`,middleware:[(0,h.offset)(L),(0,h.flip)({padding:L}),(0,h.size)({padding:L,apply({availableHeight:e,elements:t}){t.floating.style.maxHeight=`${Math.max(0,e)}px`}}),(0,h.shift)({padding:L}),R],whileElementsMounted:h.autoUpdate}),{getReferenceProps:v,getFloatingProps:y}=(0,h.useInteractions)([(0,h.useClick)(_),(0,h.useDismiss)(_,{outsidePress:!0})]);return(0,c.useEffect)(()=>{f&&window.dispatchEvent(new CustomEvent(I,{detail:u}))},[u,f]),(0,c.useEffect)(()=>{let e=e=>{e instanceof CustomEvent&&e.detail!==u&&p(!1)};return window.addEventListener(I,e),()=>{window.removeEventListener(I,e)}},[u]),(0,c.useEffect)(()=>{i&&p(!1)},[i]),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(`div`,{ref:m.setReference,...v({onClick(e){e.stopPropagation()}}),className:(0,l.default)(a,f&&o),children:e}),f&&(0,d.jsx)(h.FloatingPortal,{children:(0,d.jsxs)(`div`,{ref:m.setFloating,style:{...g,overflowY:`auto`},className:`dropdown-menu-shadow dropdown-container z-dropdown flex flex-col rounded bg-white`,...y(),children:[n&&n,t&&t.map(e=>(0,d.jsx)(`div`,{onClick:t=>{t.stopPropagation(),s?.(e.key),p(!1)},className:(0,l.default)(`text-neutrals-900 body-3 cursor-pointer dropdown-item min-w-[200px]`,r===e.key&&`bg-hues-100`),children:(0,d.jsxs)(`div`,{className:`dropdown-item-text flex h-full items-center gap-x-2 p-2 hover:bg-hues-100`,title:e.title,children:[e.icon?e.icon:null,(0,d.jsx)(`p`,{children:e?.title})]})},e.key))]})})]})},B=({limitMessages:e,query:t})=>(0,d.jsxs)(`div`,{className:`flex flex-wrap items-center justify-between bg-hues-100 px-2 py-1`,children:[(0,d.jsx)(`div`,{className:`flex gap-x-[4px]`,children:(0,d.jsx)(`div`,{className:`flex flex-col`,children:(0,d.jsxs)(`div`,{className:`flex gap-x-[4px]`,children:[(0,d.jsxs)(`span`,{className:`h5 text-primary`,children:[e?.excelFormatTitle,` `]}),(0,d.jsx)(`span`,{className:`body-3 text-neutrals-800`,children:e?.excelFormatText})]})})}),(0,d.jsx)(`a`,{href:t,target:`_blank`,rel:`noreferrer`,children:(0,d.jsxs)(`span`,{className:`body-3 flex cursor-pointer items-center gap-x-[4px]`,children:[e?.dataExplorerIcon,e?.dataExplorer]})})]}),V=({limitMessages:e,isDownload:t,showAdvancedViewButton:n,onAdvancedViewClick:r,query:i})=>(0,d.jsxs)(`div`,{className:(0,l.default)(`bg-semantic-warning-light px-2 py-1 flex justify-between flex-wrap items-center`,e?.containerClassName),children:[(0,d.jsxs)(`div`,{className:`flex items-center gap-x-2`,children:[(0,d.jsx)(`span`,{children:e?.warningIcon}),(0,d.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,d.jsxs)(`div`,{className:`flex gap-x-[4px]`,children:[(0,d.jsxs)(`span`,{className:(0,l.default)(`text-primary h5`,e?.largeQueryClassName),children:[e?.largeQuery,`:`,` `]}),(0,d.jsx)(`span`,{className:(0,l.default)(`text-neutrals-800 body-3`,e?.limitMessageClassName),children:t?e?.downloadMessage?.(O):e?.showingLimit?.(O)})]}),t&&(0,d.jsx)(`span`,{className:(0,l.default)(`text-neutrals-800 body-3`,e?.limitMessageClassName),children:e?.fullLimitMessage})]})]}),n&&(0,d.jsxs)(`span`,{onClick:()=>r?.(),className:`h4 flex cursor-pointer items-center gap-x-[4px] text-primary`,children:[e?.editIcon,e?.refineInAdvancedView]}),t&&(0,d.jsx)(`a`,{href:i||``,target:`_blank`,rel:`noreferrer`,children:(0,d.jsxs)(`span`,{className:`body-3 flex cursor-pointer items-center gap-x-[4px]`,children:[e?.dataExplorerIcon,e?.dataExplorer]})})]}),H=(0,c.createContext)(null);function U({value:e,children:t}){let n=(0,c.useMemo)(()=>e??{},[e]);return(0,d.jsx)(H.Provider,{value:n,children:t})}function de(){return(0,c.useContext)(H)}var W=function(e){return e.Info=`info`,e.Error=`error`,e.Warning=`warning`,e.Note=`note`,e}({}),fe={[W.Info]:`border-neutrals-800 bg-neutrals-300 text-neutrals-1000`,[W.Error]:`border-semantic-error bg-semantic-error-light text-neutrals-1000`,[W.Warning]:`border-semantic-warning bg-semantic-warning-light text-neutrals-1000`,[W.Note]:`border-hues-900 bg-neutrals-200 text-neutrals-1000`},pe=`shrink-0`,me=`min-w-0 body-2`,he=`flex items-start gap-2 min-w-0 border-l-2 rounded py-2 px-4 items-center`;function ge({type:e,icon:t,children:n,className:r,contentClassName:i}){let a=de(),o=t??a?.icons?.[e],s=T(a?.classes?.container??he,a?.classes?.types?.[e]??fe[e],r),c=T(pe,a?.classes?.icon),l=T(me,a?.classes?.content,i);return(0,d.jsxs)(`div`,{"data-type":e,className:s,children:[o?(0,d.jsx)(`span`,{className:c,children:o}):null,n?(0,d.jsx)(`div`,{className:l,children:n}):null]})}var _e=({title:e,copiedTitle:t,tooltip:n,hoverTooltip:r,icon:i,copiedIcon:a,className:o,buttonTextClassName:s,onClick:l})=>{let[u,f]=(0,c.useState)(!1),p=(0,c.useRef)(null);return(0,c.useEffect)(()=>()=>{p.current&&clearTimeout(p.current)},[]),(0,d.jsxs)(`div`,{className:`relative w-fit`,title:r,children:[(0,d.jsx)(E,{title:u?t:e,isSmallButton:!0,disabled:u,buttonClassName:T([`text-button-tertiary small-icon-button !h-6 !p-0`,o]),textClassName:T([`ml-1`,s]),onClick:()=>{l(),f(!0),p.current&&clearTimeout(p.current),p.current=setTimeout(()=>{f(!1)},1e3)},iconBefore:u?a:i}),n&&u&&(0,d.jsx)(`div`,{className:`h4 absolute left-1/2 top-full z-50 mt-1 -translate-x-1/2 whitespace-nowrap rounded border border-neutrals-400 bg-white px-3 py-4 text-neutrals-900 shadow`,children:n})]})};function ve({id:e,label:t,hasChildren:n,showDragHandle:r,showCheckbox:i,isChecked:a,isExpanded:o}){return(0,d.jsxs)(`div`,{className:`relative cursor-grabbing rounded bg-neutrals-200 shadow`,children:[(0,d.jsx)(`div`,{className:`absolute -left-[0.5px] top-0.5 h-5 w-0.5 rounded-full bg-gradients-light`}),(0,d.jsxs)(`div`,{className:`flex items-stretch overflow-hidden rounded`,children:[r?(0,d.jsx)(`div`,{className:`flex w-6 items-center justify-center`,children:(0,d.jsx)(`span`,{"aria-hidden":!0,className:`rounded p-1`,children:(0,d.jsx)(u.IconGripVertical,{size:16})})}):null,(0,d.jsxs)(`div`,{className:`flex min-w-0 flex-1 items-center gap-2 p-1`,children:[i?(0,d.jsx)(A,{id:e,checked:!!a,className:`p-0`}):null,(0,d.jsx)(`span`,{className:`body-3 truncate`,children:t})]}),n?(0,d.jsx)(`div`,{className:`flex w-8 items-center justify-center`,children:(0,d.jsx)(`span`,{"aria-hidden":!0,className:(0,l.default)(`transition-transform`,o?`rotate-90`:`rotate-0`),children:(0,d.jsx)(u.IconChevronRight,{size:16})})}):null]})]})}function G(e,t){return`i:${[...e,t].join(`/`)}`}function K(e){if(!e.startsWith(`i:`))return null;let t=e.slice(2).split(`/`).filter(Boolean);return t.length?{parentPath:t.slice(0,-1),itemId:t[t.length-1]}:null}function ye(e,t,n){let r=J(e,t);return r?r.find(e=>e.id===n)??null:null}function q(e,t){if(t.length===0)return e;let[n,...r]=t,i=e.find(e=>e.id===n);return i?.items?q(i.items,r):null}function J(e,t){let n=q(e,t);return n?n.filter(e=>e.type===`item`):null}function Y(e,t,n){if(t.length===0)return n(e);let[r,...i]=t;return e.map(e=>e.id!==r||!e.items?e:{...e,items:Y(e.items,i,n)})}function be({parentPath:e,item:t,showDragHandle:n,showCheckbox:r,renderLabel:i,onItemClick:a,onToggleExpanded:o,onToggleChecked:s}){let c=!!t.items?.length,f=!!t.isExpanded,p=t.isDisabled?!1:t.draggable??!0,m=t.isDisabled?!1:t.checkable??!0,{attributes:h,listeners:g,setNodeRef:y,setActivatorNodeRef:b,transform:x,transition:S,isDragging:C}=(0,_.useSortable)({id:G(e,t.id),disabled:!p}),w={transform:v.CSS.Transform.toString(x),transition:S,opacity:C?.6:void 0},T=!!t.isDisabled,E=T||!m,D=[...e,t.id];return(0,d.jsxs)(`div`,{ref:y,style:w,className:(0,l.default)([`group flex items-stretch overflow-hidden rounded bg-white`,`select-none`,T?`opacity-50`:``]),children:[n?(0,d.jsx)(`div`,{className:(0,l.default)([`group/drag-handle flex w-6 items-center justify-center rounded`,T?``:`hover:bg-neutrals-100 cursor-grab`]),children:(0,d.jsx)(`span`,{ref:b,"aria-hidden":!0,className:(0,l.default)([`rounded p-1`,p?`cursor-grab`:`cursor-default`,`transition-opacity`]),...p?g:{},...p?h:{},children:(0,d.jsx)(u.IconGripVertical,{size:16,className:`text-neutrals-800 group-hover/drag-handle:text-primary`})})}):null,(0,d.jsxs)(`button`,{type:`button`,disabled:T,"aria-disabled":E,onClick:e=>{E||a?.({itemId:t.id,path:D,nativeEvent:e})},className:(0,l.default)([`flex min-w-0 flex-1 items-center gap-2 p-1 text-left rounded`,T?``:`hover:bg-neutrals-100`,T?``:`hover:text-blue-700`,`focus:outline-none`]),children:[r?(0,d.jsx)(A,{id:`draggable-list-${D.join(`-`)}`,checked:!!t.isChecked,disabled:!m,className:`p-0`,stopPropagation:!0,onChange:(e,n)=>s?.({itemId:t.id,path:D,nextChecked:!!n})}):null,(0,d.jsx)(`span`,{className:`body-3 w-full truncate text-neutrals-800`,children:i?i(t):t.label})]}),c?(0,d.jsx)(`button`,{type:`button`,disabled:T,onClick:e=>{e.stopPropagation(),o?.({itemId:t.id,path:D,nextExpanded:!f})},"aria-label":f?`Collapse`:`Expand`,className:(0,l.default)([`flex w-8 items-center justify-center rounded`,T?``:`hover:bg-neutrals-100`,`focus:outline-none`]),children:(0,d.jsx)(`span`,{"aria-hidden":!0,className:(0,l.default)(`transition-transform duration-150 ease-out`,f?`rotate-90`:`rotate-0`),children:(0,d.jsx)(u.IconChevronRight,{size:16})})}):null]})}function X({items:e,showDragHandle:t=!0,showCheckbox:n=!0,onItemsChange:r,onToggleExpanded:i,onToggleChecked:a,onItemClick:o,renderLabel:s}){let l=(0,g.useSensors)((0,g.useSensor)(g.PointerSensor,{activationConstraint:{distance:6}})),[f,p]=c.useState(null),m=t=>{let n=String(t.active.id),r=K(n);if(!r)return;let i=ye(e,r.parentPath,r.itemId);!i||i.type!==`item`||p({id:n,label:i.label,hasChildren:!!i.items?.length,isChecked:i.isChecked,isExpanded:i.isExpanded})},h=t=>{p(null);let n=t.over;if(!n)return;let i=K(String(t.active.id)),a=K(String(n.id));if(!i||!a||i.parentPath.join(`/`)!==a.parentPath.join(`/`))return;let o=J(e,i.parentPath);if(!o)return;let s=o.findIndex(e=>e.id===i.itemId),c=o.findIndex(e=>e.id===a.itemId);s===-1||c===-1||s===c||r(Y(e,i.parentPath,e=>{let t=(0,_.arrayMove)(e.filter(e=>e.type===`item`),s,c),n=0;return e.map(e=>{if(e.type!==`item`)return e;let r=t[n];return n+=1,r})}))},v=(e,r=[])=>(0,d.jsx)(_.SortableContext,{items:e.filter(e=>e.type===`item`).map(e=>G(r,e.id)),strategy:_.verticalListSortingStrategy,children:(0,d.jsx)(`ul`,{className:`m-0 flex list-none flex-col gap-2 p-0`,children:e.map(e=>e.type===`group`?(0,d.jsxs)(`li`,{className:`m-0 mt-2 flex flex-col gap-2 p-0 first:mt-0`,children:[(0,d.jsxs)(`div`,{className:`h5 flex items-center gap-2 py-1 text-neutrals-1000`,children:[(0,d.jsx)(u.IconDatabase,{size:12,className:`shrink-0`}),e.label]}),(0,d.jsx)(`div`,{className:`border-l border-neutrals-600 pl-2`,children:v(e.items,[...r,e.id])})]},e.id):(0,d.jsxs)(`li`,{className:`m-0 flex flex-col gap-2 p-0`,children:[(0,d.jsx)(be,{parentPath:r,item:e,showDragHandle:t,showCheckbox:n,renderLabel:s,onItemClick:o,onToggleExpanded:i,onToggleChecked:a}),e.items?.length&&e.isExpanded?(0,d.jsx)(`div`,{className:`pl-7`,children:v(e.items,[...r,e.id])}):null]},e.id))})});return(0,d.jsxs)(g.DndContext,{sensors:l,collisionDetection:g.closestCenter,onDragStart:m,onDragEnd:h,children:[(0,d.jsx)(`div`,{className:`flex flex-col`,children:v(e)}),(0,d.jsx)(g.DragOverlay,{children:f?(0,d.jsx)(ve,{id:f.id,label:f.label,hasChildren:f.hasChildren,showDragHandle:t,showCheckbox:n,isChecked:f.isChecked,isExpanded:f.isExpanded}):null})]})}var xe=(e,t)=>e.label.toLowerCase().includes(t);function Se(e,t,n={}){let r=we(t);if(!r)return e;let{expandMatchedBranches:i=!0,includeGroupDescendantsOnMatch:a=!0,includeItemDescendantsOnMatch:o=!1,match:s=xe}=n;return Z(e,r,{expandMatchedBranches:i,includeGroupDescendantsOnMatch:a,includeItemDescendantsOnMatch:o,match:s})??[]}function Z(e,t,n){let r=[];for(let i of e){let e=Ce(i,t,n);e&&r.push(e)}return r.length?r:null}function Ce(e,t,n){let r=n.match(e,t);if(e.type===`group`){if(r&&n.includeGroupDescendantsOnMatch)return Q(e,n.expandMatchedBranches);let i=e.items?.length?Z(e.items,t,n):null;return!r&&!i?null:{...e,items:i??[]}}let i=e.items?.length?Z(e.items,t,n):null;if(r&&n.includeItemDescendantsOnMatch)return Q(e,n.expandMatchedBranches);if(!r&&!i)return null;let a={...e};return i?(a.items=i,n.expandMatchedBranches&&(a.isExpanded=!0)):delete a.items,a}function Q(e,t){return e.type===`group`?{...e,items:e.items.map(e=>Q(e,t))}:{...e,isExpanded:t&&e.items?.length?!0:e.isExpanded,items:e.items?.map(e=>Q(e,t))}}function we(e){return e.trim().toLowerCase()}var Te=function(e){return e.Enter=`Enter`,e}({}),$=(0,c.createContext)(null);function Ee({children:e,isAgentAvailable:t}){let n=(0,c.useMemo)(()=>({isAgentAvailable:t}),[t]);return(0,d.jsx)($.Provider,{value:n,children:e})}function De(){let e=(0,c.useContext)($);if(!e)throw Error(`useAgentAvailability must be used within AgentAvailabilityProvider`);return e}exports.AgentAvailabilityProvider=Ee,exports.Alert=S,exports.AlertType=b,exports.Button=E,exports.CALENDAR_MOBILE_PADDING=re,exports.Calendar=k,exports.Checkbox=A,exports.CloseButton=y,exports.CollapsibleBlock=ie,exports.CopyButton=_e,exports.DownloadFormatMessage=B,exports.DraggableList=X,exports.Dropdown=z,exports.HighlightText=j,exports.IconButton=M,exports.InlineAlert=ge,exports.InlineAlertProvider=U,exports.InlineAlertType=W,exports.Input=N,exports.InputWithIcon=ae,exports.KeyboardKey=Te,exports.Link=oe,exports.Loader=C,exports.PopUpSize=F,exports.PopUpState=P,exports.Popup=ue,exports.Radio=ce,exports.RequestLimitMessage=V,exports.SERIES_LIMIT=O,exports.TREE_NODE_ARROW_SIZE=te,exports.TREE_NODE_PADDING=ne,exports.Tag=se,exports.filterDraggableListNodes=Se,exports.useAgentAvailability=De,exports.useDebounce=ee,exports.useIsMobile=D;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,a)=>(a=n==null?{}:e(i(n)),o(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));let c=require("react");c=s(c);let l=require("classnames");l=s(l);let u=require("@tabler/icons-react"),d=require("react/jsx-runtime"),f=require("tailwind-merge"),p=require("react-flatpickr");p=s(p);let m=require("@epam/statgpt-shared-toolkit"),h=require("@floating-ui/react"),g=require("@dnd-kit/core"),_=require("@dnd-kit/sortable"),v=require("@dnd-kit/utilities");var y=({title:e,btnClassNames:t,iconWidth:n,iconHeight:r,onClick:i})=>(0,d.jsx)(`button`,{type:`button`,"aria-label":`button`,className:t,title:e,onClick:i,children:(0,d.jsx)(u.IconX,{height:r||20,width:n||20})}),b=function(e){return e.INFO=`info`,e.ERROR=`error`,e.SUCCESS=`success`,e.IN_PROGRESS=`in_progress`,e}({}),x=3e4,S=({alertDetails:e,infoIcon:t,successIcon:n,errorIcon:r,onClose:i,closeButtonTitle:a,children:o})=>{let s=e?.type,u=s===b.IN_PROGRESS||s===b.INFO,f=()=>u?`alert-in-progress`:s===b.SUCCESS?`alert-success`:`alert-error`,p=u?t:s===b.SUCCESS?n:s===b.ERROR?r:null,m=e?.text;return(0,c.useEffect)(()=>{if(!e||u)return;let t=setTimeout(()=>{i?.()},x);return()=>clearTimeout(t)},[e,u,i]),(0,d.jsx)(`div`,{className:(0,l.default)(`alert alert-shadow fixed bottom-3 right-3 z-10 w-[min(380px,calc(100vw-24px))] max-w-[calc(100vw-24px)]`,f()),children:(0,d.jsxs)(`div`,{className:`alert-content flex items-start`,children:[p&&(0,d.jsx)(`div`,{className:`alert-icon`,children:p}),(0,d.jsxs)(`div`,{className:`flex min-w-0 flex-1 flex-col gap-2`,children:[(0,d.jsx)(`h3`,{className:`alert-title truncate`,children:e?.title}),o??(m&&(0,d.jsx)(`div`,{className:`alert-text whitespace-pre-line break-words`,title:m,children:m}))]}),(0,d.jsx)(y,{title:a,onClick:i})]})})},C=()=>(0,d.jsx)(`div`,{className:`flex h-full items-center justify-center`,children:(0,d.jsx)(`div`,{className:`loader`})}),w=(0,f.extendTailwindMerge)({extend:{classGroups:{typography:[`h1`,`h2`,`h3`,`h4`,`h5`,`body-1`,`body-2`,`body-3`,`caption`]}}});function T(...e){return w((0,l.default)(...e))}var E=({buttonClassName:e,textClassName:t,isLoading:n=!1,title:r,disabled:i,iconAfter:a,iconBefore:o,onClick:s,isSmallButton:c})=>{let u=T([c?`font-semibold`:``,a?`mr-2`:``,o?`ml-2`:``,t]);return(0,d.jsxs)(`button`,{type:`button`,className:(0,l.default)(`base-button`,e,c?`small-button`:``),disabled:i||n,"aria-label":`button`,onClick:e=>s?.(e),title:r,children:[o,n&&(0,d.jsx)(C,{}),r?c?(0,d.jsx)(`h4`,{className:u,children:r}):(0,d.jsx)(`h3`,{className:u,children:r}):null,a]})};function D(e=719){let[t,n]=(0,c.useState)(()=>typeof window<`u`?window.innerWidth<e:!1);return(0,c.useEffect)(()=>{let t=window.matchMedia(`(max-width: ${e}px)`),r=e=>{n(e.matches)};return n(t.matches),t.addEventListener(`change`,r),()=>t.removeEventListener(`change`,r)},[e]),t}function ee(e,t){let n=(0,c.useRef)(null);return(0,c.useCallback)((...r)=>{n.current&&clearTimeout(n.current),n.current=setTimeout(()=>{e(...r)},t)},[e,t])}var O=24,k=24,A=1e3,te=24,ne=768,re=({label:e,onChange:t,value:n,options:r,calendarResolution:i=m.CalendarResolution.DAY,id:a,icon:o,isEndDate:s})=>{let l=(0,c.useRef)(null),f=D();(0,c.useEffect)(()=>{let t=l?.current;t&&t.querySelector(`input`)?.setAttribute(`aria-label`,e)},[e]);let h={...r,disableMobile:!0,defaultDate:i===m.CalendarResolution.MONTH?new Date(n.getFullYear(),n.getMonth()):n};return(0,d.jsxs)(`div`,{className:`calendar relative`,ref:l,children:[(0,d.jsx)(`div`,{className:`calendar-title mb-1`,children:e}),(0,d.jsx)(`label`,{htmlFor:a,className:`absolute right-[11px] top-[29px] cursor-pointer`,children:o||(0,d.jsx)(u.IconCalendarEvent,{})}),(0,d.jsx)(p.default,{defaultValue:(i===m.CalendarResolution.MONTH?new Date(n.getFullYear(),n.getMonth()):n)?.toDateString(),options:h,onChange:e=>{t(e[0])},onOpen:[(e,t,n)=>{if(i===m.CalendarResolution.MONTH&&e.length>0){let t=r.minDate,i=r.maxDate,a=e[0].getFullYear(),o=n.calendarContainer,s=`flatpickr-disabled`,c=o.querySelectorAll(`.flatpickr-monthSelect-month`),l=o.querySelectorAll(`.flatpickr-next-month`)[0],u=o.querySelectorAll(`.flatpickr-prev-month`)[0];a===i.getFullYear()&&l.classList.add(s),a===t.getFullYear()&&u.classList.add(s),(a===t.getFullYear()||a===i.getFullYear())&&c.forEach(e=>{e.classList.remove(s);let n=new Date(e.getAttribute(`aria-label`)),r=n.getFullYear()===t.getFullYear()&&n.getMonth()===t.getMonth(),a=n.getFullYear()===i.getFullYear()&&n.getMonth()===i.getMonth();r||a||(n<t||n>i)&&e.classList.add(s)})}setTimeout(()=>{let e=n.calendarContainer,t=n._input?.getBoundingClientRect();e&&(e.style.top=`${t.top-e.offsetHeight-8}px`,e.style.width=`${e.style.width}px`,s?(e.style.right=`${window.innerWidth-t.right-(f?24:0)}px`,e.style.left=`auto`):e.style.left=`${t.left}px`)},0)}],onReady:[(e,t,n)=>{let r=`calendar__${i===m.CalendarResolution.MONTH?`month`:`day`}`;n.calendarContainer&&n.calendarContainer.classList.add(r)}],id:a})]})},j=({label:e,id:t,checked:n,indeterminate:r=!1,checkboxIcon:i,onChange:a,disabled:o=!1,disabledScope:s=`full`,className:f,stopPropagation:p=!0})=>{let m=(0,c.useRef)(null);(0,c.useEffect)(()=>{m.current&&(m.current.indeterminate=!n&&r)},[n,r]);let h=(0,c.useCallback)(e=>{p&&e.stopPropagation()},[p]),g=(0,c.useCallback)(e=>{p&&e.stopPropagation(),a?.(t,e.target.checked)},[a,t,p]);return(0,d.jsxs)(`label`,{htmlFor:t,onClick:h,className:T(`flex min-w-0 items-center py-1 shrink-0`,o?`cursor-not-allowed`:`cursor-pointer`,o&&s===`full`&&`opacity-50`,f),children:[(0,d.jsx)(`span`,{className:(0,l.default)(`checkbox-button relative flex size-[14px] items-center justify-center`,o&&s===`icon`&&`opacity-50`),"aria-hidden":!0,children:(()=>{if(n)return i||(0,d.jsx)(u.IconSquareCheckFilled,{className:`absolute size-4`});if(r)return(0,d.jsx)(u.IconSquareMinusFilled,{className:`absolute size-4`})})()}),e?(0,d.jsx)(`p`,{className:(0,l.default)(`checkbox-button-text text-neutrals-1000 min-w-0 ml-2 flex-1 truncate pr-2`),title:e,children:e}):null,(0,d.jsx)(`input`,{ref:m,id:t,type:`checkbox`,checked:n,disabled:o,onChange:g,className:`hidden`})]})},ie=({title:e,icon:t,children:n,value:r})=>{let[i,a]=(0,c.useState)(!1);return(0,d.jsxs)(`div`,{className:`collapsible-block flex flex-col border-t-2 border-neutrals-600 ${i?`collapsible-block-open`:``}`,children:[(0,d.jsxs)(`div`,{className:`collapsible-block-title flex cursor-pointer items-center py-4`,onClick:()=>a(!i),children:[(0,d.jsx)(`div`,{className:`${i?`rotate-180`:``} transition-transform`,children:t||(0,d.jsx)(u.IconChevronDown,{className:`mr-3 size-5`})}),(0,d.jsxs)(`div`,{className:`flex flex-1 items-center justify-between`,children:[(0,d.jsx)(`span`,{children:e}),r&&(0,d.jsx)(`p`,{className:`body-1 text-neutrals-800`,children:r})]})]}),i&&(0,d.jsx)(`div`,{className:`collapsible-block-content pb-4`,children:n})]})},ae=({text:e,highlightText:t})=>(0,d.jsx)(d.Fragment,{children:(0,c.useMemo)(()=>{let n=[];if(!t)return[{id:0,text:e,highlight:!1}];let r=t?.toLowerCase()||``,i=e?.toLowerCase()?.split(r)||``;for(let r=0,a=0;r<i?.length;r++){let o=i?.[r],s=o.length;o!==``&&n.push({id:n.length,highlight:!1,text:e?.substring(a,a+s)}),a+=s,r!==i?.length-1&&(n.push({id:n.length,highlight:!0,text:e?.substring(a,a+t.length)}),a+=t.length)}return n},[t,e]).map(e=>(0,d.jsx)(`span`,{className:(0,l.default)(e?.highlight&&`bg-highlight`),children:e?.text},e?.id))}),oe=({icon:e,onClick:t,buttonClassName:n,disabled:r,title:i,isBaseIconStyles:a=!0})=>(0,d.jsx)(`button`,{type:`button`,className:(0,l.default)(a&&`base-icon-button`,n),onClick:e=>t?.(e),disabled:r,title:i,"aria-label":`button`,children:e}),M=({value:e,inputId:t,placeholder:n=``,cssClass:r=``,type:i=`text`,disabled:a,readonly:o,onChange:s,onKeyDown:c,onFocus:u,onBlur:f})=>{let p=(0,l.default)(`truncate outline-none shadow-none body-1`,r,o?`pointer-events-none`:``);return(0,d.jsx)(`input`,{type:i,autoComplete:`off`,id:t,placeholder:n,value:e||``,title:e?String(e):``,disabled:a,className:p,onKeyDown:c,onFocus:u,onBlur:f,onChange:e=>s?.(e.currentTarget.value)})},N=({iconBeforeInput:e,iconAfterInput:t,containerClasses:n,cssClass:r,...i})=>(0,d.jsxs)(`div`,{className:(0,l.default)(`input w-full flex flex-row`,n),children:[e,(0,d.jsx)(M,{cssClass:(0,l.default)(`border-0 bg-transparent p-0 h-full shadow-none flex-1 min-w-0 rounded-none`,r),...i}),t]}),se=({url:e,title:t,linkClassName:n=``,iconBefore:r,iconAfter:i})=>{let a=(0,l.default)(i?`mr-2`:``,r?`ml-2`:``);return(0,d.jsxs)(`a`,{href:e,target:`_blank`,rel:`noopener noreferrer`,className:(0,l.default)(`base-link`,n),title:t,children:[r,(0,d.jsx)(`span`,{className:a,children:t}),i]})},ce=({title:e,text:t,disabled:n,onClick:r})=>(0,d.jsx)(`button`,{type:`button`,className:(0,l.default)(`tag flex items-center justify-center`,`disabled:cursor-not-allowed disabled:opacity-50 disabled:hover:bg-neutrals-100`),disabled:n,onClick:()=>r?.(t||e),"aria-label":`button`,children:(0,d.jsx)(`h4`,{children:e})}),le=({label:e,id:t,checked:n,radioIcon:r,description:i,onChange:a})=>{let o=(0,c.useCallback)(e=>{e.stopPropagation(),a?.(t,e.target.checked)},[a,t]);return(0,d.jsxs)(`label`,{className:`flex min-w-0 cursor-pointer flex-col py-[6px]`,htmlFor:t,children:[(0,d.jsxs)(`p`,{className:`radio-label flex min-w-0 items-center`,children:[(0,d.jsx)(`span`,{className:(0,l.default)(`flex justify-center items-center w-4 h-4 mr-2 relative`,`radio-button`,n?`radio-button-active`:``),children:n&&r}),e&&(0,d.jsx)(`span`,{className:`radio-title body-1 min-w-0 flex-1 truncate pr-2 text-neutrals-1000`,title:e,children:e})]}),i&&(0,d.jsx)(`span`,{className:`radio-description body-2 ml-6 flex w-auto items-center text-neutrals-800`,title:i,children:i}),(0,d.jsx)(`input`,{type:`radio`,onChange:o,id:t,checked:n,className:`hidden`})]})},P=function(e){return e.Closed=`Closed`,e.Opened=`Opened`,e}({}),F=function(e){return e.LG=`Large`,e.SM=`Small`,e}({}),ue=({portalId:e,state:t=P.Opened,heading:n,size:r,onClose:i,children:a,overlayClassName:o,containerClassName:s,dividers:u=!0,closeButtonTitle:f})=>{let{refs:p,context:m}=(0,h.useFloating)({open:t!==P.Closed&&!!t,onOpenChange:i}),{getFloatingProps:g}=(0,h.useInteractions)([(0,h.useRole)(m,{role:`dialog`}),(0,h.useDismiss)(m,{outsidePress:!0})]),_=(0,c.useCallback)(e=>{e?.preventDefault(),e?.stopPropagation(),i()},[i]);return(0,d.jsx)(h.FloatingPortal,{id:e,children:t!==P.Closed&&(0,d.jsx)(h.FloatingOverlay,{className:(0,l.default)(`z-modal flex items-center justify-center bg-blackout p-4`,o),children:(0,d.jsx)(h.FloatingFocusManager,{context:m,children:(0,d.jsxs)(`div`,{className:(0,l.default)(`relative max-h-full modal rounded bg-white flex flex-col shadow w-full`,r===F.LG&&`max-w-[65%]`,r===F.SM&&`max-w-[30%]`,u&&`divide-neutrals-400 divide-y`,s,`sm:w-full sm:max-w-full sm:px-4 sm:py-6`),ref:p.setFloating,...g({onClick(e){e.stopPropagation()}}),children:[(0,d.jsxs)(`div`,{className:`modal-heading flex flex-row items-center justify-between px-6 py-5 sm:p-0 sm:pb-2`,children:[n&&(typeof n==`string`?(0,d.jsx)(`h2`,{className:`modal-heading-title sm:h3 mr-3 min-w-0 flex-1`,children:n}):n),(0,d.jsx)(y,{title:f,onClick:_,btnClassNames:`sm:h-[24px] sm:w-[24px] sm:top-4`})]}),a.map(e=>e)]})})})})},I=e=>e.state===P.Closed?null:(0,d.jsx)(ue,{...e}),L=`statgpt-dropdown-open`,R=8,z={name:`keepDropdownWithinViewport`,fn({y:e,rects:t}){if(typeof window>`u`)return{};let n=document.documentElement.clientHeight||window.innerHeight,r=Math.min(t.floating.height,Math.max(0,n-R*2)),i=R,a=n-r-R;return{y:Math.min(Math.max(e,i),Math.max(i,a))}}},B=({triggerButton:e,options:t,content:n,selectedOption:r,disabled:i,containerClassName:a,openedClassName:o,onOptionSelect:s})=>{let u=(0,c.useId)(),[f,p]=(0,c.useState)(!1),{refs:m,floatingStyles:g,context:_}=(0,h.useFloating)({open:f,onOpenChange:i?void 0:p,placement:`bottom-end`,strategy:`fixed`,middleware:[(0,h.offset)(R),(0,h.flip)({padding:R}),(0,h.size)({padding:R,apply({availableHeight:e,elements:t}){t.floating.style.maxHeight=`${Math.max(0,e)}px`}}),(0,h.shift)({padding:R}),z],whileElementsMounted:h.autoUpdate}),{getReferenceProps:v,getFloatingProps:y}=(0,h.useInteractions)([(0,h.useClick)(_),(0,h.useDismiss)(_,{outsidePress:!0})]);return(0,c.useEffect)(()=>{f&&window.dispatchEvent(new CustomEvent(L,{detail:u}))},[u,f]),(0,c.useEffect)(()=>{let e=e=>{e instanceof CustomEvent&&e.detail!==u&&p(!1)};return window.addEventListener(L,e),()=>{window.removeEventListener(L,e)}},[u]),(0,c.useEffect)(()=>{i&&p(!1)},[i]),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(`div`,{ref:m.setReference,...v({onClick(e){e.stopPropagation()}}),className:(0,l.default)(a,f&&o),children:e}),f&&(0,d.jsx)(h.FloatingPortal,{children:(0,d.jsxs)(`div`,{ref:m.setFloating,style:{...g,overflowY:`auto`},className:`dropdown-menu-shadow dropdown-container z-dropdown flex flex-col rounded bg-white`,...y(),children:[n&&n,t&&t.map(e=>(0,d.jsx)(`div`,{onClick:t=>{t.stopPropagation(),s?.(e.key),p(!1)},className:(0,l.default)(`text-neutrals-900 body-3 cursor-pointer dropdown-item min-w-[200px]`,r===e.key&&`bg-hues-100`),children:(0,d.jsxs)(`div`,{className:`dropdown-item-text flex h-full items-center gap-x-2 p-2 hover:bg-hues-100`,title:e.title,children:[e.icon?e.icon:null,(0,d.jsx)(`p`,{children:e?.title})]})},e.key))]})})]})},V=({limitMessages:e,query:t})=>(0,d.jsxs)(`div`,{className:`flex flex-wrap items-center justify-between bg-hues-100 px-2 py-1`,children:[(0,d.jsx)(`div`,{className:`flex gap-x-[4px]`,children:(0,d.jsx)(`div`,{className:`flex flex-col`,children:(0,d.jsxs)(`div`,{className:`flex gap-x-[4px]`,children:[(0,d.jsxs)(`span`,{className:`h5 text-primary`,children:[e?.excelFormatTitle,` `]}),(0,d.jsx)(`span`,{className:`body-3 text-neutrals-800`,children:e?.excelFormatText})]})})}),(0,d.jsx)(`a`,{href:t,target:`_blank`,rel:`noreferrer`,children:(0,d.jsxs)(`span`,{className:`body-3 flex cursor-pointer items-center gap-x-[4px]`,children:[e?.dataExplorerIcon,e?.dataExplorer]})})]}),H=({limitMessages:e,isDownload:t,showAdvancedViewButton:n,onAdvancedViewClick:r,query:i})=>(0,d.jsxs)(`div`,{className:(0,l.default)(`bg-semantic-warning-light px-2 py-1 flex justify-between flex-wrap items-center`,e?.containerClassName),children:[(0,d.jsxs)(`div`,{className:`flex items-center gap-x-2`,children:[(0,d.jsx)(`span`,{children:e?.warningIcon}),(0,d.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,d.jsxs)(`div`,{className:`flex gap-x-[4px]`,children:[(0,d.jsxs)(`span`,{className:(0,l.default)(`text-primary h5`,e?.largeQueryClassName),children:[e?.largeQuery,`:`,` `]}),(0,d.jsx)(`span`,{className:(0,l.default)(`text-neutrals-800 body-3`,e?.limitMessageClassName),children:t?e?.downloadMessage?.(A):e?.showingLimit?.(A)})]}),t&&(0,d.jsx)(`span`,{className:(0,l.default)(`text-neutrals-800 body-3`,e?.limitMessageClassName),children:e?.fullLimitMessage})]})]}),n&&(0,d.jsxs)(`span`,{onClick:()=>r?.(),className:`h4 flex cursor-pointer items-center gap-x-[4px] text-primary`,children:[e?.editIcon,e?.refineInAdvancedView]}),t&&(0,d.jsx)(`a`,{href:i||``,target:`_blank`,rel:`noreferrer`,children:(0,d.jsxs)(`span`,{className:`body-3 flex cursor-pointer items-center gap-x-[4px]`,children:[e?.dataExplorerIcon,e?.dataExplorer]})})]}),U=(0,c.createContext)(null);function de({value:e,children:t}){let n=(0,c.useMemo)(()=>e??{},[e]);return(0,d.jsx)(U.Provider,{value:n,children:t})}function W(){return(0,c.useContext)(U)}var G=function(e){return e.Info=`info`,e.Error=`error`,e.Warning=`warning`,e.Note=`note`,e}({}),fe={[G.Info]:`border-neutrals-800 bg-neutrals-300 text-neutrals-1000`,[G.Error]:`border-semantic-error bg-semantic-error-light text-neutrals-1000`,[G.Warning]:`border-semantic-warning bg-semantic-warning-light text-neutrals-1000`,[G.Note]:`border-hues-900 bg-neutrals-200 text-neutrals-1000`},pe=`shrink-0`,me=`min-w-0 body-2`,he=`flex items-start gap-2 min-w-0 border-l-2 rounded py-2 px-4 items-center`;function ge({type:e,icon:t,children:n,className:r,contentClassName:i}){let a=W(),o=t??a?.icons?.[e],s=T(a?.classes?.container??he,a?.classes?.types?.[e]??fe[e],r),c=T(pe,a?.classes?.icon),l=T(me,a?.classes?.content,i);return(0,d.jsxs)(`div`,{"data-type":e,className:s,children:[o?(0,d.jsx)(`span`,{className:c,children:o}):null,n?(0,d.jsx)(`div`,{className:l,children:n}):null]})}var _e=({title:e,copiedTitle:t,tooltip:n,hoverTooltip:r,icon:i,copiedIcon:a,className:o,buttonTextClassName:s,onClick:l})=>{let[u,f]=(0,c.useState)(!1),p=(0,c.useRef)(null);return(0,c.useEffect)(()=>()=>{p.current&&clearTimeout(p.current)},[]),(0,d.jsxs)(`div`,{className:`relative w-fit`,title:r,children:[(0,d.jsx)(E,{title:u?t:e,isSmallButton:!0,disabled:u,buttonClassName:T([`text-button-tertiary small-icon-button !h-6 !p-0`,o]),textClassName:T([`ml-1`,s]),onClick:()=>{l(),f(!0),p.current&&clearTimeout(p.current),p.current=setTimeout(()=>{f(!1)},1e3)},iconBefore:u?a:i}),n&&u&&(0,d.jsx)(`div`,{className:`h4 absolute left-1/2 top-full z-50 mt-1 -translate-x-1/2 whitespace-nowrap rounded border border-neutrals-400 bg-white px-3 py-4 text-neutrals-900 shadow`,children:n})]})};function ve({id:e,label:t,hasChildren:n,showDragHandle:r,showCheckbox:i,isChecked:a,isExpanded:o}){return(0,d.jsxs)(`div`,{className:`relative cursor-grabbing rounded bg-neutrals-200 shadow`,children:[(0,d.jsx)(`div`,{className:`absolute -left-[0.5px] top-0.5 h-5 w-0.5 rounded-full bg-gradients-light`}),(0,d.jsxs)(`div`,{className:`flex items-stretch overflow-hidden rounded`,children:[r?(0,d.jsx)(`div`,{className:`flex w-6 items-center justify-center`,children:(0,d.jsx)(`span`,{"aria-hidden":!0,className:`rounded p-1`,children:(0,d.jsx)(u.IconGripVertical,{size:16})})}):null,(0,d.jsxs)(`div`,{className:`flex min-w-0 flex-1 items-center gap-2 p-1`,children:[i?(0,d.jsx)(j,{id:e,checked:!!a,className:`p-0`}):null,(0,d.jsx)(`span`,{className:`body-3 truncate`,children:t})]}),n?(0,d.jsx)(`div`,{className:`flex w-8 items-center justify-center`,children:(0,d.jsx)(`span`,{"aria-hidden":!0,className:(0,l.default)(`transition-transform`,o?`rotate-90`:`rotate-0`),children:(0,d.jsx)(u.IconChevronRight,{size:16})})}):null]})]})}function K(e,t){return`i:${[...e,t].join(`/`)}`}function q(e){if(!e.startsWith(`i:`))return null;let t=e.slice(2).split(`/`).filter(Boolean);return t.length?{parentPath:t.slice(0,-1),itemId:t[t.length-1]}:null}function ye(e,t,n){let r=Y(e,t);return r?r.find(e=>e.id===n)??null:null}function J(e,t){if(t.length===0)return e;let[n,...r]=t,i=e.find(e=>e.id===n);return i?.items?J(i.items,r):null}function Y(e,t){let n=J(e,t);return n?n.filter(e=>e.type===`item`):null}function X(e,t,n){if(t.length===0)return n(e);let[r,...i]=t;return e.map(e=>e.id!==r||!e.items?e:{...e,items:X(e.items,i,n)})}function be({parentPath:e,item:t,showDragHandle:n,showCheckbox:r,renderLabel:i,onItemClick:a,onToggleExpanded:o,onToggleChecked:s}){let c=!!t.items?.length,f=!!t.isExpanded,p=t.isDisabled?!1:t.draggable??!0,m=t.isDisabled?!1:t.checkable??!0,{attributes:h,listeners:g,setNodeRef:y,setActivatorNodeRef:b,transform:x,transition:S,isDragging:C}=(0,_.useSortable)({id:K(e,t.id),disabled:!p}),w={transform:v.CSS.Transform.toString(x),transition:S,opacity:C?.6:void 0},T=!!t.isDisabled,E=T||!m,D=[...e,t.id];return(0,d.jsxs)(`div`,{ref:y,style:w,className:(0,l.default)([`group flex items-stretch overflow-hidden rounded bg-white`,`select-none`,T?`opacity-50`:``]),children:[n?(0,d.jsx)(`div`,{className:(0,l.default)([`group/drag-handle flex w-6 items-center justify-center rounded`,T?``:`hover:bg-neutrals-100 cursor-grab`]),children:(0,d.jsx)(`span`,{ref:b,"aria-hidden":!0,className:(0,l.default)([`rounded p-1`,p?`cursor-grab`:`cursor-default`,`transition-opacity`]),...p?g:{},...p?h:{},children:(0,d.jsx)(u.IconGripVertical,{size:16,className:`text-neutrals-800 group-hover/drag-handle:text-primary`})})}):null,(0,d.jsxs)(`button`,{type:`button`,disabled:T,"aria-disabled":E,onClick:e=>{E||a?.({itemId:t.id,path:D,nativeEvent:e})},className:(0,l.default)([`flex min-w-0 flex-1 items-center gap-2 p-1 text-left rounded`,T?``:`hover:bg-neutrals-100`,T?``:`hover:text-blue-700`,`focus:outline-none`]),children:[r?(0,d.jsx)(j,{id:`draggable-list-${D.join(`-`)}`,checked:!!t.isChecked,disabled:!m,className:`p-0`,stopPropagation:!0,onChange:(e,n)=>s?.({itemId:t.id,path:D,nextChecked:!!n})}):null,(0,d.jsx)(`span`,{className:`body-3 w-full truncate text-neutrals-800`,children:i?i(t):t.label})]}),c?(0,d.jsx)(`button`,{type:`button`,disabled:T,onClick:e=>{e.stopPropagation(),o?.({itemId:t.id,path:D,nextExpanded:!f})},"aria-label":f?`Collapse`:`Expand`,className:(0,l.default)([`flex w-8 items-center justify-center rounded`,T?``:`hover:bg-neutrals-100`,`focus:outline-none`]),children:(0,d.jsx)(`span`,{"aria-hidden":!0,className:(0,l.default)(`transition-transform duration-150 ease-out`,f?`rotate-90`:`rotate-0`),children:(0,d.jsx)(u.IconChevronRight,{size:16})})}):null]})}function xe({items:e,showDragHandle:t=!0,showCheckbox:n=!0,onItemsChange:r,onToggleExpanded:i,onToggleChecked:a,onItemClick:o,renderLabel:s}){let l=(0,g.useSensors)((0,g.useSensor)(g.PointerSensor,{activationConstraint:{distance:6}})),[f,p]=c.useState(null),m=t=>{let n=String(t.active.id),r=q(n);if(!r)return;let i=ye(e,r.parentPath,r.itemId);!i||i.type!==`item`||p({id:n,label:i.label,hasChildren:!!i.items?.length,isChecked:i.isChecked,isExpanded:i.isExpanded})},h=t=>{p(null);let n=t.over;if(!n)return;let i=q(String(t.active.id)),a=q(String(n.id));if(!i||!a||i.parentPath.join(`/`)!==a.parentPath.join(`/`))return;let o=Y(e,i.parentPath);if(!o)return;let s=o.findIndex(e=>e.id===i.itemId),c=o.findIndex(e=>e.id===a.itemId);s===-1||c===-1||s===c||r(X(e,i.parentPath,e=>{let t=(0,_.arrayMove)(e.filter(e=>e.type===`item`),s,c),n=0;return e.map(e=>{if(e.type!==`item`)return e;let r=t[n];return n+=1,r})}))},v=(e,r=[])=>(0,d.jsx)(_.SortableContext,{items:e.filter(e=>e.type===`item`).map(e=>K(r,e.id)),strategy:_.verticalListSortingStrategy,children:(0,d.jsx)(`ul`,{className:`m-0 flex list-none flex-col gap-2 p-0`,children:e.map(e=>e.type===`group`?(0,d.jsxs)(`li`,{className:`m-0 mt-2 flex flex-col gap-2 p-0 first:mt-0`,children:[(0,d.jsxs)(`div`,{className:`h5 flex items-center gap-2 py-1 text-neutrals-1000`,children:[(0,d.jsx)(u.IconDatabase,{size:12,className:`shrink-0`}),e.label]}),(0,d.jsx)(`div`,{className:`border-l border-neutrals-600 pl-2`,children:v(e.items,[...r,e.id])})]},e.id):(0,d.jsxs)(`li`,{className:`m-0 flex flex-col gap-2 p-0`,children:[(0,d.jsx)(be,{parentPath:r,item:e,showDragHandle:t,showCheckbox:n,renderLabel:s,onItemClick:o,onToggleExpanded:i,onToggleChecked:a}),e.items?.length&&e.isExpanded?(0,d.jsx)(`div`,{className:`pl-7`,children:v(e.items,[...r,e.id])}):null]},e.id))})});return(0,d.jsxs)(g.DndContext,{sensors:l,collisionDetection:g.closestCenter,onDragStart:m,onDragEnd:h,children:[(0,d.jsx)(`div`,{className:`flex flex-col`,children:v(e)}),(0,d.jsx)(g.DragOverlay,{children:f?(0,d.jsx)(ve,{id:f.id,label:f.label,hasChildren:f.hasChildren,showDragHandle:t,showCheckbox:n,isChecked:f.isChecked,isExpanded:f.isExpanded}):null})]})}var Se=(e,t)=>e.label.toLowerCase().includes(t);function Ce(e,t,n={}){let r=Te(t);if(!r)return e;let{expandMatchedBranches:i=!0,includeGroupDescendantsOnMatch:a=!0,includeItemDescendantsOnMatch:o=!1,match:s=Se}=n;return Z(e,r,{expandMatchedBranches:i,includeGroupDescendantsOnMatch:a,includeItemDescendantsOnMatch:o,match:s})??[]}function Z(e,t,n){let r=[];for(let i of e){let e=we(i,t,n);e&&r.push(e)}return r.length?r:null}function we(e,t,n){let r=n.match(e,t);if(e.type===`group`){if(r&&n.includeGroupDescendantsOnMatch)return Q(e,n.expandMatchedBranches);let i=e.items?.length?Z(e.items,t,n):null;return!r&&!i?null:{...e,items:i??[]}}let i=e.items?.length?Z(e.items,t,n):null;if(r&&n.includeItemDescendantsOnMatch)return Q(e,n.expandMatchedBranches);if(!r&&!i)return null;let a={...e};return i?(a.items=i,n.expandMatchedBranches&&(a.isExpanded=!0)):delete a.items,a}function Q(e,t){return e.type===`group`?{...e,items:e.items.map(e=>Q(e,t))}:{...e,isExpanded:t&&e.items?.length?!0:e.isExpanded,items:e.items?.map(e=>Q(e,t))}}function Te(e){return e.trim().toLowerCase()}var Ee=function(e){return e.Enter=`Enter`,e}({}),$=(0,c.createContext)(null);function De({children:e,isAgentAvailable:t}){let n=(0,c.useMemo)(()=>({isAgentAvailable:t}),[t]);return(0,d.jsx)($.Provider,{value:n,children:e})}function Oe(){let e=(0,c.useContext)($);if(!e)throw Error(`useAgentAvailability must be used within AgentAvailabilityProvider`);return e}exports.AgentAvailabilityProvider=De,exports.Alert=S,exports.AlertType=b,exports.Button=E,exports.CALENDAR_MOBILE_PADDING=te,exports.Calendar=re,exports.Checkbox=j,exports.CloseButton=y,exports.CollapsibleBlock=ie,exports.CopyButton=_e,exports.DownloadFormatMessage=V,exports.DraggableList=xe,exports.Dropdown=B,exports.HighlightText=ae,exports.IconButton=oe,exports.InlineAlert=ge,exports.InlineAlertProvider=de,exports.InlineAlertType=G,exports.Input=M,exports.InputWithIcon=N,exports.KeyboardKey=Ee,exports.Link=se,exports.Loader=C,exports.MOBILE_BREAKPOINT=ne,exports.PopUpSize=F,exports.PopUpState=P,exports.Popup=I,exports.Radio=le,exports.RequestLimitMessage=H,exports.SERIES_LIMIT=A,exports.TREE_NODE_ARROW_SIZE=O,exports.TREE_NODE_PADDING=k,exports.Tag=ce,exports.filterDraggableListNodes=Ce,exports.useAgentAvailability=Oe,exports.useDebounce=ee,exports.useIsMobile=D;
package/index.mjs CHANGED
@@ -129,7 +129,7 @@ function be(e, t) {
129
129
  }
130
130
  //#endregion
131
131
  //#region libs/ui-components/src/constants/tree-view.ts
132
- var xe = 24, Se = 24, L = 1e3, Ce = 24, we = ({ label: e, onChange: t, value: n, options: r, calendarResolution: a = C.DAY, id: o, icon: c, isEndDate: l }) => {
132
+ var xe = 24, Se = 24, L = 1e3, Ce = 24, we = 768, Te = ({ label: e, onChange: t, value: n, options: r, calendarResolution: a = C.DAY, id: o, icon: c, isEndDate: l }) => {
133
133
  let d = s(null), f = I();
134
134
  i(() => {
135
135
  let t = d?.current;
@@ -224,7 +224,7 @@ var xe = 24, Se = 24, L = 1e3, Ce = 24, we = ({ label: e, onChange: t, value: n,
224
224
  })
225
225
  ]
226
226
  });
227
- }, Te = ({ title: e, icon: t, children: n, value: r }) => {
227
+ }, Ee = ({ title: e, icon: t, children: n, value: r }) => {
228
228
  let [i, a] = c(!1);
229
229
  return /* @__PURE__ */ b("div", {
230
230
  className: `collapsible-block flex flex-col border-t-2 border-neutrals-600 ${i ? "collapsible-block-open" : ""}`,
@@ -246,7 +246,7 @@ var xe = 24, Se = 24, L = 1e3, Ce = 24, we = ({ label: e, onChange: t, value: n,
246
246
  children: n
247
247
  })]
248
248
  });
249
- }, Ee = ({ text: e, highlightText: t }) => /* @__PURE__ */ y(v, { children: o(() => {
249
+ }, De = ({ text: e, highlightText: t }) => /* @__PURE__ */ y(v, { children: o(() => {
250
250
  let n = [];
251
251
  if (!t) return [{
252
252
  id: 0,
@@ -270,7 +270,7 @@ var xe = 24, Se = 24, L = 1e3, Ce = 24, we = ({ label: e, onChange: t, value: n,
270
270
  }, [t, e]).map((e) => /* @__PURE__ */ y("span", {
271
271
  className: l(e?.highlight && "bg-highlight"),
272
272
  children: e?.text
273
- }, e?.id)) }), De = ({ icon: e, onClick: t, buttonClassName: n, disabled: r, title: i, isBaseIconStyles: a = !0 }) => /* @__PURE__ */ y("button", {
273
+ }, e?.id)) }), Oe = ({ icon: e, onClick: t, buttonClassName: n, disabled: r, title: i, isBaseIconStyles: a = !0 }) => /* @__PURE__ */ y("button", {
274
274
  type: "button",
275
275
  className: l(a && "base-icon-button", n),
276
276
  onClick: (e) => t?.(e),
@@ -294,7 +294,7 @@ var xe = 24, Se = 24, L = 1e3, Ce = 24, we = ({ label: e, onChange: t, value: n,
294
294
  onBlur: d,
295
295
  onChange: (e) => s?.(e.currentTarget.value)
296
296
  });
297
- }, Oe = ({ iconBeforeInput: e, iconAfterInput: t, containerClasses: n, cssClass: r, ...i }) => /* @__PURE__ */ b("div", {
297
+ }, ke = ({ iconBeforeInput: e, iconAfterInput: t, containerClasses: n, cssClass: r, ...i }) => /* @__PURE__ */ b("div", {
298
298
  className: l("input w-full flex flex-row", n),
299
299
  children: [
300
300
  e,
@@ -304,7 +304,7 @@ var xe = 24, Se = 24, L = 1e3, Ce = 24, we = ({ label: e, onChange: t, value: n,
304
304
  }),
305
305
  t
306
306
  ]
307
- }), ke = ({ url: e, title: t, linkClassName: n = "", iconBefore: r, iconAfter: i }) => {
307
+ }), Ae = ({ url: e, title: t, linkClassName: n = "", iconBefore: r, iconAfter: i }) => {
308
308
  let a = l(i ? "mr-2" : "", r ? "ml-2" : "");
309
309
  return /* @__PURE__ */ b("a", {
310
310
  href: e,
@@ -321,14 +321,14 @@ var xe = 24, Se = 24, L = 1e3, Ce = 24, we = ({ label: e, onChange: t, value: n,
321
321
  i
322
322
  ]
323
323
  });
324
- }, Ae = ({ title: e, text: t, disabled: n, onClick: r }) => /* @__PURE__ */ y("button", {
324
+ }, je = ({ title: e, text: t, disabled: n, onClick: r }) => /* @__PURE__ */ y("button", {
325
325
  type: "button",
326
326
  className: l("tag flex items-center justify-center", "disabled:cursor-not-allowed disabled:opacity-50 disabled:hover:bg-neutrals-100"),
327
327
  disabled: n,
328
328
  onClick: () => r?.(t || e),
329
329
  "aria-label": "button",
330
330
  children: /* @__PURE__ */ y("h4", { children: e })
331
- }), je = ({ label: e, id: t, checked: r, radioIcon: i, description: a, onChange: o }) => {
331
+ }), Me = ({ label: e, id: t, checked: r, radioIcon: i, description: a, onChange: o }) => {
332
332
  let s = n((e) => {
333
333
  e.stopPropagation(), o?.(t, e.target.checked);
334
334
  }, [o, t]);
@@ -365,7 +365,7 @@ var xe = 24, Se = 24, L = 1e3, Ce = 24, we = ({ label: e, onChange: t, value: n,
365
365
  return e.Closed = "Closed", e.Opened = "Opened", e;
366
366
  }({}), V = /* @__PURE__ */ function(e) {
367
367
  return e.LG = "Large", e.SM = "Small", e;
368
- }({}), Me = ({ portalId: e, state: t = B.Opened, heading: r, size: i, onClose: a, children: o, overlayClassName: s, containerClassName: c, dividers: u = !0, closeButtonTitle: d }) => {
368
+ }({}), Ne = ({ portalId: e, state: t = B.Opened, heading: r, size: i, onClose: a, children: o, overlayClassName: s, containerClassName: c, dividers: u = !0, closeButtonTitle: d }) => {
369
369
  let { refs: f, context: p } = k({
370
370
  open: t !== B.Closed && !!t,
371
371
  onOpenChange: a
@@ -399,14 +399,14 @@ var xe = 24, Se = 24, L = 1e3, Ce = 24, we = ({ label: e, onChange: t, value: n,
399
399
  })
400
400
  })
401
401
  });
402
- }, Ne = (e) => e.state === B.Closed ? null : /* @__PURE__ */ y(Me, { ...e }), H = "statgpt-dropdown-open", U = 8, Pe = {
402
+ }, Pe = (e) => e.state === B.Closed ? null : /* @__PURE__ */ y(Ne, { ...e }), H = "statgpt-dropdown-open", U = 8, Fe = {
403
403
  name: "keepDropdownWithinViewport",
404
404
  fn({ y: e, rects: t }) {
405
405
  if (typeof window > "u") return {};
406
406
  let n = document.documentElement.clientHeight || window.innerHeight, r = Math.min(t.floating.height, Math.max(0, n - U * 2)), i = U, a = n - r - U;
407
407
  return { y: Math.min(Math.max(e, i), Math.max(i, a)) };
408
408
  }
409
- }, Fe = ({ triggerButton: e, options: t, content: n, selectedOption: r, disabled: o, containerClassName: s, openedClassName: u, onOptionSelect: d }) => {
409
+ }, Ie = ({ triggerButton: e, options: t, content: n, selectedOption: r, disabled: o, containerClassName: s, openedClassName: u, onOptionSelect: d }) => {
410
410
  let f = a(), [p, m] = c(!1), { refs: h, floatingStyles: g, context: _ } = k({
411
411
  open: p,
412
412
  onOpenChange: o ? void 0 : m,
@@ -422,7 +422,7 @@ var xe = 24, Se = 24, L = 1e3, Ce = 24, we = ({ label: e, onChange: t, value: n,
422
422
  }
423
423
  }),
424
424
  ne({ padding: U }),
425
- Pe
425
+ Fe
426
426
  ],
427
427
  whileElementsMounted: D
428
428
  }), { getReferenceProps: x, getFloatingProps: S } = A([ie(_), O(_, { outsidePress: !0 })]);
@@ -464,7 +464,7 @@ var xe = 24, Se = 24, L = 1e3, Ce = 24, we = ({ label: e, onChange: t, value: n,
464
464
  })
465
465
  }, e.key))]
466
466
  }) })] });
467
- }, Ie = ({ limitMessages: e, query: t }) => /* @__PURE__ */ b("div", {
467
+ }, Le = ({ limitMessages: e, query: t }) => /* @__PURE__ */ b("div", {
468
468
  className: "flex flex-wrap items-center justify-between bg-hues-100 px-2 py-1",
469
469
  children: [/* @__PURE__ */ y("div", {
470
470
  className: "flex gap-x-[4px]",
@@ -490,7 +490,7 @@ var xe = 24, Se = 24, L = 1e3, Ce = 24, we = ({ label: e, onChange: t, value: n,
490
490
  children: [e?.dataExplorerIcon, e?.dataExplorer]
491
491
  })
492
492
  })]
493
- }), Le = ({ limitMessages: e, isDownload: t, showAdvancedViewButton: n, onAdvancedViewClick: r, query: i }) => /* @__PURE__ */ b("div", {
493
+ }), Re = ({ limitMessages: e, isDownload: t, showAdvancedViewButton: n, onAdvancedViewClick: r, query: i }) => /* @__PURE__ */ b("div", {
494
494
  className: l("bg-semantic-warning-light px-2 py-1 flex justify-between flex-wrap items-center", e?.containerClassName),
495
495
  children: [
496
496
  /* @__PURE__ */ b("div", {
@@ -532,28 +532,28 @@ var xe = 24, Se = 24, L = 1e3, Ce = 24, we = ({ label: e, onChange: t, value: n,
532
532
  })
533
533
  ]
534
534
  }), W = t(null);
535
- function Re({ value: e, children: t }) {
535
+ function ze({ value: e, children: t }) {
536
536
  let n = o(() => e ?? {}, [e]);
537
537
  return /* @__PURE__ */ y(W.Provider, {
538
538
  value: n,
539
539
  children: t
540
540
  });
541
541
  }
542
- function ze() {
542
+ function Be() {
543
543
  return r(W);
544
544
  }
545
545
  //#endregion
546
546
  //#region libs/ui-components/src/components/InlineAlert/types.ts
547
547
  var G = /* @__PURE__ */ function(e) {
548
548
  return e.Info = "info", e.Error = "error", e.Warning = "warning", e.Note = "note", e;
549
- }({}), Be = {
549
+ }({}), Ve = {
550
550
  [G.Info]: "border-neutrals-800 bg-neutrals-300 text-neutrals-1000",
551
551
  [G.Error]: "border-semantic-error bg-semantic-error-light text-neutrals-1000",
552
552
  [G.Warning]: "border-semantic-warning bg-semantic-warning-light text-neutrals-1000",
553
553
  [G.Note]: "border-hues-900 bg-neutrals-200 text-neutrals-1000"
554
- }, Ve = "shrink-0", He = "min-w-0 body-2", Ue = "flex items-start gap-2 min-w-0 border-l-2 rounded py-2 px-4 items-center";
555
- function We({ type: e, icon: t, children: n, className: r, contentClassName: i }) {
556
- let a = ze(), o = t ?? a?.icons?.[e], s = P(a?.classes?.container ?? Ue, a?.classes?.types?.[e] ?? Be[e], r), c = P(Ve, a?.classes?.icon), l = P(He, a?.classes?.content, i);
554
+ }, He = "shrink-0", Ue = "min-w-0 body-2", We = "flex items-start gap-2 min-w-0 border-l-2 rounded py-2 px-4 items-center";
555
+ function Ge({ type: e, icon: t, children: n, className: r, contentClassName: i }) {
556
+ let a = Be(), o = t ?? a?.icons?.[e], s = P(a?.classes?.container ?? We, a?.classes?.types?.[e] ?? Ve[e], r), c = P(He, a?.classes?.icon), l = P(Ue, a?.classes?.content, i);
557
557
  return /* @__PURE__ */ b("div", {
558
558
  "data-type": e,
559
559
  className: s,
@@ -568,7 +568,7 @@ function We({ type: e, icon: t, children: n, className: r, contentClassName: i }
568
568
  }
569
569
  //#endregion
570
570
  //#region libs/ui-components/src/components/CopyButton/CopyButton.tsx
571
- var Ge = ({ title: e, copiedTitle: t, tooltip: n, hoverTooltip: r, icon: a, copiedIcon: o, className: l, buttonTextClassName: u, onClick: d }) => {
571
+ var Ke = ({ title: e, copiedTitle: t, tooltip: n, hoverTooltip: r, icon: a, copiedIcon: o, className: l, buttonTextClassName: u, onClick: d }) => {
572
572
  let [f, p] = c(!1), m = s(null);
573
573
  return i(() => () => {
574
574
  m.current && clearTimeout(m.current);
@@ -595,7 +595,7 @@ var Ge = ({ title: e, copiedTitle: t, tooltip: n, hoverTooltip: r, icon: a, copi
595
595
  };
596
596
  //#endregion
597
597
  //#region libs/ui-components/src/components/DraggableList/DraggableListOverlay.tsx
598
- function Ke({ id: e, label: t, hasChildren: n, showDragHandle: r, showCheckbox: i, isChecked: a, isExpanded: o }) {
598
+ function qe({ id: e, label: t, hasChildren: n, showDragHandle: r, showCheckbox: i, isChecked: a, isExpanded: o }) {
599
599
  return /* @__PURE__ */ b("div", {
600
600
  className: "relative cursor-grabbing rounded bg-neutrals-200 shadow",
601
601
  children: [/* @__PURE__ */ y("div", { className: "absolute -left-[0.5px] top-0.5 h-5 w-0.5 rounded-full bg-gradients-light" }), /* @__PURE__ */ b("div", {
@@ -645,7 +645,7 @@ function q(e) {
645
645
  itemId: t[t.length - 1]
646
646
  } : null;
647
647
  }
648
- function qe(e, t, n) {
648
+ function Je(e, t, n) {
649
649
  let r = Y(e, t);
650
650
  return r ? r.find((e) => e.id === n) ?? null : null;
651
651
  }
@@ -668,7 +668,7 @@ function X(e, t, n) {
668
668
  }
669
669
  //#endregion
670
670
  //#region libs/ui-components/src/components/DraggableList/DraggableListRow.tsx
671
- function Je({ parentPath: e, item: t, showDragHandle: n, showCheckbox: r, renderLabel: i, onItemClick: a, onToggleExpanded: o, onToggleChecked: s }) {
671
+ function Ye({ parentPath: e, item: t, showDragHandle: n, showCheckbox: r, renderLabel: i, onItemClick: a, onToggleExpanded: o, onToggleChecked: s }) {
672
672
  let c = !!t.items?.length, u = !!t.isExpanded, d = t.isDisabled ? !1 : t.draggable ?? !0, p = t.isDisabled ? !1 : t.checkable ?? !0, { attributes: h, listeners: g, setNodeRef: _, setActivatorNodeRef: v, transform: x, transition: S, isDragging: C } = me({
673
673
  id: K(e, t.id),
674
674
  disabled: !d
@@ -764,11 +764,11 @@ function Je({ parentPath: e, item: t, showDragHandle: n, showCheckbox: r, render
764
764
  }
765
765
  //#endregion
766
766
  //#region libs/ui-components/src/components/DraggableList/DraggableList.tsx
767
- function Ye({ items: t, showDragHandle: n = !0, showCheckbox: r = !0, onItemsChange: i, onToggleExpanded: a, onToggleChecked: o, onItemClick: s, renderLabel: c }) {
767
+ function Xe({ items: t, showDragHandle: n = !0, showCheckbox: r = !0, onItemsChange: i, onToggleExpanded: a, onToggleChecked: o, onItemClick: s, renderLabel: c }) {
768
768
  let l = de(ue(ce, { activationConstraint: { distance: 6 } })), [u, d] = e.useState(null), f = (e) => {
769
769
  let n = String(e.active.id), r = q(n);
770
770
  if (!r) return;
771
- let i = qe(t, r.parentPath, r.itemId);
771
+ let i = Je(t, r.parentPath, r.itemId);
772
772
  !i || i.type !== "item" || d({
773
773
  id: n,
774
774
  label: i.label,
@@ -812,7 +812,7 @@ function Ye({ items: t, showDragHandle: n = !0, showCheckbox: r = !0, onItemsCha
812
812
  })]
813
813
  }, e.id) : /* @__PURE__ */ b("li", {
814
814
  className: "m-0 flex flex-col gap-2 p-0",
815
- children: [/* @__PURE__ */ y(Je, {
815
+ children: [/* @__PURE__ */ y(Ye, {
816
816
  parentPath: t,
817
817
  item: e,
818
818
  showDragHandle: n,
@@ -836,7 +836,7 @@ function Ye({ items: t, showDragHandle: n = !0, showCheckbox: r = !0, onItemsCha
836
836
  children: [/* @__PURE__ */ y("div", {
837
837
  className: "flex flex-col",
838
838
  children: h(t)
839
- }), /* @__PURE__ */ y(se, { children: u ? /* @__PURE__ */ y(Ke, {
839
+ }), /* @__PURE__ */ y(se, { children: u ? /* @__PURE__ */ y(qe, {
840
840
  id: u.id,
841
841
  label: u.label,
842
842
  hasChildren: u.hasChildren,
@@ -849,11 +849,11 @@ function Ye({ items: t, showDragHandle: n = !0, showCheckbox: r = !0, onItemsCha
849
849
  }
850
850
  //#endregion
851
851
  //#region libs/ui-components/src/components/DraggableList/utils/filter-util.ts
852
- var Xe = (e, t) => e.label.toLowerCase().includes(t);
853
- function Ze(e, t, n = {}) {
854
- let r = $e(t);
852
+ var Ze = (e, t) => e.label.toLowerCase().includes(t);
853
+ function Qe(e, t, n = {}) {
854
+ let r = et(t);
855
855
  if (!r) return e;
856
- let { expandMatchedBranches: i = !0, includeGroupDescendantsOnMatch: a = !0, includeItemDescendantsOnMatch: o = !1, match: s = Xe } = n;
856
+ let { expandMatchedBranches: i = !0, includeGroupDescendantsOnMatch: a = !0, includeItemDescendantsOnMatch: o = !1, match: s = Ze } = n;
857
857
  return Z(e, r, {
858
858
  expandMatchedBranches: i,
859
859
  includeGroupDescendantsOnMatch: a,
@@ -864,12 +864,12 @@ function Ze(e, t, n = {}) {
864
864
  function Z(e, t, n) {
865
865
  let r = [];
866
866
  for (let i of e) {
867
- let e = Qe(i, t, n);
867
+ let e = $e(i, t, n);
868
868
  e && r.push(e);
869
869
  }
870
870
  return r.length ? r : null;
871
871
  }
872
- function Qe(e, t, n) {
872
+ function $e(e, t, n) {
873
873
  let r = n.match(e, t);
874
874
  if (e.type === "group") {
875
875
  if (r && n.includeGroupDescendantsOnMatch) return Q(e, n.expandMatchedBranches);
@@ -895,25 +895,25 @@ function Q(e, t) {
895
895
  items: e.items?.map((e) => Q(e, t))
896
896
  };
897
897
  }
898
- function $e(e) {
898
+ function et(e) {
899
899
  return e.trim().toLowerCase();
900
900
  }
901
901
  //#endregion
902
902
  //#region libs/ui-components/src/types/keyboard.ts
903
- var et = /* @__PURE__ */ function(e) {
903
+ var tt = /* @__PURE__ */ function(e) {
904
904
  return e.Enter = "Enter", e;
905
905
  }({}), $ = t(null);
906
- function tt({ children: e, isAgentAvailable: t }) {
906
+ function nt({ children: e, isAgentAvailable: t }) {
907
907
  let n = o(() => ({ isAgentAvailable: t }), [t]);
908
908
  return /* @__PURE__ */ y($.Provider, {
909
909
  value: n,
910
910
  children: e
911
911
  });
912
912
  }
913
- function nt() {
913
+ function rt() {
914
914
  let e = r($);
915
915
  if (!e) throw Error("useAgentAvailability must be used within AgentAvailabilityProvider");
916
916
  return e;
917
917
  }
918
918
  //#endregion
919
- export { tt as AgentAvailabilityProvider, ve as Alert, M as AlertType, F as Button, Ce as CALENDAR_MOBILE_PADDING, we as Calendar, R as Checkbox, j as CloseButton, Te as CollapsibleBlock, Ge as CopyButton, Ie as DownloadFormatMessage, Ye as DraggableList, Fe as Dropdown, Ee as HighlightText, De as IconButton, We as InlineAlert, Re as InlineAlertProvider, G as InlineAlertType, z as Input, Oe as InputWithIcon, et as KeyboardKey, ke as Link, N as Loader, V as PopUpSize, B as PopUpState, Ne as Popup, je as Radio, Le as RequestLimitMessage, L as SERIES_LIMIT, xe as TREE_NODE_ARROW_SIZE, Se as TREE_NODE_PADDING, Ae as Tag, Ze as filterDraggableListNodes, nt as useAgentAvailability, be as useDebounce, I as useIsMobile };
919
+ export { nt as AgentAvailabilityProvider, ve as Alert, M as AlertType, F as Button, Ce as CALENDAR_MOBILE_PADDING, Te as Calendar, R as Checkbox, j as CloseButton, Ee as CollapsibleBlock, Ke as CopyButton, Le as DownloadFormatMessage, Xe as DraggableList, Ie as Dropdown, De as HighlightText, Oe as IconButton, Ge as InlineAlert, ze as InlineAlertProvider, G as InlineAlertType, z as Input, ke as InputWithIcon, tt as KeyboardKey, Ae as Link, N as Loader, we as MOBILE_BREAKPOINT, V as PopUpSize, B as PopUpState, Pe as Popup, Me as Radio, Re as RequestLimitMessage, L as SERIES_LIMIT, xe as TREE_NODE_ARROW_SIZE, Se as TREE_NODE_PADDING, je as Tag, Qe as filterDraggableListNodes, rt as useAgentAvailability, be as useDebounce, I as useIsMobile };
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@epam/statgpt-ui-components",
3
- "version": "0.7.0-dev.27",
3
+ "version": "0.7.0-dev.29",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
- "@epam/statgpt-shared-toolkit": "0.7.0-dev.27"
6
+ "@epam/statgpt-shared-toolkit": "0.7.0-dev.29"
7
7
  },
8
8
  "peerDependencies": {
9
9
  "@dnd-kit/core": "^6.3.1",