1"use strict";(self.webpackChunkStammer_ai=self.webpackChunkStammer_ai||[]).push([[1486],{25863:function(e,n,t){var r=t(38246),a=t.n(r),o=t(21879),i=t.n(o)()(a());i.push([e.id,"/* Positioned only while the skeleton is up, so a loaded page never gains a\n new containing block for its absolutely positioned children. */\n.page-load-gate.is-loading {\n position: relative;\n min-height: 1px;\n}\n\n.page-load-gate-layer {\n position: absolute;\n inset: 0;\n overflow: hidden;\n pointer-events: none;\n}\n\n.page-load-gate-layer.is-holding {\n position: static;\n inset: auto;\n overflow: visible;\n pointer-events: auto;\n}\n\n.page-load-gate-layer.is-hidden {\n opacity: 0;\n visibility: hidden;\n}\n",""]),n.A=i},82973:function(e,n,t){var r=t(38246),a=t.n(r),o=t(21879),i=t.n(o)()(a());i.push([e.id,'@keyframes shell-banner-spin {\n to { transform: rotate(360deg); }\n}\n\nbody.shell-layout-v2 {\n --shell-banner-stack-height: 0px;\n --shell-header-top: 0px;\n --shell-header-height: 0px;\n --shell-sidebar-top: 0px;\n --shell-sidebar-height: 100dvh;\n --shell-sidebar-width-expanded: 13.5rem;\n --shell-sidebar-width-collapsed: 4rem;\n --shell-sidebar-transition-duration: 380ms;\n --shell-sidebar-transition-ease: cubic-bezier(0.22, 1, 0.36, 1);\n --shell-sidebar-text-duration: 190ms;\n --shell-sidebar-text-ease: cubic-bezier(0.33, 1, 0.68, 1);\n --shell-sidebar-text-shift: 0.5rem;\n --shell-sidebar-font-family: "Metropolis", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", "Arial", sans-serif;\n --shell-sidebar-font-size: 0.875rem;\n --shell-sidebar-font-size-nested: 0.8125rem;\n --shell-sidebar-font-weight: 500;\n --shell-sidebar-heading-size: 0.6875rem;\n --shell-sidebar-heading-weight: 700;\n --shell-sidebar-heading-letter-spacing: 0.08em;\n --shell-sidebar-muted-size: 0.75rem;\n --shell-sidebar-footer-size: 0.8125rem;\n --shell-sidebar-icon-size: 0.875rem;\n --shell-sidebar-surface-start: rgba(var(--bs-bg-rgb), 1);\n --shell-sidebar-surface-end: rgba(var(--bs-bg-rgb), 0.98);\n --shell-sidebar-header-start: rgba(var(--bs-bg-rgb), 0.96);\n --shell-sidebar-header-end: rgba(var(--bs-bg-rgb), 0.86);\n --shell-sidebar-border: rgba(var(--bs-grey-bg), 0.85);\n --shell-sidebar-highlight-edge: rgba(255, 255, 255, 0.5);\n --shell-sidebar-shadow: 14px 0 34px rgba(var(--bs-shadow-color-rgb), 0.16);\n --shell-sidebar-brand-surface: rgba(var(--bs-bg-rgb), 0.94);\n --shell-sidebar-brand-ring: rgba(148, 163, 184, 0.12);\n --shell-sidebar-button-surface: rgba(var(--bs-bg-rgb), 0.9);\n --shell-sidebar-button-surface-hover: rgba(var(--bs-bg-rgb), 1);\n --shell-sidebar-button-ring: rgba(148, 163, 184, 0.16);\n --shell-sidebar-heading-color: rgba(var(--bs-invert-color-rgb), 0.42);\n --shell-sidebar-icon-surface: rgba(148, 163, 184, 0.12);\n --shell-sidebar-icon-color: rgba(var(--bs-invert-color-rgb), 0.68);\n --shell-sidebar-hover-surface: rgba(var(--bs-primary-rgb), 0.12);\n --shell-sidebar-hover-shadow: 0 8px 16px rgba(var(--bs-primary-rgb), 0.12);\n --shell-sidebar-active-surface-start: rgba(var(--bs-primary-rgb), 1);\n --shell-sidebar-active-surface-end: rgba(var(--bs-primary-rgb), 0.72);\n --shell-sidebar-active-indicator-start: rgba(var(--bs-primary-rgb), 1);\n --shell-sidebar-active-indicator-end: rgba(var(--bs-primary-rgb), 0.58);\n --shell-sidebar-active-indicator-left: 3px;\n --shell-sidebar-footer-surface-start: rgba(var(--bs-bg-rgb), 0.94);\n --shell-sidebar-footer-surface-end: rgba(var(--bs-bg-rgb), 0.9);\n --shell-sidebar-footer-border: rgba(148, 163, 184, 0.18);\n --shell-sidebar-wallet-hover: rgba(148, 163, 184, 0.08);\n --shell-sidebar-user-surface: rgba(148, 163, 184, 0.08);\n --shell-sidebar-user-surface-hover: rgba(148, 163, 184, 0.14);\n --shell-sidebar-collapsed-btn-surface: rgba(var(--bs-bg-rgb), 0.9);\n --shell-sidebar-collapsed-btn-ring: rgba(148, 163, 184, 0.14);\n --shell-sidebar-tooltip-bg: rgba(var(--bs-bg-rgb), 1);\n --shell-sidebar-tooltip-border: rgba(var(--bs-grey-bg), 0.95);\n --shell-sidebar-tooltip-text: rgba(var(--bs-invert-color-rgb), 0.92);\n --shell-sidebar-tooltip-font-size: 0.75rem;\n --shell-sidebar-tooltip-font-weight: 500;\n}\n\nbody.dark.shell-layout-v2,\nbody.shell-layout-v2.dark {\n --shell-sidebar-surface-start: rgba(var(--bs-bg-rgb), 1);\n --shell-sidebar-surface-end: rgba(var(--bs-grey-bg), 0.88);\n --shell-sidebar-header-start: rgba(var(--bs-bg-rgb), 0.99);\n --shell-sidebar-header-end: rgba(var(--bs-bg-rgb), 0.94);\n --shell-sidebar-border: rgba(255, 255, 255, 0.08);\n --shell-sidebar-highlight-edge: rgba(255, 255, 255, 0.04);\n --shell-sidebar-shadow: 18px 0 36px rgba(0, 0, 0, 0.26);\n --shell-sidebar-brand-surface: rgba(255, 255, 255, 0.03);\n --shell-sidebar-brand-ring: rgba(255, 255, 255, 0.08);\n --shell-sidebar-button-surface: rgba(255, 255, 255, 0.04);\n --shell-sidebar-button-surface-hover: rgba(255, 255, 255, 0.08);\n --shell-sidebar-button-ring: rgba(255, 255, 255, 0.07);\n --shell-sidebar-heading-color: rgba(255, 255, 255, 0.42);\n --shell-sidebar-icon-surface: rgba(255, 255, 255, 0.05);\n --shell-sidebar-icon-color: rgba(255, 255, 255, 0.62);\n --shell-sidebar-hover-surface: rgba(255, 255, 255, 0.05);\n --shell-sidebar-hover-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);\n --shell-sidebar-active-surface-start: rgba(var(--bs-primary-rgb), 0.22);\n --shell-sidebar-active-surface-end: rgba(var(--bs-primary-rgb), 0.14);\n --shell-sidebar-active-indicator-start: rgba(var(--bs-primary-rgb), 0.96);\n --shell-sidebar-active-indicator-end: rgba(var(--bs-primary-rgb), 0.48);\n --shell-sidebar-footer-surface-start: rgba(var(--bs-bg-rgb), 0.96);\n --shell-sidebar-footer-surface-end: rgba(var(--bs-bg-rgb), 0.92);\n --shell-sidebar-footer-border: rgba(255, 255, 255, 0.08);\n --shell-sidebar-wallet-hover: rgba(255, 255, 255, 0.05);\n --shell-sidebar-user-surface: rgba(255, 255, 255, 0.04);\n --shell-sidebar-user-surface-hover: rgba(255, 255, 255, 0.08);\n --shell-sidebar-collapsed-btn-surface: rgba(255, 255, 255, 0.05);\n --shell-sidebar-collapsed-btn-ring: rgba(255, 255, 255, 0.07);\n --shell-sidebar-tooltip-bg: rgba(var(--bs-bg-rgb), 0.98);\n --shell-sidebar-tooltip-border: rgba(255, 255, 255, 0.12);\n --shell-sidebar-tooltip-text: rgba(255, 255, 255, 0.92);\n --shell-sidebar-tooltip-font-size: 0.75rem;\n --shell-sidebar-tooltip-font-weight: 500;\n}\n\nbody.dark.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link:hover,\nbody.shell-layout-v2.dark #shellLayout #shellLayoutSidebar .sidenav .nav-link:hover {\n background: var(--shell-sidebar-hover-surface);\n box-shadow: var(--shell-sidebar-hover-shadow);\n color: rgba(var(--bs-invert-color-rgb), 0.96) !important;\n}\n\nbody.dark.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link:hover .nav-link-icon,\nbody.shell-layout-v2.dark #shellLayout #shellLayoutSidebar .sidenav .nav-link:hover .nav-link-icon {\n background: rgba(255, 255, 255, 0.09);\n box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);\n color: rgba(var(--bs-invert-color-rgb), 0.96);\n}\n\nbody.dark.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link::after,\nbody.shell-layout-v2.dark #shellLayout #shellLayoutSidebar .sidenav .nav-link::after {\n /* Dark mode uses a vertical gradient direction */\n background: linear-gradient(180deg, var(--shell-sidebar-active-surface-start) 0%, var(--shell-sidebar-active-surface-end) 100%);\n}\n\nbody.dark.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link.active,\nbody.shell-layout-v2.dark #shellLayout #shellLayoutSidebar .sidenav .nav-link.active {\n /* background handled by ::after for smooth opacity transition */\n box-shadow:\n inset 0 0 0 1px rgba(255, 255, 255, 0.05),\n 0 8px 18px rgba(0, 0, 0, 0.18);\n color: rgba(var(--bs-invert-color-rgb), 0.98) !important;\n}\n\nbody.dark.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link.active::before,\nbody.shell-layout-v2.dark #shellLayout #shellLayoutSidebar .sidenav .nav-link.active::before {\n background: linear-gradient(180deg, var(--shell-sidebar-active-indicator-start), var(--shell-sidebar-active-indicator-end));\n}\n\nbody.dark.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link.active .nav-link-icon,\nbody.dark.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link.active .sidenav-collapse-
1arrow,\nbody.shell-layout-v2.dark #shellLayout #shellLayoutSidebar .sidenav .nav-link.active .nav-link-icon,\nbody.shell-layout-v2.dark #shellLayout #shellLayoutSidebar .sidenav .nav-link.active .sidenav-collapse-arrow {\n color: rgba(var(--bs-invert-color-rgb), 0.98) !important;\n}\n\nbody.dark.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link.active .nav-link-icon,\nbody.shell-layout-v2.dark #shellLayout #shellLayoutSidebar .sidenav .nav-link.active .nav-link-icon {\n background: rgba(255, 255, 255, 0.1);\n box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);\n}\n\nbody.shell-layout-v2 .shell-fixed-banner {\n position: fixed !important;\n left: 0;\n right: 0;\n width: 100%;\n margin-bottom: 0 !important;\n z-index: 1075;\n}\n\nbody.shell-layout-v2 .shell-top-banners {\n position: fixed;\n top: var(--shell-banner-stack-height);\n left: 0;\n right: 0;\n z-index: 1070;\n}\n\nbody.shell-layout-v2 .shell-top-banner {\n position: relative;\n overflow: hidden;\n border-bottom: 1px solid transparent;\n box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);\n color: inherit;\n}\n\nbody.shell-layout-v2 .shell-top-banner-trial {\n background: #f4f8ff;\n border-bottom-color: #d8e5fb;\n color: #24446b;\n}\n\nbody.shell-layout-v2 .shell-top-banner-inline {\n color: rgba(var(--bs-invert-color-rgb), 0.88);\n}\n\nbody.shell-layout-v2 .shell-top-banner-warning {\n background: #fff8ec;\n border-bottom-color: #f1dfc2;\n color: #7a5a1f;\n}\n\nbody.shell-layout-v2 .shell-top-banner-success {\n background: #f1faf4;\n border-bottom-color: #d4e8da;\n color: #2c5b3e;\n}\n\nbody.shell-layout-v2 .shell-top-banner-info {\n background: #f4f8ff;\n border-bottom-color: #d8e5fb;\n color: #24446b;\n}\n\nbody.shell-layout-v2 .shell-top-banner-action {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-height: 1.75rem;\n padding: 0.16rem 0.68rem;\n border-radius: 999px;\n border: 0;\n background: #e4eeff;\n color: inherit;\n cursor: pointer;\n font-family: var(--shell-sidebar-font-family);\n font-size: 0.78rem;\n font-weight: 700;\n text-decoration: none;\n transition:\n background-color 180ms ease,\n color 180ms ease,\n box-shadow 180ms ease;\n}\n\nbody.shell-layout-v2 .shell-top-banner-action:hover {\n background: #d8e6ff;\n box-shadow: inset 0 0 0 1px rgba(53, 106, 195, 0.08);\n color: inherit;\n}\n\nbody.shell-layout-v2 .shell-top-banner-trial-copy {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 0.85rem;\n min-height: 1.85rem;\n padding: 0.24rem 0.9rem;\n}\n\nbody.shell-layout-v2 .shell-top-banner-trial-main {\n display: flex;\n align-items: center;\n gap: 0.8rem;\n justify-content: center;\n min-width: 0;\n flex: 1 1 auto;\n}\n\nbody.shell-layout-v2 .shell-top-banner-trial-badge {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: 0.16rem 0.5rem;\n border-radius: 999px;\n background: #e4eeff;\n color: #356ac3;\n font-family: var(--shell-sidebar-font-family);\n font-size: 0.71rem;\n font-weight: 700;\n letter-spacing: 0.04em;\n text-transform: uppercase;\n white-space: nowrap;\n}\n\nbody.shell-layout-v2 .shell-top-banner-trial-text {\n min-width: 0;\n text-align: center;\n}\n\nbody.shell-layout-v2 .shell-top-banner-trial-message {\n color: #24446b;\n font-family: var(--shell-sidebar-font-family);\n font-size: 0.8rem;\n font-weight: 600;\n line-height: 1.3;\n}\n\nbody.shell-layout-v2 .shell-top-banner-trial-message > * {\n margin: 0;\n}\n\nbody.shell-layout-v2 .shell-top-banner-trial-message a {\n color: #356ac3;\n font-weight: 700;\n text-decoration: none;\n}\n\nbody.shell-layout-v2 .shell-top-banner-trial-message a:hover {\n text-decoration: underline;\n}\n\nbody.shell-layout-v2 .shell-top-banner-trial-title {\n color: #1f3960;\n font-family: var(--shell-sidebar-font-family);\n font-size: 0.94rem;\n font-weight: 700;\n line-height: 1.2;\n}\n\nbody.shell-layout-v2 .shell-top-banner-trial-description {\n margin-top: 0.08rem;\n color: #5d7598;\n font-family: var(--shell-sidebar-font-family);\n font-size: 0.79rem;\n font-weight: 500;\n line-height: 1.3;\n}\n\nbody.shell-layout-v2 .shell-top-banner-trial-actions {\n display: flex;\n align-items: center;\n gap: 0.55rem;\n flex-shrink: 0;\n}\n\nbody.shell-layout-v2 .shell-top-banner-trial-status {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-height: 1.75rem;\n padding: 0.16rem 0.62rem;\n border-radius: 999px;\n border: 1px solid #d8e5fb;\n background: #edf4ff;
1\n color: #356ac3;\n font-family: var(--shell-sidebar-font-family);\n font-size: 0.76rem;\n font-weight: 700;\n white-space: nowrap;\n}\n\nbody.shell-layout-v2 .shell-top-banner-inline-copy {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 0.7rem;\n min-height: 1.85rem;\n padding: 0.22rem 0.9rem;\n font-family: var(--shell-sidebar-font-family);\n font-size: 0.8rem;\n font-weight: 500;\n line-height: 1.35;\n text-align: center;\n}\n\nbody.shell-layout-v2 .shell-top-banner-message {\n display: inline-flex;\n align-items: center;\n gap: 0.35rem;\n flex-wrap: wrap;\n justify-content: center;\n}\n\nbody.shell-layout-v2 .shell-top-banner-message > * {\n margin: 0;\n}\n\nbody.shell-layout-v2 .shell-top-banner-message a {\n color: inherit;\n font-weight: 700;\n text-decoration: none;\n}\n\nbody.shell-layout-v2 .shell-top-banner-message a:hover {\n text-decoration: underline;\n}\n\nbody.shell-layout-v2 .shell-top-banner-message strong {\n font-weight: 700;\n}\n\nbody.shell-layout-v2 .shell-top-banner-action-form {\n margin: 0;\n}\n\nbody.shell-layout-v2 .shell-top-banner-trial.shell-top-banner-warning {\n border-bottom-color: #f1dfc2;\n}\n\nbody.shell-layout-v2 .shell-top-banner-trial.shell-top-banner-warning .shell-top-banner-trial-badge,\nbody.shell-layout-v2 .shell-top-banner-trial.shell-top-banner-warning .shell-top-banner-trial-status,\nbody.shell-layout-v2 .shell-top-banner-trial.shell-top-banner-warning .shell-top-banner-action {\n background: #f9ebcf;\n color: #b27a16;\n}\n\nbody.shell-layout-v2 .shell-top-banner-trial.shell-top-banner-warning .shell-top-banner-trial-message {\n color: #7a5a1f;\n}\n\nbody.shell-layout-v2 .shell-top-banner-trial.shell-top-banner-warning .shell-top-banner-trial-message a {\n color: #b27a16;\n}\n\nbody.shell-layout-v2 .shell-top-banner-trial.shell-top-banner-warning .shell-top-banner-trial-status {\n border-color: #f1dfc2;\n}\n\nbody.shell-layout-v2 .shell-top-banner-trial.shell-top-banner-warning .shell-top-banner-action:hover {\n background: #f5e2bb;\n}\n\nbody.shell-layout-v2 .shell-top-banner-warning .shell-top-banner-action {\n background: #f9ebcf;\n color: #b27a16;\n}\n\nbody.shell-layout-v2 .shell-top-banner-success .shell-top-banner-action {\n background: #e2f2e7;\n color: #2f7a4f;\n}\n\nbody.shell-layout-v2 .shell-top-banner-info .shell-top-banner-action {\n background: #e4eeff;\n color: #356ac3;\n}\n\nbody.shell-layout-v2 .shell-top-banner-warning .shell-top-banner-action:hover {\n background: #f5e2bb;\n}\n\nbody.shell-layout-v2 .shell-top-banner-success .shell-top-banner-action:hover {\n background: #d8eddc;\n}\n\nbody.shell-layout-v2 .shell-top-banner-info .shell-top-banner-action:hover {\n background: #d8e6ff;\n}\n\nbody.dark.shell-layout-v2 .shell-top-banner,\nbody.shell-layout-v2.dark .shell-top-banner {\n box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);\n}\n\nbody.dark.shell-layout-v2 .shell-top-banner-trial,\nbody.dark.shell-layout-v2 .shell-top-banner-info,\nbody.shell-layout-v2.dark .shell-top-banner-trial,\nbody.shell-layout-v2.dark .shell-top-banner-info {\n background: #1f2835;\n border-bottom-color: #31445f;\n color: #d7e7ff;\n}\n\nbody.dark.shell-layout-v2 .shell-top-banner-warning,\nbody.shell-layout-v2.dark .shell-top-banner-warning {\n background: #332719;\n border-bottom-color: #5c4324;\n color: #f3d59c;\n}\n\nbody.dark.shell-layout-v2 .shell-top-banner-success,\nbody.shell-layout-v2.dark .shell-top-banner-success {\n background: #1d2d25;\n border-bottom-color: #31483b;\n color: #cfe8d7;\n}\n\nbody.dark.shell-layout-v2 .shell-top-banner-action,\nbody.shell-layout-v2.dark .shell-top-banner-action {\n box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);\n}\n\nbody.dark.shell-layout-v2 .shell-top-banner-trial-badge,\nbody.dark.shell-layout-v2 .shell-top-banner-info .shell-top-banner-action,\nbody.dark.shell-layout-v2 .shell-top-banner-trial-status,\nbody.shell-layout-v2.dark .shell-top-banner-trial-badge,\nbody.shell-layout-v2.dark .shell-top-banner-info .shell-top-banner-action,\nbody.shell-layout-v2.dark .shell-top-banner-trial-status {\n background: #27384f;
1\n color: #8fb4ff;\n}\n\nbody.dark.shell-layout-v2 .shell-top-banner-trial-message,\nbody.shell-layout-v2.dark .shell-top-banner-trial-message {\n color: #d7e7ff;\n}\n\nbody.dark.shell-layout-v2 .shell-top-banner-trial-message a,\nbody.shell-layout-v2.dark .shell-top-banner-trial-message a {\n color: #8fb4ff;\n}\n\nbody.dark.shell-layout-v2 .shell-top-banner-trial-title,\nbody.shell-layout-v2.dark .shell-top-banner-trial-title {\n color: #edf4ff;\n}\n\nbody.dark.shell-layout-v2 .shell-top-banner-trial-description,\nbody.shell-layout-v2.dark .shell-top-banner-trial-description {\n color: #9fb3cf;\n}\n\nbody.dark.shell-layout-v2 .shell-top-banner-trial-status,\nbody.shell-layout-v2.dark .shell-top-banner-trial-status {\n border-color: #31445f;\n}\n\nbody.dark.shell-layout-v2 .shell-top-banner-info .shell-top-banner-action:hover,\nbody.dark.shell-layout-v2 .shell-top-banner-trial .shell-top-banner-action:hover,\nbody.shell-layout-v2.dark .shell-top-banner-info .shell-top-banner-action:hover,\nbody.shell-layout-v2.dark .shell-top-banner-trial .shell-top-banner-action:hover {\n background: #314866;\n}\n\nbody.dark.shell-layout-v2 .shell-top-banner-warning .shell-top-banner-action,\nbody.dark.shell-layout-v2 .shell-top-banner-trial.shell-top-banner-warning .shell-top-banner-trial-badge,\nbody.dark.shell-layout-v2 .shell-top-banner-trial.shell-top-banner-warning .shell-top-banner-trial-status,\nbody.dark.shell-layout-v2 .shell-top-banner-trial.shell-top-banner-warning .shell-top-banner-action,\nbody.shell-layout-v2.dark .shell-top-banner-warning .shell-top-banner-action,\nbody.shell-layout-v2.dark .shell-top-banner-trial.shell-top-banner-warning .shell-top-banner-trial-badge,\nbody.shell-layout-v2.dark .shell-top-banner-trial.shell-top-banner-warning .shell-top-banner-trial-status,\nbody.shell-layout-v2.dark .shell-top-banner-trial.shell-top-banner-warning .shell-top-banner-action {\n background: #49361e;\n color: #e5b14b;\n}\n\nbody.dark.shell-layout-v2 .shell-top-banner-trial.shell-top-banner-warning .shell-top-banner-trial-message,\nbody.shell-layout-v2.dark .shell-top-banner-trial.shell-top-banner-warning .shell-top-banner-trial-message {\n color: #f3d59c;\n}\n\nbody.dark.shell-layout-v2 .shell-top-banner-trial.shell-top-banner-warning .shell-top-banner-trial-message a,\nbody.shell-layout-v2.dark .shell-top-banner-trial.shell-top-banner-warning .shell-top-banner-trial-message a {\n color: #e5b14b;\n}\n\nbody.dark.shell-layout-v2 .shell-top-banner-warning .shell-top-banner-action:hover,\nbody.dark.shell-layout-v2 .shell-top-banner-trial.shell-top-banner-warning .shell-top-banner-action:hover,\nbody.shell-layout-v2.dark .shell-top-banner-warning .shell-top-banner-action:hover,\nbody.shell-layout-v2.dark .shell-top-banner-trial.shell-top-banner-warning .shell-top-banner-action:hover {\n background: #5a4325;\n}\n\nbody.dark.shell-layout-v2 .shell-top-banner-success .shell-top-banner-action,\nbody.shell-layout-v2.dark .shell-top-banner-success .shell-top-banner-action {\n background: #294235;\n color: #7dc59a;\n}\n\nbody.dark.shell-layout-v2 .shell-top-banner-success .shell-top-banner-action:hover,\nbody.shell-layout-v2.dark .shell-top-banner-success .shell-top-banner-action:hover {\n background: #345342;\n}\n\n@media (max-width: 767px) {\n body.shell-layout-v2 .shell-top-banner-trial-copy {\n align-items: flex-start;\n flex-direction: column;\n min-height: unset;\n padding: 0.32rem 0.7rem;\n }\n\n body.shell-layout-v2 .shell-top-banner-trial-main,\n body.shell-layout-v2 .shell-top-banner-trial-actions {\n width: 100%;\n }\n\n body.shell-layout-v2 .shell-top-banner-trial-actions {\n justify-content: space-between;\n }\n\n body.shell-layout-v2 .shell-top-banner-inline-copy {\n padding: 0.32rem 0.7rem;\n gap: 0.5rem;\n }\n\n body.shell-layout-v2 .shell-top-banner-message {\n display: inline;\n }\n}\n\nbody.shell-layout-v2 #shellLayout {\n align-items: flex-start;\n margin-top: 0 !important;\n}\n\nbody.shell-layout-v2 #shellLayout #shellTopBanner,\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar,\nbody.shell-layout-v2 #shellLayout #shellLayoutContent {\n transition:\n opacity 320ms ease,\n transform 340ms cubic-bezier(0.22, 1, 0.36, 1),\n filter 300ms ease;\n}\n\nbody.shell-layout-v2 #shellLayout.shell-layout-entering #shellTopBanner,\nbody.shell-layout-v2 #shellLayout.shell-layout-entering #shellLayoutSidebar,\nbody.shell-layout-v2 #shellLayout.shell-layout-entering #shellLayoutContent {\n opacity: 0.9;\n filter: saturate(0.96);\n}\n\nbody.shell-layout-v2 #shellLayout.shell-layout-entering #shellLayoutSidebar {\n transform: translateX(-2px);\n}\n\nbody.shell-layout-v2 #shellLayout.shell-layout-entering #shellLayoutContent,\nbody.shell-layout-v2 #shellLayout.shell-layout-entering #shellTopBanner {\n transform: translateY(2px);\n}\n\nbody.shell-layout-v2 #shellLayout.shell-layout-entered #shellTopBanner,\nbody.shell-layout-v2 #shellLayout.shell-layout-entered #shellLayoutSidebar,\nbody.shell-layout-v2 #shellLayout.shell-layout-entered #shellLayoutContent {\n opacity: 1;\n transform: translate(0, 0);\n filter: none;\n}\n\n@media (prefers-reduced-motion: reduce) {\n body.shell-layout-v2 #shellLayout #shellTopBanner,\n body.shell-layout-v2 #shellLayout #shellLayoutSidebar,\n body.shell-layout-v2 #shellLayout #shellLayoutContent {\n transition: none !important;\n }\n\n body.shell-layout-v2 #shellLayout.shell-layout-entering #shellTopBanner,\n body.shell-layout-v2 #shellLayout.shell-layout-entering #shellLayoutSidebar,\n body.shell-layout-v2 #shellLayout.shell-layout-entering #shellLayoutContent {\n opacity: 1 !important;\n transform: none !important;\n filter: none !important;\n }\n}\n\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar {\n transition:\n transform var(--shell-sidebar-transition-duration) var(--shell-sidebar-transition-ease),\n width var(--shell-sidebar-transition-duration) var(--shell-sidebar-transition-ease),\n max-width var(--shell-sidebar-transition-duration) var(--shell-sidebar-transition-ease);\n will-change: transform;\n z-index: 1050;\n position: fixed;\n left: 0;\n top: var(--shell-sidebar-top);\n height: var(--shell-sidebar-height);\n max-height: var(--shell-sidebar-height);\n width: var(--shell-sidebar-width-expanded);\n max-width: var(--shell-sidebar-width-expanded);\n}\n\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav {\n display: flex;\n flex-direction: column;\n height: 100%;\n max-height: 100%;\n overflow: hidden;\n background:\n linear-gradient(180deg, var(--shell-sidebar-surface-start) 0%, var(--shell-sidebar-surface-end) 100%);\n border-right: 1px solid var(--shell-sidebar-border);\n box-shadow:\n var(--shell-sidebar-shadow),\n inset -1px 0 0 var(--shell-sidebar-highlight-edge);\n transition:\n border-color var(--shell-sidebar-transition-duration) var(--shell-sidebar-transition-ease),\n box-shadow var(--shell-sidebar-transition-duration) var(--shell-sidebar-transition-ease),\n background-color var(--shell-sidebar-transition-duration) var(--shell-sidebar-transition-ease);\n}\n\nbody.shell-layout-v2 .shell-sidebar-head {\n display: flex;\n align-items: center;\n justify-content: space-between;\n min-height: 72px;\n padding: 0 14px;\n border-bottom: 1px solid var(--shell-sidebar-border);\n background:\n linear-gradient(180deg, var(--shell-sidebar-header-start) 0%, var(--shell-sidebar-header-end) 100%);\n backdrop-filter: blur(10px);\n}\n\nbody.shell-layout-v2 .shell-sidebar-brand-wrap {\n align-items: center;
1\n color: inherit;\n display: flex;\n gap: 0.55rem;\n max-width: 14rem;\n min-width: 0;\n opacity: 1;\n overflow: hidden;\n text-decoration: none;\n transform: translateX(0);\n transform-origin: left center;\n transition:\n gap var(--shell-sidebar-transition-duration) var(--shell-sidebar-transition-ease),\n max-width var(--shell-sidebar-transition-duration) var(--shell-sidebar-transition-ease),\n opacity var(--shell-sidebar-text-duration) var(--shell-sidebar-text-ease),\n transform var(--shell-sidebar-text-duration) var(--shell-sidebar-text-ease);\n}\n\nbody.shell-layout-v2 .shell-sidebar-brand-logo {\n background: var(--shell-sidebar-brand-surface);\n box-shadow:\n 0 10px 20px rgba(15, 23, 42, 0.08),\n inset 0 0 0 1px var(--shell-sidebar-brand-ring);\n border-radius: 0.45rem;\n height: 3rem;\n object-fit: contain;\n width: 3rem;\n flex-shrink: 0;\n}\n\nbody.shell-layout-v2 .shell-sidebar-brand-logo-fallback {\n align-items: center;\n background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.2), rgba(var(--bs-primary-rgb), 0.1));\n box-shadow:\n 0 10px 20px rgba(var(--bs-primary-rgb), 0.14),\n inset 0 0 0 1px rgba(var(--bs-primary-rgb), 0.12);\n color: rgba(var(--bs-primary-rgb), 1);\n display: inline-flex;\n font-size: 0.92rem;\n font-weight: 700;\n justify-content: center;\n line-height: 1;\n}\n\nbody.shell-layout-v2 .shell-sidebar-brand-copy {\n display: flex;\n flex-direction: column;\n gap: 0.1rem;\n max-width: 11rem;\n min-width: 0;\n opacity: 1;\n transform: translateX(0);\n transform-origin: left center;\n transition:\n max-width var(--shell-sidebar-transition-duration) var(--shell-sidebar-transition-ease),\n opacity var(--shell-sidebar-text-duration) var(--shell-sidebar-text-ease),\n transform var(--shell-sidebar-text-duration) var(--shell-sidebar-text-ease);\n}\n\nbody.shell-layout-v2 .shell-sidebar-brand-name {\n color: rgba(var(--bs-invert-color-rgb), 0.98);\n font-family: var(--shell-sidebar-font-family);\n font-size: 0.8rem;\n font-weight: 700;\n line-height: 1.1;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\nbody.shell-layout-v2 .shell-sidebar-env-tag {\n max-width: fit-content;\n box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);\n}\n\nbody.shell-layout-v2 .shell-sidebar-role {\n min-width: 0;\n}\n\nbody.shell-layout-v2 .shell-sidebar-role-label {\n margin: 0;\n font-size: var(--shell-sidebar-font-size-nested);\n color: rgba(var(--bs-invert-color-rgb), 0.6);\n font-weight: 600;\n}\n\nbody.shell-layout-v2 .shell-sidebar-role-value {\n margin: 0;\n font-size: var(--shell-sidebar-font-size);\n color: rgba(var(--bs-invert-color-rgb));\n font-weight: 700;\n}\n\nbody.shell-layout-v2 .shell-sidebar-collapse-btn {\n border: none;\n background: var(--shell-sidebar-button-surface);\n box-shadow:\n 0 8px 18px rgba(15, 23, 42, 0.08),\n inset 0 0 0 1px var(--shell-sidebar-button-ring);\n color: rgba(var(--bs-invert-color-rgb), 0.62);\n width: 32px;\n height: 32px;\n border-radius: 8px;\n transition:\n background-color 180ms ease,\n color 180ms ease,\n transform 220ms ease;\n}\n\nbody.shell-layout-v2 .shell-sidebar-collapse-btn:hover {\n background: var(--shell-sidebar-button-surface-hover);\n color: rgba(var(--bs-invert-color-rgb), 0.95);\n transform: translateY(-1px);\n}\n\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .sidenav-menu {\n flex: 1 1 auto;\n min-height: 0;\n overflow-y: auto;\n overflow-x: visible;\n -ms-overflow-style: none;\n scrollbar-width: none;\n}\n\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .sidenav-menu::-webkit-scrollbar {\n display: none;\n height: 0;\n width: 0;\n}\n\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav.accordion {\n padding: 10px 9px 12px;\n gap: 3px;\n}\n\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .sidenav-menu-heading {\n padding: 0.45rem 0.35rem 0.5rem;\n color: var(--shell-sidebar-heading-color);\n font-family: var(--shell-sidebar-font-family);\n font-size: var(--shell-sidebar-heading-size);\n font-weight: var(--shell-sidebar-heading-weight);\n letter-spacing: var(--shell-sidebar-heading-letter-spacing);\n line-height: 1.35;\n text-transform: uppercase;\n}\n\nbody.shell-layout-v2 .shell-agency-settings-heading {\n border-bottom: 1px solid rgba(var(--bs-grey-bg), 0.85);\n color: rgba(var(--bs-black-rgb), 1);\n font-size: 0.82rem !important;\n font-weight: 700 !important;\n margin: 0.2rem 0 0.5rem;\n padding: 0.6rem 0.3rem;\n}\n\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .shell-agency-back-link {\n background: transparent;\n box-shadow: none;\n color: rgba(var(--bs-invert-color-rgb), 0.54) !important;\n font-size: 0.82rem;\n font-weight: 600;\n margin-bottom: 0.2rem;\n min-height: 30px;\n padding: 0.3rem 0.35rem !important;\n}\n\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .shell-agency-back-link::before {\n display: none;\n}\n\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .shell-agency-back-link .nav-link-icon {\n background: transparent;\n border-radius: 0;\n box-shadow: none;\n color: rgba(var(--bs-invert-color-rgb), 0.58);\n height: 1.15rem;\n margin-right: 0.42rem;\n width: 1.15rem;\n}\n\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .shell-agency-back-link:hover {\n background: rgba(var(--bs-primary-rgb), 0.06);\n box-shadow: none;\n color: rgba(var(--bs-invert-color-rgb), 0.78) !important;\n transform: none;\n}\n\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .shell-agency-back-link:hover .nav-link-icon {\n background: transparent;\n box-shadow: none;\n color: rgba(var(--bs-primary-rgb), 1);\n transform: none;\n}\n\nbody.shell-layout-v2 .shell-agency-link-label {\n align-items: center;\n display: inline-flex;\n min-width: 0;\n}\n\nbody.shell-layout-v2 .shell-agency-link-label .shell-collapsed-letter {\n display: none;\n}\n\nbody.shell-layout-v2 .shell-sidebar-free-trial-message {\n color: rgba(var(--bs-warning-rgb), 0.92);\n font-size: 0.68rem;\n font-weight: 500;\n line-height: 1.45;\n margin-bottom: 0.3rem;\n}\n\nbody.shell-layout-v2 .shell-sidebar-role-chip {\n align-items: center;\n backdrop-filter: blur(8px);\n border: 1px solid rgba(var(--bs-success-rgb), 0.22);\n border-radius: 0.35rem !important;\n box-shadow: none;\n display: inline-flex !important;\n font-size: 0.58rem;\n font-weight: 600;\n letter-spacing: 0.03em;\n gap: 0.2rem !important;\n line-height: 1;\n margin-bottom: 0 !important;\n min-height: 0;\n padding: 0.05rem 0.3rem !important;\n width: fit-content;\n}\n\nbody.shell-layout-v2 .shell-sidebar-role-chip .truncate {\n line-height: 1;\n}\n\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link {\n backdrop-filter: blur(8px);\n border-radius: 10px;\n isolation: isolate;\n min-height: 36px;\n padding: 7px 9px !important;\n color: rgba(var(--bs-invert-color-rgb), 0.64) !important;\n font-family: var(--shell-sidebar-font-family);\n font-size: var(--shell-sidebar-font-size);
1\n font-weight: var(--shell-sidebar-font-weight);\n line-height: 1.25;\n position: relative;\n transition:\n background-color 180ms var(--shell-sidebar-transition-ease),\n color 150ms var(--shell-sidebar-transition-ease),\n transform 220ms var(--shell-sidebar-transition-ease),\n box-shadow 220ms var(--shell-sidebar-transition-ease);\n}\n\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link::before {\n background: linear-gradient(180deg, var(--shell-sidebar-active-indicator-start), var(--shell-sidebar-active-indicator-end));\n border-radius: 999px;\n content: "";\n height: calc(100% - 14px);\n left: var(--shell-sidebar-active-indicator-left);\n opacity: 0;\n position: absolute;\n top: 7px;\n transform: scaleY(0.7);\n transform-origin: center;\n transition:\n opacity 180ms var(--shell-sidebar-transition-ease),\n transform 220ms var(--shell-sidebar-transition-ease);\n width: 3px;\n z-index: 1; /* above ::after background layer */\n}\n\n/* Active background layer â uses opacity transition because CSS cannot\n interpolate gradients directly. z-index: 0 keeps it above the\n backdrop-filter compositing boundary (z-index: -1 gets clipped by it). */\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link::after {\n background: linear-gradient(135deg, var(--shell-sidebar-active-surface-start), var(--shell-sidebar-active-surface-end));\n border-radius: inherit;\n content: "";\n inset: 0;\n opacity: 0;\n pointer-events: none;\n position: absolute;\n transition: opacity 200ms var(--shell-sidebar-transition-ease);\n will-change: opacity;\n z-index: 0;\n}\n\n/* Lift all direct nav-link children above the ::after background layer */\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link > * {\n position: relative;\n z-index: 1;\n}\n\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link .nav-link-icon {\n background: var(--shell-sidebar-icon-surface);\n border-radius: 0.72rem;\n color: var(--shell-sidebar-icon-color);\n display: inline-grid;\n font-size: var(--shell-sidebar-icon-size);\n height: 1.8rem;\n place-items: center;\n margin-right: 0.58rem;\n padding: 0;\n width: 1.8rem;\n transition:\n background-color 180ms var(--shell-sidebar-transition-ease),\n color 150ms var(--shell-sidebar-transition-ease),\n transform 220ms var(--shell-sidebar-transition-ease),\n box-shadow 220ms var(--shell-sidebar-transition-ease);\n}\n\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link .nav-link-icon > i,\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link .nav-link-icon > svg,\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link .nav-link-icon .feather,\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link .nav-link-icon .grid_icon {\n display: block;\n flex-shrink: 0;\n margin: 0;\n}\n\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link .nav-link-icon > svg,\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link .nav-link-icon .feather {\n height: 0.98rem;\n width: 0.98rem;\n}\n\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link .nav-link-icon > i {\n font-size: 0.94rem;\n line-height: 1;\n}\n\nbody.shell-layout-v2 .shell-sidebar-text,\nbody.shell-layout-v2 .menu-dropend-text,\nbody.shell-layout-v2 .shell-sidebar-role-chip,\nbody.shell-layout-v2 .shell-sidebar-free-trial-message,\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .sidenav-menu-heading,\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .shell-bottom-version,\nbody.shell-layout-v2 .shell-agency-link-label .shell-full-label {\n max-width: 12.8rem;\n opacity: 1;\n transform: translateX(0);\n transform-origin: left center;\n transition:\n max-width var(--shell-sidebar-transition-duration) var(--shell-sidebar-transition-ease),\n max-height var(--shell-sidebar-transition-duration) var(--shell-sidebar-transition-ease),\n opacity var(--shell-sidebar-text-duration) var(--shell-sidebar-text-ease),\n transform var(--shell-sidebar-text-duration) var(--shell-sidebar-text-ease);\n}\n\nbody.shell-layout-v2 .shell-sidebar-text,\nbody.shell-layout-v2 .menu-dropend-text,\nbody.shell-layout-v2 .shell-agency-link-label .shell-full-label {\n display: inline-block;\n overflow: hidden;\n vertical-align: middle;\n white-space: nowrap;\n}\n\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .sidenav-menu-nested .nav-link {\n font-size: var(--shell-sidebar-font-size-nested);\n}\n\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link:hover {\n background: var(--shell-sidebar-hover-surface);\n color: rgba(var(--bs-invert-color-rgb), 0.92) !important;\n box-shadow: var(--shell-sidebar-hover-shadow);\n transform: translateX(2px);\n}\n\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link:hover .nav-link-icon {\n background: rgba(var(--bs-primary-rgb), 0.12);\n box-shadow: inset 0 0 0 1px rgba(var(--bs-primary-rgb), 0.08);\n color: rgba(var(--bs-primary-rgb), 1);\n transform: scale(1.04);\n}\n\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link.active {\n /* background handled by ::after for smooth opacity transition */\n color: #fff !important;\n box-shadow: 0 10px 20px rgba(var(--bs-primary-rgb), 0.22);\n transform: translateX(1px);\n}\n\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link.active::after {\n opacity: 1;\n}\n\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link.active::before {\n opacity: 1;\n transform: scaleY(1);\n}\n\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link.active .nav-link-icon,\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link.active .sidenav-collapse-
1arrow {\n color: #fff !important;\n transform: scale(1.03);\n}\n\n/* Ensure all active-link label/content text stays white even when nested\n components (e.g. MUI Typography) apply their own color styles. */\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link.active .shell-sidebar-text,\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link.active .menu-dropend-text,\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link.active .shell-full-label,\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link.active .shell-collapsed-letter,\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link.active .MuiTypography-root,\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link.active i,\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link.active svg {\n color: #fff !important;\n}\n\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link.active .nav-link-icon {\n background: rgba(255, 255, 255, 0.16);\n box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);\n}\n\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav.shell-products-open .nav-link.active:not(.shell-products-toggle) {\n background: transparent;\n color: rgba(var(--bs-invert-color-rgb), 0.62) !important;\n font-weight: var(--shell-sidebar-font-weight) !important;\n}\n\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav.shell-products-open .nav-link.active:not(.shell-products-toggle) .nav-link-icon,\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav.shell-products-open .nav-link.active:not(.shell-products-toggle) .sidenav-collapse-arrow {\n color: rgba(var(--bs-invert-color-rgb), 0.62) !important;\n}\n\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .shell-bottom-panel {\n border-top: 1px solid var(--shell-sidebar-border);\n flex-shrink: 0;\n margin-top: auto;\n padding: 0.75rem;\n}\n\nbody.shell-layout-v2 #shellLayout #shellLayoutContent {\n min-height: var(--shell-sidebar-height);\n margin-left: var(--shell-sidebar-width-expanded);\n width: calc(100% - var(--shell-sidebar-width-expanded));\n min-width: 0;\n box-sizing: border-box;\n padding-top: var(--shell-sidebar-top) !important;\n display: flex;\n flex-direction: column;\n transition:\n margin-left var(--shell-sidebar-transition-duration) var(--shell-sidebar-transition-ease),\n width var(--shell-sidebar-transition-duration) var(--shell-sidebar-transition-ease);\n}\n\nbody.shell-layout-v2.shell-sidebar-expanding .shell-sidebar-brand-copy,\nbody.shell-layout-v2.shell-sidebar-expanding .shell-sidebar-text,\nbody.shell-layout-v2.shell-sidebar-expanding .menu-dropend-text,\nbody.shell-layout-v2.shell-sidebar-expanding .shell-sidebar-role-chip,\nbody.shell-layout-v2.shell-sidebar-expanding .shell-sidebar-free-trial-message,\nbody.shell-layout-v2.shell-sidebar-expanding #shellLayout #shellLayoutSidebar .sidenav .sidenav-menu-heading,\nbody.shell-layout-v2.shell-sidebar-expanding #shellLayout #shellLayoutSidebar .shell-bottom-version,\nbody.shell-layout-v2.shell-sidebar-expanding .shell-agency-link-label .shell-full-label {\n transition-delay: 90ms;\n}\n\nbody.shell-layout-v2.shell-sidebar-collapsing .shell-sidebar-brand-copy,\nbody.shell-layout-v2.shell-sidebar-collapsing .shell-sidebar-text,\nbody.shell-layout-v2.shell-sidebar-collapsing .menu-dropend-text,\nbody.shell-layout-v2.shell-sidebar-collapsing .shell-sidebar-role-chip,\nbody.shell-layout-v2.shell-sidebar-collapsing .shell-sidebar-free-trial-message,\nbody.shell-layout-v2.shell-sidebar-collapsing #shellLayout #shellLayoutSidebar .sidenav .sidenav-menu-heading,\nbody.shell-layout-v2.shell-sidebar-collapsing #shellLayout #shellLayoutSidebar .shell-bottom-version,\nbody.shell-layout-v2.shell-sidebar-collapsing .shell-agency-link-label .shell-full-label {\n transition-delay: 0ms;\n}\n\nbody.shell-layout-v2 #shellLayout #shellLayoutContent > main {\n margin-top: 0 !important;\n padding-top: 0 !important;\n}\n\nbody.shell-layout-v2 .subaccount-switch-wrapper .btn-menu-dropend {\n border: 0;\n background: transparent;\n outline: none;\n font-family: var(--shell-sidebar-font-family);\n font-size: var(--shell-sidebar-font-size);
1\n font-weight: var(--shell-sidebar-font-weight);\n line-height: 1.35;\n}\n\nbody.shell-layout-v2 .menu-dropend-text {\n font-family: var(--shell-sidebar-font-family);\n font-size: var(--shell-sidebar-font-size);\n font-weight: var(--shell-sidebar-font-weight);\n line-height: 1.35;\n}\n\nbody.shell-layout-v2 .subaccount-switch-wrapper .menu-dropend-text,\nbody.shell-layout-v2 .subaccount-switch-wrapper .btn-menu-dropend {\n font-size: var(--shell-sidebar-font-size);\n}\n\nbody.shell-layout-v2 .shell-subaccounts-dropdown {\n max-height: min(60dvh, 28rem);\n overflow-y: auto;\n z-index: 2000;\n margin: 0 !important;\n transform: none !important;\n}\n\nbody.shell-layout-v2 .shell-subaccounts-dropdown .dropdown-item {\n white-space: nowrap;\n font-family: var(--shell-sidebar-font-family);\n font-size: var(--shell-sidebar-font-size);\n font-weight: var(--shell-sidebar-font-weight);\n}\n\nbody.shell-layout-v2 .shell-products-dropdown {\n max-height: min(60dvh, 28rem);\n min-width: 22rem;\n overflow-y: auto;\n z-index: 2000;\n margin: 0 !important;\n transform: none !important;\n}\n\nbody.shell-layout-v2 .shell-products-dropdown .dropdown-item {\n white-space: normal;\n}\n\nbody.shell-layout-v2 .shell-bottom-version {\n color: rgba(var(--bs-invert-color-rgb), 0.62);\n font-family: var(--shell-sidebar-font-family);\n font-size: var(--shell-sidebar-footer-size);\n font-weight: 600;\n margin-bottom: 0.4rem;\n padding-left: 0.1rem;\n}\n\nbody.shell-layout-v2 .shell-bottom-card {\n background:\n linear-gradient(180deg, var(--shell-sidebar-footer-surface-start) 0%, var(--shell-sidebar-footer-surface-end) 100%) !important;\n border: 1px solid var(--shell-sidebar-footer-border);\n border-radius: 0.9rem !important;\n box-shadow:\n 0 16px 32px rgba(15, 23, 42, 0.08),\n inset 0 1px 0 rgba(255, 255, 255, 0.72);\n color: rgba(var(--bs-invert-color-rgb));\n padding: 0.75rem;\n}\n\nbody.shell-layout-v2 .shell-bottom-card.is-collapsed {\n padding-bottom: 0.5rem;\n}\n\nbody.shell-layout-v2 .shell-bottom-profile-section {\n margin-top: 0.5rem;\n}\n\nbody.shell-layout-v2 .shell-bottom-profile-title-wrap {\n gap: 0.55rem;\n min-width: 0;\n}\n\nbody.shell-layout-v2 .shell-bottom-profile-copy {\n display: flex;\n flex-direction: column;\n gap: 0.08rem;\n min-width: 0;\n}\n\nbody.shell-layout-v2 .shell-bottom-profile-title {\n line-height: 1.1;\n}\n\nbody.shell-layout-v2 .shell-bottom-profile-subtitle {\n color: rgba(var(--bs-invert-color-rgb), 0.9);\n display: block;\n font-family: var(--shell-sidebar-font-family);\n font-size: 0.76rem;\n font-weight: 500;\n line-height: 1.2;\n min-width: 0;\n margin-right: 10px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\nbody.shell-layout-v2 .shell-bottom-card-header {\n align-items: center;\n display: flex;\n justify-content: space-between;\n margin-bottom: 0.4rem;\n}\n\nbody.shell-layout-v2 .shell-bottom-card-header-button {\n background: transparent;\n border: 0;\n cursor: pointer;\n padding: 0;\n text-align: left;\n width: 100%;\n}\n\nbody.shell-layout-v2 .shell-bottom-card-header-button:hover .shell-bottom-title,\nbody.shell-layout-v2 .shell-bottom-card-header-button:hover .shell-bottom-profile-subtitle {\n color: rgba(var(--bs-invert-color-rgb), 0.96);\n}\n\nbody.shell-layout-v2 .shell-bottom-card.is-collapsed .shell-bottom-card-header {\n margin-bottom: 0;\n}\n\nbody.shell-layout-v2 .shell-bottom-title-wrap {\n align-items: center;\n display: flex;\n gap: 0.3rem;\n min-width: 0;\n}\n\nbody.shell-layout-v2 .shell-bottom-title {\n color: rgba(var(--bs-invert-color-rgb), 0.74);\n font-family: var(--shell-sidebar-font-family);\n font-size: var(--shell-sidebar-font-size-nested);\n font-weight: 500;\n}\n\nbody.shell-layout-v2 .shell-bottom-card-icon-wrap {\n flex-shrink: 0;\n}\n\nbody.shell-layout-v2 .shell-bottom-info-btn,\nbody.shell-layout-v2 .shell-bottom-chevron {\n color: rgba(var(--bs-invert-color-rgb), 0.58) !important;\n font-size: 0.9rem !important;\n}\n\nbody.shell-layout-v2 .shell-bottom-chevron {\n align-items: center;\n background: transparent !important;\n border: 0 !important;\n box-shadow: none !important;\n display: inline-flex;\n height: auto !important;\n justify-content: center;\n min-width: auto !important;\n padding: 0 !important;\n transform: rotate(180deg);\n transition: transform 0.18s ease;\n width: auto !important;\n}\n\nbody.shell-layout-v2 .shell-bottom-chevron > i,\nbody.shell-layout-v2 .shell-bottom-user-chevron > i {\n display: block;\n line-height: 1;\n}\n\nbody.shell-layout-v2 .shell-bottom-chevron.is-open {\n transform: rotate(0deg);\n}\n\nbody.shell-layout-v2 .shell-wallet-tooltip {\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n max-width: 19rem;\n padding: 0.1rem 0;\n}\n\nbody.shell-layout-v2 .shell-wallet-tooltip-text {\n margin: 0;\n color: #fff;\n font-size: 0.74rem;\n font-weight: 500;\n line-height: 1.35;\n}\n\nbody.shell-layout-v2 .shell-wallet-tooltip-link {\n color: #9ed0ff;\n font-size: 0.74rem;\n font-weight: 600;\n line-height: 1.3;\n text-decoration: none;\n}
1\n\nbody.shell-layout-v2 .shell-wallet-tooltip-link:hover {\n color: #c9e5ff;\n text-decoration: underline;\n}\n\nbody.shell-layout-v2 .shell-wallet-tooltip-link.is-disabled {\n color: rgba(255, 255, 255, 0.58);\n}\n\nbody.shell-layout-v2 .shell-bottom-wallet-stats {\n border-top: 1px solid var(--shell-sidebar-footer-border);\n margin-bottom: 0.65rem;\n padding-top: 0.4rem;\n}\n\nbody.shell-layout-v2 .shell-bottom-wallet-row {\n align-items: center;\n border-radius: 0.55rem;\n display: flex;\n justify-content: space-between;\n margin-bottom: 0.28rem;\n padding: 0.16rem 0.25rem;\n transition: background-color 180ms ease;\n}\n\nbody.shell-layout-v2 .shell-bottom-wallet-row:last-child {\n margin-bottom: 0;\n}\n\nbody.shell-layout-v2 .shell-bottom-wallet-row:hover {\n background: var(--shell-sidebar-wallet-hover);\n}\n\nbody.shell-layout-v2 .shell-bottom-wallet-label {\n color: rgba(var(--bs-invert-color-rgb), 0.62);\n font-family: var(--shell-sidebar-font-family);\n font-size: var(--shell-sidebar-font-size-nested);\n font-weight: 500;\n}\n\nbody.shell-layout-v2 .shell-bottom-wallet-data {\n color: rgba(var(--bs-invert-color-rgb), 0.92);\n font-family: var(--shell-sidebar-font-family);\n font-size: var(--shell-sidebar-font-size-nested);\n font-weight: 500;\n}\n\nbody.shell-layout-v2 .shell-bottom-wallet-data.is-emphasis {\n font-weight: 700;\n}\n\nbody.shell-layout-v2 .shell-bottom-user-btn {\n align-items: center;\n background: var(--shell-sidebar-user-surface);\n border: 0;\n border-radius: 0.65rem;\n cursor: pointer;\n display: flex;\n gap: 0.62rem;\n margin: 0;\n padding: 0.5rem 0.68rem;\n text-align: left;\n transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;\n width: 100%;\n}\n\nbody.shell-layout-v2 .shell-bottom-user-btn:hover {\n background: var(--shell-sidebar-user-surface-hover);\n box-shadow: 0 10px 18px rgba(15, 23, 42, 0.06);\n transform: translateY(-1px);\n}\n\nbody.shell-layout-v2 .shell-bottom-user-icon-wrap {\n align-items: center;\n background: rgba(var(--bs-primary-rgb), 0.15);\n border-radius: 999px;\n color: rgba(var(--bs-primary-rgb));\n display: inline-flex;\n font-size: 0.84rem;\n height: 1.5rem;\n justify-content: center;\n width: 1.5rem;\n}\n\nbody.shell-layout-v2 .shell-bottom-user-icon {\n font-size: 0.9rem !important;\n}\n\nbody.shell-layout-v2 .shell-bottom-user-text {\n color: rgba(var(--bs-invert-color-rgb), 0.92);\n flex: 1;\n font-family: var(--shell-sidebar-font-family);\n font-size: 0.76rem;\n font-weight: 500;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\nbody.shell-layout-v2 .shell-bottom-user-chevron {\n align-items: center;\n color: rgba(var(--bs-invert-color-rgb), 0.6);\n display: inline-flex;\n font-size: 0.95rem !important;\n justify-content: center;\n margin-left: auto;\n transform: rotate(180deg);\n transition: transform 0.18s ease;\n}\n\nbody.shell-layout-v2 .shell-bottom-user-chevron.is-open {\n transform: rotate(0deg);\n}\n\nbody.shell-layout-v2 .shell-bottom-user-menu {\n border-top: 1px solid var(--shell-sidebar-footer-border);\n margin: 0 0 0.2rem;\n padding-top: 0.4rem;\n padding-left: 0;\n}\n\nbody.shell-layout-v2 .shell-bottom-user-role-block {\n margin-bottom: 0.15rem;\n padding: 0.32rem 0.68rem;\n}\n\nbody.shell-layout-v2 .shell-bottom-user-role-label {\n color: rgba(var(--bs-invert-color-rgb), 0.58);\n font-family: var(--shell-sidebar-font-family);\n font-size: var(--shell-sidebar-heading-size) !important;\n font-weight: 500 !important;\n line-height: 1.2 !important;\n margin: 0 !important;\n}\n\nbody.shell-layout-v2 .shell-bottom-user-role-value {\n color: rgba(var(--bs-invert-color-rgb), 0.95);\n font-family: var(--shell-sidebar-font-family);\n font-size: 0.79rem !important;\n font-weight: 600 !important;\n line-height: 1.25 !important;\n margin: 0.1rem 0 0 !important;\n}\n\nbody.shell-layout-v2 .shell-bottom-user-menu-item {\n align-items: center;\n background: transparent;\n border: 0;\n border-radius: 0.58rem;\n color: rgba(var(--bs-invert-color-rgb), 0.72);\n cursor: pointer;\n display: inline-flex;\n font-family: var(--shell-sidebar-font-family);\n font-size: 0.74rem;\n font-weight: 500;\n gap: 0.45rem;\n line-height: 1.25;\n margin: 0px;\n min-height: 1.85rem;\n padding: 0.32rem 0.72rem;\n text-decoration: none;\n transition: background 0.2s ease, color 0.2s ease;\n width: calc(100% - 1rem);\n}\n\nbody.shell-layout-v2 .shell-bottom-user-menu-item:hover {\n background: var(--shell-sidebar-wallet-hover);\n color: rgba(var(--bs-invert-color-rgb), 0.98);\n}\n\nbody.shell-layout-v2 .shell-bottom-user-menu-item.is-active {\n background: rgba(var(--bs-primary-rgb), 1);\n color: #fff;\n}\n\nbody.shell-layout-v2 .shell-bottom-user-menu-item.is-danger {\n
1color: rgb(var(--bs-danger-rgb));\n}\n\nbody.shell-layout-v2 .shell-bottom-user-menu-item.is-danger:hover {\n background: rgba(var(--bs-danger-rgb), 0.12);\n color: rgb(var(--bs-danger-rgb));\n}\n\nbody.shell-layout-v2 .shell-bottom-user-menu-item-icon {\n flex-shrink: 0;\n font-size: 0.88rem !important;\n}\n\nbody.shell-layout-v2 .shell-bottom-user-menu-item-theme {\n align-items: center;\n display: flex;\n justify-content: space-between;\n}\n\nbody.shell-layout-v2 .shell-bottom-user-menu-item-theme .theme-toggle-checkbox {\n margin: 0 0.2rem 0 0.5rem;\n}\n\nbody.shell-layout-v2 .shell-bottom-user-menu-item-theme .theme-toggle-label {\n flex-shrink: 0;\n}\n\nbody.shell-layout-v2 .shell-bottom-user-menu-item-language {\n align-items: center;\n display: flex;\n gap: 0.5rem;\n flex-wrap: nowrap;\n}\n\nbody.shell-layout-v2 .shell-bottom-language-label {\n color: inherit;\n font: inherit;\n flex: 1 1 auto;\n margin: 0;\n min-width: 0;\n white-space: nowrap;\n}\n\nbody.shell-layout-v2 .shell-bottom-language-select {\n background: rgba(var(--bs-bg-rgb), 1);\n border: 1px solid var(--shell-sidebar-footer-border);\n border-radius: 0.45rem;\n color: rgba(var(--bs-invert-color-rgb), 0.9);\n cursor: pointer;\n font-family: var(--shell-sidebar-font-family);\n font-size: var(--shell-sidebar-footer-size);\n font-weight: 500;\n flex: 0 0 4.8rem;\n line-height: 1.2;\n margin-left: auto;\n max-width: 4.8rem;\n padding: 0.18rem 0.35rem;\n width: 4.8rem;\n}\n\nbody.shell-layout-v2 .shell-bottom-language-select:focus {\n border-color: rgba(var(--bs-primary-rgb), 1);\n box-shadow: 0 0 0 0.12rem rgba(var(--bs-primary-rgb), 0.2);\n outline: 0;\n}\n\nbody.shell-layout-v2 .shell-bottom-user-menu-item.is-active .shell-bottom-user-menu-item-icon {\n color: #fff;\n}\n\nbody.shell-layout-v2 .shell-bottom-actions {\n align-items: center;\n display: flex;\n gap: 0.45rem;\n}\n\nbody.shell-layout-v2 .shell-bottom-actions--separated {\n border-top: 1px solid var(--shell-sidebar-footer-border);\n margin-top: 0.5rem;\n padding-top: 0.5rem;\n}\n\nbody.shell-layout-v2 .shell-bottom-action-link {\n align-items: center;\n color: rgba(var(--bs-invert-color-rgb), 0.72);\n display: inline-flex;\n flex: 1;\n font-family: var(--shell-sidebar-font-family);\n font-size: var(--shell-sidebar-heading-size);\n font-weight: 600;\n gap: 0.3rem;\n justify-content: center;\n padding: 0.2rem 0;\n text-decoration: none;\n}\n\nbody.shell-layout-v2 .shell-bottom-action-link:hover {\n color: rgba(var(--bs-invert-color-rgb), 0.96);\n}\n\nbody.shell-layout-v2 .shell-bottom-action-icon {\n font-size: 0.9rem !important;\n}\n\nbody.shell-layout-v2 .shell-bottom-actions-divider {\n border-color: var(--shell-sidebar-footer-border) !important;\n}\n\nbody.shell-layout-v2 .shell-bottom-updates-dot {\n background: rgba(var(--bs-primary-rgb));\n border-radius: 999px;\n display: inline-block;\n height: 0.36rem;\n margin-left: 0.2rem;\n width: 0.36rem;\n}\n\nbody.shell-layout-v2 .shell-bottom-panel-collapsed {\n border-top: 1px solid var(--shell-sidebar-border);\n display: none;\n flex-shrink: 0;\n padding: 0.75rem 0.5rem;\n}\n\nbody.shell-layout-v2 .shell-collapsed-footer-actions {\n align-items: center;\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n}\n\nbody.shell-layout-v2 .shell-collapsed-footer-btn {\n align-items: center;\n background: var(--shell-sidebar-collapsed-btn-surface);\n border: 0;\n border-radius: 0.6rem;\n box-shadow:\n 0 10px 18px rgba(15, 23, 42, 0.06),\n inset 0 0 0 1px var(--shell-sidebar-collapsed-btn-ring);\n color: rgba(var(--bs-invert-color-rgb), 0.66);\n display: inline-flex;\n height: 2.25rem;\n justify-content: center;\n position: relative;\n text-decoration: none;\n transition: background 0.2s ease, color 0.2s ease;\n width: 2.25rem;\n}\n\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link .badge,\nbody.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link .tag {\n border-radius: 999px;\n font-size: 0.58rem !important;\n font-weight: 700;\n letter-spacing: 0.03em;\n line-height: 1;\n padding: 0.24rem 0.38rem;\n}\n\nbody.shell-layout-v2 .shell-collapsed-footer-btn:hover {\n background: var(--shell-sidebar-button-surface-hover);\n color: rgba(var(--bs-invert-color-rgb), 0.96);\n transform: translateY(-1px);\n}\n\nbody.shell-layout-v2 .shell-collapsed-footer-icon {\n font-size: 1rem !important;\n}\n\nbody.shell-layout-v2 .shell-collapsed-footer-dot {\n background: rgba(var(--bs-primary-rgb));\n border-radius: 999px;\n display: inline-block;\n height: 0.36rem;\n position: absolute;\n right: 0.45rem;\n top: 0.45rem;\n width: 0.36rem;\n}\n\n@media (max-width: 991.98px) {\n body.shell-layout-v2 {\n --shell-sidebar-active-indicator-left: 6px;\n }\n\n body.shell-layout-v2 #shellLayout #shellLayoutSidebar {\n position: fixed;\n top: var(--shell-sidebar-top);\n left: 0;\n height: var(--shell-sidebar-height);\n max-height: var(--shell-sidebar-height);\n transform: none !important;\n width: var(--shell-sidebar-width-collapsed) !important;\n max-width: var(--shell-sidebar-width-collapsed) !important;\n }\n\n body.shell-layout-v2 #shellLayout #shellLayoutContent {\n margin-left: 0 !important;\n width: 100%;\n }\n\n body.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav-menu-heading,\n body.shell-layout-v2 #shellLayout #shellLayoutSidebar .shell-sidebar-role {\n max-height: 0;\n opacity: 0;\n overflow: hidden;\n pointer-events: none;\n transform: translateX(-0.35rem);\n }\n\n body.shell-layout-v2 #shellLayout #shellLayoutSidebar .nav-link {\n justify-content: center;
1\n align-items: center;\n min-height: 2.75rem;\n padding-left: 0 !important;\n padding-right: 0 !important;\n overflow: hidden;\n white-space: nowrap;\n }\n\n body.shell-layout-v2 #shellLayout #shellLayoutSidebar .nav-link:hover,\n body.shell-layout-v2 #shellLayout #shellLayoutSidebar .nav-link.active {\n transform: none;\n }\n\n body.shell-layout-v2 #shellLayout #shellLayoutSidebar .nav-link .nav-link-icon {\n color: rgba(var(--bs-invert-color-rgb)) !important;\n margin: 0;\n padding-right: 0;\n font-size: 1rem !important;\n }\n\n body.shell-layout-v2 #shellLayout #shellLayoutSidebar .nav-link .sidenav-collapse-arrow,\n body.shell-layout-v2 #shellLayout #shellLayoutSidebar .nav-link .badge,\n body.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav-menu-nested,\n body.shell-layout-v2 #shellLayout #shellLayoutSidebar .shell-bottom-panel,\n body.shell-layout-v2 #shellLayout #shellLayoutSidebar .shell-agency-link-label .shell-collapsed-letter {\n display: none !important;\n }\n\n body.shell-layout-v2 #shellLayout #shellLayoutSidebar .shell-sidebar-brand-wrap {\n gap: 0;\n max-width: 0;\n opacity: 0;\n overflow: hidden;\n pointer-events: none;\n transform: translateX(calc(-1 * var(--shell-sidebar-text-shift)));\n }\n\n body.shell-layout-v2 #shellLayout #shellLayoutSidebar .shell-sidebar-brand-copy,\n body.shell-layout-v2 #shellLayout #shellLayoutSidebar .shell-sidebar-text,\n body.shell-layout-v2 #shellLayout #shellLayoutSidebar .menu-dropend-text,\n body.shell-layout-v2 #shellLayout #shellLayoutSidebar .shell-sidebar-role-chip,\n body.shell-layout-v2 #shellLayout #shellLayoutSidebar .shell-sidebar-free-trial-message,\n body.shell-layout-v2 #shellLayout #shellLayoutSidebar .shell-bottom-version,\n body.shell-layout-v2 #shellLayout #shellLayoutSidebar .shell-agency-link-label .shell-full-label {\n max-width: 0;\n opacity: 0;\n overflow: hidden;\n pointer-events: none;\n transform: translateX(calc(-1 * var(--shell-sidebar-text-shift)));\n white-space: nowrap;\n }\n\n body.shell-layout-v2 #shellLayout #shellLayoutSidebar .shell-bottom-panel-collapsed {\n display: block !important;\n }\n\n body.shell-layout-v2 #shellLayout #shellLayoutSidebar .btn-menu-dropend {\n display: inline-flex;\n justify-content: center;
1\n align-items: center;\n width: 2.75rem !important;\n max-width: 2.75rem !important;\n min-height: 2.75rem;\n margin-left: auto;\n margin-right: auto;\n padding-left: 0;\n padding-right: 0;\n font-size: 0 !important;\n text-align: center !important;\n }\n\n body.shell-layout-v2 #shellLayout #shellLayoutSidebar .subaccount-switch-wrapper .btn-menu-dropend {\n padding-left: 37px !important;\n }\n\n body.shell-layout-v2 #shellLayout #shellLayoutSidebar .btn-menu-dropend .sidenav-collapse-arrow {\n display: none !important;\n }\n\n body.shell-layout-v2 #shellLayout #shellLayoutSidebar .shell-sidebar-head {\n justify-content: center;\n padding: 0;\n }\n}\n\n@media (min-width: 992px) {\n body.shell-layout-v2.shell-collapsed,\n body.shell-layout-v2 .shell-collapsed {\n --shell-sidebar-active-indicator-left: 6px;\n }\n\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar {\n transform: none !important;\n width: var(--shell-sidebar-width-collapsed) !important;\n max-width: var(--shell-sidebar-width-collapsed) !important;\n }\n\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutContent,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutContent {\n margin-left: var(--shell-sidebar-width-collapsed) !important;\n width: calc(100% - var(--shell-sidebar-width-collapsed));\n }\n\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .sidenav-menu-heading,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .sidenav-menu-heading,\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .shell-sidebar-role,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .shell-sidebar-role {\n max-height: 0;\n opacity: 0;\n overflow: hidden;\n pointer-events: none;\n transform: translateX(-0.35rem);\n }\n\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .nav-link,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .nav-link {\n justify-content: center;
1\n align-items: center;\n min-height: 2.75rem;\n padding-left: 0 !important;\n padding-right: 0 !important;\n overflow: hidden;\n white-space: nowrap;\n }\n\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .nav-link:hover,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .nav-link:hover,\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .nav-link.active,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .nav-link.active {\n transform: none;\n }\n\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .nav-link .nav-link-icon,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .nav-link .nav-link-icon {\n color: rgba(var(--bs-invert-color-rgb)) !important;\n margin: 0;\n padding-right: 0;\n font-size: 1rem !important;\n }\n\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .nav-link .sidenav-collapse-arrow,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .nav-link .sidenav-collapse-arrow,\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .nav-link .badge,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .nav-link .badge,\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .sidenav-menu-nested,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .sidenav-menu-nested,\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .shell-bottom-panel,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .shell-bottom-panel {\n display: none !important;\n }\n\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .shell-agency-link-label .shell-collapsed-letter,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .shell-agency-link-label .shell-collapsed-letter {\n display: inline-flex !important;\n align-items: center;\n justify-content: center;\n }\n\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .shell-sidebar-brand-wrap,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .shell-sidebar-brand-wrap {\n gap: 0;\n max-width: 0;\n opacity: 0;\n overflow: hidden;\n pointer-events: none;\n transform: translateX(calc(-1 * var(--shell-sidebar-text-shift)));\n }\n\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .shell-sidebar-brand-copy,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .shell-sidebar-brand-copy,\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .shell-sidebar-text,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .shell-sidebar-text,\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .menu-dropend-text,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .menu-dropend-text,\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .shell-sidebar-role-chip,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .shell-sidebar-role-chip,\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .shell-sidebar-free-trial-message,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .shell-sidebar-free-trial-message,\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .shell-bottom-version,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .shell-bottom-version,\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .shell-agency-link-label .shell-full-label,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .shell-agency-link-label .shell-full-label {\n max-width: 0;\n opacity: 0;\n overflow: hidden;\n pointer-events: none;\n transform: translateX(calc(-1 * var(--shell-sidebar-text-shift)));\n white-space: nowrap;\n }\n\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .shell-bottom-panel-collapsed,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .shell-bottom-panel-collapsed {\n display: block !important;\n }\n\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .shell-agency-link-label .shell-collapsed-letter.shell-sidebar-text,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .shell-agency-link-label .shell-collapsed-letter.shell-sidebar-text {\n display: inline-flex !important;\n max-width: none !important;\n opacity: 1 !important;\n overflow: visible !important;\n pointer-events: auto !important;\n transform: none !important;\n white-space: nowrap;\n }\n\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .btn-menu-dropend,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .btn-menu-dropend {\n display: inline-flex;\n justify-content: center;
1\n align-items: center;\n width: 2.75rem !important;\n max-width: 2.75rem !important;\n min-height: 2.75rem;\n margin-left: auto;\n margin-right: auto;\n padding-left: 0;\n padding-right: 0;\n font-size: 0 !important;\n text-align: center !important;\n }\n\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .subaccount-switch-wrapper .btn-menu-dropend,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .subaccount-switch-wrapper .btn-menu-dropend {\n padding-left: 37px !important;\n }\n\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .btn-menu-dropend i,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .btn-menu-dropend i {\n color: rgba(var(--bs-invert-color-rgb));\n }\n\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .btn-menu-dropend .sidenav-collapse-arrow,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .btn-menu-dropend .sidenav-collapse-arrow {\n display: none !important;\n }\n\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .shell-sidebar-head,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .shell-sidebar-head {\n justify-content: center;\n padding: 0;\n }\n\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .sidenav,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .sidenav {\n overflow: visible;\n }\n\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .sidenav .sidenav-menu,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .sidenav .sidenav-menu,\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .sidenav .nav.accordion,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .sidenav .nav.accordion,\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .shell-bottom-panel-collapsed,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .shell-bottom-panel-collapsed {\n overflow: visible !important;\n }\n\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .nav-link[data-shell-label],\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .nav-link[data-shell-label] {\n overflow: visible !important;\n position: relative;\n }\n\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .btn-menu-dropend .shell-subaccount-trigger-anchor[data-shell-label],\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .btn-menu-dropend .shell-subaccount-trigger-anchor[data-shell-label] {\n align-items: center;\n display: inline-grid;\n height: 2.75rem;\n justify-content: center;\n margin: 0 auto;\n place-items: center;\n padding-left: 0;\n padding-right: 0;\n overflow: visible !important;\n position: relative;\n width: 2.75rem;\n }\n\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .btn-menu-dropend .shell-subaccount-trigger-anchor[data-shell-label] > svg,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .btn-menu-dropend .shell-subaccount-trigger-anchor[data-shell-label] > svg,\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .btn-menu-dropend .shell-subaccount-trigger-anchor[data-shell-label] > i,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .btn-menu-dropend .shell-subaccount-trigger-anchor[data-shell-label] > i {\n display: block;\n height: 1rem;\n margin: 0;\n width: 1rem;\n }\n\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .nav-link[data-shell-label]::after,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .nav-link[data-shell-label]::after {\n background: var(--shell-sidebar-tooltip-bg);\n border: 1px solid var(--shell-sidebar-tooltip-border);\n border-radius: 0.5rem;\n box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);\n color: var(--shell-sidebar-tooltip-text);\n content: attr(data-shell-label);\n font-family: var(--shell-sidebar-font-family);\n font-size: var(--shell-sidebar-tooltip-font-size);\n font-weight: var(--shell-sidebar-tooltip-font-weight);\n letter-spacing: 0.01em;\n left: calc(100% + 0.55rem);\n line-height: 1.35;\n max-width: 15rem;\n opacity: 0;\n overflow: hidden;\n padding: 0.35rem 0.55rem;\n pointer-events: none;\n position: absolute;\n text-overflow: ellipsis;\n top: 50%;\n transform: translate(0.3rem, -50%);\n transition: opacity 0.16s ease, transform 0.16s ease;\n visibility: hidden;\n white-space: nowrap;\n z-index: 3050;\n }\n\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .btn-menu-dropend .shell-subaccount-trigger-anchor[data-shell-label]::after,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .btn-menu-dropend .shell-subaccount-trigger-anchor[data-shell-label]::after {\n background: var(--shell-sidebar-tooltip-bg);\n border: 1px solid var(--shell-sidebar-tooltip-border);\n border-radius: 0.5rem;\n box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);\n color: var(--shell-sidebar-tooltip-text);\n content: attr(data-shell-label);\n font-family: var(--shell-sidebar-font-family);\n font-size: var(--shell-sidebar-tooltip-font-size);\n font-weight: var(--shell-sidebar-tooltip-font-weight);\n letter-spacing: 0.01em;\n left: calc(100% + 0.55rem);\n line-height: 1.35;\n max-width: 15rem;\n opacity: 0;\n overflow: hidden;\n padding: 0.35rem 0.55rem;\n pointer-events: none;\n position: absolute;\n text-overflow: ellipsis;\n top: 50%;\n transform: translate(0.3rem, -50%);\n transition: opacity 0.16s ease, transform 0.16s ease;\n visibility: hidden;\n white-space: nowrap;\n z-index: 3050;\n }\n\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .nav-link[data-shell-label]:hover::after,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .nav-link[data-shell-label]:hover::after,\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .nav-link[data-shell-label]:focus-visible::after,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .nav-link[data-shell-label]:focus-visible::after {\n opacity: 1;\n transform: translate(0, -50%);\n visibility: visible;\n }\n\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .btn-menu-dropend .shell-subaccount-trigger-anchor[data-shell-label]:hover::after,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .btn-menu-dropend .shell-subaccount-trigger-anchor[data-shell-label]:hover::after,\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .btn-menu-dropend .shell-subaccount-trigger-anchor[data-shell-label]:focus-visible::after,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .btn-menu-dropend .shell-subaccount-trigger-anchor[data-shell-label]:focus-visible::after {\n opacity: 1;\n transform: translate(0, -50%);\n visibility: visible;\n }\n\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .shell-bottom-panel-collapsed .shell-collapsed-footer-btn[data-shell-label]::after,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .shell-bottom-panel-collapsed .shell-collapsed-footer-btn[data-shell-label]::after {\n background: var(--shell-sidebar-tooltip-bg);\n border: 1px solid var(--shell-sidebar-tooltip-border);\n border-radius: 0.5rem;\n box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);\n color: var(--shell-sidebar-tooltip-text);\n content: attr(data-shell-label);\n font-family: var(--shell-sidebar-font-family);\n font-size: var(--shell-sidebar-tooltip-font-size);\n font-weight: var(--shell-sidebar-tooltip-font-weight);\n letter-spacing: 0.01em;\n left: calc(100% + 0.55rem);\n line-height: 1.35;\n max-width: 15rem;\n opacity: 0;\n overflow: hidden;\n padding: 0.35rem 0.55rem;\n pointer-events: none;\n position: absolute;\n text-overflow: ellipsis;\n top: 50%;\n transform: translate(0.3rem, -50%);\n transition: opacity 0.16s ease, transform 0.16s ease;\n visibility: hidden;\n white-space: nowrap;\n z-index: 3050;\n }\n\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .shell-bottom-panel-collapsed .shell-collapsed-footer-btn[data-shell-label]:hover::after,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .shell-bottom-panel-collapsed .shell-collapsed-footer-btn[data-shell-label]:hover::after,\n body.shell-layout-v2.shell-collapsed #shellLayout #shellLayoutSidebar .shell-bottom-panel-collapsed .shell-collapsed-footer-btn[data-shell-label]:focus-visible::after,\n body.shell-layout-v2 .shell-collapsed #shellLayout #shellLayoutSidebar .shell-bottom-panel-collapsed .shell-collapsed-footer-btn[data-shell-label]:focus-visible::after {\n opacity: 1;\n transform: translate(0, -50%);\n visibility: visible;\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n body.shell-layout-v2 #shellLayout #shellLayoutSidebar,\n body.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav,\n body.shell-layout-v2 #shellLayout #shellLayoutContent,\n body.shell-layout-v2 .shell-sidebar-brand-wrap,\n body.shell-layout-v2 .shell-sidebar-brand-copy,\n body.shell-layout-v2 .shell-sidebar-collapse-btn,\n body.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link,\n body.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .nav-link .nav-link-icon,\n body.shell-layout-v2 .shell-sidebar-text,\n body.shell-layout-v2 .menu-dropend-text,\n body.shell-layout-v2 .shell-sidebar-role-chip,\n body.shell-layout-v2 .shell-sidebar-free-trial-message,\n body.shell-layout-v2 #shellLayout #shellLayoutSidebar .sidenav .sidenav-menu-heading,\n body.shell-layout-v2 #shellLayout #shellLayoutSidebar .shell-bottom-version,\n body.shell-layout-v2 .shell-agency-link-label .shell-full-label {\n transition: none !important;\n }\n}\n',""]),n.A=i},92968:function(e,n,t){var r=t(38246),a=t.n(r),o=t(21879),i=t.n(o)()(a());
1i.push([e.id,":root {\n font-family:\n 'Metropolis',\n -apple-system,\n BlinkMacSystemFont,\n 'Segoe UI',\n 'Roboto',\n 'Helvetica Neue',\n Arial,\n sans-serif;\n}\n\n* {\n box-sizing: border-box;\n}\n\nbody {\n margin: 0;\n /* background and color are controlled by MuiCssBaseline via the theme */\n font-family:\n 'Metropolis',\n -apple-system,\n BlinkMacSystemFont,\n 'Segoe UI',\n 'Roboto',\n 'Helvetica Neue',\n Arial,\n sans-serif;\n}\n\n.page {\n max-width: 960px;\n margin: 0 auto;\n padding: 2rem 1rem;\n}\n\n.overlay-container {\n position: relative;\n}\n\n.overlay {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.4);\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n color: white;\n text-align: center;\n z-index: 1;\n}\n\n.overlay > * {\n z-index: 2;\n}\n\n.select__control {\n border-radius: 8px !important;\n}\n",""]),n.A=i},50692:function(e,n,t){t.d(n,{P:function(){return S},S:function(){return y}});var r=t(78685),a=t(2057),o=t(85072),i=t.n(o),l=t(97825),s=t.n(l),c=t(77659),d=t.n(c),u=t(55056),h=t.n(u),x=t(10540),b=t.n(x),f=t(41113),p=t.n(f),g=t(25863),m={};m.styleTagTransform=p(),m.setAttributes=h(),m.insert=d().bind(null,"head"),m.domAPI=s(),m.insertStyleElement=b();i()(g.A,m),g.A&&g.A.locals&&g.A.locals;var v=a.createContext(null);function y(e){var n=a.useContext(v);a.useLayoutEffect((function(){if(n&&e)return n.holdForPageData()}),[n,e])}function A(){var e=a.useContext(v);return a.useLayoutEffect((function(){null==e||e.markPageMounted()}),[e]),null}function S(e){var n=e.children,t=e.fallback,o=a.useState(!1),i=o[0],l=o[1],s=a.useState(0),c=s[0],d=s[1],u=a.useState(!1),h=u[0],x=u[1],b=a.useMemo((function(){return{markPageMounted:function(){return l(!0)},holdForPageData:function(){return d((function(e){return e+1})),function(){return d((function(e){return Math.max(0,e-1)}))}}}}),[]),f=i&&0===c;return a.useLayoutEffect((function(){f&&x(!0)}),[f]),(0,r.jsx)(v.Provider,{value:b,children:(0,r.jsxs)("div",{className:h?"page-load-gate":"page-load-gate is-loading",children:[!h&&(0,r.jsx)("div",{className:"page-load-gate-layer is-holding",children:t}),(0,r.jsx)("div",{className:"page-load-gate-layer ".concat(h?"is-holding":"is-hidden"),"aria-hidden":!h,children:(0,r.jsxs)(a.Suspense,{fallback:null,children:[n,(0,r.jsx)(A,{})]})})]})})}},23900:function(e,n,t){t.d(n,{G:function(){return s},q:function(){return l}});var r=t(78685),a=(t(2057),t(20710)),o=t(45602),i=t(39675),l=new a.E({defaultOptions:{queries:{staleTime:3e4,gcTime:3e5,refetchOnWindowFocus:!1,retry:1},mutations:{retry:0}}});function s(e){var n=e.children;return(0,r.jsx)(i.Dv,{children:(0,r.jsx)(i.R2,{children:(0,r.jsx)(o.Ht,{client:l,children:n})})})}},29528:function(e,n,t){t.d(n,{S0:function(){return o},h4:function(){return i},il:function(){return l},kV:function(){return s}});var r=t(94571),a="stammer:route-http-error";function o(){return"".concat(window.location.pathname).concat(window.location.search).concat(window.location.hash)}function i(e,n){var t,a=null===(t=null==n?void 0:n.method)||void 0===t?void 0:t.toLowerCase();return(!a||"get"===a)&&Boolean((0,r.w)(e))}function l(e){var n=(0,r.w)(e);n&&window.dispatchEvent(new CustomEvent(a,{detail:{routeKey:o(),status:n,timestamp:Date.now()}}))}function s(e){var n=e;return window.addEventListener(a,n),function(){return window.removeEventListener(a,n)}}},48356:function(e,n,t){t.d(n,{G:function(){return d},P:function(){return c}});var r=t(78685),a=(t(2057),t(31547)),o=t(32417),i=t(81971),l=t(83474),s=t(7098);function c(){var e=(0,l.A)(),n="dark"===e.palette.mode,t=e.palette.getContrastText(e.palette.primary.main),r=e.palette.primary.main,a=n?e.palette.primary.dark:(0,s.X4)(e.palette.primary.dark,.9),o=n?e.palette.background.default:"#f2f6fc",i=n?(0,s.X4)(e.palette.common.white,.04):e.palette.background.paper,c=n?(0,s.X4)(e.palette.primary.main,.14):"#f4f8ff",d=n?(0,s.X4)(e.palette.common.white,.03):"#fafafa",u=n?e.palette.background.default:"rgb(250, 250, 250)",h=n?(0,s.X4)(e.palette.common.white,.04):"#E4E7ED",x=n?(0,s.X4)(e.palette.common.black,.22):h,b=n?"linear-gradient(180deg, ".concat((0,s.X4)(e.palette.common.white,.04)," 0%, ").concat((0,s.X4)(e.palette.primary.main,.1)," 100%)"):"linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #f6f9ff 100%)",f=n?"radial-gradient(circle at 24% 18%, ".concat((0,s.X4)(e.palette.common.white,.06)," 0%, rgba(255,255,255,0) 34%), linear-gradient(145deg, ").concat((0,s.X4)(e.palette.primary.main,.22)," 0%, ").concat((0,s.X4)(e.palette.common.black,.5)," 52%, ").concat((0,s.X4)(e.palette.common.black,.72)," 100%)"):"radial-gradient(circle at 18% 18%, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0) 34%), linear-gradient(180deg, #edf4ff 0%, #d9e8ff 58%, #cfe0fb 100%)",p=n?(0,s.X4)(e.palette.background.paper,.88):"rgb(249, 250, 251)",g=n?(0,s.X4)(e.palette.warning.main,.12):"#fff7e6",m=(0,s.X4)(e.palette.warning.main,n?.28:.18),v=(0,s.X4)(e.palette.warning.main,n?.2
1:.12),y=(0,s.X4)(t,n?.22:.3),A=(0,s.X4)(e.palette.text.primary,n?.18:.08),S=(0,s.X4)(e.palette.text.primary,n?.22:.1),j=n?(0,s.X4)(e.palette.divider,.22):"transparent",w=n?"0 10px 24px rgba(0, 0, 0, 0.18)":"0 10px 22px rgba(15, 23, 42, 0.05)";return{theme:e,headerTextColor:t,shellSurfaceBg:o,raisedSurface:i,tintedSurface:c,subtleSurface:d,authPageBg:u,authMutedBg:h,authFooterBg:x,authCardHeaderBg:b,authBrandPanelBg:f,authBrandCardBg:p,warningSurface:g,warningBorder:m,warningSkeleton:v,headerBackground:"linear-gradient(135deg, ".concat(r," 0%, ").concat(a," 100%)"),headerSkeleton:y,cardSkeleton:A,sidebarSkeleton:S,surfaceBorder:j,surfaceShadow:w}}function d(e){var n=e.compact,t=void 0===n||n,l=c(),d=l.headerBackground,u=l.headerSkeleton,h=l.headerTextColor;return(0,r.jsx)(a.A,{sx:{borderRadius:0,overflow:"hidden",background:d,borderBottom:function(e){return"1px solid ".concat((0,s.X4)(h,.14))},px:{xs:2,md:3},py:{xs:t?1.75:2,md:t?2:2.5}},children:(0,r.jsxs)(o.A,{direction:"row",spacing:2,alignItems:"center",justifyContent:"space-between",sx:{margin:"0px auto",maxWidth:"1440px",padding:"0px 24px"},children:[(0,r.jsxs)(a.A,{sx:{display:"flex",alignItems:"center",gap:1.5,flex:1,minWidth:0},children:[(0,r.jsx)(i.A,{variant:"circular",width:34,height:34,sx:{bgcolor:u}}),(0,r.jsxs)(a.A,{sx:{minWidth:0,flex:1},children:[(0,r.jsx)(i.A,{variant:"text",height:28,sx:{width:{xs:"62%",md:"34%"},bgcolor:u}}),!t&&(0,r.jsx)(i.A,{variant:"text",height:18,sx:{width:{xs:"82%",md:"48%"},bgcolor:(0,s.X4)(h,.24)}})]})]}),(0,r.jsx)(a.A,{sx:{display:{xs:"none",md:"flex"},gap:1},children:(0,r.jsx)(i.A,{variant:"rounded",height:36,width:t?120:160,sx:{bgcolor:(0,s.X4)(h,.22),borderRadius:2}})})]})})}},59589:function(e,n,t){t.d(n,{m:function(){return r}});var r={brandLogo:t.p+"assets/logo.99ed96409eb80cdea6b8.png",notFound404:t.p+"assets/404.9a2586eb94a1f9c0555e.svg",coldscrapeLogo:t.p+"assets/coldscrape-logo.11c1b5ecfaeaab3b35e5.png",notifierLogo:t.p+"assets/notifier-logo.3618371fe5bb503c2a76.webp"}},96267:function(e,n,t){t.r(n),t.d(n,{mountSpaRoot:function(){return Xr}});var r=t(78685),a=t(2057),o=t(68257),i=t(19489),l=t(23900),s=t(17e3),c=t(86591),d=t(83474),u=t(70559),h=t(56062),x=t(96976),b=t(45412),f=t(31547),p=t(74294),g=t(66203),m=t(30778),v=t(10838),y=t(17577),A=t(34994),S=t(1661),j=t(91811),w=t(51140),E=t(93610),L=t(65179),_=t(53630),C=t(83589),I=t(77079),T=t(88458),O=t(20534),R=t(50616),k=t(45043),P=t(13289),N=t(15874),D=t(20159),B=t(6337),U=t(22667),z=t(97718),M=t(84272),H=t(24951),W=t(55655),G=t(95614),Y=t(34210),F=t(68677),V=t(77214),J=t(39366),K=t(36825),X=t(9414),q=t(50991),Z=t(53053),$=t(52803),Q=t(26832),ee=t(27520),ne=t(17628),te=t(16657),re=t(59589),ae=t(50212),oe=t(16003),ie=new Set,le=new Set,se=[{matches:function(e){return e===oe.b.HOME},preload:function(){return Promise.all([t.e(8540),t.e(454),t.e(3811),t.e(6969)]).then(t.bind(t,64793))}},{matches:function(e){return e===oe.b.ACCOUNT},preload:function(){return Promise.all([t.e(8513),t.e(15),t.e(5934),t.e(5336),t.e(1467),t.e(2108),t.e(2676),t.e(8653)]).then(t.bind(t,59569))}},{matches:function(e){return e===oe.b.ACCOUNT_SECURITY},preload:function(){return t.e(7084).then(t.bind(t,47084))}},{matches:function(e){return e===oe.b.API_TOKEN},preload:function(){return t.e(8707).then(t.bind(t,41088))}},{matches:function(e){return e===oe.b.BILLING},preload:function(){return Promise.all([t.e(5674),t.e(7674),t.e(4288)]).then(t.bind(t,12322))}},{matches:function(e){return e===oe.b.MARKETPLACE},preload:function(){return Promise.all([t.e(8513),t.e(5336),t.e(3402),t.e(1467),t.e(1062)]).then(t.bind(t,22119))}},{matches:function(e){return e===oe.b.VOICE_DASHBOARD},preload:function(){return Promise.all([t.e(8513),t.e(2580),t.e(5336),t.e(9943),t.e(3402),t.e(4328),t.e(9779),t.e(8056),t.e(8658),t.e(1935)]).then(t.bind(t,21935))}},{matches:function(e){return e===oe.b.VOICE_CONFIGURE_NEW||e.startsWith("/voice/configure/")},preload:function(){return Promise.all([t.e(8513),t.e(2580),t.e(5336),t.e(9943),t.e(3402),t.e(4328),t.e(9779),t.e(8056),t.e(8658),t.e(6743)]).then(t.bind(t,76743))}},{matches:function(e){return e===oe.b.CHATBOT_LIST},preload:function(){return Promise.all([t.e(2046),t.e(7715)]).then(t.bind(t,78871))}},{matches:function(e){return e===oe.b.CHATBOT_INBOX_ALL||"".concat(e,"/")===oe.b.CHATBOT_INBOX_ALL},preload:function(){return Promise.all([t.e(8513),t.e(8310),t.e(5336),t.e(9943),t.e(3402),t.e(2787),t.e(4328),t.e(9779),t.e(2046),t.e(1815),t.e(3223)]).then(t.bind(t,13223))}},{matches:function(e){return e===oe.b.ADMIN_ANALYTICS},preload:function(){return Promise.all([t.e(6354),t.e(8408),t.e(4535)]).then(t.bind(t,86916))}},{matches:function(e){return e===oe.b.ADMIN_MESSAGE_USAGE},preload:function(){return Promise.all([t.e(6354),t.e(8408),t.e(2931)]).then(t.bind(t,32931
1))}},{matches:function(e){return e===oe.b.ADMIN_CHATBOT_ANALYTICS},preload:function(){return Promise.all([t.e(6354),t.e(8408),t.e(5828)]).then(t.bind(t,5828))}},{matches:function(e){return e===oe.b.ADMIN_VOICE_ANALYTICS},preload:function(){return Promise.all([t.e(6354),t.e(8408),t.e(9206)]).then(t.bind(t,9206))}},{matches:function(e){return e===oe.b.ADMIN_USER_VOICE_USAGE},preload:function(){return Promise.all([t.e(6354),t.e(8408),t.e(7708)]).then(t.bind(t,27708))}},{matches:function(e){return e===oe.b.AGENCY_PROFILE},preload:function(){return Promise.all([t.e(8513),t.e(2108),t.e(2455)]).then(t.bind(t,86958))}},{matches:function(e){return e===oe.b.AGENCY_SAAS_CONFIGURATOR},preload:function(){return Promise.all([t.e(8513),t.e(9287),t.e(5336),t.e(9101),t.e(3770)]).then(t.bind(t,63770))}},{matches:function(e){return e===oe.b.AGENCY_USERS||e===oe.b.SUBACCOUNT_USERS},preload:function(){return Promise.all([t.e(8513),t.e(15),t.e(5336),t.e(1467),t.e(2676),t.e(3171)]).then(t.bind(t,93171))}},{matches:function(e){return e===oe.b.SUBACCOUNTS},preload:function(){return Promise.all([t.e(8513),t.e(5336),t.e(1467),t.e(9808)]).then(t.bind(t,55073))}},{matches:function(e){return e===oe.b.SUPPORT_TICKET},preload:function(){return t.e(2632).then(t.bind(t,82632))}}];function ce(e){var n=(0,ae.Ih)(e);if(n){var t=n.split(/[?#]/,1)[0];if(!ie.has(t)){var r=se.find((function(e){return e.matches(t)}));r&&(ie.add(t),r.preload().catch((function(){ie.delete(t)})))}}}function de(e){if("undefined"!=typeof window&&!function(){if("undefined"==typeof navigator)return!1;var e=navigator.connection;return!!(null==e?void 0:e.saveData)||"slow-2g"===(null==e?void 0:e.effectiveType)||"2g"===(null==e?void 0:e.effectiveType)}()){var n=e.filter((function(e){var n=(0,ae.Ih)(e);if(!n)return!1;var t=n.split(/[?#]/,1)[0];return!ie.has(t)&&!le.has(t)&&(le.add(t),!0)}));if(n.length){var t=function(){n.forEach((function(e){var n=(0,ae.Ih)(e);n&&le.delete(n.split(/[?#]/,1)[0]),ce(e)}))};"requestIdleCallback"in window?window.requestIdleCallback((function(){t()}),{timeout:1200}):globalThis.setTimeout(t,250)}}}var ue=t(70459),he=t(38254),xe=t(41946),be=function(){return be=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var a in n=arguments[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e},be.apply(this,arguments)},fe=function(e,n,t,r){return new(t||(t=Promise))((function(a,o){function i(e){try{s(r.next(e))}catch(e){o(e)}}function l(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var n;e.done?a(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,l)}s((r=r.apply(e,n||[])).next())}))},pe=function(e,n){var t,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){return function(l){if(t)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(o=0)),o;)try{if(t=1,r&&(a=2&l[0]?r.return:l[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;switch(r=0,a&&(l=[2&l[0],a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}if(6===l[0]&&o.label<a[1]){o.label=a[1],a=l;break}
1if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=n.call(e,o)}catch(e){l=[6,e],r=0}finally{t=a=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}},ge=function(e,n,t){if(t||2===arguments.length)for(var r,a=0,o=n.length;a<o;a++)!r&&a in n||(r||(r=Array.prototype.slice.call(n,0,a)),r[a]=n[a]);return e.concat(r||Array.prototype.slice.call(n))},me="13.5rem";function ve(e){var n=Number(e);return Number.isFinite(n)?n:0}function ye(e){return ve(e).toLocaleString("en-US",{maximumFractionDigits:0})}function Ae(e){return ve(e).toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}function Se(e){return e.replace(/\.0+$/,"")}function je(e){var n=ve(e);return n>=1e9?Se((n/1e9).toFixed(2))+"b":n>=1e6?Se((n/1e6).toFixed(2))+"m":n>=1e3?Se((n/1e3).toFixed(2))+"k":n.toLocaleString("en-US",{maximumFractionDigits:2}).replace(/\.00$/,"")}function we(e){return((0,ae.rn)(e)||e).split(/[?#]/,1)[0]}function Ee(e){var n=e.href,t=e.active,a=e.icon,o=e.label,i=e.collapsed,l=e.badge,c=e.disabled,p=e.onClick,g=(0,s.Ri)(),m=(0,ae.Ih)(n),v=(0,d.A)().palette.primary.main,y=p?{component:"button",onClick:p}:g&&m?{component:s.N_,to:m}:{component:"a",href:n};return(0,r.jsx)(u.A,{title:i?o:"",placement:"right",arrow:!0,children:(0,r.jsxs)(h.A,be({},y,{selected:t,disabled:c,onMouseEnter:function(){return!p&&ce(n)},sx:{textDecoration:"none",borderRadius:.75,mx:1,px:1.5,py:.75,mb:.25,minHeight:40,color:t?v:"text.secondary",fontWeight:t?600:400,bgcolor:"transparent",transition:"color 0.12s","&.Mui-selected":{bgcolor:"transparent !important"},"&:visited":{textDecoration:"none"},"&:hover":{bgcolor:"transparent",color:t?v:"text.primary",textDecoration:"none"},"&:focus":{textDecoration:"none"},"&:active":{textDecoration:"none"}},children:[(0,r.jsx)(x.A,{sx:{minWidth:34,color:t?v:"text.disabled",transition:"color 0.12s"},children:a}),!i&&(0,r.jsx)(b.A,{primary:l?(0,r.jsxs)(f.A,{sx:{display:"flex",alignItems:"center",gap:1},children:[o,l]}):o,primaryTypographyProps:{variant:"body2",component:"div",fontWeight:"inherit",sx:{color:t?v:"text.secondary",textDecoration:"none"}}})]}))})}var Le=function(e){var n=this,t=e.payload,o=(0,te.Bd)().t,i=(0,s.Zp)(),l=(0,d.A)(),c=(0,p.A)("(max-width: 991.98px)",{noSsr:!0}),oe=t.appVersion,ie=t.billing,le=t.currentPath,se=t.currentViewName,be=t.customMenuLinks,ve=t.flags,Se=t.links,Le=t.masterChatName,_e=t.subaccounts,Ce=t.user,Ie=t.userType,Te=(0,ae.rn)(le)||le,Oe=Te.split(/[?#]/,1)[0],Re=we(le),ke=(0,ae.rn)(Se.dashboard)||Se.dashboard,Pe=(0,ae.rn)(Se.apiToken)||Se.apiToken,Ne=(0,ae.rn)(Se.marketplace)||Se.marketplace,De=(0,ae.rn)(Se.voiceDashboard)||Se.voiceDashboard,Be=(0,ae.rn)(Se.viewSubaccounts)||Se.viewSubaccounts,Ue=(0,ae.rn)(Se.viewSubaccountsCreate)||Se.viewSubaccountsCreate,ze=(0,ae.rn)(Se.viewSubaccountUsers)||Se.viewSubaccountUsers,Me=(0,ae.Ih)(Se.profile),He=(0,ae.Ih)(Se.billingSettings),We=Se.support||t.supportLink,Ge=(0,ae.Ih)(We),Ye=a.useRef(null),Fe=a.useState((function(){if("undefined"==typeof window||"undefined"==typeof document)return!1;try{var e=window.localStorage.getItem("sb|sidebar-toggle");if("true"===e)return!0;if("false"===e)return!1}catch(e){}return document.body.classList.contains("shell-collapsed")})),Ve=Fe[0],Je=Fe[1],Ke=a.useState(!1),Xe=Ke[0],qe=Ke[1],Ze=a.useState(!1),$e=Ze[0],Qe=Ze[1],en=a.useState(""),nn=en[0],tn=en[1],rn=a.use
1State(null),an=rn[0],on=rn[1],ln=a.useState(!1),sn=ln[0],cn=ln[1],dn=a.useState(!1),un=dn[0],hn=dn[1],xn=a.useState(!1),bn=xn[0],fn=xn[1],pn=a.useState((function(){if("undefined"==typeof window)return!0;try{return"light"===(window.localStorage.getItem("theme")||"light")}catch(e){return!0}})),gn=pn[0],mn=pn[1],vn=a.useState(t.language.current||"en"),yn=vn[0],An=vn[1];a.useEffect((function(){"undefined"!=typeof document&&(c?document.body.classList.add("shell-collapsed"):document.body.classList.toggle("shell-collapsed",Ve))}),[c,Ve]),a.useEffect((function(){if("undefined"!=typeof window){var e=function(e){var n,t=null===(n=null==e?void 0:e.detail)||void 0===n?void 0:n.themeMode;if("light"!==t&&"dark"!==t)try{mn("light"===(window.localStorage.getItem("theme")||"light"))}catch(e){mn(!0)}else mn("light"===t)};return window.addEventListener("stammer-theme-change",e),window.addEventListener("storage",e),function(){window.removeEventListener("stammer-theme-change",e),window.removeEventListener("storage",e)}}}),[]),a.useEffect((function(){An(t.language.current||"en")}),[t.language.current]),a.useEffect((function(){de([Se.dashboard,Se.viewChatbots,ve.canViewInbox?Se.chatInbox:null,ve.canUseVoiceAgents?Se.voiceDashboard:null,Se.marketplace,Se.billingSettings,Se.apiToken])}),[ve.canUseVoiceAgents,ve.canViewInbox,Se.chatInbox,Se.apiToken,Se.billingSettings,Se.dashboard,Se.marketplace,Se.viewChatbots,Se.voiceDashboard]);var Sn,jn,wn,En,Ln,_n,Cn,In=(Ie||"").trim().replace(/\s+/g," "),Tn=In.toLowerCase(),On=o("DISPLAY_LABELS.SHELL_REGULAR_USER").toLowerCase(),Rn=o("DISPLAY_LABELS.SHELL_ROLE_AGENCY_OWNER").toLowerCase(),kn=o("DISPLAY_LABELS.SHELL_ROLE_AGENCY_ADMIN").toLowerCase(),Pn=o("DISPLAY_LABELS.SHELL_ROLE_AGENCY_USER").toLowerCase(),Nn=o("DISPLAY_LABELS.SHELL_ROLE_AGENCY").toLowerCase(),Dn=!In||"regular user"===Tn||Tn===On,Bn=a.useMemo((function(){return In&&"regular user"!==Tn&&Tn!==On?"agency owner"===Tn||Tn===Rn?o("DISPLAY_LABELS.SHELL_ROLE_AGENCY_OWNER"):"agency admin"===Tn||Tn===kn?o("DISPLAY_LABELS.SHELL_ROLE_AGENCY_ADMIN"):"agency user"===Tn||Tn===Pn?o("DISPLAY_LABELS.SHELL_ROLE_AGENCY_USER"):"admin"===Tn?o("DISPLAY_STRINGS.ADMIN"):"user"===Tn?o("DISPLAY_STRINGS.USER"):Tn.endsWith(" admin")?"".concat(In.slice(0,-6)," ").concat(o("DISPLAY_STRINGS.ADMIN")):Tn.endsWith(" user")?"".concat(In.slice(0,-5)," ").concat(o("DISPLAY_STRINGS.USER")):In:o("DISPLAY_LABELS.SHELL_REGULAR_USER")}),[kn,Rn,Pn,On,In,Tn,o]),Un=a.useMemo((function(){var e=(t.site.name||"").trim();return e||(ve.isRunningOnAgencyDomain?"":"Stammer AI")}),[ve.isRunningOnAgencyDomain,t.site.name]),zn=a.useMemo((function(){return e=t.site.logo,n=ve.isRunningOnAgencyDomain,e?"common/img/logo.png"===e?re.m.brandLogo:e.startsWith("http://")||e.startsWith("https://")||e.startsWith("/")?e:e.startsWith("common/")?"/static/".concat(e):e:n?"":re.m.brandLogo;var e,n}),[ve.isRunningOnAgencyDomain,t.site.logo]),Mn=(Un||Ce.email||"S").trim().charAt(0).toUpperCase()||"S",Hn=Tn.includes("agency")||Tn.includes(Nn)?o("DISPLAY_LABELS.SHELL_ROLE_AGENCY"):o("DISPLAY_LABELS.SHELL_ROLE"),Wn=Ce.email||"".concat(Ce.firstName," ").concat(Ce.lastName).trim()||o("DISPLAY_LABELS.SHELL_ACCOUNT_FALLBACK"),Gn=(_e.length,Boolean(Se.viewSubaccounts)),Yn=a.useMemo((function(){var e=(Le||"").trim();if(!e)return o("DISPLAY_STRINGS.MASTERCHAT");var n=e.toLowerCase();return"master chat"===n||"masterchat"===n?o("DISPLAY_STRINGS.MASTERCHAT"):e}),[Le,o]),Fn=!ve.isRequesterSubaccountUser&&ve.showSupportTicketHelpLink&&Boolean(Se.support||t.supportLink),Vn=ve.isRequesterAgencyUser&&!ve.isRunningOnAgencyDomain,Jn=Boolean(Se.customSetLanguage)&&t.language.options.length>0,Kn="local"===t.environment?{color:"success",label:o("DISPLAY_LABELS.SHELL_ENV_LOCAL")}:"staging"===t.environment?{color:"warning",label:o("DISPLAY_LABELS.SHELL_ENV_STAGING")}:"uat"===t.environment?{color:"primary",label:o("DISPLAY_LABELS.SHELL_ENV_UAT")}:null,Xn=Oe.startsWith("/chatbot/inbox"),qn=Oe.startsWith("/chatbot/")&&!Xn,Zn=Oe===De.split(/[?#]/,1)[0]||Oe.startsWith("/voice/"),$n=Oe.startsWith("/agency/"),Qn="".concat(Se.agencyProfile,"?tab=dashboard_settings"),et=Te===Be||Te===Ue||"update-subaccount"===se,nt=Boolean(Se.agencyProfile),tt
1=Boolean(Se.apiToken),rt=ve.isNwlUser&&"nwl_free"===ve.subscribedPlanKey,at=ve.isNwlUser&&"nwl_starter"===ve.subscribedPlanKey,ot=ve.isNwlUser&&"nwl_business"===ve.subscribedPlanKey,it=rt||at||ot,lt=ve.isRequesterAgencyUser&&Gn&&!it,st=!ve.isRequesterAgencyAdmin&&!ve.isRequesterApiEligible&&!ve.isNwlUser&&ve.isRequesterSubaccountAdmin&&ve.isAgencyOwnerApiEligible,ct=[ve.canViewAnalyticsUsers&&Se.analyticsDashboard?{key:"analytics-users",href:Se.analyticsDashboard,label:o("DISPLAY_LABELS.SHELL_USERS")}:null,ve.canViewAnalyticsUserTokenUsage&&Se.analyticsMessageUsage?{key:"analytics-user-token",href:Se.analyticsMessageUsage,label:o("DISPLAY_LABELS.SHELL_USER_TOKEN_USAGE")}:null,ve.canViewAnalyticsChatbotTokenUsage&&Se.analyticsChatbotUsage?{key:"analytics-chatbot-token",href:Se.analyticsChatbotUsage,label:o("DISPLAY_LABELS.SHELL_CHATBOT_TOKEN_USAGE")}:null,ve.canViewAnalyticsVoice&&Se.analyticsVoiceUsage?{key:"analytics-voice",href:Se.analyticsVoiceUsage,label:o("DISPLAY_LABELS.SHELL_VOICE_ANALYTICS")}:null,ve.canViewAnalyticsUserVoice&&Se.analyticsUserVoiceUsage?{key:"analytics-user-voice",href:Se.analyticsUserVoiceUsage,label:o("DISPLAY_LABELS.SHELL_USER_VOICE_USAGE")}:null].filter((function(e){return Boolean(e)})),dt=ct.some((function(e){return we(e.href)===Re})),ut=function(){if(!c){var e=!Ve;Je(e),document.body.classList.toggle("shell-collapsed",e),localStorage.setItem("sb|sidebar-toggle",String(e))}},ht=!c&&Ve,xt=ht?"4rem":me;return(0,r.jsxs)(f.A,{id:"shellLayoutSidebar",children:[c&&(0,r.jsx)(g.A,{size:"small",onClick:function(){return qe(!0)},"aria-label":o("DISPLAY_LABELS.SHELL_TOGGLE_SIDEBAR"),sx:{position:"fixed",bottom:20,left:20,zIndex:function(e){return e.zIndex.drawer+2},bgcolor:"primary.main",color:"primary.contrastText",boxShadow:4,"&:hover":{bgcolor:"primary.dark"}},children:(0,r.jsx)(K.A,{fontSize:"small"})}),(0,r.jsxs)(m.Ay,{variant:c?"temporary":"permanent",open:!c||Xe,onClose:c?function(){return qe(!1)}:void 0,sx:{width:c?0:xt,flexShrink:0,"& .MuiDrawer-paper":{width:c?me:xt,boxSizing:"border-box",top:0,height:c?"100dvh":"var(--shell-sidebar-height, 100dvh)",maxHeight:c?"100dvh":"var(--shell-sidebar-height, 100dvh)",transition:c?void 0:"width 380ms cubic-bezier(0.22, 1, 0.36, 1)",overflowX:"hidden",overflowY:"hidden",display:"flex",flexDirection:"column",borderRight:"1px solid",borderColor:"divider",bgcolor:"background.paper",boxShadow:"14px 0 34px rgba(0,0,0,0.06)"}},children:[(0,r.jsxs)(f.A,{sx:{display:"flex",alignItems:"center",justifyContent:ht?"center":"space-between",px:ht?0:1.5,py:1.5,borderBottom:"1px solid",borderColor:"divider",minHeight:64,flexShrink:0},children:[(0,r.jsxs)(f.A,{component:s.N_,to:(0,ae.Ih)(Se.dashboard)||Se.dashboard,sx:{display:"flex",alignItems:"center",justifyContent:ht?"center":"flex-start",gap:1.5,textDecoration:"none",color:"inherit",overflow:"hidden",flex:ht?"none":1,minWidth:0},children:[zn?(0,r.jsx)(f.A,{component:"img",src:zn,alt:Un||"Logo",sx:{width:32,height:32,borderRadius:1.5,objectFit:"contain",flexShrink:0}}):(0,r.jsx)(f.A,{sx:{width:32,height:32,borderRadius:1.5,bgcolor:"primary.main",color:"primary.contrastText",display:"flex",alignItems:"center",justifyContent:"center",fontWeight:700,fontSize:14,flexShrink:0},children:Mn}),!ht&&(0,r.jsxs)(f.A,{sx:{overflow:"hidden",minWidth:0},children:[(0,r.jsx)(v.A,{variant:"body2",fontWeight:600,noWrap:!0,sx:{lineHeight:1.2},children:Un||Ce.email}),Kn&&"local"!==t.environment&&(0,r.jsx)(y.A,{label:Kn.label,color:Kn.color,size:"x-small",sx:{mt:.25}})]})]}),!ht&&(0,r.jsx)(A.A,{size:"small",onClick:ut,title:o("DISPLAY_LABELS.SHELL_TOGGLE_SIDEBAR"),sx:{flexShrink:0,ml:.5},children:(0,r.jsx)(K.A,{fontSize:"small"})})]}),!c&&Ve&&(0,r.jsx)(f.A,{sx:{display:"flex",justifyContent:"center",py:1},children:(0,r.jsx)(A.A,{size:"small",onClick:ut,title:o("DISPLAY_LABELS.SHELL_TOGGLE_SIDEBAR"),children:(0,r.jsx)(K.A,{fontSize:"small"})})}),(0,r.jsxs)(S.A,{sx:{flex:1,minHeight:0,overflowY:"auto",overflowX:"hidden",pt:1,pb:1,"&::-webkit-scrollbar":{width:4},"&::-webkit-scrollbar-thumb":{borderRadius:2,bgcolor:"divider"},"&::-webkit-scrollbar-track":{bgcolor:"transparent"}},children:[(0,r.jsx)(Ee,{href:Se.dashboard,active:Te===ke,icon:(0,r.jsx)(z.A,{fontSize:"small"}),label:o("DISPLAY_STRINGS.DASHBOARD"),collapsed:ht}),ve.canViewChatAgents&&(0,r.jsx)(Ee,{href:Se.viewChatbots,active:qn,icon:(0,r.jsx)(Q.A,{fontSize:"small"}),label:o("DISPLAY_LABELS.SHELL_CHAT_AGENTS"),collapsed:ht}),ve.canViewInbox&&Boolean(Se.chatInbox)&&(0,r.jsx)(Ee,{href:Se.chatInbox,active:Xn,icon:(0,r.jsx)(G.A,{fontSize:"small"}),label:o("DISPLAY_LABELS.INBOX"),collapsed:ht}),ve.canUseVoiceAgents&&(0,r.jsx)(Ee,{href:Se.voiceDashboard,active:Zn,icon:(0,r.jsx)($.A,{fontSize:"small"}),label:o("DISPLAY_LABELS.SHELL_VOICE_AGENTS"),collapsed:ht}
1),ve.isRequesterAgencyAdmin&&nt&&(0,r.jsx)(Ee,{href:Qn,active:$n,icon:(0,r.jsx)(q.A,{fontSize:"small"}),label:o("DISPLAY_LABELS.SHELL_ROLE_AGENCY"),collapsed:ht}),lt&&(0,r.jsx)(Ee,{href:Se.viewSubaccounts,active:et,icon:(0,r.jsx)(P.A,{fontSize:"small"}),label:o("DISPLAY_LABELS.SHELL_SUB_ACCOUNTS"),collapsed:ht}),ve.isRequesterSubaccountAdmin&&(0,r.jsx)(Ee,{href:Se.viewSubaccountUsers,active:Te===ze,icon:(0,r.jsx)(q.A,{fontSize:"small"}),label:o("DISPLAY_LABELS.SHELL_USERS"),collapsed:ht}),tt&&(ve.isRequesterAgencyAdmin||ve.isRequesterApiEligible)?(0,r.jsx)(Ee,{href:Se.apiToken,active:Te===Pe,icon:(0,r.jsx)(N.A,{fontSize:"small"}),label:ve.isRequesterSubaccountUser?o("DISPLAY_LABELS.SHELL_API"):o("DISPLAY_LABELS.SHELL_WHITE_LABEL_API"),collapsed:ht}):st?(0,r.jsx)(u.A,{title:o("DISPLAY_LABELS.SHELL_UPGRADE_API"),placement:"right",arrow:!0,children:(0,r.jsx)("span",{children:(0,r.jsx)(Ee,{href:"",active:!1,icon:(0,r.jsx)(N.A,{fontSize:"small"}),label:ve.isRequesterSubaccountUser?o("DISPLAY_LABELS.SHELL_API"):o("DISPLAY_LABELS.SHELL_WHITE_LABEL_API"),collapsed:ht,disabled:!0})})}):null,(0,r.jsx)(Ee,{href:Se.marketplace,active:Te===Ne,icon:(0,r.jsx)(ee.A,{fontSize:"small"}),label:o("DISPLAY_LABELS.MARKETPLACE"),collapsed:ht}),ve.canUseMasterChat&&!rt&&(0,r.jsx)(Ee,{href:Se.masterChat,active:!1,icon:(0,r.jsx)(H.A,{fontSize:"small"}),label:Yn,collapsed:ht}),ve.isRequesterSubaccountUser&&ve.isDocumentationEligible&&(0,r.jsx)(Ee,{href:Se.whiteLabelDocs,active:!1,icon:(0,r.jsx)(M.A,{fontSize:"small"}),label:o("DISPLAY_LABELS.DOCUMENTATION"),collapsed:ht}),be.map((function(e){return(0,r.jsx)(u.A,{title:ht?e.label:"",placement:"right",arrow:!0,children:(0,r.jsxs)(h.A,{component:"a",href:e.url,target:e.openInNewTab?"_blank":void 0,rel:e.openInNewTab?"noreferrer":void 0,sx:{borderRadius:.75,mx:1,px:1.5,py:.75,mb:.25,minHeight:40,color:"text.secondary",fontWeight:400,bgcolor:"transparent",transition:"color 0.12s","&:hover":{bgcolor:"transparent",color:"text.primary"}},children:[(0,r.jsx)(x.A,{sx:{minWidth:34,color:"text.disabled",transition:"color 0.12s"},children:(0,he.g)(e.icon)}),!ht&&(0,r.jsx)(b.A,{primary:e.label,primaryTypographyProps:{variant:"body2",fontWeight:"inherit",sx:{color:"text.secondary"}}})]})},e.id)})),ct.length>0&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(u.A,{title:ht?o("DISPLAY_LABELS.SHELL_ANALYTICS"):"",placement:"right",arrow:!0,children:(0,r.jsxs)(h.A,{onClick:function(){return fn((function(e){return!e}))},selected:dt,sx:{borderRadius:.75,mx:1,px:1.5,py:.75,mb:.25,minHeight:40,color:dt?"primary.main":"text.secondary",fontWeight:dt?600:400,bgcolor:"transparent",transition:"color 0.12s","&.Mui-selected":{bgcolor:"transparent !important"},"&:hover":{bgcolor:"transparent",color:"text.primary"}},children:[(0,r.jsx)(x.A,{sx:{minWidth:34,color:dt?"primary.main":"text.disabled",transition:"color 0.12s"},children:(0,r.jsx)(D.A,{fontSize:"small"})}),!ht&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(b.A,{primary:o("DISPLAY_LABELS.SHELL_ANALYTICS"),primaryTypographyProps:{variant:"body2",fontWeight:"inherit"}}),(0,r.jsx)(Y.A,{fontSize:"small",sx:{transform:bn||dt?"rotate(180deg)":"rotate(0)",transition:"transform 0.2s",color:"text.disabled"}})]})]})}),(0,r.jsx)(j.A,{in:bn||dt,children:(0,r.jsx)(S.A,{disablePadding:!0,sx:{pl:ht?0:1.75,pr:ht?0:1.25,py:ht?0:.35,ml:ht?0:1.25,borderLeft:ht?"none":"1px dashed ".concat(l.palette.divider)},children:ct.map((function(e){var n=we(e.href)===Re;return(0,r.jsxs)(h.A,{component:s.N_,to:(0,ae.Ih)(e.href)||e.href,selected:n,onMouseEnter:function(){return ce(e.href)},sx:{minHeight:34,mb:.2,px:1,py:.45,borderRadius:1,color:n?"primary.main":"text.secondary",fontWeight:n?600:500,bgcolor:n?"dark"===l.palette.mode?"rgba(144, 202, 249, 0.12)":"rgba(25, 118, 210, 0.08)":"transparent","&.Mui-selected":{bgcolor:"dark"===l.palette.mode?"rgba(144, 202, 249, 0.12)":"rgba(25, 118, 210, 0.08)"},"&:hover":{bgcolor:n?"dark"===l.palette.mode?"rgba(144, 202, 249, 0.14)":"rgba(25, 118, 210, 0.1)":"dark"===l.palette.mode?"rgba(255, 255, 255, 0.04)":"rgba(0, 0, 0, 0.03)",color:n?"primary.main":"text.primary"}},children:[(0,r.jsx)(x.A,{sx:{minWidth:16,color:n?"primary.main":"text.disabled"},children:(0,r.jsx)(f.A,{sx:{width:6,height:6,borderRadius:"50%",bgcolor:"currentColor"}})}),(0,r.jsx)(b.A,{primary:e.label,primaryTypographyProps:{variant:"body2",fontSize:"0.83rem",lineHeight:1.35,fontWeight:"inherit"}})]},e.key)}))})})]})]}),lt&&(0,r.jsx)(f.A,{sx:{px:1,py:.5,borderTop:"1px solid",borderColor:"divider"},children:(0,r.jsx)(u.A,{title:ht?o("DISPLAY_LABELS.SHELL_SWITCH_TO_SUBACCOUNT"):"",placement:"right",arrow:!0,children:(0,r.jsxs)(h.A,{ref:Ye,onClick:function(){return Qe((function(e){return!e}))},sx:{borderRadius:1,px:1.5,py:.5,minHeight:32,color:$e?"primary.main":"text.secondary",bgcolor:"transparent",transition:"color 0.12s","&:hover":{bgcolor:"transparent",color:"primary.main"}},children:[(0,r.jsx)(x.A,{sx:{minWidth:30,color:"inherit"},children:(0,r.jsx)(P.A,{sx:{fontSize:15}})}),!ht&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(b.A,{primary:o("DISPLAY_LABELS.SHELL_SWITCH_ACCOUNT"),primaryTypographyProps:{variant:"caption",fontWeight:500}}),(0,r.jsx)(B.A,{sx:{fontSize:14,color:$e?"primary.main":"text.disabled"}})]})]})})}),(0,r.jsxs)(f.A,{sx:{flexShrink:0},children:[(0,r.jsxs)(f.A,{sx:{px:1,py:.5,borderTop:"1px solid",borderColor:"divider"},children:[(0,r.jsx)(u.A,{title:ht?o("DISPLAY_LABELS.SHELL_ACCOUNT_STATS"):"",placement:"right",arrow:!0,children:(0,r.jsxs)(h.A,{onClick:function(){cn((function(e){var n=!e;return n&&hn(!1),n}))},sx:{borderRadius:1,px:1.5,py:.5,minHeight:32,color:sn?"primary.main":"text.secondary",bgcolor:"transparent",transition:"color 0.12s","&:hover":{bgcolor:"transparent",color:"primary.main"}},children:[(0,r.jsx)(x.A,{sx:{minWidth:30,color:"inherit"},children:(0,r.jsx)(D.A,{sx:{fontSize:15}})}),!ht&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(b.A,{primary:o("DISPLAY_LABELS.SHELL_ACCOUNT_STATS"),primaryTypographyProps:{variant:"caption",fontWeight:500}}),(0,r.jsx)(B.A,{sx:{fontSize:14,color:sn?"primary.main":"text.disabled",transition:"transform 0.2s",transform:sn?"rotate(90deg)":"rotate(0deg)"}})]})]})}),(0,r.jsx)(j.A,{in:sn&&!ht,children:(0,r.jsx)(f.A,{sx:{px:1.5,pb:1.25,pt:.5},children:(jn=ve.isRequesterSubaccountAdmin||ve.isRequesterSubaccountUser,wn=jn?ie.usedChatbots:ie.usedChatbots+ie.soldChatbots,En=jn?ie.usedVoiceAgents:ie.usedVoiceAgents+ie.soldVoiceAgents,Ln=jn?ie.usedKbSlots:ie.usedKbSlots+ie.soldKbSlots,_n=jn?ie.usedConcurrency:ie.usedConcurrency+ie.soldConcurrency,Cn=jn?ie.usedCharacters:ie.usedCharacters+ie.soldCharacters,ge(ge([{label:o("DISPLAY_LABELS.SHELL_BALANCE_LABEL"),value:"".concat(ie.currencyLabel).concat(Ae(ie.walletBalance))},{label:o("DISPLAY_LABELS.SHELL_CHAT_AGENTS_LABEL"),value:"".concat(ye(wn)," / ").concat(ye(ie.totalChatbots))}],ve.canUseVoiceAgents?[{label:o("DISPLAY_LABELS.SHELL_VOICE_AGENTS_LABEL"),value:"".concat(ye(En)," / ").concat(ye(ie.totalVoiceAgents))},{label:o("DISPLAY_LABELS.SHELL_KB_SLOTS_LABEL"),value:"".concat(ye(Ln)," / ").concat(ye(ie.totalKbSlots))},{label:o("DISPLAY_LABELS.SHELL_CONCURRENCY_LABEL"),value:"".concat(ye(_n)," / ").concat(ye(ie.totalConcurrency))}
1]:[],!0),[{label:o("DISPLAY_LABELS.SHELL_CHARACTERS_LABEL"),value:"".concat(je(Cn)," / ").concat(je(ie.totalCharacters))}],!1).map((function(e){var n=e.label,t=e.value;return(0,r.jsxs)(f.A,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",py:.35},children:[(0,r.jsx)(v.A,{variant:"caption",color:"text.disabled",children:n}),(0,r.jsx)(v.A,{variant:"caption",fontWeight:600,color:"text.secondary",children:t})]},n)})))})})]}),(0,r.jsxs)(f.A,{sx:{px:1,py:.5,borderTop:"1px solid",borderColor:"divider"},children:[(0,r.jsx)(u.A,{title:ht?Wn:"",placement:"right",arrow:!0,children:(0,r.jsxs)(h.A,{onClick:function(){hn((function(e){var n=!e;return n&&cn(!1),n}))},sx:{borderRadius:1,px:1.5,py:.5,minHeight:32,color:un?"primary.main":"text.secondary",bgcolor:"transparent",transition:"color 0.12s","&:hover":{bgcolor:"transparent",color:"primary.main"}},children:[(0,r.jsx)(x.A,{sx:{minWidth:30,color:"inherit"},children:(0,r.jsx)(Z.A,{sx:{fontSize:15}})}),!ht&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(b.A,{primary:Wn,primaryTypographyProps:{variant:"caption",fontWeight:500,noWrap:!0},sx:{my:0}}),(0,r.jsx)(B.A,{sx:{fontSize:14,color:un?"primary.main":"text.disabled",transition:"transform 0.2s",transform:un?"rotate(90deg)":"rotate(0deg)"}})]})]})}),(0,r.jsx)(j.A,{in:un&&!ht,children:(0,r.jsxs)(f.A,{sx:{bgcolor:"background.default",borderRadius:1.5,overflow:"hidden",mt:.5},children:[!Dn&&(0,r.jsxs)(f.A,{sx:{px:2,pt:1.5,pb:.5},children:[(0,r.jsx)(v.A,{variant:"caption",color:"text.disabled",children:Hn}),(0,r.jsx)(v.A,{variant:"body2",fontWeight:600,color:"text.secondary",children:Bn})]}),(0,r.jsxs)(f.A,{sx:{display:"flex",alignItems:"center",px:1.5,py:.75,gap:1.5},children:[(0,r.jsx)(F.A,{sx:{fontSize:18,flexShrink:0,color:"warning.main"}}),(0,r.jsx)(v.A,{variant:"caption",fontWeight:500,color:"text.secondary",sx:{flex:1},children:o("DISPLAY_LABELS.SHELL_SWITCH_THEME")}),(0,r.jsx)(w.A,{size:"small",checked:gn,onChange:function(e){var n=e.target.checked;mn(n);var t=window.applyLightMode,r=window.applyDarkMode;n?"function"==typeof t?t():window.localStorage.setItem("theme","light"):"function"==typeof r?r():window.localStorage.setItem("theme","dark")}})]}),Jn&&(0,r.jsxs)(f.A,{sx:{display:"flex",alignItems:"center",px:1.5,py:.75,gap:1.5},children:[(0,r.jsx)(ne.A,{sx:{fontSize:18,flexShrink:0,color:"secondary.main"}}),(0,r.jsx)(E.A,{size:"small",value:yn,onChange:function(e){var n=e.target.value;if(An(n),Se.customSetLanguage){var r=document.createElement("form");r.method="POST",r.action=Se.customSetLanguage,r.style.display="none";var a=document.createElement("input");a.type="hidden",a.name="csrfmiddlewaretoken",a.value=t.csrfToken,r.appendChild(a);var o=document.createElement("input");o.type="hidden",o.name="next",o.value="".concat(window.location.pathname).concat(window.location.search).concat(window.location.hash),r.appendChild(o);var i=document.createElement("input");i.type="hidden",i.name="language",i.value=n,r.appendChild(i),document.body.appendChild(r),r.submit()}},variant:"outlined",sx:{flex:1,fontSize:"0.75rem",".MuiSelect-select":{py:"4px",px:"8px"}},children:t.language.options.map((function(e){return(0,r.jsx)(L.A,{value:e.code,sx:{fontSize:"0.75rem",py:.5},children:e.label},e.code)}))})]}),(0,r.jsx)(_.A,{sx:{my:.75}}),(0,r.jsxs)(h.A,{component:Me?s.N_:"a",to:Me||void 0,href:Me?void 0:Se.profile,sx:{borderRadius:0,px:1.5,py:.75,color:"text.secondary","&:hover":{color:"text.primary"}},children:[(0,r.jsx)(Z.A,{sx:{fontSize:18,mr:1.5,flexShrink:0,color:"primary.main"}}),(0,r.jsx)(v.A,{variant:"caption",fontWeight:500,children:o("DISPLAY_LABELS.SHELL_ACCOUNT_SETTINGS")})]}),!ve.isRequesterDirectlyBillable&&(0,r.jsxs)(h.A,{component:He?s.N_:"a",to:He||void 0,href:He?void 0:Se.billingSettings,sx:{borderRadius:0,px:1.5,py:.75,color:"text.secondary","&:hover":{color:"text.primary"}}
1,children:[(0,r.jsx)(U.A,{sx:{fontSize:18,mr:1.5,flexShrink:0,color:"success.main"}}),(0,r.jsx)(v.A,{variant:"caption",fontWeight:500,children:o("DISPLAY_LABELS.SHELL_BILLING")})]}),(0,r.jsx)(_.A,{sx:{my:.75}}),(0,r.jsxs)(h.A,{onClick:function(e){return fe(n,void 0,void 0,(function(){var n;return pe(this,(function(t){switch(t.label){case 0:e.preventDefault(),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,(0,ue.rO)()];case 2:return n=t.sent(),(0,ae.DV)(n.redirectUrl,i)?[2]:(window.location.href=n.redirectUrl,[3,4]);case 3:return t.sent(),window.location.href=Se.accountLogout,[3,4];case 4:return[2]}}))}))},sx:{borderRadius:0,px:1.5,py:.75,color:"error.main"},children:[(0,r.jsx)(J.A,{sx:{fontSize:18,mr:1.5,flexShrink:0,color:"error.main"}}),(0,r.jsx)(v.A,{variant:"caption",fontWeight:500,color:"error.main",children:o("DISPLAY_LABELS.SHELL_LOGOUT")})]})]})})]}),ve.showAppVersion&&oe&&!ht&&(0,r.jsxs)(v.A,{variant:"caption",color:"text.disabled",sx:{px:2,display:"block",pb:.5},children:["v",oe]}),!ht&&(Fn||Vn)&&(0,r.jsxs)(f.A,{sx:{display:"flex",alignItems:"center",justifyContent:"center",borderTop:"1px solid",borderColor:"divider",px:2,py:1,gap:2},children:[Fn&&(0,r.jsxs)(f.A,{component:Ge?s.N_:"a",to:Ge||void 0,href:Ge?void 0:We,sx:{display:"flex",alignItems:"center",gap:.75,color:"text.secondary",textDecoration:"none","&:hover":{color:"text.primary"}},children:[(0,r.jsx)(W.A,{sx:{fontSize:16}}),(0,r.jsx)(v.A,{variant:"caption",fontWeight:500,children:o("DISPLAY_LABELS.SHELL_HELP")})]}),Fn&&Vn&&(0,r.jsx)(_.A,{orientation:"vertical",flexItem:!0,sx:{height:16,alignSelf:"center"}}),Vn&&(0,r.jsxs)(f.A,{"data-shell-updates-trigger":"true",onClick:function(e){e.preventDefault();var n=window.openHelloNextWidget;if("function"!=typeof n){var t=document.getElementById("hellonextWidget");t instanceof HTMLElement?t.click():Se.support&&(window.location.href=Se.support)}else n()},sx:{display:"flex",alignItems:"center",gap:.75,color:"text.secondary",cursor:"pointer","&:hover":{color:"text.primary"}},children:[(0,r.jsx)(X.A,{sx:{fontSize:16}}),(0,r.jsx)(v.A,{variant:"caption",fontWeight:500,children:o("DISPLAY_LABELS.SHELL_UPDATES")}),(0,r.jsx)(f.A,{sx:{width:6,height:6,borderRadius:"50%",bgcolor:"primary.main",flexShrink:0}})]})]})]})]}),(0,r.jsxs)(C.Ay,{open:$e&<,anchorEl:Ye.current,onClose:function(){Qe(!1),tn("")},anchorOrigin:{vertical:"top",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"left"},slotProps:{paper:{sx:{width:260,maxHeight:400,display:"flex",flexDirection:"column",borderRadius:1.5}}},children:[(0,r.jsxs)(f.A,{sx:{px:1.5,pt:1.5,pb:1},children:[(0,r.jsx)(v.A,{variant:"body2",fontWeight:600,color:"text.primary",children:o("DISPLAY_LABELS.SHELL_SWITCH_ACCOUNT")}),(0,r.jsxs)(v.A,{variant:"caption",color:"text.disabled",children:[_e.length," ",1===_e.length?"account":"accounts"]})]}),_e.length>4&&(0,r.jsx)(f.A,{sx:{px:1.5,pb:1},children:(0,r.jsx)(I.Ay,{autoFocus:!0,placeholder:"Search...",value:nn,onChange:function(e){return tn(e.target.value)},startAdornment:(0,r.jsx)(T.A,{position:"start",children:(0,r.jsx)(V.A,{sx:{fontSize:15,color:"text.disabled"}})}),sx:{width:"100%",fontSize:"0.8125rem",px:1,py:.5,border:"1px solid",borderColor:"divider",borderRadius:1,"&.Mui-focused":{borderColor:"primary.main"}}})}),(0,r.jsx)(_.A,{}),(0,r.jsx)(O.A,{dense:!0,sx:{overflowY:"auto",py:.5,maxHeight:275},children:(Sn=_e.filter((function(e){return e.name.toLowerCase().includes(nn.toLowerCase())})),0===Sn.length?(0,r.jsx)(L.A,{disabled:!0,sx:{px:1.5,py:1},children:(0,r.jsx)(v.A,{variant:"caption",color:"text.secondary",children:"No accounts found"})}):Sn.map((function(e){return(0,r.jsxs)(L.A,{disabled:an===e.adminId,onClick:function(){return fe(n,void 0,void 0,(function(){return pe(this,(function(n){return null!==an||(on(e.adminId),(0,xe.j)(Se.hijackAcquire,{user_pk:String(e.adminId)})),[2]}))}))},sx:{px:1.5,py:.75,gap:1.25},children:[an===e.adminId?(0,r.jsx)(R.A,{size:18,sx:{flexShrink:0}}):(0,r.jsx)(k.A,{sx:{width:26,height:26,fontSize:"0.7rem",fontWeight:700,bgcolor:"primary.main",flexShrink:0},children:(e.name||"?").charAt(0).toUpperCase()}),(0,r.jsx)(v.A,{variant:"body2",noWrap:!0,sx:{flex:1},children:e.name})]},e.adminId)})))})]})]})};function _e(e){var n=e.payload,t=(0,te.Bd)().t;return(0,r.jsx)("footer",{className:"footer-admin mt-auto footer-light",children:(0,r.jsx)("div",{className:"container-xl px-4",children:(0,r.jsxs)("div",{className:"row",children:[(0,r.jsxs)("div",{className:"col-md-6 small",children:["All Rights Reserved © ",n.site.name," ",(new Date).getFullYear()]}),(0,r.jsxs)("div",{className:"col-md-6 text-md-end small",children:[n.footer.privacyPolicyUrl?(0,r.jsx)("a",{href:n.footer.privacyPolicyUrl,target:"_blank",rel:"noreferrer",children:t("DISPLAY_STRINGS.AUTH_PRIVACY_POLICY")}):null,n.footer.privacyPolicyUrl||n.footer.termsOfServiceUrl?" · ":null,n.footer.termsOfServiceUrl?(0,r.jsx)("a",{href:n.footer.termsOfServiceUrl,target:"_blank",rel:"noreferrer",children:t("DISPLAY_STRINGS.AUTH_TERMS_CONDITIONS")}):null]})]})})})}var Ce=function(e,n,t,r){return new(t||(t=Promise))((function(a,o){function i(e){try{s(r.next(e))}catch(e){o(e)}}function l(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var n;e.done?a(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,l)}s((r=r.apply(e,n||[])).next())}))},Ie=function(e,n){var t,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){return function(l){if(t)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(o=0)),o;)try{if(t=1,r&&(a=2&l[0]?r.return:l[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;switch(r=0,a&&(l=[2&l[0],a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}
1if(6===l[0]&&o.label<a[1]){o.label=a[1],a=l;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=n.call(e,o)}catch(e){l=[6,e],r=0}finally{t=a=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}};function Te(e){var n=this,t=e.action,o=(0,a.useState)(!1),i=o[0],l=o[1];if(!(null==t?void 0:t.label))return null;if(void 0!==t.onClick){var s=t.onClick;return(0,r.jsx)("button",{className:"shell-top-banner-action",onClick:function(e){e.preventDefault();try{s.filter((function(e){return"string"==typeof e})).forEach((function(e){new Function(e)()}))}catch(e){}},type:"button",children:t.label})}if(!t.href)return null;var c=t.href;if("post"===t.method){return(0,r.jsxs)("button",{className:"shell-top-banner-action",disabled:i,onClick:function(e){return Ce(n,void 0,void 0,(function(){return Ie(this,(function(n){if(e.preventDefault(),i)return[2];l(!0);try{(0,xe.j)(c,t.payload||{})}catch(e){l(!1)}return[2]}))}))},style:{opacity:i?.7:void 0,cursor:i?"default":void 0,display:"inline-flex",alignItems:"center",gap:"6px"},type:"button",children:[i&&(0,r.jsx)("svg",{"aria-hidden":"true",height:"12",style:{animation:"shell-banner-spin 0.75s linear infinite",flexShrink:0},viewBox:"0 0 24 24",width:"12",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("circle",{cx:"12",cy:"12",fill:"none",r:"10",stroke:"currentColor",strokeDasharray:"31.4",strokeDashoffset:"10",strokeWidth:"3"})}),t.label]})}return(0,r.jsx)("a",{className:"shell-top-banner-action",href:c,rel:"_blank"===t.target?"noreferrer":void 0,target:t.target,children:t.label})}function Oe(e){var n=e.banners.filter((function(e){return"trial"===e.kind?Boolean((e.messageHtml||"").trim()||(e.title||"").trim()||(e.description||"").trim()||(e.statusLabel||"").trim()):Boolean((e.messageHtml||"").trim())}));return n.length?(0,r.jsx)("div",{className:"shell-top-banners",id:"shellTopBanner",children:n.map((function(e){return"trial"===e.kind?(0,r.jsx)("div",{className:"shell-top-banner shell-top-banner-trial shell-top-banner-".concat(e.tone),role:"status",children:(0,r.jsxs)("div",{className:"shell-top-banner-trial-copy",children:[(0,r.jsxs)("div",{className:"shell-top-banner-trial-main",children:[e.badgeLabel?(0,r.jsx)("span",{className:"shell-top-banner-trial-badge",children:e.badgeLabel}):null,(0,r.jsxs)("div",{className:"shell-top-banner-trial-text",children:[e.messageHtml?(0,r.jsx)("div",{className:"shell-top-banner-trial-message",dangerouslySetInnerHTML:{__html:e.messageHtml}}):null,e.title?(0,r.jsx)("div",{className:"shell-top-banner-trial-title",children:e.title}):null,e.description?(0,r.jsx)("div",{className:"shell-top-banner-trial-description",children:e.description}):null]})]}),(e.statusLabel||e.action)&&(0,r.jsxs)("div",{className:"shell-top-banner-trial-actions",children:[e.statusLabel?(0,r.jsx)("span",{className:"shell-top-banner-trial-status",children:e.statusLabel}):null,(0,r.jsx)(Te,{action:e.action})]})]})},e.id):(0,r.jsx)("div",{className:"shell-top-banner shell-top-banner-inline shell-top-banner-".concat(e.tone),role:"status",children:(0,r.jsxs)("div",{className:"shell-top-banner-inline-copy",children:[(0,r.jsx)("div",{className:"shell-top-banner-message",dangerouslySetInnerHTML:{__html:e.messageHtml}}),(0,r.jsx)(Te,{action:e.action})]})},e.id)}))}):null}var Re=t(64223),ke=t(63809),Pe=t(36206),Ne=t(32417),De=t(81971),Be=t(7098),Ue=t(8920),ze=t(10701),Me=t(48356),He=t(10698),We=t(61322),Ge=t(54307),Ye=t(4643),Fe=t(56673),Ve=t(80345);function Je(){var e=(0,Me.P)(),n=e.shellSurfaceBg,t=e.cardSkeleton,a=e.surfaceBorder,o=(0,s.zy)(),i=(0,s.ok)()[0].get("tab")||"dashboard_settings",l=o.pathname===oe.b.AGENCY_PROFILE,c=o.pathname===oe.b.AGENCY_SAAS_CONFIGURATOR||o.pathname===oe.b.AGENCY_PACKAGE_CREATE||Boolean((0,s.B6)(oe.b.AGENCY_PACKAGE_UPDATE,o.pathname))?"stripe_configuration":i,d={dashboard_settings:164,custom_domain:132,custom_styling:138,stripe_integration:148,stripe_configuration:156,white_label_docs:148};return(0,r.jsxs)(f.A,{sx:{bgcolor:n},children:[(0,r.jsx)(Me.G,{}),(0,r.jsx)(He.A,{children:(0,r.jsxs)(Ne.A,{spacing:2.5,sx:{pt:0},children:[(0,r.jsxs)(f.A,{sx:{display:"flex",flexWrap:"wrap",gap:0,overflow:"hidden",borderBottom:"1px solid ".concat(a)},children:[["dashboard_settings","custom_domain","custom_styling","stripe_integration","stripe_configuration"].map((function(e){return(0,r.jsx)(f.A,{sx:{px:2,py:1.25,borderBottom:e===c?2:0,borderColor:e===c?"primary.main":"transparent"},children:(0,r.jsx)(De.A,{variant:"text",height:24,width:d[e],sx:{bgcolor:t}})},e)})),(0,r.jsx)(f.A,{sx:{px:2,py:1.25},children:(0,r.jsx)(De.A,{variant:"rounded",height:24,sx:{bgcolor:t,width:d.white_label_docs,borderRadius:1}})})]}),l?"dashboard_settings"===i?(0,r.jsx)(We.A,{}):"custom_domain"===i?(0,r.jsx)(Ge.A,{}):"custom_styling"===i?(0,r.jsx)(Ye.A,{}):"stripe_integration"===i?(0,r.jsx)(Fe.A,{}):"notifications"===i?(0,r.jsx)(Ve.A,{}):(0,r.jsx)(De.A,{variant:"rounded",height:520,sx:{bgcolor:t}}):(0,r.jsx)(De.A,{variant:"rounded",height:520,sx:{bgcolor:t}})]})})]})}var Ke=t(32114),Xe=t(61834),qe=t(41355),Ze=t(11163),$e=t(16062),Qe=t(15790),en=t(80830),nn=t(78166),tn=t(35623);function rn(){var e=(0,Me.P)(),n=e.shellSurfaceBg,t=e.cardSkeleton;return(0,r.jsxs)(f.A,{sx:{bgcolor:n},children:[(0,r.jsx)(Me.G,{compact:!0}),(0,r.jsx)(He.A,{children:(0,r.jsxs)(f.A,{sx:{pt:2.5,display:"grid",gap:2.25},children:[(0,r.jsxs)(f.A,{sx:{display:"grid",gridTemplateColumns:{xs:"1fr",md:"repeat(2, minmax(0, 1fr))"},gap:2,alignItems:"start"},children:[(0,r.jsxs)(f.A,{sx:{order:{xs:2,md:1}},children:[(0,r.jsx)(De.A,{variant:"text",width:92,height:30,sx:{mb:1,bgcolor:t}}),(0,r.jsxs)(Ne.A,{direction:"row",spacing:1,useFlexGap:!0,flexWrap:"wrap",children:[(0,r.jsx)(De.A,{variant:"rounded",width:136,height:44,sx:{borderRadius:2,bgcolor:t}}),(0,r.jsx)(De.A,{variant:"rounded",width:124,height:44,sx:{borderRadius:2,bgcolor:t}}),(0,r.jsx)(De.A,{variant:"rounded",width:148,height:44,sx:{borderRadius:2,bgcolor:t}})]})]}),(0,r.jsxs)(Ne.A,{direction:"row",spacing:1,useFlexGap:!0,flexWrap:"wrap",sx:{order:{xs:1,md:2},justifyContent:{xs:"flex-start",md:"flex-end"},alignItems:"center",pt:{xs:0,md:3.25}},children:[(0,r.jsx)(De.A,{variant:"rounded",width:220,height:35,sx:{borderRadius:2,bgcolor:t}}),(0,r.jsx)(De.A,{variant:"rounded",width:40,height:35,sx:{borderRadius:2,bgcolor:t}}),(0,r.jsx)(De.A,{variant:"rounded",width:40,height:40,sx:{borderRadius:1.5,bgcolor:t}}),(0,r.jsx)(De.A,{variant:"rounded",width:168,height:40,sx:{borderRadius:1.5,bgcolor:t}})]})]}),(0,r.jsx)(nn.fPr,{container:!0,spacing:2,children:(0,r.jsx)(tn.A,{})})]})})]})}
1var an=t(14017),on=t(39751),ln=t(26165),sn=t(51007),cn=t(20314),dn=t(17862),un=t(69179),hn=function(){return hn=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var a in n=arguments[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e},hn.apply(this,arguments)},xn=function(e,n,t){if(t||2===arguments.length)for(var r,a=0,o=n.length;a<o;a++)!r&&a in n||(r||(r=Array.prototype.slice.call(n,0,a)),r[a]=n[a]);return e.concat(r||Array.prototype.slice.call(n))},bn=function(e){var n=e.sx,t=void 0===n?{}:n;return(0,r.jsxs)(un.tu9,{sx:hn({p:3,mt:4},t),children:[(0,r.jsxs)(un.azJ,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",mb:1},children:[(0,r.jsx)(un.EAD,{variant:"text",width:200,height:28}),(0,r.jsxs)(un.azJ,{sx:{display:"flex",gap:2,alignItems:"center"},children:[(0,r.jsx)(un.EAD,{variant:"rectangular",width:120,height:36,sx:{borderRadius:1}}),(0,r.jsx)(un.EAD,{variant:"rectangular",width:120,height:36,sx:{borderRadius:1}}),(0,r.jsx)(un.EAD,{variant:"rectangular",width:120,height:36,sx:{borderRadius:1}}),(0,r.jsx)(un.EAD,{variant:"rectangular",width:100,height:36,sx:{borderRadius:1}})]})]}),(0,r.jsx)(un.EAD,{variant:"text",width:"70%",height:20,sx:{mb:3}}),(0,r.jsx)(un.azJ,{sx:{mt:2,display:"grid",gridTemplateColumns:"repeat(5, 1fr)",gap:2},children:xn([],Array(5),!0).map((function(e,n){return(0,r.jsx)(un.EAD,{variant:"rectangular",width:"100%",height:120,sx:{borderRadius:1},animation:"wave"},n)}))})]})},fn=function(){return fn=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var a in n=arguments[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e},fn.apply(this,arguments)},pn=function(e){var n=e.contentHeight,t=void 0===n?200:n,a=e.sx,o=void 0===a?{}:a;return(0,r.jsxs)(un.tu9,{sx:fn({p:3},o),children:[(0,r.jsx)(un.EAD,{variant:"text",width:180,height:28,sx:{mb:1}}),(0,r.jsx)(un.EAD,{variant:"text",width:"70%",height:20,sx:{mb:3}}),(0,r.jsx)(un.azJ,{sx:{mt:2},children:(0,r.jsx)(un.EAD,{variant:"rectangular",width:"100%",height:t,sx:{borderRadius:1},animation:"wave"})})]})};function gn(e){var n=e.showHeader,t=void 0===n||n,a=(0,te.Bd)().t,o=(0,Me.P)().shellSurfaceBg;return(0,r.jsxs)(f.A,{sx:{bgcolor:o,minHeight:"100vh"},children:[t?(0,r.jsx)(cn.A,{heading:a("DISPLAY_STRINGS.DASHBOARD"),icon:(0,r.jsx)(z.A,{width:"24",height:"24"})}):null,(0,r.jsx)(He.A,{children:(0,r.jsxs)(Ne.A,{spacing:0,sx:{pb:3},children:[(0,r.jsx)(f.A,{sx:{mt:0},children:(0,r.jsx)(pn,{})}),(0,r.jsx)(f.A,{sx:{mt:4},children:(0,r.jsx)(bn,{})}),(0,r.jsx)(dn.A,{})]})})]})}var mn=t(38841),vn=t(75163),yn=t(14428),An=t(73349),Sn=t(34467),jn=t(64998),wn=t(79108),En=t(74853),Ln=t(74058),_n=t(98333),Cn=t(47577),In=t(9388),Tn=t(24823),On=t(40046),Rn=t(34502),kn=t(19124),Pn=t(96078),Nn=t(35611),Dn=t(20976),Bn=function(){return Bn=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var a in n=arguments[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e},Bn.apply(this,arguments)},Un=function(e,n,t,r){return new(t||(t=Promise))((function(a,o){function i(e){try{s(r.next(e))}catch(e){o(e)}}function l(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var n;e.done?a(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,l)}s((r=r.apply(e,n||[])).next())}))},zn=function(e,n){var t,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){return function(l){if(t)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(o=0)),o;)try{if(t=1,r&&(a=2&l[0]?r.return:l[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;switch(r=0,a&&(l=[2&l[0],a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}
1if(6===l[0]&&o.label<a[1]){o.label=a[1],a=l;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=n.call(e,o)}catch(e){l=[6,e],r=0}finally{t=a=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}},Mn=function(e){var n,t,o,i=e.subaccount,l=e.currencyLabel,s=e.setSubaccountToDelete,c=e.setSelectedSubaccount,h=e.setIsSubaccountDrawerOpen,x=e.handleResendEmail,b=(0,te.Bd)().t,p=(0,d.A)(),g=(0,a.useState)(null),m=g[0],S=g[1],j=(0,a.useState)(!1),w=j[0],E=j[1],L=(0,a.useState)(!1),_=L[0],C=L[1],I=Boolean(m),T=function(){S(null)},O=(null===(n=i.subscriptionInfo)||void 0===n?void 0:n.billingCycle)?i.subscriptionInfo.billingCycle.charAt(0).toUpperCase()+i.subscriptionInfo.billingCycle.slice(1):"",P=(0,Rn.qY)(i.billingStatus),N=null!==(o=null!==(t=i.totalChatbots)&&void 0!==t?t:i.allocatedChatbots)&&void 0!==o?o:0,D=[{label:b("DISPLAY_STRINGS.BALANCE"),value:"".concat(l).concat((0,kn.IY)(i.currentWalletBalance||0)),progress:(i.currentWalletBalance||0)>0?100:0,icon:(0,r.jsx)(_n.A,{sx:{fontSize:16}})},{label:b("DISPLAY_STRINGS.VOICE_AGENTS"),value:"".concat((0,kn.IY)(i.usedVoiceAgents||0),"/").concat((0,kn.IY)(i.allocatedVoiceAgents||0)),progress:(i.allocatedVoiceAgents||0)>0?(i.usedVoiceAgents||0)/(i.allocatedVoiceAgents||1)*100:0,icon:(0,r.jsx)(Cn.A,{sx:{fontSize:16}})},{label:b("DISPLAY_STRINGS.CHAT_AGENTS"),value:"".concat((0,kn.IY)(i.usedChatbots||0),"/").concat((0,kn.IY)(N)),progress:N>0?(i.usedChatbots||0)/N*100:0,icon:(0,r.jsx)(G.A,{sx:{fontSize:16}})},{label:b("DISPLAY_STRINGS.STORAGE"),value:"".concat((0,kn.IY)(i.usedCharacterCount||0),"/").concat((0,kn.IY)(i.characterCount||0)),progress:(i.characterCount||0)>0?(i.usedCharacterCount||0)/(i.characterCount||1)*100:0,icon:(0,r.jsx)(In.A,{sx:{fontSize:16}})},{label:"Concurrent Calls",value:"".concat((0,kn.IY)(i.allocatedConcurrentCalls||0)),progress:(i.allocatedConcurrentCalls||0)>0?100:0,icon:(0,r.jsx)($.A,{sx:{fontSize:16}})},{label:"Voice KB Slots",value:"".concat((0,kn.IY)(i.allocatedVoiceKb||0)),progress:(i.allocatedVoiceKb||0)>0?100:0,icon:(0,r.jsx)(On.A,{sx:{fontSize:16}})}];return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(ke.A,{elevation:0,sx:{borderRadius:3,border:"1px solid ".concat(p.palette.divider),overflow:"hidden",transition:"all 0.2s ease","&:hover":{borderColor:p.palette.primary.light,boxShadow:"0 8px 24px ".concat(p.palette.action.hover)}},children:[(0,r.jsxs)(f.A,{sx:{px:2,py:1.5,display:"flex",alignItems:"center",gap:1.5,background:"linear-gradient(90deg, ".concat(p.palette.action.hover,", ").concat(p.palette.background.paper,")")},children:[(0,r.jsx)(k.A,{sx:Bn(Bn({width:40,height:40,bgcolor:p.palette.primary.light,color:p.palette.primary.main},p.typography.subtitle2),{fontWeight:700,flexShrink:0}),children:(0,Rn.IM)(i.name)}),(0,r.jsxs)(f.A,{sx:{flex:1,minWidth:0},children:[(0,r.jsx)(v.A,{variant:"subtitle2",fontWeight:600,noWrap:!0,children:i.name}),(0,r.jsx)(v.A,{variant:"subtitle2",fontSize:12,fontWeight:400,color:"text.secondary",noWrap:!0,children:i.email}),(0,r.jsxs)(f.A,{sx:{display:"flex",gap:.75,mt:1,flexWrap:"wrap"},children:[(0,r.jsx)(y.A,{label:i.billingStatus,size:"small",variant:"outlined",sx:{height:20,bgcolor:"transparent",color:P,borderColor:P,"& .MuiChip-label":Bn(Bn({},p.typography.caption),{fontWeight:600,fontSize:"0.68rem"})}}),!i.isEmailVerified&&(0,r.jsx)(y.A,{label:b("DISPLAY_STRINGS.UNVERIFIED"),color:"warning",size:"small",variant:"outlined",sx:{height:20,"& .MuiChip-label":Bn(Bn({},p.typography.caption),{fontWeight:600,fontSize:"0.68rem"})}})]})]}),(0,r.jsxs)(f.A,{sx:{display:"flex",alignItems:"center",gap:.5,flexShrink:0},children:[(0,r.jsx)(u.A,{title:b("DISPLAY_STRINGS.SWITCH_TO_SUBACCOUNT"),placement:"top",arrow:!0,children:(0,r.jsx)(A.A,{size:"small",disabled:_,sx:{width:30,height:30},onClick:function(){return Un(void 0,void 0,void 0,(function(){return zn(this,(function(e){switch(e.label){case 0:C(!0),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,(0,Pn.Ft)(i.userId)];case 2:return e.sent(),[3,4];case 3:return e.sent(),C(!1),[3,4];case 4:return[2]}}
1))}))},children:_?(0,r.jsx)(R.A,{size:16,color:"inherit"}):(0,r.jsx)(Sn.A,{fontSize:"small"})})}),(0,r.jsx)(u.A,{title:b("DISPLAY_STRINGS.EDIT_SUBACCOUNT"),placement:"top",arrow:!0,children:(0,r.jsx)(A.A,{size:"small",sx:{width:30,height:30},onClick:function(){c(i),h(!0)},children:(0,r.jsx)(jn.A,{fontSize:"small"})})}),(0,r.jsx)(u.A,{title:b("DISPLAY_STRINGS.MORE_OPTIONS"),placement:"top",arrow:!0,children:(0,r.jsx)(A.A,{size:"small",sx:{width:30,height:30},onClick:function(e){S(e.currentTarget)},children:(0,r.jsx)(wn.A,{fontSize:"small"})})})]})]}),i.isEmailVerified?(0,r.jsxs)(f.A,{sx:{display:"flex",alignItems:"center",gap:1,px:2,py:1.2,borderTop:"1px solid ".concat(p.palette.divider)},children:[(0,r.jsx)(En.A,{sx:{fontSize:14,color:"text.secondary"}}),(0,r.jsx)(v.A,{variant:"body2",color:"text.secondary",noWrap:!0,children:function(){var e;if(((null===(e=i.billingStatus)||void 0===e?void 0:e.toLowerCase().includes("trial"))||!1)&&i.freeTrialEndDate){var n=new Date(i.freeTrialEndDate);if(!Number.isNaN(n.getTime()))return"".concat(b("DISPLAY_STRINGS.TRIAL_ENDS","Trial ends")," ").concat(n.toLocaleDateString(void 0,{month:"short",day:"numeric"}))}return O?"".concat(b("DISPLAY_STRINGS.RENEWS","Renews")," ").concat(O):b("DISPLAY_STRINGS.BILLING_DETAILS_UNAVAILABLE","Billing details unavailable")}()})]}):(0,r.jsxs)(f.A,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",px:2,py:1,borderTop:"1px solid ".concat(p.palette.warning.light),backgroundColor:p.palette.warning.light+"22"},children:[(0,r.jsxs)(f.A,{sx:{display:"flex",alignItems:"center",gap:.8},children:[(0,r.jsx)(Tn.A,{sx:{fontSize:14,color:"warning.main"}}),(0,r.jsx)(v.A,{variant:"body2",color:"warning.main",fontWeight:500,children:b("DISPLAY_STRINGS.EMAIL_NOT_VERIFIED")})]}),(0,r.jsx)(u.A,{title:b("DISPLAY_STRINGS.RESEND"),placement:"top",arrow:!0,children:(0,r.jsxs)(A.A,{size:"small",sx:{height:26,px:1,borderRadius:1,color:"warning.main","&:hover":{backgroundColor:p.palette.warning.light+"33"}},onClick:function(){return x(i.email)},children:[(0,r.jsx)(Ln.A,{sx:{fontSize:13,mr:.4}}),(0,r.jsx)(v.A,{component:"span",variant:"body2",fontWeight:500,sx:{lineHeight:1},children:b("DISPLAY_STRINGS.RESEND")})]})})]})]}),(0,r.jsx)(Dn.A,{open:w,onClose:function(){return E(!1)},title:"Usage - ".concat(i.name),rows:D}),(0,r.jsx)(Nn.A,{subaccount:i,anchorEl:m,open:I,onClose:T,setSubaccountToDelete:s,onViewUsage:function(){T(),E(!0)}})]})};function Hn(){var e=(0,Me.P)(),n=e.theme,t=e.raisedSurface,a=e.tintedSurface,o=e.surfaceBorder,i=e.cardSkeleton;return(0,r.jsxs)(ke.A,{elevation:0,sx:{borderRadius:3,border:"1px solid ".concat(o),overflow:"hidden",minHeight:138,bgcolor:t},children:[(0,r.jsxs)(f.A,{sx:{px:2,py:1.5,display:"flex",alignItems:"flex-start",gap:1.5,background:"linear-gradient(90deg, ".concat((0,Be.X4)(n.palette.primary.main,"dark"===n.palette.mode?.16:.06),", ").concat((0,Be.X4)(n.palette.background.paper,"dark"===n.palette.mode?.92:.9),")")},children:[(0,r.jsx)(De.A,{variant:"circular",width:40,height:40,sx:{bgcolor:i,flexShrink:0}}),(0,r.jsxs)(f.A,{sx:{flex:1,minWidth:0},children:[(0,r.jsx)(De.A,{variant:"text",width:"52%",height:24,sx:{bgcolor:i}}),(0,r.jsx)(De.A,{variant:"text",width:"72%",height:18,sx:{bgcolor:i}}),(0,r.jsxs)(f.A,{sx:{display:"flex",gap:.75,mt:1,flexWrap:"wrap"},children:[(0,r.jsx)(De.A,{variant:"rounded",width:78,height:20,sx:{bgcolor:i,borderRadius:999}}),(0,r.jsx)(De.A,{variant:"rounded",width:88,height:20,sx:{bgcolor:i,borderRadius:999}})]})]}),(0,r.jsx)(f.A,{sx:{display:"flex",alignItems:"center",gap:.5,flexShrink:0},children:Array.from({length:3}).map((function(e,n){return(0,r.jsx)(De.A,{variant:"circular",width:30,height:30,sx:{bgcolor:i}},n)}))})]}),(0,r.jsx)(Pe.A,{sx:{p:0},children:(0,r.jsxs)(f.A,{sx:{display:"flex",alignItems:"center",gap:1,px:2,py:1.2,borderTop:"1px solid ".concat(o),borderRadius:2,bgcolor:a},children:[(0,r.jsx)(De.A,{variant:"circular",width:14,height:14,sx:{bgcolor:i}}),(0,r.jsx)(De.A,{variant:"text",width:"42%",height:18,sx:{bgcolor:i}})]})})]})}var Wn=function(e){var n=e.subaccount,t=e.previewMode,a=e.currencyLabel,o=e.setSubaccountToDelete,i=e.setSelectedSubaccount,l=e.setIsSubaccountDrawerOpen,s=function(e){(0,Pn.WE)(e).then((function(e){(0,kn.vd)(e.message)})).catch((function(e){var n;(0,kn.oh)(null===(n=e.response)||void 0===n?void 0:n.data)}))};return(0,r.jsx)(yn.A,{component:"div",size:"list"===t?12:{xs:12,md:6,lg:4},children:"grid"===t?(0,r.jsx)(Mn,{subaccount:n,currencyLabel:a,setSelectedSubaccount:i,setIsSubaccountDrawerOpen:l,setSubaccountToDelete:o,handleResendEmail:s}):(0,r.jsx)(Rn.Ay,{subaccount:n,currencyLabel:a,setSelectedSubaccount:i,setIsSubaccountDrawerOpen:l,setSubaccountToDelete:o,handleResendEmail:s})})};var Gn=function(e){var n=e.isLoading,t=e.subaccounts,o=e.currencyLabel,i=e.previewMode,l=e.setSelectedSubaccount,s=e.setIsSubaccountDrawerOpen,c=e.setSubaccountToDelete,d=(0,te.Bd)().t,u="grid"===i?2:1;return n?(0,r.jsx)(yn.A,{container:!0,spacing:u,width:"100%",children:Array.from({length:9}).map((function(e,n){return(0,r.jsx)(yn.A,{size:{xs:12,md:6,lg:4},children:(0,r.jsx)(Hn,{})},n)}))}):0!==t.length||n?(0,r.jsx)(yn.A,{container:!0,spacing:u,width:"100%",children:t.map((function(e){return(0,r.jsx)(a.Fragment,{children:(0,r.jsx)(Wn,{subaccount:e,previewMode:i,currencyLabel:o,setSelectedSubaccount:l,setIsSubaccountDrawerOpen:s,setSubaccountToDelete:c})},e.id)}))}):(0,r.jsx)(yn.A,{container:!0,spacing:u,width:"100%",children:(0,r.jsx)(An.A,{severity:"info",sx:{width:"100%"},children:d("DISPLAY_STRINGS.NO_SUBACCOUNTS_FOUND")})})};function Yn(){var e=(0,Me.P)(),n=e.shellSurfaceBg,t=e.cardSkeleton;return(0,r.jsxs)(f.A,{sx:{bgcolor:n,minHeight:"100vh"},children:[(0,r.jsx)(Me.G,{}),(0,r.jsx)(He.A,{children:(0,r.jsxs)(Ne.A,{spacing:2.5,sx:{pt:2.5},children:[(0,r.jsxs)(f.A,{sx:{display:"flex",justifyContent:"space-between",alignItems:{xs:"stretch",md:"center"},gap:2,flexWrap:"wrap"},children:[(0,r.jsxs)(f.A,{sx:{display:"flex",alignItems:"center",gap:1,flexWrap:"wrap",flex:1},children:[(0,r.jsx)(De.A,{variant:"rounded",height:40,sx:{bgcolor:t,width:{xs:"100%",sm:260}}}),(0,r.jsx)(De.A,{variant:"rounded",height:40,sx:{bgcolor:t,width:44,flexShrink:0}})]}),(0,r.jsxs)(f.A,{sx:{display:"flex",alignItems:"center",gap:1.5,flexWrap:"wrap"},children:[(0,r.jsx)(De.A,{variant:"rounded",height:40,sx:{bgcolor:t,width:92,flexShrink:0}}),(0,r.jsx)(De.A,{variant:"rounded",height:40,sx:{bgcolor:t,width:146,flexShrink:0}})]})]}),(0,r.jsx)(Gn,{isLoading:!0,subaccounts:[],currencyLabel:"$",previewMode:"grid",setSelectedSubaccount:function(){},setIsSubaccountDrawerOpen:function(){},setSubaccountToDelete:function(){}})]})})]})}var Fn=t(13404);function Vn(){var e=(0,Me.P)(),n=e.shellSurfaceBg,t=e.cardSkeleton,a=e.surfaceBorder,o=e.surfaceShadow;return(0,r.jsx)(f.A,{sx:{bgcolor:n,minHeight:"100vh"},children:(0,r.jsx)(He.A,{children:(0,r.jsx)(f.A,{sx:{px:{xs:2,md:4},py:4},children:(0,r.jsx)(f.A,{sx:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"80vh"},children:(0,r.jsx)(ke.A,{elevation:0,sx:{width:"100%",maxWidth:560,borderRadius:3,border:"1px solid ".concat(a),boxSh
1adow:o},children:(0,r.jsx)(Pe.A,{sx:{p:{xs:3,md:4}},children:(0,r.jsxs)(Ne.A,{spacing:2,sx:{alignItems:"center"},children:[(0,r.jsx)(De.A,{variant:"circular",width:56,height:56,sx:{bgcolor:t}}),(0,r.jsx)(De.A,{variant:"text",width:"42%",height:40,sx:{bgcolor:t}}),(0,r.jsx)(De.A,{variant:"text",width:"58%",height:30,sx:{bgcolor:t}}),(0,r.jsx)(De.A,{variant:"text",width:"86%",height:22,sx:{bgcolor:t}}),(0,r.jsx)(De.A,{variant:"text",width:"72%",height:22,sx:{bgcolor:t}}),(0,r.jsx)(De.A,{variant:"rounded",width:184,height:46,sx:{bgcolor:t,mt:1}}),(0,r.jsx)(f.A,{sx:{width:"100%",pt:2},children:(0,r.jsx)(Ne.A,{spacing:1.5,children:Array.from({length:3}).map((function(e,n){return(0,r.jsx)(De.A,{variant:"rounded",height:34,sx:{bgcolor:t}},n)}))})})]})})})})})})})}function Jn(){var e=(0,Me.P)(),n=e.shellSurfaceBg,t=e.cardSkeleton,a=e.raisedSurface,o=e.surfaceBorder;e.tintedSurface;return(0,r.jsxs)(f.A,{sx:{bgcolor:n},children:[(0,r.jsx)(Me.G,{}),(0,r.jsx)(He.A,{children:(0,r.jsxs)(Ne.A,{spacing:0,sx:{pt:2.5},children:[(0,r.jsx)(De.A,{variant:"text",width:140,height:28,sx:{bgcolor:t,mb:1.5}}),(0,r.jsx)(f.A,{sx:{display:"flex",borderBottom:function(e){return"1px solid ".concat(o||e.palette.divider)},mb:3},children:[72,84,76].map((function(e,n){return(0,r.jsxs)(f.A,{sx:{px:2,py:1.25,display:"flex",alignItems:"center",gap:.75,borderBottom:0===n?"2px solid":"2px solid transparent",borderColor:0===n?"primary.main":"transparent",mb:"-1px"},children:[(0,r.jsx)(De.A,{variant:"circular",width:16,height:16,sx:{bgcolor:t}}),(0,r.jsx)(De.A,{variant:"text",width:e,height:18,sx:{bgcolor:t}})]},n)}))}),(0,r.jsx)(f.A,{sx:{borderRadius:3,border:function(e){return"1px solid ".concat(o||e.palette.divider)},bgcolor:a,overflow:"hidden",minHeight:"calc(var(--shell-sidebar-height) - 220px)",display:"flex"},children:(0,r.jsx)(f.A,{sx:{flex:1,p:3},children:(0,r.jsxs)(Ne.A,{spacing:2.5,children:[(0,r.jsxs)(f.A,{children:[(0,r.jsx)(De.A,{variant:"text",width:180,height:28,sx:{bgcolor:t}}),(0,r.jsx)(De.A,{variant:"text",width:320,height:20,sx:{bgcolor:t,maxWidth:"80%"}})]}),(0,r.jsxs)(Ne.A,{spacing:2,children:[(0,r.jsx)(De.A,{variant:"rounded",height:56,sx:{bgcolor:t}}),(0,r.jsx)(De.A,{variant:"rounded",height:56,sx:{bgcolor:t}}),(0,r.jsx)(De.A,{variant:"rounded",height:120,sx:{bgcolor:t}}),(0,r.jsx)(De.A,{variant:"rounded",height:56,sx:{bgcolor:t}})]})]})})})]})})]})}function Kn(e){var n=(void 0===e?{}:e).showHeader,t=void 0===n||n,a=(0,Me.P)(),o=a.shellSurfaceBg,i=a.cardSkeleton,l=a.raisedSurface,s=a.surfaceBorder,c=a.surfaceShadow,d=a.tintedSurface,u=a.subtleSurface,h={md:"minmax(180px, 1.4fr) minmax(170px, 1.2fr) minmax(130px, 1fr) minmax(100px, 0.8fr) minmax(72px, 0.5fr) 88px"};return(0,r.jsxs)(f.A,{sx:{bgcolor:o},children:[t?(0,r.jsx)(Me.G,{}):null,(0,r.jsx)(He.A,{children:(0,r.jsxs)(Ne.A,{spacing:2.5,sx:{pt:2.5},children:[(0,r.jsx)(f.A,{sx:{display:"flex",borderBottom:function(e){return"1px solid ".concat(s||e.palette.divider)},gap:0},children:[92,112,126,118].map((function(e,n){return(0,r.jsxs)(f.A,{sx:{px:2,py:1.25,display:"flex",alignItems:"center",gap:.75,borderBottom:0===n?"2px solid":"2px solid transparent",borderColor:0===n?"primary.main":"transparent",mb:"-1px"},children:[(0,r.jsx)(De.A,{variant:"circular",width:16,height:16,sx:{bgcolor:i}}),(0,r.jsx)(De.A,{variant:"text",width:e,height:18,sx:{bgcolor:i}})]},n)}))}),(0,r.jsx)(f.A,{sx:{borderRadius:3,border:function(e){return"1px solid ".concat(s||e.palette.divider)},bgcolor:l,boxShadow:c,overflow:"hidden"},children:(0,r.jsxs)(Ne.A,{spacing:3,sx:{p:{xs:2,md:3}},children:[(0,r.jsxs)(f.A,{sx:{display:"flex",justifyContent:"space-between",alignItems:{xs:"flex-start",md:"center"},gap:2,flexWrap:"wrap"},children:[(0,r.jsxs)(f.A,{sx:{minWidth:0},children:[(0,r.jsx)(De.A,{variant:"text",width:156,height:32,sx:{bgcolor:i}}),(0,r.jsx)(De.A,{variant:"text",width:320,height:20,sx:{bgcolor:i,maxWidth:"100%"}})]}),(0,r.jsx)(De.A,{variant:"rounded",width:124,height:36,sx:{bgcolor:d,borderRadius:2}})]}),(0,r.jsxs)(f.A,{sx:{display:{xs:"none",md:"block"}},children:[(0,r.jsx)(f.A,{sx:{display:"grid",gridTemplateColumns:h,gap:2,alignItems:"center",px:2,pb:1.25,borderBottom:function(e){return"1px solid ".concat(s||e.palette.divider)}},children:[72,106,92,64,28,48].map((function(e,n){return(0,r.jsx)(De.A,{variant:"text",width:e,height:18,sx:{bgcolor:i}},n)}))}),(0,r.jsx)(Ne.A,{divider:void 0,spacing:0,children:Array.from({length:5}).map((function(e,n){return(0,r.jsxs)(f.A,{sx:{display:"grid",gridTemplateColumns:h,gap:2,alignItems:"center",px:2,py:1.75,borderBottom:4===n?"none":function(e){return"1px solid ".concat(s||e.palette.divider)}},children:[(0,r.jsx)(De.A,{variant:"text",width:"".concat(78-5*n,"%"),height:20,sx:{bgcolor:i,maxWidth:160}}),(0,r.jsx)(De.A,{variant:"rounded",width:"100%",height:38,sx:{bgcolor:i,maxWidth:220}}),(0,r.jsx)(De.A,{variant:"text",width:"".concat(70-4*n,"%"),height:20,sx:{bgcolor:i,maxWidth:120}}),(0,r.jsx)(De.A,{variant:"rounded",width:76,height:24,sx:{bgcolor:d,borderRadius:999}}
1),(0,r.jsx)(De.A,{variant:"rounded",width:34,height:20,sx:{bgcolor:i,borderRadius:999}}),(0,r.jsxs)(f.A,{sx:{display:"flex",justifyContent:"flex-end",gap:1},children:[(0,r.jsx)(De.A,{variant:"circular",width:26,height:26,sx:{bgcolor:i}}),(0,r.jsx)(De.A,{variant:"circular",width:26,height:26,sx:{bgcolor:i}})]})]},n)}))})]}),(0,r.jsx)(Ne.A,{spacing:1.5,sx:{display:{xs:"flex",md:"none"}},children:Array.from({length:4}).map((function(e,n){return(0,r.jsxs)(f.A,{sx:{borderRadius:2.5,border:function(e){return"1px solid ".concat(s||e.palette.divider)},bgcolor:u,p:1.5},children:[(0,r.jsx)(De.A,{variant:"text",width:"46%",height:22,sx:{bgcolor:i}}),(0,r.jsx)(De.A,{variant:"rounded",width:"100%",height:36,sx:{bgcolor:i,mt:.5}}),(0,r.jsxs)(f.A,{sx:{display:"flex",justifyContent:"space-between",mt:1.5,gap:1.5},children:[(0,r.jsx)(De.A,{variant:"text",width:"34%",height:18,sx:{bgcolor:i}}),(0,r.jsx)(De.A,{variant:"rounded",width:70,height:24,sx:{bgcolor:d,borderRadius:999}})]})]},n)}))})]})})]})})]})}var Xn=t(74305);function qn(){var e=(0,Me.P)(),n=(e.theme,e.authPageBg);return(0,r.jsx)(f.A,{sx:{minHeight:"100vh",display:"flex",alignItems:"center",justifyContent:"center",px:2,py:6,background:n},children:(0,r.jsx)(ke.A,{elevation:0,sx:{width:"100%",maxWidth:520,borderRadius:3,border:"1px solid transparent"},children:(0,r.jsx)(Pe.A,{sx:{p:{xs:3,md:4}},children:(0,r.jsxs)(Ne.A,{spacing:2.5,sx:{margin:"0px auto",maxWidth:"1440px"},children:[(0,r.jsxs)(f.A,{children:[(0,r.jsx)(De.A,{variant:"text",width:"48%",height:44}),(0,r.jsx)(De.A,{variant:"text",width:"72%",height:26})]}),(0,r.jsx)(De.A,{variant:"rounded",height:52}),(0,r.jsx)(De.A,{variant:"rounded",height:52}),(0,r.jsx)(De.A,{variant:"rounded",height:52}),(0,r.jsx)(De.A,{variant:"rounded",height:46})]})})})})}function Zn(){return(0,r.jsx)(on.A,{})}function $n(){var e=(0,Me.P)(),n=e.shellSurfaceBg,t=e.cardSkeleton;return(0,r.jsxs)(f.A,{sx:{bgcolor:n},children:[(0,r.jsx)(Me.G,{}),(0,r.jsxs)(Ne.A,{spacing:2.5,sx:{pt:2.5,px:2,margin:"0px auto",maxWidth:"1440px"},children:[(0,r.jsx)(f.A,{sx:{display:"grid",gridTemplateColumns:{xs:"1fr",md:"repeat(3, minmax(0, 1fr))"},gap:2},children:Array.from({length:3}).map((function(e,n){return(0,r.jsx)(De.A,{variant:"rounded",height:112,sx:{bgcolor:t}},n)}))}),(0,r.jsx)(De.A,{variant:"rounded",height:380,sx:{bgcolor:t}})]})]})}function Qn(){var e=(0,Me.P)(),n=e.theme,t=e.sidebarSkeleton,o=a.useState((function(){return"undefined"!=typeof window&&("true"===window.localStorage.getItem("sb|sidebar-toggle")||document.body.classList.contains("shell-collapsed"))})),i=o[0],l=o[1];a.useEffect((function(){if("undefined"!=typeof window){var e=function(){l("true"===window.localStorage.getItem("sb|sidebar-toggle")||document.body.classList.contains("shell-collapsed"))};return e(),window.addEventListener("storage",e),window.addEventListener("focus",e),function(){window.removeEventListener("storage",e),window.removeEventListener("focus",e)}}}),[]);var s=i?"4rem":"13.5rem",c=["72%","58%","64%","52%","61%","56%","68%","49%"];return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(f.A,{sx:{position:"fixed",top:"var(--shell-sidebar-top, 0px)",left:0,height:"var(--shell-sidebar-height, 100dvh)",width:{md:s},borderRight:function(e){return"1px solid ".concat(e.palette.divider)},bgcolor:"background.paper",px:{md:i?.75:1.5},py:1.25,alignItems:"stretch",flexDirection:"column",gap:0,zIndex:1e3,overflow:"hidden",boxShadow:"14px 0 34px rgba(0,0,0,0.06)",transition:function(e){return e.transitions.create("width",{duration:380,easing:"cubic-bezier(0.22, 1, 0.36, 1)"})},"&::before":{content:'""',position:"absolute",inset:0,background:function(e){return"dark"===e.palette.mode?"linear-gradient(180deg, ".concat((0,Be.X4)(e.palette.background.paper,.98)," 0%, ").concat((0,Be.X4)(e.palette.background.default,.92)," 100%)"):"linear-gradient(180deg, ".concat((0,Be.X4)(e.palette.background.paper,1)," 0%, ").concat((0,Be.X4)(e.palette.background.paper,.96)," 100%)")},pointerEvents:"none"},"& > *":{position:"relative",zIndex:1},display:{xs:"none",md:"flex"}},children:[(0,r.jsxs)(f.A,{sx:{minHeight:64,display:"flex",alignItems:"center",justifyContent:i?"center":"space-between",px:i?0:.25,borderBottom:function(e){return"1px solid ".concat((0,Be.X4)(e.palette.divider,.9))},mb:.25},children:[(0,r.jsxs)(f.A,{sx:{display:"flex",alignItems:"center",gap:1.25,minWidth:0,flex:1},children:[(0,r.jsx)(De.A,{variant:"rounded",width:32,height:32,animation:"wave",sx:{borderRadius:1.5,bgcolor:t}}),!i&&(0,r.jsxs)(f.A,{sx:{minWidth:0,flex:1},children:[(0,r.jsx)(De.A,{variant:"text",width:"72%",height:16,animation:"wave",sx:{bgcolor:t}}),(0,r.jsx)(De.A,{variant:"text",width:"42%",height:14,animation:"wave",sx:{bgcolor:t}})]})]}),!i&&(0,r.jsx)(De.A,{variant:"circular",width:24,height:24,animation:"wave",sx:{bgcolor:t}})]}),i&&(0,r.jsx)(f.A,{sx:{display:"flex",justifyContent:"center",py:1},children:(0,r.jsx)(De.A,{variant:"circular",width:22,height:22,animation:"wave",sx:{bgcolor:t}})}),(0,r.jsxs)(f.A,{sx:{flex:1,overflow:"hidden",py:.75,px:i?0:.5},children:[(0,r.jsx)(Ne.A,{spacing:.55,children:Array.from({length:8}).map((function(e,a){var o=0===a;return(0,r.jsxs)(f.A,{sx:{display:"flex",alignItems:"center",gap:1,minHeight:38,borderRadius:1.25,px:i?0:1,justifyContent:i?"center":"flex-start",bgcolor:!i&&o?(0,Be.X4)(n.palette.primary.main,"dark"===n.palette.mode?.24:.14):"transparent",border:!i&&o?"1px solid ".concat((0,Be.X4)(n.palette.primary.main,"dark"===n.palette.mode?.42:.28)):"1px solid transparent",boxShadow:!i&&o?"0 8px 20px ".concat((0,Be.X4)(n.palette.primary.main,.14)):"none"},children:[(0,r.jsx)(De.A,{variant:"circular",width:18,height:18,animation:"wave",sx:{bgcolor:o?(0,Be.X4)(n.palette.primary.main,"dark"===n.palette.mode?.36:.3):t}}),!i&&(0,r.jsx)(De.A,{variant:"text",width:c[a],height:20,animation:"wave",sx:{bgcolor:o?(0,Be.X4)(n.palette.primary.main,"dark"===n.palette.mode?.34:.24):t}})]},a)}))}),!i&&(0,r.jsxs)(f.A,{sx:{mt:1.25,px:.5,borderTop:function(e){return"1px solid ".concat((0,Be.X4)(e.palette.divider,.9))},pt:.75},children:[(0,r.jsx)(De.A,{variant:"text",width:"65%",height:18,animation:"wave",sx:{bgcolor:t}}),(0,r.jsxs)(f.A,{sx:{mt:.35,ml:1.5,display:"flex",alignItems:"center",gap:.8,minHeight:30},children:[(0,r.jsx)(De.A,{variant:"circular",width:8,height:8,animation:"wave",sx:{bgcolor:t}}),(0,r.jsx)(De.A,{variant:"text",width:"44%",height:16,animation:"wave",sx:{bgcolor:t}})]})]})]}),(0,r.jsxs)(f.A,{sx:{borderTop:function(e){return"1px solid ".concat((0,Be.X4)(e.palette.divider,.9))}},children:[!i&&(0,r.jsxs)(f.A,{sx:{mx:1.5,mt:1.5,mb:1,border:function(e){return"1px solid ".concat((0,Be.X4)(e.palette.divider,.9))},borderRadius:1.5,px:1.5,py:1,display:"flex",alignItems:"center",justifyContent:"space-between"},children:[(0,r.jsxs)(f.A,{sx:{display:"flex",alignItems:"center",gap:.75},children:[(0,r.jsx)(De.A,{variant:"text",width:92,height:18,animation:"wave",sx:{bgcolor:t}}),(0,r.jsx)(De.A,{variant:"circular",width:12,height:12,animation:"wave",sx:{bgcolor:t}})]}),(0,r.jsx)(De.A,{variant:"circular",width:14,height:14,animation:"wave",sx:{bgcolor:t}})]}),(0,r.jsxs)(f.A,{sx:{mx:1.5,mb:1,px:1.5,py:1,display:"flex",alignItems:"center",justifyContent:i?"center":"flex-start",ga
1p:.75},children:[(0,r.jsx)(De.A,{variant:"circular",width:15,height:15,animation:"wave",sx:{bgcolor:t}}),!i&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(De.A,{variant:"text",width:"68%",height:18,animation:"wave",sx:{bgcolor:t,flex:1}}),(0,r.jsx)(De.A,{variant:"circular",width:14,height:14,animation:"wave",sx:{bgcolor:t}})]})]})]})]}),(0,r.jsx)(f.A,{sx:{display:{xs:"block",md:"none"},position:"fixed",right:20,bottom:20,zIndex:1002},children:(0,r.jsx)(De.A,{variant:"circular",width:40,height:40,animation:"wave",sx:{bgcolor:t,boxShadow:function(e){return"0 8px 24px ".concat((0,Be.X4)(e.palette.common.black,"dark"===e.palette.mode?.42:.22))}}})})]})}function et(){var e=(0,Me.P)(),n=e.shellSurfaceBg,t=e.cardSkeleton;return(0,r.jsxs)(f.A,{sx:{bgcolor:n},children:[(0,r.jsx)(Me.G,{compact:!0}),(0,r.jsxs)(Ne.A,{spacing:2.5,sx:{pt:2.5,px:2,margin:"0px auto",maxWidth:"1440px"},children:[(0,r.jsx)(De.A,{variant:"rounded",height:64,sx:{bgcolor:t}}),(0,r.jsx)(De.A,{variant:"rounded",height:420,sx:{bgcolor:t}})]})]})}function nt(){return(0,r.jsx)(en.A,{})}function tt(){return(0,r.jsx)(Je,{})}function rt(){return(0,r.jsx)(Jn,{})}function at(){return(0,r.jsx)(an.CL,{})}function ot(){return(0,r.jsx)(an.ts,{})}function it(){return(0,r.jsx)(an.CL,{})}var lt=[],st="whatsNewLastSeenVersion";var ct=t(85072),dt=t.n(ct),ut=t(97825),ht=t.n(ut),xt=t(77659),bt=t.n(xt),ft=t(55056),pt=t.n(ft),gt=t(10540),mt=t.n(gt),vt=t(41113),yt=t.n(vt),At=t(82973),St={};St.styleTagTransform=yt(),St.setAttributes=pt(),St.insert=bt().bind(null,"head"),St.domAPI=ht(),St.insertStyleElement=mt();dt()(At.A,St),At.A&&At.A.locals&&At.A.locals;var jt=function(){return jt=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var a in n=arguments[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e},jt.apply(this,arguments)};function wt(e){var n=e.children,t=(0,s.zy)(),o=a.useState(!1),i=o[0],l=o[1],d=a.useRef(!1),u=function(){var e,n=null!==(e=lt[0])&&void 0!==e?e:null,t=(0,a.useState)(!1),r=t[0],o=t[1];return(0,a.useEffect)((function(){if(n)try{window.localStorage.getItem(st)!==n.version&&o(!0)}catch(e){}}),[n]),{release:n,isOpen:r,markSeen:function(){if(n)try{window.localStorage.setItem(st,n.version)}catch(e){}o(!1)},dismiss:function(){o(!1)}}}(),h=u.release,x=u.isOpen,b=u.markSeen,f=u.dismiss,p=(0,c.I)({queryKey:["shell-layout-payload"],queryFn:Re.V,staleTime:3e4}).data;a.useLayoutEffect((function(){return document.body.classList.add("shell-layout-v2"),"true"===window.localStorage.getItem("sb|sidebar-toggle")?document.body.classList.add("shell-collapsed"):document.body.classList.remove("shell-collapsed"),function(){document.body.classList.remove("shell-layout-v2")}}),[]),a.useEffect((function(){var e=function(){var e=function(){var e=document.getElementById("shellLayout");if(!e)return 0;var n="shell-fixed-banner";document.querySelectorAll(".".concat(n)).forEach((function(e){e.classList.remove(n),e.style.top=""}));for(var t=[],r=document.body.firstElementChild;r&&r!==e;)r instanceof HTMLElement&&r.classList.contains("alert")&&r.classList.contains("mb-0")&&r.classList.contains("py-1")&&r.classList.contains("text-sm")&&r.classList.contains("rounded-0")&&t.push(r),r=r.nextElementSibling;var a=0;return t.forEach((function(e){e.classList.add(n),e.style.top="".concat(a,"px"),a+=e.getBoundingClientRect().height||0})),document.body.style.setProperty("--shell-banner-stack-height","".concat(a,"px")),a}(),n=document.getElementById("shellTopBanner"),t=n&&n.getBoundingClientRect().height||0,r=Math.max(0,e+t),a=Math.max(0,window.innerHeight-r);document.body.style.setProperty("--shell-header-top","".concat(r,"px")),document.body.style.setProperty("--shell-header-height","0px"),document.body.style.setProperty("--shell-sidebar-top","".concat(r,"px")),document.body.style.setProperty("--shell-sidebar-height","".concat(a,"px"))},n=null,t=function(){null===n&&(n=window.requestAnimationFrame((function(){n=null,e()})))},r=new MutationObserver(t);return r.observe(document.body,{attributes:!0,childList:!0,subtree:!0}),window.addEventListener("resize",t),window.addEventListener("load",t),document.addEventListener("scroll",t,!0),t(),window.setTimeout(t,0),window.setTimeout(t,200),function(){r.disconnect(),null!==n&&window.cancelAnimationFrame(n),window.removeEventListener("resize",t),window.removeEventListener("load",t),document.removeEventListener("scroll",t,!0)}}),[null==p?void 0:p.topBanners]),a.useEffect((function(){if(p){if(!d.current){var e=window.requestAnimationFrame((function(){l(!0),d.current=!0}));return function(){window.cancelAnimationFrame(e)}}l(!0)}else l(!1)}),[p]);var g=p?jt(jt({},p),{currentPath:t.pathname}):null;return(0,r.jsxs)("div",{id:"shellLayout",className:i?"shell-layout-entered":"shell-layout-entering",children:[g?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(Oe,{banners:g.topBanners}),(0,r.jsx)(Le,{payload:g})]}):(0,r.jsx)(Qn,{}),(0,r.jsxs)("div",{id:"shellLayoutContent",children:[n,g&&(0,r.jsx)(_e,{payload:g})]}),h&&(0,r.jsx)(un.AYg,{open:x,onClose:b,onDismiss:f,release:h})]})}var Et=t(42317),Lt=t(13066),_t=t(97340),Ct=t(81170),It=t(52214);function Tt(){return(0,r.jsx)(f.A,{id:"layoutError",sx:{backgroundColor:"#fff",minHeight:"100vh"},children:(0,r.jsx)(f.A,{id:"layoutError_content",children:(0,r.jsx)(f.A,{component:"main",children:(0,r.jsx)(Lt.A,{maxWidth:"xl",sx:{px:3},children:(0,r.jsx)(f.A,{sx:{display:"flex",justifyContent:"center"},children:(0,r.jsxs)(f.A,{sx:{width:{xs:"100%",lg:"50%"},textAlign:"center",mt:6},children:[(0,r.jsx)(f.A,{sx:{alignItems:"center",border:"1px solid #e5e7eb",borderRadius:"999px",color:"#b91c1c",display:"inline-flex",height:88,justifyContent:"center",mb:3,width:88},children:(0,r.jsx)(It.A,{sx:{fontSize:"2rem"}})}),(0,r.jsx)(v.A,{sx:{fontSize:"1.5rem",fontWeight:600,mb:1},children:"Something went wrong"}),(0,r.jsx)(v.A,{sx:{fontSize:"1.05rem",fontWeight:400,mb:2},children:"The server could not complete this request. Please try again."}),(0,r.jsxs)(_t.A,{component:s.N_,sx:{alignItems:"center",display:"inline-flex",gap:.75,textDecoration:"none"},to:"/",underline:"none",children:[(0,r.jsx)(Ct.A,{sx:{fontSize:"1rem"}}),"Return to Dashboard"]})]})})})})})})}var Ot,Rt=(Ot=function(e,n){return Ot=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])},Ot(e,n)},function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}Ot(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}),kt=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.state={hasError:!1},n}return Rt(n,e),n.getDerivedStateFromError=function(){return{hasError:!0}},n.prototype.componentDidCatch=function(e){console.error("Unhandled route render error",e)},n.prototype.componentDidUpdate=function(e){this.state.hasError&&e.children!==this.props.children&&this.setState({hasError:!1})},n.prototype.render=function(){return this.state.hasError?(0,r.jsx)(Tt,{}):this.props.children},n}
1(a.Component),Pt=t(43186),Nt=t(85747);function Dt(){return(0,r.jsx)(f.A,{id:"layoutError",sx:{backgroundColor:"#fff",minHeight:"100vh"},children:(0,r.jsx)(f.A,{id:"layoutError_content",children:(0,r.jsx)(f.A,{component:"main",children:(0,r.jsx)(Lt.A,{maxWidth:"xl",sx:{px:3},children:(0,r.jsx)(f.A,{sx:{display:"flex",justifyContent:"center"},children:(0,r.jsxs)(f.A,{sx:{width:{xs:"100%",lg:"50%"},textAlign:"center",mt:6},children:[(0,r.jsx)(f.A,{sx:{alignItems:"center",border:"1px solid #e5e7eb",borderRadius:"999px",color:"#0f172a",display:"inline-flex",height:88,justifyContent:"center",mb:3,width:88},children:(0,r.jsx)(Nt.A,{sx:{fontSize:"2rem"}})}),(0,r.jsx)(v.A,{sx:{fontSize:"1.5rem",fontWeight:600,mb:1},children:"Access denied"}),(0,r.jsx)(v.A,{sx:{fontSize:"1.05rem",fontWeight:400,mb:2},children:"You do not have permission to access this page."}),(0,r.jsxs)(_t.A,{component:s.N_,sx:{alignItems:"center",display:"inline-flex",gap:.75,textDecoration:"none"},to:"/",underline:"none",children:[(0,r.jsx)(Ct.A,{sx:{fontSize:"1rem"}}),"Return to Dashboard"]})]})})})})})})}var Bt=t(29528);function Ut(e){var n=e.children,t=(0,s.zy)(),o=a.useState(null),i=o[0],l=o[1],c=a.useRef(Date.now()),d="".concat(t.pathname).concat(t.search).concat(t.hash);return a.useEffect((function(){c.current=Date.now(),l(null)}),[d]),a.useEffect((function(){return(0,Bt.kV)((function(e){var n=e.detail,t=(0,Bt.S0)();if(n.routeKey===t&&n.routeKey===d){var r=c.current,a=r+5e3;n.timestamp<r||n.timestamp>a||l(n.status)}}))}),[d]),403===i?(0,r.jsx)(Dt,{}):404===i?(0,r.jsx)(Pt.NotFoundPage,{}):500===i?(0,r.jsx)(Tt,{}):(0,r.jsx)(r.Fragment,{children:n})}var zt=t(50692),Mt=function(e,n,t,r){return new(t||(t=Promise))((function(a,o){function i(e){try{s(r.next(e))}catch(e){o(e)}}function l(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var n;e.done?a(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,l)}s((r=r.apply(e,n||[])).next())}))},Ht=function(e,n){var t,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){return function(l){if(t)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(o=0)),o;)try{if(t=1,r&&(a=2&l[0]?r.return:l[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;switch(r=0,a&&(l=[2&l[0],a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}if(6===l[0]&&o.label<a[1]){o.label=a[1],a=l;break}
1if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=n.call(e,o)}catch(e){l=[6,e],r=0}finally{t=a=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}};function Wt(e,n){var t=this;return a.lazy((function(){return Mt(t,void 0,void 0,(function(){var t;return Ht(this,(function(r){switch(r.label){case 0:return t={},[4,e()];case 1:return[2,(t.default=r.sent()[n],t)]}}))}))}))}function Gt(e,n,t){void 0===n&&(n=(0,r.jsx)(qn,{})),void 0===t&&(t=!1);var o=(0,r.jsx)(kt,{children:(0,r.jsx)(Ut,{children:(0,r.jsx)(a.Suspense,{fallback:n,children:e})})});return t?(0,r.jsx)(sn.K,{children:o}):o}function Yt(e){var n,t,a=e.fallback,o=e.children,i=(0,s.FE)(),l=null!==(t=null===(n=i[i.length-1])||void 0===n?void 0:n.id)&&void 0!==t?t:"root";return(0,r.jsx)(zt.P,{fallback:a,children:o},l)}function Ft(e,n){return void 0===n&&(n=(0,r.jsx)($n,{})),(0,r.jsx)(kt,{children:(0,r.jsx)(Ut,{children:(0,r.jsx)(wt,{children:(0,r.jsx)(Yt,{fallback:n,children:e})})})})}var Vt=Wt((function(){return Promise.all([t.e(4146),t.e(5230)]).then(t.bind(t,65230))}),"LoginRoutePage"),Jt=Wt((function(){return Promise.all([t.e(4146),t.e(2180)]).then(t.bind(t,72180))}),"SignupRoutePage"),Kt=Wt((function(){return t.e(8727).then(t.bind(t,38727))}),"VerificationSentRoutePage"),Xt=Wt((function(){return t.e(8944).then(t.bind(t,98944))}),"PasswordResetRoutePage"),qt=Wt((function(){return t.e(2545).then(t.bind(t,42545))}),"PasswordResetDoneRoutePage"),Zt=Wt((function(){return t.e(7029).then(t.bind(t,17029))}),"PasswordResetFromKeyRoutePage"),$t=Wt((function(){return t.e(7893).then(t.bind(t,87893))}),"PasswordResetFromKeyDoneRoutePage"),Qt=Wt((function(){return t.e(7294).then(t.bind(t,67294))}),"VerifyTwoFactorRoutePage"),er=Wt((function(){return Promise.all([t.e(7655),t.e(2846),t.e(3402),t.e(4328),t.e(8056),t.e(9101),t.e(5674),t.e(9126)]).then(t.bind(t,19126))}),"OnboardingRoutePage"),nr=Wt((function(){return t.e(485).then(t.bind(t,80485))}),"ThankYouPage"),tr=Wt((function(){return Promise.all([t.e(2787),t.e(5531),t.e(7450)]).then(t.bind(t,27450))}),"ChatbotSharePage"),rr=Wt((function(){return Promise.all([t.e(2787),t.e(5531),t.e(8281)]).then(t.bind(t,28281))}),"ChatbotAccessLinkPage"),ar=Wt((function(){return Promise.all([t.e(6354),t.e(8408),t.e(4535)]).then(t.bind(t,86916))}),"AdminUsersAnalyticsPage"),or=Wt((function(){return Promise.all([t.e(6354),t.e(8408),t.e(2931)]).then(t.bind(t,32931))}),"AdminMessagingUsagePage"),ir=Wt((function(){return Promise.all([t.e(6354),t.e(8408),t.e(5828)]).then(t.bind(t,5828))}),"AdminChatbotAnalyticsPage"),lr=Wt((function(){return Promise.all([t.e(6354),t.e(8408),t.e(9206)]).then(t.bind(t,9206))}),"AdminVoiceAnalyticsPage"),sr=Wt((function(){return Promise.all([t.e(6354),t.e(8408),t.e(7708)]).then(t.bind(t,27708))}),"AdminUserVoiceUsagePage"),cr=Wt((function(){return Promise.all([t.e(8540),t.e(454),t.e(3811),t.e(6969)]).then(t.bind(t,64793))}),"DashboardPage"),dr=Wt((function(){return Promise.all([t.e(8513),t.e(15),t.e(5934),t.e(5336),t.e(1467),t.e(2108),t.e(2676),t.e(8653)]).then(t.bind(t,59569))}),"AccountPage"),ur=Wt((function(){return t.e(7084).then(t.bind(t,47084))}),"AccountSecurityPage"),hr=Wt((function(){return t.e(8707).then(t.bind(t,41088))}),"ApiTokenPage"),xr=Wt((function(){return t.e(2632).then(t.bind(t,82632))}),"SupportTicketPage"),br=Wt((function(){return Promise.all([t.e(8513),t.e(5336),t.e(1467),t.e(9808)]).then(t.bind(t,55073))}),"SubaccountsPage"),fr=Wt((function(){return Promise.all([t.e(8513),t.e(15),t.e(5336),t.e(1467),t.e(2676),t.e(3171)]).then(t.bind(t,93171))}),"AccountUsersPage"),pr=a.lazy((function(){return Promise.all([t.e(5674),t.e(7674),t.e(4288)]).then(t.bind(t,12322))})),gr=Wt((function(){return Promise.all([t.e(8513),t.e(5336),t.e(3402),t.e(1467),t.e(1062)]).then(t.bind(t,22119))}),"MarketplacePage"),mr=Wt((function(){return Promise.all([t.e(8513),t.e(2108),t.e(2455)]).then(t.bind(t,86958))}
1),"AgencyProfilePage"),vr=Wt((function(){return Promise.all([t.e(8513),t.e(9287),t.e(5336),t.e(9101),t.e(3770)]).then(t.bind(t,63770))}),"AgencySaasConfiguratorPage"),yr=Wt((function(){return Promise.all([t.e(8513),t.e(5336),t.e(9101),t.e(9998)]).then(t.bind(t,93059))}),"AgencyPackageEditorPage"),Ar=Wt((function(){return Promise.all([t.e(8513),t.e(2580),t.e(5336),t.e(9943),t.e(3402),t.e(4328),t.e(9779),t.e(8056),t.e(8658),t.e(1935)]).then(t.bind(t,21935))}),"VoiceDashboardPage"),Sr=Wt((function(){return Promise.all([t.e(8513),t.e(2580),t.e(5336),t.e(9943),t.e(3402),t.e(4328),t.e(9779),t.e(8056),t.e(8658),t.e(6743)]).then(t.bind(t,76743))}),"VoiceConfigurePage"),jr=Wt((function(){return Promise.all([t.e(9943),t.e(6353)]).then(t.bind(t,76353))}),"VoiceWhatsappIntegrationPage"),wr=Wt((function(){return Promise.all([t.e(2046),t.e(7715)]).then(t.bind(t,78871))}),"ChatbotListPage"),Er=Wt((function(){return Promise.all([t.e(8513),t.e(8310),t.e(5336),t.e(9943),t.e(3402),t.e(2787),t.e(4328),t.e(9779),t.e(2046),t.e(1815),t.e(6073)]).then(t.bind(t,86073))}),"ChatbotCreatePage"),Lr=Wt((function(){return Promise.all([t.e(8513),t.e(8310),t.e(5336),t.e(9943),t.e(3402),t.e(2787),t.e(4328),t.e(9779),t.e(2046),t.e(1815),t.e(350)]).then(t.bind(t,10350))}),"ChatbotUpdatePage"),_r=Wt((function(){return Promise.all([t.e(8513),t.e(8310),t.e(5336),t.e(9943),t.e(3402),t.e(2787),t.e(4328),t.e(9779),t.e(2046),t.e(1815),t.e(8361)]).then(t.bind(t,98361))}),"ChatbotDetailPage"),Cr=Wt((function(){return t.e(559).then(t.bind(t,92940))}),"ChatbotAnalyticsPage"),Ir=Wt((function(){return Promise.all([t.e(8513),t.e(8310),t.e(5336),t.e(9943),t.e(3402),t.e(2787),t.e(4328),t.e(9779),t.e(2046),t.e(1815),t.e(7786)]).then(t.bind(t,17786))}),"ChatbotObservabilityPage"),Tr=Wt((function(){return Promise.all([t.e(8513),t.e(8310),t.e(5336),t.e(9943),t.e(3402),t.e(2787),t.e(4328),t.e(9779),t.e(2046),t.e(1815),t.e(3853)]).then(t.bind(t,23853))}),"ChatbotTrainPage"),Or=Wt((function(){return Promise.all([t.e(8513),t.e(8310),t.e(5336),t.e(9943),t.e(3402),t.e(2787),t.e(4328),t.e(9779),t.e(2046),t.e(1815),t.e(7264)]).then(t.bind(t,7264))}),"ChatbotKnowledgeBaseSearchPage"),Rr=Wt((function(){return Promise.all([t.e(8513),t.e(8310),t.e(5336),t.e(9943),t.e(3402),t.e(2787),t.e(4328),t.e(9779),t.e(2046),t.e(1815),t.e(4604)]).then(t.bind(t,94604))}),"ChatbotIntegrationsPage"),kr=Wt((function(){return Promise.all([t.e(9943),t.e(7233),t.e(6165)]).then(t.bind(t,36165))}),"ChatbotFacebookIntegrationPage"),Pr=Wt((function(){return Promise.all([t.e(9943),t.e(7233),t.e(6963)]).then(t.bind(t,86963))}),"ChatbotWhatsappIntegrationPage"),Nr=Wt((function(){return Promise.all([t.e(9943),t.e(7233),t.e(471)]).then(t.bind(t,10471))}),"ChatbotInstagramIntegrationPage"),Dr=Wt((function(){return Promise.all([t.e(8513),t.e(8310),t.e(5336),t.e(9943),t.e(3402),t.e(2787),t.e(4328),t.e(9779),t.e(2046),t.e(1815),t.e(1733)]).then(t.bind(t,41733))}),"ChatbotCustomToolsPage"),Br=Wt((function(){return Promise.all([t.e(8513),t.e(8310),t.e(5336),t.e(9943),t.e(3402),t.e(2787),t.e(4328),t.e(9779),t.e(2046),t.e(1815),t.e(6040)]).then(t.bind(t,86040))}),"ChatbotCustomToolFormPage"),Ur=Wt((function(){return Promise.all([t.e(8513),t.e(8310),t.e(5336),t.e(9943),t.e(3402),t.e(2787),t.e(4328),t.e(9779),t.e(2046),t.e(1815),t.e(2963)]).then(t.bind(t,52963))}),"ChatbotAppearancePage"),zr=Wt((function(){return Promise.all([t.e(8513),t.e(8310),t.e(8540),t.e(5336),t.e(9943),t.e(3402),t.e(2787),t.e(4328),t.e(9779),t.e(2046),t.e(1815),t.e(3811),t.e(5357)]).then(t.bind(t,85357))}),"ChatbotInboxPage"),Mr=Wt((function(){return Promise.all([t.e(8513),t.e(8310),t.e(5336),t.e(9943),t.e(3402),t.e(2787),t.e(4328),t.e(9779),t.e(2046),t.e(1815),t.e(3223)]).then(t.bind(t,13223))}),"ChatbotInboxAllPage"),Hr=Wt((function(){return Promise.all([t.e(8513),t.e(8310),t.e(5336),t.e(9943),t.e(3402),t.e(2787),t.e(4328),t.e(9779),t.e(2046),t.e(1815),t.e(165)]).then(t.bind(t,165))}),"ChatbotLeadAnalysisPage"),Wr=Wt((function(){return Promise.resolve().then(t.bind(t,43186))}),"NotFoundPage"),Gr=(0,s.Ys)([{path:oe.b.LOGIN,element:Gt((0,r.jsx)(Vt,{}),(0,r.jsx)((function(){return(0,r.jsx)(qe.A,{})}),{}),!0)},{path:oe.b.SIGNUP,element:Gt((0,r.jsx)(Jt,{}),(0,r.jsx)((function(){return(0,r.jsx)(Ke.A,{fieldCount:2,showTerms:!0})}),{}),!0)},{path:oe.b.EMAIL_VERIFICATION_SENT,element:Gt((0,r.jsx)(Kt,{}
1),(0,r.jsx)((function(){return(0,r.jsx)(Xe.A,{copyLines:["84%","74%","68%"],fieldCount:1,showActionButtons:!0,showSecondaryLink:!0,showMailActions:!0})}),{}),!0)},{path:oe.b.PASSWORD_RESET,element:Gt((0,r.jsx)(Xt,{}),(0,r.jsx)((function(){return(0,r.jsx)(Xe.A,{copyLines:["78%","90%"],fieldCount:1,showActionButtons:!0,formPanel:!0})}),{}),!0)},{path:oe.b.PASSWORD_RESET_DONE,element:Gt((0,r.jsx)(qt,{}),(0,r.jsx)((function(){return(0,r.jsx)(Xe.A,{copyLines:["82%","74%","68%"],showDivider:!0,formPanel:!0})}),{}),!0)},{path:oe.b.PASSWORD_RESET_FROM_KEY,element:Gt((0,r.jsx)(Zt,{}),(0,r.jsx)((function(){return(0,r.jsx)(Xe.A,{copyLines:["54%"],fieldCount:2,showActionButtons:!0,formPanel:!0})}),{}),!0)},{path:oe.b.PASSWORD_RESET_FROM_KEY_DONE,element:Gt((0,r.jsx)($t,{}),(0,r.jsx)((function(){return(0,r.jsx)(Xe.A,{copyLines:["78%"],showActionButtons:!0,formPanel:!0})}),{}),!0)},{path:oe.b.VERIFY_TWO_FACTOR,element:Gt((0,r.jsx)(Qt,{}),(0,r.jsx)((function(){return(0,r.jsx)(Xe.A,{copyLines:["64%","72%"],fieldCount:1,showActionButtons:!0})}),{}),!0)},{path:oe.b.ONBOARDING,element:Gt((0,r.jsx)(er,{}),(0,r.jsx)((function(){var e=Number((0,Xn.VE)(mn.xY,"1")),n=e>=1&&e<=3?e:1;return(0,r.jsx)(sn.K,{children:(0,r.jsx)(vn.Xv,{step:n})})}),{}),!0)},{path:oe.b.THANK_YOU,element:Ft((0,r.jsx)(nr,{}),(0,r.jsx)((function(){return(0,r.jsx)(Vn,{})}),{}))},{path:oe.b.CHATBOT_SHARE,element:Gt((0,r.jsx)(tr,{}),(0,r.jsx)(Zn,{}))},{path:oe.b.CHATBOT_ACCESS_LINK,element:Gt((0,r.jsx)(rr,{}),(0,r.jsx)(Zn,{}))},{path:oe.b.ADMIN_ANALYTICS,element:Ft((0,r.jsx)(ar,{}),(0,r.jsx)(et,{}))},{path:oe.b.ADMIN_MESSAGE_USAGE,element:Ft((0,r.jsx)(or,{}),(0,r.jsx)(et,{}))},{path:oe.b.ADMIN_CHATBOT_ANALYTICS,element:Ft((0,r.jsx)(ir,{}),(0,r.jsx)(et,{}))},{path:oe.b.ADMIN_VOICE_ANALYTICS,element:Ft((0,r.jsx)(lr,{}),(0,r.jsx)(et,{}))},{path:oe.b.ADMIN_USER_VOICE_USAGE,element:Ft((0,r.jsx)(sr,{}),(0,r.jsx)(et,{}))},{path:oe.b.HOME,element:Ft((0,r.jsx)(cr,{}),(0,r.jsx)((function(e){var n=(void 0===e?{}:e).showHeader,t=void 0===n||n;return(0,r.jsx)(gn,{showHeader:t})}),{}))},{path:oe.b.ACCOUNT,element:Ft((0,r.jsx)(dr,{}),(0,r.jsx)((function(e){var n=(void 0===e?{}:e).showHeader,t=void 0===n||n;return(0,r.jsx)(Ze.A,{showHeader:t})}),{}))},{path:oe.b.ACCOUNT_SECURITY,element:Ft((0,r.jsx)(ur,{}),(0,r.jsx)((function(){return(0,r.jsx)($e.A,{})}),{}))},{path:oe.b.API_TOKEN,element:Ft((0,r.jsx)(hr,{}),(0,r.jsx)((function(){return(0,r.jsx)(Qe.A,{})}),{}))},{path:oe.b.SUPPORT_TICKET,element:Ft((0,r.jsx)(xr,{}),(0,r.jsx)((function(){return(0,r.jsx)(Fn.A,{})}),{}))},{path:oe.b.SUBACCOUNTS,element:Ft((0,r.jsx)(br,{}),(0,r.jsx)((function(){return(0,r.jsx)(Yn,{})}),{}))},{path:oe.b.AGENCY_USERS,element:Ft((0,r.jsx)(fr,{}),(0,r.jsx)(nt,{}))},{path:oe.b.SUBACCOUNT_USERS,element:Ft((0,r.jsx)(fr,{}),(0,r.jsx)(nt,{}))},{path:oe.b.BILLING,element:Ft((0,r.jsx)(pr,{}),(0,r.jsx)((function(e){var n=(void 0===e?{}:e).showHeader,t=void 0===n||n;return(0,r.jsx)(Ue.A,{showHeader:t})}),{}))},{path:oe.b.MARKETPLACE,element:Ft((0,r.jsx)(gr,{}),(0,r.jsx)((function(e){var n=(void 0===e?{}:e).showHeader,t=void 0===n||n;return(0,r.jsx)(ze.A,{showHeader:t})}),{}))},{path:oe.b.AGENCY_PROFILE,element:Ft((0,r.jsx)(mr,{}),(0,r.jsx)(tt,{}))},{path:oe.b.AGENCY_SAAS_CONFIGURATOR,element:Ft((0,r.jsx)(vr,{}),(0,r.jsx)(tt,{}))},{path:oe.b.AGENCY_PACKAGE_CREATE,element:Ft((0,r.jsx)(yr,{}),(0,r.jsx)(tt,{}))},{path:oe.b.AGENCY_PACKAGE_UPDATE,element:Ft((0,r.jsx)(yr,{}),(0,r.jsx)(tt,{}))},{path:oe.b.VOICE_DASHBOARD,element:Ft((0,r.jsx)(Ar,{}),(0,r.jsx)((function(e){var n=(void 0===e?{}:e).showHeader,t=void 0===n||n;return(0,r.jsx)(Kn,{showHeader:t})}),{}))},{path:oe.b.VOICE_CONFIGURE_NEW,element:Ft((0,r.jsx)(Sr,{}),(0,r.jsx)(rt,{}))},{path:oe.b.VOICE_CONFIGURE,element:Ft((0,r.jsx)(Sr,{}),(0,r.jsx)(rt,{}))},{path:oe.b.VOICE_INTEGRATIONS_WHATSAPP,element:Ft((0,r.jsx)(jr,{}),(0,r.jsx)(rt,{}))},{path:oe.b.CHATBOT_LIST,element:Ft((0,r.jsx)(wr,{}),(0,r.jsx)((function(){return(0,r.jsx)(rn,{})}),{}))},{path:oe.b.CHATBOT_CREATE,element:Ft((0,r.jsx)(Er,{}),(0,r.jsx)((function(){return(0,r.jsx)(an.CL,{})}),{}))},{path:oe.b.CHATBOT_UPDATE,element:Ft((0,r.jsx)(Lr,{}),(0,r.jsx)((function(){return(0,r.jsx)(an.CL,{})}),{}))},{path:oe.b.CHATBOT_DETAIL,element:Ft((0,r.jsx)(_r,{}),(0,r.jsx)((function(){return(0,r.jsx)(an.JK,{})}),{}))},{path:oe.b.CHATBOT_ANALYTICS,element:Ft((0,r.jsx)(Cr,{}),(0,r.jsx)(at,{}))},{path:oe.b.CHATBOT_OBSERVABILITY,element:Ft((0,r.jsx)(Ir,{}),(0,r.jsx)(at,{}))},{path:oe.b.CHATBOT_TRAIN,element:Ft((0,r.jsx)(Tr,{}),(0,r.jsx)((function(){return(0,r.jsx)(an.CL,{})}),{}))},{path:oe.b.CHATBOT_KB_SEARCH,element:Ft((0,r.jsx)(Or,{}),(0,r.jsx)((function(){return(0,r.jsx)(an.CL,{})}),{}))},{path:oe.b.CHATBOT_INTEGRATIONS,element:Ft((0,r.jsx)(Rr,{}),(0,r.jsx)((function(){return(0,r.jsx)(an.CL,{})}),{}))},{path:oe.b.CHATBOT_INTEGRATIONS_FACEBOOK,element:Ft((0,r.jsx)(kr,{}),(0,r.jsx)(ot,{}))},{path:oe.b.CHATBOT_INTEGRATIONS_WHATSAPP,element:Ft((0,r.jsx)(Pr,{}),(0,r.jsx)(ot,{}))},{path:oe.b.CHATBOT_INTEGRATIONS_INSTAGRAM,element:Ft((0,r.jsx)(Nr,{}),(0,r.jsx)(ot,{}))},{path:oe.b.CHATBOT_CUSTOM_TOOLS,element:Ft((0,r.jsx)(Dr,{}),(0,r.jsx)((function(){return(0,r.jsx)(an.CL,{})}),{}))},{path:oe.b.CHATBOT_CUSTOM_TOOL_CREATE,element:Ft((0,r.jsx)(Br,{}),(0,r.jsx)(it,{}))},{path:oe.b.CHATBOT_CUSTOM_TOOL_UPDATE,element:Ft((0,r.jsx)(Br,{isUpdate:!0}),(0,r.jsx)(it,{}))},{path:oe.b.CHATBOT_APPEARANCE,element:Ft((0,r.jsx)(Ur,{}),(0,r.jsx)((function(){return(0,r.jsx)(an.CL,{})}),{}))},{path:oe.b.CHATBOT_INBOX_ALL,element:Ft((0,r.jsx)(Mr,{}),(0,r.jsx)((function(){return(0,r.jsxs)(f.A,{children:[(0,r.jsx)(Me.G,{}),(0,r.jsx)(f.A,{sx:{pt:2,px:3,width:"100%",maxWidth:"1440px",mx:"auto"},children:(0,r.jsx)(ln.u5,{showInboxTitle:!1})})]})}),{}))},{path:oe.b.CHATBOT_INBOX,element:Ft((0,r.jsx)(zr,{}),(0,r.jsx)((function(){return(0,r.jsx)(an.Wo,{})}),{}))},{path:oe.b.CHATBOT_LEAD_ANALYSIS,element:Ft((0,r.jsx)(Hr,{}),(0,r.jsx)((function(){return(0,r.jsx)(an.CL,{})}),{}))},{path:"*",element:Gt((0,r.jsx)(Wr,{}))}],{basename:(0,Et.PJ)()}),Yr=a.lazy((function(){return Promise.all([t.e(7674),t.e(36)]).then(t.bind(t,60036))})),Fr=function(){var e=new URLSearchParams(window.location.search);return e.has("show_referral_modal")||e.has("purchase-successful")};function Vr(){var e=(0,r.jsx)(i.pg,{router:Gr});return(0,r.jsx)(l.G,{children:Fr()?(0,r.jsx)(a.Suspense,{fallback:null,children:(0,r.jsx)(Yr,{children:e})}):e})}var Jr=t(92968),Kr={};Kr.styleTagTransform=yt(),Kr.setAttributes=pt(),Kr.insert=bt().bind(null,"head"),Kr.domAPI=ht(),Kr.insertStyleElement=mt();dt()(Jr.A,Kr),Jr.A&&Jr.A.locals&&Jr.A.locals;function Xr(e){void 0===e&&(e="spa-root");var n=document.getElementById(e);if(!n)return null;var t=o.createRoot(n);return t.render((0,r.jsx)(a.StrictMode,{children:(0,r.jsx)(Vr,{})})),t}},16062:function(e,n,t){t.d(n,{A:function(){return u}});var r=t(78685),a=(t(2057),t(31547)),o=t(63809),i=t(36206),l=t(81971),s=t(32417),c=t(10698),d=t(48356);function u(e){var n=(void 0===e?{}:e).showHeader,t=void 0===n||n,u=(0,d.P)(),h=u.shellSurfaceBg,x=u.cardSkeleton,b=u.surfaceBorder,f=u.surfaceShadow;return(0,r.jsxs)(a.A,{sx:{bgcolor:h,minHeight:"100vh"},children:[t?(0,r.jsx)(d.G,{compact:!0}):null,(0,r.jsx)(c.A,{children:(0,r.jsx)(a.A,{sx:{pt:2.5,display:"grid",gap:3},children:(0,r.jsxs)(a.A,{sx:{display:"grid",gridTemplateColumns:{xs:"1fr",md:"repeat(2, minmax(0, 1fr))"},gap:3},children:[(0,r.jsx)(o.A,{sx:{borderRadius:2,border:"1px solid ".concat(b),boxShadow:f},children:(0,r.jsxs)(i.A,{sx:{p:0},children:[(0,r.jsx)(a.A,{sx:{px:2.5,py:1.75},children:(0,r.jsx)(l.A,{variant:"text",width:"44%",height:28,sx:{bgcolor:x}})}),(0,r.jsxs)(s.A,{spacing:1.5,sx:{px:2.5,pb:2.5},children:[(0,r.jsx)(l.A,{variant:"text",width:"58%",height:24,sx:{bgcolor:x}}),Array.from({length:4}).map((function(e,n){return(0,r.jsx)(l.A,{variant:"text",width:"".concat(90-6*n,"%"),height:20,sx:{bgcolor:x}},n)})),(0,r.jsx)(l.A,{variant:"rounded",height:56,sx:{bgcolor:x,mt:1}}),(0,r.jsx)(l.A,{variant:"rounded",height:40,sx:{bgcolor:x,width:176}})]})]})}),(0,r.jsx)(o.A,{sx:{borderRadius:2,border:"1px solid ".concat(b),boxShadow:f},children:(0,r.jsxs)(i.A,{sx:{p:0},children:[(0,r.jsx)(a.A,{sx:{px:2.5,py:1.75},children:(0,r.jsx)(l.A,{variant:"text",width:"38%",height:28,sx:{bgcolor:x}})}),(0,r.jsx)(a.A,{sx:{px:2.5,pb:2.5,display:"flex",justifyContent:"center"},children:(0,r.jsx)(l.A,{variant:"rounded",width:320,height:320,sx:{bgcolor:x,maxWidth:"100%"}})})]})})]})})})]})}},11163:function(e,n,t){t.d(n,{A:function(){return d}});var r=t(78685),a=(t(2057),t(31547)),o=t(81971),i=t(63809),l=t(36206),s=t(48356),c=function(){return c=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var a in n=arguments[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e},c.apply(this,arguments)};function d(e){var n=(void 0===e?{}:e).showHeader,t=void 0===n||n,d=(0,s.P)(),u=d.shellSurfaceBg,h=d.cardSkeleton,x=d.surfaceBorder,b=function(e,n,t){return void 0===t&&(t=!0),(0,r.jsxs)(a.A,{sx:c({},t&&{pt:3,borderTop:"1px solid ".concat(x)}),children:[(0,r.jsx)(o.A,{variant:"text",width:e,height:24,sx:{bgcolor:h,mb:1.5}}),(0,r.jsx)(a.A,{sx:{display:"grid",gap:2},children:n})]})};return(0,r.jsxs)(a.A,{sx:{bgcolor:u,minHeight:"100vh"},children:[t?(0,r.jsx)(s.G,{compact:!0}):null,(0,r.jsxs)(a.A,{sx:{margin:"0px auto",maxWidth:"1440px",padding:"24px"},children:[(0,r.jsx)(a.A,{sx:{mb:3,display:"flex",gap:3,borderBottom:"1px solid ".concat(x),px:2,overflowX:"auto"},children:[108,96,132,128,128,72,68].map((function(e,n){return(0,r.jsx)(o.A,{variant:"text",width:e,height:24,sx:{bgcolor:h,flexShrink:0,my:1.25}},"tab-".concat(n))}))}),(0,r.jsx)(i.A,{sx:{border:"1px solid ".concat(x)},children:(0,r.jsx)(l.A,{sx:{p:3,"&:last-child":{pb:3}},children:(0,r.jsxs)(a.A,{sx:{display:"grid",gap:{xs:3,lg:4},gridTemplateColumns:{xs:"1fr",lg:"1fr 1fr"},alignItems:"start"},children:[(0,r.jsxs)(a.A,{sx:{display:"grid",gap:3},children:[b(180,(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.A,{variant:"rounded",height:56,sx:{bgcolor:h,borderRadius:1}}),(0,r.jsxs)(a.A,{sx:{display:"grid",gap:2,gridTemplateColumns:{xs:"1fr",sm:"1fr 1fr"}},children:[(0,r.jsx)(o.A,{variant:"rounded",height:56,sx:{bgcolor:h,borderRadius:1}}),(0,r.jsx)(o.A,{variant:"rounded",height:56,sx:{bgcolor:h,borderRadius:1}})]}),(0,r.jsx)(o.A,{variant:"rounded",height:56,sx:{bgcolor:h,borderRadius:1}}),(0,r.jsx)(o.A,{variant:"rounded",width:148,height:40,sx:{bgcolor:h,borderRadius:1}})]}),!1),b(200,(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.A,{variant:"text",width:"82%",height:20,sx:{bgcolor:h}}),(0,r.jsx)(o.A,{variant:"text",width:"68%",height:20,sx:{bgcolor:h}}),(0,r.jsx)(o.A,{variant:"rounded",width:200,height:40,sx:{bgcolor:h,borderRadius:1}})]})),b(160,(0,r.jsxs)(r.Fragment,{children:[Array.from({length:3}).map((function(e,n){return(0,r.jsx)(o.A,{variant:"rounded",height:56,sx:{bgcolor:h,borderRadius:1}},n)})),(0,r.jsx)(o.A,{variant:"rounded",width:164,height:40,sx:{bgcolor:h,borderRadius:1}})]}))]}),(0,r.jsxs)(a.A,{sx:{display:"grid",gap:3},children:[b(170,(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.A,{variant:"rounded",height:56,sx:{bgcolor:h,borderRadius:1}}),(0,r.jsx)(o.A,{variant:"rounded",width:154,height:40,sx:{bgcolor:h,borderRadius:1}})]}),!1),b(140,(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.A,{variant:"rounded",height:56,sx:{bgcolor:h,borderRadius:1}}),(0,r.jsx)(o.A,{variant:"rounded",height:56,sx:{bgcolor:h,borderRadius:1}}),(0,r.jsxs)(a.A,{sx:{display:"flex",gap:1},children:[(0,r.jsx)(o.A,{variant:"rounded",width:144,height:40,sx:{bgcolor:h,borderRadius:1}}),(0,r.jsx)(o.A,{variant:"rounded",width:120,height:40,sx:{bgcolor:h,borderRadius:1}})]})]})),b(150,(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.A,{variant:"text",width:"92%",height:20,sx:{bgcolor:h}}),(0,r.jsx)(o.A,{variant:"rounded",width:130,height:40,sx:{bgcolor:h,borderRadius:1}})]}))]})]})})})]})]})}},15790:function(e,n,t){t.d(n,{A:function(){return d}});var r=t(78685),a=(t(2057),t(31547)),o=t(63809),i=t(36206),l=t(81971),s=t(32417),c=t(48356);function d(e){var n=(void 0===e?{}:e).showHeader,t=void 0===n||n,d=(0,c.P)(),u=d.shellSurfaceBg,h=d.cardSkeleton,x=d.surfaceBorder,b=d.surfaceShadow;return(0,r.jsxs)(a.A,{sx:{bgcolor:u},children:[t?(0,r.jsx)(c.G,{compact:!0}):null,(0,r.jsx)(a.A,{sx:{pt:0,px:2,margin:"0px auto",maxWidth:"1440px"},children:(0,r.jsx)(a.A,{sx:{display:"grid",gridTemplateColumns:{xs:"1fr",md:"repeat(2, minmax(0, 1fr))"},gap:3},children:Array.from({length:2}).map((function(e,n){return(0,r.jsx)(o.A,{sx:{borderRadius:2,border:"1px solid ".concat(x),boxSh
1adow:b},children:(0,r.jsxs)(i.A,{sx:{p:0},children:[(0,r.jsx)(a.A,{sx:{px:2.5,py:1.75},children:(0,r.jsx)(l.A,{variant:"text",width:"42%",height:28,sx:{bgcolor:h}})}),(0,r.jsxs)(s.A,{spacing:2,sx:{px:2.5,py:2.5},children:[(0,r.jsx)(l.A,{variant:"text",width:"88%",height:22,sx:{bgcolor:h}}),(0,r.jsx)(l.A,{variant:"text",width:"76%",height:22,sx:{bgcolor:h}}),(0,r.jsx)(l.A,{variant:"rounded",height:42,sx:{bgcolor:h}}),(0,r.jsx)(l.A,{variant:"text",width:"64%",height:20,sx:{bgcolor:h}})]}),(0,r.jsx)(a.A,{sx:{px:2.5,py:2},children:(0,r.jsx)(l.A,{variant:"rounded",height:40,sx:{bgcolor:h,width:180}})})]})},n)}))})})]})}},80830:function(e,n,t){t.d(n,{A:function(){return u}});var r=t(78685),a=(t(2057),t(31547)),o=t(32417),i=t(63809),l=t(36206),s=t(81971),c=t(10698),d=t(48356);function u(e){var n=(void 0===e?{}:e).showHeader,t=void 0===n||n,u=(0,d.P)(),h=u.shellSurfaceBg,x=u.cardSkeleton,b=u.surfaceBorder,f=u.surfaceShadow;return(0,r.jsxs)(a.A,{sx:{bgcolor:h},children:[t?(0,r.jsx)(d.G,{compact:!0}):null,(0,r.jsx)(c.A,{children:(0,r.jsxs)(o.A,{spacing:3,sx:{pt:2.5},children:[(0,r.jsx)(a.A,{sx:{display:"grid",gridTemplateColumns:{xs:"1fr",sm:"repeat(3, minmax(0, 1fr))"},gap:2},children:Array.from({length:3}).map((function(e,n){return(0,r.jsx)(i.A,{sx:{borderRadius:2,border:"1px solid ".concat(b),boxShadow:f},children:(0,r.jsx)(l.A,{sx:{p:2.5},children:(0,r.jsxs)(a.A,{display:"flex",justifyContent:"space-between",alignItems:"flex-start",children:[(0,r.jsxs)(a.A,{sx:{flex:1},children:[(0,r.jsx)(s.A,{variant:"text",width:"42%",height:22,sx:{bgcolor:x}}),(0,r.jsx)(s.A,{variant:"text",width:"28%",height:38,sx:{bgcolor:x}})]}),(0,r.jsx)(s.A,{variant:"rounded",width:48,height:48,sx:{bgcolor:x,borderRadius:2}})]})})},n)}))}),(0,r.jsxs)(i.A,{sx:{borderRadius:2,border:"1px solid ".concat(b),boxShadow:"none"},children:[(0,r.jsxs)(a.A,{sx:{p:2,borderBottom:"1px solid ".concat(b),display:"flex",justifyContent:"space-between",alignItems:"center",gap:2,flexWrap:"wrap"},children:[(0,r.jsx)(s.A,{variant:"text",width:168,height:30,sx:{bgcolor:x}}),(0,r.jsxs)(a.A,{sx:{display:"flex",alignItems:"center",gap:1},children:[(0,r.jsx)(s.A,{variant:"rounded",width:300,height:40,sx:{bgcolor:x}}),(0,r.jsx)(s.A,{variant:"rounded",width:120,height:40,sx:{bgcolor:x}})]})]}),(0,r.jsx)(a.A,{sx:{p:2},children:(0,r.jsx)(o.A,{spacing:1.5,children:Array.from({length:5}).map((function(e,n){return(0,r.jsx)(s.A,{variant:"rounded",height:52,sx:{bgcolor:x}},n)}))})}),(0,r.jsxs)(a.A,{sx:{p:2,borderTop:"1px solid ".concat(b),display:"flex",justifyContent:"space-between",alignItems:"center",gap:2,flexWrap:"wrap"},children:[(0,r.jsx)(s.A,{variant:"rounded",width:190,height:36,sx:{bgcolor:x}}),(0,r.jsx)(s.A,{variant:"text",width:180,height:22,sx:{bgcolor:x}}),(0,r.jsx)(s.A,{variant:"rounded",width:120,height:36,sx:{bgcolor:x}})]})]})]})})]})}},38254:function(e,n,t){t.d(n,{L:function(){return D},g:function(){return U}});var r=t(78685),a=(t(2057),t(25493)),o=t(85576),i=t(2091),l=t(50259),s=t(48960),c=t(88370),d=t(77214),u=t(42397),h=t(3083),x=t(4966),b=t(24222),f=t(88360),p=t(57736),g=t(45093),m=t(64998),v=t(10857),y=t(51924),A=t(48051),S=t(91301),j=t(34369),w=t(69260),E=t(449),L=t(968),_=t(61131),C=t(18707),I=t(18056),T=t(3813),O=t(71198),R=t(55655),k=t(94270),P=t(38451),N=function(){return N=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var a in n=arguments[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e},N.apply(this,arguments)},D=[{value:"home",label:P.Ay.t("DISPLAY_LABELS.HOME"),icon:(0,r.jsx)(a.A,{fontSize:"small"})},{value:"check-circle",label:P.Ay.t("DISPLAY_LABELS.CHECK_CIRCLE"),icon:(0,r.jsx)(o.A,{fontSize:"small"})},{value:"user",label:P.Ay.t("DISPLAY_LABELS.USER"),icon:(0,r.jsx)(i.A,{fontSize:"small"})},{value:"cog",label:P.Ay.t("DISPLAY_LABELS.SETTINGS"),icon:(0,r.jsx)(l.A,{fontSize:"small"})},{value:"envelope",label:P.Ay.t("DISPLAY_LABELS.ENVELOPE"),icon:(0,r.jsx)(s.A,{fontSize:"small"})},{value:"camera",label:P.Ay.t("DISPLAY_LABELS.CAMERA"),icon:(0,r.jsx)(c.A,{fontSize:"small"})},{value:"search",label:P.Ay.t("DISPLAY_LABELS.SEARCH"),icon:(0,r.jsx)(d.A,{fontSize:"small"})},{value:"heart",label:P.Ay.t("DISPLAY_LABELS.HEART"),icon:(0,r.jsx)(u.A,{fontSize:"small"})},{value:"globe",label:P.Ay.t("DISPLAY_LABELS.GLOBE"),icon:(0,r.jsx)(h.A,{fontSize:"small"})},{value:"star",label:P.Ay.t("DISPLAY_LABELS.STAR"),icon:(0,r.jsx)(x.A,{fontSize:"small"})},{value:"comment-dots",label:P.Ay.t("DISPLAY_LABELS.COMMENT_DOTS"),icon:(0,r.jsx)(b.A,{fontSize:"small"})},{value:"phone",label:P.Ay.t("DISPLAY_LABELS.PHONE"),icon:(0,r.jsx)(f.A,{fontSize:"small"})},{value:"bell",label:P.Ay.t("DISPLAY_LABELS.BELL"),icon:(0,r.jsx)(p.A,{fontSize:"small"})},{value:"comment",label:P.Ay.t("DISPLAY_LABELS.COMMENT"),icon:(0,r.jsx)(g.A,{fontSize:"small"})},{value:"edit",label:P.Ay.t("DISPLAY_LABELS.EDIT"),icon:(0,r.jsx)(m.A,{fontSize:"small"})},{value:"trash",label:P.Ay.t("DISPLAY_LABELS.TRASH"),icon:(0,r.jsx)(v.A,{fontSize:"small"})},{value:"user-plus",label:P.Ay.t("DISPLAY_LABELS.USER_PLUS"),icon:(0,r.jsx)(y.A,{fontSize:"small"})},{value:"user-minus",label:P.Ay.t("DISPLAY_LABELS.USER_MINUS"),icon:(0,r.jsx)(A.A,{fontSize:"small"})},{value:"user-check",label:P.Ay.t("DISPLAY_LABELS.USER_CHECK"),icon:(0,r.jsx)(S.A,{fontSize:"small"})},{value:"clock",label:P.Ay.t("DISPLAY_LABELS.CLOCK"),icon:(0,r.jsx)(j.A,{fontSize:"small"})},{value:"shield",label:P.Ay.t("DISPLAY_LABELS.SHIELD"),icon:(0,r.jsx)(w.A,{fontSize:"small"})},{value:"lock",label:P.Ay.t("DISPLAY_LABELS.LOCK"),icon:(0,r.jsx)(E.A,{fontSize:"small"})},{value:"book",label:P.Ay.t("DISPLAY_LABELS.BOOK"),icon:(0,r.jsx)(L.A,{fontSize:"small"})},{value:"briefcase",label:P.Ay.t("DISPLAY_LABELS.BRIEFCASE"),icon:(0,r.jsx)(_.A,{fontSize:"small"})},{value:"calendar",label:P.Ay.t("DISPLAY_LABELS.CALENDAR"),icon:(0,r.jsx)(C.A,{fontSize:"small"})},{value:"camera-retro",label:P.Ay.t("DISPLAY_LABELS.CAMERA_RETRO"),icon:(0,r.jsx)(I.A,{fontSize:"small"})},{value:"chart-bar",label:P.Ay.t("DISPLAY_LABELS.CHART_BAR"),icon:(0,r.jsx)(T.A,{fontSize:"small"})},{value:"circle",label:P.Ay.t("DISPLAY_LABELS.CIRCLE"),icon:(0,r.jsx)(O.A,{fontSize:"small"})},{value:"help",label:P.Ay.t("DISPLAY_LABELS.HELP","Help"),icon:(0,r.jsx)(R.A,{fontSize:"small"})},{value:"link",label:P.Ay.t("DISPLAY_LABELS.LINK","Link"),icon:(0,r.jsx)(k.A,{fontSize:"small"})}],B=N(N({},Object.fromEntries(D.map((function(e){return[e.value,e.icon]})))),{settings:(0,r.jsx)(l.A,{fontSize:"small"})}),U=function(e){return B[e]||(0,r.jsx)("i",{className:"fa fa-".concat(e),style:{fontSize:16,lineHeight:1}})}},80345:function(e,n,t){var r=t(78685),a=(t(2057),t(69179)),o=t(50143);n.A=function(){var e=(0,o.f)().themeMode;return(0,r.jsxs)(a.azJ,{sx:{width:"100%"},children:[(0,r.jsx)(a.azJ,{sx:{mb:2},children:(0,r.jsxs)(a.azJ,{sx:function(n){return{padding:"4px",backgroundColor:"dark"===e?n.palette.background.paper:"#e2e8f0",borderRadius:2,gap:1,display:"inline-flex"}},children:[(0,r.jsx)(a.EAD,{variant:"rectangular",width:120,height:32,sx:{borderRadius:1}}),(0,r.jsx)(a.EAD,{variant:"rectangular",width:80,height:32,sx:{borderRadius:1}}),(0,r.jsx)(a.EAD,{variant:"rectangular",width:110,height:32,sx:{borderRadius:1}}),(0,r.jsx)(a.EAD,{variant:"rectangular",width:100,height:32,sx:{borderRadius:1}})]})}),(0,r.jsx)(a.ZpM,{sx:{mb:3},children:(0,r.jsxs)(a.Wux,{children:[(0,r.jsx)(a.EAD,{variant:"text",width:"60%",height:32,sx:{mb:3}}),(0,r.jsxs)(a.azJ,{sx:{mb:3},children:[(0,r.jsx)(a.EAD,{variant:"text",width:"30%",height:24,sx:{mb:1}}),(0,r.jsx)(a.EAD,{variant:"rectangular",height:56}),(0,r.jsx)(a.EAD,{variant:"text",width:"80%",height:16,sx:{mt:.5}})]}),(0,r.jsxs)(a.azJ,{sx:{mb:3},children:[(0,r.jsx)(a.EAD,{variant:"text",width:"25%",height:24,sx:{mb:1}}),(0,r.jsx)(a.EAD,{variant:"rectangular",height:56}),(0,r.jsx)(a.EAD,{variant:"text",width:"70%",height:16,sx:{mt:.5}})]}),(0,r.jsxs)(a.azJ,{sx:{mb:3},children:[(0,r.jsx)(a.EAD,{variant:"text",width:"40%",height:24,sx:{mb:2}}),[1,2,3,4].map((function(e){return(0,r.jsxs)(a.azJ,{sx:{display:"flex",alignItems:"center",mb:1},children:[(0,r.jsx)(a.EAD,{variant:"rectangular",width:20,height:20,sx:{mr:2}}),(0,r.jsx)(a.EAD,{variant:"text",width:180,height:20})]},e)}))]}),(0,r.jsx)(a.azJ,{sx:{display:"flex",justifyContent:"flex-end"},children:(0,r.jsx)(a.EAD,{variant:"rectangular",width:100,height:36})})]})})]})}},61322:function(e,n,t){var r=t(78685),a=(t(2057),t(69179)),o=function(e){var n=e.labelWidth,t=void 0===n?100:n;return(0,r.jsxs)(a.azJ,{mb:.5,children:[(0,r.jsx)(a.EAD,{variant:"text",width:t,height:20,sx:{mb:.5}}),(0,r.jsx)(a.EAD,{variant:"rectangular",height:40})]})};n.A=function(){return(0,r.jsx)(a.azJ,{className:"p-2",children:(0,r.jsxs)(a.fPr,{container:!0,spacing:2,children:[(0,r.jsx)(a.fPr,{size:{xs:12,md:8},children:(0,r.jsxs)(a.fPr,{container:!0,spacing:2,children:[(0,r.jsx)(a.fPr,{size:{xs:12,sm:6},children:(0,r.jsx)(o,{labelWidth:110})}),(0,r.jsx)(a.fPr,{size:{xs:12,sm:6},children:(0,r.jsx)(o,{labelWidth:80})}),(0,r.jsx)(a.fPr,{size:{xs:12,sm:6},children:(0,r.jsx)(o,{labelWidth:70})}),(0,r.jsx)(a.fPr,{size:{xs:12,sm:6},children:(0,r.jsx)(o,{labelWidth:130})})]})}),(0,r.jsxs)(a.fPr,{size:{xs:12,md:4},children:[(0,r.jsx)(a.EAD,{variant:"text",width:70,height:20,sx:{mb:.5}}),(0,r.jsx)(a.EAD,{variant:"rectangular",sx:{borderRadius:2,minHeight:168}})]}),(0,r.jsx)(a.fPr,{size:{xs:12,sm:6},children:(0,r.jsx)(o,{labelWidth:110})}),(0,r.jsx)(a.fPr,{size:{xs:12,sm:6},children:(0,r.jsx)(o,{labelWidth:90})}),(0,r.jsx)(a.fPr,{size:{xs:12,sm:6},children:(0,r.jsx)(o,{labelWidth:140})}),(0,r.jsx)(a.fPr,{size:{xs:12,sm:6},children:(0,r.jsx)(o,{labelWidth:160})}),[160,180,150,200].map((function(e,n){return(0,r.jsx)(a.fPr,{size:{xs:12,sm:6},children:(0,r.jsxs)(a.azJ,{sx:{display:"flex",alignItems:"center",gap:1},children:[(0,r.jsx)(a.EAD,{variant:"rectangular",width:20,height:20}),(0,r.jsx)(a.EAD,{variant:"text",width:e,height:20})]})},n)})),(0,r.jsx)(a.fPr,{size:12,children:(0,r.jsx)(a.azJ,{display:"flex",justifyContent:"flex-end",children:(0,r.jsx)(a.EAD,{variant:"rectangular",width:100,height:36,sx:{borderRadius:1}})})})]})})}},54307:function(e,n,t){var r=t(78685),a=(t(2057),t(69179)),o=t(50143);n.A=function(){var e=(0,o.f)().themeMode;return(0,r.jsxs)(a.azJ,{sx:function(n){return{p:0,background:"dark"===e?n.palette.background.paper:"#f9fafb",borderRadius:2,boxShadow:1,border:"1px solid ".concat(n.palette.divider)}},children:[(0,r.jsxs)(a.azJ,{sx:function(e){return{display:"flex",alignItems:"center",justifyContent:"space-between",borderBottom:"1px solid ".concat(e.palette.divider),p:3,pb:2}},children:[(0,r.jsxs)(a.azJ,{sx:{display:"flex",alignItems:"center",gap:1},children:[(0,r.jsx)(a.EAD,{variant:"rectangular",width:24,height:24}),(0,r.jsx)(a.EAD,{variant:"text",width:150,height:28})]}),(0,r.jsx)(a.EAD,{variant:"text",width:80,height:20})]}),(0,r.jsxs)(a.azJ,{sx:{p:3,pt:3},children:[(0,r.jsxs)(a.azJ,{sx:{mb:2},children:[(0,r.jsxs)(a.azJ,{sx:{display:"flex",alignItems:"center",gap:.5,mb:1},children:[(0,r.jsx)(a.EAD,{variant:"text",width:60,height:20}),(0,r.jsx)(a.EAD,{variant:"rectangular",width:16,height:16})]}),(0,r.jsx)(a.EAD,{variant:"rectangular",height:60,sx:{mb:2,borderRadius:1}}),(0,r.jsx)(a.EAD,{variant:"rectangular",height:40,sx:{mb:1}}),(0,r.jsx)(a.EAD,{variant:"text",width:"70%",height:16})]}),(0,r.jsx)(a.azJ,{sx:{display:"flex",justifyContent:"flex-end",mt:2},children:(0,r.jsx)(a.EAD,{variant:"rectangular",width:120,height:40})})]})]})}},4643:function(e,n,t){var r=t(78685),a=(t(2057),t(69179)),o=t(50143);n.A=function(){var e=(0,o.f)().themeMode;return(0,r.jsxs)(a.azJ,{sx:{width:"100%"},children:[(0,r.jsx)(a.azJ,{sx:{mb:2},children:(0,r.jsxs)(a.azJ,{sx:function(n){return{padding:.5,backgroundColor:"dark"===e?n.palette.background.paper:"#e2e8f0",borderRadius:2,gap:.5,display:"inline-flex"}},children:[(0,r.jsx)(a.EAD,{variant:"rectangular",width:80,height:32,sx:{borderRadius:1}}),(0,r.jsx)(a.EAD,{variant:"rectangular",width:120,height:32,sx:{borderRadius:1}})]})}),(0,r.jsx)(a.ZpM,{sx:{width:"100%",borderRadius:3,boxShadow:3},children:(0,r.jsxs)(a.Wux,{sx:{p:0},children:[(0,r.jsxs)(a.azJ,{sx:function(e){return{p:3,pb:2,display:"flex",justifyContent:"space-between",alignItems:"center",borderBottom:"1px solid ".concat(e.palette.divider),borderColor:"divider"}},children:[(0,r.jsx)(a.EAD,{variant:"text",width:150,height:28}),(0,r.jsx)(a.EAD,{variant:"text",width:80,height:20})]}),(0,r.jsxs)(a.azJ,{sx:{display:"flex",minHeight:400},children:[(0,r.jsxs)(a.azJ,{sx:{flex:"0 0 50%",p:3,borderRight:1,borderColor:"divider"},children:[(0,r.jsxs)(a.azJ,{sx:{mb:3},children:[(0,r.jsx)(a.EAD,{variant:"text",width:100,height:20,sx:{mb:1}}),(0,r.jsx)(a.EAD,{variant:"rectangular",height:40}),(0,r.jsx)(a.EAD,{variant:"text",width:"60%",height:16,sx:{mt:.5}})]}),(0,r.jsxs)(a.azJ,{sx:{mb:3},children:[(0,r.jsx)(a.EAD,{variant:"text",width:120,height:20,sx:{mb:1}}),(0,r.jsx)(a.EAD,{variant:"rectangular",height:40})]}),(0,r.jsx)(a.EAD,{variant:"rectangular",width:120,height:40})]}),(0,r.jsxs)(a.azJ,{sx:{flex:"0 0 50%",p:3},children:[(0,r.jsx)(a.EAD,{variant:"text",width:150,height:24,sx:{mb:2}}),(0,r.jsx)(a.azJ,{sx:{display:"flex",flexDirection:"column",gap:2},children:[1,2,3,4].map((function(e){return(0,r.jsx)(a.EAD,{variant:"rectangular",width:"100%",height:56,sx:{borderRadius:1}},e)}))})]})]})]})})]})}},56673:function(e,n,t){t.d(n,{O:function(){return i}});var r=t(78685),a=t(69179),o=t(50143),i=function(){(0,o.f)().themeMode;return(0,r.jsx)(a.ZpM,{sx:{mt:4},children:(0,r.jsxs)(a.Wux,{sx:{p:0},children:[(0,r.jsx)(a.azJ,{sx:function(e){return{p:3,borderBottom:1,borderColor:"divider"}},children:(0,r.jsx)(a.EAD,{variant:"text",width:280,height:28})}),(0,r.jsxs)(a.azJ,{sx:{p:3},children:[(0,r.jsx)(a.azJ,{sx:{display:"flex",justifyContent:"space-between",mb:2},children:[1,2,3,4,5,6,7,8,9].map((function(e){return(0,r.jsx)(a.EAD,{variant:"text",width:80,height:20},e)}))}),[1,2,3,4,5].map((function(e){return(0,r.jsx)(a.azJ,{sx:{display:"flex",justifyContent:"space-between",mb:1},children:[1,2,3,4,5,6,7,8,9].map((function(e){return(0,r.jsx)(a.EAD,{variant:"text",width:80,height:16},e)}))},e)}))]})]})})};n.A=function(){(0,o.f)().themeMode;return(0,r.jsxs)(a.azJ,{sx:{width:"100%"},children:[(0,r.jsx)(a.ZpM,{sx:function(e){return{mb:4,mt:5,borderRadius:2,background:"transparent",border:"1px solid ".concat(e.palette.divider),boxShadow:1}},children:(0,r.jsx)(a.Wux,{sx:{p:5},children:(0,r.jsxs)(a.azJ,{sx:{display:"flex",alignItems:"flex-start",justifyContent:"space-between"},children:[(0,r.jsxs)(a.azJ,{sx:{flex:1,pr:4},children:[(0,r.jsx)(a.EAD,{variant:"text",width:"80%",height:40,sx:{mb:2}}),(0,r.jsx)(a.EAD,{variant:"text",width:"90%",height:20,sx:{mb:1}}),(0,r.jsx)(a.EAD,{variant:"text",width:"85%",height:20,sx:{mb:3}}),(0,r.jsxs)(a.azJ,{sx:{display:"flex",flexDirection:"column",gap:2,alignItems:"flex-start"},children:[(0,r.jsxs)(a.azJ,{sx:{display:"flex",gap:1.5,flexWrap:"wrap",alignItems:"center"},children:[(0,r.jsx)(a.EAD,{variant:"rectangular",width:200,height:40,sx:{borderRadius:1}}),(0,r.jsx)(a.EAD,{variant:"rectangular",width:250,height:40,sx:{borderRadius:1}})]}),(0,r.jsx)(a.EAD,{variant:"rectangular",width:220,height:40,sx:{borderRadius:1}})]})]}),(0,r.jsx)(a.azJ,{sx:{display:{xs:"none",lg:"block"},flex:"0 0 50%",position:"relative",top:"-20px",ml:2},children:(0,r.jsx)(a.EAD,{variant:"rectangular",width:"100%",height:300,sx:{borderRadius:2}})})]})})}),(0,r.jsx)(i,{})]})}},66249:function(e,n,t){var r=t(78685),a=t(69179),o=t(16657),i=t(73433);n.A=function(){var e=(0,o.Bd)().t;return(0,r.jsx)(a.ZpM,{sx:{width:385,borderRadius:3,boxShadow:3,position:"relative",overflow:"visible"},children:(0,r.jsxs)(a.Wux,{sx:{p:"1.5rem"},children:[(0,r.jsx)(a.azJ,{display:"flex",justifyContent:"center",children:(0,r.jsx)(a.EAD,{variant:"text",width:100,height:30})}),(0,r.jsx)(a.azJ,{display:"flex",justifyContent:"center",children:(0,r.jsx)(a.EAD,{variant:"text",width:150,height:60,sx:{my:1}})}),(0,r.jsx)(a.azJ,{display:"flex",justifyContent:"center",children:(0,r.jsx)(a.EAD,{variant:"text",width:150,height:25})}),(0,r.jsx)(a.azJ,{display:"flex",justifyContent:"center",children:(0,r.jsx)(a.EAD,{variant:"text",width:200,height:25})}),(0,r.jsx)(a.cGx,{sx:{my:2}}),(0,r.jsx)(a.EAD,{variant:"text",width:150,height:25}),(0,r.jsx)(a.EAD,{variant:"text",width:180,height:25}),(0,r.jsx)(a.EAD,{variant:"text",width:280,height:25}),(0,
1r.jsx)(a.EAD,{variant:"text",width:250,height:25}),(0,r.jsx)(a.cGx,{sx:{my:2}}),(0,r.jsx)(a.EAD,{variant:"text",width:150,height:30}),(0,r.jsx)(a.vu3,{size:"small",label:(0,r.jsx)(a.EAD,{variant:"text",width:80,height:20}),sx:{mb:2}}),(0,r.jsx)(a.$nd,{variant:"contained",fullWidth:!0,endIcon:(0,r.jsx)(i.j0,{}),sx:{borderRadius:2,fontWeight:"bold"},disabled:!0,children:e("DISPLAY_STRINGS.SUBSCRIBE_NOW")})]})})}},70459:function(e,n,t){t.d(n,{Kl:function(){return A},L_:function(){return w},O5:function(){return x},Uu:function(){return p},Xt:function(){return f},bX:function(){return b},d7:function(){return v},d_:function(){return y},jO:function(){return h},nA:function(){return j},pc:function(){return g},rO:function(){return m},vp:function(){return S}});var r=t(28520),a=t(23900),o=t(6765),i=t(71768),l=t(42317),s=function(e,n,t,r){return new(t||(t=Promise))((function(a,o){function i(e){try{s(r.next(e))}catch(e){o(e)}}function l(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var n;e.done?a(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,l)}s((r=r.apply(e,n||[])).next())}))},c=function(e,n){var t,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){return function(l){if(t)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(o=0)),o;)try{if(t=1,r&&(a=2&l[0]?r.return:l[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;switch(r=0,a&&(l=[2&l[0],a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}if(6===l[0]&&o.label<a[1]){o.label=a[1],a=l;break}
1if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=n.call(e,o)}catch(e){l=[6,e],r=0}finally{t=a=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}};function d(e){return"/".concat((0,l.QW)()).concat(e)}function u(){var e=(0,i._)();e&&(o.uE.defaults.headers.common["X-CSRFToken"]=e)}function h(e){var n,t,a;if(r.A.isAxiosError(e)){var o=null===(n=e.response)||void 0===n?void 0:n.data;return{fieldErrors:(null===(t=null==o?void 0:o.errors)||void 0===t?void 0:t.fieldErrors)||{},nonFieldErrors:(null===(a=null==o?void 0:o.errors)||void 0===a?void 0:a.nonFieldErrors)||[]}}return{fieldErrors:{},nonFieldErrors:["Something went wrong. Please try again."]}}function x(){return s(this,void 0,Promise,(function(){return c(this,(function(e){switch(e.label){case 0:return[4,o.uE.get(d("/user/api/v1/auth/login/config/"),{params:{next:new URLSearchParams(window.location.search).get("next")||void 0}})];case 1:return[2,e.sent().data.data]}}))}))}function b(){return s(this,void 0,Promise,(function(){return c(this,(function(e){switch(e.label){case 0:return[4,o.uE.get(d("/user/api/v1/auth/signup/config/"),{params:{next:new URLSearchParams(window.location.search).get("next")||void 0}})];case 1:return[2,e.sent().data.data]}}))}))}function f(){return s(this,void 0,Promise,(function(){return c(this,(function(e){switch(e.label){case 0:return[4,o.uE.get(d("/user/api/v1/auth/utility-config/"))];case 1:return[2,e.sent().data.data]}}))}))}function p(e){return s(this,void 0,Promise,(function(){var n;return c(this,(function(t){switch(t.label){case 0:return u(),[4,o.uE.post(d("/user/api/v1/auth/login/"),e,{params:{next:new URLSearchParams(window.location.search).get("next")||void 0}})];case 1:return(n=t.sent()).data.data.requiresTwoFactor||a.q.clear(),[2,n.data.data]}}))}))}function g(e){return s(this,void 0,Promise,(function(){return c(this,(function(n){switch(n.label){case 0:return u(),[4,o.uE.post(d("/user/api/v1/auth/signup/"),e,{params:{next:new URLSearchParams(window.location.search).get("next")||void 0}})];case 1:return[2,n.sent().data.data]}}))}))}function m(){return s(this,void 0,Promise,(function(){var e;return c(this,(function(n){switch(n.label){case 0:return u(),[4,o.uE.post(d("/user/api/v1/auth/logout/"),{})];case 1:return e=n.sent(),a.q.clear(),[2,e.data.data]}}))}))}function v(e){return s(this,void 0,Promise,(function(){return c(this,(function(n){switch(n.label){case 0:return u(),[4,o.uE.post(d("/user/api/v1/auth/password-reset/"),{email:e})];case 1:return[2,n.sent().data.data]}}))}))}function y(e){return s(this,void 0,Promise,(function(){return c(this,(function(n){switch(n.label){case 0:return[4,o.uE.get(d("/user/api/v1/auth/password-reset/key/state/"),{params:{resetToken:e}})];case 1:return[2,n.sent().data.data]}}))}))}function A(e,n,t){return s(this,void 0,Promise,(function(){return c(this,(function(r){switch(r.label){case 0:return u(),[4,o.uE.post(d("/user/api/v1/auth/password-reset/key/"),{resetToken:e,password1:n,password2:t})];case 1:return[2,r.sent().data.data]}}))}))}function S(e,n){return s(this,void 0,Promise,(function(){var t;return c(this,(function(r){switch(r.label){case 0:return u(),[4,o.uE.post(d("/user/api/v1/auth/two-factor/verify/".concat(e,"/")),{token:n},{params:{next:new URLSearchParams(window.location.search).get("next")||void 0}})];case 1:return t=r.sent(),a.q.clear(),[2,t.data.data]}}))}))}function j(e){return s(this,void 0,Promise,(function(){return c(this,(function(n){switch(n.label){case 0:return u(),[4,o.uE.post(d("/user/api/v1/auth/email-verification/resend/"),{email:e})];case 1:return[2,n.sent().data.data.message]}}))}))}function w(){return s(this,void 0,Promise,(function(){return c(this,(function(e){switch(e.label){case 0:return u(),[4,o.uE.post(d("/user/api/isauthenticated/"),{})];case 1:return e.sent(),[2,!0]}}))}))}},32114:function(e,n,t){t.d(n,{A:function(){return c}});var r=t(78685),a=(t(2057),t(31547)),o=t(32417),i=t(81971),l=t(7098),s=t(48356);function c(e){var n=e.fieldCount,t=e.showTerms,c=(0,s.P)(),d=c.theme,u=c.cardSkeleton,h=c.authMutedBg,x=c.authPageBg,b=c.authFooterBg,f
1=c.authBrandPanelBg,p=c.authBrandCardBg,g=c.raisedSurface,m=(0,l.X4)(d.palette.text.primary,"dark"===d.palette.mode?.18:.08),v=(0,l.X4)(d.palette.text.primary,"dark"===d.palette.mode?.22:.1);return(0,r.jsxs)(a.A,{sx:{minHeight:"100vh",display:"grid",gridTemplateRows:"1fr auto",bgcolor:h},children:[(0,r.jsxs)(a.A,{className:"auth-main-container",sx:{display:"flex",flexDirection:"row",alignItems:"stretch",minHeight:{xs:"100vh",md:"92vh"}},children:[(0,r.jsx)(a.A,{className:"auth-branding-section",sx:{display:{xs:"none",md:"flex"},flex:"0 0 66.6667%",width:"66.6667%",background:f,position:"relative",overflow:"hidden",alignItems:"center",justifyContent:"center","&::before":{content:'""',position:"absolute",inset:"8% 10% auto auto",width:220,height:220,borderRadius:"50%",background:"dark"===d.palette.mode?(0,l.X4)(d.palette.common.white,.08):"rgba(255,255,255,0.28)",filter:"blur(6px)"},"&::after":{content:'""',position:"absolute",left:"10%",bottom:"10%",width:280,height:280,borderRadius:"50%",background:(0,l.X4)(d.palette.primary.main,"dark"===d.palette.mode?.14:.08),filter:"blur(10px)"}},children:(0,r.jsx)(o.A,{spacing:2.5,sx:{width:"min(920px, 84%)",mx:"auto",position:"relative",zIndex:1},children:(0,r.jsx)(a.A,{sx:{display:"grid",gridAutoFlow:"column",gridAutoColumns:{md:"calc((100% - 24px) / 2)",lg:"calc((100% - 48px) / 3)",xl:"calc((100% - 72px) / 4)"},gap:3,alignItems:"stretch",justifyContent:"center"},children:Array.from({length:3}).map((function(e,n){return(0,r.jsx)(a.A,{sx:{width:"100%",minHeight:236,p:4,borderRadius:"20px",bgcolor:p,boxShadow:"rgba(60, 64, 67, 0.24) 0px 2px 8px 0px, rgba(60, 64, 67, 0.12) 0px 6px 18px 0px"},children:(0,r.jsxs)(o.A,{spacing:3,sx:{height:"100%",justifyContent:"space-between"},children:[(0,r.jsxs)(a.A,{children:[(0,r.jsx)(i.A,{variant:"text",width:"100%",height:30,sx:{bgcolor:m}}),(0,r.jsx)(i.A,{variant:"text",width:1===n?"92%":"96%",height:30,sx:{bgcolor:m}}),(0,r.jsx)(i.A,{variant:"text",width:1===n?"70%":2===n?"68%":"74%",height:30,sx:{bgcolor:m}})]}),(0,r.jsxs)(a.A,{sx:{display:"flex",alignItems:"center",gap:1.75},children:[(0,r.jsx)(i.A,{variant:"circular",width:46,height:46,sx:{bgcolor:v,flexShrink:0}}),(0,r.jsx)(a.A,{sx:{display:"grid",gap:.4,minWidth:0},children:(0,r.jsx)(i.A,{variant:"text",width:0===n?96:1===n?82:88,height:22,sx:{bgcolor:v}})})]})]})},n)}))})})}),(0,r.jsx)(a.A,{className:"auth-form-section",sx:{flex:{xs:"1 1 100%",md:"0 0 33.3333%"},width:{xs:"100%",md:"33.3333%"},bgcolor:x},children:(0,r.jsx)(a.A,{id:"layoutAuthentication_content",sx:{width:"100%"},children:(0,r.jsx)("main",{children:(0,r.jsx)(a.A,{className:"row justify-content-center",children:(0,r.jsxs)(a.A,{className:"my-5",sx:{width:"100%",maxWidth:520},children:[(0,r.jsxs)(a.A,{className:"px-5 pt-3",children:[(0,r.jsx)(a.A,{className:"logo text-center",sx:{display:"flex",justifyContent:"center"},children:(0,r.jsx)(i.A,{variant:"rounded",width:56,height:56,sx:{bgcolor:u,borderRadius:2}})}),(0,r.jsx)(a.A,{className:"p-2 text-center",children:(0,r.jsx)(i.A,{variant:"text",width:"56%",height:40,sx:{mx:"auto",bgcolor:u}})}),(0,r.jsx)("form",{children:(0,r.jsxs)(o.A,{spacing:2,children:[Array.from({length:n}).map((function(e,t){return(0,r.jsxs)(a.A,{sx:{height:54,borderRadius:1.5,border:"1px solid transparent",bgcolor:g,display:"flex",alignItems:"center",px:1.5,gap:1.25},children:[(0,r.jsx)(i.A,{variant:"circular",width:18,height:18,sx:{bgcolor:u,flexShrink:0}}),(0,r.jsx)(a.A,{sx:{width:1,height:30,bgcolor:(0,l.X4)(d.palette.primary.main,"dark"===d.palette.mode?.16:.08),flexShrink:0}}),(0,r.jsx)(i.A,{variant:"text",width:0===t?3===n?"34%":"42%":1===t?"40%":"36%",height:18,sx:{bgcolor:u}}),t===n-1?(0,r.jsx)(i.A,{variant:"circular",width:18,height:18,sx:{bgcolor:u,ml:"auto",flexShrink:0}}):null]},t)})),t?(0,r.jsxs)(a.A,{sx:{pt:.25},children:[(0,r.jsx)(i.A,{variant:"text",width:"94%",height:20,sx:{bgcolor:u}}),(0,r.jsx)(i.A,{variant:"text",width:"82%",height:20,sx:{bgcolor:u}})]}):null,(0,r.jsx)(i.A,{variant:"rounded",height:48,sx:{bgcolor:u,borderRadius:1.5,mt:1}})]})})]}),(0,r.jsxs)(a.A,{className:"px-5 my-3 d-flex justify-content-between",children:[(0,r.jsx)(i.A,{variant:"text",width:120,height:20,sx:{bgcolor:u}}),(0,r.jsx)(i.A,{variant:"text",width:108,height:20,sx:{bgcolor:u}})]}),(0,r.jsx)(a.A,{className:"px-5",sx:{pt:2},children:(0,r.jsxs)(o.A,{spacing:2,children:[(0,r.jsxs)(a.A,{sx:{display:"flex",alignItems:"center",gap:1},children:[(0,r.jsx)(i.A,{variant:"text",width:"100%",height:18,sx:{bgcolor:u}}),(0,r.jsx)(i.A,{variant:"text",width:24,height:18,sx:{bgcolor:u}}),(0,r.jsx)(i.A,{variant:"text",width:"100%",height:18,sx:{bgcolor:u}})]}),(0,r.jsx)(i.A,{variant:"rounded",height:46,sx:{bgcolor:u,borderRadius:1.5}})]})})]})})})})})]}),(0,r.jsx)(a.A,{sx:{minHeight:{xs:0,md:"8vh"},px:{xs:3,md:4},py:{xs:2,md:2.5},bgcolor:b,display:{xs:"none",md:"block"}},children:(0,r.jsxs)(a.A,{sx:{maxWidth:1320,mx:"auto",display:"flex",justifyContent:"space-between",gap:2},children:[(0,r.jsx)(i.A,{variant:"text",width:220,height:22,sx:{bgcolor:u}}),(0,r.jsx)(i.A,{variant:"text",width:200,height:22,sx:{bgcolor:u}})]})})]})}},61834:function(e,n,t){t.d(n,{A:function(){return u}});var r=t(78685),a=(t(2057),t(31547)),o=t(32417),i=t(81971),l=t(63809),s=t(36206),c=t(7098),d=t(48356);
1function u(e){var n=e.copyLines,t=void 0===n?["72%","92%","68%"]:n,u=e.fieldCount,h=void 0===u?0:u,x=e.showActionButtons,b=void 0!==x&&x,f=e.showSecondaryLink,p=void 0!==f&&f,g=e.showMailActions,m=void 0!==g&&g,v=e.showDivider,y=void 0!==v&&v,A=e.formPanel,S=void 0!==A&&A,j=(0,d.P)(),w=j.theme,E=j.cardSkeleton,L=j.authMutedBg,_=j.authPageBg,C=j.authFooterBg,I=j.authBrandPanelBg,T=j.authBrandCardBg,O=j.authCardHeaderBg,R=j.raisedSurface,k=(0,c.X4)(w.palette.text.primary,"dark"===w.palette.mode?.14:.06);return S?(0,r.jsxs)(a.A,{id:"layoutAuthentication",sx:{minHeight:"100vh",display:"grid",gridTemplateRows:"1fr auto",bgcolor:L},children:[(0,r.jsxs)(a.A,{className:"auth-main-container",sx:{display:"flex",minHeight:{xs:"100vh",md:"92vh"}},children:[(0,r.jsx)(a.A,{className:"auth-branding-section",sx:{display:{xs:"none",md:"flex"},flex:"0 0 66.6667%",alignItems:"center",justifyContent:"center",background:I},children:(0,r.jsx)(a.A,{sx:{width:"84%",display:"grid",gridTemplateColumns:"repeat(3, minmax(0, 1fr))",gap:3},children:Array.from({length:3}).map((function(e,n){return(0,r.jsxs)(a.A,{sx:{minHeight:236,p:4,borderRadius:2.5,bgcolor:T,display:"flex",flexDirection:"column",justifyContent:"space-between"},children:[(0,r.jsxs)(o.A,{spacing:.75,children:[(0,r.jsx)(i.A,{variant:"text",height:30,sx:{bgcolor:k}}),(0,r.jsx)(i.A,{variant:"text",width:"90%",height:30,sx:{bgcolor:k}}),(0,r.jsx)(i.A,{variant:"text",width:"68%",height:30,sx:{bgcolor:k}})]}),(0,r.jsx)(i.A,{variant:"circular",width:46,height:46,sx:{bgcolor:E}})]},n)}))})}),(0,r.jsx)(a.A,{className:"auth-form-section",sx:{flex:{xs:"1 1 100%",md:"0 0 33.3333%"},width:{xs:"100%",md:"33.3333%"},bgcolor:_},children:(0,r.jsxs)(o.A,{sx:{width:"100%",maxWidth:430,mx:"auto",px:3},spacing:2,children:[(0,r.jsx)(i.A,{variant:"rounded",width:56,height:56,sx:{mx:"auto",bgcolor:E}}),(0,r.jsx)(i.A,{variant:"text",width:"58%",height:38,sx:{mx:"auto",bgcolor:E}}),t.map((function(e,n){return(0,r.jsx)(i.A,{variant:"text",width:e,height:20,sx:{mx:"auto",bgcolor:k}},n)})),Array.from({length:h}).map((function(e,n){return(0,r.jsx)(i.A,{variant:"rounded",height:46,sx:{bgcolor:R}},n)})),b?(0,r.jsx)(i.A,{variant:"rounded",height:46,sx:{bgcolor:E}}):null,p||!b?(0,r.jsx)(i.A,{variant:"text",width:112,height:20,sx:{mx:"auto",bgcolor:E}}):null]})})]}),(0,r.jsx)(a.A,{sx:{minHeight:{xs:0,md:"8vh"},bgcolor:C}})]}):(0,r.jsx)(a.A,{id:"layoutAuthentication",sx:{minHeight:"100vh",bgcolor:_},children:(0,r.jsx)(a.A,{sx:{minHeight:"92vh"},children:(0,r.jsx)("main",{children:(0,r.jsx)(a.A,{sx:{px:2,pt:{xs:3,md:6},pb:4},children:(0,r.jsx)(a.A,{sx:{maxWidth:1280,mx:"auto"},children:(0,r.jsx)(a.A,{sx:{display:"flex",justifyContent:"center"},children:(0,r.jsx)(a.A,{sx:{width:"100%",maxWidth:760},children:(0,r.jsxs)(l.A,{elevation:0,sx:{border:0,borderRadius:"18px",overflow:"hidden",boxShadow:"0 20px 50px rgba(8, 19, 45, 0.18)",bgcolor:R},children:[(0,r.jsxs)(a.A,{sx:{px:{xs:2,md:3},py:{xs:1.5,md:2},display:"flex",alignItems:"center",justifyContent:"space-between",gap:2,background:O},children:[(0,r.jsx)(i.A,{variant:"text",width:"34%",height:34,sx:{bgcolor:E}}),(0,r.jsx)(i.A,{variant:"rounded",width:84,height:32,sx:{bgcolor:E}})]}),(0,r.jsx)(s.A,{sx:{p:{xs:2.25,md:3}},children:(0,r.jsxs)(o.A,{spacing:2,children:[t.map((function(e,n){return(0,r.jsx)(i.A,{variant:"text",width:e,height:22,sx:{bgcolor:k}},"copy-".concat(n))})),m?(0,r.jsx)(a.A,{sx:{display:"grid",gridTemplateColumns:{xs:"1fr",sm:"repeat(2, minmax(0, 1fr))"},gap:1.25,pt:1},children:Array.from({length:4}).map((function(e,n){return(0,r.jsx)(i.A,{variant:"rounded",height:40,sx:{bgcolor:E}},"mail-".concat(n))}))}):null,y?(0,r.jsx)(i.A,{variant:"text",width:"100%",height:10,sx:{bgcolor:k}}):null,h>0?(0,r.jsx)(o.A,{spacing:1.5,sx:{pt:.5,maxWidth:512},children:Array.from({length:h}).map((function(e,n){return(0,r.jsxs)(o.A,{spacing:.75,children:[(0,r.jsx)(i.A,{variant:"text",width:"".concat(24+8*n,"%"),height:18,sx:{bgcolor:E}}),(0,r.jsx)(i.A,{variant:"rounded",height:48,sx:{bgcolor:E}})]},"field-".concat(n))}))}):null,b?(0,r.jsxs)(o.A,{direction:{xs:"column",sm:"row"},spacing:1.25,sx:{pt:1,justifyContent:"space-between",alignItems:{sm:"center"}},children:[(0,r.jsx)(i.A,{variant:"rounded",width:180,height:44,sx:{bgcolor:E}}),p?(0,r.jsx)(i.A,{variant:"text",width:110,height:20,sx:{bgcolor:E}}):null]}):null,!b&&p?(0,r.jsx)(i.A,{variant:"text",width:96,height:20,sx:{bgcolor:E}}):null]})})]})})})})})})})})}},41355:function(e,n,t){t.d(n,{A:function(){return c}});var r=t(78685),a=(t(2057),t(31547)),o=t(32417),i=t(81971),l=t(7098),s=t(48356);function c(){var e=(0,s.P)(),n=e.theme,t=e.cardSkeleton,c=e.authMutedBg,d=e.authPageBg,u=e.authFooterBg,h=e.authBrandPanelBg,x=e.authBrandCardBg,b=e.raisedSurface,f=(0,l.X4)(n.palette.text.primary,"dark"===n.palette.mode?.18:.08),p=(0,l.X4)(n.palette.text.primary,"dark"===n.palette.mode?.22:.1);return(0,r.jsxs)(a.A,{id:"layoutAuthentication",sx:{colorScheme:n.palette.mode,minHeight:"100vh",display:"grid",gridTemplateRows:"1fr auto",bgcolor:c},children:[(0,r.jsxs)(a.A,{className:"auth-main-container",sx:{dis
1play:"flex",flexDirection:"row",alignItems:"stretch",minHeight:{xs:"100vh",md:"92vh"}},children:[(0,r.jsx)(a.A,{className:"auth-branding-section",sx:{display:{xs:"none",md:"flex"},flex:"0 0 66.6667%",width:"66.6667%",alignItems:"center",justifyContent:"center",position:"relative",overflow:"hidden",background:h,"&::before":{content:'""',position:"absolute",inset:"8% 10% auto auto",width:220,height:220,borderRadius:"50%",background:"dark"===n.palette.mode?(0,l.X4)(n.palette.common.white,.08):"rgba(255,255,255,0.32)",filter:"blur(6px)"},"&::after":{content:'""',position:"absolute",left:"10%",bottom:"10%",width:280,height:280,borderRadius:"50%",background:(0,l.X4)(n.palette.primary.main,"dark"===n.palette.mode?.14:.08),filter:"blur(10px)"}},children:(0,r.jsx)(o.A,{spacing:2.5,sx:{width:"min(920px, 84%)",mx:"auto",position:"relative",zIndex:1},children:(0,r.jsx)(a.A,{sx:{display:"grid",gridAutoFlow:"column",gridAutoColumns:{md:"calc((100% - 24px) / 2)",lg:"calc((100% - 48px) / 3)",xl:"calc((100% - 72px) / 4)"},gap:3,alignItems:"stretch",justifyContent:"center"},children:Array.from({length:3}).map((function(e,n){return(0,r.jsx)(a.A,{sx:{width:"100%",minHeight:236,p:4,borderRadius:"20px",bgcolor:x,boxShadow:"rgba(60, 64, 67, 0.24) 0px 2px 8px 0px, rgba(60, 64, 67, 0.12) 0px 6px 18px 0px"},children:(0,r.jsxs)(o.A,{spacing:3,sx:{height:"100%",justifyContent:"space-between"},children:[(0,r.jsxs)(a.A,{children:[(0,r.jsx)(i.A,{variant:"text",width:"100%",height:30,sx:{bgcolor:f}}),(0,r.jsx)(i.A,{variant:"text",width:1===n?"92%":"96%",height:30,sx:{bgcolor:f}}),(0,r.jsx)(i.A,{variant:"text",width:1===n?"70%":2===n?"68%":"74%",height:30,sx:{bgcolor:f}})]}),(0,r.jsxs)(a.A,{sx:{display:"flex",alignItems:"center",gap:1.75},children:[(0,r.jsx)(i.A,{variant:"circular",width:46,height:46,sx:{bgcolor:p,flexShrink:0}}),(0,r.jsx)(a.A,{sx:{display:"grid",gap:.4,minWidth:0},children:(0,r.jsx)(i.A,{variant:"text",width:0===n?96:1===n?82:88,height:22,sx:{bgcolor:p}})})]})]})},n)}))})})}),(0,r.jsx)(a.A,{className:"auth-form-section",sx:{flex:{xs:"1 1 100%",md:"0 0 33.3333%"},width:{xs:"100%",md:"33.3333%"},bgcolor:d},children:(0,r.jsx)(a.A,{id:"layoutAuthentication_content",sx:{width:"100%"},children:(0,r.jsx)("main",{children:(0,r.jsx)(a.A,{className:"row justify-content-center",children:(0,r.jsxs)(a.A,{className:"my-5",sx:{width:"100%",maxWidth:520},children:[(0,r.jsxs)(a.A,{className:"px-5 pt-5",children:[(0,r.jsx)(a.A,{className:"logo text-center",sx:{display:"flex",justifyContent:"center"},children:(0,r.jsx)(i.A,{variant:"rounded",width:56,height:56,sx:{bgcolor:t,borderRadius:2}})}),(0,r.jsx)(a.A,{className:"p-2 text-center",children:(0,r.jsx)(i.A,{variant:"text",width:"48%",height:40,sx:{mx:"auto",bgcolor:t}})}),(0,r.jsxs)(o.A,{spacing:2,children:[Array.from({length:2}).map((function(e,o){return(0,r.jsxs)(a.A,{sx:{height:54,borderRadius:1.5,border:"1px solid transparent",bgcolor:b,display:"flex",alignItems:"center",px:1.5,gap:1.25},children:[(0,r.jsx)(i.A,{variant:"circular",width:18,height:18,sx:{bgcolor:t,flexShrink:0}}),(0,r.jsx)(a.A,{sx:{width:1,height:30,bgcolor:(0,l.X4)(n.palette.primary.main,"dark"===n.palette.mode?.16:.08),flexShrink:0}}),(0,r.jsx)(i.A,{variant:"text",width:0===o?"42%":"36%",height:18,sx:{bgcolor:t}}),1===o?(0,r.jsx)(i.A,{variant:"circular",width:18,height:18,sx:{bgcolor:t,ml:"auto",flexShrink:0}}):null]},o)})),(0,r.jsx)(a.A,{sx:{display:"flex",justifyContent:"flex-start",pt:.25},children:(0,r.jsx)(i.A,{variant:"text",width:132,height:20,sx:{bgcolor:t}})}),(0,r.jsx)(i.A,{variant:"rounded",height:46,sx:{bgcolor:t,borderRadius:1.5,mt:1}}),(0,r.jsxs)(a.A,{sx:{display:"flex",justifyContent:"space-between",gap:2},children:[(0,r.jsx)(i.A,{variant:"text",width:120,height:20,sx:{bgcolor:t}}),(0,r.jsx)(i.A,{variant:"text",width:108,height:20,sx:{bgcolor:t}})]})]})]}),(0,r.jsx)(a.A,{className:"px-5",sx:{pt:2},children:(0,r.jsxs)(o.A,{spacing:2,children:[(0,r.jsxs)(a.A,{sx:{display:"flex",alignItems:"center",gap:1},children:[(0,r.jsx)(i.A,{variant:"text",width:"100%",height:18,sx:{bgcolor:t}}),(0,r.jsx)(i.A,{variant:"text",width:24,height:18,sx:{bgcolor:t}}),(0,r.jsx)(i.A,{variant:"text",width:"100%",height:18,sx:{bgcolor:t}})]}),(0,r.jsx)(i.A,{variant:"rounded",height:46,sx:{bgcolor:t,borderRadius:1.5}})]})})]})})})})})]}
1),(0,r.jsx)(a.A,{className:"auth-footer-section",sx:{display:{xs:"none",md:"block"},bgcolor:u,borderTop:"1px solid transparent"},children:(0,r.jsxs)(a.A,{sx:{maxWidth:1320,mx:"auto",px:4,py:2.5,display:"flex",justifyContent:"space-between",gap:2},children:[(0,r.jsx)(i.A,{variant:"text",width:220,height:22,sx:{bgcolor:t}}),(0,r.jsx)(i.A,{variant:"text",width:200,height:22,sx:{bgcolor:t}})]})})]})}},36014:function(e,n,t){var r=t(78685),a=(t(2057),t(78166)),o=t(50259),i=t(16657);n.A=function(){var e=(0,i.Bd)().t;return(0,r.jsx)(a.aTG,{icon:(0,r.jsx)(o.A,{}),heading:e("DISPLAY_STRINGS.BILLING_USAGE_SETTINGS")})}},8920:function(e,n,t){var r=t(78685),a=(t(2057),t(78166)),o=t(36014);n.A=function(e){var n=e.showHeader,t=void 0===n||n;return(0,r.jsxs)(a.azJ,{sx:{pb:4},children:[t?(0,r.jsx)(o.A,{}):null,(0,r.jsxs)(a.KGj,{children:[(0,r.jsx)(a.azJ,{sx:{mt:3,display:"flex",gap:3,borderBottom:1,borderColor:"divider",px:2},children:[80,80,96].map((function(e,n){return(0,r.jsx)(a.EAD,{variant:"text",width:e,height:24,sx:{my:1.25}},"tab-".concat(n))}))}),(0,r.jsx)(a.azJ,{sx:{mt:3},children:(0,r.jsxs)(a.fPr,{container:!0,spacing:2,children:[(0,r.jsx)(a.fPr,{size:{xs:12,md:6},children:(0,r.jsx)(a.ZpM,{variant:"outlined",children:(0,r.jsxs)(a.Wux,{sx:{minHeight:220},children:[(0,r.jsx)(a.EAD,{variant:"text",width:180,height:36}),(0,r.jsx)(a.EAD,{variant:"text",width:140,height:24}),(0,r.jsx)(a.EAD,{variant:"rounded",width:110,height:32,sx:{mt:2,mb:3}}),(0,r.jsx)(a.EAD,{variant:"rounded",height:96})]})})}),(0,r.jsx)(a.fPr,{size:{xs:12,md:6},children:(0,r.jsx)(a.ZpM,{variant:"outlined",children:(0,r.jsxs)(a.Wux,{sx:{minHeight:220},children:[(0,r.jsx)(a.EAD,{variant:"text",width:200,height:36}),(0,r.jsx)(a.EAD,{variant:"text",width:150,height:24}),(0,r.jsx)(a.EAD,{variant:"rounded",height:120,sx:{mt:2}})]})})}),(0,r.jsx)(a.fPr,{size:12,children:(0,r.jsx)(a.ZpM,{variant:"outlined",children:(0,r.jsxs)(a.Wux,{sx:{minHeight:220},children:[(0,r.jsx)(a.EAD,{variant:"text",width:220,height:36}),(0,r.jsx)(a.EAD,{variant:"text",width:180,height:24}),(0,r.jsx)(a.EAD,{variant:"rounded",height:120,sx:{mt:2}})]})})}),(0,r.jsx)(a.fPr,{size:12,children:(0,r.jsx)(a.ZpM,{variant:"outlined",children:(0,r.jsxs)(a.Wux,{sx:{minHeight:260},children:[(0,r.jsx)(a.EAD,{variant:"text",width:220,height:36}),(0,r.jsx)(a.EAD,{variant:"text",width:180,height:24}),(0,r.jsx)(a.fPr,{container:!0,spacing:2,sx:{mt:1},children:[0,1,2].map((function(e){return(0,r.jsx)(a.fPr,{size:{xs:12,md:4},children:(0,r.jsx)(a.EAD,{variant:"rounded",height:160})},e)}))})]})})})]})})]})]})}},26165:function(e,n,t){t.d(n,{eU:function(){return o},x0:function(){return l},u5:function(){return s}});var r=t(78685),a=t(78166),o=function(){return(0,r.jsxs)(a.BJc,{direction:"row",spacing:1,sx:{px:1.25,py:1.5,borderBottom:1,borderColor:"divider"},children:[(0,r.jsx)(a.EAD,{variant:"circular",width:32,height:32}),(0,r.jsxs)(a.azJ,{sx:{flexGrow:1},children:[(0,r.jsxs)(a.BJc,{direction:"row",justifyContent:"space-between",children:[(0,r.jsx)(a.EAD,{variant:"text",width:"45%"}),(0,r.jsx)(a.EAD,{variant:"text",width:54})]}),(0,r.jsx)(a.EAD,{variant:"text",width:"72%"})]})]})},i=(t(2057),function(){return(0,r.jsxs)(a.azJ,{sx:{height:"100%",display:"flex",flexDirection:"column"},children:[(0,r.jsxs)(a.BJc,{direction:"row",alignItems:"center",spacing:1,sx:{minHeight:60,px:2,borderBottom:1,borderColor:"divider"},children:[(0,r.jsx)(a.EAD,{variant:"circular",width:36,height:36}),(0,r.jsx)(a.EAD,{variant:"text",width:130}),(0,r.jsx)(a.azJ,{sx:{flexGrow:1}}),(0,r.jsx)(a.EAD,{variant:"rounded",width:88,height:28}),(0,r.jsx)(a.EAD,{variant:"circular",width:32,height:32})]}),(0,r.jsxs)(a.azJ,{sx:{flexGrow:1,p:2,bgcolor:"background.default"},children:[(0,r.jsx)(a.EAD,{variant:"rounded",width:"60%",height:72}),(0,r.jsx)(a.EAD,{variant:"rounded",width:"52%",height:64,sx:{mt:3,ml:"auto"}})]}),(0,r.jsx)(a.azJ,{sx:{p:1.5,borderTop:1,borderColor:"divider"},children:(0,r.jsxs)(a.BJc,{direction:"row",spacing:1,sx:{width:"100%",maxWidth:780,mx:"auto"},children:[(0,r.jsx)(a.EAD,{variant:"rounded",height:40,sx:{flexGrow:1}}),(0,r.jsx)(a.EAD,{variant:"rounded",width:40,height:40})]})})]})}),l=function(){return(0,r.jsx)(i,{})},s=function(e){var n=e.showInboxTitle,t=void 0===n||n;return(0,r.jsxs)(a.azJ,{sx:{height:"calc(100dvh - 140px)",minHeight:560,bgcolor:"background.paper",border:1,borderColor:"divider",borderRadius:1,overflow:"hidden"},children:[(0,r.jsxs)(a.BJc,{direction:"row",alignItems:"center",spacing:1.5,sx:{minHeight:60,px:2,py:1,borderBottom:1,borderColor:"divider"},children:[t&&(0,r.jsx)(a.EAD,{variant:"text",width:52,height:32}),!t&&(0,r.jsx)(a.EAD,{variant:"rounded",width:240,height:36}),(0,r.jsx)(a.EAD,{variant:"rounded",width:260,height:40}),(0,r.jsx)(a.azJ,{sx:{flexGrow:1}}),[0,1].map((function(e){return(0,r.jsx)(a.EAD,{variant:"circular",width:32,height:32},e)}))]}),(0,r.jsxs)(a.azJ,{sx:{display:"flex",height:"calc(100% - 60px)"},children:[(0,r.jsxs)(a.azJ,{sx:{width:{xs:"100%",sm:340},flexShrink:0,borderRight:1,borderColor:"divider",display:"flex",flexDirection:"column",minHeight:0},children:[(0,r.jsxs)(a.BJc,{direction:"row",alignItems:"center",spacing:.5,sx:{padding:"12px",borderBottom:1,borderColor:"divider"},children:[(0,r.jsx)(a.EAD,{variant:"rounded",height:40,sx:{flexGrow:1}}),(0,r.jsx)(a.EAD,{variant:"circular",width:32,height:32}),(0,r.jsx)(a.EAD,{variant:"circular",width:32,height:32})]}),(0,r.jsx)(a.azJ,{sx:{flexGrow:1,overflow:"hidden"},children:Array.from({length:8},(function(e,n){return(0,r.jsx)(o,{},n)}))}),(0,r.jsx)(a.BJc,{direction:"row",justifyContent:"center",spacing:1,sx:{padding:"19px 10px",borderTop:1,borderColor:"divider"},children:Array.from({length:6},(function(e,n){return(0,r.jsx)(a.EAD,{variant:"circular",width:24,height:24},n)}))})]}),(0,r.jsx)(a.azJ,{sx:{display:{xs:"none",sm:"block"},flexGrow:1,minWidth:0,minHeight:0},children:(0,r.jsx)(i,{})})]})]})}},79668:function(e,n,t){t.d(n,{Sr:function(){return b},f:function(){return p},kb:function(){return f},uF:function(){return h},cG:function(){return x},ul:function(){return u}});var r=t(86591),a=t(6765),o="leadAnalytics",i="collectedLeads",l=t(21762),s=function(e,n,t,r){return new(t||(t=Promise))((function(a,o){function i(e){try{s(r.next(e))}catch(e){o(e)}}function l(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var n;e.done?a(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,l)}s((r=r.apply(e,n||[])).next())}))},c=function(e,n){var t,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){return function(l){if(t)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(o=0)),o;)try{if(t=1,r&&(a=2&l[0]?r.return:l[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;switch(r=0,a&&(l=[2&l[0],a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}
1if(6===l[0]&&o.label<a[1]){o.label=a[1],a=l;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=n.call(e,o)}catch(e){l=[6,e],r=0}finally{t=a=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}},d=function(e,n,t){if(t||2===arguments.length)for(var r,a=0,o=n.length;a<o;a++)!r&&a in n||(r||(r=Array.prototype.slice.call(n,0,a)),r[a]=n[a]);return e.concat(r||Array.prototype.slice.call(n))},u=function(e){return(0,r.I)({queryKey:[o,e],queryFn:function(){return function(e){return s(void 0,void 0,Promise,(function(){return c(this,(function(n){switch(n.label){case 0:return[4,a.Ay.get(l.n.CHATBOT.LEAD_ANALYSIS_FORM(e))];case 1:return[2,n.sent().data]}}))}))}(e)},refetchOnWindowFocus:!0,refetchOnMount:!0})},h=function(e,n){return s(void 0,void 0,Promise,(function(){return c(this,(function(t){switch(t.label){case 0:return[4,a.Ay.put(l.n.CHATBOT.LEAD_ANALYSIS_FORM(e),n)];case 1:return[2,t.sent().data]}}))}))},x=function(e,n){return void 0===n&&(n=!1),(0,r.I)({queryKey:[i,e,n?"archived":"live"],queryFn:function(){return function(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];return s(void 0,d([e],n,!0),Promise,(function(e,n){return void 0===n&&(n=!1),c(this,(function(t){switch(t.label){case 0:return[4,a.Ay.get(l.n.INTEGRATIONS.COLLECTED_LEADS(e),{params:{includeArchivedConversations:n}})];case 1:return[2,t.sent().data]}}))}))}(e,n)},refetchOnWindowFocus:!0,refetchOnMount:!0})},b=function(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];return s(void 0,d([e],n,!0),Promise,(function(e,n){var t,r,o;return void 0===n&&(n=!1),c(this,(function(i){switch(i.label){case 0:return[4,a.Ay.get(l.n.INTEGRATIONS.EXPORT_LEADS(e),{responseType:"blob",params:{includeArchivedConversations:n}})];case 1:return t=i.sent(),r=window.URL.createObjectURL(new Blob([t.data])),(o=document.createElement("a")).href=r,o.setAttribute("download","collected-leads-".concat(e,".csv")),document.body.appendChild(o),o.click(),o.remove(),[2]}}))}))},f=function(e,n){return s(void 0,void 0,Promise,(function(){return c(this,(function(t){switch(t.label){case 0:return[4,a.Ay.post(l.n.INTEGRATIONS.TEST_LEAD_NOTIFICATION(e),n)];case 1:return[2,t.sent().data.message]}}))}))},p=function(e){return s(void 0,void 0,Promise,(function(){return c(this,(function(n){switch(n.label){case 0:return[4,a.Ay.post(l.n.COMMON.RESEND_WEBHOOK(e))];case 1:return[2,n.sent().data.message]}}))}))}},14017:function(e,n,t){t.d(n,{$1:function(){return u.AV},CL:function(){return g},JK:function(){return m},O1:function(){return p},Oq:function(){return f},Wo:function(){return y},ts:function(){return v}});var r=t(78685),a=(t(2057),t(31547)),o=t(81971),i=t(63809),l=t(36206),s=t(32417),c=t(10698),d=t(48356),u=t(12088),h=t(26165);function x(e){var n=e.children,t=e.showTabs,i=void 0===t||t,l=e.showHeader,s=void 0===l||l,u=(0,d.P)(),h=u.shellSurfaceBg,x=u.cardSkeleton,b=u.surfaceBorder,f=u.surfaceShadow;return(0,r.jsxs)(a.A,{sx:{bgcolor:h,minHeight:"100vh"},children:[s?(0,r.jsx)(d.G,{}):null,(0,r.jsx)(c.A,{children:(0,r.jsxs)(a.A,{sx:{px:{xs:2,md:4},py:4},children:[(0,r.jsx)(a.A,{sx:{pt:2,mb:3},children:(0,r.jsx)(o.A,{variant:"text",width:176,height:24,sx:{bgcolor:x}})}),i?(0,r.jsx)(a.A,{sx:{mb:3,p:.75,display:"grid",gridTemplateColumns:{xs:"repeat(2, minmax(0, 1fr))",sm:"repeat(4, minmax(0, 1fr))",lg:"repeat(8, minmax(0, 1fr))"},gap:1,borderRadius:3,border:"1px solid ".concat(b),boxShadow:f,bgcolor:"background.paper"},children:Array.from({length:8}).map((function(e,n){return(0,r.jsx)(o.A,{variant:"rounded",height:42,sx:{bgcolor:x}},"tab-".concat(n))}))}):null,n]})})]})}function b(e){var n=e.height,t=(0,d.P)(),a=t.cardSkeleton,s=t.surfaceBorder,c=t.surfaceShadow;return(0,r.jsx)(i.A,{elevation:0,sx:{borderRadius:2,border:"1px solid ".concat(s),boxShadow:c},children:(0,r.jsx)(l.A,{sx:{p:2.5},children:(0,r.jsx)(o.A,{variant:"rounded",height:n,sx:{bgcolor:a}})})})}function f(){var e=(0,d.P)(),n=e.cardSkeleton,t=e.surfaceBorder,c=e.surfaceShadow;return(0,r.jsxs)(a.A,{sx:{pt:2,pb:4},children:[(0,r.jsx)(a.A,{sx:{display:"flex",justifyContent:"flex-end",mb:2},children:(0,r.jsx)(o.A,{variant:"rounded",width:220,height:42,sx:{bgcolor:n}})}),(0,r.jsx)(i.A,{elevation:0,sx:{borderRadius:2,border:"1px solid ".concat(t),boxShadow:c},children:(0,r.jsx)(l.A,{sx:{p:2.5},children:(0,r.jsxs)(s.A,{spacing:2,children:[(0,r.jsx)(o.A,{variant:"rounded",height:56,sx:{bgcolor:n}}),(0,r.jsx)(o.A,{variant:"rounded",height:148,sx:{bgcolor:n}}),(0,r.jsx)(o.A,{variant:"rounded",height:120,sx:{bgcolor:n}}),(0,r.jsxs)(a.A,{sx:{display:"flex",justifyContent:"space-between",flexWrap:"wrap",gap:1.5,pt:1},children:[(0,r.jsx)(o.A,{variant:"rounded",width:136,height:42,sx:{bgcolor:n}}),(0,r.jsx)(o.A,{variant:"rounded",width:148,height:42,sx:{bgcolor:n}})]})]})})})]})}function p(){var e=(0,d.P)(),n=e.cardSkeleton,t=e.surfaceBorder,c=e.surfaceShadow;return(0,r.jsx)(i.A,{elevation:0,sx:{borderRadius:2,border:"1px solid ".concat(t),boxShadow:c},children:(0,r.jsxs)(l.A,{sx:{p:0},children:[(0,r.jsx)(a.A,{sx:{px:2.5,py:2},children:(0,r.jsxs)(a.A,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",flexWrap:"wrap",gap:1.5},children:[(0,r.jsx)(o.A,{variant:"text",width:180,height:28,sx:{bgcolor:n}}),(0,r.jsx)(o.A,{variant:"rounded",width:160,height:40,sx:{bgcolor:n}})]})}),(0,r.jsx)(a.A,{sx:{px:2.5,pb:2.5},children:(0,r.jsx)(s.A,{spacing:1.25,children:Array.from({length:5}).map((function(e,t){return(0,r.jsx)(o.A,{variant:"rounded",height:50,sx:{bgcolor:n}},"table-row-".concat(t))}))})})]})})}function g(){var e=(0,d.P)(),n=e.cardSkeleton,t=e.surfaceBorder,c=e.surfaceShadow;return(0,r.jsx)(x,{children:(0,r.jsxs)(i.A,{elevation:0,sx:{borderRadius:2,border:"1px solid ".concat(t),boxShadow:c},children:[(0,r.jsx)(a.A,{sx:{px:2,py:1.5,borderBottom:"1px solid ".concat(t),display:"flex",gap:1},children:Array.from({length:4}).map((function(e,t){return(0,r.jsx)(o.A,{variant:"rounded",width:120,height:32,sx:{bgcolor:n,borderRadius:"6px"}},"segmented-".concat(t))}))}),(0,r.jsxs)(l.A,{sx:{p:3,"&:last-child":{pb:3}},children:[(0,r.jsxs)(a.A,{sx:{mb:2.5},children:[(0,r.jsx)(o.A,{variant:"text",width:200,height:28,sx:{bgcolor:n}}),(0,r.jsx)(o.A,{variant:"text",width:"55%",height:20,sx:{bgcolor:n,mt:.5}})]}),(0,r.jsxs)(s.A,{spacing:2,children:[(0,r.jsx)(o.A,{variant:"rounded",height:56,sx:{bgcolor:n}}),(0,r.jsx)(o.A,{variant:"rounded",height:120,sx:{bgcolor:n}}),(0,r.jsx)(o.A,{variant:"rounded",height:180,sx:{bgcolor:n}}),(0,r.jsx)(a.A,{sx:{display:"flex",justifyContent:"flex-end",pt:1},children:(0,r.jsx)(o.A,{variant:"rounded",width:120,height:40,sx:{bgcolor:n}})})]})]})]})})}function m(){var e=(0,d.P)(),n=e.cardSkeleton,t=e.surfaceBorder,c=e.surfaceShadow;return(0,r.jsx)(x,{children:(0,r.jsxs)(a.A,{sx:{display:"grid",gridTemplateColumns:{xs:"1fr",lg:"minmax(0, 1fr) minmax(360px, 1fr)"},gap:3},children:[(0,r.jsx)(i.A,{elevation:0,sx:{minHeight:800,borderRadius:2,border:"1px solid ".concat(t),boxShadow:c},children:(0,r.jsx)(l.A,{sx:{p:2.5},children:(0,r.jsxs)(s.A,{spacing:2,children:[(0,r.jsx)(o.A,{variant:"rounded",height:640,sx:{bgcolor:n}}),(0,r.jsx)(o.A,{variant:"rounded",height:110,sx:{bgcolor:n}})]})})}),(0,r.jsxs)(s.A,{spacing:2.5,children:[(0,r.jsx)(b,{height:180}),(0,r.jsx)(b,{height:220}),(0,r.jsx)(b,{height:260})]})]})})}function v(){var e=(0,d.P)().cardSkeleton;return(0,r.jsx)(x,{showTabs:!1,children:(0,r.jsxs)(s.A,{spacing:3,children:[(0,r.jsx)(a.A,{sx:{maxWidth:220},children:(0,r.jsx)(o.A,{variant:"rounded",height:40,sx:{bgcolor:e}})}),(0,r.jsx)(u.AV,{})]})})}function y(){var e=(0,d.P)().shellSurfaceBg;return(0,r.jsxs)(a.A,{sx:{bgcolor:e,minHeight:"100vh"},children:[(0,r.jsx)(d.G,{}),(0,r.jsx)(c.A,{children:(0,r.jsx)(a.A,{className:"px-4",sx:{pt:2},children:(0,r.jsx)(h.u5,{})})})]})}},39751:function(e,n,t){t.d(n,{A:function(){return c}});var r=t(78685),a=(t(2057),t(31547)),o=t(81971),i=t(32417),l=t(53630),s=t(48356);function c(){var e=(0,s.P)(),n=e.authPageBg,t=e.raisedSurface,c=e.cardSkeleton,d=e.surfaceBorder,u=(e.surfaceShadow,e.subtleSurface),h=e.tintedSurface,x=e.theme;return(0,r.jsx)(a.A,{sx:{minHeight:"100vh",bgcolor:n,px:2,py:{xs:2,md:4}},children:(0,r.jsxs)(a.A,{sx:{width:{xs:"100%",md:"50%"},ml:{xs:0,md:"25%"},mt:{xs:0,md:4}},children:[(0,r.jsxs)(a.A,{sx:{height:700,borderRadius:{xs:0,md:"15px"},border:"1px solid ".concat(d||x.palette.divider),bgcolor:u,boxShadow:"0 0 10px 0 ".concat(c),overflow:"hidden",display:"flex",flexDirection:"column"},children:[(0,r.jsxs)(a.A,{sx:{height:65,px:1.5,py:1.5,display:"flex",alignItems:"center",justifyContent:"space-between",background:"linear-gradient(135deg, ".concat(x.palette.primary.main," 0%, ").concat(x.palette.primary.dark," 100%)")},children:[(0,r.jsxs)(a.A,{sx:{display:"flex",alignItems:"center",gap:1.5,minWidth:0},children:[(0,r.jsx)(o.A,{variant:"circular",width:40,height:40,sx:{bgcolor:"rgba(255,255,255,0.24)",flexShrink:0}}),(0,r.jsxs)(a.A,{sx:{minWidth:0},children:[(0,r.jsx)(o.A,{variant:"text",width:132,height:22,sx:{bgcolor:"rgba(255,255,255,0.36)"}}),(0,r.jsx)(o.A,{variant:"text",width:92,height:18,sx:{bgcolor:"rgba(255,255,255,0.22)"}})]})]}),(0,r.jsx)(a.A,{sx:{display:"flex",alignItems:"center",gap:.5},children:Array.from({length:2}).map((function(e,n){return(0,r.jsx)(o.A,{variant:"circular",width:28,height:28,sx:{bgcolor:"rgba(255,255,255,0.24)"}},n)}))})]}),(0,r.jsxs)(a.A,{sx:{flex:1,minHeight:0,p:1.25,display:"flex",flexDirection:"column",gap:1.25,bgcolor:t},children:[(0,r.jsxs)(i.A,{spacing:1.25,sx:{flex:1},children:[(0,r.jsxs)(a.A,{sx:{display:"flex",justifyContent:"flex-start",ga
1p:1,alignItems:"flex-end"},children:[(0,r.jsx)(o.A,{variant:"circular",width:34,height:34,sx:{bgcolor:c,flexShrink:0}}),(0,r.jsx)(a.A,{sx:{maxWidth:"78%"},children:(0,r.jsx)(o.A,{variant:"rounded",height:54,width:"100%",sx:{minWidth:{xs:220,md:300},bgcolor:c,borderRadius:"6px 18px 18px 18px"}})})]}),(0,r.jsx)(a.A,{sx:{display:"flex",justifyContent:"flex-end"},children:(0,r.jsx)(o.A,{variant:"rounded",height:44,sx:{width:{xs:"58%",md:"48%"},bgcolor:h,borderRadius:"18px 6px 18px 18px"}})}),(0,r.jsxs)(a.A,{sx:{display:"flex",justifyContent:"flex-start",gap:1,alignItems:"flex-start"},children:[(0,r.jsx)(o.A,{variant:"circular",width:34,height:34,sx:{bgcolor:c,flexShrink:0}}),(0,r.jsx)(a.A,{sx:{width:{xs:"78%",md:"68%"}},children:(0,r.jsx)(o.A,{variant:"rounded",height:88,sx:{width:"100%",bgcolor:c,borderRadius:"6px 18px 18px 18px"}})})]}),(0,r.jsx)(a.A,{sx:{display:"flex",justifyContent:"center",pt:.5},children:(0,r.jsx)(a.A,{sx:{display:"flex",gap:1,flexWrap:"wrap",justifyContent:"center"},children:[86,104,94].map((function(e,n){return(0,r.jsx)(o.A,{variant:"rounded",width:e,height:30,sx:{bgcolor:x.palette.background.paper,borderRadius:999}},n)}))})})]}),(0,r.jsxs)(a.A,{sx:{flexShrink:0},children:[(0,r.jsx)(a.A,{sx:{px:.5,pb:1},children:(0,r.jsxs)(a.A,{sx:{display:"flex",alignItems:"center",gap:1,p:1.25,borderRadius:1.5,border:"1px solid ".concat(d||x.palette.divider),bgcolor:x.palette.background.paper},children:[(0,r.jsx)(o.A,{variant:"text",width:"100%",height:22,sx:{bgcolor:c}}),(0,r.jsx)(o.A,{variant:"circular",width:24,height:24,sx:{bgcolor:c,flexShrink:0}}),(0,r.jsx)(o.A,{variant:"circular",width:24,height:24,sx:{bgcolor:h,flexShrink:0}})]})}),(0,r.jsx)(l.A,{sx:{borderColor:d||x.palette.divider}}),(0,r.jsx)(a.A,{sx:{py:1,px:2},children:(0,r.jsx)(o.A,{variant:"text",width:"44%",height:16,sx:{bgcolor:c,mx:"auto"}})})]})]})]}),(0,r.jsx)(o.A,{variant:"rounded",height:42,sx:{mt:1.5,width:"100%",bgcolor:h,borderRadius:2}})]})})}},35623:function(e,n,t){t.d(n,{A:function(){return i}});var r=t(78685),a=(t(2057),t(78166)),o=function(){return(0,r.jsx)(a.fPr,{size:{xl:4,lg:6,md:6,sm:12,xs:12},children:(0,r.jsxs)(a.ZpM,{className:"w-100",sx:{border:1,borderColor:"divider",boxShadow:"0px 0px 5px rgba(0, 0, 0, 0.1)"},children:[(0,r.jsxs)(a.azJ,{sx:{p:1,bgcolor:"action.hover"},children:[(0,r.jsx)(a.azJ,{sx:{position:"relative"},children:(0,r.jsxs)(a.azJ,{sx:{position:"absolute",top:0,right:0,display:"flex",gap:1},children:[(0,r.jsx)(a.EAD,{variant:"rounded",width:72,height:19}),(0,r.jsx)(a.EAD,{variant:"rounded",width:48,height:19})]})}),(0,r.jsx)(a.azJ,{sx:{px:"70px",py:"35px",display:"flex",justifyContent:"center"},children:(0,r.jsxs)(a.azJ,{sx:{width:"100%",maxWidth:230,border:1,borderColor:"divider",borderRadius:"10px",bgcolor:"background.paper",overflow:"hidden"},children:[(0,r.jsxs)(a.azJ,{sx:{display:"flex",alignItems:"center",gap:1,p:1,bgcolor:"action.selected"},children:[(0,r.jsx)(a.EAD,{variant:"circular",width:25,height:25}),(0,r.jsx)(a.EAD,{variant:"text",width:78,height:14})]}),(0,r.jsxs)(a.azJ,{sx:{px:2,py:1,pb:2},children:[(0,r.jsx)(a.EAD,{variant:"rounded",width:120,height:20,sx:{mb:1}}),(0,r.jsx)(a.EAD,{variant:"rounded",width:120,height:20,sx:{ml:"auto"}})]})]})})]}),(0,r.jsx)(a.aRn,{sx:{bgcolor:"background.paper",pb:2},avatar:(0,r.jsx)(a.EAD,{variant:"circular",width:40,height:40}),action:(0,r.jsx)(a.EAD,{variant:"circular",width:32,height:32}),title:(0,r.jsx)(a.EAD,{variant:"text",width:"45%",height:22}),subheader:(0,r.jsx)(a.EAD,{variant:"text",width:150,height:18})})]})})};var i=function(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o,{}),(0,r.jsx)(o,{}),(0,r.jsx)(o,{}),(0,r.jsx)(o,{}),(0,r.jsx)(o,{}),(0,r.jsx)(o,{})]})}},51007:function(e,n,t){t.d(n,{K:function(){return h}});var r=t(78685),a=t(2057),o=t(31533),i=t(50143),l="light";function s(e){return"dark"===e||e.endsWith("-theme")}var c=0,d=[],u=!1;function h(e){var n=e.children;return(0,a.useEffect)((function(){var e=document.body;return 0===c&&((d=Array.from(e.classList).filter(s)).forEach((function(n){return e.classList.remove(n)})),(u=!e.classList.contains(l))&&e.classList.add(l)),c+=1,function(){(c=Math.max(0,c-1))>0||(u&&document.body.classList.remove(l),d.forEach((function(e){return document.body.classList.add(e)})),d=[],u=!1)}}),[]),(0,r.jsx)(i.R,{forcedThemeMode:"light",children:(0,r.jsx)(o.A,{enableColorScheme:!1,sx:{minHeight:"100vh",backgroundColor:"transparent",color:"text.primary"},children:n})})}},43186:function(e,n,t){t.r(n),t.d(n,{NotFoundPage:function(){return u}});var r=t(78685),a=(t(2057),t(31547)),o=t(13066),i=t(97340),l=t(10838),s=t(81170),c=t(17e3),d=t(59589);function u(){return(0,r.jsx)(a.A,{id:"layoutError",sx:{backgroundColor:"#fff",minHeight:"100vh"},children:(0,r.jsx)(a.A,{id:"layoutError_content",children:(0,r.jsx)(a.A,{component:"main",children:(0,r.jsx)(o.A,{maxWidth:"xl",sx:{px:3},children:(0,r.jsx)(a.A,{sx:{display:"flex",justifyContent:"center"},children:(0,r.jsxs)(a.A,{sx:{width:{xs:"100%",lg:"50%"},textAlign:"center",mt:4},children:[(0,r.jsx)(a.A,{alt:"404",component:"img",src:d.m.notFound404,sx:{width:"100%",p:4}}),(0,r.jsx)(l.A,{sx:{fontSize:"1.25rem",fontWeight:400,mb:1.5},children:"The requested URL was not found on this server."}),(0,r.jsxs)(i.A,{component:c.N_,sx:{alignItems:"center",display:"inline-flex",gap:.75,textDecoration:"none"},to:"/",underline:"none",children:[(0,r.jsx)(s.A,{sx:{fontSize:"1rem"}}),"Return to Dashboard"]})]})})})})})})}},61730:function(e,n,t){var r=t(78685),a=(t(2057),t(69179)),o=function(e,n,t){if(t||2===arguments.length)for(var r,a=0,o=n.length;a<o;a++)!r&&a in n||(r||(r=Array.prototype.slice.call(n,0,a)),r[a]=n[a]);return e.concat(r||Array.prototype.slice.call(n))};n.A=function(){return(0,r.jsxs)(a.tu9,{sx:{p:3,mt:4},children:[(0,r.jsx)(a.azJ,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",mb:3},children:(0,r.jsx)(a.EAD,{variant:"text",width:150,height:24})}),(0,r.jsx)(a.ZpM,{children:(0,r.jsx)(a.Wux,{children:(0,r.jsxs)(a.fPr,{container:!0,spacing:2,alignItems:"center",children:[(0,r.jsx)(a.fPr,{size:9,children:(0,r.jsx)(a.azJ,{sx:{height:400},children:(0,r.jsx)(a.EAD,{variant:"rectangular",width:"100%",height:"100%",animation:"wave"})})}),(0,r.jsxs)(a.fPr,{size:3,children:[(0,r.jsx)(a.EAD,{variant:"rectangular",width:"100%",height:50,sx:{mb:1}}),o([],Array(5),!0).map((function(e,n){return(0,r.jsxs)(a.azJ,{sx:{display:"flex",justifyContent:"space-between",mb:1},children:[(0,r.jsx)(a.EAD,{variant:"text",width:"60%",height:24}),(0,r.jsx)(a.EAD,{variant:"text",width:"30%",height:24})]},n)}))]})]})})})]})}},17862:function(e,n,t){t.d(n,{A:function(){return l}});var r=t(78685),a=(t(2057),t(31547)),o=t(61730),i=t(6727);function l(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.A,{sx:{mt:4},children:(0,r.jsx)(i.A,{})}),(0,r.jsx)(a.A,{sx:{mt:4},children:(0,r.jsx)(o.A,{})})]})}},6727:function(e,n,t){var r=t(78685),a=t(69179);n.A=function(){return(0,r.jsxs)(a.fPr,{container:!0,spacing:2,children:[(0,r.jsx)(a.fPr,{size:{md:6,sm:12},children:(0,r.jsx)(a.ZpM,{children:(0,r.jsxs)(a.Wux,{children:[(0,r.jsx)(a.EAD,{variant:"text",width:"60%",height:28}),(0,r.jsx)(a.azJ,{sx:{mt:2,height:300},children:(0,r.jsx)(a.EAD,{variant:"rectangular",width:"100%",height:"100%",animation:"wave"})})]})})}),(0,r.jsx)(a.fPr,{size:{md:6,sm:12},children:(0,r.jsx)(a.ZpM,{children:(0,r.jsxs)(a.Wux,{children:[(0,r.jsx)(a.EAD,{variant:"text",width:"60%",height:28}),(0,r.jsx)(a.azJ,{sx:{mt:2,height:300},children:(0,r.jsx)(a.EAD,{variant:"rectangular",width:"100%",height:"100%",animation:"wave"})})]})})})]})}},88453:function(e,n,t){t.d(n,{GK:function(){return o},GS:function(){return a},R9:function(){return s},U1:function(){return i},l_:function(){return l}});var r=t(38451),a=[{key:"subaccount",name:r.Ay.t("DISPLAY_STRINGS.SUB_ACCOUNT")},{key:"agent",name:r.Ay.t("DISPLAY_STRINGS.AI_AGENT")},{key:"dateAdded",name:r.Ay.t("DISPLAY_STRINGS.DATE_ADDED")},{key:"version",name:r.Ay.t("DISPLAY_STRINGS.VERSION")},{key:"status",name:r.Ay.t("DISPLAY_STRINGS.STATUS")}],o={chatbot:"",categories:[],description:"",version:"1.0.0",developer:"",pricing:"free",price:0,visibility:"public",permissions:{knowledgeBase:!0,leads:!0,scheduling:!0,appearance:!0,customFunctions:!0}},i={voiceAgent:"",categories:[],description:"",version:"1.0.0",developer:"",pricing:"free",price:0,visibility:"public",permissions:{knowledgeBase:!0,leads:!0,customFunctions:!0}},l={MY_AGENT:1,MARKETPLACE:2,DEPLOYMENTS:3,NONE:-1},s={ALL:"all",CHAT:"chat",VOICE:"voice"}},8100:function(e,n,t){var r=t(78685),a=(t(2057),t(69179)),o=t(48356);n.A=function(e){var n=e.editable,t=void 0!==n&&n,i=e.count,l=void 0===i?6:i,s=(0,o.P)(),c=s.cardSkeleton,d=s.surfaceBorder;return(0,r.jsx)(r.Fragment,{children:Array.from({length:l}).map((function(e,n){return(0,r.jsx)(a.fPr,{size:{lg:4,sm:6,xs:12}
1,children:(0,r.jsxs)(a.ZpM,{variant:"outlined",sx:{display:"flex",flexDirection:"column",justifyContent:"space-between",height:"100%",borderColor:"divider"},children:[(0,r.jsxs)(a.Wux,{sx:{flex:1},children:[(0,r.jsxs)(a.azJ,{sx:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",gap:1,mb:1.5},children:[(0,r.jsx)(a.EAD,{variant:"text",width:"56%",height:28,sx:{bgcolor:c}}),t&&(0,r.jsx)(a.EAD,{variant:"rounded",width:72,height:22,sx:{bgcolor:c,borderRadius:999}})]}),(0,r.jsx)(a.EAD,{variant:"text",width:"100%",height:20,sx:{bgcolor:c}}),(0,r.jsx)(a.EAD,{variant:"text",width:"84%",height:20,sx:{bgcolor:c,mb:1.5}}),(0,r.jsx)(a.azJ,{sx:{display:"flex",gap:.75,flexWrap:"wrap"},children:Array.from({length:3}).map((function(e,n){return(0,r.jsx)(a.EAD,{variant:"rounded",height:24,sx:{bgcolor:c,width:1===n?96:80,borderRadius:999}},n)}))})]}),(0,r.jsx)(a.waF,{sx:{px:2,py:1.5,borderTop:"1px solid ".concat(d)},children:(0,r.jsx)(a.azJ,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%",gap:1},children:t?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.EAD,{variant:"text",width:40,height:20,sx:{bgcolor:c}}),(0,r.jsx)(a.azJ,{sx:{display:"flex",gap:.5},children:Array.from({length:3}).map((function(e,n){return(0,r.jsx)(a.EAD,{variant:"circular",width:30,height:30,sx:{bgcolor:c}},n)}))})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.EAD,{variant:"rounded",width:100,height:32,sx:{bgcolor:c,borderRadius:1}}),(0,r.jsx)(a.EAD,{variant:"text",width:48,height:20,sx:{bgcolor:c}})]})})})]})},n)}))})}},10701:function(e,n,t){var r=t(78685),a=(t(2057),t(69179)),o=t(48356),i=t(88453),l=t(8100),s=t(10698);function c(){var e=(0,o.P)(),n=e.cardSkeleton,t=e.surfaceBorder;return(0,r.jsxs)(a.azJ,{sx:{flex:1,minHeight:0,overflow:"hidden",border:"1px solid ".concat(t),borderRadius:1},children:[(0,r.jsx)(a.azJ,{sx:{px:2.5,py:2,borderBottom:"1px solid ".concat(t)},children:(0,r.jsx)(a.azJ,{sx:{display:"grid",gridTemplateColumns:"1.2fr 1.2fr 0.9fr 1fr 1fr",gap:2},children:Array.from({length:5}).map((function(e,t){return(0,r.jsx)(a.EAD,{variant:"text",width:"80%",height:22,sx:{bgcolor:n}},t)}))})}),(0,r.jsx)(a.BJc,{spacing:0,sx:{p:2.5},children:Array.from({length:5}).map((function(e,o){return(0,r.jsx)(a.azJ,{sx:{display:"grid",gridTemplateColumns:"1.2fr 1.2fr 0.9fr 1fr 1fr",gap:2,alignItems:"center",py:1.75,borderBottom:4===o?"none":"1px solid ".concat(t)},children:Array.from({length:5}).map((function(e,t){return(0,r.jsx)(a.EAD,{variant:"text",width:4===t?"60%":"88%",height:20,sx:{bgcolor:n}},t)}))},o)}))})]})}n.A=function(e){var n=e.showHeader,t=void 0===n||n,d=e.isAgencyUser,u=void 0===d||d,h=e.currentTab,x=void 0===h?i.l_.MARKETPLACE:h,b=(0,o.P)(),f=b.shellSurfaceBg,p=b.cardSkeleton,g=b.surfaceBorder,m=x===i.l_.MY_AGENT,v=x===i.l_.MARKETPLACE,y=u?3:1;return(0,r.jsxs)(a.azJ,{sx:{bgcolor:f,pb:{xs:2,md:3}},children:[t?(0,r.jsx)(o.G,{}):null,(0,r.jsx)(s.A,{children:(0,r.jsxs)(a.azJ,{sx:{pt:0},children:[(0,r.jsxs)(a.azJ,{sx:{mb:3,display:"flex",alignItems:"center",justifyContent:"space-between",gap:2,flexWrap:"wrap",borderBottom:"1px solid ".concat(g),px:2},children:[(0,r.jsx)(a.azJ,{sx:{display:"flex",gap:3},children:Array.from({length:y}).map((function(e,n){return(0,r.jsx)(a.EAD,{variant:"text",width:110,height:24,sx:{bgcolor:p,my:1.25}},"tab-".concat(n))}))}),(0,r.jsxs)(a.azJ,{sx:{pb:1},children:[m&&(0,r.jsx)(a.EAD,{variant:"rounded",height:32,width:148,sx:{bgcolor:p,borderRadius:1}}),v&&(0,r.jsx)(a.EAD,{variant:"rounded",height:32,width:180,sx:{bgcolor:p,borderRadius:1}})]})]}),(0,r.jsx)(a.ZpM,{sx:{minHeight:"calc(100vh - 260px)",display:"flex",flexDirection:"column",border:"1px solid ".concat(g)},children:(0,r.jsxs)(a.Wux,{sx:{p:3,"&:last-child":{pb:3},flex:1,display:"flex",flexDirection:"column"},children:[(0,r.jsxs)(a.azJ,{sx:{mb:2.5},children:[(0,r.jsx)(a.EAD,{variant:"text",width:200,height:28,sx:{bgcolor:p}}),(0,r.jsx)(a.EAD,{variant:"text",width:"55%",height:20,sx:{bgcolor:p,mt:.5}})]}),x===i.l_.DEPLOYMENTS?(0,r.jsx)(c,{}):(0,r.jsx)(a.azJ,{sx:{flex:1,minHeight:0,overflow:"hidden",mx:-3,px:3},children:(0,r.jsx)(a.fPr,{container:!0,spacing:2,children:(0,r.jsx)(l.A,{count:6,editable:x===i.l_.MY_AGENT})})})]})})]})})]})}},38841:function(e,n,t){t.d(n,{$h:function(){return o},Ad:function(){return w},C9:function(){return b},I$:function(){return f},Id:function(){return m},LV:function(){return v},N:function(){return y},NW:function(){return A},OE:function(){return S},Pl:function(){return h},Q9:function(){return L},Qy:function(){return j},Y7:function(){return p},cF:function(){return x},kA:function(){return E},o0:function(){return l},pK:function(){return g},qh:function(){return i},sR:function(){return s},vS:function(){return c},vp:function(){return a},xY:function(){return d}});var r=t(42317),a=(0,r.uJ)((0,r.PJ)(),"accounts/logout/"),o=(0,r.PJ)(),i=(0,r.uJ)((0,r.PJ)(),"user/onboarding/"),l="#f8f9fa",s=(0,r.uJ)((0,r.PJ)(),"user/api/v1/onboarding/state/"),c=(0,r.uJ)((0,r.PJ)(),"user/onboarding/"),d="stammer.onboarding.last-step",u=(0,r.uJ)((0,r.PJ)(),"user/api/v1/onboarding/"),h="".concat(u,"session/"),x=("".concat(u,"session/active/"),function(e){return"".concat(u,"session/").concat(e,"/status/")}),b=function(e){return"".concat(u,"session/").concat(e,"/knowledge/")},f=function(e){return"".concat(u,"session/").concat(e,"/measure-file/")},p=function(e){return"".concat(u,"session/").concat(e,"/training-status/")},g=function(e){return"".concat(u,"session/").concat(e,"/attribution/")},m=function(e){return"".concat(u,"session/").concat(e,"/customer-type/")},v=function(e){return"".concat(u,"session/").concat(e,"/agents/")},y=function(e){return"".concat(u,"session/").concat(e,"/complete/")},A=function(e){return"".concat(u,"session/").concat(e,"/step/")},S="https://youtu.be/z53aM4fB9Do",j="https://stammer.ai/strategycall",w="https://embed.famewall.io/frame.js",E=[{value:"general_ai_agent",labelKey:"ONBOARDING_USE_CASE_GENERAL",defaultLabel:"General AI agent"},{value:"customer_support",labelKey:"ONBOARDING_USE_CASE_CUSTOMER_SUPPORT",defaultLabel:"Customer Support"},{value:"sales_lead_gen",labelKey:"ONBOARDING_USE_CASE_SALES",defaultLabel:"Sales & Lead Gen"},{value:"ecommerce",labelKey:"ONBOARDING_USE_CASE_ECOMMERCE",defaultLabel:"E-commerce"},{value:"real_estate",labelKey:"ONBOARDING_USE_CASE_REAL_ESTATE",defaultLabel:"Real Estate"},{value:"healthcare",labelKey:"ONBOARDING_USE_CASE_HEALTHCARE",defaultLabel:"Healthcare"},{value:"saas_support",labelKey:"ONBOARDING_USE_CASE_SAAS",defaultLabel:"SaaS Support"}],L=function(e){for(var n=0,t=[/(?:youtube\.com\/watch\?v=|youtu\.be\/|youtube\.com\/embed\/)([^&\?\/]+)/,/^([a-zA-Z0-9_-]{11})$/];n<t.length;n++){var r=t[n],a=e.match(r);if(a)return a[1]}return null}},75163:function(e,n,t){t.d(n,{M1:function(){return f},TD:function(){return m},Xv:function(){return A},_j:function(){return y},fS:function(){return v}});var r=t(78685),a=(t(2057),t(31547)),o=t(81971),i=t(41175),l=t(32417),s=t(66249),c=t(48356),d=t(38841);function u(e){var n=e.children,t=(0,c.P)().cardSkeleton;return(0,r.jsxs)(a.A,{sx:{minHeight:"100vh",bgcolor:d.o0,display:"flex",flexDirection:"column"},children:[(0,r.jsx)(a.A,{sx:{display:"flex",justifyContent:"flex-end",px:3,py:1},children:(0,r.jsx)(o.A,{variant:"rounded",width:108,height:38,sx:{bgcolor:t,borderRadius:1.5}})}),(0,r.jsx)(a.A,{sx:{flex:1,display:"flex",flexDirection:"column"},children:n})]})}function h(e){var n=e.leftRows,t=void 0===n?4:n,l=e.rightContent,s=(0,c.P)(),d=s.cardSkeleton,u=s.surfaceBorder;return(0,r.jsx)(a.A,{sx:{flex:1,display:"flex",justifyContent:"center",alignItems:"flex-start",pt:{xs:4,md:6},px:{xs:2,md:4,lg:6}},children:(0,r.jsxs)(i.A,{elevation:0,sx:{display:"flex",width:"100%",maxWidth:1200,borderRadius:3,overflow:"hidden",border:"1px solid ".concat(u),bgcolor:"#fff"},children:[(0,r.jsxs)(a.A,{sx:{flex:1,p:{xs:3,md:5}},children:[(0,r.jsx)(o.A,{variant:"text",width:"62%",height:42,sx:{bgcolor:d,mb:1}}),(0,r.jsx)(o.A,{variant:"text",width:"84%",height:22,sx:{bgcolor:d,mb:4}}),Array.from({length:t}).map((function(e,n){return(0,r.jsxs)(a.A,{sx:{mb:3},children:[(0,r.jsx)(o.A,{variant:"text",width:120,height:20,sx:{bgcolor:d,mb:1}}),(0,r.jsx)(o.A,{variant:"rounded",width:"100%",height:42,sx:{bgcolor:d,borderRadius:1.5}})]},n)})),(0,r.jsx)(o.A,{variant:"rounded",width:"100%",height:48,sx:{bgcolor:d,borderRadius:1.5,mt:1}})]}),(0,r.jsx)(a.A,{sx:{flex:1,bgcolor:"grey.50",p:5,display:{xs:"none",md:"flex"},flexDirection:"column",alignItems:"center",justifyContent:"center",borderLeft:"1px solid ".concat(u)},children:l})]})})}function x(){var e=(0,c.P)().cardSkeleton;return(0,r.jsx)(u,{children:(0,r.jsx)(h,{leftRows:2,rightContent:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.A,{variant:"rounded",width:"80%",height:140,sx:{bgcolor:e,borderRadius:2,mb:3}}),(0,r.jsx)(o.A,{variant:"text",width:160,height:28,sx:{bgcolor:e}})]})})})}function b(){var e=(0,c.P)().cardSkeleton;return(0,r.jsx)(u,{children:(0,r.jsx)(h,{leftRows:2,rightContent:(0,r.jsx)(l.A,{spacing:2,sx:{width:"100%",maxWidth:320},children:[0,1,2,3].map((function(n){return(0,r.jsxs)(a.A,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",py:1},children:[(0,r.jsx)(o.A,{variant:"text",width:"70%",height:22,sx:{bgcolor:e}}),(0,r.jsx)(o.A,{variant:"circular",width:20,height:20,sx:{bgcolor:e}})]},n)}))})})})}function f(){var e=(0,c.P)(),n=e.cardSkeleton,t=e.surfaceBorder;return(0,r.jsx)(u,{children:(0,r.jsx)(a.A,{sx:{flex:1,display:"flex",justifyContent:"center",pt:4,px:{xs:2,md:4}},children:(0,r.jsxs)(i.A,{elevation:0,sx:{display:"flex",width:"100%",maxWidth:1200,borderRadius:3,overflow:"hidden",border:"1px solid ".concat(t),bgcolor:"#fff"},children:[(0,r.jsxs)(a.A,{sx:{flex:1,p:{xs:3,md:4}},children:[(0,r.jsx)(o.A,{variant:"text",width:"55%",height:40,sx:{bgcolor:n,mb:1}}),(0,r.jsx)(o.A,{variant:"text",width:"78%",height:22,sx:{bgcolor:n,mb:3}}),[0,1,2,3].map((function(e){return(0,r.jsx)(o.A,{variant:"rounded",width:"100%",height:56,sx:{bgcolor:n,borderRadius:2,mb:1.5}},e)})),(0,r.jsx)(o.A,{variant:"rounded",width:200,height:44,sx:{bgcolor:n,borderRadius:1.5,mt:2}})]}),(0,r.jsxs)(a.A,{sx:{width:320,p:4,borderLeft:"1px solid ".concat(t),display:{xs:"none",md:"block"}},children:[(0,r.jsx)(o.A,{variant:"text",width:"60%",height:26,sx:{bgcolor:n,mb:2}}),(0,r.jsx)(o.A,{variant:"rounded",width:"100%",height:120,sx:{bgcolor:n,borderRadius:2}})]})]})})})}function p(){var e=(0,c.P)(),n=e.cardSkeleton,t=e.surfaceBorder;return(0,r.jsx)(u,{children:(0,r.jsx)(a.A,{sx:{flex:1,display:"flex",justifyContent:"center",alignItems:"flex-start",pt:{xs:4,md:6},px:2},children:(0,r.jsxs)(i.A,{elevation:0,sx:{width:"100%",maxWidth:720,p:{xs:3,md:5},borderRadius:3,border:"1px solid ".concat(t),bgcolor:"#fff"},children:[(0,r.jsx)(o.A,{variant:"rounded",width:"100%",height:64,sx:{bgcolor:n,borderRadius:2,mb:3}}),(0,r.jsx)(o.A,{variant:"text",width:"60%",height:36,sx:{bgcolor:n,mb:1,mx:"auto"}}),(0,r.jsx)(o.A,{variant:"text",width:"80%",height:22,sx:{bgcolor:n,mb:3,mx:"auto"}}),(0,r.jsx)(l.A,{spacing:1.5,children:[0,1,2,3,4].map((function(e){return(0,r.jsx)(o.A,{variant:"rounded",width:"100%",height:48,sx:{bgcolor:n,borderRadius:1.5}},e)}))}),(0,r.jsxs)(a.A,{sx:{display:"flex",gap:2,mt:3,justifyContent:"center"},children:[(0,r.jsx)(o.A,{variant:"rounded",width:140,height:44,sx:{bgcolor:n,borderRadius:1.5}}),(0,r.jsx)(o.A,{variant:"rounded",width:220,height:44,sx:{bgcolor:n,borderRadius:1.5}})]})]})})})}function g(){var e=(0,c.P)(),n=e.cardSkeleton,t=e.surfaceBorder;return(0,r.jsx)(u,{children:(0,r.jsx)(a.A,{sx:{flex:1,display:"flex",flexDirection:"column",alignItems:"center",pt:{xs:4,md:6},px:2},children:(0,r.jsxs)(i.A,{elevation:0,sx:{width:"100%",maxWidth:800,p:{xs:3,md:5},borderRadius:3,border:"1px solid ".concat(t),bgcolor:"#fff"},children:[(0,r.jsx)(o.A,{variant:"text",width:"55%",height:40,sx:{bgcolor:n,mb:1,mx:"auto"}}),(0,r.jsx)(o.A,{variant:"text",width:"75%",height:22,sx:{bgcolor:n,mb:4,mx:"auto"}}),(0,r.jsx)(a.A,{sx:{display:"grid",gridTemplateColumns:{xs:"1fr",md:"repeat(3, 1fr)"},gap:2},children:[0,1,2].map((function(e){return(0,r.jsx)(o.A,{variant:"rounded",width:"100%",height:220,sx:{bgcolor:n,borderRadius:2}},e)}))}),(0,r.jsx)(o.A,{variant:"rounded",width:200,height:48,sx:{bgcolor:n,borderRadius:1.5,mt:4,mx:"auto"}})]})})})}function m(){var e=(0,c.P)(),n=e.cardSkeleton,t=e.surfaceBorder;return(0,r.jsx)(u,{children:(0,r.jsxs)(a.A,{sx:{flex:1,display:"flex",flexDirection:"column",alignItems:"center",pt:3,px:{xs:2,md:3,lg:4}},children:[(0,r.jsx)(o.A,{variant:"text",width:320,height:42,sx:{bgcolor:n,mb:.5}}),(0,r.jsx)(o.A,{variant:"text",width:420,height:22,sx:{bgcolor:n,mb:3}}),(0,r.jsxs)(i.A,{elevation:0,sx:{width:"100%",maxWidth:1500,borderRadius:3,border:"1px solid ".concat(t),overflow:"hidden",bgcolor:"#fff"},children:[(0,r.jsxs)(a.A,{sx:{display:"flex",gap:1,p:2,borderBottom:"1px solid ".concat(t)},children:[(0,r.jsx)(o.A,{variant:"rounded",width:120,height:36,sx:{bgcolor:n,borderRadius:1.5}}),(0,r.jsx)(o.A,{variant:"rounded",width:120,height:36,sx:{bgcolor:n,borderRadius:1.5}})]}),(0,r.jsxs)(a.A,{sx:{display:"flex",minHeight:600},children:[(0,r.jsxs)(a.A,{sx:{width:320,p:3,borderRight:"1px solid ".concat(t)},children:[(0,r.jsx)(o.A,{variant:"text",width:"40%",height:24,sx:{bgcolor:n,mb:2}}),[0,1,2].map((function(e){return(0,r.jsxs)(a.A,{sx:{mb:2.5},children:[(0,r.jsx)(o.A,{variant:"text",width:"50%",height:20,sx:{bgcolor:n,mb:1}}),(0,r.jsx)(o.A,{variant:"rounded",width:"100%",height:40,sx:{bgcolor:n,borderRadius:1.5}})]},e)})),[0,1,2,3].map((function(e){return(0,r.jsx)(o.A,{variant:"rounded",width:"100%",height:56,sx:{bgcolor:n,borderRadius:2,mb:1}},e)}))]}),(0,r.jsx)(a.A,{sx:{flex:1,p:3},children:(0,r.jsx)(o.A,{variant:"rounded",width:"100%",height:"100%",sx:{bgcolor:n,borderRadius:2,minHeight:480}})})]})]}),(0,r.jsx)(o.A,{variant:"rounded",width:260,height:48,sx:{bgcolor:n,borderRadius:1.5,mt:3}})]})})}function v(){var e=(0,c.P)().cardSkeleton;return(0,r.jsx)(u,{children:(0,r.jsxs)(a.A,{sx:{px:1,pt:4,pb:6},children:[(0,r.jsx)(o.A,{variant:"text",width:320,height:56,sx:{bgcolor:e,mx:"auto",mb:1}}),(0,r.jsx)(o.A,{variant:"text",width:420,height:28,sx:{bgcolor:e,mx:"auto",mb:4}}),(0,r.jsx)(a.A,{sx:{display:"grid",gridTemplateColumns:{xs:"1fr",sm:"repeat(2, minmax(0, 1fr))",md:"repeat(4, minmax(0, 1fr))"},gap:2,maxWidth:1280,mx:"auto",px:2},children:[0,1,2,3].map((function(e){return(0,r.jsx)(s.A,{},e)}))})]})})}function y(){return(0,r.jsx)(A,{step:1})}function A(e){var n=e.step;switch(void 0===n?1:n){case 1:default:return(0,r.jsx)(x,{});case 2:return(0,r.jsx)(b,{});case 3:return(0,r.jsx)(f,{});case 4:return(0,r.jsx)(p,{});case 5:return(0,r.jsx)(g,{});case 6:return(0,r.jsx)(m,{});case 7:return(0,r.jsx)(v,{})}}}
1,64223:function(e,n,t){t.d(n,{V:function(){return u},v:function(){return d}});var r=t(15382),a=t(42317),o=function(){return o=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var a in n=arguments[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e},o.apply(this,arguments)},i=function(e,n,t,r){return new(t||(t=Promise))((function(a,o){function i(e){try{s(r.next(e))}catch(e){o(e)}}function l(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var n;e.done?a(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,l)}s((r=r.apply(e,n||[])).next())}))},l=function(e,n){var t,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){return function(l){if(t)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(o=0)),o;)try{if(t=1,r&&(a=2&l[0]?r.return:l[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;switch(r=0,a&&(l=[2&l[0],a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}if(6===l[0]&&o.label<a[1]){o.label=a[1],a=l;break}
1if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=n.call(e,o)}catch(e){l=[6,e],r=0}finally{t=a=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}};function s(){var e,n,t,r;return{name:(null===(n=null===(e=document.getElementById("legacy-site-name"))||void 0===e?void 0:e.textContent)||void 0===n?void 0:n.trim())||"",logo:(null===(r=null===(t=document.getElementById("legacy-site-logo"))||void 0===t?void 0:t.textContent)||void 0===r?void 0:r.trim())||""}}function c(){var e=s();return{appVersion:"",billing:{currencyLabel:"$",soldCharacters:0,soldChatbots:0,soldConcurrency:0,soldKbSlots:0,soldVoiceAgents:0,totalCharacters:0,totalChatbots:0,totalConcurrency:0,totalKbSlots:0,totalVoiceAgents:0,usedCharacters:0,usedChatbots:0,usedConcurrency:0,usedKbSlots:0,usedVoiceAgents:0,walletBalance:0},csrfToken:"",currentPath:window.location.pathname,currentViewName:"",customMenuLinks:[],footer:{privacyPolicyUrl:"",termsOfServiceUrl:""},flags:{isHijacked:!1,isRequesterAgencyOwner:!1,canUseMasterChat:!1,canUseVoiceAgents:!1,canViewAnalyticsUsers:!1,canViewAnalyticsUserTokenUsage:!1,canViewAnalyticsChatbotTokenUsage:!1,canViewAnalyticsVoice:!1,canViewAnalyticsUserVoice:!1,isProduction:!1,isAgencyOwnerApiEligible:!1,isDocumentationEligible:!1,isRunningOnAgencyDomain:!1,isRequesterAgencyAdmin:!1,isRequesterAgencyUser:!1,isRequesterAnalyticsEligible:!1,isRequesterApiEligible:!1,isRequesterDirectlyBillable:!1,isRequesterSubaccountAdmin:!1,isRequesterSubaccountUser:!1,showAppVersion:!1,showSupportTicketHelpLink:!1,isNwlUser:!1,subscribedPlanKey:"",canViewChatAgents:!0,canViewInbox:!0},language:{current:"en",options:[{code:"en",label:"English"},{code:"es",label:"Spanish"}]},links:{accountLogout:"#",analyticsChatbotUsage:"",analyticsDashboard:"",analyticsMessageUsage:"",analyticsUserVoiceUsage:"",analyticsVoiceUsage:"",customMenuList:"",agencyProfile:"",agencySaasConfigurator:"",apiToken:"",createAgencySubscriptionPackage:"",billingSettings:"",chatInbox:"",customSetLanguage:"",dashboard:"/",defaultPromptsUpdate:"",emailTemplates:"",hijackAcquire:"",marketplace:"",masterChat:"",profile:"",support:"",viewSubaccountsCreate:"",viewAgencyUsers:"",viewChatbots:"",viewSubaccountUsers:"",viewSubaccounts:"",voiceDashboard:"",whiteLabelDocs:""},masterChatName:"Master Chat",freeTrialMessageHtml:"",topBanners:[],environment:"local",site:{logo:e.logo||"",name:e.name||""},subaccounts:[],supportLink:"",userType:"Regular User",debug:void 0,user:{email:"",firstName:"",hasUsablePassword:!0,isAuthenticated:!1,lastName:""}}}function d(){return i(this,void 0,Promise,(function(){var e,n,t,i;return l(this,(function(l){switch(l.label){case 0:return e=(0,a.QW)(),n="/".concat(e,"/user/api/v1/shell-layout/"),[4,r.u.get(n,{params:{current_path:window.location.pathname}})];case 1:return t=l.sent(),i=function(e){var n=window.location.pathname,t=/^\/[^/]+\/?$/.test(n),r=/\/user\/profile\/?$/.test(n),a=/\/user\/setup-2fa\/?$/.test(n);return o(o({},e),t||r||a?t?{currentPath:e.links.dashboard||n}:{currentPath:e.links.profile||n}:{currentPath:n})}(function(e){var n,t,r,a,i=c(),l=e||{},d=s(),u=Boolean(null===(n=l.flags)||void 0===n?void 0:n.isRunningOnAgencyDomain);return o(o(o({},i),l),{billing:o(o({},i.billing),l.billing||{}),footer:o(o({},i.footer),l.footer||{}),flags:o(o({},i.flags),l.flags||{}),links:o(o({},i.links),l.links||{}),language:o(o(o({},i.language),l.language||{}),{options:(null===(t=l.language)||void 0===t?void 0:t.options)||i.language.options}),site:o(o(o({},i.site),l.site||{}),{name:(null===(r=l.site)||void 0===r?void 0:r.name)||d.name||(u?"":i.site.name||"Stammer AI"),logo:(null===(a=l.site)||void 0===a?void 0:a.logo)||d.logo||(u?"":i.site.logo||"")}),topBanners:l.topBanners||i.topBanners,user:o(o({},i.user),l.user||{}),subaccounts:l.subaccounts||i.subaccounts,customMenuLinks:l.customMenuLinks||i.customMenuLinks})}(t.data)),[2,i]}}))}))}function u(){return i(this,void 0,Promise,(function(){var e;return l(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,d()];case 1:return[2,n.sent()];case 2:return e=n.sent(),console.error("Failed to fetch shell payload from API",e),[2,c()];case 3:return[2]}}
1))}))}},96078:function(e,n,t){t.d(n,{Ft:function(){return p},I2:function(){return f},Jl:function(){return j},Jr:function(){return y},Kk:function(){return w},R2:function(){return m},WE:function(){return E},ch:function(){return A},es:function(){return x},et:function(){return g},lO:function(){return S},x2:function(){return v}});var r=t(19124),a=t(60551),o=t(41946),i=t(21762),l=t(86591),s=t(45602),c=t(97749),d=function(){return d=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var a in n=arguments[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e},d.apply(this,arguments)},u=function(e,n,t,r){return new(t||(t=Promise))((function(a,o){function i(e){try{s(r.next(e))}catch(e){o(e)}}function l(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var n;e.done?a(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,l)}s((r=r.apply(e,n||[])).next())}))},h=function(e,n){var t,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){return function(l){if(t)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(o=0)),o;)try{if(t=1,r&&(a=2&l[0]?r.return:l[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;switch(r=0,a&&(l=[2&l[0],a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}if(6===l[0]&&o.label<a[1]){o.label=a[1],a=l;break}
1if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=n.call(e,o)}catch(e){l=[6,e],r=0}finally{t=a=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}},x={SUBACCOUNTS_LIST:"subaccounts-list",SUBACCOUNT_FOLDERS:"subaccount-folders",AGENCY_USERS_LIST:"agencyUsersList",SUBACCOUNT_USERS_LIST:"subaccountUsersList"},b=function(e){return e.toLocaleDateString("en-CA")},f=function(e,n,t,o,s,c,f,p){return void 0===p&&(p=!0),(0,l.I)({queryKey:[x.SUBACCOUNTS_LIST,e,n,t,o,s,c?c.toISOString():null,f?f.toISOString():null],queryFn:function(){return function(e,n,t,o,l,s,c){return u(void 0,void 0,Promise,(function(){var u;return h(this,(function(h){switch(h.label){case 0:return[4,a.A.get(i.n.WHITE_LABEL.SUBACCOUNTS_LIST+"?include_stats=true",{params:(0,r.uc)(d(d(d(d({page:e,pageSize:n,search:t},o),{folderId:l}),s?{startDate:b(s)}:{}),c?{endDate:b(c)}:{}))})];case 1:return u=h.sent(),[2,(0,r.Cb)(u.data)]}}))}))}(e,n,t,o,s,c,f)},enabled:p,refetchOnWindowFocus:!0,refetchOnMount:!0,staleTime:0})},p=function(e){return u(void 0,void 0,Promise,(function(){return h(this,(function(n){return(0,o.j)(i.n.USERS.HIJACK_ACQUIRE,{user_pk:e.toString()}),[2]}))}))},g=function(){return(0,l.I)({queryKey:[x.SUBACCOUNT_FOLDERS],queryFn:function(){return u(void 0,void 0,Promise,(function(){var e;return h(this,(function(n){switch(n.label){case 0:return[4,a.A.get(i.n.WHITE_LABEL.SUBACCOUNT_FOLDERS)];case 1:return e=n.sent(),[2,(0,r.Cb)(e.data.data||e.data)]}}))}))},refetchOnWindowFocus:!0,refetchOnMount:!0,staleTime:0})},m=function(){var e=(0,s.jE)();return(0,c.n)({mutationFn:function(e){return function(e,n){return u(void 0,void 0,Promise,(function(){var t;return h(this,(function(o){switch(o.label){case 0:return[4,a.A.post(i.n.WHITE_LABEL.SUBACCOUNT_FOLDERS,(0,r.uc)({name:e,color:n||"#0061f2"}))];case 1:return t=o.sent(),[2,(0,r.Cb)(t.data.data||t.data)]}}))}))}(e.name,e.color)},onSuccess:function(){e.invalidateQueries({queryKey:[x.SUBACCOUNT_FOLDERS]})}})},v=function(e,n,t){return u(void 0,void 0,Promise,(function(){var o,l;return h(this,(function(s){switch(s.label){case 0:return o={},void 0!==n&&(o.name=n),void 0!==t&&(o.color=t),[4,a.A.put(i.n.WHITE_LABEL.SUBACCOUNT_FOLDER(e),(0,r.uc)(o))];case 1:return l=s.sent(),[2,(0,r.Cb)(l.data.data||l.data)]}}))}))},y=function(e){return u(void 0,void 0,Promise,(function(){return h(this,(function(n){switch(n.label){case 0:return[4,a.A.delete(i.n.WHITE_LABEL.SUBACCOUNT_FOLDER(e))];case 1:return n.sent(),[2]}}))}))},A=function(e){return u(void 0,void 0,Promise,(function(){var n;return h(this,(function(t){switch(t.label){case 0:return[4,a.A.post(i.n.WHITE_LABEL.SUBACCOUNT_CREATE,(0,r.uc)(e))];case 1:return n=t.sent(),[2,(0,r.Cb)(n.data)]}}))}))},S=function(e,n){return u(void 0,void 0,Promise,(function(){var t;return h(this,(function(o){switch(o.label){case 0:return[4,a.A.put(i.n.WHITE_LABEL.SUBACCOUNT_UPDATE(e),(0,r.uc)(n))];case 1:return t=o.sent(),[2,(0,r.Cb)(t.data)]}}))}))},j=function(e){return u(void 0,void 0,Promise,(function(){var n;return h(this,(function(t){switch(t.label){case 0:return[4,a.A.delete(i.n.WHITE_LABEL.SUBACCOUNT_DELETE(e))];case 1:return n=t.sent(),[2,(0,r.Cb)(n.data)]}}))}))},w=function(e){return u(void 0,void 0,Promise,(function(){var n;return h(this,(function(t){switch(t.label){case 0:return[4,a.A.post(i.n.WHITE_LABEL.SUBACCOUNT_REACTIVATE(e))];case 1:return n=t.sent(),[2,(0,r.Cb)(n.data)]}}))}))},E=function(e){return u(void 0,void 0,Promise,(function(){var n;return h(this,(function(t){switch(t.label){case 0:return[4,a.A.post(i.n.USERS.RESEND_EMAIL,(0,r.uc)({userEmail:e}))];case 1:return n=t.sent(),[2,(0,r.Cb)(n.data)]}}))}))}},34502:function(e,n,t){t.d(n,{IM:function(){return R},qY:function(){return k}});var r=t(78685),a=t(2057),o=t(83474),i=t(63809),l=t(31547),s=t(45043),c=t(10838),d=t(17577),u=t(70559),h=t(34994),x=t(50616),b=t(34467),f=t(64998),p=t(79108),g=t(74058),m=t(98333),v=t(47577),y=t(95614),A=t(9388),S=t(16657),j=t(66984),w=t(96078),E=t(35611),L=t(18707),_=t(19124),C=t(20976),I=function(){return I=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var a in n=arguments[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e},I.apply(this,arguments)},T=function(e,n,t,r){return new(t||(t=Promise))((function(a,o){function i(e){try{s(r.next(e))}catch(e){o(e)}}function l(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var n;e.done?a(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,l)}s((r=r.apply(e,n||[])).next())}))},O=function(e,n){var t,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){return function(l){if(t)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(o=0)),o;)try{if(t=1,r&&(a=2&l[0]?r.return:l[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;switch(r=0,a&&(l=[2&l[0],a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}
1if(6===l[0]&&o.label<a[1]){o.label=a[1],a=l;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=n.call(e,o)}catch(e){l=[6,e],r=0}finally{t=a=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}},R=function(e){var n=e.trim().split(" ");return n.length>=2?(n[0][0]+n[1][0]).toUpperCase():e.charAt(0).toUpperCase()},k=function(e){var n;return((n={})[j.it.ACTIVE]="#10b981",n[j.it.EXPIRED]="#ef4444",n[j.it.FREE_TRIAL]="#f59e0b",n[j.it.SCHEDULED_FOR_CANCELLATION]="#f59e0b",n[j.it.CANCELLED]="#ef4444",n[j.it.CC_FREE_TRIAL]="#444444",n[j.it.DIRECTLY_BILLED]="#f59e0b",n)[e]||"#444444"};n.Ay=function(e){var n,t,j=e.subaccount,P=e.currencyLabel,N=e.setSubaccountToDelete,D=e.setSelectedSubaccount,B=e.setIsSubaccountDrawerOpen,U=e.handleResendEmail,z=(0,S.Bd)().t,M=(0,o.A)(),H=M.palette.mode,W=(0,a.useState)(null),G=W[0],Y=W[1],F=(0,a.useState)(!1),V=F[0],J=F[1],K=(0,a.useState)(!1),X=K[0],q=K[1],Z=Boolean(G),$=function(){Y(null)},Q=k(j.billingStatus),ee=null!==(t=null!==(n=j.totalChatbots)&&void 0!==n?n:j.allocatedChatbots)&&void 0!==t?t:0,ne=(0,a.useMemo)((function(){return j.freeTrialEndDate?function(e){if(!e)return null;var n=new Date(e);return Number.isNaN(n.getTime())?null:n.toLocaleDateString(void 0,{month:"short",day:"numeric",year:"numeric"})}(j.freeTrialEndDate):null}),[j.freeTrialEndDate]),te=[{label:z("DISPLAY_STRINGS.BALANCE"),value:"".concat(P).concat((0,_.IY)(j.currentWalletBalance||0)),progress:(j.currentWalletBalance||0)>0?100:0,icon:(0,r.jsx)(m.A,{sx:{fontSize:16}})},{label:z("DISPLAY_STRINGS.VOICE_AGENTS"),value:"".concat((0,_.IY)(j.usedVoiceAgents||0),"/").concat((0,_.IY)(j.allocatedVoiceAgents||0)),progress:(j.allocatedVoiceAgents||0)>0?(j.usedVoiceAgents||0)/(j.allocatedVoiceAgents||1)*100:0,icon:(0,r.jsx)(v.A,{sx:{fontSize:16}})},{label:z("DISPLAY_STRINGS.CHAT_AGENTS"),value:"".concat((0,_.IY)(j.usedChatbots||0),"/").concat((0,_.IY)(ee)),progress:ee>0?(j.usedChatbots||0)/ee*100:0,icon:(0,r.jsx)(y.A,{sx:{fontSize:16}})},{label:z("DISPLAY_STRINGS.STORAGE"),value:"".concat((0,_.IY)(j.usedCharacterCount||0),"/").concat((0,_.IY)(j.characterCount||0)),progress:(j.characterCount||0)>0?(j.usedCharacterCount||0)/(j.characterCount||1)*100:0,icon:(0,r.jsx)(A.A,{sx:{fontSize:16}})}];return(0,r.jsxs)(i.A,{elevation:0,sx:{borderRadius:2,backgroundColor:"dark"===H?"#1e1e1e":"#ffffff",border:"1px solid ".concat(M.palette.divider),px:2,py:1.5,mb:1,transition:"background-color 160ms ease","&:hover":{backgroundColor:M.palette.action.hover}},children:[(0,r.jsxs)(l.A,{sx:{display:"flex",alignItems:"center",gap:2},children:[(0,r.jsx)(s.A,{sx:I(I({width:36,height:36,borderRadius:1.5,bgcolor:M.palette.primary.light,color:M.palette.primary.main},M.typography.subtitle2),{fontWeight:700}),children:R(j.name)}),(0,r.jsxs)(l.A,{sx:{flex:1,minWidth:0},children:[(0,r.jsxs)(l.A,{sx:{display:"flex",alignItems:"center",gap:1},children:[(0,r.jsx)(c.A,{variant:"subtitle2",sx:{fontWeight:600},noWrap:!0,children:j.name}),(0,r.jsx)(c.A,{variant:"body2",color:"text.secondary",children:"·"}),(0,r.jsx)(c.A,{variant:"caption",color:"text.secondary",noWrap:!0,children:j.email})]}),(0,r.jsxs)(l.A,{sx:{display:"flex",alignItems:"center",gap:1,mt:.5},children:[(0,r.jsx)(d.A,{label:j.billingStatus.charAt(0).toUpperCase()+j.billingStatus.slice(1),size:"small",variant:"outlined",sx:{height:20,fontWeight:600,textTransform:"capitalize",borderColor:Q,color:Q,backgroundColor:"".concat(Q,"14"),"& .MuiChip-label":I(I({},M.typography.caption),{fontWeight:600,fontSize:"0.68rem"})}}),ne&&(0,r.jsxs)(l.A,{sx:I({display:"inline-flex",alignItems:"center",gap:.5,color:"text.secondary"},M.typography.caption),children:[(0,r.jsx)(L.A,{sx:{fontSize:12}}),(0,r.jsx)("span",{children:"Renews ".concat(ne)})]})]})]}),(0,r.jsxs)(l.A,{sx:{display:"flex",alignItems:"center",gap:.5},children:[!j.isEmailVerified&&(0,r.jsx)(u.A,{title:z("DISPLAY_STRINGS.RESEND"),placement:"top",arrow:!0,children:(0,r.jsx)(h.A,{size:"small",sx:{width:32,height:32,transform:"rotate(-45deg)"},color:"warning",onClick:function(){return U(j.email)},children:(0,r.jsx)(g.A,{fontSize:"small"})})}),(0,r.jsx)(u.A,{title:z("DISPLAY_STRINGS.SWITCH_TO_SUBACCOUNT"),placement:"top",arrow:!0,children:(0,r.jsx)(h.A,{size:"small",disabled:X,sx:{width:32,height:32,color:"text.secondary","&:hover":{color:"primary.main",backgroundColor:M.palette.primary.main+"14"}},onClick:function(){return T(void 0,void 0,void 0,(function(){return O(this,(function(e){switch(e.label){case 0:q(!0),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,(0,w.Ft)(j.userId)];case 2:return e.sent(),[3,4];case 3:return e.sent(),q(!1),[3,4];case 4:return[2]}}
1))}))},children:X?(0,r.jsx)(x.A,{size:16,color:"inherit"}):(0,r.jsx)(b.A,{fontSize:"small"})})}),(0,r.jsx)(u.A,{title:z("DISPLAY_STRINGS.EDIT_SUBACCOUNT"),placement:"top",arrow:!0,children:(0,r.jsx)(h.A,{size:"small",sx:{width:32,height:32,color:"text.secondary","&:hover":{color:"success.main",backgroundColor:M.palette.success.main+"14"}},onClick:function(){D(j),B(!0)},children:(0,r.jsx)(f.A,{fontSize:"small"})})}),(0,r.jsx)(u.A,{title:z("DISPLAY_STRINGS.MORE_OPTIONS"),placement:"top",arrow:!0,children:(0,r.jsx)(h.A,{size:"small",sx:{width:32,height:32,color:"text.secondary","&:hover":{color:"text.primary"}},onClick:function(e){Y(e.currentTarget)},children:(0,r.jsx)(p.A,{fontSize:"small"})})})]})]}),(0,r.jsx)(E.A,{subaccount:j,anchorEl:G,open:Z,onClose:$,setSubaccountToDelete:N,onViewUsage:function(){$(),J(!0)}}),(0,r.jsx)(C.A,{open:V,onClose:function(){return J(!1)},title:"Usage - ".concat(j.name),rows:te})]})}},35611:function(e,n,t){var r=t(78685),a=(t(2057),t(34136)),o=t(65179),i=t(10838),l=t(53630),s=t(20159),c=t(57559),d=t(63402),u=t(16657),h=t(19124);n.A=function(e){var n=e.subaccount,t=e.anchorEl,x=e.open,b=e.onClose,f=e.setSubaccountToDelete,p=e.onViewUsage,g=(0,u.Bd)().t;return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(a.A,{id:"subaccount-context-menu",anchorEl:t,open:x,onClose:b,MenuListProps:{"aria-labelledby":"subaccount-context-menu-button"},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},PaperProps:{sx:{borderRadius:2,minWidth:200}},children:[(0,r.jsxs)(o.A,{onClick:function(){var e="SubAccount Email: ".concat(n.email,"\nSubAccount ID: ").concat(n.id,"\nSubAccount Name: ").concat(n.name);(0,h.eM)(e,g("DISPLAY_STRINGS.SUPPORT_INFO_COPIED")),b()},children:[(0,r.jsx)(d.A,{sx:{fontSize:16,marginRight:"8px"}}),(0,r.jsx)(i.A,{variant:"body1",children:g("DISPLAY_STRINGS.COPY_SUPPORT_INFO","Copy Support Info")})]}),p&&(0,r.jsxs)(o.A,{onClick:function(){p(),b()},children:[(0,r.jsx)(s.A,{sx:{fontSize:16,marginRight:"8px"}}),(0,r.jsx)(i.A,{variant:"body1",children:g("DISPLAY_STRINGS.VIEW_USAGE","View Usage")})]}),(0,r.jsx)(l.A,{}),(0,r.jsxs)(o.A,{onClick:function(){f(n),b()},children:[(0,r.jsx)(c.A,{sx:{fontSize:16,marginRight:"8px"},color:"error"}),(0,r.jsx)(i.A,{variant:"body1",color:"error",children:g("DISPLAY_STRINGS.DELETE","Delete")})]})]})})}},20976:function(e,n,t){var r=t(78685),a=(t(2057),t(83474)),o=t(93715),i=t(24926),l=t(34994),s=t(8482),c=t(14428),d=t(31547),u=t(10838),h=t(22127),x=t(47838),b=t(16657);n.A=function(e){var n=e.open,t=e.title,f=e.rows,p=e.onClose,g=(0,a.A)(),m=(0,b.Bd)().t;return(0,r.jsxs)(o.A,{open:n,onClose:p,fullWidth:!0,maxWidth:"sm",children:[(0,r.jsx)(i.A,{sx:{pr:6},children:t}),(0,r.jsx)(l.A,{"aria-label":m("DISPLAY_STRINGS.CLOSE_BUTTON","Close"),onClick:p,sx:{position:"absolute",right:12,top:12},children:(0,r.jsx)(x.A,{fontSize:"small"})}),(0,r.jsx)(s.A,{children:(0,r.jsx)(c.A,{container:!0,spacing:2,sx:{py:1},children:f.map((function(e){return(0,r.jsx)(c.A,{size:{xs:12,sm:6},children:(0,r.jsxs)(d.A,{sx:{display:"flex",flexDirection:"column",gap:1},children:[(0,r.jsxs)(d.A,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:1},children:[(0,r.jsxs)(d.A,{sx:{display:"flex",alignItems:"center",gap:.8,color:g.palette.text.secondary,minWidth:0},children:[e.icon,(0,r.jsx)(u.A,{variant:"body2",noWrap:!0,children:e.label})]}),(0,r.jsx)(u.A,{variant:"body2",fontWeight:600,noWrap:!0,children:e.value})]}),(0,r.jsx)(h.A,{variant:"determinate",value:Math.min(100,Math.max(0,e.progress)),sx:{height:6,borderRadius:999,bgcolor:g.palette.action.disabledBackground}})]})},e.label)}))})})]})}},66984:function(e,n,t){t.d(n,{cE:function(){return l},it:function(){return r},yh:function(){return s}});var r,a=t(67340),o=t.n(a);!function(e){e.ACTIVE="Paid Account",e.SCHEDULED_FOR_CANCELLATION="Cancellation Scheduled",e.CANCELLED="Cancelled",e.FREE_TRIAL="Free Trial",e.CC_FREE_TRIAL="CC Free Trial",e.PAID="Paid Account",e.EXPIRED="Expired",e.DIRECTLY_BILLED="Directly Billed"}(r||(r={}));var i,l={FREE_TRIAL:"free_trial",PAID:"paid",EXPIRED:"expired",DIRECTLY_BILLABLE:"directly_billable",SCHEDULED_FOR_CANCELLATION:"scheduled_for_cancellation",CANCELLED:"cancelled"};!function(e){e.PRO="pro",e.BASIC="basic",e.PREMIUM="premium"}(i||(i={}));var s={firstName:"",lastName:"",isDirectlyBillable:!1,freeTrialEndDate:o()().add(14,"days").format("YYYY-MM-DD"),name:"",email:"",password:"",creationType:"",billingStatus:r.ACTIVE,currentWalletBalance:0,allocatedChatbots:0,totalChatbots:0,allocatedVoiceAgents:0,characterCount:0,allocatedCharacterCount:0,allocatedConcurrentCalls:0,allocatedVoiceKb:0,totalVoiceAgents:0,isPlanManaged:!1}},13404:function(e,n,t){t.d(n,{A:function(){return u}});var r=t(78685),a=(t(2057),t(31547)),o=t(32417),i=t(81971),l=t(63809),s=t(36206),c=t(10698),d=t(48356);function u(e){var n=(void 0===e?{}:e).showHeader,t=void 0===n||n,u=(0,d.P)(),h=u.shellSurfaceBg,x=u.cardSkeleton,b=u.surfaceBorder,f=u.surfaceShadow,p=u.warningSurface,g=u.warningBorder,m=u.warningSkeleton;return(0,r.jsxs)(a.A,{sx:{bgcolor:h,minHeight:"100vh"},children:[t?(0,r.jsx)(d.G,{compact:!0}):null,(0,r.jsx)(c.A,{children:(0,r.jsxs)(o.A,{spacing:2.5,sx:{pt:2.5},children:[(0,r.jsx)(a.A,{sx:{borderRadius:2,border:"1px solid ".concat(g),backgroundColor:p,px:2.5,py:2},children:(0,r.jsx)(i.A,{variant:"text",width:"52%",height:24,sx:{bgcolor:m}})}),(0,r.jsx)(a.A,{sx:{display:"grid",gridTemplateColumns:{xs:"1fr",md:"repeat(3, minmax(0, 1fr))"},gap:3},children:Array.from({length:3}).map((function(e,n){return(0,r.jsx)(a.A,{sx:{my:2,height:"100%"}
1,children:(0,r.jsxs)(l.A,{elevation:2,sx:{display:"flex",flexDirection:"column",minHeight:252,height:"100%",borderRadius:2.5,border:"1px solid ".concat(b),boxShadow:f},children:[(0,r.jsxs)(s.A,{sx:{display:"flex",flexDirection:"column",flexGrow:1,pb:0,p:2.5},children:[(0,r.jsxs)(a.A,{sx:{display:"flex",alignItems:"center",mb:2},children:[(0,r.jsx)(a.A,{sx:{mr:2,color:"primary.main"},children:(0,r.jsx)(i.A,{variant:"circular",width:24,height:24,sx:{bgcolor:x}})}),(0,r.jsx)(i.A,{variant:"text",width:0===n?"54%":1===n?"60%":"50%",height:26,sx:{bgcolor:x}})]}),(0,r.jsx)(i.A,{variant:"text",width:"100%",height:22,sx:{bgcolor:x}}),(0,r.jsx)(i.A,{variant:"text",width:1===n?"94%":"88%",height:22,sx:{bgcolor:x}}),(0,r.jsx)(i.A,{variant:"text",width:2===n?"70%":"76%",height:22,sx:{bgcolor:x,mb:2}})]}),(0,r.jsx)(a.A,{sx:{p:2,pt:0},children:(0,r.jsx)(a.A,{sx:{width:"100%",textAlign:"center"},children:(0,r.jsx)(i.A,{variant:"rounded",width:152,height:38,sx:{bgcolor:x,mx:"auto",borderRadius:1.5}})})})]})},n)}))})]})})]})}},15382:function(e,n,t){t.d(n,{u:function(){return i}});var r=t(28520),a=t(66854),o=t(29528),i=r.A.create({baseURL:a.K.API_BASE_URL,withCredentials:!0,headers:{"Content-Type":"application/json"}});i.interceptors.response.use((function(e){return e}),(function(e){return(0,o.h4)(e,null==e?void 0:e.config)&&(0,o.il)(e),Promise.reject(e)}))},6765:function(e,n,t){t.d(n,{Ay:function(){return a.A},nv:function(){return a.A},uE:function(){return r.u}});var r=t(15382),a=t(60551)},22249:function(e,n,t){t.d(n,{SZ:function(){return h},Tc:function(){return u},_G:function(){return v},_w:function(){return m},gj:function(){return p},nd:function(){return b}});var r=t(60551),a=t(85062),o=t(21762),i=t(86591),l=t(19124),s=function(e,n,t,r){return new(t||(t=Promise))((function(a,o){function i(e){try{s(r.next(e))}catch(e){o(e)}}function l(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var n;e.done?a(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,l)}s((r=r.apply(e,n||[])).next())}))},c=function(e,n){var t,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){return function(l){if(t)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(o=0)),o;)try{if(t=1,r&&(a=2&l[0]?r.return:l[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;switch(r=0,a&&(l=[2&l[0],a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}if(6===l[0]&&o.label<a[1]){o.label=a[1],a=l;break}
1if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=n.call(e,o)}catch(e){l=[6,e],r=0}finally{t=a=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}},d=function(e,n,t){if(t||2===arguments.length)for(var r,a=0,o=n.length;a<o;a++)!r&&a in n||(r||(r=Array.prototype.slice.call(n,0,a)),r[a]=n[a]);return e.concat(r||Array.prototype.slice.call(n))},u=function(e,n,t){return void 0===t&&(t=1),(0,i.I)({queryKey:[a.e.webhookRequestsHistory,e,n,t],queryFn:function(){return function(e,n){for(var t=[],a=2;a<arguments.length;a++)t[a-2]=arguments[a];return s(void 0,d([e,n],t,!0),Promise,(function(e,n,t){var a;return void 0===t&&(t=1),c(this,(function(i){switch(i.label){case 0:return a={webhook_type:e,page:t,page_size:10},null!=n&&(a.chatbot_id=n),[4,r.A.get(o.n.CHATBOT.WEBHOOK_REQUEST_HISTORY,{params:a})];case 1:return[2,i.sent().data]}}))}))}(e,n,t)},refetchOnWindowFocus:!0,refetchOnMount:!0,placeholderData:function(e){return e}})},h=function(e,n,t){return void 0===t&&(t=!0),(0,i.I)({queryKey:[a.e.emailRequestsHistory,e,n],queryFn:function(){return function(e,n){return s(void 0,void 0,Promise,(function(){var t,a;return c(this,(function(i){switch(i.label){case 0:return t=(0,l.uc)({emailType:e}),null!=n&&(t.chatbot_id=n),[4,r.A.get(o.n.CHATBOT.EMAIL_REQUEST_HISTORY,{params:t})];case 1:return a=i.sent(),[2,(0,l.Cb)(a.data)]}}))}))}(e,n)},enabled:t,refetchOnWindowFocus:!0,refetchOnMount:!0})},x=function(){return s(void 0,void 0,Promise,(function(){var e;return c(this,(function(n){switch(n.label){case 0:return[4,r.A.get(o.n.USERS.BASIC_DETAILS)];case 1:return e=n.sent(),[2,(0,l.Cb)(e.data)]}}))}))},b=function(){return(0,i.I)({queryKey:[a.e.USER_DETAILS],queryFn:x,refetchOnWindowFocus:!0,refetchOnMount:!0,staleTime:3e5})},f=function(){return s(void 0,void 0,Promise,(function(){var e;return c(this,(function(n){switch(n.label){case 0:return[4,r.A.get(o.n.USERS.ASSETS_USAG
1E)];case 1:return e=n.sent(),[2,(0,l.Cb)(e.data)]}}))}))},p=function(){return(0,i.I)({queryKey:[a.e.ASSETS_USAGE],queryFn:f,refetchOnWindowFocus:!0,refetchOnMount:!0,staleTime:0,retry:!1})},g=function(){return s(void 0,void 0,Promise,(function(){var e;return c(this,(function(n){switch(n.label){case 0:return[4,r.A.get(o.n.WHITE_LABEL.ABSTRACT_SUBACCOUNTS)];case 1:return e=n.sent(),[2,(0,l.Cb)(e.data)]}}))}))},m=function(e){return void 0===e&&(e=!1),(0,i.I)({queryKey:[a.e.ABSTRACT_SUBACCOUNTS],queryFn:g,refetchOnWindowFocus:!0,refetchOnMount:!0,staleTime:0,retry:!1,enabled:e})},v=function(e,n){return s(void 0,void 0,Promise,(function(){var t,a,i,l;return c(this,(function(s){switch(s.label){case 0:return t={webhook_type:e},null!=n&&(t.chatbot_id=n),[4,r.A.get(o.n.CHATBOT.EXPORT_WEBHOOK_HISTORY,{params:t,responseType:"blob"})];case 1:return a=s.sent(),i=window.URL.createObjectURL(new Blob([a.data])),(l=document.createElement("a")).href=i,l.setAttribute("download","webhook-history-".concat(e,"-").concat(n||"all",".csv")),document.body.appendChild(l),l.click(),l.remove(),window.URL.revokeObjectURL(i),[2]}}))}))}},36755:function(e,n,t){var r=t(78685),a=(t(2057),t(28481)),o=t(6538),i=function(){return i=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var a in n=arguments[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e},i.apply(this,arguments)},l=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)n.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(t[r[a]]=e[r[a]])}return t};n.A=function(e){var n=e.children,t=l(e,["children"]),s=function(e){return"function"==typeof n?n(e):n};return(0,r.jsx)(a.l1,i({},t,{children:function(e){return(0,r.jsxs)(r.Fragment,{children:[s(e),(0,r.jsx)(o.A,{values:e.values,errors:e.errors,touched:e.touched})]})}}))}},6538:function(e,n,t){var r=t(78685),a=t(63809),o=t(10838),i=t(31547),l=t(36206),s=t(2057),c=function(e){var n=e.title,t=e.data;return(0,r.jsxs)(a.A,{variant:"outlined",sx:{p:3,mb:3},children:[(0,r.jsx)(o.A,{variant:"body1",fontWeight:600,children:n}),(0,r.jsx)("code",{style:{overflowX:"auto",whiteSpace:"pre-wrap",wordWrap:"break-word"},children:(0,r.jsx)("pre",{children:JSON.stringify(t,null,2)})})]})};n.A=function(e){var n=e.values,t=e.errors,o=e.touched,d=(0,s.useState)(!1),u=d[0],h=d[1];return(0,s.useEffect)((function(){var e=function(e){(e.ctrlKey&&"F12"===e.key||e.metaKey&&"F12"===e.key)&&(e.preventDefault(),h((function(e){return!e})))};return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[]),(0,r.jsx)(i.A,{id:"formik-debugger",display:u?"block":"none",mt:2,children:(0,r.jsx)(a.A,{children:(0,r.jsxs)(l.A,{children:[t&&(0,r.jsx)(c,{title:"Errors",data:t}),n&&(0,r.jsx)(c,{title:"Values",data:n}),o&&(0,r.jsx)(c,{title:"Touched",data:o})]})})})}},12706:function(e,n,t){var r=t(78685),a=(t(2057),t(31547)),o=t(10838),i=t(85747),l=t(16657);n.A=function(){var e=(0,l.Bd)().t;return(0,r.jsx)(a.A,{sx:{width:"100%",maxWidth:720,mx:"auto",p:{xs:3,md:4},borderRadius:2,backgroundColor:"rgba(20, 20, 20, 0.9)",border:"1px solid rgba(255, 255, 255, 0.16)",boxShadow:"0 12px 36px rgba(0, 0, 0, 0.35)"},children:(0,r.jsxs)(a.A,{sx:{display:"flex",alignItems:"center",justifyContent:"center",gap:1.25},children:[(0,r.jsx)(i.A,{sx:{color:"#fff"}}),(0,r.jsx)(o.A,{variant:"body1",sx:{color:"rgba(255,255,255,0.95)",fontWeight:500},children:e("DISPLAY_STRINGS.NO_PERMISSION_ACCESS")})]})})}},94632:function(e,n,t){var r=t(78685),a=(t(2057),t(95930)),o=t(31547),i=t(10838),l=t(50143),s=function(){return s=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var a in n=arguments[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e},s.apply(this,arguments)},c=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)n.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(t[r[a]]=e[r[a]])}return t};n.A=function(e){var n=e.options,t=e.selectedValue,d=e.onChange,u=e.label,h=void 0===u?"":u,x=e.isSearchable,b=void 0===x||x,f=e.isClearable,p=void 0!==f&&f,g=e.isDisabled,m=void 0!==g&&g,v=e.selectedLabel,y=e.isMulti,A=void 0!==y&&y,S=e.components,j=e.placeholder,w=e.styles,E=c(e,["options","selectedValue","onChange","label","isSearchable","isClearable","isDisabled","selectedLabel","isMulti","components","placeholder","styles"]),L=(0,l.f)().themeMode,_=n.some((function(e){return Array.isArray(null==e?void 0:e.options)}))?n.flatMap((function(e){return e.options})):n;return(0,r.jsxs)(o.A,{children:[h&&(0,r.jsx)(i.A,{variant:"body2",sx:{mb:1,fontWeight:500,color:"text.secondary"},children:h}),(0,r.jsx)(a.Ay,s({isMulti:A,value:A?_.filter((function(e){return!!Array.isArray(t)&&t.includes(e.value)})):t?{value:t,label:v||t}:null,defaultValue:A?_.filter((function(e){return!!Array.isArray(t)&&t.includes(e.value)})):t?{value:t,label:v||t}:null,onChange:function(e){var n;if(A){var t=e.map((function(e){return e.value}));d(t)}else{var r=null!==(n=null==e?void 0:e.value)&&void 0!==n?n:"";d(r)}},options:n,isClearable:p,isSearchable:b,isDisabled:m,placeholder:j||h,menuPortalTarget:document.body,components:S,classNamePrefix:"select",styles:s(s({},w),{control:function(e){var n;return s(s(s({},e),null===(n=null==w?void 0:w.control)||void 0===n?void 0:n.call(w,e)),{backgroundColor:"transparent",color:"dark"===L?"white":"black"})},menu:function(e){var n;return s(s(s({},e),null===(n=null==w?void 0:w.menu)||void 0===n?void 0:n.call(w,e)),{backgroundColor:"dark"===L?"#1a1a1a":"white",color:"dark"===L?"white":"black"})},menuList:function(e){var n;return s(s(s({},e),null===(n=null==w?void 0:w.menuList)||void 0===n?void 0:n.call(w,e)),{color:"dark"===L?"white":"black"})},menuPortal:function(e){var n;return s(s(s({},e),null===(n=null==w?void 0:w.menuPortal)||void 0===n?void 0:n.call(w,e)),{zIndex:9999})},option:function(e,n){var t,r,a;return s(s(s({},e),null===(t=null==w?void 0:w.option)||void 0===t?void 0:t.call(w,e,
1n)),{backgroundColor:n.isFocused?"dark"===L?"black":"#ccc":null===(a=null===(r=null==w?void 0:w.option)||void 0===r?void 0:r.call(w,e,n))||void 0===a?void 0:a.backgroundColor,color:"dark"===L?"white":"black"})},singleValue:function(e){var n;return s(s(s({},e),null===(n=null==w?void 0:w.singleValue)||void 0===n?void 0:n.call(w,e)),{color:"dark"===L?"white":"black"})},input:function(e){var n;return s(s(s({},e),null===(n=null==w?void 0:w.input)||void 0===n?void 0:n.call(w,e)),{border:"none",outline:"none",boxShadow:"none",backgroundColor:"transparent",margin:0,padding:0})}})},E))]})}},71166:function(e,n,t){var r=t(78685),a=(t(2057),t(83474)),o=t(96547),i=t(7098),l=function(){return l=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var a in n=arguments[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e},l.apply(this,arguments)},s=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)n.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(t[r[a]]=e[r[a]])}return t};n.A=function(e){var n=e.sx,t=s(e,["sx"]),c=(0,a.A)(),d="dark"===c.palette.mode;return(0,r.jsx)(o.A,l({sx:l({padding:"5px",backgroundColor:d?(0,i.X4)(c.palette.common.white,.04):(0,i.X4)(c.palette.text.primary,.06),borderRadius:"8px",gap:"8px","& .MuiToggleButtonGroup-grouped, & .MuiToggleButtonGroup-firstButton, & .MuiToggleButtonGroup-lastButton, & .MuiToggleButtonGroup-middleButton":{borderTopLeftRadius:"6px !important",borderTopRightRadius:"6px !important",borderBottomLeftRadius:"6px !important",borderBottomRightRadius:"6px !important"},"& .MuiToggleButton-root":{border:"none",borderRadius:"6px",padding:"".concat(c.spacing(1)," ").concat(c.spacing(2)),textTransform:"none",fontWeight:500,fontSize:c.typography.body2.fontSize,color:c.palette.text.secondary,backgroundColor:"transparent",transition:c.transitions.create(["background-color","box-shadow","color"],{duration:c.transitions.duration.shorter}),"&:hover":{backgroundColor:d?(0,i.X4)(c.palette.common.white,.22):(0,i.X4)(c.palette.text.primary,.08)},"&.Mui-selected":{color:d?c.palette.common.white:c.palette.primary.main,backgroundColor:d?(0,i.X4)(c.palette.common.white,.12):(0,i.X4)(c.palette.common.white,.8),boxShadow:c.shadows[1],fontWeight:600,"&:hover":{backgroundColor:d?(0,i.X4)(c.palette.common.white,.12):(0,i.X4)(c.palette.common.white,.8)}}}},n)},t))}},33275:function(e,n,t){var r=t(78685),a=(t(2057),t(18982)),o=t(4298),i=t(16657);n.A=function(e){var n=e.statFilter,t=e.setStatFilter,l=(0,i.Bd)().t;return(0,r.jsx)("div",{children:(0,r.jsxs)(a.A,{value:n,onChange:function(e,n){return t(n)},textColor:"primary",sx:{".MuiTabs-indicator":{height:0},".MuiTab-root":{minWidth:0}},children:[(0,r.jsx)(o.A,{label:l("DISPLAY_STRINGS.DAY"),value:"day"}),(0,r.jsx)(o.A,{label:l("DISPLAY_STRINGS.WEEK"),value:"week"}),(0,r.jsx)(o.A,{label:l("DISPLAY_STRINGS.MONTH"),value:"month"})]})})}},75228:function(e,n,t){var r=t(78685),a=(t(2057),t(17e3)),o=t(69179),i=t(73433),l=function(){return l=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var a in n=arguments[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e},l.apply(this,arguments)};n.h=function(e){var n,t,s,c=e.open,d=e.onClose,u=e.onDismiss,h=e.release,x=(0,a.Zp)(),b=function(e){u(),x(e)},f=h.bullets.length>1,p=f?null:null!==(t=null===(n=h.bullets.find((function(e){return e.to})))||void 0===n?void 0:n.to)&&void 0!==t?t:null;return(0,r.jsxs)(o.lGe,{open:c,onClose:d,maxWidth:"sm",fullWidth:!0,PaperProps:{sx:{borderRadius:3}},children:[(0,r.jsxs)(o.L33,{sx:{pr:7,pt:3,pb:1},children:[(0,r.jsx)(o.o5u,{variant:"overline",color:"primary",sx:{fontWeight:700,letterSpacing:1.2,display:"block",lineHeight:1.4},children:"What's New"}),(0,r.jsx)(o.o5u,{variant:"h5",component:"div",sx:{fontWeight:700,mt:.5},children:h.title}),(0,r.jsx)(o.K0,{"aria-label":"close",onClick:d,sx:{position:"absolute",right:16,top:16,border:"1px solid",borderColor:"divider",borderRadius:1,width:32,height:32},size:"small",children:(0,r.jsx)(i.bm,{fontSize:"small"})})]}),(0,r.jsx)(o.Cff,{sx:{pt:1},children:(0,r.jsx)(o.BJc,{divider:(0,r.jsx)(o.cGx,{flexItem:!0}),spacing:0,children:h.bullets.map((function(e,n){return(0,r.jsxs)(o.azJ,{sx:{display:"flex",alignItems:"flex-start",ga
1p:1.5,py:2},children:[(0,r.jsxs)(o.azJ,{sx:{flex:1},children:[(0,r.jsxs)(o.o5u,{variant:"body1",sx:{color:"text.primary",lineHeight:1.6},children:[(0,r.jsx)(o.azJ,{component:"span",sx:{fontWeight:700},children:e.label})," ",e.text]}),e.subPoints&&e.subPoints.length>0&&(0,r.jsx)(o.azJ,{component:"ul",sx:{mt:1,mb:0,pl:2.5,color:"text.secondary"},children:e.subPoints.map((function(e,n){return(0,r.jsx)(o.o5u,{component:"li",variant:"body2",sx:l({lineHeight:1.6,"& + &":{mt:.5}},e.highlight?{color:"primary.main",fontWeight:700,"&::marker":{color:"primary.main"}}:{}),children:e.text},n)}))})]}),f&&e.to&&(0,r.jsx)(o.K0,{"aria-label":"Go to ".concat(e.label),onClick:function(){return b(e.to)},size:"small",sx:{mt:.25,color:"text.secondary"},children:(0,r.jsx)(i.j0,{fontSize:"small"})})]},n)}))})}),(0,r.jsx)(o.iin,{sx:{px:3,pb:3,pt:1},children:p?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.$nd,{variant:"text",onClick:d,sx:{fontWeight:500,textTransform:"none",color:"text.secondary"},children:"Maybe later"}),(0,r.jsx)(o.$nd,{variant:"contained",onClick:function(){return b(p)},endIcon:(0,r.jsx)(i.j0,{fontSize:"small"}),sx:{fontWeight:600,textTransform:"none",px:3},children:null!==(s=h.ctaLabel)&&void 0!==s?s:"Compare plans"})]}):(0,r.jsx)(o.$nd,{variant:"contained",onClick:d,sx:{fontWeight:600,textTransform:"none",px:3},children:"Got it"})})]})}},41823:function(e,n,t){var r=t(69179),a=[{backgroundColor:"#A7C7E7",color:"#3A5A7D"},{backgroundColor:"#F7C8A3",color:"#B66A4D"},{backgroundColor:"#B5EAD7",color:"#48856D"},{backgroundColor:"#E6A4B4",color:"#9B4A5C"},{backgroundColor:"#F9E79F",color:"#B59A50"},{backgroundColor:"#BFD8D2",color:"#5E7D79"},{backgroundColor:"#E8A871",color:"#9B563B"},{backgroundColor:"#A0D6B4",color:"#3B7A57"},{backgroundColor:"#E6A4B4",color:"#924343"},{backgroundColor:"#dbeafe",color:"#2563eb"},{backgroundColor:"#CDB4DB",color:"#805B8D"}],o=(0,r.I4L)(r.vu3,{shouldForwardProp:function(e){return"categoryIndex"!==e&&"fontSize"!==e}})((function(e){var n=e.categoryIndex,t=e.fontSize,r=function(e){if(e<0)return a.at(e)||{backgroundColor:"#ffffff",color:"#000000"};var n=e%a.length;return a[n]}(n);return{backgroundColor:r.backgroundColor,color:r.color,fontSize:t||"14px"}}));n.A=o},79139:function(e,n,t){var r=t(78685),a=t(2057);n.A=function(e){var n=e.end,t=e.duration,o=void 0===t?500:t,i=(0,a.useState)(0),l=i[0],s=i[1];return(0,a.useEffect)((function(){var e=0,t=n/(o/16),r=function(){(e+=t)<n?(s(Math.ceil(e)),requestAnimationFrame(r)):s(n)};r()}),[n,o]),(0,r.jsx)(r.Fragment,{children:l.toLocaleString()})}},10698:function(e,n,t){var r=t(78685);t(2057);n.A=function(e){var n=e.children;return(0,r.jsx)("div",{style:{width:"100%",margin:"0px auto",maxWidth:"1440px",padding:"0px 24px"},children:n})}},20314:function(e,n,t){var r=t(78685),a=t(2057),o=t(31547),i=t(41175),l=t(45043),s=t(10838),c=t(83474),d=t(7098),u=t(10698),h=function(){return h=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var a in n=arguments[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e},h.apply(this,arguments)};n.A=function(e){var n=e.heading,t=e.subheading,x=e.icon,b=e.leftContent,f=e.rightContent,p=e.sx,g=void 0===p?{}:p,m=(0,c.A)(),v=null!=x?x:(0,r.jsx)(o.A,{component:"i","data-feather":"activity"});a.useEffect((function(){var e=window.feather;(null==e?void 0:e.replace)&&e.replace()}),[x]);var y=m.palette.primary.main,A="dark"===m.palette.mode?m.palette.primary.dark:(0,d.X4)(m.palette.primary.dark,.9),S=m.palette.getContrastText(m.palette.primary.main);return(0,r.jsx)(i.A,{elevation:0,className:"bg-gradient-primary-to-secondary",sx:h({px:{xs:0,md:0},py:{xs:t?2:1.75,md:t?2.5:1.75},mb:1.5,borderRadius:0,position:"sticky",top:"var(--shell-header-top, 0px)",zIndex:m.zIndex.appBar-1,background:"linear-gradient(135deg, ".concat(y," 0%, ").concat(A," 100%)"),color:S,borderBottom:"1px solid ".concat((0,d.X4)(S,.14))},g),children:(0,r.jsx)(u.A,{children:(0,r.jsxs)(o.A,{sx:{display:"flex",alignItems:{xs:"flex-start",md:"center"},justifyContent:"space-between",gap:2,flexWrap:"wrap"},children:[(0,r.jsxs)(o.A,{sx:{display:"flex",alignItems:"center",gap:b?{xs:.75,md:1}:{xs:2,md:4},minWidth:0,flex:1},children:[b,(0,r.jsxs)(o.A,{sx:{display:"flex",alignItems:"center",gap:1.5,minWidth:0},children:[(0,r.jsx)(l.A,{sx:{bgcolor:(0,d.X4)("#000",.15),color:S,width:34,he
1ight:34,flexShrink:0},variant:"circular",children:(0,r.jsx)(o.A,{sx:{display:"flex",alignItems:"center","& svg":{width:20,height:20,strokeWidth:2.25}},children:v})}),(0,r.jsxs)(o.A,{sx:{minWidth:0},children:[(0,r.jsx)(s.A,{variant:"h5",sx:{fontFamily:'"Metropolis", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif',fontWeight:600,color:S,lineHeight:1.15,letterSpacing:"-0.02em"},children:n}),t&&(0,r.jsx)(s.A,{variant:"body2",sx:{fontFamily:'"Metropolis", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif',mt:.35,maxWidth:"72ch",color:(0,d.X4)(S,.82),lineHeight:1.45,fontSize:{xs:"0.85rem",md:"0.9rem"}},children:t})]})]})]}),f&&(0,r.jsx)(o.A,{sx:{display:"flex",alignItems:"center",gap:1,ml:"auto"},children:f})]})})})}},63288:function(e,n,t){t.d(n,{A:function(){return b}});var r=t(78685),a=t(2057),o=t(31547),i=t(38588),l=t(26120),s=t(30350),c=t(34994),d=t(26400),u=t(10857),h=t(94632),x=function(e,n,t){if(t||2===arguments.length)for(var r,a=0,o=n.length;a<o;a++)!r&&a in n||(r||(r=Array.prototype.slice.call(n,0,a)),r[a]=n[a]);return e.concat(r||Array.prototype.slice.call(n))};function b(e){var n=e.fields,t=e.initialValues,b=e.onChange,f=e.addButtonLabel,p=void 0===f?"Add item":f,g=e.defaultValue,m=e.disabled,v=(0,a.useState)(t),y=v[0],A=v[1];(0,a.useEffect)((function(){A(t)}),[t]);var S=function(e){A(e),b(e)},j=function(e,n,t){S(y.map((function(r,a){return r.map((function(r,o){return a===e&&o===n?t:r}))})))};return(0,r.jsxs)(o.A,{marginTop:1,children:[y.length>0&&y.map((function(e,t){return(0,r.jsxs)(o.A,{sx:{display:"flex",gap:2,mb:2,alignItems:"center"},children:[e.map((function(e,a){var c,d=n[a],u=d.type,x=d.options;return"text"===u?(0,r.jsx)(i.A,{disabled:m,id:d.name,name:d.name,placeholder:d.label,variant:"outlined",size:"small",value:e,onChange:function(e){return j(t,a,e.target.value)},fullWidth:!0},a):"select"===u?(0,r.jsx)(o.A,{style:{width:"400px"},children:(0,r.jsx)(h.A,{isDisabled:m,options:x||[],onChange:function(e){return j(t,a,e)},selectedLabel:(null===(c=null==x?void 0:x.find((function(n){return n.value===e})))||void 0===c?void 0:c.label)||"",selectedValue:e},a)}):"boolean"===u?(0,r.jsx)(l.A,{control:(0,r.jsx)(s.A,{disabled:m,checked:e,onChange:function(e){return j(t,a,e.target.checked)}}),label:d.label,sx:{ml:0}},a):void 0})),(0,r.jsx)(c.A,{"aria-label":"delete row",color:"error",onClick:function(){return e=t,void S(y.filter((function(n,t){return t!==e})));var e},size:"small",disabled:m,children:(0,r.jsx)(u.A,{})})]},t)})),(0,r.jsxs)(d.A,{variant:"outlined",color:"primary",onClick:function(){var e=g||n.map((function(){return""}));S(x(x([],y,!0),[e],!1))},disabled:m,children:["+ ",p]})]})}},77155:function(e,n,t){t.d(n,{A:function(){return h}});var r=t(78685),a=t(2057),o=t(30332),i=t(69179),l=t(73433),s=t(22249),c=t(19124),d=t(16657),u=function(e){var n,t=e.open,a=e.onClose,o=e.emailType,u=e.chatbotId,h=(0,d.Bd)().t,x=(0,s.SZ)(o,u,t),b=x.data,f=x.isLoading,p=x.error,g=(null==b?void 0:b.results)&&b.results.length>0;if(p)return(0,r.jsx)(i.lGe,{open:t,onClose:a,children:(0,r.jsx)(i.Cff,{children:(0,r.jsx)(i.o5u,{color:"error",children:h("DISPLAY_STRINGS.ERROR_LOADING_EMAILS_DATA")})})});var m=["subject","emailTo","emailHtmlMessage","status","createdAt"],v=function(e){return{subject:h("DISPLAY_STRINGS.SUBJECT"),emailTo:h("DISPLAY_STRINGS.EMAIL_TO"),emailHtmlMessage:h("DISPLAY_STRINGS.EMAIL_HTML_MESSAGE"),status:h("DISPLAY_STRINGS.STATUS"),createdAt:h("DISPLAY_STRINGS.CREATED_AT")}[e]||e.replace(/_/g," ").split(" ").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join(" ")};return(0,r.jsxs)(i.lGe,{open:t,onClose:a,maxWidth:g?"xl":"sm",fullWidth:!0,PaperProps:{sx:{height:g?"80vh":"auto",maxHeight:g?"80vh":"400px"}},children:[(0,r.jsxs)(i.L33,{sx:{m:0,p:2,display:"flex",justifyContent:"space-between",alignItems:"center"},children:[(0,r.jsx)(i.o5u,{variant:"h6",component:"div",fontWeight:700,color:"primary",children:h("DISPLAY_STRINGS.EMAIL_REQUEST_HISTORY")}),(0,r.jsx)(i.K0,{"aria-label":h("DISPLAY_STRINGS.CLOSE"),onClick:a,children:(0,r.jsx)(l.bm,{})})]}),(0,r.jsx)(i.Cff,{sx:{p:2},children:f?(0,r.jsx)(i.azJ,{sx:{display:"flex",justifyContent:"center",p:3},children:(0,r.jsx)(i.PaH,{})}):g?(0,r.jsx)(i.K3K,{component:i.tu9,sx:{maxHeight:"calc(85vh - 200px)",overflowX:"auto",overflowY:"auto"},children:(0,r.jsxs)(i.XIK,{stickyHeader:!0,children:[(0,r.jsx)(i.ndF,{children:(0,r.jsx)(i.Hjg,{children:m.map((function(e){return(0,r.jsx)(i.nA6,{sx:{fontWeight:600,whiteSpace:"nowrap",minWidth:"100px"},children:v(e)},e)}))})}),(0,r.jsx)(i.BFY,{children:null===(n=null==b?void 0:b.results)||void 0===n?void 0:n.map((function(e,n){return(0,r.jsx)(i.Hjg,{children:m.map((function(t){return(0,r.jsx)(i.nA6,{children:"createdAt"===t?(0,c.r6)(String(e[t])):"emailHtmlMessage"===t?(0,r.jsx)(i.m_M,{placement:"left-start",title:(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:e[t]}}),PopperProps:{sx:{"& .MuiTooltip-tooltip":{maxHeight:"500px",width:"fit-content",overflowY:"auto",maxWidth:"500px"}}},children:(0,r.jsx)(i.o5u,{variant:"body2",sx:{cursor:"pointer",textDecoration:"underline"},color:"primary",children:h("DISPLAY_STRINGS.VIEW_EMAIL_CONTENT")})}):String(e[t])},"".concat(n,"-").concat(t))}))},n)}))})]})}):(0,r.jsxs)(i.azJ,{sx:{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",gap:2,p:4,borderRadius:2,my:2},children:[(0,r.jsx)(i.o5u,{variant:"h6",fontWeight:700,children:h("DISPLAY_STRINGS.NO_EMAILS_SENT")}),(0,r.jsx)(i.o5u,{children:h("DISPLAY_STRINGS.EMAILS_WILL_APPEAR_HERE")})]})}),(0,r.jsx)(i.iin,{sx:{display:"flex",justifyContent:"flex-end",gap:1},children:(0,r.jsx)(i.$nd,{onClick:a,variant:"outlined",color:"primary",children:h("DISPLAY_STRINGS.CLOSE")})})]})},h=function(e){var n=e.emailType,t=e.chatbotId,i=(0,a.useState)(!1),l=i[0],s=i[1];return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.A,{onClick:function(e){e.preventDefault(),s(!0)}}),(0,r.jsx)(u,{open:l,onClose:function(){s(!1)},emailType:n,chatbotId:t})]})}},71263:function(e,n,t){t.d(n,{H:function(){return g}});var r=t(78685),a=t(2057),o=t(93715),i=t(24926),l=t(70559),s=t(10838),c=t(34994),d=t(8482),u=t(31547),h=t(89543),x=t(112),b=t(67735),f=t(16657),p=["application/pdf"],g=function(e){return!!e&&p.includes(e.split(";")[0].trim())},m=function(e){return"url"in e};n.A=function(e){var n=e.open,t=e.onClose,p=e.file,v=e.mimeType,y=(0,f.Bd)().t,A=(0,a.useState)(null),S=A[0],j=A[1];(0,a.useEffect)((function(){if(n&&p&&!m(p)){var e=URL.createObjectURL(p);return j(e),function(){return URL.revokeObjectURL(e)}}j(null)}),[n,p]);var w=(0,a.useMemo)((function(){return p?m(p)?p.url:S:null}),[p,S]);return p?(0,r.jsxs)(o.A,{open:n,onClose:t,maxWidth:"lg",fullWidth:!0,PaperProps:{sx:{height:"90vh",m:{xs:1,sm:4},width:{xs:"calc(100% - 16px)",sm:"calc(100% - 64px)"},maxWidth:{xs:"calc(100% - 16px)",sm:"lg"}}},children:[(0,r.jsxs)(i.A,{sx:{display:"flex",alignItems:"center",gap:1,py:1.5,pr:1.5},children:[(0,r.jsx)(l.A,{title:p.name,placement:"bottom-start",children:(0,r.jsx)(s.A,{variant:"subtitle1",noWrap:!0,sx:{flexGrow:1,minWidth:0},children:p.name})}),(0,r.jsx)(l.A,{title:y("DISPLAY_STRINGS.OPEN_IN_NEW_TAB"),children:(0,r.jsx)(c.A,{size:"small",onClick:function(){w&&window.open(w,"_blank","noopener,noreferrer")},"aria-label":y("DISPLAY_STRINGS.OPEN_IN_NEW_TAB"),children:(0,r.jsx)(b.A,{fontSize:"small"})})}),(0,r.jsx)(l.A,{title:y("DISPLAY_STRINGS.DOWNLOAD"),children:(0,r.jsx)(c.A,{size:"small",onClick:function(){if(w){var e=document.createElement("a");e.href=w,e.download=p.name,e.click()}},"aria-label":y("DISPLAY_STRINGS.DOWNLOAD"),children:(0,r.jsx)(x.A,{fontSize:"small"})})}),(0,r.jsx)(c.A,{size:"small",onClick:t,"aria-label":y("DISPLAY_STRINGS.CLOSE"),children:(0,r.jsx)(h.A,{fontSize:"small"})})]}),(0,r.jsx)(d.A,{dividers:!0,sx:{p:0,display:"flex"},children:w&&g(v)?(0,r.jsx)(u.A,{component:"iframe",src:w,title:p.name,sx:{flexGrow:1,border:0,width:"100%",height:"100%"}}):(0,r.jsx)(u.A,{sx:{flexGrow:1,display:"flex",alignItems:"center",justifyContent:"center",p:4},children:(0,r.jsx)(s.A,{variant:"body2",color:"text.secondary",textAlign:"center",children:y("DISPLAY_STRINGS.FILE_PREVIEW_UNAVAILABLE")})})})]}):null}},69179:function(e,n,t){t.d(n,{nD3:function(){return r.nD3},ZiS:function(){return r.ZiS},Xo_:function(){return r.Xo_},FcD:function(){return r.FcD},XL1:function(){return r.XL1},jT8:function(){return r.jT8},euF:function(){return r.euF},Exy:function(){return r.Exy},azJ:function(){return r.azJ},$nd:function(){return r.$nd},ZpM:function(){return r.ZpM},waF:function(){return r.waF},Wux:function(){return r.Wux},aRn:function(){return r.aRn},VoS:function(){return r.VoS},fsr:function(){return i.A},Sc0:function(){return r.Sc0},vu3:function(){return r.vu3}
1,PaH:function(){return r.PaH},SDm:function(){return r.SDm},KKB:function(){return m.KK},mcf:function(){return r.mcf},T9i:function(){return a.A},n8S:function(){return r.n8S},aTG:function(){return g.A},lGe:function(){return r.lGe},iin:function(){return r.iin},Cff:function(){return r.Cff},zTD:function(){return r.zTD},L33:function(){return r.L33},cGx:function(){return r.cGx},_s:function(){return r._s},wJx:function(){return j.A},deU:function(){return c.A},hcB:function(){return l.A},UMu:function(){return p},MJN:function(){return r.MJN},ip9:function(){return r.ip9},eKY:function(){return r.eKY},l1m:function(){return w.A},xA9:function(){return r.xA9},fPr:function(){return r.fPr},K0:function(){return r.K0},BbZ:function(){return s.A},$ZZ:function(){return m.$Z},jC1:function(){return r.jC1},l1Y:function(){return r.l1Y},JU7:function(){return m.JU},hZv:function(){return r.hZv},qIE:function(){return A.A},N_E:function(){return r.N_E},B8B:function(){return r.B8B},ckQ:function(){return r.ckQ},$cp:function(){return r.$cp},Wj3:function(){return r.Wj3},LaP:function(){return r.LaP},ZqK:function(){return r.ZqK},W1t:function(){return r.W1t},Drp:function(){return r.Drp},aFV:function(){return r.aFV},oR4:function(){return S.A},dKS:function(){return r.dKS},Zkm:function(){return v.A},tu9:function(){return r.tu9},AMh:function(){return r.AMh},KK8:function(){return E.A},sxL:function(){return r.sxL},z6M:function(){return r.z6M},DOo:function(){return m.DO},IzF:function(){return y.A},l6P:function(){return r.l6P},EAD:function(){return r.EAD},qb_:function(){return r.qb_},BJc:function(){return r.BJc},pnw:function(){return r.pnw},DSl:function(){return r.DSl},C1Z:function(){return r.C1Z},dOG:function(){return r.dOG},ozo:function(){return r.ozo},KpK:function(){return o.A},XIK:function(){return r.XIK},BFY:function(){return r.BFY},nA6:function(){return r.nA6},K3K:function(){return r.K3K},ndF:function(){return r.ndF},Hjg:function(){return r.Hjg},tUM:function(){return r.tUM},A_L:function(){return r.A_L},NPJ:function(){return r.NPJ},ffE:function(){return r.ffE},WKD:function(){return r.WKD},m_M:function(){return r.m_M},o5u:function(){return r.o5u},AYg:function(){return L.h},X4A:function(){return r.X4A},anG:function(){return r.anG},i7C:function(){return r.i7C},I4L:function(){return r.I4L},Ubj:function(){return r.Ubj},DPo:function(){return r.DPo}});var r=t(58113),a=t(79139),o=t(34148),i=t(41823),l=t(90057),s=t(44353),c=t(71263),d=t(78685),u=t(2057),h=t(81304),x=t(7098),b=t(16657),f=function(){return f=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var a in n=arguments[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e},f.apply(this,arguments)};var p=function(e){var n=e.fields,t=e.values,a=e.onApply,o=e.onReset,i=e.buttonProps,l=e.defaultValues,s=void 0===l?{}:l,c=(0,b.Bd)().t,p=(0,u.useState)(null),g=p[0],m=p[1],v=(0,u.useState)(t),y=v[0],A=v[1],S=Boolean(g),j=function(e,n){return Object.keys(e).filter((function(t){var r=e[t],a=n[t];return Array.isArray(r)?r.length>0:null!=r&&""!==r&&r!==a})).length}(t,s);(0,u.useEffect)((function(){A(t)}),[t]);var w=function(){m(null)},E=function(e){var n,t=e.target,r=t.name,a=t.value;r&&A(f(f({},y),((n={})[r]=a,n)))},L=function(e){var n,t=e.target,r=t.name,a=t.value;A(f(f({},y),((n={})[r]=a,n)))};Object.keys(n).length;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(r.Exy,{badgeContent:j,color:"primary",overlap:"circular",sx:{"& .MuiBadge-badge":{fontSize:"0.6rem",minWidth:16,height:16,padding:"0 4px"}},children:(0,d.jsx)(r.K0,{onClick:function(e){m(e.currentTarget)},color:j>0?"primary":"default",sx:f({width:38,height:38,borderRadius:"8px",border:"1px solid",borderColor:j>0?"primary.main":"divider",backgroundColor:function(e){return j>0?(0,x.X4)(e.palette.primary.main,"dark"===e.palette.mode?.12:.06):"background.paper"},"&:hover":{backgroundColor:function(e){return j>0?(0,x.X4)(e.palette.primary.main,"dark"===e.palette.mode?.2:.1):"action.hover"}},transition:"border-color 0.15s, background-color 0.15s"},(null==i?void 0:i.sx)||{}),children:(0,d.jsx)(h.A,{fontSize:"small"})})}
1),(0,d.jsxs)(r.AMh,{open:S,anchorEl:g,onClose:w,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},slotProps:{paper:{elevation:0,sx:{mt:.75,width:300,border:"1px solid",borderColor:"divider",borderRadius:2,overflow:"hidden"}}},children:[(0,d.jsxs)(r.azJ,{sx:{px:2,py:1.5,display:"flex",alignItems:"center",justifyContent:"space-between",borderBottom:"1px solid",borderColor:"divider"},children:[(0,d.jsx)(r.o5u,{variant:"body2",fontWeight:600,children:c("DISPLAY_STRINGS.FILTERS","Filters")}),j>0&&(0,d.jsxs)(r.o5u,{variant:"caption",color:"primary",sx:{fontWeight:500},children:[j," ",c(1===j?"DISPLAY_STRINGS.FILTER_ACTIVE_SINGLE":"DISPLAY_STRINGS.FILTER_ACTIVE_PLURAL","active")]})]}),(0,d.jsx)(r.azJ,{sx:{px:2,pt:2,pb:1.5,display:"flex",flexDirection:"column",gap:2},children:Object.keys(n).map((function(e){var t,a,o=n[e],i=o.label,l=o.type,s=y[e];return(0,d.jsxs)(r.azJ,{children:["checkbox"!==l&&(0,d.jsx)(r.o5u,{variant:"caption",fontWeight:600,color:"text.secondary",sx:{display:"block",mb:.75,letterSpacing:"0.02em"},children:i}),(0,d.jsxs)(r.MJN,{fullWidth:!0,size:"small",children:["checkbox"===l&&(0,d.jsx)(r.ip9,{control:(0,d.jsx)(r.Sc0,{checked:Boolean(s),onChange:function(n){return function(e,n){var t;A(f(f({},y),((t={})[e]=n,t)))}(e,n.target.checked)}}),label:i,sx:{m:0}}),"text"===l&&(0,d.jsx)(r.A_L,{size:"small",variant:"outlined",name:e,value:s||"",onChange:E,fullWidth:!0}),"date"===l&&(0,d.jsx)(r.A_L,{size:"small",variant:"outlined",type:"date",name:e,value:s||"",onChange:E,fullWidth:!0}),"select"===l&&(0,d.jsx)(r.l6P,{size:"small",name:e,value:s||"",onChange:E,fullWidth:!0,displayEmpty:!0,renderValue:function(e){var n,t=null===(n=o.options)||void 0===n?void 0:n.find((function(n){return n.value===e}));return(0,d.jsx)(r.o5u,{variant:"body2",color:(null==t?void 0:t.label)?"text.primary":"text.disabled",children:(null==t?void 0:t.label)||c("DISPLAY_STRINGS.SELECT_PLACEHOLDER")})},children:null===(t=o.options)||void 0===t?void 0:t.map((function(e,n){return(0,d.jsx)(r.Drp,{value:e.value||"",children:(0,d.jsx)(r.o5u,{variant:"body2",children:e.label})},n)}))}),"multi-select"===l&&(0,d.jsx)(r.l6P,{size:"small",name:e,multiple:!0,value:s||[],onChange:L,fullWidth:!0,displayEmpty:!0,renderValue:function(e){return(0,d.jsx)(r.azJ,{sx:{display:"flex",flexWrap:"wrap",gap:.5},children:0===e.length?(0,d.jsx)(r.o5u,{variant:"body2",color:"text.disabled",children:c("DISPLAY_STRINGS.SELECT_PLACEHOLDER")}):e.map((function(e){var n,t,a=(null===(t=null===(n=null==o?void 0:o.options)||void 0===n?void 0:n.find((function(n){return n.value===e})))||void 0===t?void 0:t.label)||e;return(0,d.jsx)(r.vu3,{label:a,size:"small",sx:{height:20,fontSize:"0.7rem",".MuiChip-label":{px:1}}},e)}))})},children:null===(a=o.options)||void 0===a?void 0:a.map((function(e,n){return(0,d.jsx)(r.Drp,{value:e.value,children:(0,d.jsx)(r.o5u,{variant:"body2",children:e.label})},n)}))})]})]},e)}))}),(0,d.jsx)(r.cGx,{}),(0,d.jsxs)(r.azJ,{sx:{px:2,py:1.5,display:"flex",justifyContent:"flex-end",gap:1},children:[(0,d.jsx)(r.$nd,{variant:"outlined",color:"inherit",size:"small",onClick:function(){o(),w()},sx:{color:"text.secondary",borderColor:"divider",minWidth:72},children:c("DISPLAY_STRINGS.RESET")}),(0,d.jsx)(r.$nd,{variant:"contained",color:"primary",size:"small",onClick:function(){a(y),w()},sx:{minWidth:72},children:c("DISPLAY_STRINGS.APPLY")})]})]})]})},g=t(20314),m=(t(40121),t(10765)),v=t(7999),y=t(71166),A=t(77090),S=(t(30332),t(28498)),j=t(63288),w=t(36755),E=(t(6538),t(53794)),L=t(75228)},77090:function(e,n,t){var r=t(78685),a=(t(2057),t(69179)),o=t(83474),i=t(7098),l=function(){return l=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var a in n=arguments[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e},l.apply(this,arguments)};n.A=function(e){var n=e.tabs,t=e.selectedTab,s=e.onTabChange,c=e.sx,d=e.disabled,u=void 0!==d&&d,h=e.isLoading,x=void 0!==h&&h,b=(0,o.A)(),f="dark"===b.palette.mode;return x?(0,r.jsx)(a.azJ,{sx:l({display:"flex",gap:2,justifyContent:"space-around",padding:"5px",backgroundColor:f?"#1a1a1a":"#7e7e7e1a",borderRadius:"8px"},c),children:Array.from({length:3}).map((function(e,n){return(0,r.jsx)(a.EAD,{width:100,height:30},n)}))}):(0,r.jsx)(a.azJ,{sx:l({display:"inline-flex",gap:2,p:"5px",backgroundColor:f?(0,i.X4)(b.palette.common.white,.04):(0,i.X4)(b.palette.text.primary,.06),borderRadius:"8px"},c),children:n.map((function(e){var n=t===e.id;return(0,r.jsx)(a.m_M,{title:e.disabledTooltip,arrow:!0,placement:"top",children:(0,r.jsx)(a.$nd,{onClick:function(){return!u&&!x&&!e.disabled&&s(e.id)},disabled:u||x,variant:"text",sx:{px:2,py:1,borderRadius:"6px",fontWeight:500,opacity:e.disabled?.5:1,color:e.disabled?b.palette.text.secondary:n?f?b.palette.common.white:b.palette.primary.main:b.palette.text.secondary,backgroundColor:n?f?(0,i.X4)(b.palette.common.white,.12):(0,i.X4)(b.palette.common.white,.8):"transparent","&:hover":{backgroundColor:f?(0,i.X4)(b.palette.common.white,.22):(0,i.X4)(b.palette.text.primary,.08)}},children:(0,r.jsxs)(a.azJ,{sx:{display:"flex",alignItems:"center",gap:1},children:[e.icon,(0,r.jsx)("span",{children:e.label})]})})},e.id)}))})}},10765:function(e,n,t){t.d(n,{$Z:function(){return u},DO:function(){return x},JU:function(){return d},KK:function(){return h}});var r=t(78685),a=t(2057),o=t(69179),i=t(73433),l=t(16657),s=function(){return s=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var a in n=arguments[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e},s.apply(this,arguments)},c=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)n.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(t[r[a]]=e[r[a]])}return t},d=function(e){var n=e.className,t=e.name,a=e.required,l=e.helptext,c=e.ignoreSpace,d=e.style,u=e.htmlFor,h=e.placement,x=void 0===h?"top":h;return(0,r.jsxs)("label",{htmlFor:u,style:s({fontSize:(null==d?void 0:d.fontSize)||14},d),className:"".concat(c?"":"mb-1 ").concat(n),children:[(0,r.jsxs)("span",{style:{fontWeight:(null==d?void 0:d.fontWeight)||"600",color:(null==d?void 0:d.color)||"inherit"},children:[t," ",a?"*":""]}),l&&(0,r.jsx)(o.m_M,{title:l,placement:x,arrow:!0,children:(0,r.jsx)(i.JL,{color:"primary",sx:{marginLeft:"1px",fontSize:14}})})]})},u=function(e){var n=e.label,t=e.tooltipTitle,a=e.placement,l=void 0===a?"top":a,s=e.fontSize,c=void 0===s?16:s,d=e.bold,u=void 0!==d&&d;return(0,r.jsxs)("span",{style:{fontSize:c},children:[(0,r.jsx)("span",{style:{fontWeight:u?"600":"normal"},children:n||""}),t&&(0,r.jsx)(o.m_M,{title:t,placement:l,children:(0,r.jsx)(i.JL,{color:"primary",style:{fontSize:16,marginLeft:n?"5px":"0px"}})})]})},h=function(e){var n=e.isOpen,t=e.message,a=e.onClose,s=e.onConfirm,c=e.title,d=e.confirmButtonLabel,u=e.cancelButtonLabel,h=e.confirmButtonDisabled,x=void 0!==h&&h,b=e.showLoader,f=void 0===b||b,p=(0,l.Bd)().t;return(0,r.jsxs)(o.lGe,{open:n,onClose:a,maxWidth:"md",children:[(0,r.jsx)(o.L33,{children:(0,r.jsxs)(o.azJ,{display:"flex",alignItems:"center",justifyContent:"space-between",children:[(0,r.jsx)(o.o5u,{variant:"h5",fontWeight:700,children:c||p("DISPLAY_STRINGS.CONFIRMATION")}),(0,r.jsx)(o.K0,{size:"small",onClick:a,children:(0,r.jsx)(i.bm,{fontSize:"small"})})]})}),(0,r.jsx)(o.Cff,{sx:{whiteSpace:"break-spaces"},children:t}),(0,r.jsxs)(o.iin,{children:[(0,r.jsx)(o.$nd,{onClick:a,variant:"text",color:"inherit",disabled:x,children:u||p("DISPLAY_STRINGS.CANCEL")}),(0,r.jsxs)(o.$nd,{onClick:s,variant:"contained",color:"primary",disabled:x,children:[x&&f&&(0,r.jsx)("span",{className:"spinner-border spinner-border-sm me-2",role:"status","aria-hidden":"true"}),d||p("DISPLAY_STRINGS.OK")]})]})]})},x=function(e){var n=e.placeholder,t=e.onSearch,d=void 0===t?function(){}:t,u=e.onChange,h=void 0===u?function(){}:u,x=e.clearOnSubmit,b=void 0!==x&&x,f=e.fullWidth,p=void 0!==f&&f,g=e.value,m=c(e,["placeholder","onSearch","onChange","clearOnSubmit","fullWidth","value"]),v=(0,l.Bd)().t,y=(0,a.useState)(""),A=y[0],S=y[1];(0,a.useEffect)((function(){void 0!==g&&S(g)}),[g]);var j=function(){d(A),b&&S("")};return(0,r.jsx)(o.A_L,s({},m,{value:A,onChange:function(e){e.preventDefault();var n=e.target.value;S(n),h&&h(n)},placeholder:n||v("DISPLAY_STRINGS.SEARCH_PLACEHOLDER"),onKeyDown:function(e){"Enter"===e.key&&(e.preventDefault(),j())},fullWidth:p,sx:s({".MuiInputBase-root":{paddingRight:0,backgroundColor:"background.paper"},".MuiInputBase-root input":{padding:"8px 10px"}},m.sx),InputProps:{endAdornment:(0,r.jsx)(o.jC1,{position:"end",children:(0,r.jsx)(o.K0,{size:"small",onClick:function(){j()},children:(0,r.jsx)(i.vj,{})})})}}))}},28498:function(e,n,t){var r=t(78685),a=t(69179);t(2057);n.A=function(e){var n=e.logo,t=e.count,o=e.title,i=e.isLoading;return(0,r.jsx)(a.fPr,{size:{lg:2.4,md:6,xs:12},children:(0,r.jsx)(a.ZpM,{variant:"elevation",sx:{height:"100%"},children:(0,r.jsxs)(a.Wux,{children:[(0,r.jsx)(a.azJ,{marginBottom:2,children:n}
1),(0,r.jsx)(a.o5u,{variant:"h4",fontWeight:"bolder",className:"my-2",children:i?(0,r.jsx)("div",{className:"d-flex justify-content-center",children:(0,r.jsx)(a.EAD,{variant:"text",width:50})}):(0,r.jsx)(a.T9i,{end:t})}),(0,r.jsx)(a.o5u,{variant:"h5",className:"text-muted",children:i?(0,r.jsx)("div",{className:"d-flex justify-content-center",children:(0,r.jsx)(a.EAD,{variant:"text",width:100})}):o})]})})})}},7999:function(e,n,t){var r=t(78685),a=(t(2057),t(69179)),o=function(){return o=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var a in n=arguments[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e},o.apply(this,arguments)};n.A=function(e){var n=e.title,t=e.description,i=e.children,l=e.style,s=e.titleHeight,c=e.rightContent,d=e.fontSize,u=void 0===d?16:d,h=e.sx;return(0,r.jsx)(a.ZpM,{variant:"outlined",style:l,sx:o({borderColor:"divider",boxShadow:"none"},h),children:(0,r.jsxs)(a.Wux,{sx:{p:3,"&:last-child":{pb:3}},children:[(0,r.jsxs)(a.azJ,{display:"flex",alignItems:"center",justifyContent:"space-between",className:"mb-2",children:[(0,r.jsx)(a.o5u,{variant:"subtitle1",color:"primary",className:"fw-bolder",style:{fontSize:u,height:s||"auto"},children:n}),c&&(0,r.jsx)(a.azJ,{children:c})]}),t&&(0,r.jsx)(a.o5u,{variant:"body2",sx:{mb:2},color:"gray",children:t}),i&&(0,r.jsx)("div",{children:i})]})})}},8919:function(e,n,t){var r=t(78685),a=t(2057),o=t(14160),i=t(16657),l=t(12706),s=function(e,n,t,r){return new(t||(t=Promise))((function(a,o){function i(e){try{s(r.next(e))}catch(e){o(e)}}function l(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var n;e.done?a(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,l)}s((r=r.apply(e,n||[])).next())}))},c=function(e,n){var t,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){return function(l){if(t)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(o=0)),o;)try{if(t=1,r&&(a=2&l[0]?r.return:l[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;switch(r=0,a&&(l=[2&l[0],a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}if(6===l[0]&&o.label<a[1]){o.label=a[1],a=l;break}
1if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=n.call(e,o)}catch(e){l=[6,e],r=0}finally{t=a=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}};n.A=function(e){var n=e.permission,t=e.children,d=e.loadingSkeleton,u=e.useCustomToolsOverlay,h=void 0!==u&&u,x=e.customToolsOverlayContent,b=(0,i.Bd)().t,f=(0,o.p$)([n]),p=(0,a.useState)(null!=f?f:{hasPermission:!0,message:""}),g=p[0],m=p[1],v=(0,a.useState)(!f),y=v[0],A=v[1],S=h&&x||null!=x?x:(0,r.jsx)(l.A,{});return(0,a.useEffect)((function(){var e=!0;return s(void 0,void 0,void 0,(function(){var t,r;return c(this,(function(a){switch(a.label){case 0:(0,o.p$)([n])||A(!0),a.label=1;case 1:return a.trys.push([1,3,4,5]),[4,(0,o.Yj)(n)];case 2:return t=a.sent(),e&&m(t),[3,5];case 3:return r=a.sent(),console.error(b("DISPLAY_STRINGS.ERROR_CHECKING_PERMISSION"),r),e&&m({hasPermission:!1,message:b("DISPLAY_STRINGS.ERROR_CHECKING_PERMISSION")}),[3,5];case 4:return e&&A(!1),[7];case 5:return[2]}}))})),function(){e=!1}}),[n]),!y&&g.hasPermission?(0,r.jsx)(r.Fragment,{children:t}):(0,r.jsx)("div",{style:{position:"relative"},children:y?(0,r.jsx)(r.Fragment,{children:d}):(0,r.jsxs)(r.Fragment,{children:[t,(0,r.jsx)("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(0, 0, 0, 0.7)",zIndex:1e3,display:"flex",alignItems:"center",justifyContent:"center",cursor:"not-allowed",pointerEvents:"all",padding:"24px"},children:S})]})})}},53794:function(e,n,t){var r=t(78685),a=t(78153),o=t(20798),i=function(){return i=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var a in n=arguments[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e},i.apply(this,arguments)},l=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)n.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(t[r[a]]=e[r[a]])}return t},s=(0,a.Ay)(o.Ay)((function(e){var n=e.theme;return{color:n.palette.primary.main,height:8,padding:0,"& .MuiSlider-track":{border:"none"},"& .MuiSlider-rail":{opacity:.5,backgroundColor:"#ccc"},"& .MuiSlider-thumb":{height:18,width:18,backgroundColor:n.palette.background.paper,border:"2px solid currentColor","&:focus, &:hover, &.Mui-active, &.Mui-focusVisible":{boxShadow:"inherit"},"&::before":{display:"none"}},"& .MuiSlider-valueLabel":{lineHeight:1.2,fontSize:12,background:"unset",padding:0,width:24,height:24,borderRadius:"50% 50% 50% 0",backgroundColor:n.palette.primary.main,transformOrigin:"bottom left",transform:"translate(50%, -100%) rotate(-45deg) scale(0)","&::before":{display:"none"},"&.MuiSlider-valueLabelOpen":{transform:"translate(50%, -100%) rotate(-45deg) scale(1)"},"& > *":{transform:"rotate(45deg)"}}}}));n.A=function(e){var n=l(e,[]);return(0,r.jsx)(s,i({},n))}},34148:function(e,n,t){var r=t(78685),a=(t(2057),t(69179)),o=function(){return o=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var a in n=arguments[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e},o.apply(this,arguments)},i=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)n.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(t[r[a]]=e[r[a]])}return t};n.A=function(e){var n=e.children,t=e.value,l=e.index,s=i(e,["children","value","index"]);return(0,r.jsx)("div",o({role:"tabpanel",hidden:t!==l,id:"simple-tabpanel-".concat(l),"aria-labelledby":"simple-tab-".concat(l)},s,{children:t===l&&(0,r.jsx)(a.azJ,{sx:{paddingTop:2},children:n})}))}},30332:function(e,n,t){var r=t(78685),a=(t(2057),t(69179)),o=t(7736),i=t(16657),l=function(){return l=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var a in n=arguments[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e},l.apply(this,arguments)},s={borderRadius:1};n.A=function(e){var n=e.onClick,t=e.sx,c=e.size,d=void 0===c?"medium":c,u=e.disabled,h=void 0!==u&&u,x=(0,i.Bd)().t;return(0,r.jsx)(a.$nd,{variant:"outlined",color:"primary",size:d,disabled:h,startIcon:(0,r.jsx)(o.A,{fontSize:"small"===d?"small":"medium"}),onClick:n,sx:l(l({},s),t),children:x("DISPLAY_LABELS.VIEW_HISTORY")})}},55210:function(e,n,t){t.d(n,{A:function(){return f}});var r=t(78685),a=t(2057),o=t(30332),i=t(69179),l=t(73433),s=t(22249),c=t(19124),d=t(16657),u=t(79668),h=function(e,n,t,r){return new(t||(t=Promise))((function(a,o){function i(e){try{s(r.next(e))}catch(e){o(e)}}function l(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var n;e.done?a(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,l)}s((r=r.apply(e,n||[])).next())}))},x=function(e,n){var t,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){return function(l){if(t)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(o=0)),o;)try{if(t=1,r&&(a=2&l[0]?r.return:l[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;switch(r=0,a&&(l=[2&l[0],a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}
1if(6===l[0]&&o.label<a[1]){o.label=a[1],a=l;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=n.call(e,o)}catch(e){l=[6,e],r=0}finally{t=a=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}},b=function(e){var n,t=e.open,o=e.onClose,b=e.webhook_type,f=e.chatbotId,p=(0,d.Bd)().t,g=(0,a.useState)(1),m=g[0],v=g[1],y=(0,a.useState)(null),A=y[0],S=y[1],j=(0,a.useState)({open:!1,webhookData:null,index:null}),w=j[0],E=j[1],L=(0,s.Tc)(b,f,m),_=L.data,C=L.isLoading,I=L.error,T=L.isFetching,O=L.refetch,R=(null==_?void 0:_.count)?Math.ceil(_.count/10):0,k=(null==_?void 0:_.results)&&_.results.length>0,P=(null==_?void 0:_.count)||0;(0,a.useEffect)((function(){t&&v(1)}),[b,f,t]);if(I)return(0,r.jsx)(i.lGe,{open:t,onClose:o,children:(0,r.jsx)(i.Cff,{children:(0,r.jsx)(i.o5u,{color:"error",children:p("DISPLAY_STRINGS.ERROR_LOADING_WEBHOOKS_DATA")})})});var N=["created_at","request_url","request_payload","response_status","actions"],D=function(e){return{created_at:p("DISPLAY_STRINGS.CREATED_AT"),request_url:p("DISPLAY_STRINGS.REQUEST_URL"),request_payload:p("DISPLAY_STRINGS.REQUEST_PAYLOAD"),response_status:p("DISPLAY_STRINGS.RESPONSE_STATUS"),actions:p("DISPLAY_STRINGS.ACTIONS")}[e]||e.replace(/_/g," ").split(" ").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join(" ")},B=function(e,n){if("actions"===n)return null;var t=function(e,n){return"actions"===n?null:e[n]}(e,n);return"created_at"===n?(0,c.r6)(t):"request_payload"===n?(0,r.jsx)("pre",{style:{whiteSpace:"pre",overflow:"auto",margin:0},children:"string"==typeof t?t:JSON.stringify(t,null,2)}):"boolean"==typeof t?p(t?"DISPLAY_STRINGS.TRUE":"DISPLAY_STRINGS.FALSE"):String(null!=t?t:"")},U=10*(m-1)+1,z=Math.min(10*m,P);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(i.lGe,{open:t,onClose:o,maxWidth:k?"xl":"sm",fullWidth:!0,PaperProps:{sx:{height:k?"80vh":"auto",maxHeight:k?"80vh":"400px"}},children:[(0,r.jsxs)(i.L33,{sx:{m:0,p:2,display:"flex",justifyContent:"space-between",alignItems:"center"},children:[(0,r.jsxs)(i.o5u,{variant:"h6",component:"div",fontWeight:700,color:"primary",children:[p("DISPLAY_STRINGS.WEBHOOK_REQUEST_HISTORY"),P>0?" (".concat(P," total)"):""]}),(0,r.jsx)(i.K0,{"aria-label":p("DISPLAY_STRINGS.CLOSE"),onClick:o,children:(0,r.jsx)(l.bm,{})})]}),(0,r.jsx)(i.Cff,{sx:{p:2},children:C?(0,r.jsx)(i.azJ,{sx:{display:"flex",justifyContent:"center",p:3},children:(0,r.jsx)(i.PaH,{})}):k?(0,r.jsxs)(i.azJ,{sx:{position:"relative"},children:[T&&(0,r.jsx)(i.azJ,{sx:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"rgba(255, 255, 255, 0.7)",zIndex:1},children:(0,r.jsx)(i.PaH,{size:40})}),(0,r.jsx)(i.K3K,{component:i.tu9,sx:{maxHeight:"calc(85vh - 280px)",overflowX:"auto",overflowY:"auto"},children:(0,r.jsxs)(i.XIK,{stickyHeader:!0,children:[(0,r.jsx)(i.ndF,{children:(0,r.jsx)(i.Hjg,{children:N.map((function(e){return(0,r.jsx)(i.nA6,{sx:{fontWeight:600,whiteSpace:"nowrap",minWidth:"100px"},children:D(e)},e)}))})}),(0,r.jsx)(i.BFY,{children:null===(n=null==_?void 0:_.results)||void 0===n?void 0:n.map((function(e,n){return(0,r.jsx)(i.Hjg,{children:N.map((function(t){return"actions"===t?(0,r.jsx)(i.nA6,{children:(0,r.jsx)(i.$nd,{variant:"contained",size:"small",onClick:function(){return function(e,n){E({open:!0,webhookData:e,index:n})}(e,n)},disabled:A===n,sx:{textTransform:"none",color:"#fff",px:2,minWidth:90,boxShadow:"none","&:hover":{boxShadow:"none"}},children:A===n?(0,r.jsx)(i.PaH,{size:18,sx:{color:"#fff"}}):p("DISPLAY_STRINGS.RESEND_WEBHOOK")})},"".concat(n,"-").concat(t)):(0,r.jsx)(i.nA6,{sx:{whiteSpace:"request_payload"!==t?"nowrap":"normal",maxWidth:"request_payload"===t?"400px":"auto",overflow:"request_payload"===t?"hidden":"visible",textOverflow:"request_payload"===t?"ellipsis":"clip"},children:B(e,t)},"".concat(n,"-").concat(t))}))},n)}))})]})}),R>1&&(0,r.jsx)(i.azJ,{sx:{display:"flex",justifyContent:"center",alignItems:"center",mt:2,pb:1},children:(0,r.jsxs)(i.BJc,{spacing:2,children:[(0,r.jsx)(i.dKS,{count:R,page:m,onChange:function(e,n){v(n)},color:"primary",showFirstButton:!0,showLastButton:!0,disabled:T}),(0,r.jsxs)(i.o5u,{variant:"caption",textAlign:"center",color:"text.secondary",children:["Showing ",U,"-",z," of ",P]})]})})]}):(0,r.jsxs)(i.azJ,{sx:{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",gap:2,p:4,borderRadius:2,my:2},children:[(0,r.jsx)(i.o5u,{variant:"h6",fontWeight:700,children:p("DISPLAY_STRINGS.NO_WEBHOOKS_SENT")}),(0,r.jsx)(i.o5u,{children:p("DISPLAY_STRINGS.WEBHOOKS_WILL_APPEAR_HERE")})]})}),(0,r.jsxs)(i.iin,{sx:{display:"flex",justifyContent:"flex-end",gap:1},children:[(0,r.jsx)(i.$nd,{onClick:o,variant:"outlined",color:"primary",children:p("DISPLAY_STRINGS.CLOSE")}),k&&(0,r.jsx)(i.$nd,{startIcon:(0,r.jsx)(l.nK,{}),onClick:function(){return h(void 0,void 0,void 0,(function(){var e;return x(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,(0,s._G)(b,f)];case 1:return n.sent(),[3,3];case 2:return e=n.sent(),console.error("Error exporting webhook history:",e),[3,3];case 3:return[2]}}
1))}))},variant:"contained",color:"primary",children:p("DISPLAY_STRINGS.EXPORT_AS_CSV")})]})]}),(0,r.jsxs)(i.lGe,{open:w.open,onClose:function(){return E({open:!1,webhookData:null,index:null})},maxWidth:"sm",children:[(0,r.jsx)(i.L33,{children:p("DISPLAY_STRINGS.CONFIRM_RESEND")}),(0,r.jsx)(i.Cff,{children:(0,r.jsx)(i.o5u,{children:p("DISPLAY_STRINGS.CONFIRM_RESEND_MESSAGE")})}),(0,r.jsxs)(i.iin,{children:[(0,r.jsx)(i.$nd,{onClick:function(){return E({open:!1,webhookData:null,index:null})},variant:"outlined",children:p("DISPLAY_STRINGS.CANCEL")}),(0,r.jsx)(i.$nd,{onClick:function(){return h(void 0,void 0,void 0,(function(){var e,n,t;return x(this,(function(r){switch(r.label){case 0:if(e=w.webhookData,n=w.index,E({open:!1,webhookData:null,index:null}),!f||!e||null===n)return[2];r.label=1;case 1:return r.trys.push([1,3,4,5]),S(n),[4,(0,u.f)(e.id)];case 2:return r.sent(),(0,c.vd)(p("DISPLAY_STRINGS.WEBHOOK_RESENT_SUCCESSFULLY")),setTimeout((function(){O()}),1e3),[3,5];case 3:return t=r.sent(),console.error("Error resending webhook:",t),(0,c.ag)(p("DISPLAY_STRINGS.ERROR_RESENDING_WEBHOOK")),[3,5];case 4:return S(null),[7];case 5:return[2]}}
1))}))},variant:"contained",color:"primary",children:p("DISPLAY_STRINGS.CONFIRM")})]})]})]})},f=function(e){var n=e.webhook_type,t=e.chatbotId,i=(0,a.useState)(!1),l=i[0],s=i[1];return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.A,{onClick:function(e){e.preventDefault(),s(!0)}}),(0,r.jsx)(b,{open:l,onClose:function(){s(!1)},webhook_type:n,chatbotId:t})]})}},79900:function(e,n,t){t.d(n,{EC:function(){return s},G8:function(){return o},Se:function(){return c},nX:function(){return l},vO:function(){return i}});var r=t(78685),a=function(){return a=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var a in n=arguments[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e},a.apply(this,arguments)};function o(e){return(0,r.jsx)("svg",a({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:e.width||"1em",height:e.height||"1em"},e,{children:(0,r.jsx)("path",{fill:"#F12E45",d:"M128 0c70.656 0 128 57.344 128 128s-57.344 128-128 128S0 198.656 0 128S57.344 0 128 0m0 33.792c-52.224 0-94.208 41.984-94.208 94.208S75.776 222.208 128 222.208s94.208-41.984 94.208-94.208S180.224 33.792 128 33.792m31.744 99.328c14.704 0 26.624 11.92 26.624 26.624s-11.92 26.624-26.624 26.624s-26.624-11.92-26.624-26.624s11.92-26.624 26.624-26.624m-63.488 0c14.704 0 26.624 11.92 26.624 26.624s-11.92 26.624-26.624 26.624s-26.624-11.92-26.624-26.624s11.92-26.624 26.624-26.624m63.488-63.488c14.704 0 26.624 11.92 26.624 26.624s-11.92 26.624-26.624 26.624s-26.624-11.92-26.624-26.624s11.92-26.624 26.624-26.624m-63.488 0c14.704 0 26.624 11.92 26.624 26.624s-11.92 26.624-26.624 26.624s-26.624-11.92-26.624-26.624s11.92-26.624 26.624-26.624"})}))}function i(e){return(0,r.jsx)("svg",a({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 24",width:"1em",height:"1em"},e,{children:(0,r.jsx)("path",{fill:"currentColor",d:"m5.929 16.218l3.931-2.206l.066-.192l-.066-.106h-.192l-.658-.04l-2.246-.061l-1.948-.082l-1.887-.1l-.476-.102l-.445-.587l.045-.293l.4-.268l.572.05l1.265.086l1.897.132l1.376.08l2.039.213h.324l.045-.131l-.11-.081l-.087-.081l-1.963-1.33l-2.125-1.407l-1.113-.81l-.602-.41l-.304-.384l-.131-.84l.546-.602l.734.05l.187.051l.744.572l1.588 1.23l2.075 1.527l.303.253l.122-.086l.015-.06l-.137-.228l-1.128-2.04l-1.204-2.074l-.536-.86l-.142-.516a2.5 2.5 0 0 1-.086-.607l.622-.845l.344-.111l.83.111l.35.304l.515 1.179l.835 1.856l1.295 2.525l.38.749l.202.693l.076.213h.131v-.122l.107-1.422l.197-1.745l.192-2.247l.066-.632l.314-.759l.622-.41l.486.233l.4.572l-.056.37l-.238 1.542l-.465 2.419l-.304 1.619h.177l.203-.203l.82-1.087l1.375-1.72l.608-.684l.708-.754l.455-.359h.86l.633.941l-.284.972l-.885 1.123l-.734.951l-1.052 1.417l-.658 1.133l.06.091l.158-.015l2.378-.506l1.285-.233l1.533-.263l.693.324l.076.329l-.273.673l-1.64.405l-1.922.384l-2.864.678l-.035.025l.04.05l1.29.122l.552.03h1.35l2.515.188l.658.435l.395.531l-.066.405l-1.012.516l-1.366-.324l-3.187-.759l-1.093-.273h-.152v.091l.91.89l1.67 1.508l2.09 1.943l.106.48l-.268.38l-.284-.04l-1.836-1.381l-.708-.623l-1.604-1.35h-.107v.141l.37.541l1.953 2.935l.101.9l-.142.294l-.506.177l-.556-.101l-1.144-1.604l-1.179-1.806l-.95-1.62l-.117.066l-.562 6.047l-.263.308l-.607.233l-.506-.385l-.268-.622l.268-1.23l.324-1.603l.263-1.275l.238-1.584l.142-.526l-.01-.035l-.117.015l-1.194 1.639l-1.816 2.454l-1.437 1.538l-.344.137l-.597-.31l.055-.55l.334-.491l1.989-2.53l1.199-1.569l.774-.905l-.005-.132h-.046l-5.282 3.43l-.94.122l-.406-.38l.051-.622l.192-.202l1.589-1.093z"})}))}function l(e){return(0,r.jsx)("svg",a({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em"},e,{children:(0,r.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M16.076 17.24H7.924l2.905-5.032l-1.975-3.42L2 20.662h20L12 3.34l-1.975 3.42z",clipRule:"evenodd"})}))}function s(e){return(0,r.jsx)("svg",a({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em"},e,{children:(0,r.jsx)("path",{fill:"currentColor",d:"M20.562 10.188c.25-.688.313-1.376.25-2.063c-.062-.687-.312-1.375-.625-2c-.562-.937-1.375-1.687-2.312-2.125c-1-.437-2.063-.562-3.125-.312c-.5-.5-1.063-.938-1.688-1.25S11.687 2 11 2a5.17 5.17 0 0 0-3 .938c-.875.624-1.5 1.5-1.813 2.5c-.75.187-1.375.5-2 .875c-.562.437-1 1-1.375 1.562c-.562.938-.75 2-.625 3.063a5.44 5.44 0 0 0 1.25 2.874a4.7 4.7 0 0 0-.25 2.063c.063.688.313 1.375.625 2c.563.938 1.375 1.688 2.313 2.125c1 .438 2.062.563 3.125.313c.5.5 1.062.937 1.687 1.25S12.312 22 13 22a5.17 5.17 0 0 0 3-.937c.875-.625 1.5-1.5 1.812-2.5a4.54 4.54 0 0 0 1.938-.875c.562-.438 1.062-.938 1.375-1.563c.562-.937.75-2 .625-3.062c-.125-1.063-.5-2.063-1.188-2.876m-7.5 10.5c-1 0-1.75-.313-2.437-.875c0 0 .062-.063.125-.063l4-2.312a.5.5 0 0 0 .25-.25a.57.57 0 0 0 .062-.313V11.25l1.688 1v4.625a3.685 3.685 0 0 1-3.688 3.813M5 17.25c-.438-.75-.625-1.625-.438-2.5c0 0 .063.063.125.063l4 2.312a.56.56 0 0 0 .313.063c.125 0 .25 0 .312-.063l4.875-2.812v1.937l-4.062 2.375A3.7 3.7 0 0 1 7.312 19c-1-.25-1.812-.875-2.312-1.75M3.937 8.563a3.8 3.8 0 0 1 1.938-1.626v4.751c0 .124 0 .25.062.312a.5.5 0 0 0 .25.25l4.875 2.813l-1.687 1l-4-2.313a3.7 3.7 0 0 1-1.75-2.25c-.25-.937-.188-2.062.312-2.937M17.75 11.75l-4.875-2.812l1.687-1l4 2.312c.625.375 1.125.875 1.438 1.5s.5 1.313.437 2.063a3.7 3.7 0 0 1-.75 1.937c-.437.563-1 1-1.687 1.25v-4.75c0-.125 0-.25-.063-.312c0 0-.062-.126-.187-.188m1.687-2.5s-.062-.062-.125-.062l-4-2.313c-.125-.062-.187-.062-.312-.062s-.25 0-.313.062L9.812 9.688V7.75l4.063-2.375c.625-.375 1.312-.5 2.062-.5c.688 0 1.375.25 2 .688c.563.437 1.063 1 1.313 1.625s.312 1.375.187 2.062m-10.5 3.5l-1.687-1V7.063c0-.688.187-1.438.562-2C8.187 4.438 8.75 4 9.375 3.688a3.37 3.37 0 0 1 2.062-.313c.688.063 1.375.375 1.938.813c0 0-.063.062-.125.062l-4 2.313a.5.5 0 0 0-.25.25c-.063.125-.063.187-.063.312zm.875-2L12 9.5l2.187 1.25v2.5L12 14.5l-2.188-1.25z"})}))}function c(e){return(0,r.jsx)("svg",a({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em"},e,{children:(0,r.jsx)("path",{fill:"currentColor",d:"M4.604 0v24h4.931V0zm9.86 0v24h4.933V0z"})}))}},73433:function(e,n,t){t.d(n,{$0:function(){return q.A},$3:function(){return s.A},B7:function(){return pe.A},Bt:function(){return J.A},C4:function(){return ae.A},CO:function(){return T.A},FM:function(){return X.A},G8:function(){return a.G8},GJ:function(){return xe.A},I$:function(){return N.A},Io:function(){return le.A},JB:function(){return be.A},JL:function(){return U.A},Jd:function(){return p.A},Jl:function(){return g.A},L2:function(){return b.A},LM:function(){return F.A},LO:function(){return je.A},MQ:function(){return G.A},Mm:function(){return i.A},N5:function(){return Se.A},NW:function(){return ne.A},Nb:function(){return O.A},OM:function(){return l.A},OX:function(){return H.A},Oe:function(){return r.Oe},Og:function(){return j.A},P9:function(){return ee.A},PM:function(){return y.A},Pl:function(){return f.A},Ps:function(){return _.A},R2:function(){return B.A},SY:function(){return he.A},T2:function(){return ye.A},TM:function(){return W.A},WY:function(){return fe.A},Wm:function(){return ie.A},Wv:function(){return M.A},bc:function(){return V.A},bm:function(){return v.A},bv:function(){return ve.A},c4:function(){return se.A},dn:function(){return $.A},ef:function(){return k.A},ep:function(){return S.A},es:function(){return Z.A},ew:function(){return w.A},ff:function(){return L.A},ft:function(){return A.A},g4:function(){return K.A},gL:function(){return I.A},gO:function(){return o.A},iL:function(){return te.A},iS:function(){return D.A},j0:function(){return u.A},jI:function(){return c.A},mM:function(){return Ae.A},ms:function(){return Q.A},n$:function(){return oe.A},nK:function(){return R.A},pS:function(){return re.A},pd:function(){return z.A},po:function(){return C.A},pr:function(){return ge.A},qJ:function(){return h.A},rA:function(){return m.A},rP:function(){return we.A},t7:function(){return Y.A},th:function(){return me.A},v$:function(){return d.A},vM:function(){return x.A},vj:function(){return ce.A},wB:function(){return de.A},xf:function(){return P.A},yR:function(){return ue.A},zc:function(){return E.A}});var r=t(74192),a=t(79900),o=t(34369),i=t(13289),l=t(33559),s=t(46370),c=t(33664),d=t(81170),u=t(95516),h=t(98333),x=t(55044),b=t(57287),f=t(95614),p=t(35440),g=t(21120),m=t(85576),v=t(89543),y=t(26088),A=t(63402),S=t(10857),j=t(57559),w=t(75955),E=t(84272),L=t(64998),_=t(48960),C=t(52214),I=t(4527),T=t(54935),O=t(49432),R=t(112),k=t(65693),P=t(32656),N=t(24951),D=t(79083),B=t(95330),U=t(50764),z=t(39436),M=t(96249),H=t(98777),W=t(22380),G=t(24205),Y=t(22160),F=t(449),V=t(968),J=t(50840),K=t(29985),X=t(49334),q=t(57736),Z=t(79659),$=t(75420),Q=t(69059),ee=t
1(49194),ne=t(64778),te=t(6369),re=t(98266),ae=t(54007),oe=t(82778),ie=t(15651),le=t(60193),se=t(25277),ce=t(77214),de=t(50259),ue=t(14789),he=t(19427),xe=t(67309),be=t(91776),fe=t(55431),pe=t(38952),ge=t(38096),me=t(6440),ve=t(31938),ye=t(67756),Ae=t(85355),Se=t(51080),je=t(48160),we=t(44986)},85062:function(e,n,t){t.d(n,{e:function(){return r}});var r={webhookRequestsHistory:"webhookRequestsHistory",emailRequestsHistory:"emailRequestsHistory",USER_DETAILS:"user-details",ASSETS_USAGE:"assets-usage",DASHBOARD_CARDS:"dashoard-cards",ONBOARDING_PROGRESS:"onboardingProgress",DASHBOARD_CONFIG:"dashboardConfig",USER_CONVERSATION_STATS:"userConversationStats",USER_TOKENS_USAGE:"userTokensUsage",USER_CHATBOT_PERFORMANCE_ANALYTICS:"userChatbotPerformanceAnalytics",USER_CHATBOT_DETAILS_FOR_FILTERS:"userChatbotDetailsForFilters",SUBACCOUNTS_DETAILS_FOR_FILTERS:"subAccountDetailsForFilters",ABSTRACT_SUBACCOUNTS:"abstractSubaccounts",CUSTOM_FUNCTION_TEMPLATES:"customFunctionTemplates",PERMISSIONS:"allPermissions"}},1331:function(e,n,t){t.d(n,{N$:function(){return c},c2:function(){return h},g5:function(){return l},i1:function(){return d},nw:function(){return u},r6:function(){return i},y3:function(){return s}});var r=t(77188),a=t.n(r),o=(t(14965),t(14413),t(42897),t(42220),t(80904),t(94846),t(70796),t(8958),t(91546),t(30873),t(25551),t(38451));a().locale((0,o.UK)());var i=function(e,n){return void 0===n&&(n="MMM D, YYYY, h:mm a"),a()(e).format(n)},l=function(e){return a()(e).fromNow()},s=function(e,n){void 0===n&&(n="MMM D, YYYY, h:mm a");var t=Intl.DateTimeFormat().resolvedOptions().timeZone,r=a().utc(e).format(n),o=a()(e).tz(t).format(n);if("UTC"===t)return"".concat(r," UTC");var i=a().tz(e,t).format("z");return"".concat(o," ").concat(i," (").concat(r," UTC)")};function c(){return a().locale(navigator.language),a().tz.names().map((function(e){return[e,e]}))}function d(){for(var e=[],n=0;n<24;n++){var t=n.toString().padStart(2,"0"),r="".concat(t,":00:00"),o=a()("".concat(t,":00"),"HH:mm").format("h:mm A");e.push([r,o])}var i=a()("23:59","HH:mm").format("h:mm A");return e.push(["23:59:00",i]),e}function u(e){var n=e.split(":");return n.length<2?e:a()("".concat(n[0],":").concat(n[1]),"HH:mm").format("h:mm A")}function h(e){var n=Math.round(60*e),t=Math.floor(n/60),r=n%60,a=r<10?"0".concat(r):"".concat(r);return"".concat(t,"m ").concat(a,"s")}},19124:function(e,n,t){t.d(n,{Ar:function(){return a.Ar},B9:function(){return a.B9},BY:function(){return a.BY},Cb:function(){return a.Cb},GD:function(){return a.GD},Hv:function(){return a.Hv},IY:function(){return a.IY},N$:function(){return r.N$},NC:function(){return a.NC},Ox:function(){return a.Ox},PM:function(){return a.PM},PZ:function(){return a.PZ},Qm:function(){return a.Qm},Sx:function(){return a.Sx},V6:function(){return a.V6},WN:function(){return a.WN},Xz:function(){return a.Xz},ZV:function(){return a.ZV},_6:function(){return a._6},ag:function(){return a.ag},bW:function(){return a.bW},c2:function(){return r.c2},dg:function(){return a.dg},eM:function(){return a.eM},f7:function(){return a.f7},g5:function(){return r.g5},hw:function(){return a.hw},i1:function(){return r.i1},im:function(){return a.im},jT:function(){return a.jT},jr:function(){return a.jr},lW:function(){return a.lW},nw:function(){return r.nw},oh:function(){return a.oh},r6:function(){return r.r6},sf:function(){return a.sf},uc:function(){return a.uc},vd:function(){return a.vd},w9:function(){return a.w9},wy:function(){return a.wy},y3:function(){return r.y3},y4:function(){return a.y4},yZ:function(){return a.yZ}});var r=t(1331),a=t(80202)},80202:function(e,n,t){t.d(n,{Ar:function(){return B},B9:function(){return C},BY:function(){return I},Cb:function(){return E},GD:function(){return z},Hv:function(){return X},IY:function(){return G},Il:function(){return Q},NC:function(){return Z},Ox:function(){return g},PM:function(){return b},PZ:function(){return $},Qm:function(){return W},S0:function(){return J},Sx:function(){return m},T0:function(){return V},V6:function(){return q},WN:function(){return x},Xz:function(){return U},ZV:function(){return K},Zt:function(){return ee},_6:function(){return p},ag:function(){return y},bW:function(){return w},d9:function(){return F},dg:function(){return H},eM:function(){return f},f7:function(){return D},hw:function(){return R},im:function(){return N},jT:function(){return P},jr:function(){return O},lW:function(){return h},nV:function(){return ne},oh:function(){return S},sf:function(){return M},uc:function(){return L},vd:function(){return v},vx:function(){return Y},w9:function(){return j},wy:function(){return _},y4:function(){return T},yZ:function(){return A}});var r=t(45666),a=t(38451),o=t(7098),i=function(e,n,t,r){return new(t||(t=Promise))((function(a,o){function i(e){try{s(r.next(e))}catch(e){o(e)}}function l(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var n;e.done?a(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,l)}s((r=r.apply(e,n||[])).next())}))},l=function(e,n){var t,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){return function(l){if(t)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(o=0)),o;)try{if(t=1,r&&(a=2&l[0]?r.return:l[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;switch(r=0,a&&(l=[2&l[0],a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}
1if(6===l[0]&&o.label<a[1]){o.label=a[1],a=l;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=n.call(e,o)}catch(e){l=[6,e],r=0}finally{t=a=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}},s=function(e,n,t){if(t||2===arguments.length)for(var r,a=0,o=n.length;a<o;a++)!r&&a in n||(r||(r=Array.prototype.slice.call(n,0,a)),r[a]=n[a]);return e.concat(r||Array.prototype.slice.call(n))},c=null,d=null,u=null;function h(e,n){var t,r=document.getElementById(n);r?(t=""!==r.innerText.trim()?r.innerText:r.value,navigator.clipboard.writeText(t).then((function(){var n,t=document.createElement("small");t.classList.add("mr-2","text-success","copy-msg"),t.textContent=a.Ay.t("DISPLAY_STRINGS.COPIED_LOWERCASE"),null===(n=null==e?void 0:e.parentNode)||void 0===n||n.insertBefore(t,e.nextSibling),e.classList.add("d-none"),setTimeout((function(){t.remove(),e.classList.remove("d-none")}),3e3)})).catch((function(e){console.error("Failed to copy element with ID '".concat(n,"': "),e),alert(a.Ay.t("DISPLAY_STRINGS.FAILED_TO_COPY_ELEMENT"))}))):console.error("Element with ID '".concat(n,"' not found"))}function x(e,n,t){void 0===t&&(t="text/csv");var r=new Blob([e],{type:t}),a=URL.createObjectURL(r),o=document.createElement("a");o.href=a,o.download=n,o.click(),URL.revokeObjectURL(a)}function b(e){return i(this,arguments,void 0,(function(e,n){var t,r,a,o;return void 0===n&&(n="recording.wav"),l(this,(function(i){switch(i.label){case 0:return[4,fetch(e)];case 1:if(!(t=i.sent()).ok)throw new Error("Network error");return[4,t.blob()];case 2:return r=i.sent(),a=URL.createObjectURL(r),(o=document.createElement("a")).href=a,o.download=n,document.body.appendChild(o),o.click(),document.body.removeChild(o),URL.revokeObjectURL(a),[2]}}))}))}function f(e,n,t){void 0===t&&(t=!0),navigator.clipboard.writeText(e).then((function(){t&&m("",n||a.Ay.t("DISPLAY_STRINGS.COPIED_TO_CLIPBOARD"),"success")})).catch((function(e){console.error("Failed to copy test text to clipboard: ",e)}))}var p=function(e,n){return void 0===n&&(n=","),e.split(n).map((function(e){return e.trim()}))},g=function(e){var n=e.replace(/([A-Z])/g," $1");return n.charAt(0).toUpperCase()+n.slice(1)},m=function(e,n,t,r,a){void 0===t&&(t=""),void 0===r&&(r="top"),void 0===a&&(a=6e3);var o="toast-container",i="";e&&(i='<div class="toast-header">\n <i class="fa fa-bell" aria-hidden="true"></i>\n <strong class="container px-2">'.concat(e,'</strong>\n <i class="fa fa-times toast-close" onClick="closeToast(this)" aria-hidden="true"></i>\n </div>'));var l="";"success"==t?l="bg-green text-white":"error"==t?l="bg-danger text-white":"warning"==t&&(l="bg-warning text-white"),jQuery("#".concat(o)).removeClass("top"),jQuery("#".concat(o)).removeClass("bottom"),jQuery("#".concat(o)).addClass(r);var s=jQuery('<div class="toast '.concat(l,' mb-1" role="alert" aria-live="assertive" aria-atomic="true">\n ').concat(i,'\n <div class="toast-body">').concat(n,"</div>\n </div>")).toast({delay:a});jQuery("#".concat(o)).append(s),s.toast("show")},v=function(e){return m("",e,"success")},y=function(e){return m("",e,"error")},A=function(e){return m("",e,"warning")};function S(e){Object.keys(e).forEach((function(n){var t=e[n];if(t.isArray&&t.length>0){var r=[];t.forEach((function(e){r.push(e)})),m(_(n),r.join("\n"),"error")}else"object"==typeof t&&Object.keys(t).length>0?Object.keys(t).forEach((function(e){var n=t[e];m(_(e),n,"error")})):m(_(n),t,"error")}))}function j(e){var n;return Array.isArray(e)?e:null!==(n=null==e?void 0:e.results)&&void 0!==n?n:[]}function w(e,n){return Object.fromEntries(Object.entries(n).filter((function(n){var t,r=n[0],a=n[1];return JSON.stringify(a)!==JSON.stringify(null!==(t=e[r])&&void 0!==t?t:null)})))}function E(e,n){return void 0===n&&(n=1/0),n<=0?e:Array.isArray(e)?e.map((function(e){return E(e,n-1)})):null!==e&&"object"==typeof e?Object.keys(e).reduce((function(t,r){return t[r.replace(/_([a-z])/g,(function(e,n){return n.toUpperCase()}))]=E(e[r],n-1),t}),{}):e}function L(e,n){return void 0===n&&(n=1/0),n<=0?e:Array.isArray(e)?e.map((function(e){return L(e,n-1)})):null!==e&&"object"==typeof e?Object.keys(e).reduce((function(t,r){return t[r.replace(/([A-Z])/g,"_$1").toLowerCase()]=L(e[r],n-1),t}),{}):e}function _(e){return e.toLowerCase().replace(/\./g," ").replace(/_/g," ").replace(/\b\w/g,(function(e){return e.toUpperCase()})).replace(/-/g," ")}var C=function(e,n){void 0===n&&(n=!1);var t=/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i.test(e);return!t&&n&&m("",a.Ay.t("DISPLAY_STRINGS.PLEASE_ENTER_VALID_EMAIL"),"error"),t};function I(){var e=window.location.pathname.split("/")[1];return e.length>2?"en":e||"en"}var T=function(e,n,t){void 0===t&&(t=!1);
1var r=new URL(window.location.href);n?r.searchParams.set(e,n):r.searchParams.delete(e),window.history.pushState({},"",r),t&&location.reload()},O=function(){var e=new URL(window.location.href);return E(Object.fromEntries(e.searchParams))},R=function(e){if(!e)return{__html:""};d||u||(u=i(void 0,void 0,void 0,(function(){var e,n,a,o,i,s,c,u,h,x,b,f,p;return l(this,(function(l){switch(l.label){case 0:return[4,Promise.all([t.e(5072).then(t.bind(t,15072)),t.e(9395).then(t.bind(t,19395)),t.e(1232).then(t.bind(t,31232)),t.e(3280).then(t.bind(t,13280)),t.e(8765).then(t.bind(t,98765)),t.e(4877).then(t.bind(t,84877)),t.e(3153).then(t.bind(t,73153)),t.e(4482).then(t.bind(t,24482)),t.e(580).then(t.bind(t,40580)),t.e(4474).then(t.bind(t,44474)),t.e(7931).then(t.bind(t,47931)),t.e(1444).then(t.bind(t,31444))])];case 1:return e=l.sent(),n=e[0].default,a=e[1].markedHighlight,o=e[2].default,i=e[3].default,s=e[4].default,c=e[5].default,u=e[6].default,h=e[7].default,x=e[8].default,b=e[9].default,f=e[10].default,p=e[11].default,n.registerLanguage("javascript",o),n.registerLanguage("js",o),n.registerLanguage("typescript",i),n.registerLanguage("ts",i),n.registerLanguage("python",s),n.registerLanguage("py",s),n.registerLanguage("json",c),n.registerLanguage("bash",u),n.registerLanguage("sh",u),n.registerLanguage("xml",h),n.registerLanguage("html",h),n.registerLanguage("css",x),n.registerLanguage("markdown",b),n.registerLanguage("md",b),n.registerLanguage("sql",f),n.registerLanguage("yaml",p),n.registerLanguage("yml",p),d=new r.Dz(a({emptyLangClass:"hljs",langPrefix:"hljs language-",highlight:function(e,t){var r=null==t?void 0:t.trim().toLowerCase();return r&&n.getLanguage(r)?n.highlight(e,{language:r}).value:e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}})),[2]}}))})).catch((function(e){console.error("Failed to initialize syntax highlighter:",e)})).finally((function(){u=null}))),c||(c=new r.Dz);var n=(d||c).parse(e,{async:!1}).replace(/<a\s+href="([^"]+)"/g,'<a href="$1" target="_blank" rel="noopener noreferrer"');return{__html:n=n.replace(/<img\s+/gi,'<img loading="lazy" ')}},k=function(e,n){if(void 0===n&&(n=0),null==e)return String(e);if("string"==typeof e)return e;if("object"!=typeof e)return String(e);var t=" ".repeat(n+1),r=" ".repeat(n);try{if(Array.isArray(e))return 0===e.length?"[]":"[\n"+e.map((function(e){return t+k(e,n+1)})).join("\n")+"\n"+r+"]";var a=Object.keys(e);return 0===a.length?"{}":"{\n"+a.map((function(r){return t+r+": "+k(e[r],n+1)})).join("\n")+"\n"+r+"}"}catch(n){return String(e)}},P=function(e){var n=document.createElement("pre");return e.forEach((function(t,r){Object.keys(t).forEach((function(e){var r=document.createElement("div"),a=document.createElement("b");a.textContent=e;var o=document.createTextNode(": "+k(t[e]));r.appendChild(a),r.appendChild(o),n.appendChild(r)})),r!==e.length-1&&n.appendChild(document.createElement("hr"))})),n},N=function(e){var n=r.xI.parse(e,{async:!1}),t=document.createElement("div");return t.innerHTML=n,t.innerText},D=function(e){return e?new Promise((function(n,t){Promise.all(e.map((function(e){return new Promise((function(n,t){var r=new FileReader;r.onload=function(){return n({content:r.result,filename:e.name})},r.onerror=function(e){return t(e)},r.readAsDataURL(e)}))}))).then((function(e){return n(e)})).catch((function(e){return t(e)}))})):Promise.resolve([])},B=function(e){for(var n=["Bytes","KB","MB","GB","TB"],t=0;e>=1024&&t<n.length;)e/=1024,t++;return"".concat(e.toFixed(2)," ").concat(n[t]).replace(".00","")};function U(e,n){var t,r=e.split(","),a=null===(t=r[0].match(/:(.*?);/))||void 0===t?void 0:t[1];if(!a)throw new Error("Invalid data URL: No mime type found");for(var o=atob(r[r.length-1]),i=o.length,l=new Uint8Array(i),s=0;s<i;s++)l[s]=o.charCodeAt(s);return new File([l],n,{type:a})}var z=function(e){return(null==e?void 0:e.length)?e.reduce((function(e,n){return n.url?e.push({name:n.file_name,url:n.url}):n.base64&&e.push(U(n.base64,n.file_name)),e}),[]):[]},M=function(e){return e?e.map((function(e){return{label:e.name,value:e.id}})):[]}
1,H=function(e,n){n&&(e+="?"+Object.entries(n).map((function(e){var n=e[0],t=e[1];return"".concat(n,"=").concat(t)})).join("&")),location.href=location.origin+e},W=function(e){window.open(e,"_blank")},G=function(e,n){if(void 0===n&&(n=2),null==e)return"";if(e<0)return"-".concat(G(-e));for(var t=["","K","M","B","T"],r=0;e>=1e3&&r<t.length-1;)e/=1e3,r++;return"".concat(e.toFixed(n).replace(/\.00$/,"")).concat(t[r])};function Y(e){return Object.entries(e)}function F(e){return e.reduce((function(e,n){var t=n[0],r=n[1];return e[t]=r,e}),{})}var V=function(e,n,t,r){return e.map((function(e){return{xValue:e[n],y1Value:e[t],y2Value:r?e[r]:void 0}}))};var J=function(e){try{return decodeURIComponent(e)}catch(n){return e}},K=function(e,n){void 0===n&&(n=1);var t=Math.abs(e),r="";return t>=1e12?(r="T",t/=1e12):t>=1e9?(r="B",t/=1e9):t>=1e6?(r="M",t/=1e6):t>=1e3&&(r="K",t/=1e3),"".concat(e<0?"-":"").concat(t.toFixed(n)).concat(r)},X=function(e){return p(e).filter((function(e){return""!==e.trim()}))},q=function(e){return e.replace(/(https?:\/\/[^\s]+)/g,'<a href="$1" target="_blank" rel="noopener noreferrer">$1</a>')},Z=function(e){if("string"==typeof e)return"null"===e?null:e;if(Array.isArray(e))return e.map((function(e){return Z(e)}));if(e&&"object"==typeof e){var n={};return Object.keys(e).forEach((function(t){n[t]=Z(e[t])})),n}return e},$=function(e){var n={},t=function(e,r){void 0===r&&(r=""),Array.isArray(e)?e.forEach((function(e,n){return t(e,"".concat(r,"[").concat(n,"]"))})):"object"==typeof e&&null!==e&&Object.entries(e).forEach((function(e){var a,o=e[0],i=e[1];t(i,r?"".concat(r,".").concat(o):o),Array.isArray(i)&&i.every((function(e){return"string"==typeof e}))&&i.length>0&&(n[r?"".concat(r,".").concat(o):o]?(a=n[r?"".concat(r,".").concat(o):o]).push.apply(a,i):n[r?"".concat(r,".").concat(o):o]=s([],i,!0))}))};return t(e),n},Q=function(e){return Object.fromEntries(Object.entries(e).filter((function(e){e[0];var n=e[1];return""!==n&&null!=n})))};var ee=function(e,n){return(0,o.Ob)((0,o.a)(e,n))},ne=function(e,n){return(0,o.Ob)((0,o.e$)(e,n))}},16003:function(e,n,t){t.d(n,{b:function(){return r}});var r={HOME:"/",DASHBOARD:"/",LOGIN:"/accounts/login/",SIGNUP:"/accounts/signup/",EMAIL_VERIFICATION_SENT:"/accounts/confirm-email/",PASSWORD_RESET:"/accounts/password/reset/",PASSWORD_RESET_DONE:"/accounts/password/reset/done/",PASSWORD_RESET_FROM_KEY:"/accounts/password/reset/key/:resetToken/",PASSWORD_RESET_FROM_KEY_DONE:"/accounts/password/reset/key/done/",VERIFY_TWO_FACTOR:"/verify_2fa/:userId/",ONBOARDING:"/user/onboarding/",THANK_YOU:"/thankyou",ADMIN_ANALYTICS:"/admin/",ADMIN_MESSAGE_USAGE:"/admin/message-usage/",ADMIN_CHATBOT_ANALYTICS:"/admin/chatbot-analytics/",ADMIN_VOICE_ANALYTICS:"/admin/voice-analytics/",ADMIN_USER_VOICE_USAGE:"/admin/user-voice-usage/",BILLING:"/billing/settings",MARKETPLACE:"/marketplace/chatbots/",AGENCY_PROFILE:"/agency/profile/",AGENCY_SAAS_CONFIGURATOR:"/agency/saas-configurator/subscription-packages/",AGENCY_PACKAGE_CREATE:"/agency/subscription/package/create/",AGENCY_PACKAGE_UPDATE:"/agency/subscription/package/update/:packageId",VOICE_DASHBOARD:"/voice/dashboard",VOICE_CONFIGURE_NEW:"/voice/configure/",VOICE_CONFIGURE:"/voice/configure/:voiceAgentId/",VOICE_INTEGRATIONS_WHATSAPP:"/voice/integrations/:voiceAgentId/whatsapp/",CHATBOT_LIST:"/chatbot/all/",CHATBOT_SHARE:"/chatbot/share/:chatbotUUID",CHATBOT_ACCESS_LINK:"/chatbot/access-link/:accessToken",CHATBOT_CREATE:"/chatbot/create/",CHATBOT_UPDATE:"/chatbot/update/:chatbotId",CHATBOT_DETAIL:"/chatbot/detail/:chatbotId",CHATBOT_ANALYTICS:"/chatbot/analytics/:chatbotId",CHATBOT_OBSERVABILITY:"/chatbot/observability/:chatbotId",CHATBOT_TRAIN:"/chatbot/train/:chatbotId",CHATBOT_KB_SEARCH:"/chatbot/knowledge_base_search/:chatbotId",CHATBOT_INTEGRATIONS:"/chatbot/integrations/:chatbotId",CHATBOT_INTEGRATIONS_FACEBOOK:"/chatbot/integrations/:chatbotId/facebook/",CHATBOT_INTEGRATIONS_WHATSAPP:"/chatbot/integrations/:chatbotId/whatsapp/",CHATBOT_INTEGRATIONS_INSTAGRAM:"/chatbot/integrations/:chatbotId/instagram/",CHATBOT_CUSTOM_TOOLS:"/chatbot/:chatbotId/tools/",CHATBOT_CUSTOM_TOOL_CREATE:"/chatbot/:chatbotId/tools/create/",CHATBOT_CUSTOM_TOOL_UPDATE:"/chatbot/:chatbotId/tools/update/:functionId/",CHATBOT_APPEARANCE:"/chatbot/chatwidget/configuration/:chatbotId/",CHATBOT_INBOX_ALL:"/chatbot/inbox/",CHATBOT_INBOX:"/chatbot/inbox/:chatbotId/",CHATBOT_LEAD_ANALYSIS:"/chatbot/lead-analysis/:chatbotId/",ACCOUNT:"/user/profile",ACCOUNT_SECURITY:"/user/setup-2fa/",API_TOKEN:"/user/api/token/",API_DOCS:"/en/doc/chatbot-api-messages/",SUPPORT_TICKET:"/support/ticket",SUBACCOUNTS:"/subaccounts/",AGENCY_USERS:"/agency/users/",SUBACCOUNT_USERS:"/subaccount/users/"}},41946:function(e,n,t){t.d(n,{j:function(){return a}});var r=t(71768);function a(e,n){if(void 0===n&&(n={}),!e)throw new Error("Missing form action URL.");var t=document.createElement("form");t.method="POST",t.action=e,t.style.display="none";var a=(0,r._)();if(a){var o=document.createElement("input");o.type="hidden",o.name="csrfmiddlewaretoken",o.value=a,t.appendChild(o)}
1Object.entries(n).forEach((function(e){var n=e[0],r=e[1],a=document.createElement("input");a.type="hidden",a.name=n,a.value=r,t.appendChild(a)})),document.body.appendChild(t),t.submit()}},71768:function(e,n,t){function r(){var e=document.cookie.match(/csrftoken=([\w-]+)/);return e?e[1]:void 0}t.d(n,{_:function(){return r}})},12088:function(e,n,t){t.d(n,{gl:function(){return u},O7:function(){return S},Zr:function(){return w},AV:function(){return _},Yy:function(){return R},vI:function(){return k},HC:function(){return m},WE:function(){return g}});var r=t(78685),a=t(2057),o=t(16657),i=t(78166),l=t(73433);function s(e){var n,t=e.ctaLabel,a=e.isCoexistenceAvailable,s=e.hasMigratedNumber,c=void 0!==s&&s,d=e.disabled,u=void 0!==d&&d,h=e.disabledReason,x=e.onAuthorize,b=e.variant,f=void 0===b?"contained":b,p=e.fullWidthOnMobile,g=void 0!==p&&p,m=(0,o.Bd)().t;return a?(0,r.jsxs)(i.BJc,{direction:{xs:"column",sm:"row"},spacing:1,useFlexGap:!0,sx:{flexWrap:"wrap",alignItems:{sm:"center"}},children:[(0,r.jsx)(i.m_M,{title:u&&h?h:m("DISPLAY_STRINGS.META_WA_MIGRATE_TOOLTIP"),arrow:!0,children:(0,r.jsx)("span",{children:(0,r.jsx)(i.$nd,{variant:"contained",startIcon:(0,r.jsx)(l.OM,{}),disabled:u,onClick:function(){return x("migration")},children:m("DISPLAY_STRINGS.META_WA_MIGRATE_CTA")})})}),(0,r.jsx)(i.m_M,{title:u&&h?h:m(c?"DISPLAY_STRINGS.META_WA_COEXISTENCE_TOOLTIP_MIGRATED":"DISPLAY_STRINGS.META_WA_COEXISTENCE_TOOLTIP"),arrow:!0,children:(0,r.jsx)("span",{children:(0,r.jsx)(i.$nd,{variant:"outlined",startIcon:(0,r.jsx)(l.OM,{}),disabled:u,onClick:function(){return x("coexistence")},children:m("DISPLAY_STRINGS.META_WA_COEXISTENCE_CTA")})})})]}):(n=(0,r.jsx)(i.$nd,{variant:f,startIcon:(0,r.jsx)(l.OM,{}),disabled:u,onClick:function(){return x()},sx:g?{alignSelf:{xs:"flex-start",sm:"auto"}}:void 0,children:t}),u&&h?(0,r.jsx)(i.m_M,{title:h,arrow:!0,children:(0,r.jsx)("span",{children:n})}):n)}function c(e){var n=e.isCoexistenceAvailable,t=e.hasMigratedNumber,a=(0,o.Bd)().t;return n?(0,r.jsx)(i.o5u,{variant:"body2",color:"text.secondary",sx:{display:"block",mt:1.5},children:a(t?"DISPLAY_STRINGS.META_WA_COEXISTENCE_HINT_MIGRATED":"DISPLAY_STRINGS.META_WA_COEXISTENCE_HINT")}):null}var d=t(61746);function u(e){var n=e.state,t=e.busy,a=e.onCancel,l=e.onConfirm,s=(0,o.Bd)().t;return(0,r.jsxs)(i.lGe,{open:Boolean(n),onClose:t?void 0:a,maxWidth:"xs",fullWidth:!0,children:[(0,r.jsx)(i.Cff,{sx:{pt:3},children:(0,r.jsxs)(i.BJc,{direction:"row",spacing:2,children:[(0,r.jsx)(i.azJ,{sx:function(e){return{width:40,height:40,flexShrink:0,borderRadius:"10px",display:"flex",alignItems:"center",justifyContent:"center",color:e.palette.error.main,backgroundColor:(0,i.X4A)(e.palette.error.main,.08)}},children:(0,r.jsx)(d.A,{fontSize:"small"})}),(0,r.jsxs)(i.azJ,{children:[(0,r.jsx)(i.o5u,{variant:"subtitle1",sx:{fontWeight:700},children:null==n?void 0:n.title}),(0,r.jsx)(i.o5u,{variant:"body2",color:"text.secondary",sx:{mt:.5},children:null==n?void 0:n.body})]})]})}),(0,r.jsxs)(i.iin,{sx:{px:3,pb:2.5},children:[(0,r.jsx)(i.$nd,{color:"inherit",onClick:a,disabled:t,children:s("DISPLAY_STRINGS.CANCEL")}),(0,r.jsx)(i.$nd,{variant:"contained",color:"error",onClick:l,disabled:t,startIcon:t?(0,r.jsx)(i.PaH,{size:16,color:"inherit"}):null,children:null==n?void 0:n.actionLabel})]})]})}var h=t(53435),x=function(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e},b=function(){return b=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var a in n=arguments[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e},b.apply(this,arguments)};function f(e){var n=e.brand,t=e.size,a=void 0===t?22:t,o=n.Logo,i=n.color;return(0,r.jsx)(o,{style:{fontSize:a,width:"1em",height:"1em",color:i}})}function p(e){var n=e.brand,t=e.size,a=void 0===t?40:t,o=e.radius,l=void 0===o?8:o,s=e.logoSize;return(0,r.jsx)(i.azJ,{sx:{width:a,height:a,flexShrink:0,borderRadius:"".concat(l,"px"),display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:n.tint},children:(0,r.jsx)(f,{brand:n,size:null!=s?s:.475*a})})}function g(e){var n=e.brand;
1return(0,r.jsx)(i.azJ,{sx:{width:34,height:34,flexShrink:0,borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"#fff"},children:(0,r.jsx)(f,{brand:n,size:20})})}function m(e){var n=e.size,t=e.radius,a=e.children;return(0,r.jsx)(i.azJ,{sx:function(e){return{width:n,height:n,flexShrink:0,borderRadius:void 0===t?"50%":"".concat(t,"px"),display:"flex",alignItems:"center",justifyContent:"center",fontSize:n<=24?12:13,fontWeight:700,lineHeight:1,border:"1px solid ".concat((0,i.X4A)(e.palette.text.primary,.08)),backgroundColor:(0,i.X4A)(e.palette.text.primary,.04),color:e.palette.text.secondary}},children:a})}var v,y=(0,i.i7C)(v||(v=x(["\n 0% { opacity: 1; }\n 50% { opacity: 0.4; }\n 100% { opacity: 1; }\n"],["\n 0% { opacity: 1; }\n 50% { opacity: 0.4; }\n 100% { opacity: 1; }\n"])));function A(e){var n=e.label,t=e.tone,a=e.pulsing,o=void 0!==a&&a;return(0,r.jsxs)(i.azJ,{component:"span",sx:function(e){var n="success"===t?e.palette.success:"warning"===t?e.palette.warning:null;return{display:"inline-flex",alignItems:"center",gap:.75,height:24,px:1.25,borderRadius:1,fontSize:12,fontWeight:600,lineHeight:1,whiteSpace:"nowrap",flexShrink:0,border:"1px solid ".concat(n?(0,i.X4A)(n.main,.24):(0,i.X4A)(e.palette.text.primary,.12)),backgroundColor:n?(0,i.X4A)(n.main,.1):(0,i.X4A)(e.palette.text.primary,.04),color:n?n.dark:e.palette.text.secondary}},children:[(0,r.jsx)(i.azJ,{component:"span",sx:function(e){return b({width:6,height:6,borderRadius:"50%",flexShrink:0,backgroundColor:"success"===t?e.palette.success.main:"warning"===t?e.palette.warning.main:e.palette.text.disabled},o?{animation:"".concat(y," 1.1s ease-in-out infinite")}:null)}}),n]})}function S(e){var n=e.brand,t=e.config,l=e.isAuthorized,d=e.accountName,u=e.accountEmail,x=e.totalCount,b=e.liveCount,f=e.ctaLabel,g=e.isCoexistenceAvailable,m=e.hasMigratedNumber,v=e.isAuthorizeDisabled,y=e.authorizeDisabledReason,S=e.onAuthorize,j=e.onDisconnect,w=(0,o.Bd)().t,E=a.useState(null),L=E[0],_=E[1],C=function(){return _(null)},I=l?d||w("DISPLAY_STRINGS.META_CONNECTED_THROUGH"):w("DISPLAY_STRINGS.META_NOT_CONNECTED"),T=l?[u,t.syncedCount(x),w("DISPLAY_STRINGS.META_LIVE_COUNT",{count:b})].filter(Boolean).join(" · "):t.unauthorizedHint,O=l?b>0?{label:w("DISPLAY_STRINGS.META_STATUS_LIVE"),tone:"success"}:{label:w("DISPLAY_STRINGS.META_NOTHING_ROUTING"),tone:"neutral"}:{label:w("DISPLAY_STRINGS.META_ACTION_NEEDED"),tone:"warning"};return(0,r.jsx)(i.ZpM,{elevation:0,sx:{borderRadius:2,border:function(e){return"1px solid ".concat(e.palette.divider)}},children:(0,r.jsxs)(i.Wux,{sx:{p:3,"&:last-child":{pb:3}},children:[(0,r.jsxs)(i.BJc,{direction:{xs:"column",md:g?"column":"row",lg:"row"},spacing:2.5,sx:{alignItems:{md:g?"stretch":"center",lg:"center"}},children:[(0,r.jsx)(p,{brand:n,size:44,radius:10,logoSize:22}),(0,r.jsxs)(i.azJ,{sx:{flex:1,minWidth:0},children:[(0,r.jsxs)(i.BJc,{direction:"row",spacing:1.25,useFlexGap:!0,sx:{alignItems:"center",flexWrap:"wrap"},children:[(0,r.jsx)(i.o5u,{variant:"subtitle1",sx:{fontWeight:700},children:I}),(0,r.jsx)(A,{label:O.label,tone:O.tone})]}),(0,r.jsx)(i.o5u,{variant:"body2",color:"text.secondary",sx:{mt:.5},children:T})]}),(0,r.jsxs)(i.BJc,{direction:"row",spacing:1,sx:{alignItems:"center",flexShrink:0},children:[(0,r.jsx)(s,{ctaLabel:f,isCoexistenceAvailable:g,hasMigratedNumber:m,disabled:v,disabledReason:y,onAuthorize:S}),l?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.K0,{"aria-label":w("DISPLAY_LABELS.MORE_ACTIONS"),onClick:function(e){return _(e.currentTarget)},children:(0,r.jsx)(h.A,{fontSize:"small"})}),(0,r.jsxs)(i.W1t,{anchorEl:L,open:Boolean(L),onClose:C,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},slotProps:{paper:{sx:{minWidth:240}}},children:[(0,r.jsx)(i.Drp,{disabled:v,onClick:function(){C(),S()},children:t.reauthorizeLabel}),j?(0,r.jsx)(i.cGx,{}):null,j?(0,r.jsx)(i.Drp,{sx:{color:"error.main"},onClick:function(){C(),j()},children:w("DISPLAY_STRINGS.META_DISCONNECT_ACCOUNT")}):null]})]}):null]})]}),(0,r.jsx)(c,{isCoexistenceAvailable:g,hasMigratedNumber:m})]})})}var j=t(17e3);function w(e){var n=e.title,t=e.message,a=e.integrationsRoute,s=e.onRetry,c=(0,o.Bd)().t;return(0,r.jsx)(i.ZpM,{elevation:0,sx:{borderRadius:2,border:function(e){return"1px solid ".concat(e.palette.divider)}},children:(0,r.jsx)(i.Wux,{sx:{p:3,"&:last-child":{pb:3}},children:(0,r.jsxs)(i.BJc,{direction:"row",spacing:2,children:[(0,r.jsx)(i.azJ,{sx:function(e){return{width:40,height:40,flexShrink:0,borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",color:e.palette.warning.main,backgroundColor:(0,i.X4A)(e.palette.warning.main,.1)}},children:(0,r.jsx)(l.N5,{fontSize:"small"})}),(0,r.jsxs)(i.azJ,{children:[(0,r.jsx)(i.o5u,{variant:"subtitle1",sx:{fontWeight:700},children:n}),(0,r.jsx)(i.o5u,{variant:"body2",color:"text.secondary",sx:{mt:.5,maxWidth:560},children:t||c("DISPLAY_STRINGS.META_ERROR_DEFAULT_BODY")}),(0,r.jsxs)(i.BJc,{direction:"row",spacing:1.5,sx:{mt:2.5},children:[(0,r.jsx)(i.$nd,{variant:"contained",onClick:s,children:c("DISPLAY_STRINGS.META_TRY_AGAIN")}),(0,r.jsx)(i.$nd,{variant:"outlined",color:"inherit",component:j.N_,to:a,children:c("DISPLAY_STRINGS.META_BACK_TO_INTEGRATIONS")})]})]})]})})})}var E=t(48356),L=[240,200,280];function _(){var e=(0,E.P)(),n=e.cardSkeleton,t=e.surfaceBorder,a=e.surfaceShadow,o={borderRadius:2,border:"1px solid ".concat(t),boxShadow:a};return(0,r.jsxs)(i.BJc,{spacing:3,children:[(0,r.jsx)(i.ZpM,{elevation:0,sx:o,children:(0,r.jsx)(i.Wux,{sx:{p:2.5,"&:last-child":{pb:2.5}},children:(0,r.jsxs)(i.BJc,{direction:"row",spacing:2,sx:{alignItems:"center"},children:[(0,r.jsx)(i.EAD,{variant:"rounded",width:44,height:44,sx:{borderRadius:"10px",flexShrink:0,bgcolor:n}}),(0,r.jsxs)(i.BJc,{spacing:1,sx:{flex:1,minWidth:0},children:[(0,r.jsx)(i.EAD,{variant:"rounded",width:220,height:18,sx:{bgcolor:n}}),(0,r.jsx)(i.EAD,{variant:"rounded",width:140,height:14,sx:{bgcolor:n}})]}),(0,r.jsx)(i.EAD,{variant:"rounded",width:150,height:36,sx:{flexShrink:0,bgcolor:n}})]})})}),(0,r.jsx)(i.ZpM,{elevation:0,sx:o,children:(0,r.jsxs)(i.Wux,{sx:{p:0,"&:last-child":{pb:0}},children:[(0,r.jsx)(i.azJ,{sx:{px:2.5,py:2,borderBottom:"1px solid ".concat(t)},children:(0,r.jsx)(i.EAD,{variant:"rounded",width:180,height:18,sx:{bgcolor:n}})}),(0,r.jsx)(i.azJ,{sx:{px:2.5},children:L.map((function(e,a){return(0,r.jsxs)(i.BJc,{direction:"row",spacing:2,sx:{height:72,alignItems:"center",borderBottom:a<L.length-1?"1px solid ".concat(t):"none"},children:[(0,r.jsx)(i.EAD,{variant:"rounded",width:40,height:40,sx:{flexShrink:0,bgcolor:n}}),(0,r.jsx)(i.EAD,{variant:"rounded",width:e,height:16,sx:{bgcolor:n}})]},"row-".concat(e))}))})]})})]})}var C=function(){return C=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var a in n=arguments[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e},C.apply(this,arguments)},I=2;function T(e){var n=e.brand,t=e.config,l=e.row,s=e.busy,c=e.onToggle,d=e.onCopy,u=e.onDelete,x=(0,o.Bd)().t,b=a.useState(null),f=b[0],g=b[1],m=function(){return g(null)},v=!l.isConnected&&l.connectDisabledReason?l.connectDisabledReason:void 0,y=(0,r.jsx)(i.dOG,{checked:l.isConnected,disabled:s||Boolean(v),onChange:function(e){return c(e.target.checked)},inputProps:{"aria-label":x("DISPLAY_STRINGS.META_TOGGLE_ROW",{name:l.primary})}});return(0,r.jsxs)(i.BJc,{direction:"row",spacing:2,sx:function(e){return C({alignItems:"center",px:2.5,py:1.75,borderBottom:"1px solid ".concat(e.palette.divider),"&:last-of-type":{borderBottom:"none"}},l.isConnected?null:{backgroundColor:(0,i.X4A)(e.palette.text.primary,.015)})},children:[l.avatarUrl?(0,r.jsx)(i.euF,{src:l.avatarUrl,alt:l.primary,sx:{width:40,height:40,flexShrink:0}}):(0,r.jsx)(p,{brand:n,size:40,radius:8,logoSize:19}),(0,r.jsxs)(i.azJ,{sx:{flex:1,minWidth:0},children:[(0,r.jsx)(i.o5u,{variant:"subtitle2",sx:{fontWeight:700},noWrap:!0,children:l.primary}),(0,r.jsx)(i.o5u,{variant:"body2",color:"text.secondary",noWrap:!0,children:l.secondary})]}),(0,r.jsx)(A,{label:s?x("DISPLAY_STRINGS.META_STATUS_UPDATING"):l.isConnected?x("DISPLAY_STRINGS.META_STATUS_LIVE"):x("DISPLAY_STRINGS.META_STATUS_PAUSED"),tone:!s&&l.isConnected?"success":"neutral",pulsing:s}
1),l.isCoexistence?(0,r.jsx)(i.m_M,{title:"This number is still live in your WhatsApp Business app. To stop using it here, disconnect from the app under Settings > Account > Business Platform.",arrow:!0,children:(0,r.jsx)(i.azJ,{component:"span",children:(0,r.jsx)(A,{label:"Business app",tone:"neutral"})})}):null,v?(0,r.jsx)(i.m_M,{title:v,arrow:!0,children:(0,r.jsx)(i.azJ,{component:"span",sx:{display:"inline-flex"},children:y})}):y,(0,r.jsx)(i.K0,{"aria-label":x("DISPLAY_STRINGS.META_ROW_ACTIONS"),onClick:function(e){return g(e.currentTarget)},children:(0,r.jsx)(h.A,{fontSize:"small"})}),(0,r.jsxs)(i.W1t,{anchorEl:f,open:Boolean(f),onClose:m,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},slotProps:{paper:{sx:{minWidth:240}}},children:[(0,r.jsx)(i.Drp,{onClick:function(){m(),d()},children:t.copyLabel}),u&&t.rowDestructiveLabel?(0,r.jsx)(i.cGx,{}):null,u&&t.rowDestructiveLabel?(0,r.jsx)(i.Drp,{sx:{color:"error.main"},onClick:function(){m(),u()},children:t.rowDestructiveLabel}):null]})]})}function O(e){var n=e.brand,t=e.config,a=e.ctaLabel,o=e.isCoexistenceAvailable,l=e.isAuthorizeDisabled,c=e.authorizeDisabledReason,d=e.onAuthorize;return(0,r.jsxs)(i.BJc,{spacing:1,sx:{alignItems:"center",textAlign:"center",px:3,py:6},children:[(0,r.jsx)(m,{size:52,radius:12,children:(0,r.jsx)(f,{brand:n,size:24})}),(0,r.jsx)(i.o5u,{variant:"subtitle1",sx:{fontWeight:700,mt:1},children:t.emptyTitle}),(0,r.jsx)(i.o5u,{variant:"body2",color:"text.secondary",sx:{maxWidth:420},children:t.emptyBody}),(0,r.jsx)(i.azJ,{sx:{mt:2},children:(0,r.jsx)(s,{ctaLabel:a,isCoexistenceAvailable:o,disabled:l,disabledReason:c,onAuthorize:d,variant:"outlined"})})]})}function R(e){var n=e.brand,t=e.config,o=e.rows,s=e.pendingKeys,c=e.ctaLabel,d=e.isCoexistenceAvailable,u=e.isAuthorizeDisabled,h=e.authorizeDisabledReason,x=e.onAuthorize,b=e.onToggle,f=e.onCopy,p=e.onDelete,g=a.useState(""),m=g[0],v=g[1],y=o.length>I,A=a.useMemo((function(){var e=m.trim().toLowerCase();return y&&e?o.filter((function(n){return n.primary.toLowerCase().includes(e)||n.secondary.toLowerCase().includes(e)})):o}),[o,m,y]);return(0,r.jsx)(i.ZpM,{elevation:0,sx:{borderRadius:2,border:function(e){return"1px solid ".concat(e.palette.divider)}},children:(0,r.jsxs)(i.Wux,{sx:{p:0,"&:last-child":{pb:0}},children:[(0,r.jsxs)(i.BJc,{direction:"row",spacing:1.5,useFlexGap:!0,sx:{px:2.5,py:2,alignItems:"center",flexWrap:"wrap"},children:[(0,r.jsx)(i.o5u,{variant:"subtitle2",sx:{fontWeight:700},children:t.listTitle}),(0,r.jsx)(i.o5u,{variant:"body2",color:"text.secondary",sx:{flex:1},children:t.listHint}),y?(0,r.jsx)(i.A_L,{size:"small",value:m,onChange:function(e){return v(e.target.value)},placeholder:t.searchPlaceholder,sx:{width:240},slotProps:{input:{startAdornment:(0,r.jsx)(i.jC1,{position:"start",children:(0,r.jsx)(l.vj,{fontSize:"small",color:"disabled"})})}}}):null]}),(0,r.jsx)(i.cGx,{}),0===o.length?(0,r.jsx)(O,{brand:n,config:t,ctaLabel:c,isCoexistenceAvailable:d,isAuthorizeDisabled:u,authorizeDisabledReason:h,onAuthorize:x}):0===A.length?(0,r.jsx)(i.azJ,{sx:{px:3,py:5,textAlign:"center"},children:(0,r.jsx)(i.o5u,{variant:"body2",color:"text.secondary",children:t.noMatches(m.trim())})}):A.map((function(e){return(0,r.jsx)(T,{brand:n,config:t,row:e,busy:Boolean(s[e.key]),onToggle:function(n){return b(e,n)},onCopy:function(){return f(e)},onDelete:e.onDelete?function(){return p(e)}:void 0},e.key)}))]})})}function k(e){var n=e.config,t=e.ctaLabel,a=e.isCoexistenceAvailable,l=e.isAuthorizeDisabled,c=e.authorizeDisabledReason,d=e.onAuthorize,u=e.onShowPermissions,h=(0,o.Bd)().t;return(0,r.jsx)(i.ZpM,{elevation:0,sx:{borderRadius:2,border:function(e){return"1px solid ".concat(e.palette.divider)}},children:(0,r.jsxs)(i.Wux,{sx:{p:3,"&:last-child":{pb:3}},children:[(0,r.jsx)(i.o5u,{variant:"h6",sx:{fontWeight:700},children:h("DISPLAY_STRINGS.META_ONBOARDING_TITLE")}),(0,r.jsx)(i.azJ,{sx:{mt:2.5,display:"grid",gap:3,gridTemplateColumns:{xs:"1fr",md:"repeat(3, 1fr)"}},children:n.steps.map((function(e,t){return(0,r.jsxs)(i.BJc,{direction:"row",spacing:1.75,sx:{pr:{md:3},borderRight:function(e){return{xs:"none",md:t<n.steps.length-1?"1px solid ".concat(e.palette.divider):"none"}}},children:[(0,r.jsx)(m,{size:26,children:t+1}),(0,r.jsxs)(i.azJ,{children:[(0,r.jsx)(i.o5u,{variant:"subtitle2",sx:{fontWeight:700},children:e.title}),(0,r.jsx)(i.o5u,{variant:"body2",color:"text.secondary",sx:{mt:.25},children:e.body})]})]},e.title)}))}),(0,r.jsxs)(i.BJc,{direction:{xs:"column",sm:"row"},spacing:1.5,sx:{mt:3,alignItems:{sm:"center"}},children:[(0,r.jsx)(s,{ctaLabel:t,isCoexistenceAvailable:a,disabled:l,disabledReason:c,onAuthorize:d,fullWidthOnMobile:!0}),u?(0,r.jsx)(i.$nd,{color:"primary",onClick:u,sx:{textDecoration:"underline",textUnderlineOffset:3,"&:hover":{textDecoration:"underline"}},children:h("DISPLAY_STRINGS.META_SEE_PERMISSIONS")}):null]})]})})}},14160:function(e,n,t){t.d(n,{Qp:function(){return h},Yj:function(){return m},mm:function(){return y},p$:function(){return p}});var r,a=t(21762),o=t(60551),i=t(86591),l=t(85062),s=function(e,n,t,r){return new(t||(t=Promise))((function(a,o){function i(e){try{s(r.next(e))}catch(e){o(e)}}function l(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var n;e.done?a(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,l)}s((r=r.apply(e,n||[])).next())}))},c=function(e,n){var t,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){return function(l){if(t)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(o=0)),o;)try{if(t=1,r&&(a=2&l[0]?r.return:l[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;switch(r=0,a&&(l=[2&l[0],a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}
1if(6===l[0]&&o.label<a[1]){o.label=a[1],a=l;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=n.call(e,o)}catch(e){l=[6,e],r=0}finally{t=a=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}},d=function(e,n,t){if(t||2===arguments.length)for(var r,a=0,o=n.length;a<o;a++)!r&&a in n||(r||(r=Array.prototype.slice.call(n,0,a)),r[a]=n[a]);return e.concat(r||Array.prototype.slice.call(n))};!function(e){e.USER_CHATBOT_PERMISSIONS="ucp",e.USER_ACCOUNT_PERMISSIONS="uap"}(r||(r={}));function u(e,n){return"".concat(e,"_").concat(n)}var h=function(){function e(){}return e.getAll=function(){return[this.CAN_CREATE_CHATBOT,this.CAN_VIEW_DASHBOARD,this.CAN_UPDATE_CHATBOT,this.CAN_EMBED_CHATBOT,this.CAN_DELETE_CHATBOT,this.CAN_UPDATE_KNOWLEDGE_BASE,this.CAN_UPDATE_LEADS,this.CAN_UPDATE_SCHEDULING,this.CAN_VIEW_CONVERSATIONS,this.CAN_CUSTOMIZE_APPEARANCE,this.CAN_UPDATE_INTEGRATIONS,this.CAN_UPDATE_FUNCTIONS,this.CAN_USE_CHATBOT_AUDIO,this.CAN_USE_ELEVEN_LABS_API,this.CAN_ACCESS_API_AND_WEBHOOKS,this.CAN_ACCESS_MASTERCHAT,this.CAN_USE_HUMAN_HANDOFF,this.CAN_USE_CLAUDE_MODELS,this.CAN_USE_GROK_MODELS,this.CAN_USE_AI_VISION,this.CAN_USE_AUDIO_FEATURES,this.CAN_USE_CONVERSATION_SUMMARY,this.CAN_VIEW_OBSERVABILITY,this.CAN_USE_BACKUP_LLM_MODEL,this.CAN_USE_VOICE_PREMIUM_MODELS,this.CAN_USE_VOICE_GENERAL_ACTIONS,this.CAN_USE_VOICE_CUSTOM_TOOLS,this.CAN_VIEW_VOICE_ANALYTICS,this.CAN_VIEW_VOICE_CALL_LOGS,this.CAN_USE_VOICE_LEAD_COLLECTION,this.CAN_MAKE_OUTBOUND_VOICE_CALLS,this.CAN_EMBED_VOICE_AGENT,this.CAN_INTEGRATE_TWILIO,this.CAN_PURCHASE_PHONE_NUMBERS]},e.sort=function(e){var n,t=((n={})[this.CAN_CREATE_CHATBOT.value]=1,n[this.CAN_UPDATE_CHATBOT.value]=2,n[this.CAN_DELETE_CHATBOT.value]=3,n[this.CAN_VIEW_DASHBOARD.value]=4,n[this.CAN_VIEW_CONVERSATIONS.value]=5,n[this.CAN_EMBED_CHATBOT.value]=6,n[this.CAN_UPDATE_KNOWLEDGE_BASE.value]=7,n[this.CAN_UPDATE_LEADS.value]=8,n[this.CAN_UPDATE_SCHEDULING.value]=9,n[this.CAN_UPDATE_INTEGRATIONS.value]=10,n[this.CAN_ACCESS_API_AND_WEBHOOKS.value]=11,n[this.CAN_CUSTOMIZE_APPEARANCE.value]=12,n[this.CAN_UPDATE_FUNCTIONS.value]=13,n[this.CAN_USE_CHATBOT_AUDIO.value]=14,n[this.CAN_ACCESS_MASTERCHAT.value]=15,n[this.CAN_USE_HUMAN_HANDOFF.value]=16,n[this.CAN_USE_CLAUDE_MODELS.value]=17,n[this.CAN_USE_GROK_MODELS.value]=18,n[this.CAN_USE_AI_VISION.value]=19,n[this.CAN_USE_AUDIO_FEATURES.value]=20,n[this.CAN_USE_CONVERSATION_SUMMARY.value]=21,n[this.CAN_VIEW_OBSERVABILITY.value]=22,n[this.CAN_USE_BACKUP_LLM_MODEL.value]=23,n[this.CAN_USE_VOICE_PREMIUM_MODELS.value]=24,n[this.CAN_USE_VOICE_GENERAL_ACTIONS.value]=25,n[this.CAN_USE_VOICE_CUSTOM_TOOLS.value]=26,n[this.CAN_VIEW_VOICE_ANALYTICS.value]=27,n[this.CAN_VIEW_VOICE_CALL_LOGS.value]=28,n[this.CAN_USE_VOICE_LEAD_COLLECTION.value]=29,n[this.CAN_MAKE_OUTBOUND_VOICE_CALLS.value]=30,n[this.CAN_EMBED_VOICE_AGENT.value]=31,n[this.CAN_INTEGRATE_TWILIO.value]=32,n[this.CAN_PURCHASE_PHONE_NUMBERS.value]=33,n[this.CAN_USE_MCP_INTEGRATIONS.value]=34,n);return d([],e,!0).sort((function(e,n){return(t[e.value]||50)-(t[n.value]||50)}))},e.CAN_CREATE_CHATBOT={value:u(r.USER_CHATBOT_PERMISSIONS,"can_create_chatbot"),label:"Create Chatbot"},e.CAN_VIEW_DASHBOARD={value:u(r.USER_CHATBOT_PERMISSIONS,"can_view_dashboard"),label:"View Chatbot Dashboard"},e.CAN_UPDATE_CHATBOT={value:u(r.USER_CHATBOT_PERMISSIONS,"can_update_chatbot"),label:"Access Chatbot Settings"},e.CAN_EMBED_CHATBOT={value:u(r.USER_CHATBOT_PERMISSIONS,"can_embed_chatbot"),label:"Embed Chatbot"},e.CAN_DELETE_CHATBOT={value:u(r.USER_CHATBOT_PERMISSIONS,"can_delete_chatbot"),label:"Delete Chatbot"},e.CAN_UPDATE_KNOWLEDGE_BASE={value:u(r.USER_CHATBOT_PERMISSIONS,"can_update_knowledge_base"),label:"Access Knowledge Base"},e.CAN_UPDATE_LEADS={value:u(r.USER_CHATBOT_PERMISSIONS,"can_update_leads"),label:"Access Leads"},e.CAN_UPDATE_SCHEDULING={value:u(r.USER_CHATBOT_PERMISSIONS,"can_update_scheduling"),label:"Access Scheduling"},e.CAN_VIEW_CONVERSATIONS={value:u(r.USER_CHATBOT_PERMISSIONS,"can_view_conversations"),label:"View Conversations"},e.CAN_CUSTOMIZE_APPEARANCE={value:u(r.USER_CHATBOT_PERMISSIONS,"can_customize_appearance"),label:"Customize Appearance"},e.CAN_UPDATE_INTEGRATIONS={value:u(r.USER_CHATBOT_PERMISSIONS,"can_update_integrations"),label:"Access Meta Integrations"},e.CAN_USE_MCP_INTEGRATIONS={value:u(r.USER_CHATBOT_PERMISSIONS,"can_use_mcp_integrations"),label:"Use Connectors"},e.CAN_UPDATE_FUNCTIONS={value:u(r.USER_CHATBOT_PERMISSIONS,"can_update_functions"),label:"Access Custom Functions"},e.CAN_USE_CHATBOT_AUDIO={value:u(r.USER_CHATBOT_PERMISSIONS,"can_use_chatbot_audio"),label:"Use Chatbot Audio"},e.CAN_USE_ELEVEN_LABS_API={value:u(r.USER_CHATBOT_PERMISSIONS,"can_use_eleven_labs_api"),label:"Use Eleven Labs API in Chatbot Audio"},e.CAN_ACCESS_API_AND_WEBHOOKS={value:u(r.USER_CHATBOT_PERMISSIONS,"can_access_api_and_webhooks"),label:"Access API & Webhooks"},e.CAN_ACCESS_MASTERCHAT={value:u(r.USER_CHATBOT_PERMISSIONS,"can_access_masterchat"),label:"Access MasterChat"},e.CAN_ACCESS_VOICE_AGENTS={value:u(r.USER_CHATBOT_PERMISSIONS,"can_access_voice_agents"),label:"Access Voice Agents"},e.CAN_USE_HUMAN_HANDOFF={value:u(r.USER_CHATBOT_PERMISSIONS,"can_use_human_handoff"),label:"Use Human Handoff"},e.CAN_USE_CLAUDE_MODELS={value:u(r.USER_CHATBOT_PERMISSIONS,"can_use_claude_models"),label:"Use Claude Models"},e.CAN_USE_GROK_MODELS={value:u(r.USER_CHATBOT_PERMISSIONS,"can_use_grok_models"),label:"Use Grok Models"},e.CAN_USE_AI_VISION={value:u(r.USER_CHATBOT_PERMISSIONS,"can_use_ai_vision"),label:"Use AI Vision"},e.CAN_USE_AUDIO_FEATURES={value:u(r.USER_CHATBOT_PERMISSIONS,"can_use_audio_features"),label:"Use Audio Features"},e.CAN_USE_CONVERSATION_SUMMARY={value:u(r.USER_CHATBOT_PERMISSIONS,"can_use_conversation_summary"),label:"Use Conversation Summary"},e.CAN_VIEW_OBSERVABILITY={value:u(r.USER_CHATBOT_PERMISSIONS,"can_view_observability"),label:"Access Observability"},e.CAN_USE_BACKUP_LLM_MODEL={value:u(r.USER_CHATBOT_PERMISSIONS,"can_use_backup_llm_model"),label:"Use Backup LLM Model"},e.CAN_USE_VOICE_PREMIUM_MODELS={value:u(r.USER_CHATBOT_PERMISSIONS,"can_use_voice_premium_models"),label:"Use Voice Premium Models"},e.CAN_USE_VOICE_GENERAL_ACTIONS={value:u(r.USER_CHATBOT_PERMISSIONS,"can_use_voice_general_actions"),label:"Use Voice General Actions"},e.CAN_USE_VOICE_CUSTOM_TOOLS={value:u(r.USER_CHATBOT_PERMISSIONS,"can_use_voice_custom_tools"),label:"Use Voice Custom Tools"},e.CAN_VIEW_VOICE_ANALYTICS={value:u(r.USER_CHATBOT_PERMISSIONS,"can_view_voice_analytics"),label:"View Voice Analytics"},e.CAN_VIEW_VOICE_CALL_LOGS={value:u(r.USER_CHATBOT_PERMISSIONS,"can_view_voice_call_logs"),label:"View Voice Call Logs"},e.CAN_USE_VOICE_LEAD_COLLECTION={value:u(r.USER_CHATBOT_PERMISSIONS,"can_use_voice_lead_collection"),label:"Use Voice Lead Collection"},e.CAN_MAKE_OUTBOUND_VOICE_CALLS={value:u(r.USER_CHATBOT_PERMISSIONS,"can_make_outbound_voice_calls"),label:"Make Outbound Voice Calls"},e.CAN_EMBED_VOICE_AGENT={value:u(r.USER_CHATBOT_PERMISSIONS,"can_embed_voice_agent"),label:"Embed Voice Agent"},e.CAN_INTEGRATE_TWILIO={value:u(r.USER_CHATBOT_PERMISSIONS,"can_integrate_twilio"),label:"Integrate Twil
1io"},e.CAN_PURCHASE_PHONE_NUMBERS={value:u(r.USER_CHATBOT_PERMISSIONS,"can_purchase_phone_numbers"),label:"Purchase Phone Numbers"},e}(),x=(function(){function e(){}e.getAll=function(){return[this.CAN_CREATE_SUB_ACCOUNTS,this.CAN_VIEW_WHITE_LABEL_DOCUMENTATION,this.CAN_CREATE_USERS,this.CAN_VIEW_SUBSCRIPTION,this.CAN_CUSTOMIZE_WHITELABEL_DASHBOARD]},e.CAN_CREATE_SUB_ACCOUNTS={value:u(r.USER_ACCOUNT_PERMISSIONS,"can_create_sub_accounts"),label:"Access Sub-Accounts"},e.CAN_VIEW_WHITE_LABEL_DOCUMENTATION={value:u(r.USER_ACCOUNT_PERMISSIONS,"can_view_white_label_documentation"),label:"Access Documentation"},e.CAN_CREATE_USERS={value:u(r.USER_ACCOUNT_PERMISSIONS,"can_create_users"),label:"Access Users"},e.CAN_VIEW_SUBSCRIPTION={value:u(r.USER_ACCOUNT_PERMISSIONS,"can_view_subscription"),label:"Access Subscription"},e.CAN_CUSTOMIZE_WHITELABEL_DASHBOARD={value:u(r.USER_ACCOUNT_PERMISSIONS,"can_access_whitelabel_dashboard"),label:"Access Whitelabel Dashboard Styling"}}(),3e5),b=new Map;function f(e){return d([],e,!0).sort().join("|")}function p(e){var n=b.get(f(e));return!(null==n?void 0:n.result)||n.expiresAt<=Date.now()?null:n.result}function g(e){return s(this,void 0,Promise,(function(){var n,t,r,i;return c(this,(function(l){switch(l.label){case 0:if(n=f(e),(t=b.get(n))&&t.expiresAt>Date.now()){if(t.result)return[2,t.result];if(t.pending)return[2,t.pending]}r=function(e){return s(this,void 0,Promise,(function(){var n,t,r,i,l,s,d;return c(this,(function(c){switch(c.label){case 0:return c.trys.push([0,2,,3]),[4,o.A.post(a.n.USERS.CHECK_PERMISSIONS,{permissions_to_check:e})];case 1:return[2,{hasPermission:200===(n=c.sent()).status,message:(null===(i=n.data)||void 0===i?void 0:i.message)||"Permission check completed"}];case 2:if(t=c.sent(),403===(null===(l=(r=t).response)||void 0===l?void 0:l.status))return[2,{hasPermission:!1,message:(null===(d=null===(s=r.response)||void 0===s?void 0:s.data)||void 0===d?void 0:d.message)||"You do not have the required permissions."}];throw console.error("Error checking permissions:",t),t;case 3:return[2]}}
1))}))}(e).then((function(e){return b.set(n,{result:e,expiresAt:Date.now()+x}),e})),b.set(n,{pending:r,expiresAt:Date.now()+x}),l.label=1;case 1:return l.trys.push([1,3,,4]),[4,r];case 2:return[2,l.sent()];case 3:throw i=l.sent(),b.delete(n),i;case 4:return[2]}}))}))}function m(e){return s(this,void 0,Promise,(function(){return c(this,(function(n){return[2,g([e])]}))}))}function v(){return s(this,void 0,Promise,(function(){var e;return c(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,o.A.get(a.n.USERS.PERMISSIONS)];case 1:return[2,n.sent().data.data];case 2:return e=n.sent(),console.error("Error fetching permissions:",e),[2,{permissions:{},user_permissions:{}}];case 3:return[2]}}))}))}var y=function(){return(0,i.I)({queryKey:[l.e.PERMISSIONS],queryFn:v,refetchOnWindowFocus:!0,refetchOnMount:!0,staleTime:0,retry:!1})}},39675:function(e,n,t){t.d(n,{Dv:function(){return o.D},Jd:function(){return a.J},R2:function(){return r.R},bq:function(){return a.b},fL:function(){return r.f}});var r=t(50143),a=t(81e3),o=t(52951)},50143:function(e,n,t){t.d(n,{R:function(){return d},f:function(){return c}});var r=t(78685),a=t(2057),o=t(69179),i=t(79881),l=t(74305),s=(0,a.createContext)(void 0),c=function(){var e=(0,a.useContext)(s);if(!e)throw new Error("useThemeContext must be used within a ThemeContextProvider");return e},d=function(e){var n=e.children,t=e.forcedThemeMode,c=(0,a.useState)(t||"light"),d=c[0],u=c[1];(0,a.useEffect)((function(){if(t)u(t);else{var e=(0,l.kl)("theme","light");u(e)}}),[t]),(0,a.useEffect)((function(){if(!t&&"undefined"!=typeof window){var e=function(e){var n,t=null===(n=null==e?void 0:e.detail)||void 0===n?void 0:n.themeMode;if("light"!==t&&"dark"!==t){var r=(0,l.kl)("theme","light");u(r)}else u(t)};return window.addEventListener("stammer-theme-change",e),window.addEventListener("storage",e),function(){window.removeEventListener("stammer-theme-change",e),window.removeEventListener("storage",e)}}}),[t]);var h=(0,a.useMemo)((function(){return(0,i.C)(d)}),[d]);return(0,r.jsx)(s.Provider,{value:{themeMode:d,theme:h},children:(0,r.jsxs)(o.NPJ,{theme:h,children:[(0,r.jsx)(o.n8S,{}),n]})})}},74305:function(e,n,t){t.d(n,{Tp:function(){return l},VE:function(){return i},g$:function(){return a},kl:function(){return r},qu:function(){return o}});var r=function(e,n){void 0===n&&(n=null);try{var t=window.localStorage;return t&&t.getItem(e)||n}catch(e){return console.error("Error getting from localStorage (using default)",e),n}},a=function(e,n){try{var t=window.localStorage;if(!t)return;t.setItem(e,n)}catch(e){console.error("Error setting to localStorage",e)}},o=function(e){try{var n=window.localStorage;if(!n)return;n.removeItem(e)}catch(e){console.error("Error removing from localStorage",e)}},i=function(e,n){void 0===n&&(n=null);try{var t=window.sessionStorage;return t&&t.getItem(e)||n}catch(e){return console.error("Error getting from sessionStorage (using default)",e),n}},l=function(e,n){try{var t=window.sessionStorage;if(!t)return;t.setItem(e,n)}catch(e){console.error("Error setting to sessionStorage",e)}}},81e3:function(e,n,t){t.d(n,{J:function(){return s},b:function(){return l}});var r=t(78685),a=t(2057),o=t(22249),i=(0,a.createContext)(void 0),l=function(e){var n=e.children,t=(0,o.nd)(),a={userDetails:t.data,isLoading:t.isLoading,isError:t.isError,error:t.error,refetch:t.refetch};return(0,r.jsx)(i.Provider,{value:a,children:n})},s=function(){var e=(0,a.useContext)(i);if(void 0===e)throw new Error("useUser must be used within a UserBasicDetailsProvider");return e}},78166:function(e,n,t){t.d(n,{nD3:function(){return r.nD3},ZiS:function(){return r.ZiS},Xo_:function(){return r.Xo_},FcD:function(){return r.FcD},jT8:function(){return r.jT8},euF:function(){return r.euF},Exy:function(){return r.Exy},azJ:function(){return r.azJ},$nd:function(){return r.$nd},ZpM:function(){return r.ZpM},waF:function(){return r.waF},Wux:function(){return r.Wux},aRn:function(){return r.aRn},fsr:function(){return r.fsr},Sc0:function(){return r.Sc0},vu3:function(){return r.vu3},PaH:function(){return r.PaH},SDm:function(){return r.SDm},KKB:function(){return r.KKB},mcf:function(){return r.mcf},KGj:function(){return a.A},aTG:function(){return r.aTG},lGe:function(){return r.lGe},iin:function(){return r.iin},Cff:function(){return r.Cff},zTD:function(){return r.zTD},L33:function(){return r.L33},cGx:function(){return r.cGx},_s:function(){return r._s},rrq:function(){return y.A},deU:function(){return r.deU},hcB:function(){return r.hcB},UMu:function(){return r.UMu},MJN:function(){return r.MJN},ip9:function(){return r.ip9},l1m:function(){return r.l1m},xA9:function(){return r.xA9},fPr:function(){return r.fPr},K0:function(){return r.K0},BbZ:function(){return r.BbZ},$ZZ:function(){return r.$ZZ},jC1:function(){return r.jC1},l1Y:function(){return r.l1Y},JU7:function(){return r.JU7},hZv:function(){return r.hZv},qIE:function(){return r.qIE}
vendor: 2,943 bytes, line 1
1,N_E:function(){return r.N_E},B8B:function(){return r.B8B},ckQ:function(){return r.ckQ},$cp:function(){return r.$cp},Wj3:function(){return r.Wj3},LaP:function(){return r.LaP},ZqK:function(){return r.ZqK},WsE:function(){return C},W1t:function(){return r.W1t},Drp:function(){return r.Drp},aFV:function(){return r.aFV},oR4:function(){return r.oR4},dKS:function(){return r.dKS},Zkm:function(){return r.Zkm},tu9:function(){return r.tu9},POx:function(){return f},QIW:function(){return g.A},L0s:function(){return p.A},AMh:function(){return r.AMh},KK8:function(){return r.KK8},sxL:function(){return r.sxL},z6M:function(){return r.z6M},_8Q:function(){return o.A},DOo:function(){return r.DOo},IzF:function(){return r.IzF},l6P:function(){return r.l6P},EAD:function(){return r.EAD},qb_:function(){return r.qb_},BJc:function(){return r.BJc},dOG:function(){return r.dOG},ozo:function(){return r.ozo},XIK:function(){return r.XIK},BFY:function(){return r.BFY},nA6:function(){return r.nA6},K3K:function(){return r.K3K},ndF:function(){return r.ndF},Hjg:function(){return r.Hjg},tUM:function(){return r.tUM},A_L:function(){return r.A_L},puA:function(){return m.A},ffE:function(){return r.ffE},m_M:function(){return r.m_M},o5u:function(){return r.o5u},A8K:function(){return v.A},X4A:function(){return r.X4A},i7C:function(){return r.i7C},I4L:function(){return r.I4L},Ubj:function(){return r.Ubj},DPo:function(){return r.DPo}});var r=t(69179),a=t(10698),o=t(94632),i=t(78685),l=t(2057),s=t(70559),c=t(14160),d=t(16657),u=function(){return u=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var a in n=arguments[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e},u.apply(this,arguments)},h=function(e,n,t,r){return new(t||(t=Promise))((function(a,o){function i(e){try{s(r.next(e))}catch(e){o(e)}}function l(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var n;e.done?a(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,l)}s((r=r.apply(e,n||[])).next())}))},x=function(e,n){var t,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){return function(l){if(t)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(o=0)),o;)try{if(t=1,r&&(a=2&l[0]?r.return:l[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;switch(r=0,a&&(l=[2&l[0],a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}if(6===l[0]&&o.label<a[1]){o.label=a[1],a=l;break}
1if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=n.call(e,o)}catch(e){l=[6,e],r=0}finally{t=a=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}},b=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)n.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(t[r[a]]=e[r[a]])}return t},f=function(e){var n=e.permission,t=e.children,r=e.component,a=e.disabled,o=void 0!==a&&a,f=b(e,["permission","children","component","disabled"]),p=(0,d.Bd)().t,g=(0,l.useState)({hasPermission:!0,message:""}),m=g[0],v=g[1],y=(0,l.useState)(!0),A=y[0],S=y[1];(0,l.useEffect)((function(){h(void 0,void 0,void 0,(function(){var e,t;return x(this,(function(r){switch(r.label){case 0:S(!0),r.label=1;case 1:return r.trys.push([1,3,4,5]),[4,(0,c.Yj)(n)];case 2:return e=r.sent(),v(e),[3,5];case 3:return t=r.sent(),console.error(p("DISPLAY_STRINGS.ERROR_CHECKING_PERMISSION"),t),v({hasPermission:!1,message:p("DISPLAY_STRINGS.ERROR_CHECKING_PERMISSION")}),[3,5];case 4:return S(!1),[7];case 5:return[2]}}
1))}))}),[n,p]);var j=o||A||!m.hasPermission,w=!o&&!A&&!m.hasPermission,E=(0,i.jsx)(r,u({disabled:j},f,{children:t}));return w?(0,i.jsx)(s.A,{title:m.message,arrow:!0,placement:"top",children:(0,i.jsx)("span",{children:E})}):E},p=t(8919),g=t(12706),m=t(33275),v=t(55210),y=t(77155),A=t(41175),S=t(31547),j=t(10838),w=t(34994),E=t(26088),L=t(21120),_=t(50764),C=function(e){var n=e.value,t=e.title,r=e.showInfoIcon,a=void 0!==r&&r,o=e.enableResponsiveTruncation,c=void 0!==o&&o,d=(e.labelPrefix,(0,l.useState)(!1)),u=d[0],h=d[1],x=(0,l.useRef)(null),b=(0,l.useState)(35),f=b[0],p=b[1];return(0,l.useEffect)((function(){var e=function(){if(x.current){var e=x.current.offsetWidth-8,n=Math.floor(e/8);p(n>10?n:10)}};return e(),window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}),[]),(0,l.useEffect)((function(){if(u){var e=setTimeout((function(){return h(!1)}),2e3);return function(){return clearTimeout(e)}}}),[u]),(0,i.jsxs)(A.A,{sx:{p:2,borderRadius:2},children:[(0,i.jsxs)(S.A,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",mb:1},children:[(0,i.jsxs)(S.A,{sx:{display:"flex",alignItems:"center"},children:[(0,i.jsx)(j.A,{variant:"body1",color:"text.primary",children:t}),a&&(0,i.jsx)(w.A,{size:"small",color:"primary",sx:{ml:.5},children:(0,i.jsx)(_.A,{fontSize:"small"})})]}),(0,i.jsx)(w.A,{onClick:function(){navigator.clipboard.writeText(n).then((function(){h(!0)}))},size:"small",color:u?"success":"default",children:u?(0,i.jsx)(L.A,{fontSize:"small"}):(0,i.jsx)(E.A,{fontSize:"small"})})]}),(0,i.jsx)(A.A,{variant:"outlined",elevation:0,sx:{p:1},children:(0,i.jsx)(S.A,{sx:{display:"flex",alignItems:"center"},children:(0,i.jsx)(S.A,{ref:x,flexGrow:1,sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0},children:(0,i.jsx)(s.A,{title:n,children:(0,i.jsx)(j.A,{variant:"body2",noWrap:!0,children:c&&n.length>f?"".concat(n.substring(0,f),"..."):n})})})})})]})}},50212:function(e,n,t){t.d(n,{DV:function(){return c},Ih:function(){return l},rn:function(){return s}});var r=t(16003),a=t(42317);var o=new Set([r.b.DASHBOARD,r.b.LOGIN,r.b.SIGNUP,r.b.EMAIL_VERIFICATION_SENT,r.b.PASSWORD_RESET,r.b.PASSWORD_RESET_DONE,r.b.PASSWORD_RESET_FROM_KEY_DONE,r.b.ONBOARDING,r.b.THANK_YOU,r.b.ADMIN_ANALYTICS,r.b.ADMIN_MESSAGE_USAGE,r.b.ADMIN_CHATBOT_ANALYTICS,r.b.ADMIN_VOICE_ANALYTICS,r.b.ADMIN_USER_VOICE_USAGE,r.b.BILLING,r.b.MARKETPLACE,r.b.AGENCY_PROFILE,r.b.AGENCY_SAAS_CONFIGURATOR,r.b.AGENCY_PACKAGE_CREATE,r.b.ACCOUNT,r.b.ACCOUNT_SECURITY,r.b.API_TOKEN,r.b.SUPPORT_TICKET,r.b.SUBACCOUNTS,r.b.AGENCY_USERS,r.b.SUBACCOUNT_USERS,r.b.VOICE_DASHBOARD].map((function(e){if(!e)return"/";var n=e.startsWith("/")?e:"/".concat(e);return"/"!==n&&n.endsWith("/")&&(n=n.slice(0,-1)),n}))),i=["/chatbot/","/voice/","/verify_2fa/","/accounts/password/reset/key/","/agency/subscription/package/update/"];function l(e){if("undefined"==typeof window||!e)return null;if(e.startsWith("#")||e.startsWith("mailto:")||e.startsWith("tel:")||e.startsWith("javascript:"))return null;var n;try{n=new URL(e,window.location.origin)}catch(e){return null}if(n.origin!==window.location.origin)return null;var t="/".concat((0,a.QW)()),r=n.pathname;r===t||r==="".concat(t,"/")?r="/":r.startsWith("".concat(t,"/"))&&(r=r.slice(t.length)||"/"),r.startsWith("/")||(r="/".concat(r)),"/"!==r&&r.endsWith("/")&&(r=r.slice(0,-1));var l=o.has(r),s=i.some((function(e){return r.startsWith(e)}));return l||s?"".concat(r).concat(n.search).concat(n.hash):null}function s(e){if("undefined"==typeof window||!e)return null;var n;try{n=new URL(e,window.location.origin)}catch(e){return null}if(n.origin!==window.location.origin)return null;var t="/".concat((0,a.QW)()),r=n.pathname;return r===t||r==="".concat(t,"/")?r="/":r.startsWith("".concat(t,"/"))&&(r=r.slice(t.length)||"/"),r.startsWith("/")||(r="/".concat(r)),"/"!==r&&r.endsWith("/")&&(r=r.slice(0,-1)),"".concat(r).concat(n.search).concat(n.hash)}function c(e,n){var t=l(e);return!!t&&(n(t),!0)}},42317:function(e,n,t){function r(){for(var e,n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];var r=null===(e=n[n.length-1])||void 0===e?void 0:e.endsWith("/"),a=n.map((function(e,n){return 0===n?e.replace(/\/+$/,""):e.replace(/^\/+|\/+$/g,"")}
1)).filter(Boolean).join("/");return r&&a&&!a.endsWith("/")?"".concat(a,"/"):a}t.d(n,{PJ:function(){return i},QW:function(){return l},uJ:function(){return r}});var a=/^(en|es|fr|pt|hu|ru|ja|de|it|hi|pl|nl)$/;function o(){var e=window.location.pathname.match(/^\/([^/]+)/);return e&&a.test(e[1])?e[1]:null}function i(){var e=o();return e?"/".concat(e,"/"):"/"}function l(){var e;return null!==(e=o())&&void 0!==e?e:"en"}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.