@novu/js 3.9.2 → 3.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
- import { Novu, checkNotificationTagFilter, checkNotificationDataFilter, isBrowser, DEFAULT_API_VERSION, isSameFilter } from '../chunk-3CKXF2I4.mjs';
1
+ import { Novu, checkNotificationTagFilter, checkNotificationDataFilter, isBrowser, DEFAULT_API_VERSION, isSameFilter } from '../chunk-OMH4MVCZ.mjs';
2
2
  import { parseMarkdownIntoTokens } from '../chunk-QOD7NZ77.mjs';
3
3
  import { __privateAdd, __privateMethod, __privateSet, __privateGet, __spreadProps, __spreadValues, __objRest, __async } from '../chunk-STZMOEWR.mjs';
4
4
  import { createComponent, mergeProps, delegateEvents, render, Portal, spread, template, insert, memo, effect, className, use, setAttribute, Dynamic } from 'solid-js/web';
5
- import { createSignal, createContext, useContext, onMount, onCleanup, For, createMemo, createEffect, splitProps, Show, Switch as Switch$1, Match, createResource, Index, batch } from 'solid-js';
5
+ import { createSignal, createContext, useContext, onMount, onCleanup, For, createMemo, createEffect, splitProps, Show, Switch, Match, createResource, Index, batch, createUniqueId } from 'solid-js';
6
6
  import { createStore } from 'solid-js/store';
7
7
  import clsx from 'clsx';
8
8
  import { extendTailwindMerge } from 'tailwind-merge';
@@ -10,9 +10,10 @@ import { Motion as Motion$1 } from 'solid-motionone';
10
10
  import { autoUpdate, offset, flip, shift } from '@floating-ui/dom';
11
11
  import { useFloating } from 'solid-floating-ui';
12
12
  import { cva } from 'class-variance-authority';
13
+ import * as CheckboxPrimitive from '@kobalte/core/checkbox';
13
14
 
14
- // _vxjvi57ta:/home/runner/work/novu/novu/packages/js/src/ui/index.directcss
15
- var ui_default = `.novu{scrollbar-color:var(--nv-color-secondary-foreground-alpha-300) #0000;:where(*),:where(*) :after,:where(*) :before,:where(*):after,:where(*):before{border:0 solid #e5e7eb;box-sizing:border-box}:where(html,:host){line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;tab-size:4;-webkit-tap-highlight-color:transparent}:where(body){line-height:inherit;margin:0}:where(hr){border-top-width:1px;color:inherit;height:0}:where(abbr:where([title])){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}:where(h1,h2,h3,h4,h5,h6){font-size:inherit;font-weight:inherit}:where(a){color:inherit;text-decoration:inherit}:where(b,strong){font-weight:bolder}:where(code,kbd,samp,pre){font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}:where(small){font-size:80%}:where(sub,sup){font-size:75%;line-height:0;position:relative;vertical-align:initial}:where(sub){bottom:-.25em}:where(sup){top:-.5em}:where(table){border-collapse:collapse;border-color:inherit;text-indent:0}:where(button,input,optgroup,select,textarea){color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}:where(button,select){text-transform:none}:where(button,input:where([type=button]),input:where([type=reset]),input:where([type=submit])){-webkit-appearance:button;background-color:initial;background-image:none}:where(:-moz-focusring){outline:auto}:where(:-moz-ui-invalid){box-shadow:none}:where(progress){vertical-align:initial}:where(*)::-webkit-inner-spin-button,:where(*)::-webkit-outer-spin-button{height:auto}:where([type=search]){-webkit-appearance:textfield;outline-offset:-2px}:where(*)::-webkit-search-decoration{-webkit-appearance:none}:where(*)::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}:where(summary){display:list-item}:where(blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre){margin:0}:where(fieldset){margin:0;padding:0}:where(legend){padding:0}:where(ol,ul,menu){list-style:none;margin:0;padding:0}:where(dialog){padding:0}:where(textarea){resize:vertical}:where(input)::placeholder,:where(textarea)::placeholder{color:#9ca3af;opacity:1}:where(button,[role=button]){cursor:pointer}:where(:disabled){cursor:default}:where(img,svg,video,canvas,audio,iframe,embed,object){display:block;vertical-align:middle}:where(img,video){height:auto;max-width:100%}:where([hidden]){display:none}:where(*),:where(*) :after,:where(*) :before,:where(*):after,:where(*):before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }:where(*) ::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::-webkit-scrollbar{height:.5rem;width:.5rem}::-webkit-scrollbar-thumb{background-clip:"padding-box";background-color:var(--nv-color-secondary-foreground-alpha-300);border-radius:.25rem}::-webkit-scrollbar-corner,::-webkit-scrollbar-track{background-color:initial}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}}.nt-sr-only{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border-width:0;white-space:nowrap}.\\!nt-pointer-events-auto{pointer-events:auto!important}.nt-invisible{visibility:hidden}.nt-absolute{position:absolute}.nt-relative{position:relative}.nt-inset-0{inset:0}.nt-inset-2{inset:.5rem}.nt-bottom-0{bottom:0}.nt-left-0{left:0}.nt-left-0\\.5{left:.125rem}.nt-right-0{right:0}.nt-right-3{right:.75rem}.nt-top-0{top:0}.nt-top-0\\.5{top:.125rem}.nt-top-3{top:.75rem}.nt-z-10{z-index:10}.nt-z-\\[-1\\]{z-index:-1}.-nt-m-1{margin:-.25rem}.nt-mx-auto{margin-left:auto;margin-right:auto}.nt--mt-\\[50px\\]{margin-top:-50px}.nt-mb-1{margin-bottom:.25rem}.nt-mb-2{margin-bottom:.5rem}.nt-mb-4{margin-bottom:1rem}.nt-mb-\\[0\\.625rem\\]{margin-bottom:.625rem}.nt-ml-1{margin-left:.25rem}.nt-ml-2{margin-left:.5rem}.nt-ml-auto{margin-left:auto}.nt-mr-2{margin-right:.5rem}.nt-mr-auto{margin-right:auto}.nt-mt-1{margin-top:.25rem}.nt-mt-auto{margin-top:auto}.nt-block{display:block}.nt-flex{display:flex}.nt-inline-flex{display:inline-flex}.nt-grid{display:grid}.nt-hidden{display:none}.nt-aspect-square{aspect-ratio:1/1}.nt-size-1\\.5{height:.375rem;width:.375rem}.nt-size-2{height:.5rem;width:.5rem}.nt-size-2\\.5{height:.625rem;width:.625rem}.nt-size-3{height:.75rem;width:.75rem}.nt-size-3\\.5{height:.875rem;width:.875rem}.nt-size-4{height:1rem;width:1rem}.nt-size-5{height:1.25rem;width:1.25rem}.nt-size-8{height:2rem;width:2rem}.nt-size-fit{height:fit-content;width:fit-content}.nt-size-full{height:100%;width:100%}.nt-h-2{height:.5rem}.nt-h-3{height:.75rem}.nt-h-4{height:1rem}.nt-h-5{height:1.25rem}.nt-h-7{height:1.75rem}.nt-h-8{height:2rem}.nt-h-9{height:2.25rem}.nt-h-\\[600px\\]{height:600px}.nt-h-fit{height:fit-content}.nt-h-full{height:100%}.nt-min-h-0{min-height:0}.nt-w-1\\.5{width:.375rem}.nt-w-1\\/3{width:33.333333%}.nt-w-2\\/3{width:66.666667%}.nt-w-5{width:1.25rem}.nt-w-7{width:1.75rem}.nt-w-8{width:2rem}.nt-w-\\[260px\\]{width:260px}.nt-w-\\[3px\\]{width:3px}.nt-w-\\[400px\\]{width:400px}.nt-w-\\[60px\\]{width:60px}.nt-w-\\[calc\\(2ch\\+2rem\\)\\]{width:calc(2ch + 2rem)}.nt-w-fit{width:fit-content}.nt-w-full{width:100%}.nt-w-max{width:max-content}.nt-min-w-52{min-width:13rem}.nt-flex-1{flex:1 1 0%}.nt-shrink-0{flex-shrink:0}.nt-translate-x-1\\/2{--tw-translate-x:50%}.nt-transform,.nt-translate-x-1\\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nt-cursor-default{cursor:default}.nt-cursor-not-allowed{cursor:not-allowed}.nt-cursor-pointer{cursor:pointer}.nt-grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.nt-flex-row{flex-direction:row}.nt-flex-col{flex-direction:column}.nt-flex-wrap{flex-wrap:wrap}.nt-flex-nowrap{flex-wrap:nowrap}.nt-items-start{align-items:flex-start}.nt-items-center{align-items:center}.nt-justify-end{justify-content:flex-end}.nt-justify-center{justify-content:center}.nt-justify-between{justify-content:space-between}.nt-gap-0\\.5{gap:.125rem}.nt-gap-1{gap:.25rem}.nt-gap-1\\.5{gap:.375rem}.nt-gap-2{gap:.5rem}.nt-gap-3{gap:.75rem}.nt-gap-4{gap:1rem}.nt-gap-6{gap:1.5rem}.nt-gap-8{gap:2rem}.nt-self-stretch{align-self:stretch}.nt-overflow-auto{overflow:auto}.nt-overflow-hidden{overflow:hidden}.nt-overflow-y-auto{overflow-y:auto}.nt-truncate{overflow:hidden;text-overflow:ellipsis}.nt-truncate,.nt-whitespace-nowrap{white-space:nowrap}.nt-whitespace-pre-wrap{white-space:pre-wrap}.nt-rounded{border-radius:var(--nv-radius-base)}.nt-rounded-full{border-radius:var(--nv-radius-full)}.nt-rounded-lg{border-radius:var(--nv-radius-lg)}.nt-rounded-md{border-radius:var(--nv-radius-md)}.nt-rounded-sm{border-radius:var(--nv-radius-sm)}.nt-rounded-xl{border-radius:var(--nv-radius-xl)}.nt-border{border-width:1px}.nt-border-b{border-bottom-width:1px}.nt-border-t{border-top-width:1px}.nt-border-background{border-color:var(--nv-color-background)}.nt-border-border{border-color:var(--nv-color-neutral-alpha-100)}.nt-border-neutral-200{--tw-border-opacity:1;border-color:rgb(229 229 229/var(--tw-border-opacity,1))}.nt-border-neutral-alpha-100{border-color:var(--nv-color-neutral-alpha-100)}.nt-border-neutral-alpha-200{border-color:var(--nv-color-neutral-alpha-200)}.nt-border-neutral-alpha-400{border-color:var(--nv-color-neutral-alpha-400)}.nt-border-neutral-alpha-50{border-color:var(--nv-color-neutral-alpha-50)}.nt-border-t-neutral-alpha-200{border-top-color:var(--nv-color-neutral-alpha-200)}.nt-bg-\\[oklch\\(from_var\\(--nv-color-stripes\\)_l_c_h_\\/_0\\.1\\)\\]{background-color:oklch(from var(--nv-color-stripes) l c h/.1)}.nt-bg-background{background-color:var(--nv-color-background)}.nt-bg-counter{background-color:var(--nv-color-counter)}.nt-bg-foreground{background-color:var(--nv-color-foreground)}.nt-bg-neutral-900{--tw-bg-opacity:1;background-color:rgb(23 23 23/var(--tw-bg-opacity,1))}.nt-bg-neutral-alpha-100{background-color:var(--nv-color-neutral-alpha-100)}.nt-bg-neutral-alpha-25{background-color:var(--nv-color-neutral-alpha-25)}.nt-bg-neutral-alpha-300{background-color:var(--nv-color-neutral-alpha-300)}.nt-bg-neutral-alpha-50{background-color:var(--nv-color-neutral-alpha-50)}.nt-bg-primary{background-color:var(--nv-color-primary)}.nt-bg-primary-alpha-300{background-color:var(--nv-color-primary-alpha-300)}.nt-bg-primary-alpha-400{background-color:var(--nv-color-primary-alpha-400)}.nt-bg-secondary{background-color:var(--nv-color-secondary)}.nt-bg-severity-high{background-color:var(--nv-color-severity-high)}.nt-bg-severity-high-alpha-100{background-color:var(--nv-color-severity-high-alpha-100)}.nt-bg-severity-high-alpha-200{background-color:var(--nv-color-severity-high-alpha-200)}.nt-bg-severity-high-alpha-300{background-color:var(--nv-color-severity-high-alpha-300)}.nt-bg-severity-high-alpha-50{background-color:var(--nv-color-severity-high-alpha-50)}.nt-bg-severity-low{background-color:var(--nv-color-severity-low)}.nt-bg-severity-low-alpha-100{background-color:var(--nv-color-severity-low-alpha-100)}.nt-bg-severity-low-alpha-200{background-color:var(--nv-color-severity-low-alpha-200)}.nt-bg-severity-low-alpha-300{background-color:var(--nv-color-severity-low-alpha-300)}.nt-bg-severity-low-alpha-50{background-color:var(--nv-color-severity-low-alpha-50)}.nt-bg-severity-medium{background-color:var(--nv-color-severity-medium)}.nt-bg-severity-medium-alpha-100{background-color:var(--nv-color-severity-medium-alpha-100)}.nt-bg-severity-medium-alpha-200{background-color:var(--nv-color-severity-medium-alpha-200)}.nt-bg-severity-medium-alpha-300{background-color:var(--nv-color-severity-medium-alpha-300)}.nt-bg-severity-medium-alpha-50{background-color:var(--nv-color-severity-medium-alpha-50)}.nt-bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.nt-bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.nt-bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.nt-from-foreground-alpha-50{--tw-gradient-from:var(--nv-color-foreground-alpha-50) var(--tw-gradient-from-position);--tw-gradient-to:#fff0 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.nt-from-primary-foreground-alpha-200{--tw-gradient-from:var(--nv-color-primary-foreground-alpha-200) var(--tw-gradient-from-position);--tw-gradient-to:#fff0 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.nt-from-transparent{--tw-gradient-from:#0000 var(--tw-gradient-from-position);--tw-gradient-to:#0000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.nt-from-20\\%{--tw-gradient-from-position:20%}.nt-to-background{--tw-gradient-to:var(--nv-color-background) var(--tw-gradient-to-position)}.nt-to-transparent{--tw-gradient-to:#0000 var(--tw-gradient-to-position)}.nt-object-cover{object-fit:cover}.nt-p-0{padding:0}.nt-p-0\\.5{padding:.125rem}.nt-p-1{padding:.25rem}.nt-p-2{padding:.5rem}.nt-p-2\\.5{padding:.625rem}.nt-p-3{padding:.75rem}.nt-p-4{padding:1rem}.nt-px-1{padding-left:.25rem;padding-right:.25rem}.nt-px-2{padding-left:.5rem;padding-right:.5rem}.nt-px-3{padding-left:.75rem;padding-right:.75rem}.nt-px-4{padding-left:1rem;padding-right:1rem}.nt-px-8{padding-left:2rem;padding-right:2rem}.nt-px-\\[6px\\]{padding-left:6px;padding-right:6px}.nt-py-1{padding-bottom:.25rem;padding-top:.25rem}.nt-py-2{padding-bottom:.5rem;padding-top:.5rem}.nt-py-3{padding-bottom:.75rem;padding-top:.75rem}.nt-py-3\\.5{padding-bottom:.875rem;padding-top:.875rem}.nt-py-4{padding-bottom:1rem;padding-top:1rem}.nt-py-px{padding-bottom:1px;padding-top:1px}.nt-pb-2{padding-bottom:.5rem}.nt-pb-\\[0\\.625rem\\]{padding-bottom:.625rem}.nt-pr-0{padding-right:0}.nt-pt-2\\.5{padding-top:.625rem}.nt-text-center{text-align:center}.nt-text-start{text-align:start}.nt-font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.nt-text-\\[0\\.8rem\\]{font-size:.8rem}.nt-text-\\[12px\\]{font-size:12px}.nt-text-base{font-size:var(--nv-font-size-base);line-height:var(--nv-line-height-base)}.nt-text-sm{font-size:var(--nv-font-size-sm);line-height:var(--nv-line-height-sm)}.nt-text-xl{font-size:var(--nv-font-size-xl);line-height:var(--nv-line-height-xl)}.nt-text-xs{font-size:var(--nv-font-size-xs);line-height:var(--nv-line-height-xs)}.nt-font-medium{font-weight:500}.nt-font-normal{font-weight:400}.nt-font-semibold{font-weight:600}.nt-leading-none{line-height:1}.nt-text-\\[\\#000000\\]{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.nt-text-background{color:var(--nv-color-background)}.nt-text-counter-foreground{color:var(--nv-color-counter-foreground)}.nt-text-foreground{color:var(--nv-color-foreground)}.nt-text-foreground-alpha-300{color:var(--nv-color-foreground-alpha-300)}.nt-text-foreground-alpha-400{color:var(--nv-color-foreground-alpha-400)}.nt-text-foreground-alpha-600{color:var(--nv-color-foreground-alpha-600)}.nt-text-foreground-alpha-700{color:var(--nv-color-foreground-alpha-700)}.nt-text-primary-foreground{color:var(--nv-color-primary-foreground)}.nt-text-secondary-foreground{color:var(--nv-color-secondary-foreground)}.nt-text-stripes{color:var(--nv-color-stripes)}.nt-text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.nt-underline{text-decoration-line:underline}.nt-opacity-0{opacity:0}.nt-opacity-20{opacity:.2}.nt-opacity-50{opacity:.5}.nt-shadow{--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.nt-shadow-\\[0_0_0_0\\.5px_var\\(--nv-color-primary-600\\)\\]{--tw-shadow:0 0 0 0.5px var(--nv-color-primary-600);--tw-shadow-colored:0 0 0 0.5px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.nt-shadow-\\[0_0_0_0\\.5px_var\\(--nv-color-secondary-600\\)\\]{--tw-shadow:0 0 0 0.5px var(--nv-color-secondary-600);--tw-shadow-colored:0 0 0 0.5px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.nt-shadow-\\[0px_1px_2px_0px_rgba\\(10\\,13\\,20\\,0\\.03\\)\\]{--tw-shadow:0px 1px 2px 0px #0a0d1408;--tw-shadow-colored:0px 1px 2px 0px var(--tw-shadow-color)}.nt-shadow-\\[0px_1px_2px_0px_rgba\\(10\\,13\\,20\\,0\\.03\\)\\],.nt-shadow-dropdown{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.nt-shadow-dropdown{--tw-shadow:0px 12px 16px -4px oklch(from var(--nv-color-shadow) l c h/0.08),0px 4px 6px -2px oklch(from var(--nv-color-shadow) l c h/0.03);--tw-shadow-colored:0px 12px 16px -4px var(--tw-shadow-color),0px 4px 6px -2px var(--tw-shadow-color)}.nt-shadow-lg{--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.nt-shadow-lg,.nt-shadow-none{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.nt-shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}.nt-shadow-popover{--tw-shadow:0px 8px 26px 0px oklch(from var(--nv-color-shadow) l c h/0.08),0px 2px 6px 0px oklch(from var(--nv-color-shadow) l c h/0.12);--tw-shadow-colored:0px 8px 26px 0px var(--tw-shadow-color),0px 2px 6px 0px var(--tw-shadow-color)}.nt-shadow-popover,.nt-shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.nt-shadow-sm{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.nt-shadow-tooltip{--tw-shadow:0 5px 20px 0 oklch(from var(--nv-color-shadow) l c h/0.08);--tw-shadow-colored:0 5px 20px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.nt-outline-none{outline:2px solid #0000;outline-offset:2px}.nt-backdrop-blur-lg{--tw-backdrop-blur:blur(16px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.nt-transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.nt-transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.nt-transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.nt-duration-100{transition-duration:.1s}.nt-duration-200{transition-duration:.2s}.nt-ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0) scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0) scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}.nt-animate-in{animation-duration:.15s;animation-name:enter;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.nt-fade-in{--tw-enter-opacity:0}.nt-slide-in-from-top-2{--tw-enter-translate-y:-0.5rem}.nt-duration-100{animation-duration:.1s}.nt-duration-200{animation-duration:.2s}.nt-ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.\\[--bell-gradient-end\\:oklch\\(from_var\\(--nv-color-foreground\\)_80\\%_c_h\\)\\]{--bell-gradient-end:oklch(from var(--nv-color-foreground) 80% c h)}.\\[--bell-gradient-end\\:oklch\\(from_var\\(--nv-color-severity-high\\)_45\\%_c_h\\)\\]{--bell-gradient-end:oklch(from var(--nv-color-severity-high) 45% c h)}.\\[--bell-gradient-end\\:oklch\\(from_var\\(--nv-color-severity-high\\)_80\\%_c_h\\)\\]{--bell-gradient-end:oklch(from var(--nv-color-severity-high) 80% c h)}.\\[--bell-gradient-end\\:oklch\\(from_var\\(--nv-color-severity-low\\)_45\\%_c_h\\)\\]{--bell-gradient-end:oklch(from var(--nv-color-severity-low) 45% c h)}.\\[--bell-gradient-end\\:oklch\\(from_var\\(--nv-color-severity-low\\)_80\\%_c_h\\)\\]{--bell-gradient-end:oklch(from var(--nv-color-severity-low) 80% c h)}.\\[--bell-gradient-end\\:oklch\\(from_var\\(--nv-color-severity-medium\\)_45\\%_c_h\\)\\]{--bell-gradient-end:oklch(from var(--nv-color-severity-medium) 45% c h)}.\\[--bell-gradient-end\\:oklch\\(from_var\\(--nv-color-severity-medium\\)_80\\%_c_h\\)\\]{--bell-gradient-end:oklch(from var(--nv-color-severity-medium) 80% c h)}.\\[--bell-gradient-start\\:var\\(--nv-color-foreground\\)\\]{--bell-gradient-start:var(--nv-color-foreground)}.\\[--bell-gradient-start\\:var\\(--nv-color-severity-high\\)\\]{--bell-gradient-start:var(--nv-color-severity-high)}.\\[--bell-gradient-start\\:var\\(--nv-color-severity-low\\)\\]{--bell-gradient-start:var(--nv-color-severity-low)}.\\[--bell-gradient-start\\:var\\(--nv-color-severity-medium\\)\\]{--bell-gradient-start:var(--nv-color-severity-medium)}.\\[interpolate-size\\:allow-keywords\\]{interpolate-size:allow-keywords}.\\[scrollbar-gutter\\:stable\\]{scrollbar-gutter:stable}.\\[word-break\\:break-word\\]{word-break:break-word}.before\\:nt-absolute:before{content:var(--tw-content);position:absolute}.before\\:nt-inset-0:before{content:var(--tw-content);inset:0}.before\\:-nt-right-\\[calc\\(0\\+var\\(--stripes-size\\)\\)\\]:before{content:var(--tw-content);right:calc(var(--stripes-size)*-1)}.before\\:nt-m-1:before{content:var(--tw-content);margin:.25rem}@keyframes nt-stripes{0%{content:var(--tw-content);transform:translateX(0)}to{content:var(--tw-content);transform:translateX(calc(var(--stripes-size)*-1))}}.before\\:nt-animate-stripes:before{animation:nt-stripes 1s linear infinite paused;content:var(--tw-content)}.before\\:nt-rounded-full:before{border-radius:var(--nv-radius-full);content:var(--tw-content)}.before\\:nt-rounded-lg:before{border-radius:var(--nv-radius-lg);content:var(--tw-content)}.before\\:nt-rounded-md:before{border-radius:var(--nv-radius-md);content:var(--tw-content)}.before\\:nt-rounded-xl:before{border-radius:var(--nv-radius-xl);content:var(--tw-content)}.before\\:nt-border:before{border-width:1px;content:var(--tw-content)}.before\\:nt-border-primary-foreground-alpha-100:before{border-color:var(--nv-color-primary-foreground-alpha-100);content:var(--tw-content)}.before\\:nt-border-secondary-foreground-alpha-100:before{border-color:var(--nv-color-secondary-foreground-alpha-100);content:var(--tw-content)}.before\\:nt-bg-severity-high-alpha-200:before{background-color:var(--nv-color-severity-high-alpha-200);content:var(--tw-content)}.before\\:nt-bg-severity-high-alpha-300:before{background-color:var(--nv-color-severity-high-alpha-300);content:var(--tw-content)}.before\\:nt-bg-severity-low-alpha-200:before{background-color:var(--nv-color-severity-low-alpha-200);content:var(--tw-content)}.before\\:nt-bg-severity-low-alpha-300:before{background-color:var(--nv-color-severity-low-alpha-300);content:var(--tw-content)}.before\\:nt-bg-severity-medium-alpha-200:before{background-color:var(--nv-color-severity-medium-alpha-200);content:var(--tw-content)}.before\\:nt-bg-severity-medium-alpha-300:before{background-color:var(--nv-color-severity-medium-alpha-300);content:var(--tw-content)}.before\\:nt-bg-dev-stripes-gradient:before{background-image:repeating-linear-gradient(135deg,oklch(from var(--nv-color-stripes) l c h/.1) 25%,oklch(from var(--nv-color-stripes) l c h/.1) 50%,oklch(from var(--nv-color-stripes) l c h/.2) 50%,oklch(from var(--nv-color-stripes) l c h/.2) 75%);content:var(--tw-content)}.before\\:nt-bg-\\[length\\:var\\(--stripes-size\\)_var\\(--stripes-size\\)\\]:before{background-size:var(--stripes-size) var(--stripes-size);content:var(--tw-content)}.before\\:nt-content-\\[\\"\\"\\]:before{--tw-content:"";content:var(--tw-content)}.before\\:\\[mask-image\\:linear-gradient\\(transparent_0\\%\\2c black\\)\\]:before{content:var(--tw-content);-webkit-mask-image:linear-gradient(#0000,#000);mask-image:linear-gradient(#0000,#000)}.after\\:nt-absolute:after{content:var(--tw-content);position:absolute}.after\\:nt-inset-0:after{content:var(--tw-content);inset:0}.after\\:-nt-top-12:after{content:var(--tw-content);top:-3rem}.after\\:nt-bottom-0:after{bottom:0;content:var(--tw-content)}.after\\:nt-left-0:after{content:var(--tw-content);left:0}.after\\:nt-left-0\\.5:after{content:var(--tw-content);left:.125rem}.after\\:nt-top-0\\.5:after{content:var(--tw-content);top:.125rem}.after\\:nt-size-3:after{content:var(--tw-content);height:.75rem;width:.75rem}.after\\:nt-h-\\[2px\\]:after{content:var(--tw-content);height:2px}.after\\:nt-w-full:after{content:var(--tw-content);width:100%}.after\\:nt-translate-x-1\\/2:after{--tw-translate-x:50%}.after\\:nt-translate-x-1\\/2:after,.after\\:nt-translate-x-full:after{content:var(--tw-content);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.after\\:nt-translate-x-full:after{--tw-translate-x:100%}.after\\:nt-rounded-full:after{border-radius:var(--nv-radius-full);content:var(--tw-content)}.after\\:nt-rounded-lg:after{border-radius:var(--nv-radius-lg);content:var(--tw-content)}.after\\:nt-rounded-md:after{border-radius:var(--nv-radius-md);content:var(--tw-content)}.after\\:nt-rounded-xl:after{border-radius:var(--nv-radius-xl);content:var(--tw-content)}.after\\:nt-border-b-2:after{border-bottom-width:2px;content:var(--tw-content)}.after\\:nt-border-background:after{border-color:var(--nv-color-background);content:var(--tw-content)}.after\\:nt-border-b-primary:after{border-bottom-color:var(--nv-color-primary);content:var(--tw-content)}.after\\:nt-border-b-transparent:after{border-bottom-color:#0000;content:var(--tw-content)}.after\\:nt-bg-background:after{background-color:var(--nv-color-background);content:var(--tw-content)}.after\\:nt-bg-\\[linear-gradient\\(180deg\\2c transparent\\2c oklch\\(from_var\\(--nv-color-background\\)_l_c_h_\\/_0\\.9\\)_55\\%\\2c transparent\\)\\]:after{background-image:linear-gradient(180deg,#0000,oklch(from var(--nv-color-background) l c h/.9) 55%,#0000);content:var(--tw-content)}.after\\:nt-bg-\\[linear-gradient\\(180deg\\2c transparent\\2c oklch\\(from_var\\(--nv-color-stripes\\)_l_c_h_\\/_0\\.07\\)_55\\%\\2c transparent\\)\\2c linear-gradient\\(180deg\\2c transparent\\2c oklch\\(from_var\\(--nv-color-background\\)_l_c_h_\\/_0\\.9\\)_55\\%\\2c transparent\\)\\]:after{background-image:linear-gradient(180deg,#0000,oklch(from var(--nv-color-stripes) l c h/.07) 55%,#0000),linear-gradient(180deg,#0000,oklch(from var(--nv-color-background) l c h/.9) 55%,#0000);content:var(--tw-content)}.after\\:nt-bg-gradient-to-b:after{background-image:linear-gradient(to bottom,var(--tw-gradient-stops));content:var(--tw-content)}.after\\:nt-from-primary-foreground-alpha-50:after{content:var(--tw-content);--tw-gradient-from:var(--nv-color-primary-foreground-alpha-50) var(--tw-gradient-from-position);--tw-gradient-to:#fff0 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.after\\:nt-from-secondary-foreground-alpha-50:after{content:var(--tw-content);--tw-gradient-from:var(--nv-color-secondary-foreground-alpha-50) var(--tw-gradient-from-position);--tw-gradient-to:#fff0 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.after\\:nt-to-transparent:after{content:var(--tw-content);--tw-gradient-to:#0000 var(--tw-gradient-to-position)}.after\\:nt-opacity-0:after{content:var(--tw-content);opacity:0}.after\\:nt-transition-all:after{content:var(--tw-content);transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.after\\:nt-transition-opacity:after{content:var(--tw-content);transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.after\\:nt-duration-200:after{transition-duration:.2s}.after\\:nt-content-\\[\\"\\"\\]:after,.after\\:nt-content-\\[\\'\\'\\]:after{--tw-content:"";content:var(--tw-content)}.after\\:nt-duration-200:after{animation-duration:.2s;content:var(--tw-content)}.hover\\:nt-bg-neutral-alpha-100:hover{background-color:var(--nv-color-neutral-alpha-100)}.hover\\:nt-bg-neutral-alpha-50:hover{background-color:var(--nv-color-neutral-alpha-50)}.hover\\:nt-bg-primary-600:hover{background-color:var(--nv-color-primary-600)}.hover\\:nt-bg-primary-alpha-25:hover{background-color:var(--nv-color-primary-alpha-25)}.hover\\:nt-bg-primary-alpha-400:hover{background-color:var(--nv-color-primary-alpha-400)}.hover\\:nt-bg-severity-high-alpha-50:hover{background-color:var(--nv-color-severity-high-alpha-50)}.hover\\:nt-bg-severity-low-alpha-50:hover{background-color:var(--nv-color-severity-low-alpha-50)}.hover\\:nt-bg-severity-medium-alpha-50:hover{background-color:var(--nv-color-severity-medium-alpha-50)}.hover\\:nt-text-foreground-alpha-800:hover{color:var(--nv-color-foreground-alpha-800)}.before\\:hover\\:\\[animation-play-state\\:running\\]:hover:before{animation-play-state:running;content:var(--tw-content)}.hover\\:after\\:nt-opacity-100:hover:after{content:var(--tw-content);opacity:1}.focus\\:nt-outline-none:focus{outline:2px solid #0000;outline-offset:2px}.focus-visible\\:nt-rounded-lg:focus-visible{border-radius:var(--nv-radius-lg)}.focus-visible\\:nt-rounded-md:focus-visible{border-radius:var(--nv-radius-md)}.focus-visible\\:nt-rounded-xl:focus-visible{border-radius:var(--nv-radius-xl)}.focus-visible\\:nt-bg-neutral-alpha-50:focus-visible{background-color:var(--nv-color-neutral-alpha-50)}.focus-visible\\:nt-outline-none:focus-visible{outline:2px solid #0000;outline-offset:2px}.focus-visible\\:nt-ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\\:nt-ring-primary:focus-visible{--tw-ring-color:var(--nv-color-primary)}.focus-visible\\:nt-ring-ring:focus-visible{--tw-ring-color:var(--nv-color-ring)}.focus-visible\\:nt-ring-offset-2:focus-visible{--tw-ring-offset-width:2px}.disabled\\:nt-pointer-events-none:disabled{pointer-events:none}.disabled\\:nt-opacity-20:disabled{opacity:.2}.disabled\\:nt-opacity-50:disabled{opacity:.5}.nt-group:focus-within .group-focus-within\\:nt-opacity-100{opacity:1}.nt-group:hover .group-hover\\:nt-bg-severity-high-alpha-500{background-color:var(--nv-color-severity-high-alpha-500)}.nt-group:hover .group-hover\\:nt-bg-severity-low-alpha-500{background-color:var(--nv-color-severity-low-alpha-500)}.nt-group:hover .group-hover\\:nt-bg-severity-medium-alpha-500{background-color:var(--nv-color-severity-medium-alpha-500)}.nt-group:hover .group-hover\\:nt-opacity-100{opacity:1}.data-\\[open\\=true\\]\\:nt-rotate-180[data-open=true]{--tw-rotate:180deg}.data-\\[open\\=true\\]\\:nt-rotate-180[data-open=true],.data-\\[open\\=true\\]\\:nt-transform[data-open=true]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[disabled\\=true\\]\\:nt-text-foreground-alpha-400[data-disabled=true]{color:var(--nv-color-foreground-alpha-400)}.data-\\[disabled\\=true\\]\\:nt-text-foreground-alpha-600[data-disabled=true]{color:var(--nv-color-foreground-alpha-600)}.data-\\[state\\=active\\]\\:nt-text-foreground[data-state=active]{color:var(--nv-color-foreground)}.data-\\[state\\=active\\]\\:after\\:nt-border-b-2[data-state=active]:after{border-bottom-width:2px;content:var(--tw-content)}.data-\\[state\\=active\\]\\:after\\:nt-border-primary[data-state=active]:after{border-color:var(--nv-color-primary);content:var(--tw-content)}.data-\\[state\\=active\\]\\:after\\:nt-opacity-100[data-state=active]:after{content:var(--tw-content);opacity:1}.\\[\\&\\:not\\(\\:first-child\\)\\]\\:nt-border-t:not(:first-child){border-top-width:1px}.\\[\\&_\\.nv-notificationList\\]\\:nt-pb-12 .nv-notificationList{padding-bottom:3rem}.\\[\\&_\\.nv-notificationList\\]\\:nt-pb-8 .nv-notificationList{padding-bottom:2rem}.\\[\\&_\\.nv-preferencesContainer\\]\\:nt-pb-12 .nv-preferencesContainer{padding-bottom:3rem}.\\[\\&_\\.nv-preferencesContainer\\]\\:nt-pb-8 .nv-preferencesContainer{padding-bottom:2rem}.\\[\\&_stop\\]\\:nt-transition-\\[stop-color\\] stop{transition-duration:.15s;transition-property:stop-color;transition-timing-function:cubic-bezier(.4,0,.2,1)}.\\[\\&_svg\\]\\:nt-pointer-events-none svg{pointer-events:none}.\\[\\&_svg\\]\\:nt-shrink-0 svg{flex-shrink:0}`;
15
+ // _y1knoy0lu:/home/runner/work/novu/novu/packages/js/src/ui/index.directcss
16
+ var ui_default = `.novu{scrollbar-color:var(--nv-color-secondary-foreground-alpha-300) #0000;:where(*),:where(*) :after,:where(*) :before,:where(*):after,:where(*):before{border:0 solid #e5e7eb;box-sizing:border-box}:where(html,:host){line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;tab-size:4;-webkit-tap-highlight-color:transparent}:where(body){line-height:inherit;margin:0}:where(hr){border-top-width:1px;color:inherit;height:0}:where(abbr:where([title])){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}:where(h1,h2,h3,h4,h5,h6){font-size:inherit;font-weight:inherit}:where(a){color:inherit;text-decoration:inherit}:where(b,strong){font-weight:bolder}:where(code,kbd,samp,pre){font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}:where(small){font-size:80%}:where(sub,sup){font-size:75%;line-height:0;position:relative;vertical-align:initial}:where(sub){bottom:-.25em}:where(sup){top:-.5em}:where(table){border-collapse:collapse;border-color:inherit;text-indent:0}:where(button,input,optgroup,select,textarea){color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}:where(button,select){text-transform:none}:where(button,input:where([type=button]),input:where([type=reset]),input:where([type=submit])){-webkit-appearance:button;background-color:initial;background-image:none}:where(:-moz-focusring){outline:auto}:where(:-moz-ui-invalid){box-shadow:none}:where(progress){vertical-align:initial}:where(*)::-webkit-inner-spin-button,:where(*)::-webkit-outer-spin-button{height:auto}:where([type=search]){-webkit-appearance:textfield;outline-offset:-2px}:where(*)::-webkit-search-decoration{-webkit-appearance:none}:where(*)::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}:where(summary){display:list-item}:where(blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre){margin:0}:where(fieldset){margin:0;padding:0}:where(legend){padding:0}:where(ol,ul,menu){list-style:none;margin:0;padding:0}:where(dialog){padding:0}:where(textarea){resize:vertical}:where(input)::placeholder,:where(textarea)::placeholder{color:#9ca3af;opacity:1}:where(button,[role=button]){cursor:pointer}:where(:disabled){cursor:default}:where(img,svg,video,canvas,audio,iframe,embed,object){display:block;vertical-align:middle}:where(img,video){height:auto;max-width:100%}:where([hidden]){display:none}:where(*),:where(*) :after,:where(*) :before,:where(*):after,:where(*):before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }:where(*) ::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::-webkit-scrollbar{height:.5rem;width:.5rem}::-webkit-scrollbar-thumb{background-clip:"padding-box";background-color:var(--nv-color-secondary-foreground-alpha-300);border-radius:.25rem}::-webkit-scrollbar-corner,::-webkit-scrollbar-track{background-color:initial}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}}.nt-sr-only{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border-width:0;white-space:nowrap}.\\!nt-pointer-events-auto{pointer-events:auto!important}.nt-invisible{visibility:hidden}.nt-absolute{position:absolute}.nt-relative{position:relative}.nt-inset-0{inset:0}.nt-inset-2{inset:.5rem}.nt-bottom-0{bottom:0}.nt-left-0{left:0}.nt-left-0\\.5{left:.125rem}.nt-right-0{right:0}.nt-right-3{right:.75rem}.nt-top-0{top:0}.nt-top-0\\.5{top:.125rem}.nt-top-3{top:.75rem}.nt-z-10{z-index:10}.nt-z-\\[-1\\]{z-index:-1}.-nt-m-1{margin:-.25rem}.nt-mx-auto{margin-left:auto;margin-right:auto}.-nt-mt-2{margin-top:-.5rem}.-nt-mt-\\[2px\\]{margin-top:-2px}.nt--mt-\\[50px\\]{margin-top:-50px}.nt-mb-1{margin-bottom:.25rem}.nt-mb-2{margin-bottom:.5rem}.nt-mb-3{margin-bottom:.75rem}.nt-mb-4{margin-bottom:1rem}.nt-mb-\\[0\\.625rem\\]{margin-bottom:.625rem}.nt-ml-1{margin-left:.25rem}.nt-ml-2{margin-left:.5rem}.nt-ml-auto{margin-left:auto}.nt-mr-2{margin-right:.5rem}.nt-mr-auto{margin-right:auto}.nt-mt-1{margin-top:.25rem}.nt-mt-1\\.5{margin-top:.375rem}.nt-mt-auto{margin-top:auto}.nt-block{display:block}.nt-flex{display:flex}.nt-inline-flex{display:inline-flex}.nt-grid{display:grid}.nt-hidden{display:none}.nt-aspect-square{aspect-ratio:1/1}.nt-size-1\\.5{height:.375rem;width:.375rem}.nt-size-2{height:.5rem;width:.5rem}.nt-size-2\\.5{height:.625rem;width:.625rem}.nt-size-3{height:.75rem;width:.75rem}.nt-size-3\\.5{height:.875rem;width:.875rem}.nt-size-4{height:1rem;width:1rem}.nt-size-5{height:1.25rem;width:1.25rem}.nt-size-8{height:2rem;width:2rem}.nt-size-fit{height:fit-content;width:fit-content}.nt-size-full{height:100%;width:100%}.nt-h-2{height:.5rem}.nt-h-3{height:.75rem}.nt-h-3\\.5{height:.875rem}.nt-h-4{height:1rem}.nt-h-5{height:1.25rem}.nt-h-7{height:1.75rem}.nt-h-8{height:2rem}.nt-h-9{height:2.25rem}.nt-h-\\[600px\\]{height:600px}.nt-h-fit{height:fit-content}.nt-h-full{height:100%}.nt-max-h-\\[160px\\]{max-height:160px}.nt-min-h-0{min-height:0}.nt-w-1\\.5{width:.375rem}.nt-w-1\\/3{width:33.333333%}.nt-w-2\\/3{width:66.666667%}.nt-w-5{width:1.25rem}.nt-w-7{width:1.75rem}.nt-w-8{width:2rem}.nt-w-\\[260px\\]{width:260px}.nt-w-\\[3px\\]{width:3px}.nt-w-\\[400px\\]{width:400px}.nt-w-\\[60px\\]{width:60px}.nt-w-\\[calc\\(2ch\\+2rem\\)\\]{width:calc(2ch + 2rem)}.nt-w-fit{width:fit-content}.nt-w-full{width:100%}.nt-w-max{width:max-content}.nt-min-w-52{min-width:13rem}.nt-min-w-\\[120px\\]{min-width:120px}.nt-min-w-\\[220px\\]{min-width:220px}.nt-min-w-\\[74px\\]{min-width:74px}.nt-max-w-56{max-width:14rem}.nt-max-w-\\[120px\\]{max-width:120px}.nt-max-w-\\[220px\\]{max-width:220px}.nt-flex-1{flex:1 1 0%}.nt-shrink-0{flex-shrink:0}.nt-translate-x-1\\/2{--tw-translate-x:50%}.nt-transform,.nt-translate-x-1\\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nt-cursor-default{cursor:default}.nt-cursor-not-allowed{cursor:not-allowed}.nt-cursor-pointer{cursor:pointer}.nt-grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.nt-flex-row{flex-direction:row}.nt-flex-col{flex-direction:column}.nt-flex-wrap{flex-wrap:wrap}.nt-flex-nowrap{flex-wrap:nowrap}.nt-items-start{align-items:flex-start}.nt-items-center{align-items:center}.nt-justify-end{justify-content:flex-end}.nt-justify-center{justify-content:center}.nt-justify-between{justify-content:space-between}.nt-gap-0\\.5{gap:.125rem}.nt-gap-1{gap:.25rem}.nt-gap-1\\.5{gap:.375rem}.nt-gap-2{gap:.5rem}.nt-gap-3{gap:.75rem}.nt-gap-4{gap:1rem}.nt-gap-6{gap:1.5rem}.nt-gap-8{gap:2rem}.nt-self-stretch{align-self:stretch}.nt-overflow-auto{overflow:auto}.nt-overflow-hidden{overflow:hidden}.nt-overflow-y-auto{overflow-y:auto}.nt-truncate{overflow:hidden;text-overflow:ellipsis}.nt-truncate,.nt-whitespace-nowrap{white-space:nowrap}.nt-whitespace-pre-wrap{white-space:pre-wrap}.nt-rounded{border-radius:var(--nv-radius-base)}.nt-rounded-full{border-radius:var(--nv-radius-full)}.nt-rounded-lg{border-radius:var(--nv-radius-lg)}.nt-rounded-md{border-radius:var(--nv-radius-md)}.nt-rounded-sm{border-radius:var(--nv-radius-sm)}.nt-rounded-xl{border-radius:var(--nv-radius-xl)}.nt-border{border-width:1px}.nt-border-b{border-bottom-width:1px}.nt-border-t{border-top-width:1px}.nt-border-background{border-color:var(--nv-color-background)}.nt-border-border{border-color:var(--nv-color-neutral-alpha-100)}.nt-border-neutral-200{--tw-border-opacity:1;border-color:rgb(229 229 229/var(--tw-border-opacity,1))}.nt-border-neutral-alpha-100{border-color:var(--nv-color-neutral-alpha-100)}.nt-border-neutral-alpha-200{border-color:var(--nv-color-neutral-alpha-200)}.nt-border-neutral-alpha-400{border-color:var(--nv-color-neutral-alpha-400)}.nt-border-neutral-alpha-50{border-color:var(--nv-color-neutral-alpha-50)}.nt-border-primary{border-color:var(--nv-color-primary)}.nt-border-t-neutral-alpha-200{border-top-color:var(--nv-color-neutral-alpha-200)}.nt-bg-\\[oklch\\(from_var\\(--nv-color-stripes\\)_l_c_h_\\/_0\\.1\\)\\]{background-color:oklch(from var(--nv-color-stripes) l c h/.1)}.nt-bg-background{background-color:var(--nv-color-background)}.nt-bg-counter{background-color:var(--nv-color-counter)}.nt-bg-foreground{background-color:var(--nv-color-foreground)}.nt-bg-neutral-900{--tw-bg-opacity:1;background-color:rgb(23 23 23/var(--tw-bg-opacity,1))}.nt-bg-neutral-alpha-100{background-color:var(--nv-color-neutral-alpha-100)}.nt-bg-neutral-alpha-25{background-color:var(--nv-color-neutral-alpha-25)}.nt-bg-neutral-alpha-300{background-color:var(--nv-color-neutral-alpha-300)}.nt-bg-neutral-alpha-50{background-color:var(--nv-color-neutral-alpha-50)}.nt-bg-primary{background-color:var(--nv-color-primary)}.nt-bg-primary-alpha-300{background-color:var(--nv-color-primary-alpha-300)}.nt-bg-primary-alpha-400{background-color:var(--nv-color-primary-alpha-400)}.nt-bg-secondary{background-color:var(--nv-color-secondary)}.nt-bg-severity-high{background-color:var(--nv-color-severity-high)}.nt-bg-severity-high-alpha-100{background-color:var(--nv-color-severity-high-alpha-100)}.nt-bg-severity-high-alpha-200{background-color:var(--nv-color-severity-high-alpha-200)}.nt-bg-severity-high-alpha-300{background-color:var(--nv-color-severity-high-alpha-300)}.nt-bg-severity-high-alpha-50{background-color:var(--nv-color-severity-high-alpha-50)}.nt-bg-severity-low{background-color:var(--nv-color-severity-low)}.nt-bg-severity-low-alpha-100{background-color:var(--nv-color-severity-low-alpha-100)}.nt-bg-severity-low-alpha-200{background-color:var(--nv-color-severity-low-alpha-200)}.nt-bg-severity-low-alpha-300{background-color:var(--nv-color-severity-low-alpha-300)}.nt-bg-severity-low-alpha-50{background-color:var(--nv-color-severity-low-alpha-50)}.nt-bg-severity-medium{background-color:var(--nv-color-severity-medium)}.nt-bg-severity-medium-alpha-100{background-color:var(--nv-color-severity-medium-alpha-100)}.nt-bg-severity-medium-alpha-200{background-color:var(--nv-color-severity-medium-alpha-200)}.nt-bg-severity-medium-alpha-300{background-color:var(--nv-color-severity-medium-alpha-300)}.nt-bg-severity-medium-alpha-50{background-color:var(--nv-color-severity-medium-alpha-50)}.nt-bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.nt-bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.nt-bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.nt-from-foreground-alpha-50{--tw-gradient-from:var(--nv-color-foreground-alpha-50) var(--tw-gradient-from-position);--tw-gradient-to:#fff0 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.nt-from-primary-foreground-alpha-200{--tw-gradient-from:var(--nv-color-primary-foreground-alpha-200) var(--tw-gradient-from-position);--tw-gradient-to:#fff0 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.nt-from-transparent{--tw-gradient-from:#0000 var(--tw-gradient-from-position);--tw-gradient-to:#0000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.nt-from-20\\%{--tw-gradient-from-position:20%}.nt-to-background{--tw-gradient-to:var(--nv-color-background) var(--tw-gradient-to-position)}.nt-to-transparent{--tw-gradient-to:#0000 var(--tw-gradient-to-position)}.nt-object-cover{object-fit:cover}.nt-p-0{padding:0}.nt-p-0\\.5{padding:.125rem}.nt-p-1{padding:.25rem}.nt-p-2{padding:.5rem}.nt-p-2\\.5{padding:.625rem}.nt-p-3{padding:.75rem}.nt-p-4{padding:1rem}.nt-px-1{padding-left:.25rem;padding-right:.25rem}.nt-px-2{padding-left:.5rem;padding-right:.5rem}.nt-px-3{padding-left:.75rem;padding-right:.75rem}.nt-px-4{padding-left:1rem;padding-right:1rem}.nt-px-8{padding-left:2rem;padding-right:2rem}.nt-px-\\[6px\\]{padding-left:6px;padding-right:6px}.nt-py-1{padding-bottom:.25rem;padding-top:.25rem}.nt-py-1\\.5{padding-bottom:.375rem;padding-top:.375rem}.nt-py-2{padding-bottom:.5rem;padding-top:.5rem}.nt-py-3{padding-bottom:.75rem;padding-top:.75rem}.nt-py-3\\.5{padding-bottom:.875rem;padding-top:.875rem}.nt-py-4{padding-bottom:1rem;padding-top:1rem}.nt-py-px{padding-bottom:1px;padding-top:1px}.nt-pb-2{padding-bottom:.5rem}.nt-pb-\\[0\\.625rem\\]{padding-bottom:.625rem}.nt-pr-0{padding-right:0}.nt-pt-2{padding-top:.5rem}.nt-pt-2\\.5{padding-top:.625rem}.nt-text-left{text-align:left}.nt-text-center{text-align:center}.nt-text-start{text-align:start}.nt-font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.nt-text-\\[0\\.8rem\\]{font-size:.8rem}.nt-text-\\[12px\\]{font-size:12px}.nt-text-base{font-size:var(--nv-font-size-base);line-height:var(--nv-line-height-base)}.nt-text-sm{font-size:var(--nv-font-size-sm);line-height:var(--nv-line-height-sm)}.nt-text-xl{font-size:var(--nv-font-size-xl);line-height:var(--nv-line-height-xl)}.nt-text-xs{font-size:var(--nv-font-size-xs);line-height:var(--nv-line-height-xs)}.nt-font-medium{font-weight:500}.nt-font-normal{font-weight:400}.nt-font-semibold{font-weight:600}.nt-leading-none{line-height:1}.nt-text-\\[\\#000000\\]{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.nt-text-background{color:var(--nv-color-background)}.nt-text-counter-foreground{color:var(--nv-color-counter-foreground)}.nt-text-foreground{color:var(--nv-color-foreground)}.nt-text-foreground-alpha-300{color:var(--nv-color-foreground-alpha-300)}.nt-text-foreground-alpha-400{color:var(--nv-color-foreground-alpha-400)}.nt-text-foreground-alpha-600{color:var(--nv-color-foreground-alpha-600)}.nt-text-foreground-alpha-700{color:var(--nv-color-foreground-alpha-700)}.nt-text-neutral-600{--tw-text-opacity:1;color:rgb(82 82 82/var(--tw-text-opacity,1))}.nt-text-neutral-alpha-500{color:var(--nv-color-neutral-alpha-500)}.nt-text-primary-foreground{color:var(--nv-color-primary-foreground)}.nt-text-secondary-foreground{color:var(--nv-color-secondary-foreground)}.nt-text-stripes{color:var(--nv-color-stripes)}.nt-text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.nt-underline{text-decoration-line:underline}.nt-opacity-0{opacity:0}.nt-opacity-20{opacity:.2}.nt-opacity-50{opacity:.5}.nt-shadow{--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.nt-shadow-\\[0_0_0_0\\.5px_var\\(--nv-color-primary-600\\)\\]{--tw-shadow:0 0 0 0.5px var(--nv-color-primary-600);--tw-shadow-colored:0 0 0 0.5px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.nt-shadow-\\[0_0_0_0\\.5px_var\\(--nv-color-secondary-600\\)\\]{--tw-shadow:0 0 0 0.5px var(--nv-color-secondary-600);--tw-shadow-colored:0 0 0 0.5px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.nt-shadow-\\[0px_1px_2px_0px_rgba\\(10\\,13\\,20\\,0\\.03\\)\\]{--tw-shadow:0px 1px 2px 0px #0a0d1408;--tw-shadow-colored:0px 1px 2px 0px var(--tw-shadow-color)}.nt-shadow-\\[0px_1px_2px_0px_rgba\\(10\\,13\\,20\\,0\\.03\\)\\],.nt-shadow-dropdown{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.nt-shadow-dropdown{--tw-shadow:0px 12px 16px -4px oklch(from var(--nv-color-shadow) l c h/0.08),0px 4px 6px -2px oklch(from var(--nv-color-shadow) l c h/0.03);--tw-shadow-colored:0px 12px 16px -4px var(--tw-shadow-color),0px 4px 6px -2px var(--tw-shadow-color)}.nt-shadow-lg{--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.nt-shadow-lg,.nt-shadow-none{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.nt-shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}.nt-shadow-popover{--tw-shadow:0px 8px 26px 0px oklch(from var(--nv-color-shadow) l c h/0.08),0px 2px 6px 0px oklch(from var(--nv-color-shadow) l c h/0.12);--tw-shadow-colored:0px 8px 26px 0px var(--tw-shadow-color),0px 2px 6px 0px var(--tw-shadow-color)}.nt-shadow-popover,.nt-shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.nt-shadow-sm{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.nt-shadow-tooltip{--tw-shadow:0 5px 20px 0 oklch(from var(--nv-color-shadow) l c h/0.08);--tw-shadow-colored:0 5px 20px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.nt-outline-none{outline:2px solid #0000;outline-offset:2px}.nt-ring-offset-background{--tw-ring-offset-color:var(--nv-color-background)}.nt-backdrop-blur-lg{--tw-backdrop-blur:blur(16px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.nt-transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.nt-transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.nt-transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.nt-transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.nt-duration-100{transition-duration:.1s}.nt-duration-200{transition-duration:.2s}.nt-ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0) scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0) scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}.nt-animate-in{animation-duration:.15s;animation-name:enter;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.nt-fade-in{--tw-enter-opacity:0}.nt-slide-in-from-top-2{--tw-enter-translate-y:-0.5rem}.nt-duration-100{animation-duration:.1s}.nt-duration-200{animation-duration:.2s}.nt-ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.\\[--bell-gradient-end\\:oklch\\(from_var\\(--nv-color-foreground\\)_80\\%_c_h\\)\\]{--bell-gradient-end:oklch(from var(--nv-color-foreground) 80% c h)}.\\[--bell-gradient-end\\:oklch\\(from_var\\(--nv-color-severity-high\\)_45\\%_c_h\\)\\]{--bell-gradient-end:oklch(from var(--nv-color-severity-high) 45% c h)}.\\[--bell-gradient-end\\:oklch\\(from_var\\(--nv-color-severity-high\\)_80\\%_c_h\\)\\]{--bell-gradient-end:oklch(from var(--nv-color-severity-high) 80% c h)}.\\[--bell-gradient-end\\:oklch\\(from_var\\(--nv-color-severity-low\\)_45\\%_c_h\\)\\]{--bell-gradient-end:oklch(from var(--nv-color-severity-low) 45% c h)}.\\[--bell-gradient-end\\:oklch\\(from_var\\(--nv-color-severity-low\\)_80\\%_c_h\\)\\]{--bell-gradient-end:oklch(from var(--nv-color-severity-low) 80% c h)}.\\[--bell-gradient-end\\:oklch\\(from_var\\(--nv-color-severity-medium\\)_45\\%_c_h\\)\\]{--bell-gradient-end:oklch(from var(--nv-color-severity-medium) 45% c h)}.\\[--bell-gradient-end\\:oklch\\(from_var\\(--nv-color-severity-medium\\)_80\\%_c_h\\)\\]{--bell-gradient-end:oklch(from var(--nv-color-severity-medium) 80% c h)}.\\[--bell-gradient-start\\:var\\(--nv-color-foreground\\)\\]{--bell-gradient-start:var(--nv-color-foreground)}.\\[--bell-gradient-start\\:var\\(--nv-color-severity-high\\)\\]{--bell-gradient-start:var(--nv-color-severity-high)}.\\[--bell-gradient-start\\:var\\(--nv-color-severity-low\\)\\]{--bell-gradient-start:var(--nv-color-severity-low)}.\\[--bell-gradient-start\\:var\\(--nv-color-severity-medium\\)\\]{--bell-gradient-start:var(--nv-color-severity-medium)}.\\[interpolate-size\\:allow-keywords\\]{interpolate-size:allow-keywords}.\\[scrollbar-gutter\\:stable\\]{scrollbar-gutter:stable}.\\[word-break\\:break-word\\]{word-break:break-word}.before\\:nt-absolute:before{content:var(--tw-content);position:absolute}.before\\:nt-inset-0:before{content:var(--tw-content);inset:0}.before\\:-nt-right-\\[calc\\(0\\+var\\(--stripes-size\\)\\)\\]:before{content:var(--tw-content);right:calc(var(--stripes-size)*-1)}.before\\:nt-m-1:before{content:var(--tw-content);margin:.25rem}@keyframes nt-stripes{0%{content:var(--tw-content);transform:translateX(0)}to{content:var(--tw-content);transform:translateX(calc(var(--stripes-size)*-1))}}.before\\:nt-animate-stripes:before{animation:nt-stripes 1s linear infinite paused;content:var(--tw-content)}.before\\:nt-rounded-full:before{border-radius:var(--nv-radius-full);content:var(--tw-content)}.before\\:nt-rounded-lg:before{border-radius:var(--nv-radius-lg);content:var(--tw-content)}.before\\:nt-rounded-md:before{border-radius:var(--nv-radius-md);content:var(--tw-content)}.before\\:nt-rounded-xl:before{border-radius:var(--nv-radius-xl);content:var(--tw-content)}.before\\:nt-border:before{border-width:1px;content:var(--tw-content)}.before\\:nt-border-primary-foreground-alpha-100:before{border-color:var(--nv-color-primary-foreground-alpha-100);content:var(--tw-content)}.before\\:nt-border-secondary-foreground-alpha-100:before{border-color:var(--nv-color-secondary-foreground-alpha-100);content:var(--tw-content)}.before\\:nt-bg-severity-high-alpha-200:before{background-color:var(--nv-color-severity-high-alpha-200);content:var(--tw-content)}.before\\:nt-bg-severity-high-alpha-300:before{background-color:var(--nv-color-severity-high-alpha-300);content:var(--tw-content)}.before\\:nt-bg-severity-low-alpha-200:before{background-color:var(--nv-color-severity-low-alpha-200);content:var(--tw-content)}.before\\:nt-bg-severity-low-alpha-300:before{background-color:var(--nv-color-severity-low-alpha-300);content:var(--tw-content)}.before\\:nt-bg-severity-medium-alpha-200:before{background-color:var(--nv-color-severity-medium-alpha-200);content:var(--tw-content)}.before\\:nt-bg-severity-medium-alpha-300:before{background-color:var(--nv-color-severity-medium-alpha-300);content:var(--tw-content)}.before\\:nt-bg-dev-stripes-gradient:before{background-image:repeating-linear-gradient(135deg,oklch(from var(--nv-color-stripes) l c h/.1) 25%,oklch(from var(--nv-color-stripes) l c h/.1) 50%,oklch(from var(--nv-color-stripes) l c h/.2) 50%,oklch(from var(--nv-color-stripes) l c h/.2) 75%);content:var(--tw-content)}.before\\:nt-bg-\\[length\\:var\\(--stripes-size\\)_var\\(--stripes-size\\)\\]:before{background-size:var(--stripes-size) var(--stripes-size);content:var(--tw-content)}.before\\:nt-content-\\[\\"\\"\\]:before{--tw-content:"";content:var(--tw-content)}.before\\:\\[mask-image\\:linear-gradient\\(transparent_0\\%\\2c black\\)\\]:before{content:var(--tw-content);-webkit-mask-image:linear-gradient(#0000,#000);mask-image:linear-gradient(#0000,#000)}.after\\:nt-absolute:after{content:var(--tw-content);position:absolute}.after\\:nt-inset-0:after{content:var(--tw-content);inset:0}.after\\:-nt-top-12:after{content:var(--tw-content);top:-3rem}.after\\:nt-bottom-0:after{bottom:0;content:var(--tw-content)}.after\\:nt-left-0:after{content:var(--tw-content);left:0}.after\\:nt-left-0\\.5:after{content:var(--tw-content);left:.125rem}.after\\:nt-top-0\\.5:after{content:var(--tw-content);top:.125rem}.after\\:nt-size-3:after{content:var(--tw-content);height:.75rem;width:.75rem}.after\\:nt-h-\\[2px\\]:after{content:var(--tw-content);height:2px}.after\\:nt-w-full:after{content:var(--tw-content);width:100%}.after\\:nt-translate-x-1\\/2:after{--tw-translate-x:50%}.after\\:nt-translate-x-1\\/2:after,.after\\:nt-translate-x-full:after{content:var(--tw-content);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.after\\:nt-translate-x-full:after{--tw-translate-x:100%}.after\\:nt-rounded-full:after{border-radius:var(--nv-radius-full);content:var(--tw-content)}.after\\:nt-rounded-lg:after{border-radius:var(--nv-radius-lg);content:var(--tw-content)}.after\\:nt-rounded-md:after{border-radius:var(--nv-radius-md);content:var(--tw-content)}.after\\:nt-rounded-xl:after{border-radius:var(--nv-radius-xl);content:var(--tw-content)}.after\\:nt-border-b-2:after{border-bottom-width:2px;content:var(--tw-content)}.after\\:nt-border-background:after{border-color:var(--nv-color-background);content:var(--tw-content)}.after\\:nt-border-b-primary:after{border-bottom-color:var(--nv-color-primary);content:var(--tw-content)}.after\\:nt-border-b-transparent:after{border-bottom-color:#0000;content:var(--tw-content)}.after\\:nt-bg-background:after{background-color:var(--nv-color-background);content:var(--tw-content)}.after\\:nt-bg-\\[linear-gradient\\(180deg\\2c transparent\\2c oklch\\(from_var\\(--nv-color-background\\)_l_c_h_\\/_0\\.9\\)_55\\%\\2c transparent\\)\\]:after{background-image:linear-gradient(180deg,#0000,oklch(from var(--nv-color-background) l c h/.9) 55%,#0000);content:var(--tw-content)}.after\\:nt-bg-\\[linear-gradient\\(180deg\\2c transparent\\2c oklch\\(from_var\\(--nv-color-stripes\\)_l_c_h_\\/_0\\.07\\)_55\\%\\2c transparent\\)\\2c linear-gradient\\(180deg\\2c transparent\\2c oklch\\(from_var\\(--nv-color-background\\)_l_c_h_\\/_0\\.9\\)_55\\%\\2c transparent\\)\\]:after{background-image:linear-gradient(180deg,#0000,oklch(from var(--nv-color-stripes) l c h/.07) 55%,#0000),linear-gradient(180deg,#0000,oklch(from var(--nv-color-background) l c h/.9) 55%,#0000);content:var(--tw-content)}.after\\:nt-bg-gradient-to-b:after{background-image:linear-gradient(to bottom,var(--tw-gradient-stops));content:var(--tw-content)}.after\\:nt-from-primary-foreground-alpha-50:after{content:var(--tw-content);--tw-gradient-from:var(--nv-color-primary-foreground-alpha-50) var(--tw-gradient-from-position);--tw-gradient-to:#fff0 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.after\\:nt-from-secondary-foreground-alpha-50:after{content:var(--tw-content);--tw-gradient-from:var(--nv-color-secondary-foreground-alpha-50) var(--tw-gradient-from-position);--tw-gradient-to:#fff0 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.after\\:nt-to-transparent:after{content:var(--tw-content);--tw-gradient-to:#0000 var(--tw-gradient-to-position)}.after\\:nt-opacity-0:after{content:var(--tw-content);opacity:0}.after\\:nt-transition-all:after{content:var(--tw-content);transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.after\\:nt-transition-opacity:after{content:var(--tw-content);transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.after\\:nt-duration-200:after{transition-duration:.2s}.after\\:nt-content-\\[\\"\\"\\]:after,.after\\:nt-content-\\[\\'\\'\\]:after{--tw-content:"";content:var(--tw-content)}.after\\:nt-duration-200:after{animation-duration:.2s;content:var(--tw-content)}.hover\\:nt-bg-neutral-alpha-100:hover{background-color:var(--nv-color-neutral-alpha-100)}.hover\\:nt-bg-neutral-alpha-50:hover{background-color:var(--nv-color-neutral-alpha-50)}.hover\\:nt-bg-primary-600:hover{background-color:var(--nv-color-primary-600)}.hover\\:nt-bg-primary-alpha-25:hover{background-color:var(--nv-color-primary-alpha-25)}.hover\\:nt-bg-primary-alpha-400:hover{background-color:var(--nv-color-primary-alpha-400)}.hover\\:nt-bg-severity-high-alpha-50:hover{background-color:var(--nv-color-severity-high-alpha-50)}.hover\\:nt-bg-severity-low-alpha-50:hover{background-color:var(--nv-color-severity-low-alpha-50)}.hover\\:nt-bg-severity-medium-alpha-50:hover{background-color:var(--nv-color-severity-medium-alpha-50)}.hover\\:nt-text-foreground-alpha-800:hover{color:var(--nv-color-foreground-alpha-800)}.before\\:hover\\:\\[animation-play-state\\:running\\]:hover:before{animation-play-state:running;content:var(--tw-content)}.hover\\:after\\:nt-opacity-100:hover:after{content:var(--tw-content);opacity:1}.focus\\:nt-outline-none:focus{outline:2px solid #0000;outline-offset:2px}.focus-visible\\:nt-rounded-lg:focus-visible{border-radius:var(--nv-radius-lg)}.focus-visible\\:nt-rounded-md:focus-visible{border-radius:var(--nv-radius-md)}.focus-visible\\:nt-rounded-xl:focus-visible{border-radius:var(--nv-radius-xl)}.focus-visible\\:nt-bg-neutral-alpha-50:focus-visible{background-color:var(--nv-color-neutral-alpha-50)}.focus-visible\\:nt-outline-none:focus-visible{outline:2px solid #0000;outline-offset:2px}.focus-visible\\:nt-ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\\:nt-ring-primary:focus-visible{--tw-ring-color:var(--nv-color-primary)}.focus-visible\\:nt-ring-ring:focus-visible{--tw-ring-color:var(--nv-color-ring)}.focus-visible\\:nt-ring-offset-2:focus-visible{--tw-ring-offset-width:2px}.disabled\\:nt-pointer-events-none:disabled{pointer-events:none}.disabled\\:nt-opacity-20:disabled{opacity:.2}.disabled\\:nt-opacity-50:disabled{opacity:.5}.nt-group:focus-within .group-focus-within\\:nt-opacity-100{opacity:1}.nt-group:hover .group-hover\\:nt-bg-severity-high-alpha-500{background-color:var(--nv-color-severity-high-alpha-500)}.nt-group:hover .group-hover\\:nt-bg-severity-low-alpha-500{background-color:var(--nv-color-severity-low-alpha-500)}.nt-group:hover .group-hover\\:nt-bg-severity-medium-alpha-500{background-color:var(--nv-color-severity-medium-alpha-500)}.nt-group:hover .group-hover\\:nt-opacity-0{opacity:0}.nt-group:hover .group-hover\\:nt-opacity-100{opacity:1}.nt-peer:focus-visible~.peer-focus-visible\\:nt-outline-none{outline:2px solid #0000;outline-offset:2px}.nt-peer:focus-visible~.peer-focus-visible\\:nt-ring-2{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.nt-peer:focus-visible~.peer-focus-visible\\:nt-ring-offset-2{--tw-ring-offset-width:2px}.data-\\[open\\=true\\]\\:nt-rotate-180[data-open=true]{--tw-rotate:180deg}.data-\\[open\\=true\\]\\:nt-rotate-180[data-open=true],.data-\\[open\\=true\\]\\:nt-transform[data-open=true]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[disabled\\]\\:nt-cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-\\[checked\\]\\:nt-border-none[data-checked],.data-\\[indeterminate\\]\\:nt-border-none[data-indeterminate]{border-style:none}.data-\\[checked\\]\\:nt-bg-primary[data-checked],.data-\\[indeterminate\\]\\:nt-bg-primary[data-indeterminate]{background-color:var(--nv-color-primary)}.data-\\[checked\\]\\:nt-text-primary-foreground[data-checked]{color:var(--nv-color-primary-foreground)}.data-\\[disabled\\=true\\]\\:nt-text-foreground-alpha-400[data-disabled=true]{color:var(--nv-color-foreground-alpha-400)}.data-\\[disabled\\=true\\]\\:nt-text-foreground-alpha-600[data-disabled=true]{color:var(--nv-color-foreground-alpha-600)}.data-\\[indeterminate\\]\\:nt-text-primary-foreground[data-indeterminate]{color:var(--nv-color-primary-foreground)}.data-\\[state\\=active\\]\\:nt-text-foreground[data-state=active]{color:var(--nv-color-foreground)}.data-\\[disabled\\]\\:nt-opacity-50[data-disabled]{opacity:.5}.data-\\[state\\=active\\]\\:after\\:nt-border-b-2[data-state=active]:after{border-bottom-width:2px;content:var(--tw-content)}.data-\\[state\\=active\\]\\:after\\:nt-border-primary[data-state=active]:after{border-color:var(--nv-color-primary);content:var(--tw-content)}.data-\\[state\\=active\\]\\:after\\:nt-opacity-100[data-state=active]:after{content:var(--tw-content);opacity:1}.\\[\\&\\:not\\(\\:first-child\\)\\]\\:nt-border-t:not(:first-child){border-top-width:1px}.\\[\\&_\\.nv-notificationList\\]\\:nt-pb-12 .nv-notificationList{padding-bottom:3rem}.\\[\\&_\\.nv-notificationList\\]\\:nt-pb-8 .nv-notificationList{padding-bottom:2rem}.\\[\\&_\\.nv-preferencesContainer\\]\\:nt-pb-12 .nv-preferencesContainer{padding-bottom:3rem}.\\[\\&_\\.nv-preferencesContainer\\]\\:nt-pb-8 .nv-preferencesContainer{padding-bottom:2rem}.\\[\\&_stop\\]\\:nt-transition-\\[stop-color\\] stop{transition-duration:.15s;transition-property:stop-color;transition-timing-function:cubic-bezier(.4,0,.2,1)}.\\[\\&_svg\\]\\:nt-pointer-events-none svg{pointer-events:none}.\\[\\&_svg\\]\\:nt-shrink-0 svg{flex-shrink:0}`;
16
17
 
17
18
  // src/ui/config/appearanceKeys.ts
18
19
  var appearanceKeys = [
@@ -230,6 +231,42 @@ var appearanceKeys = [
230
231
  "preferencesList__skeletonSwitch",
231
232
  "preferencesList__skeletonSwitchThumb",
232
233
  "preferencesList__skeletonText",
234
+ // Schedule
235
+ "scheduleContainer",
236
+ "scheduleHeader",
237
+ "scheduleLabelContainer",
238
+ "scheduleLabelScheduleIcon",
239
+ "scheduleLabelInfoIcon",
240
+ "scheduleLabel",
241
+ "scheduleActionsContainer",
242
+ "scheduleActionsContainerRight",
243
+ "scheduleBody",
244
+ "scheduleDescription",
245
+ "scheduleTable",
246
+ "scheduleTableHeader",
247
+ "scheduleHeaderColumn",
248
+ "scheduleTableBody",
249
+ "scheduleBodyRow",
250
+ "scheduleBodyColumn",
251
+ "scheduleInfoContainer",
252
+ "scheduleInfoIcon",
253
+ "scheduleInfo",
254
+ // Day Schedule Copy
255
+ "dayScheduleCopyTitle",
256
+ "dayScheduleCopyIcon",
257
+ "dayScheduleCopySelectAll",
258
+ "dayScheduleCopyDay",
259
+ "dayScheduleCopyFooterContainer",
260
+ "dayScheduleCopy__dropdownTrigger",
261
+ "dayScheduleCopy__dropdownContent",
262
+ // Time Select
263
+ "timeSelect__dropdownTrigger",
264
+ "timeSelect__time",
265
+ "timeSelect__dropdownContent",
266
+ "timeSelect__dropdownItem",
267
+ "timeSelect__dropdownItemLabel",
268
+ "timeSelect__dropdownItemLabelContainer",
269
+ "timeSelect__dropdownItemCheck__icon",
233
270
  // Notification Snooze
234
271
  "notificationSnooze__dropdownContent",
235
272
  "notificationSnooze__dropdownItem",
@@ -267,6 +304,24 @@ var defaultLocalization = {
267
304
  "preferences.title": "Preferences",
268
305
  "preferences.emptyNotice": "No notification specific preferences yet.",
269
306
  "preferences.global": "Global Preferences",
307
+ "preferences.schedule.title": "Schedule",
308
+ "preferences.schedule.description": "Allow notifications between:",
309
+ "preferences.schedule.headerInfo": "Set your schedule. Notifications to external channels will pause outside the schedule. In-app and critical notifications are always delivered.",
310
+ "preferences.schedule.info": "Critical and In-app notifications still reach you outside your schedule.",
311
+ "preferences.schedule.days": "Days",
312
+ "preferences.schedule.from": "From",
313
+ "preferences.schedule.to": "To",
314
+ "preferences.schedule.copyTimesTo": "Copy times to",
315
+ "preferences.schedule.sunday": "Sunday",
316
+ "preferences.schedule.monday": "Monday",
317
+ "preferences.schedule.tuesday": "Tuesday",
318
+ "preferences.schedule.wednesday": "Wednesday",
319
+ "preferences.schedule.thursday": "Thursday",
320
+ "preferences.schedule.friday": "Friday",
321
+ "preferences.schedule.saturday": "Saturday",
322
+ "preferences.schedule.dayScheduleCopy.title": "Copy times to:",
323
+ "preferences.schedule.dayScheduleCopy.selectAll": "Select all",
324
+ "preferences.schedule.dayScheduleCopy.apply": "Apply",
270
325
  "preferences.workflow.disabled.notice": "Contact admin to enable subscription management for this critical notification.",
271
326
  "preferences.workflow.disabled.tooltip": "Contact admin to edit",
272
327
  "preferences.group.info": "Applies to all notifications under this group.",
@@ -455,8 +510,8 @@ function formatSnoozedUntil({ untilDate, locale = DEFAULT_LOCALE }) {
455
510
  const minutes = Math.floor(diffInSeconds / SECONDS.inMinute);
456
511
  return `${minutes} ${minutes === 1 ? "minute" : "minutes"}`;
457
512
  } else if (diffInSeconds < SECONDS.inDay) {
458
- const hours = Math.floor(diffInSeconds / SECONDS.inHour);
459
- return `${hours} ${hours === 1 ? "hour" : "hours"}`;
513
+ const hours2 = Math.floor(diffInSeconds / SECONDS.inHour);
514
+ return `${hours2} ${hours2 === 1 ? "hour" : "hours"}`;
460
515
  } else if (diffInSeconds < SECONDS.inWeek) {
461
516
  const days = Math.floor(diffInSeconds / SECONDS.inDay);
462
517
  return `${days} ${days === 1 ? "day" : "days"}`;
@@ -1236,16 +1291,16 @@ var STATUS_TO_FILTER = {
1236
1291
  };
1237
1292
  var DEFAULT_LIMIT = 10;
1238
1293
  var InboxProvider = (props) => {
1239
- var _a, _b, _c;
1294
+ var _a, _b, _c, _d;
1240
1295
  const [isOpened, setIsOpened] = createSignal(false);
1241
1296
  const [tabs, setTabs] = createSignal(props.tabs);
1242
- const [activeTab, setActiveTab] = createSignal((_a = props.tabs[0] && props.tabs[0].label) != null ? _a : "");
1297
+ const [activeTab, setActiveTab] = createSignal((_b = (_a = props.tabs[0]) == null ? void 0 : _a.label) != null ? _b : "");
1243
1298
  const [status, setStatus] = createSignal("unreadRead" /* UNREAD_READ */);
1244
1299
  const [limit, setLimit] = createSignal(DEFAULT_LIMIT);
1245
1300
  const [filter, setFilter] = createSignal(__spreadProps(__spreadValues({}, STATUS_TO_FILTER["unreadRead" /* UNREAD_READ */]), {
1246
1301
  tags: props.tabs.length > 0 ? getTagsFromTab(props.tabs[0]) : [],
1247
- data: props.tabs.length > 0 ? (_b = props.tabs[0].filter) == null ? void 0 : _b.data : {},
1248
- severity: props.tabs.length > 0 ? (_c = props.tabs[0].filter) == null ? void 0 : _c.severity : void 0
1302
+ data: props.tabs.length > 0 ? (_c = props.tabs[0].filter) == null ? void 0 : _c.data : {},
1303
+ severity: props.tabs.length > 0 ? (_d = props.tabs[0].filter) == null ? void 0 : _d.severity : void 0
1249
1304
  }));
1250
1305
  const [hideBranding, setHideBranding] = createSignal(false);
1251
1306
  const [isDevelopmentMode, setIsDevelopmentMode] = createSignal(false);
@@ -1255,6 +1310,7 @@ var InboxProvider = (props) => {
1255
1310
  const [isKeyless, setIsKeyless] = createSignal(false);
1256
1311
  const [applicationIdentifier, setApplicationIdentifier] = createSignal(null);
1257
1312
  const [preferenceGroups, setPreferenceGroups] = createSignal(props.preferenceGroups);
1313
+ const [preferencesSort, setPreferencesSort] = createSignal(props.preferencesSort);
1258
1314
  const setNewStatus = (newStatus) => {
1259
1315
  setStatus(newStatus);
1260
1316
  setFilter((old) => __spreadProps(__spreadValues({}, STATUS_TO_FILTER[newStatus]), {
@@ -1350,6 +1406,7 @@ var InboxProvider = (props) => {
1350
1406
  hideBranding,
1351
1407
  preferencesFilter,
1352
1408
  preferenceGroups,
1409
+ preferencesSort,
1353
1410
  isDevelopmentMode,
1354
1411
  maxSnoozeDurationHours,
1355
1412
  isSnoozeEnabled,
@@ -1748,142 +1805,158 @@ function Bell(props) {
1748
1805
  return _el$;
1749
1806
  })();
1750
1807
  }
1751
- var _tmpl$7 = /* @__PURE__ */ template(`<svg viewBox="0 0 10 10"fill=none xmlns=http://www.w3.org/2000/svg><path d="M0.625 9.375L2.93989 8.86059C3.5538 9.18889 4.25516 9.375 5 9.375C7.41622 9.375 9.375 7.41622 9.375 5C9.375 2.58375 7.41622 0.625 5 0.625C2.58375 0.625 0.625 2.58375 0.625 5C0.625 5.74484 0.81113 6.4462 1.13942 7.0601L0.625 9.375ZM6.50881 2.8125L6.43224 3.68761H7.1875V4.56259H6.35568L6.27912 5.43759H7.1875V6.31259H6.2026L6.12604 7.1875H5.24771L5.32423 6.31259H4.44591L4.36934 7.1875H3.49101L3.56755 6.31259H2.8125V5.43759H3.64411L3.72066 4.56259H2.8125V3.68761H3.79721L3.87377 2.8125H4.75211L4.67555 3.68761H5.55392L5.63048 2.8125H6.50881ZM4.59899 4.56259L4.52247 5.43759H5.40079L5.47736 4.56259H4.59899Z"fill=currentColor>`);
1752
- var Chat = (props) => {
1808
+ var _tmpl$7 = /* @__PURE__ */ template(`<svg xmlns=http://www.w3.org/2000/svg width=14 height=14 fill=none viewBox="0 0 14 14"><path fill=currentColor d="M4.381 2.952V2h.952v.952H8.19V2h.953v.952h1.905c.263 0 .476.214.476.477v2.38h-.953V3.906H9.143v.952H8.19v-.952H5.333v.952h-.952v-.952H2.952v6.666H5.81v.953H2.476A.476.476 0 0 1 2 11.048v-7.62c0-.262.213-.476.476-.476h1.905Zm4.762 4.286a1.905 1.905 0 1 0 0 3.81 1.905 1.905 0 0 0 0-3.81ZM6.286 9.143a2.857 2.857 0 1 1 5.714 0 2.857 2.857 0 0 1-5.714 0Zm2.38-1.429V9.34l1.093 1.092.673-.673-.813-.813V7.714h-.952Z">`);
1809
+ var CalendarSchedule = (props) => {
1753
1810
  return (() => {
1754
1811
  var _el$ = _tmpl$7();
1755
1812
  spread(_el$, props, true, true);
1756
1813
  return _el$;
1757
1814
  })();
1758
1815
  };
1759
- var _tmpl$8 = /* @__PURE__ */ template(`<svg viewBox="0 0 8 6"fill=none xmlns=http://www.w3.org/2000/svg><path d="M2.99994 4.58847L7.33298 0L8 0.705765L2.99994 6L0 2.82356L0.666549 2.11779L2.99994 4.58847Z"fill=currentColor>`);
1760
- var Check = (props) => {
1816
+ var _tmpl$8 = /* @__PURE__ */ template(`<svg viewBox="0 0 10 10"fill=none xmlns=http://www.w3.org/2000/svg><path d="M0.625 9.375L2.93989 8.86059C3.5538 9.18889 4.25516 9.375 5 9.375C7.41622 9.375 9.375 7.41622 9.375 5C9.375 2.58375 7.41622 0.625 5 0.625C2.58375 0.625 0.625 2.58375 0.625 5C0.625 5.74484 0.81113 6.4462 1.13942 7.0601L0.625 9.375ZM6.50881 2.8125L6.43224 3.68761H7.1875V4.56259H6.35568L6.27912 5.43759H7.1875V6.31259H6.2026L6.12604 7.1875H5.24771L5.32423 6.31259H4.44591L4.36934 7.1875H3.49101L3.56755 6.31259H2.8125V5.43759H3.64411L3.72066 4.56259H2.8125V3.68761H3.79721L3.87377 2.8125H4.75211L4.67555 3.68761H5.55392L5.63048 2.8125H6.50881ZM4.59899 4.56259L4.52247 5.43759H5.40079L5.47736 4.56259H4.59899Z"fill=currentColor>`);
1817
+ var Chat = (props) => {
1761
1818
  return (() => {
1762
1819
  var _el$ = _tmpl$8();
1763
1820
  spread(_el$, props, true, true);
1764
1821
  return _el$;
1765
1822
  })();
1766
1823
  };
1767
- var _tmpl$9 = /* @__PURE__ */ template(`<svg viewBox="0 0 12 12"fill=none xmlns=http://www.w3.org/2000/svg><g clip-path=url(#clip0_3188_15050)><path d="M6 3V6L8 7M11 6C11 8.76142 8.76142 11 6 11C3.23858 11 1 8.76142 1 6C1 3.23858 3.23858 1 6 1C8.76142 1 11 3.23858 11 6Z"stroke=currentColor stroke-linecap=round stroke-linejoin=round>`);
1768
- var Clock = (props) => {
1824
+ var _tmpl$9 = /* @__PURE__ */ template(`<svg viewBox="0 0 8 6"fill=none xmlns=http://www.w3.org/2000/svg><path d="M2.99994 4.58847L7.33298 0L8 0.705765L2.99994 6L0 2.82356L0.666549 2.11779L2.99994 4.58847Z"fill=currentColor>`);
1825
+ var Check = (props) => {
1769
1826
  return (() => {
1770
1827
  var _el$ = _tmpl$9();
1771
1828
  spread(_el$, props, true, true);
1772
1829
  return _el$;
1773
1830
  })();
1774
1831
  };
1775
- var _tmpl$10 = /* @__PURE__ */ template(`<svg viewBox="0 0 20 20"fill=none xmlns=http://www.w3.org/2000/svg><path d="M10 1.75L17.125 5.875V14.125L10 18.25L2.875 14.125V5.875L10 1.75ZM10 3.48325L4.375 6.73975V13.2603L10 16.5167L15.625 13.2603V6.73975L10 3.48325ZM10 13C9.20435 13 8.44129 12.6839 7.87868 12.1213C7.31607 11.5587 7 10.7956 7 10C7 9.20435 7.31607 8.44129 7.87868 7.87868C8.44129 7.31607 9.20435 7 10 7C10.7956 7 11.5587 7.31607 12.1213 7.87868C12.6839 8.44129 13 9.20435 13 10C13 10.7956 12.6839 11.5587 12.1213 12.1213C11.5587 12.6839 10.7956 13 10 13ZM10 11.5C10.3978 11.5 10.7794 11.342 11.0607 11.0607C11.342 10.7794 11.5 10.3978 11.5 10C11.5 9.60218 11.342 9.22064 11.0607 8.93934C10.7794 8.65804 10.3978 8.5 10 8.5C9.60218 8.5 9.22064 8.65804 8.93934 8.93934C8.65804 9.22064 8.5 9.60218 8.5 10C8.5 10.3978 8.65804 10.7794 8.93934 11.0607C9.22064 11.342 9.60218 11.5 10 11.5Z"fill=currentColor>`);
1776
- var Cogs = (props) => {
1832
+ var _tmpl$10 = /* @__PURE__ */ template(`<svg viewBox="0 0 12 12"fill=none xmlns=http://www.w3.org/2000/svg><g clip-path=url(#clip0_3188_15050)><path d="M6 3V6L8 7M11 6C11 8.76142 8.76142 11 6 11C3.23858 11 1 8.76142 1 6C1 3.23858 3.23858 1 6 1C8.76142 1 11 3.23858 11 6Z"stroke=currentColor stroke-linecap=round stroke-linejoin=round>`);
1833
+ var Clock = (props) => {
1777
1834
  return (() => {
1778
1835
  var _el$ = _tmpl$10();
1779
1836
  spread(_el$, props, true, true);
1780
1837
  return _el$;
1781
1838
  })();
1782
1839
  };
1783
- var _tmpl$11 = /* @__PURE__ */ template(`<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 20 20"><path fill=currentColor d="M5 8.333c-.917 0-1.667.75-1.667 1.667s.75 1.667 1.667 1.667c.916 0 1.666-.75 1.666-1.667S5.916 8.333 5 8.333zm10 0c-.917 0-1.667.75-1.667 1.667s.75 1.667 1.667 1.667c.916 0 1.666-.75 1.666-1.667S15.916 8.333 15 8.333zm-5 0c-.917 0-1.667.75-1.667 1.667s.75 1.667 1.667 1.667c.916 0 1.666-.75 1.666-1.667S10.916 8.333 10 8.333z">`);
1784
- var Dots = (props) => {
1840
+ var _tmpl$11 = /* @__PURE__ */ template(`<svg viewBox="0 0 20 20"fill=none xmlns=http://www.w3.org/2000/svg><path d="M10 1.75L17.125 5.875V14.125L10 18.25L2.875 14.125V5.875L10 1.75ZM10 3.48325L4.375 6.73975V13.2603L10 16.5167L15.625 13.2603V6.73975L10 3.48325ZM10 13C9.20435 13 8.44129 12.6839 7.87868 12.1213C7.31607 11.5587 7 10.7956 7 10C7 9.20435 7.31607 8.44129 7.87868 7.87868C8.44129 7.31607 9.20435 7 10 7C10.7956 7 11.5587 7.31607 12.1213 7.87868C12.6839 8.44129 13 9.20435 13 10C13 10.7956 12.6839 11.5587 12.1213 12.1213C11.5587 12.6839 10.7956 13 10 13ZM10 11.5C10.3978 11.5 10.7794 11.342 11.0607 11.0607C11.342 10.7794 11.5 10.3978 11.5 10C11.5 9.60218 11.342 9.22064 11.0607 8.93934C10.7794 8.65804 10.3978 8.5 10 8.5C9.60218 8.5 9.22064 8.65804 8.93934 8.93934C8.65804 9.22064 8.5 9.60218 8.5 10C8.5 10.3978 8.65804 10.7794 8.93934 11.0607C9.22064 11.342 9.60218 11.5 10 11.5Z"fill=currentColor>`);
1841
+ var Cogs = (props) => {
1785
1842
  return (() => {
1786
1843
  var _el$ = _tmpl$11();
1787
1844
  spread(_el$, props, true, true);
1788
1845
  return _el$;
1789
1846
  })();
1790
1847
  };
1791
- var _tmpl$12 = /* @__PURE__ */ template(`<svg viewBox="0 0 10 10"fill=none xmlns=http://www.w3.org/2000/svg><path d="M4.20703 1.875H2.8125H2.10547H1.875V2.04688V2.8125V3.60156V5.33984L0.00390625 3.95508C0.0351562 3.60156 0.216797 3.27344 0.505859 3.06055L0.9375 2.74023V1.875C0.9375 1.35742 1.35742 0.9375 1.875 0.9375H3.37109L4.3457 0.216797C4.53516 0.0761719 4.76367 0 5 0C5.23633 0 5.46484 0.0761719 5.6543 0.214844L6.62891 0.9375H8.125C8.64258 0.9375 9.0625 1.35742 9.0625 1.875V2.74023L9.49414 3.06055C9.7832 3.27344 9.96484 3.60156 9.99609 3.95508L8.125 5.33984V3.60156V2.8125V2.04688V1.875H7.89453H7.1875H5.79297H4.20508H4.20703ZM0 8.75V4.72852L4.25 7.87695C4.4668 8.03711 4.73047 8.125 5 8.125C5.26953 8.125 5.5332 8.03906 5.75 7.87695L10 4.72852V8.75C10 9.43945 9.43945 10 8.75 10H1.25C0.560547 10 0 9.43945 0 8.75ZM3.4375 3.125H6.5625C6.73438 3.125 6.875 3.26562 6.875 3.4375C6.875 3.60938 6.73438 3.75 6.5625 3.75H3.4375C3.26562 3.75 3.125 3.60938 3.125 3.4375C3.125 3.26562 3.26562 3.125 3.4375 3.125ZM3.4375 4.375H6.5625C6.73438 4.375 6.875 4.51562 6.875 4.6875C6.875 4.85938 6.73438 5 6.5625 5H3.4375C3.26562 5 3.125 4.85938 3.125 4.6875C3.125 4.51562 3.26562 4.375 3.4375 4.375Z"fill=currentColor>`);
1792
- var Email = (props) => {
1848
+ var _tmpl$12 = /* @__PURE__ */ template(`<svg xmlns=http://www.w3.org/2000/svg width=12 height=12 fill=none viewBox="0 0 12 12"><path fill=currentColor d="M3.75 3.3V1.95a.45.45 0 0 1 .45-.45h5.4a.45.45 0 0 1 .45.45v6.3a.45.45 0 0 1-.45.45H8.25v1.35c0 .248-.203.45-.453.45H2.403a.449.449 0 0 1-.453-.45l.001-6.3c0-.248.203-.45.453-.45H3.75Zm-.899.9L2.85 9.6h4.5V4.2H2.851Zm1.799-.9h3.6v4.5h.9V2.4h-4.5v.9Z">`);
1849
+ var Copy = (props) => {
1793
1850
  return (() => {
1794
1851
  var _el$ = _tmpl$12();
1795
1852
  spread(_el$, props, true, true);
1796
1853
  return _el$;
1797
1854
  })();
1798
1855
  };
1799
- var _tmpl$13 = /* @__PURE__ */ template(`<svg viewBox="0 0 10 12"fill=none xmlns=http://www.w3.org/2000/svg><path d="M4.99962 0.856934C4.64404 0.856934 4.35676 1.14421 4.35676 1.49979V1.88551C2.89024 2.18283 1.78533 3.48059 1.78533 5.03551V5.41318C1.78533 6.35738 1.43779 7.26943 0.810999 7.97658L0.662339 8.14332C0.493589 8.33216 0.45341 8.60336 0.555865 8.83439C0.658321 9.06542 0.889348 9.21408 1.14247 9.21408H8.85676C9.10988 9.21408 9.3389 9.06542 9.44337 8.83439C9.54783 8.60336 9.50564 8.33216 9.33689 8.14332L9.18823 7.97658C8.56145 7.26943 8.2139 6.35939 8.2139 5.41318V5.03551C8.2139 3.48059 7.10899 2.18283 5.64247 1.88551V1.49979C5.64247 1.14421 5.3552 0.856934 4.99962 0.856934ZM5.90966 10.767C6.15073 10.5259 6.28533 10.1985 6.28533 9.85693H4.99962H3.7139C3.7139 10.1985 3.8485 10.5259 4.08957 10.767C4.33064 11.008 4.6581 11.1426 4.99962 11.1426C5.34113 11.1426 5.66859 11.008 5.90966 10.767Z"fill=currentColor>`);
1800
- var InApp = (props) => {
1856
+ var _tmpl$13 = /* @__PURE__ */ template(`<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 20 20"><path fill=currentColor d="M5 8.333c-.917 0-1.667.75-1.667 1.667s.75 1.667 1.667 1.667c.916 0 1.666-.75 1.666-1.667S5.916 8.333 5 8.333zm10 0c-.917 0-1.667.75-1.667 1.667s.75 1.667 1.667 1.667c.916 0 1.666-.75 1.666-1.667S15.916 8.333 15 8.333zm-5 0c-.917 0-1.667.75-1.667 1.667s.75 1.667 1.667 1.667c.916 0 1.666-.75 1.666-1.667S10.916 8.333 10 8.333z">`);
1857
+ var Dots = (props) => {
1801
1858
  return (() => {
1802
1859
  var _el$ = _tmpl$13();
1803
1860
  spread(_el$, props, true, true);
1804
1861
  return _el$;
1805
1862
  })();
1806
1863
  };
1807
- var _tmpl$14 = /* @__PURE__ */ template(`<svg viewBox="0 0 10 10"fill=none xmlns=http://www.w3.org/2000/svg><path d="M2.29671 10C1.78742 10 1.39807 9.85716 1.12864 9.57149C0.862497 9.28581 0.729426 8.86623 0.729426 8.31274V2.64594H1.69543V8.29668C1.69543 8.52163 1.74964 8.69487 1.85806 8.81624C1.96978 8.93408 2.12914 8.99301 2.33614 8.99301H7.66389C7.86764 8.99301 8.02366 8.93408 8.13209 8.81624C8.24385 8.69487 8.29965 8.52163 8.29965 8.29668V2.64594H9.27059V8.31274C9.27059 8.8627 9.13591 9.28048 8.86648 9.56608C8.59705 9.85536 8.20931 10 7.70333 10H2.29671ZM3.41056 5.34543C3.29556 5.34543 3.20028 5.30438 3.1247 5.22226C3.04913 5.14015 3.01134 5.03304 3.01134 4.90089V4.72949C3.01134 4.59737 3.04749 4.49204 3.11977 4.41348C3.19535 4.33492 3.29227 4.29564 3.41056 4.29564H6.5944C6.71271 4.29564 6.80795 4.33492 6.88026 4.41348C6.95582 4.49204 6.9936 4.59737 6.9936 4.72949V4.90089C6.9936 5.03304 6.95582 5.14015 6.88026 5.22226C6.8047 5.30438 6.70939 5.34543 6.5944 5.34543H3.41056ZM1.05964 3.16014C0.724502 3.16014 0.463285 3.05301 0.276004 2.83877C0.0920037 2.62095 0 2.33172 0 1.97107V1.18907C0 0.824846 0.0952841 0.535614 0.28586 0.321373C0.476428 0.107124 0.734358 0 1.05964 0H8.94536C9.27715 0 9.53511 0.107124 9.71911 0.321373C9.90642 0.535614 10 0.824846 10 1.18907V1.97107C10 2.33172 9.90642 2.62095 9.71911 2.83877C9.53511 3.05301 9.27715 3.16014 8.94536 3.16014H1.05964ZM1.24693 2.19067H8.75805C8.87304 2.19067 8.95516 2.16211 9.00448 2.10497C9.05372 2.04427 9.07838 1.95322 9.07838 1.83181V1.32833C9.07838 1.20335 9.05372 1.1123 9.00448 1.05517C8.95516 0.99803 8.87304 0.969462 8.75805 0.969462H1.24693C1.13193 0.969462 1.04814 0.99803 0.995567 1.05517C0.946281 1.1123 0.921638 1.20335 0.921638 1.32833V1.83181C0.921638 1.95322 0.946281 2.04427 0.995567 2.10497C1.04814 2.16211 1.13193 2.19067 1.24693 2.19067Z"fill=currentColor>`);
1808
- var MarkAsArchived = (props) => {
1864
+ var _tmpl$14 = /* @__PURE__ */ template(`<svg viewBox="0 0 10 10"fill=none xmlns=http://www.w3.org/2000/svg><path d="M4.20703 1.875H2.8125H2.10547H1.875V2.04688V2.8125V3.60156V5.33984L0.00390625 3.95508C0.0351562 3.60156 0.216797 3.27344 0.505859 3.06055L0.9375 2.74023V1.875C0.9375 1.35742 1.35742 0.9375 1.875 0.9375H3.37109L4.3457 0.216797C4.53516 0.0761719 4.76367 0 5 0C5.23633 0 5.46484 0.0761719 5.6543 0.214844L6.62891 0.9375H8.125C8.64258 0.9375 9.0625 1.35742 9.0625 1.875V2.74023L9.49414 3.06055C9.7832 3.27344 9.96484 3.60156 9.99609 3.95508L8.125 5.33984V3.60156V2.8125V2.04688V1.875H7.89453H7.1875H5.79297H4.20508H4.20703ZM0 8.75V4.72852L4.25 7.87695C4.4668 8.03711 4.73047 8.125 5 8.125C5.26953 8.125 5.5332 8.03906 5.75 7.87695L10 4.72852V8.75C10 9.43945 9.43945 10 8.75 10H1.25C0.560547 10 0 9.43945 0 8.75ZM3.4375 3.125H6.5625C6.73438 3.125 6.875 3.26562 6.875 3.4375C6.875 3.60938 6.73438 3.75 6.5625 3.75H3.4375C3.26562 3.75 3.125 3.60938 3.125 3.4375C3.125 3.26562 3.26562 3.125 3.4375 3.125ZM3.4375 4.375H6.5625C6.73438 4.375 6.875 4.51562 6.875 4.6875C6.875 4.85938 6.73438 5 6.5625 5H3.4375C3.26562 5 3.125 4.85938 3.125 4.6875C3.125 4.51562 3.26562 4.375 3.4375 4.375Z"fill=currentColor>`);
1865
+ var Email = (props) => {
1809
1866
  return (() => {
1810
1867
  var _el$ = _tmpl$14();
1811
1868
  spread(_el$, props, true, true);
1812
1869
  return _el$;
1813
1870
  })();
1814
1871
  };
1815
- var _tmpl$15 = /* @__PURE__ */ template(`<svg viewBox="0 0 11 11"fill=none xmlns=http://www.w3.org/2000/svg><path d="M2.17256 10.999C1.69081 10.999 1.3225 10.8562 1.06763 10.5705C0.815875 10.2848 0.689997 9.86525 0.689997 9.31177V3.64497H1.60378V9.2957C1.60378 9.52066 1.65506 9.6939 1.75763 9.81526C1.8633 9.93311 2.01405 9.99203 2.20986 9.99203H7.24963C7.44236 9.99203 7.58995 9.93311 7.69252 9.81526C7.79823 9.6939 7.85102 9.52066 7.85102 9.2957V3.64497H8.76947V9.31177C8.76947 9.86173 8.64208 10.2795 8.38721 10.5651C8.13235 10.8544 7.76556 10.999 7.28693 10.999H2.17256ZM1.00236 4.15916C0.68534 4.15916 0.438242 4.05204 0.261085 3.83779C0.0870305 3.61997 0 3.33074 0 2.97009V2.18809C0 1.82387 0.0901336 1.53464 0.270408 1.3204C0.450675 1.10615 0.694663 0.999023 1.00236 0.999023H8.46182C8.77568 0.999023 9.0197 1.10615 9.19375 1.3204C9.37094 1.53464 9.45946 1.82387 9.45946 2.18809V2.97009C9.45946 3.33074 9.37094 3.61997 9.19375 3.83779C9.0197 4.05204 8.77568 4.15916 8.46182 4.15916H1.00236ZM1.17953 3.1897H8.28464C8.39342 3.1897 8.4711 3.16113 8.51775 3.10399C8.56433 3.04329 8.58765 2.95224 8.58765 2.83083V2.32735C8.58765 2.20238 8.56433 2.11132 8.51775 2.05419C8.4711 1.99705 7.51461 1.96849 7.40583 1.96849H1.17953C1.07074 1.96849 0.991485 1.99705 0.941753 2.05419C0.895131 2.11132 0.87182 2.20238 0.87182 2.32735V2.83083C0.87182 2.95224 0.895131 3.04329 0.941753 3.10399C0.991485 3.16113 1.07074 3.1897 1.17953 3.1897Z"fill=currentColor></path><path d="M9.67298 0.553711C9.84703 0.556646 10.0146 0.614475 10.1535 0.716797L10.2208 0.771484L10.2814 0.833008C10.3958 0.960612 10.4679 1.11928 10.4913 1.28711L10.4992 1.37109L10.4982 1.45605C10.4872 1.64689 10.4124 1.8301 10.2833 1.97559L10.2843 1.97656L7.55482 5.15039L7.55384 5.14941C7.40234 5.3265 7.18382 5.43557 6.94642 5.44336L6.93861 5.44434H6.92005V5.44336C6.69203 5.44397 6.47619 5.35201 6.31947 5.19141L6.31849 5.18945L5.29505 4.13184C5.08531 3.91498 5.00658 3.60427 5.08118 3.31641L5.11634 3.21094C5.2129 2.97124 5.41476 2.78187 5.67396 2.70996L5.78626 2.68652C6.01138 2.65637 6.23763 2.72008 6.41419 2.85938L6.49818 2.93555L6.8849 3.33496L9.0138 0.859375V0.860352C9.15512 0.688807 9.35911 0.576792 9.58509 0.556641L9.67298 0.553711Z"fill=currentColor stroke=white>`);
1816
- var MarkAsArchivedRead = (props) => {
1872
+ var _tmpl$15 = /* @__PURE__ */ template(`<svg viewBox="0 0 10 12"fill=none xmlns=http://www.w3.org/2000/svg><path d="M4.99962 0.856934C4.64404 0.856934 4.35676 1.14421 4.35676 1.49979V1.88551C2.89024 2.18283 1.78533 3.48059 1.78533 5.03551V5.41318C1.78533 6.35738 1.43779 7.26943 0.810999 7.97658L0.662339 8.14332C0.493589 8.33216 0.45341 8.60336 0.555865 8.83439C0.658321 9.06542 0.889348 9.21408 1.14247 9.21408H8.85676C9.10988 9.21408 9.3389 9.06542 9.44337 8.83439C9.54783 8.60336 9.50564 8.33216 9.33689 8.14332L9.18823 7.97658C8.56145 7.26943 8.2139 6.35939 8.2139 5.41318V5.03551C8.2139 3.48059 7.10899 2.18283 5.64247 1.88551V1.49979C5.64247 1.14421 5.3552 0.856934 4.99962 0.856934ZM5.90966 10.767C6.15073 10.5259 6.28533 10.1985 6.28533 9.85693H4.99962H3.7139C3.7139 10.1985 3.8485 10.5259 4.08957 10.767C4.33064 11.008 4.6581 11.1426 4.99962 11.1426C5.34113 11.1426 5.66859 11.008 5.90966 10.767Z"fill=currentColor>`);
1873
+ var InApp = (props) => {
1817
1874
  return (() => {
1818
1875
  var _el$ = _tmpl$15();
1819
1876
  spread(_el$, props, true, true);
1820
1877
  return _el$;
1821
1878
  })();
1822
1879
  };
1823
- var _tmpl$16 = /* @__PURE__ */ template(`<svg viewBox="0 0 10 10"fill=none xmlns=http://www.w3.org/2000/svg><g clip-path=url(#clip0_3445_1172)><path d="M9 9.99902H1C0.867383 9.99902 0.7402 9.94635 0.64645 9.85257C0.552667 9.75882 0.5 9.63164 0.5 9.49902V0.499023C0.5 0.366407 0.552669 0.239223 0.64645 0.145473C0.7402 0.0516901 0.867383 -0.000976562 1 -0.000976562H6.25C6.42865 -0.000976562 6.59368 0.0943401 6.68301 0.249023C6.77233 0.403707 6.77233 0.59434 6.68301 0.749023C6.59368 0.903707 6.42865 0.999023 6.25 0.999023H1.5V8.99902H8.5V4.49902C8.5 4.32037 8.59532 4.15534 8.75 4.06602C8.90468 3.97669 9.09532 3.97669 9.25 4.06602C9.40468 4.15534 9.5 4.32037 9.5 4.49902V9.49902C9.5 9.63164 9.44733 9.75882 9.35355 9.85257C9.2598 9.94636 9.13262 9.99902 9 9.99902Z"fill=currentColor></path><path d="M7.5 8.24902H2.5C2.32135 8.24902 2.15632 8.15371 2.06699 7.99902C1.97767 7.84434 1.97767 7.65371 2.06699 7.49902C2.15632 7.34434 2.32135 7.24902 2.5 7.24902H7.5C7.67865 7.24902 7.84368 7.34434 7.93301 7.49902C8.02233 7.65371 8.02233 7.84434 7.93301 7.99902C7.84368 8.15371 7.67865 8.24902 7.5 8.24902Z"fill=currentColor></path><path d="M4.75 6.49901C4.61709 6.49979 4.48936 6.44761 4.39498 6.35403L2.89498 4.85403C2.76816 4.72717 2.71865 4.54235 2.76507 4.36907C2.81149 4.19583 2.94681 4.06051 3.12005 4.01409C3.29332 3.96767 3.47816 4.01718 3.60501 4.14401L4.73001 5.269L8.37501 1.16901C8.46056 1.06279 8.58578 0.996155 8.72169 0.984497C8.8576 0.972843 8.99233 1.01718 9.09474 1.10728C9.19712 1.19738 9.25825 1.32541 9.26398 1.46167C9.26968 1.59796 9.21948 1.73065 9.12502 1.82902L5.12502 6.32902C5.03371 6.43306 4.90337 6.49461 4.76502 6.49901L4.75 6.49901Z"fill=currentColor></path></g><defs><clipPath id=clip0_3445_1172><rect width=10 height=10 fill=white transform="translate(0 -0.000976562)">`);
1824
- var MarkAsRead = (props) => {
1880
+ var _tmpl$16 = /* @__PURE__ */ template(`<svg viewBox="0 0 10 10"fill=none xmlns=http://www.w3.org/2000/svg><path d="M2.29671 10C1.78742 10 1.39807 9.85716 1.12864 9.57149C0.862497 9.28581 0.729426 8.86623 0.729426 8.31274V2.64594H1.69543V8.29668C1.69543 8.52163 1.74964 8.69487 1.85806 8.81624C1.96978 8.93408 2.12914 8.99301 2.33614 8.99301H7.66389C7.86764 8.99301 8.02366 8.93408 8.13209 8.81624C8.24385 8.69487 8.29965 8.52163 8.29965 8.29668V2.64594H9.27059V8.31274C9.27059 8.8627 9.13591 9.28048 8.86648 9.56608C8.59705 9.85536 8.20931 10 7.70333 10H2.29671ZM3.41056 5.34543C3.29556 5.34543 3.20028 5.30438 3.1247 5.22226C3.04913 5.14015 3.01134 5.03304 3.01134 4.90089V4.72949C3.01134 4.59737 3.04749 4.49204 3.11977 4.41348C3.19535 4.33492 3.29227 4.29564 3.41056 4.29564H6.5944C6.71271 4.29564 6.80795 4.33492 6.88026 4.41348C6.95582 4.49204 6.9936 4.59737 6.9936 4.72949V4.90089C6.9936 5.03304 6.95582 5.14015 6.88026 5.22226C6.8047 5.30438 6.70939 5.34543 6.5944 5.34543H3.41056ZM1.05964 3.16014C0.724502 3.16014 0.463285 3.05301 0.276004 2.83877C0.0920037 2.62095 0 2.33172 0 1.97107V1.18907C0 0.824846 0.0952841 0.535614 0.28586 0.321373C0.476428 0.107124 0.734358 0 1.05964 0H8.94536C9.27715 0 9.53511 0.107124 9.71911 0.321373C9.90642 0.535614 10 0.824846 10 1.18907V1.97107C10 2.33172 9.90642 2.62095 9.71911 2.83877C9.53511 3.05301 9.27715 3.16014 8.94536 3.16014H1.05964ZM1.24693 2.19067H8.75805C8.87304 2.19067 8.95516 2.16211 9.00448 2.10497C9.05372 2.04427 9.07838 1.95322 9.07838 1.83181V1.32833C9.07838 1.20335 9.05372 1.1123 9.00448 1.05517C8.95516 0.99803 8.87304 0.969462 8.75805 0.969462H1.24693C1.13193 0.969462 1.04814 0.99803 0.995567 1.05517C0.946281 1.1123 0.921638 1.20335 0.921638 1.32833V1.83181C0.921638 1.95322 0.946281 2.04427 0.995567 2.10497C1.04814 2.16211 1.13193 2.19067 1.24693 2.19067Z"fill=currentColor>`);
1881
+ var MarkAsArchived = (props) => {
1825
1882
  return (() => {
1826
1883
  var _el$ = _tmpl$16();
1827
1884
  spread(_el$, props, true, true);
1828
1885
  return _el$;
1829
1886
  })();
1830
1887
  };
1831
- var _tmpl$17 = /* @__PURE__ */ template(`<svg viewBox="0 0 10 10"fill=none xmlns=http://www.w3.org/2000/svg><path d="M3.15789 2.99902V4.99902L0 2.49902L3.15789 -0.000976562V1.99902H5.78947C6.90618 1.99902 7.97714 2.42045 8.76677 3.1706C9.55639 3.92074 10 4.93816 10 5.99902C10 7.05989 9.55639 8.0773 8.76677 8.82745C7.97714 9.5776 6.90618 9.99902 5.78947 9.99902H1.05263V8.99902H5.78947C6.627 8.99902 7.43022 8.68295 8.02244 8.12034C8.61466 7.55773 8.94737 6.79467 8.94737 5.99902C8.94737 5.20337 8.61466 4.44031 8.02244 3.8777C7.43022 3.31509 6.627 2.99902 5.78947 2.99902H3.15789Z"fill=currentColor>`);
1832
- var MarkAsUnarchived = (props) => {
1888
+ var _tmpl$17 = /* @__PURE__ */ template(`<svg viewBox="0 0 11 11"fill=none xmlns=http://www.w3.org/2000/svg><path d="M2.17256 10.999C1.69081 10.999 1.3225 10.8562 1.06763 10.5705C0.815875 10.2848 0.689997 9.86525 0.689997 9.31177V3.64497H1.60378V9.2957C1.60378 9.52066 1.65506 9.6939 1.75763 9.81526C1.8633 9.93311 2.01405 9.99203 2.20986 9.99203H7.24963C7.44236 9.99203 7.58995 9.93311 7.69252 9.81526C7.79823 9.6939 7.85102 9.52066 7.85102 9.2957V3.64497H8.76947V9.31177C8.76947 9.86173 8.64208 10.2795 8.38721 10.5651C8.13235 10.8544 7.76556 10.999 7.28693 10.999H2.17256ZM1.00236 4.15916C0.68534 4.15916 0.438242 4.05204 0.261085 3.83779C0.0870305 3.61997 0 3.33074 0 2.97009V2.18809C0 1.82387 0.0901336 1.53464 0.270408 1.3204C0.450675 1.10615 0.694663 0.999023 1.00236 0.999023H8.46182C8.77568 0.999023 9.0197 1.10615 9.19375 1.3204C9.37094 1.53464 9.45946 1.82387 9.45946 2.18809V2.97009C9.45946 3.33074 9.37094 3.61997 9.19375 3.83779C9.0197 4.05204 8.77568 4.15916 8.46182 4.15916H1.00236ZM1.17953 3.1897H8.28464C8.39342 3.1897 8.4711 3.16113 8.51775 3.10399C8.56433 3.04329 8.58765 2.95224 8.58765 2.83083V2.32735C8.58765 2.20238 8.56433 2.11132 8.51775 2.05419C8.4711 1.99705 7.51461 1.96849 7.40583 1.96849H1.17953C1.07074 1.96849 0.991485 1.99705 0.941753 2.05419C0.895131 2.11132 0.87182 2.20238 0.87182 2.32735V2.83083C0.87182 2.95224 0.895131 3.04329 0.941753 3.10399C0.991485 3.16113 1.07074 3.1897 1.17953 3.1897Z"fill=currentColor></path><path d="M9.67298 0.553711C9.84703 0.556646 10.0146 0.614475 10.1535 0.716797L10.2208 0.771484L10.2814 0.833008C10.3958 0.960612 10.4679 1.11928 10.4913 1.28711L10.4992 1.37109L10.4982 1.45605C10.4872 1.64689 10.4124 1.8301 10.2833 1.97559L10.2843 1.97656L7.55482 5.15039L7.55384 5.14941C7.40234 5.3265 7.18382 5.43557 6.94642 5.44336L6.93861 5.44434H6.92005V5.44336C6.69203 5.44397 6.47619 5.35201 6.31947 5.19141L6.31849 5.18945L5.29505 4.13184C5.08531 3.91498 5.00658 3.60427 5.08118 3.31641L5.11634 3.21094C5.2129 2.97124 5.41476 2.78187 5.67396 2.70996L5.78626 2.68652C6.01138 2.65637 6.23763 2.72008 6.41419 2.85938L6.49818 2.93555L6.8849 3.33496L9.0138 0.859375V0.860352C9.15512 0.688807 9.35911 0.576792 9.58509 0.556641L9.67298 0.553711Z"fill=currentColor stroke=white>`);
1889
+ var MarkAsArchivedRead = (props) => {
1833
1890
  return (() => {
1834
1891
  var _el$ = _tmpl$17();
1835
1892
  spread(_el$, props, true, true);
1836
1893
  return _el$;
1837
1894
  })();
1838
1895
  };
1839
- var _tmpl$18 = /* @__PURE__ */ template(`<svg viewBox="0 0 11 11"fill=none xmlns=http://www.w3.org/2000/svg><path d="M6.8 1.49902H1.5C0.947715 1.49902 0.5 1.94674 0.5 2.49902V9.49902C0.5 10.0513 0.947715 10.499 1.5 10.499H8.5C9.05228 10.499 9.5 10.0513 9.5 9.49902V4.19902"stroke=currentColor stroke-miterlimit=1 stroke-linecap=round></path><circle cx=9.25 cy=1.74902 r=1.25 fill=currentColor>`);
1840
- var MarkAsUnread = (props) => {
1896
+ var _tmpl$18 = /* @__PURE__ */ template(`<svg viewBox="0 0 10 10"fill=none xmlns=http://www.w3.org/2000/svg><g clip-path=url(#clip0_3445_1172)><path d="M9 9.99902H1C0.867383 9.99902 0.7402 9.94635 0.64645 9.85257C0.552667 9.75882 0.5 9.63164 0.5 9.49902V0.499023C0.5 0.366407 0.552669 0.239223 0.64645 0.145473C0.7402 0.0516901 0.867383 -0.000976562 1 -0.000976562H6.25C6.42865 -0.000976562 6.59368 0.0943401 6.68301 0.249023C6.77233 0.403707 6.77233 0.59434 6.68301 0.749023C6.59368 0.903707 6.42865 0.999023 6.25 0.999023H1.5V8.99902H8.5V4.49902C8.5 4.32037 8.59532 4.15534 8.75 4.06602C8.90468 3.97669 9.09532 3.97669 9.25 4.06602C9.40468 4.15534 9.5 4.32037 9.5 4.49902V9.49902C9.5 9.63164 9.44733 9.75882 9.35355 9.85257C9.2598 9.94636 9.13262 9.99902 9 9.99902Z"fill=currentColor></path><path d="M7.5 8.24902H2.5C2.32135 8.24902 2.15632 8.15371 2.06699 7.99902C1.97767 7.84434 1.97767 7.65371 2.06699 7.49902C2.15632 7.34434 2.32135 7.24902 2.5 7.24902H7.5C7.67865 7.24902 7.84368 7.34434 7.93301 7.49902C8.02233 7.65371 8.02233 7.84434 7.93301 7.99902C7.84368 8.15371 7.67865 8.24902 7.5 8.24902Z"fill=currentColor></path><path d="M4.75 6.49901C4.61709 6.49979 4.48936 6.44761 4.39498 6.35403L2.89498 4.85403C2.76816 4.72717 2.71865 4.54235 2.76507 4.36907C2.81149 4.19583 2.94681 4.06051 3.12005 4.01409C3.29332 3.96767 3.47816 4.01718 3.60501 4.14401L4.73001 5.269L8.37501 1.16901C8.46056 1.06279 8.58578 0.996155 8.72169 0.984497C8.8576 0.972843 8.99233 1.01718 9.09474 1.10728C9.19712 1.19738 9.25825 1.32541 9.26398 1.46167C9.26968 1.59796 9.21948 1.73065 9.12502 1.82902L5.12502 6.32902C5.03371 6.43306 4.90337 6.49461 4.76502 6.49901L4.75 6.49901Z"fill=currentColor></path></g><defs><clipPath id=clip0_3445_1172><rect width=10 height=10 fill=white transform="translate(0 -0.000976562)">`);
1897
+ var MarkAsRead = (props) => {
1841
1898
  return (() => {
1842
1899
  var _el$ = _tmpl$18();
1843
1900
  spread(_el$, props, true, true);
1844
1901
  return _el$;
1845
1902
  })();
1846
1903
  };
1847
- var _tmpl$19 = /* @__PURE__ */ template(`<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 13 12"><path fill=currentColor d="M9.787.98A5.972 5.972 0 006.5 0c-.668 0-1.31.11-1.911.31L9.187 4.94c.221.222.6.065.6-.248V.98z"></path><path fill=currentColor d="M2.879 1.216A5.99 5.99 0 00.5 6c0 1.134.315 2.195.862 3.1V7.309c0-1.966 2.379-2.946 3.764-1.552l4.995 5.027A5.99 5.99 0 0012.5 6a5.972 5.972 0 00-.862-3.1v1.791c0 1.966-2.379 2.946-3.764 1.552L2.879 1.216z"></path><path fill=currentColor d="M8.411 11.69L3.813 7.06a.351.351 0 00-.6.248v3.711c.944.62 2.073.98 3.287.98.668 0 1.31-.11 1.911-.31z">`);
1848
- var Novu2 = (props) => {
1904
+ var _tmpl$19 = /* @__PURE__ */ template(`<svg viewBox="0 0 10 10"fill=none xmlns=http://www.w3.org/2000/svg><path d="M3.15789 2.99902V4.99902L0 2.49902L3.15789 -0.000976562V1.99902H5.78947C6.90618 1.99902 7.97714 2.42045 8.76677 3.1706C9.55639 3.92074 10 4.93816 10 5.99902C10 7.05989 9.55639 8.0773 8.76677 8.82745C7.97714 9.5776 6.90618 9.99902 5.78947 9.99902H1.05263V8.99902H5.78947C6.627 8.99902 7.43022 8.68295 8.02244 8.12034C8.61466 7.55773 8.94737 6.79467 8.94737 5.99902C8.94737 5.20337 8.61466 4.44031 8.02244 3.8777C7.43022 3.31509 6.627 2.99902 5.78947 2.99902H3.15789Z"fill=currentColor>`);
1905
+ var MarkAsUnarchived = (props) => {
1849
1906
  return (() => {
1850
1907
  var _el$ = _tmpl$19();
1851
1908
  spread(_el$, props, true, true);
1852
1909
  return _el$;
1853
1910
  })();
1854
1911
  };
1855
- var _tmpl$20 = /* @__PURE__ */ template(`<svg viewBox="0 0 10 16"fill=none xmlns=http://www.w3.org/2000/svg><path d="M4.12531 1.8999C3.94958 1.8999 3.80713 2.04235 3.80713 2.21808C3.80713 2.39382 3.94958 2.53627 4.12531 2.53627H6.0344C6.21013 2.53627 6.35258 2.39382 6.35258 2.21808C6.35258 2.04235 6.21013 1.8999 6.0344 1.8999H4.12531Z"fill=currentColor></path><path d="M4.12531 1.8999C3.94958 1.8999 3.80713 2.04235 3.80713 2.21808C3.80713 2.39382 3.94958 2.53627 4.12531 2.53627H6.0344C6.21013 2.53627 6.35258 2.39382 6.35258 2.21808C6.35258 2.04235 6.21013 1.8999 6.0344 1.8999H4.12531Z"stroke=currentColor></path><path d="M2.69329 1.46818H7.30693C7.75127 1.46818 8.11147 1.82839 8.11147 2.27273V13.7273C8.11147 14.1716 7.75127 14.5318 7.30693 14.5318H2.69329C2.24896 14.5318 1.88875 14.1716 1.88875 13.7273V2.27273C1.88875 1.82839 2.24896 1.46818 2.69329 1.46818ZM2.69329 0.85C1.90754 0.85 1.27057 1.48698 1.27057 2.27273V2.95695C1.17568 3.00972 1.11147 3.111 1.11147 3.22727V3.54545C1.11147 3.64155 1.15532 3.7274 1.22411 3.78409C1.15532 3.84078 1.11147 3.92663 1.11147 4.02273V4.65909C1.11147 4.75519 1.15532 4.84104 1.22411 4.89773C1.15532 4.95442 1.11147 5.04027 1.11147 5.13636V6.09091C1.11147 6.20718 1.17568 6.30846 1.27057 6.36123V13.7273C1.27057 14.513 1.90754 15.15 2.69329 15.15H7.30693C8.09268 15.15 8.72966 14.513 8.72966 13.7273V6.36123C8.82454 6.30846 8.88875 6.20718 8.88875 6.09091V4.81818C8.88875 4.70191 8.82454 4.60063 8.72966 4.54786V2.27273C8.72966 1.48698 8.09268 0.85 7.30693 0.85H2.69329Z"fill=currentColor stroke=currentColor stroke-width=0.3>`);
1856
- var Push = (props) => {
1912
+ var _tmpl$20 = /* @__PURE__ */ template(`<svg viewBox="0 0 11 11"fill=none xmlns=http://www.w3.org/2000/svg><path d="M6.8 1.49902H1.5C0.947715 1.49902 0.5 1.94674 0.5 2.49902V9.49902C0.5 10.0513 0.947715 10.499 1.5 10.499H8.5C9.05228 10.499 9.5 10.0513 9.5 9.49902V4.19902"stroke=currentColor stroke-miterlimit=1 stroke-linecap=round></path><circle cx=9.25 cy=1.74902 r=1.25 fill=currentColor>`);
1913
+ var MarkAsUnread = (props) => {
1857
1914
  return (() => {
1858
1915
  var _el$ = _tmpl$20();
1859
1916
  spread(_el$, props, true, true);
1860
1917
  return _el$;
1861
1918
  })();
1862
1919
  };
1863
- var _tmpl$21 = /* @__PURE__ */ template(`<svg viewBox="0 0 10 10"fill=none xmlns=http://www.w3.org/2000/svg><path d="M5.00051 9.28364C7.76195 9.28364 10 7.20598 10 4.64182C10 2.07766 7.76195 0 5.00051 0C2.23907 0 0.00101462 2.07766 0.00101462 4.64182C0.00101462 5.64829 0.346683 6.57889 0.932561 7.33988C0.895455 7.88663 0.709927 8.37313 0.514634 8.74358C0.407223 8.94889 0.297859 9.11404 0.21779 9.22562C0.176778 9.28141 0.145531 9.32381 0.122096 9.35282C0.110379 9.36621 0.102567 9.37737 0.096708 9.38407L0.0908493 9.39076C0.00101462 9.49342 -0.0243734 9.64517 0.0244497 9.77907C0.0732729 9.91297 0.186543 10 0.313483 10C0.873973 10 1.43837 9.80138 1.90707 9.56929C2.35429 9.34613 2.73511 9.08056 2.96751 8.88641C3.58854 9.14305 4.27597 9.28587 5.00051 9.28587V9.28364ZM1.87582 4.03481C1.87582 3.58179 2.19806 3.21357 2.5945 3.21357H2.96946C3.14132 3.21357 3.28193 3.37425 3.28193 3.57063C3.28193 3.76702 3.14132 3.92769 2.96946 3.92769H2.5945C2.54177 3.92769 2.50076 3.97679 2.50076 4.03481C2.50076 4.07052 2.51638 4.10399 2.54373 4.12408L3.11789 4.56148C3.31904 4.71323 3.43817 4.96987 3.43817 5.2466C3.43817 5.69962 3.11593 6.06784 2.71949 6.06784L2.18829 6.07007C2.01644 6.07007 1.87582 5.9094 1.87582 5.71301C1.87582 5.51663 2.01644 5.35595 2.18829 5.35595H2.71949C2.77222 5.35595 2.81323 5.30685 2.81323 5.24883C2.81323 5.21312 2.79761 5.17965 2.77026 5.15956L2.1961 4.72216C1.99691 4.56818 1.87582 4.31154 1.87582 4.03481ZM7.28153 3.21357H7.65649C7.82834 3.21357 7.96896 3.37425 7.96896 3.57063C7.96896 3.76702 7.82834 3.92769 7.65649 3.92769H7.28153C7.2288 3.92769 7.18779 3.97679 7.18779 4.03481C7.18779 4.07052 7.20341 4.10399 7.23075 4.12408L7.80491 4.56148C8.00411 4.71323 8.12519 4.96987 8.12519 5.2466C8.12519 5.69962 7.80296 6.06784 7.40651 6.06784L6.87532 6.07007C6.70346 6.07007 6.56285 5.9094 6.56285 5.71301C6.56285 5.51663 6.70346 5.35595 6.87532 5.35595H7.40651C7.45924 5.35595 7.50025 5.30685 7.50025 5.24883C7.50025 5.21312 7.48463 5.17965 7.45729 5.15956L6.88313 4.72216C6.68393 4.57041 6.56285 4.31377 6.56285 4.03705C6.56285 3.58402 6.88508 3.2158 7.28153 3.2158V3.21357ZM4.31308 3.35639L5.00051 4.40304L5.68794 3.35639C5.76801 3.23365 5.90862 3.18233 6.03751 3.23142C6.1664 3.28052 6.25038 3.41665 6.25038 3.57063V5.71301C6.25038 5.9094 6.10977 6.07007 5.93791 6.07007C5.76605 6.07007 5.62544 5.9094 5.62544 5.71301V4.64182L5.25048 5.21312C5.19189 5.30239 5.09815 5.35595 5.00051 5.35595C4.90286 5.35595 4.80912 5.30239 4.75053 5.21312L4.37557 4.64182V5.71301C4.37557 5.9094 4.23496 6.07007 4.0631 6.07007C3.89124 6.07007 3.75063 5.9094 3.75063 5.71301V3.57063C3.75063 3.41665 3.83656 3.28052 3.9635 3.23142C4.09044 3.18233 4.23105 3.23365 4.31308 3.35639Z"fill=currentColor>`);
1864
- var Sms = (props) => {
1920
+ var _tmpl$21 = /* @__PURE__ */ template(`<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 13 12"><path fill=currentColor d="M9.787.98A5.972 5.972 0 006.5 0c-.668 0-1.31.11-1.911.31L9.187 4.94c.221.222.6.065.6-.248V.98z"></path><path fill=currentColor d="M2.879 1.216A5.99 5.99 0 00.5 6c0 1.134.315 2.195.862 3.1V7.309c0-1.966 2.379-2.946 3.764-1.552l4.995 5.027A5.99 5.99 0 0012.5 6a5.972 5.972 0 00-.862-3.1v1.791c0 1.966-2.379 2.946-3.764 1.552L2.879 1.216z"></path><path fill=currentColor d="M8.411 11.69L3.813 7.06a.351.351 0 00-.6.248v3.711c.944.62 2.073.98 3.287.98.668 0 1.31-.11 1.911-.31z">`);
1921
+ var Novu2 = (props) => {
1865
1922
  return (() => {
1866
1923
  var _el$ = _tmpl$21();
1867
1924
  spread(_el$, props, true, true);
1868
1925
  return _el$;
1869
1926
  })();
1870
1927
  };
1871
- var _tmpl$22 = /* @__PURE__ */ template(`<svg viewBox="0 0 10 8"fill=none xmlns=http://www.w3.org/2000/svg><path d="M1.0119 0.347055C1.06274 0.143703 1.26565 -0.000976562 1.5 -0.000976562H8.5C8.73435 -0.000976562 8.93725 0.143703 8.9881 0.347055L9.9881 4.34707C9.996 4.37871 10 4.41102 10 4.44347V7.55458C10 7.80005 9.77615 7.99902 9.5 7.99902H0.5C0.22386 7.99902 0 7.80005 0 7.55458V4.44347C0 4.41102 0.00399495 4.37871 0.011905 4.34707L1.0119 0.347055ZM1.90108 0.887912L1.12331 3.99902H3.5C3.5 4.73542 4.17155 5.33236 5 5.33236C5.82845 5.33236 6.5 4.73542 6.5 3.99902H8.8767L8.0989 0.887912H1.90108ZM7.292 4.88791C6.9062 5.67276 6.02515 6.22125 5 6.22125C3.97484 6.22125 3.0938 5.67276 2.70802 4.88791H1V7.11013H9V4.88791H7.292Z"fill=currentColor>`);
1872
- var Unread = (props) => {
1928
+ var _tmpl$22 = /* @__PURE__ */ template(`<svg viewBox="0 0 10 16"fill=none xmlns=http://www.w3.org/2000/svg><path d="M4.12531 1.8999C3.94958 1.8999 3.80713 2.04235 3.80713 2.21808C3.80713 2.39382 3.94958 2.53627 4.12531 2.53627H6.0344C6.21013 2.53627 6.35258 2.39382 6.35258 2.21808C6.35258 2.04235 6.21013 1.8999 6.0344 1.8999H4.12531Z"fill=currentColor></path><path d="M4.12531 1.8999C3.94958 1.8999 3.80713 2.04235 3.80713 2.21808C3.80713 2.39382 3.94958 2.53627 4.12531 2.53627H6.0344C6.21013 2.53627 6.35258 2.39382 6.35258 2.21808C6.35258 2.04235 6.21013 1.8999 6.0344 1.8999H4.12531Z"stroke=currentColor></path><path d="M2.69329 1.46818H7.30693C7.75127 1.46818 8.11147 1.82839 8.11147 2.27273V13.7273C8.11147 14.1716 7.75127 14.5318 7.30693 14.5318H2.69329C2.24896 14.5318 1.88875 14.1716 1.88875 13.7273V2.27273C1.88875 1.82839 2.24896 1.46818 2.69329 1.46818ZM2.69329 0.85C1.90754 0.85 1.27057 1.48698 1.27057 2.27273V2.95695C1.17568 3.00972 1.11147 3.111 1.11147 3.22727V3.54545C1.11147 3.64155 1.15532 3.7274 1.22411 3.78409C1.15532 3.84078 1.11147 3.92663 1.11147 4.02273V4.65909C1.11147 4.75519 1.15532 4.84104 1.22411 4.89773C1.15532 4.95442 1.11147 5.04027 1.11147 5.13636V6.09091C1.11147 6.20718 1.17568 6.30846 1.27057 6.36123V13.7273C1.27057 14.513 1.90754 15.15 2.69329 15.15H7.30693C8.09268 15.15 8.72966 14.513 8.72966 13.7273V6.36123C8.82454 6.30846 8.88875 6.20718 8.88875 6.09091V4.81818C8.88875 4.70191 8.82454 4.60063 8.72966 4.54786V2.27273C8.72966 1.48698 8.09268 0.85 7.30693 0.85H2.69329Z"fill=currentColor stroke=currentColor stroke-width=0.3>`);
1929
+ var Push = (props) => {
1873
1930
  return (() => {
1874
1931
  var _el$ = _tmpl$22();
1875
1932
  spread(_el$, props, true, true);
1876
1933
  return _el$;
1877
1934
  })();
1878
1935
  };
1879
- var _tmpl$23 = /* @__PURE__ */ template(`<svg viewBox="0 0 10 10"fill=none xmlns=http://www.w3.org/2000/svg><path d="M4.99992 2.91634V4.99967M4.79992 5.39616L3.27392 6.46553M1.66659 1.66634L8.33325 8.33301M9.16658 4.99967C9.16658 7.30086 7.30111 9.16634 4.99992 9.16634C2.69873 9.16634 0.833252 7.30086 0.833252 4.99967C0.833252 2.69849 2.69873 0.833008 4.99992 0.833008C7.30111 0.833008 9.16658 2.69849 9.16658 4.99967Z"stroke=currentColor stroke-linecap=round stroke-linejoin=round>`);
1880
- var Unsnooze = (props) => {
1936
+ var _tmpl$23 = /* @__PURE__ */ template(`<svg viewBox="0 0 10 10"fill=none xmlns=http://www.w3.org/2000/svg><path d="M5.00051 9.28364C7.76195 9.28364 10 7.20598 10 4.64182C10 2.07766 7.76195 0 5.00051 0C2.23907 0 0.00101462 2.07766 0.00101462 4.64182C0.00101462 5.64829 0.346683 6.57889 0.932561 7.33988C0.895455 7.88663 0.709927 8.37313 0.514634 8.74358C0.407223 8.94889 0.297859 9.11404 0.21779 9.22562C0.176778 9.28141 0.145531 9.32381 0.122096 9.35282C0.110379 9.36621 0.102567 9.37737 0.096708 9.38407L0.0908493 9.39076C0.00101462 9.49342 -0.0243734 9.64517 0.0244497 9.77907C0.0732729 9.91297 0.186543 10 0.313483 10C0.873973 10 1.43837 9.80138 1.90707 9.56929C2.35429 9.34613 2.73511 9.08056 2.96751 8.88641C3.58854 9.14305 4.27597 9.28587 5.00051 9.28587V9.28364ZM1.87582 4.03481C1.87582 3.58179 2.19806 3.21357 2.5945 3.21357H2.96946C3.14132 3.21357 3.28193 3.37425 3.28193 3.57063C3.28193 3.76702 3.14132 3.92769 2.96946 3.92769H2.5945C2.54177 3.92769 2.50076 3.97679 2.50076 4.03481C2.50076 4.07052 2.51638 4.10399 2.54373 4.12408L3.11789 4.56148C3.31904 4.71323 3.43817 4.96987 3.43817 5.2466C3.43817 5.69962 3.11593 6.06784 2.71949 6.06784L2.18829 6.07007C2.01644 6.07007 1.87582 5.9094 1.87582 5.71301C1.87582 5.51663 2.01644 5.35595 2.18829 5.35595H2.71949C2.77222 5.35595 2.81323 5.30685 2.81323 5.24883C2.81323 5.21312 2.79761 5.17965 2.77026 5.15956L2.1961 4.72216C1.99691 4.56818 1.87582 4.31154 1.87582 4.03481ZM7.28153 3.21357H7.65649C7.82834 3.21357 7.96896 3.37425 7.96896 3.57063C7.96896 3.76702 7.82834 3.92769 7.65649 3.92769H7.28153C7.2288 3.92769 7.18779 3.97679 7.18779 4.03481C7.18779 4.07052 7.20341 4.10399 7.23075 4.12408L7.80491 4.56148C8.00411 4.71323 8.12519 4.96987 8.12519 5.2466C8.12519 5.69962 7.80296 6.06784 7.40651 6.06784L6.87532 6.07007C6.70346 6.07007 6.56285 5.9094 6.56285 5.71301C6.56285 5.51663 6.70346 5.35595 6.87532 5.35595H7.40651C7.45924 5.35595 7.50025 5.30685 7.50025 5.24883C7.50025 5.21312 7.48463 5.17965 7.45729 5.15956L6.88313 4.72216C6.68393 4.57041 6.56285 4.31377 6.56285 4.03705C6.56285 3.58402 6.88508 3.2158 7.28153 3.2158V3.21357ZM4.31308 3.35639L5.00051 4.40304L5.68794 3.35639C5.76801 3.23365 5.90862 3.18233 6.03751 3.23142C6.1664 3.28052 6.25038 3.41665 6.25038 3.57063V5.71301C6.25038 5.9094 6.10977 6.07007 5.93791 6.07007C5.76605 6.07007 5.62544 5.9094 5.62544 5.71301V4.64182L5.25048 5.21312C5.19189 5.30239 5.09815 5.35595 5.00051 5.35595C4.90286 5.35595 4.80912 5.30239 4.75053 5.21312L4.37557 4.64182V5.71301C4.37557 5.9094 4.23496 6.07007 4.0631 6.07007C3.89124 6.07007 3.75063 5.9094 3.75063 5.71301V3.57063C3.75063 3.41665 3.83656 3.28052 3.9635 3.23142C4.09044 3.18233 4.23105 3.23365 4.31308 3.35639Z"fill=currentColor>`);
1937
+ var Sms = (props) => {
1881
1938
  return (() => {
1882
1939
  var _el$ = _tmpl$23();
1883
1940
  spread(_el$, props, true, true);
1884
1941
  return _el$;
1885
1942
  })();
1886
1943
  };
1944
+ var _tmpl$24 = /* @__PURE__ */ template(`<svg viewBox="0 0 10 8"fill=none xmlns=http://www.w3.org/2000/svg><path d="M1.0119 0.347055C1.06274 0.143703 1.26565 -0.000976562 1.5 -0.000976562H8.5C8.73435 -0.000976562 8.93725 0.143703 8.9881 0.347055L9.9881 4.34707C9.996 4.37871 10 4.41102 10 4.44347V7.55458C10 7.80005 9.77615 7.99902 9.5 7.99902H0.5C0.22386 7.99902 0 7.80005 0 7.55458V4.44347C0 4.41102 0.00399495 4.37871 0.011905 4.34707L1.0119 0.347055ZM1.90108 0.887912L1.12331 3.99902H3.5C3.5 4.73542 4.17155 5.33236 5 5.33236C5.82845 5.33236 6.5 4.73542 6.5 3.99902H8.8767L8.0989 0.887912H1.90108ZM7.292 4.88791C6.9062 5.67276 6.02515 6.22125 5 6.22125C3.97484 6.22125 3.0938 5.67276 2.70802 4.88791H1V7.11013H9V4.88791H7.292Z"fill=currentColor>`);
1945
+ var Unread = (props) => {
1946
+ return (() => {
1947
+ var _el$ = _tmpl$24();
1948
+ spread(_el$, props, true, true);
1949
+ return _el$;
1950
+ })();
1951
+ };
1952
+ var _tmpl$25 = /* @__PURE__ */ template(`<svg viewBox="0 0 10 10"fill=none xmlns=http://www.w3.org/2000/svg><path d="M4.99992 2.91634V4.99967M4.79992 5.39616L3.27392 6.46553M1.66659 1.66634L8.33325 8.33301M9.16658 4.99967C9.16658 7.30086 7.30111 9.16634 4.99992 9.16634C2.69873 9.16634 0.833252 7.30086 0.833252 4.99967C0.833252 2.69849 2.69873 0.833008 4.99992 0.833008C7.30111 0.833008 9.16658 2.69849 9.16658 4.99967Z"stroke=currentColor stroke-linecap=round stroke-linejoin=round>`);
1953
+ var Unsnooze = (props) => {
1954
+ return (() => {
1955
+ var _el$ = _tmpl$25();
1956
+ spread(_el$, props, true, true);
1957
+ return _el$;
1958
+ })();
1959
+ };
1887
1960
  var IconRendererWrapper = (props) => {
1888
1961
  const appearance = useAppearance();
1889
1962
  const customRenderer = () => {
@@ -1906,10 +1979,27 @@ var IconRendererWrapper = (props) => {
1906
1979
  }
1907
1980
  });
1908
1981
  };
1982
+ var IconRenderer = (props) => {
1983
+ return createComponent(IconRendererWrapper, {
1984
+ get iconKey() {
1985
+ return props.iconKey;
1986
+ },
1987
+ get ["class"]() {
1988
+ return props.class;
1989
+ },
1990
+ get fallback() {
1991
+ return createComponent(props.fallback, {
1992
+ get ["class"]() {
1993
+ return props.class;
1994
+ }
1995
+ });
1996
+ }
1997
+ });
1998
+ };
1909
1999
 
1910
2000
  // src/ui/components/elements/Bell/DefaultBellContainer.tsx
1911
- var _tmpl$24 = /* @__PURE__ */ template(`<span>`);
1912
- var _tmpl$25 = /* @__PURE__ */ template(`<span><div>`);
2001
+ var _tmpl$26 = /* @__PURE__ */ template(`<span>`);
2002
+ var _tmpl$27 = /* @__PURE__ */ template(`<span><div>`);
1913
2003
  var SEVERITY_GLOW_KEYS = {
1914
2004
  ["none" /* NONE */]: "bellSeverityGlow",
1915
2005
  ["high" /* HIGH */]: "severityGlowHigh__bellSeverityGlow",
@@ -1936,7 +2026,7 @@ var BellContainer = (props) => {
1936
2026
  });
1937
2027
  const unreadCount = createMemo(() => props.unreadCount);
1938
2028
  return (() => {
1939
- var _el$ = _tmpl$25(), _el$2 = _el$.firstChild;
2029
+ var _el$ = _tmpl$27(), _el$2 = _el$.firstChild;
1940
2030
  insert(_el$, createComponent(IconRendererWrapper, {
1941
2031
  iconKey: "bell",
1942
2032
  get ["class"]() {
@@ -1967,7 +2057,7 @@ var BellContainer = (props) => {
1967
2057
  return props.unreadCount.total > 0;
1968
2058
  },
1969
2059
  get children() {
1970
- var _el$3 = _tmpl$24();
2060
+ var _el$3 = _tmpl$26();
1971
2061
  effect(() => className(_el$3, style({
1972
2062
  key: "bellDot",
1973
2063
  className: "nt-absolute nt-top-0 nt-right-0 nt-block nt-size-2 nt-transform nt-bg-counter nt-rounded-full nt-border nt-border-background",
@@ -2035,10 +2125,10 @@ var Bell2 = (props) => {
2035
2125
  }
2036
2126
  });
2037
2127
  };
2038
- var _tmpl$26 = /* @__PURE__ */ template(`<svg width=6 height=6 viewBox="0 0 6 6"fill=none xmlns=http://www.w3.org/2000/svg><path d="M5.00175 1.70402L0.705765 6L0 5.29424L4.29548 0.998253H0.509608V0H6V5.49039H5.00175V1.70402Z"fill=currentColor>`);
2128
+ var _tmpl$28 = /* @__PURE__ */ template(`<svg width=6 height=6 viewBox="0 0 6 6"fill=none xmlns=http://www.w3.org/2000/svg><path d="M5.00175 1.70402L0.705765 6L0 5.29424L4.29548 0.998253H0.509608V0H6V5.49039H5.00175V1.70402Z"fill=currentColor>`);
2039
2129
  var ArrowUpRight = (props) => {
2040
2130
  return (() => {
2041
- var _el$ = _tmpl$26();
2131
+ var _el$ = _tmpl$28();
2042
2132
  spread(_el$, props, true, true);
2043
2133
  return _el$;
2044
2134
  })();
@@ -2076,9 +2166,20 @@ function TooltipRoot(props) {
2076
2166
  placement: props.placement || "top",
2077
2167
  strategy: "fixed",
2078
2168
  whileElementsMounted: autoUpdate,
2079
- middleware: [offset(10), flip({
2080
- fallbackPlacements: props.fallbackPlacements || ["bottom"]
2081
- }), shift()]
2169
+ middleware: [
2170
+ offset(10),
2171
+ flip({
2172
+ fallbackPlacements: props.fallbackPlacements || ["bottom"]
2173
+ }),
2174
+ // Configure shift to prevent layout overflow and UI shifts
2175
+ shift({
2176
+ padding: 8,
2177
+ crossAxis: false,
2178
+ // Prevent horizontal shifting that causes layout gaps
2179
+ mainAxis: true
2180
+ // Allow vertical shifting only
2181
+ })
2182
+ ]
2082
2183
  });
2083
2184
  const [uncontrolledOpen, setUncontrolledOpen] = createSignal((_a = props.open) != null ? _a : false);
2084
2185
  const openAccessor = createMemo(() => {
@@ -2248,7 +2349,7 @@ function mergeRefs(...refs) {
2248
2349
  }
2249
2350
 
2250
2351
  // src/ui/components/primitives/Tooltip/TooltipTrigger.tsx
2251
- var _tmpl$27 = /* @__PURE__ */ template(`<button>`);
2352
+ var _tmpl$29 = /* @__PURE__ */ template(`<button>`);
2252
2353
  var TooltipTrigger = (props) => {
2253
2354
  const {
2254
2355
  setReference,
@@ -2283,7 +2384,7 @@ var TooltipTrigger = (props) => {
2283
2384
  }, rest));
2284
2385
  }
2285
2386
  return (() => {
2286
- var _el$ = _tmpl$27();
2387
+ var _el$ = _tmpl$29();
2287
2388
  _el$.addEventListener("mouseleave", () => {
2288
2389
  setOpen(false);
2289
2390
  });
@@ -2318,7 +2419,7 @@ var Tooltip = {
2318
2419
  };
2319
2420
 
2320
2421
  // src/ui/components/primitives/CopyToClipboard.tsx
2321
- var _tmpl$28 = /* @__PURE__ */ template(`<button type=button>`);
2422
+ var _tmpl$30 = /* @__PURE__ */ template(`<button type=button>`);
2322
2423
  function CopyToClipboard(props) {
2323
2424
  const [isCopied, setIsCopied] = createSignal(false);
2324
2425
  const style = useStyle();
@@ -2352,7 +2453,7 @@ function CopyToClipboard(props) {
2352
2453
  get children() {
2353
2454
  return [createComponent(Tooltip.Trigger, {
2354
2455
  asChild: (triggerProps) => (() => {
2355
- var _el$ = _tmpl$28();
2456
+ var _el$ = _tmpl$30();
2356
2457
  spread(_el$, mergeProps(triggerProps, {
2357
2458
  "onClick": handleCopy,
2358
2459
  get ["class"]() {
@@ -2376,7 +2477,7 @@ function CopyToClipboard(props) {
2376
2477
  }
2377
2478
 
2378
2479
  // src/ui/components/elements/Footer.tsx
2379
- var _tmpl$29 = /* @__PURE__ */ template(`<span class="nt-z-10 nt-text-xs nt-text-stripes">`);
2480
+ var _tmpl$31 = /* @__PURE__ */ template(`<span class="nt-z-10 nt-text-xs nt-text-stripes">`);
2380
2481
  var _tmpl$210 = /* @__PURE__ */ template(`<span class="nt-z-10 nt-text-xs">\u2022`);
2381
2482
  var _tmpl$32 = /* @__PURE__ */ template(`<a target=_blank class="nt-z-10 nt-flex nt-items-center nt-gap-1 nt-justify-center"><span class=nt-text-xs>Inbox by</span><span class=nt-text-xs>Novu`);
2382
2483
  var _tmpl$42 = /* @__PURE__ */ template(`<span class=nt-underline>Copy cURL`);
@@ -2416,7 +2517,7 @@ var Footer = () => {
2416
2517
  return isDevelopmentMode();
2417
2518
  },
2418
2519
  get children() {
2419
- var _el$3 = _tmpl$29();
2520
+ var _el$3 = _tmpl$31();
2420
2521
  insert(_el$3, (() => {
2421
2522
  var _c$ = memo(() => !!isKeyless());
2422
2523
  return () => _c$() ? createComponent(Tooltip.Root, {
@@ -2463,7 +2564,7 @@ var Footer = () => {
2463
2564
  return isKeyless();
2464
2565
  },
2465
2566
  get children() {
2466
- var _el$8 = _tmpl$52(), _el$9 = _el$8.firstChild; _el$9.firstChild; var _el$11 = _el$9.nextSibling, _el$13 = _el$11.nextSibling, _el$14 = _el$13.nextSibling;
2567
+ var _el$8 = _tmpl$52(), _el$9 = _el$8.firstChild; _el$9.firstChild; var _el$1 = _el$9.nextSibling, _el$11 = _el$1.nextSibling, _el$12 = _el$11.nextSibling;
2467
2568
  insert(_el$9, createComponent(ArrowUpRight, {
2468
2569
  "class": "nt-ml-1"
2469
2570
  }), null);
@@ -2474,8 +2575,8 @@ var Footer = () => {
2474
2575
  get children() {
2475
2576
  return _tmpl$42();
2476
2577
  }
2477
- }), _el$13);
2478
- _el$14.$$click = (e) => {
2578
+ }), _el$11);
2579
+ _el$12.$$click = (e) => {
2479
2580
  e.preventDefault();
2480
2581
  handleTriggerHelloWorld();
2481
2582
  };
@@ -2517,7 +2618,7 @@ function getCurlCommand() {
2517
2618
  }'`;
2518
2619
  }
2519
2620
  delegateEvents(["click"]);
2520
- var _tmpl$30 = /* @__PURE__ */ template(`<button>`);
2621
+ var _tmpl$33 = /* @__PURE__ */ template(`<button>`);
2521
2622
  var buttonVariants = cva(cn('nt-inline-flex nt-gap-4 nt-items-center nt-justify-center nt-whitespace-nowrap nt-text-sm nt-font-medium nt-transition-colors disabled:nt-pointer-events-none disabled:nt-opacity-50 after:nt-absolute after:nt-content-[""] before:nt-content-[""] before:nt-absolute [&_svg]:nt-pointer-events-none [&_svg]:nt-shrink-0', `focus-visible:nt-outline-none focus-visible:nt-ring-2 focus-visible:nt-rounded-md focus-visible:nt-ring-ring focus-visible:nt-ring-offset-2`), {
2522
2623
  variants: {
2523
2624
  variant: {
@@ -2544,7 +2645,7 @@ var Button = (props) => {
2544
2645
  const [local, rest] = splitProps(props, ["class", "appearanceKey", "context"]);
2545
2646
  const style = useStyle();
2546
2647
  return (() => {
2547
- var _el$ = _tmpl$30();
2648
+ var _el$ = _tmpl$33();
2548
2649
  spread(_el$, mergeProps({
2549
2650
  get ["data-variant"]() {
2550
2651
  return props.variant;
@@ -2566,8 +2667,51 @@ var Button = (props) => {
2566
2667
  return _el$;
2567
2668
  })();
2568
2669
  };
2569
- var _tmpl$31 = /* @__PURE__ */ template(`<div>`);
2570
- var _tmpl$211 = /* @__PURE__ */ template(`<div><span>`);
2670
+ var _tmpl$34 = /* @__PURE__ */ template(`<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round class=size-4><path d="M5 12l5 5l10 -10">`);
2671
+ var _tmpl$211 = /* @__PURE__ */ template(`<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round class=size-4><path d="M5 12l14 0">`);
2672
+ var Checkbox = (props) => {
2673
+ const [local, others] = splitProps(props, ["class"]);
2674
+ return createComponent(CheckboxPrimitive.Root, mergeProps({
2675
+ get ["class"]() {
2676
+ return cn("nt-items-top nt-group nt-relative nt-flex", local.class);
2677
+ }
2678
+ }, others, {
2679
+ get children() {
2680
+ return [createComponent(CheckboxPrimitive.Input, {
2681
+ "class": "nt-peer"
2682
+ }), createComponent(CheckboxPrimitive.Control, {
2683
+ "class": "nt-size-4 nt-shrink-0 nt-rounded-sm nt-border nt-border-primary nt-ring-offset-background data-[disabled]:nt-cursor-not-allowed data-[disabled]:nt-opacity-50 peer-focus-visible:nt-outline-none peer-focus-visible:nt-ring-2 peer-focus-visible:ntring-ring peer-focus-visible:nt-ring-offset-2 data-[checked]:nt-border-none data-[indeterminate]:nt-border-none data-[checked]:nt-bg-primary data-[indeterminate]:nt-bg-primary data-[checked]:nt-text-primary-foreground data-[indeterminate]:nt-text-primary-foreground",
2684
+ get children() {
2685
+ return createComponent(CheckboxPrimitive.Indicator, {
2686
+ get children() {
2687
+ return createComponent(Switch, {
2688
+ get children() {
2689
+ return [createComponent(Match, {
2690
+ get when() {
2691
+ return !others.indeterminate;
2692
+ },
2693
+ get children() {
2694
+ return _tmpl$34();
2695
+ }
2696
+ }), createComponent(Match, {
2697
+ get when() {
2698
+ return others.indeterminate;
2699
+ },
2700
+ get children() {
2701
+ return _tmpl$211();
2702
+ }
2703
+ })];
2704
+ }
2705
+ });
2706
+ }
2707
+ });
2708
+ }
2709
+ })];
2710
+ }
2711
+ }));
2712
+ };
2713
+ var _tmpl$35 = /* @__PURE__ */ template(`<div>`);
2714
+ var _tmpl$212 = /* @__PURE__ */ template(`<div><span>`);
2571
2715
  var DatePickerContext = createContext({
2572
2716
  currentDate: () => /* @__PURE__ */ new Date(),
2573
2717
  setCurrentDate: () => {
@@ -2606,7 +2750,7 @@ var DatePicker = (props) => {
2606
2750
  maxDays: () => props.maxDays
2607
2751
  },
2608
2752
  get children() {
2609
- var _el$ = _tmpl$31();
2753
+ var _el$ = _tmpl$35();
2610
2754
  spread(_el$, mergeProps({
2611
2755
  get ["class"]() {
2612
2756
  return style({
@@ -2675,7 +2819,7 @@ var DatePickerHeader = (props) => {
2675
2819
  return view.getFullYear() === maxDate.getFullYear() && view.getMonth() === maxDate.getMonth();
2676
2820
  };
2677
2821
  return (() => {
2678
- var _el$2 = _tmpl$211(), _el$3 = _el$2.firstChild;
2822
+ var _el$2 = _tmpl$212(), _el$3 = _el$2.firstChild;
2679
2823
  spread(_el$2, mergeProps({
2680
2824
  get ["class"]() {
2681
2825
  return style({
@@ -2837,7 +2981,7 @@ var DatePickerCalendar = (props) => {
2837
2981
  return days;
2838
2982
  };
2839
2983
  return (() => {
2840
- var _el$8 = _tmpl$31();
2984
+ var _el$8 = _tmpl$35();
2841
2985
  _el$8.$$click = (e) => e.stopPropagation();
2842
2986
  spread(_el$8, mergeProps({
2843
2987
  get ["class"]() {
@@ -2856,7 +3000,7 @@ var DatePickerCalendar = (props) => {
2856
3000
  })();
2857
3001
  };
2858
3002
  delegateEvents(["click"]);
2859
- var _tmpl$33 = /* @__PURE__ */ template(`<button>`);
3003
+ var _tmpl$36 = /* @__PURE__ */ template(`<button>`);
2860
3004
  var PopoverClose = (props) => {
2861
3005
  const {
2862
3006
  onClose
@@ -2878,7 +3022,7 @@ var PopoverClose = (props) => {
2878
3022
  }, rest));
2879
3023
  }
2880
3024
  return (() => {
2881
- var _el$ = _tmpl$33();
3025
+ var _el$ = _tmpl$36();
2882
3026
  _el$.$$click = handleClick;
2883
3027
  spread(_el$, mergeProps({
2884
3028
  get ["class"]() {
@@ -2892,12 +3036,12 @@ var PopoverClose = (props) => {
2892
3036
  })();
2893
3037
  };
2894
3038
  delegateEvents(["click"]);
2895
- var _tmpl$34 = /* @__PURE__ */ template(`<div>`);
3039
+ var _tmpl$37 = /* @__PURE__ */ template(`<div>`);
2896
3040
  var Portal2 = (props) => {
2897
3041
  const appearance = useAppearance();
2898
3042
  let currentElement;
2899
3043
  return [(() => {
2900
- var _el$ = _tmpl$34();
3044
+ var _el$ = _tmpl$37();
2901
3045
  use((el) => {
2902
3046
  currentElement = el;
2903
3047
  }, _el$);
@@ -2923,10 +3067,6 @@ var PopoverContext = createContext(void 0);
2923
3067
  function PopoverRoot(props) {
2924
3068
  var _a;
2925
3069
  const [uncontrolledIsOpen, setUncontrolledIsOpen] = createSignal((_a = props.open) != null ? _a : false);
2926
- const onOpenChange = () => {
2927
- var _a2;
2928
- return (_a2 = props.onOpenChange) != null ? _a2 : setUncontrolledIsOpen;
2929
- };
2930
3070
  const open = () => {
2931
3071
  var _a2;
2932
3072
  return (_a2 = props.open) != null ? _a2 : uncontrolledIsOpen();
@@ -2937,9 +3077,20 @@ function PopoverRoot(props) {
2937
3077
  strategy: "absolute",
2938
3078
  placement: props.placement,
2939
3079
  whileElementsMounted: autoUpdate,
2940
- middleware: [offset(10), flip({
2941
- fallbackPlacements: props.fallbackPlacements
2942
- }), shift()]
3080
+ middleware: [
3081
+ offset(10),
3082
+ flip({
3083
+ fallbackPlacements: props.fallbackPlacements
3084
+ }),
3085
+ // Configure shift to prevent layout overflow and UI shifts
3086
+ shift({
3087
+ padding: 8,
3088
+ crossAxis: false,
3089
+ // Prevent horizontal shifting that causes layout gaps
3090
+ mainAxis: true
3091
+ // Allow vertical shifting only
3092
+ })
3093
+ ]
2943
3094
  });
2944
3095
  const floatingStyles = createMemo(() => {
2945
3096
  var _a2, _b;
@@ -2950,10 +3101,18 @@ function PopoverRoot(props) {
2950
3101
  };
2951
3102
  });
2952
3103
  const onClose = () => {
2953
- onOpenChange()(false);
3104
+ if (props.onOpenChange) {
3105
+ props.onOpenChange(false);
3106
+ return;
3107
+ }
3108
+ setUncontrolledIsOpen(false);
2954
3109
  };
2955
3110
  const onToggle = () => {
2956
- onOpenChange()((prev) => !prev);
3111
+ if (props.onOpenChange) {
3112
+ props.onOpenChange(!props.open);
3113
+ return;
3114
+ }
3115
+ setUncontrolledIsOpen((prev) => !prev);
2957
3116
  };
2958
3117
  return createComponent(PopoverContext.Provider, {
2959
3118
  value: {
@@ -2980,7 +3139,7 @@ function usePopover() {
2980
3139
  }
2981
3140
 
2982
3141
  // src/ui/components/primitives/Popover/PopoverContent.tsx
2983
- var _tmpl$35 = /* @__PURE__ */ template(`<div>`);
3142
+ var _tmpl$38 = /* @__PURE__ */ template(`<div>`);
2984
3143
  var popoverContentVariants = () => cn("nt-w-[400px] nt-h-[600px] nt-rounded-xl nt-bg-background", "nt-shadow-popover nt-animate-in nt-slide-in-from-top-2 nt-fade-in nt-cursor-default nt-flex nt-flex-col nt-overflow-hidden nt-border nt-border-border nt-z-10");
2985
3144
  var PopoverContentBody = (props) => {
2986
3145
  const {
@@ -3003,7 +3162,7 @@ var PopoverContentBody = (props) => {
3003
3162
  });
3004
3163
  });
3005
3164
  return (() => {
3006
- var _el$ = _tmpl$35();
3165
+ var _el$ = _tmpl$38();
3007
3166
  use(setFloating, _el$);
3008
3167
  spread(_el$, mergeProps({
3009
3168
  get ["class"]() {
@@ -3079,7 +3238,7 @@ var PopoverContent = (props) => {
3079
3238
  }
3080
3239
  });
3081
3240
  };
3082
- var _tmpl$36 = /* @__PURE__ */ template(`<button>`);
3241
+ var _tmpl$39 = /* @__PURE__ */ template(`<button>`);
3083
3242
  var PopoverTrigger = (props) => {
3084
3243
  const {
3085
3244
  setReference,
@@ -3107,7 +3266,7 @@ var PopoverTrigger = (props) => {
3107
3266
  }, rest));
3108
3267
  }
3109
3268
  return (() => {
3110
- var _el$ = _tmpl$36();
3269
+ var _el$ = _tmpl$39();
3111
3270
  _el$.$$click = handleClick;
3112
3271
  var _ref$2 = ref();
3113
3272
  typeof _ref$2 === "function" && use(_ref$2, _el$);
@@ -3287,7 +3446,7 @@ var useKeyboardNavigation = ({
3287
3446
  };
3288
3447
 
3289
3448
  // src/ui/components/primitives/Tabs/TabsRoot.tsx
3290
- var _tmpl$37 = /* @__PURE__ */ template(`<div>`);
3449
+ var _tmpl$40 = /* @__PURE__ */ template(`<div>`);
3291
3450
  var TabsContext = createContext(void 0);
3292
3451
  var useTabsContext = () => {
3293
3452
  const context = useContext(TabsContext);
@@ -3326,7 +3485,7 @@ var TabsRoot = (props) => {
3326
3485
  setVisibleTabs
3327
3486
  },
3328
3487
  get children() {
3329
- var _el$ = _tmpl$37();
3488
+ var _el$ = _tmpl$40();
3330
3489
  use(setTabsContainer, _el$);
3331
3490
  spread(_el$, mergeProps({
3332
3491
  get ["class"]() {
@@ -3343,7 +3502,7 @@ var TabsRoot = (props) => {
3343
3502
  };
3344
3503
 
3345
3504
  // src/ui/components/primitives/Tabs/TabsContent.tsx
3346
- var _tmpl$38 = /* @__PURE__ */ template(`<div role=tabpanel>`);
3505
+ var _tmpl$41 = /* @__PURE__ */ template(`<div role=tabpanel>`);
3347
3506
  var TabsContent = (props) => {
3348
3507
  const [local, rest] = splitProps(props, ["value", "class", "appearanceKey", "children"]);
3349
3508
  const style = useStyle();
@@ -3355,7 +3514,7 @@ var TabsContent = (props) => {
3355
3514
  return activeTab() === local.value;
3356
3515
  },
3357
3516
  get children() {
3358
- var _el$ = _tmpl$38();
3517
+ var _el$ = _tmpl$41();
3359
3518
  spread(_el$, mergeProps({
3360
3519
  get ["class"]() {
3361
3520
  return style({
@@ -3378,14 +3537,14 @@ var TabsContent = (props) => {
3378
3537
  }
3379
3538
  });
3380
3539
  };
3381
- var _tmpl$39 = /* @__PURE__ */ template(`<div role=tablist>`);
3382
- var _tmpl$212 = /* @__PURE__ */ template(`<div class="nt-relative nt-z-[-1]">`);
3540
+ var _tmpl$43 = /* @__PURE__ */ template(`<div role=tablist>`);
3541
+ var _tmpl$213 = /* @__PURE__ */ template(`<div class="nt-relative nt-z-[-1]">`);
3383
3542
  var tabsListVariants = () => "nt-flex nt-gap-6";
3384
3543
  var TabsList = (props) => {
3385
3544
  const [local, rest] = splitProps(props, ["class", "appearanceKey", "ref", "children"]);
3386
3545
  const style = useStyle();
3387
3546
  return [(() => {
3388
- var _el$ = _tmpl$39();
3547
+ var _el$ = _tmpl$43();
3389
3548
  var _ref$ = local.ref;
3390
3549
  typeof _ref$ === "function" ? use(_ref$, _el$) : local.ref = _el$;
3391
3550
  spread(_el$, mergeProps({
@@ -3398,7 +3557,7 @@ var TabsList = (props) => {
3398
3557
  }, rest), false, true);
3399
3558
  insert(_el$, () => local.children);
3400
3559
  return _el$;
3401
- })(), _tmpl$212()];
3560
+ })(), _tmpl$213()];
3402
3561
  };
3403
3562
  var tabsTriggerVariants = () => cn("nt-relative nt-transition nt-outline-none nt-text-foreground-alpha-600 nt-pb-[0.625rem]", `after:nt-absolute after:nt-content-[''] after:nt-bottom-0 after:nt-left-0 after:nt-w-full after:nt-h-[2px]`, "after:nt-transition-opacity after:nt-duration-200", "data-[state=active]:after:nt-border-b-2 data-[state=active]:after:nt-border-primary data-[state=active]:after:nt-opacity-100", "data-[state=active]:nt-text-foreground after:nt-border-b-transparent after:nt-opacity-0", "focus-visible:nt-outline-none focus-visible:nt-rounded-lg focus-visible:nt-ring-2 focus-visible:nt-ring-ring focus-visible:nt-ring-offset-2");
3404
3563
  var TabsTrigger = (props) => {
@@ -3458,6 +3617,172 @@ var Tabs = {
3458
3617
  Trigger: TabsTrigger,
3459
3618
  Content: TabsContent
3460
3619
  };
3620
+ var _tmpl$44 = /* @__PURE__ */ template(`<input>`);
3621
+ var inputVariants = cva(cn(`focus-visible:nt-outline-none focus-visible:nt-ring-2 focus-visible:nt-rounded-md focus-visible:nt-ring-ring focus-visible:nt-ring-offset-2`), {
3622
+ variants: {
3623
+ variant: {
3624
+ default: "nt-border nt-border-neutral-200 nt-rounded-md nt-p-1 nt-bg-background"
3625
+ },
3626
+ size: {
3627
+ default: "nt-h-9",
3628
+ sm: "nt-h-8 nt-text-sm",
3629
+ xs: "nt-h-7 nt-text-xs"
3630
+ }
3631
+ },
3632
+ defaultVariants: {
3633
+ variant: "default",
3634
+ size: "default"
3635
+ }
3636
+ });
3637
+ var Input2 = (props) => {
3638
+ const [local, rest] = splitProps(props, ["class", "appearanceKey"]);
3639
+ const style = useStyle();
3640
+ return (() => {
3641
+ var _el$ = _tmpl$44();
3642
+ spread(_el$, mergeProps({
3643
+ get ["data-variant"]() {
3644
+ return props.variant;
3645
+ },
3646
+ get ["data-size"]() {
3647
+ return props.size;
3648
+ },
3649
+ get ["class"]() {
3650
+ return style({
3651
+ key: local.appearanceKey || "input",
3652
+ className: cn(inputVariants({
3653
+ variant: props.variant,
3654
+ size: props.size
3655
+ }), local.class)
3656
+ });
3657
+ }
3658
+ }, rest), false, false);
3659
+ return _el$;
3660
+ })();
3661
+ };
3662
+
3663
+ // src/ui/components/primitives/TimeSelect.tsx
3664
+ var _tmpl$45 = /* @__PURE__ */ template(`<span class=nt-text-sm>`);
3665
+ var _tmpl$214 = /* @__PURE__ */ template(`<span><span>`);
3666
+ var _tmpl$310 = /* @__PURE__ */ template(`<span>`);
3667
+ var hours = Array.from({
3668
+ length: 48
3669
+ }, (_, i) => {
3670
+ const hour = Math.floor(i / 2);
3671
+ const minute = i % 2 === 0 ? "00" : "30";
3672
+ const period = hour < 12 ? "AM" : "PM";
3673
+ const displayHour = hour === 0 ? 12 : hour > 12 ? hour - 12 : hour;
3674
+ const formattedHour = displayHour.toString().padStart(2, "0");
3675
+ return `${formattedHour}:${minute} ${period}`;
3676
+ });
3677
+ var TimeSelectItem = (props) => {
3678
+ const style = useStyle();
3679
+ return createComponent(Dropdown.Item, {
3680
+ get ["class"]() {
3681
+ return style({
3682
+ key: "timeSelect__dropdownItem",
3683
+ className: cn(dropdownItemVariants(), "nt-flex nt-gap-2 nt-justify-between")
3684
+ });
3685
+ },
3686
+ get onClick() {
3687
+ return props.onClick;
3688
+ },
3689
+ get children() {
3690
+ return [(() => {
3691
+ var _el$ = _tmpl$45();
3692
+ insert(_el$, () => props.hour);
3693
+ return _el$;
3694
+ })(), createComponent(Show, {
3695
+ get when() {
3696
+ return props.isSelected;
3697
+ },
3698
+ get children() {
3699
+ return createComponent(IconRenderer, {
3700
+ iconKey: "check",
3701
+ get ["class"]() {
3702
+ return style({
3703
+ key: "timeSelect__dropdownItemCheck__icon",
3704
+ className: "nt-size-2.5 -nt-mt-[2px]",
3705
+ iconKey: "check"
3706
+ });
3707
+ },
3708
+ fallback: Check
3709
+ });
3710
+ }
3711
+ })];
3712
+ }
3713
+ });
3714
+ };
3715
+ var TimeSelect = (props) => {
3716
+ const style = useStyle();
3717
+ const time = createMemo(() => {
3718
+ var _a;
3719
+ return (_a = props.value) == null ? void 0 : _a.split(" ")[0];
3720
+ });
3721
+ const amPm = createMemo(() => {
3722
+ var _a;
3723
+ if (!time()) return "";
3724
+ return ((_a = props.value) == null ? void 0 : _a.split(" ")[1]) === "PM" ? "PM" : "AM";
3725
+ });
3726
+ return createComponent(Dropdown.Root, {
3727
+ get children() {
3728
+ return [createComponent(Dropdown.Trigger, {
3729
+ get disabled() {
3730
+ return props.disabled;
3731
+ },
3732
+ get ["class"]() {
3733
+ return style({
3734
+ key: "timeSelect__dropdownTrigger",
3735
+ className: "nt-w-full"
3736
+ });
3737
+ },
3738
+ get children() {
3739
+ var _el$2 = _tmpl$214(), _el$3 = _el$2.firstChild;
3740
+ insert(_el$3, () => {
3741
+ var _a;
3742
+ return (_a = time()) != null ? _a : "-";
3743
+ });
3744
+ insert(_el$2, (() => {
3745
+ var _c$ = memo(() => !!amPm());
3746
+ return () => _c$() && (() => {
3747
+ var _el$4 = _tmpl$310();
3748
+ insert(_el$4, amPm);
3749
+ return _el$4;
3750
+ })();
3751
+ })(), null);
3752
+ effect(() => className(_el$2, style({
3753
+ key: "timeSelect__time",
3754
+ className: cn(inputVariants({
3755
+ size: "xs",
3756
+ variant: "default"
3757
+ }), "nt-min-w-[74px] nt-flex nt-px-2 nt-py-1.5 nt-items-center nt-justify-between nt-w-full nt-text-sm", {
3758
+ "nt-justify-center nt-text-neutral-alpha-500": props.disabled || !time()
3759
+ })
3760
+ })));
3761
+ return _el$2;
3762
+ }
3763
+ }), createComponent(Dropdown.Content, {
3764
+ portal: true,
3765
+ appearanceKey: "timeSelect__dropdownContent",
3766
+ "class": "-nt-mt-2 nt-rounded-md nt-min-w-[120px] nt-max-w-[120px] nt-max-h-[160px] nt-overflow-y-auto",
3767
+ get children() {
3768
+ return createComponent(For, {
3769
+ each: hours,
3770
+ children: (hour) => createComponent(TimeSelectItem, {
3771
+ hour,
3772
+ get isSelected() {
3773
+ return props.value === hour;
3774
+ },
3775
+ onClick: () => {
3776
+ var _a;
3777
+ return (_a = props.onChange) == null ? void 0 : _a.call(props, hour);
3778
+ }
3779
+ })
3780
+ });
3781
+ }
3782
+ })];
3783
+ }
3784
+ });
3785
+ };
3461
3786
 
3462
3787
  // src/ui/components/elements/InboxStatus/constants.ts
3463
3788
  var notificationStatusOptionsLocalizationKeys = {
@@ -3472,8 +3797,8 @@ var inboxFilterLocalizationKeys = {
3472
3797
  archived: "inbox.filters.labels.archived",
3473
3798
  snoozed: "inbox.filters.labels.snoozed"
3474
3799
  };
3475
- var _tmpl$40 = /* @__PURE__ */ template(`<span><span>`);
3476
- var _tmpl$213 = /* @__PURE__ */ template(`<span>`);
3800
+ var _tmpl$46 = /* @__PURE__ */ template(`<span><span>`);
3801
+ var _tmpl$215 = /* @__PURE__ */ template(`<span>`);
3477
3802
  var cases = [{
3478
3803
  status: "unreadRead" /* UNREAD_READ */,
3479
3804
  iconKey: "unread",
@@ -3548,7 +3873,7 @@ var StatusItem = (props) => {
3548
3873
  },
3549
3874
  get children() {
3550
3875
  return [(() => {
3551
- var _el$ = _tmpl$40(), _el$2 = _el$.firstChild;
3876
+ var _el$ = _tmpl$46(), _el$2 = _el$.firstChild;
3552
3877
  insert(_el$, createComponent(IconRendererWrapper, {
3553
3878
  get iconKey() {
3554
3879
  return props.iconKey;
@@ -3556,7 +3881,7 @@ var StatusItem = (props) => {
3556
3881
  "class": itemIconClass,
3557
3882
  get fallback() {
3558
3883
  return (() => {
3559
- var _el$3 = _tmpl$213();
3884
+ var _el$3 = _tmpl$215();
3560
3885
  className(_el$3, itemIconClass);
3561
3886
  insert(_el$3, () => props.icon());
3562
3887
  return _el$3;
@@ -3603,7 +3928,7 @@ var StatusItem = (props) => {
3603
3928
  };
3604
3929
 
3605
3930
  // src/ui/components/elements/InboxStatus/InboxStatusDropdown.tsx
3606
- var _tmpl$41 = /* @__PURE__ */ template(`<span>`);
3931
+ var _tmpl$47 = /* @__PURE__ */ template(`<span>`);
3607
3932
  var StatusDropdown = () => {
3608
3933
  const style = useStyle();
3609
3934
  const {
@@ -3636,7 +3961,7 @@ var StatusDropdown = () => {
3636
3961
  }, triggerProps, {
3637
3962
  get children() {
3638
3963
  return [(() => {
3639
- var _el$ = _tmpl$41();
3964
+ var _el$ = _tmpl$47();
3640
3965
  insert(_el$, () => t(inboxFilterLocalizationKeys[status()]));
3641
3966
  effect((_p$) => {
3642
3967
  var _v$ = inboxFilterLocalizationKeys[status()], _v$2 = style({
@@ -3797,7 +4122,7 @@ var useReadAll = (props) => {
3797
4122
  };
3798
4123
 
3799
4124
  // src/ui/components/elements/Header/MoreActionsOptions.tsx
3800
- var _tmpl$43 = /* @__PURE__ */ template(`<span>`);
4125
+ var _tmpl$48 = /* @__PURE__ */ template(`<span>`);
3801
4126
  var iconKeyToComponentMap = {
3802
4127
  markAsRead: MarkAsRead,
3803
4128
  markAsArchived: MarkAsArchived,
@@ -3872,7 +4197,7 @@ var ActionsItem = (props) => {
3872
4197
  });
3873
4198
  }
3874
4199
  }), (() => {
3875
- var _el$ = _tmpl$43();
4200
+ var _el$ = _tmpl$48();
3876
4201
  insert(_el$, () => t(props.localizationKey));
3877
4202
  effect((_p$) => {
3878
4203
  var _v$ = props.localizationKey, _v$2 = style({
@@ -3945,7 +4270,7 @@ var MoreActionsDropdown = () => {
3945
4270
  };
3946
4271
 
3947
4272
  // src/ui/components/elements/Header/ActionsContainer.tsx
3948
- var _tmpl$44 = /* @__PURE__ */ template(`<div>`);
4273
+ var _tmpl$49 = /* @__PURE__ */ template(`<div>`);
3949
4274
  var ActionsContainer = (props) => {
3950
4275
  const style = useStyle();
3951
4276
  const cogsIconClass = style({
@@ -3954,7 +4279,7 @@ var ActionsContainer = (props) => {
3954
4279
  iconKey: "cogs"
3955
4280
  });
3956
4281
  return (() => {
3957
- var _el$ = _tmpl$44();
4282
+ var _el$ = _tmpl$49();
3958
4283
  insert(_el$, createComponent(MoreActionsDropdown, {}), null);
3959
4284
  insert(_el$, createComponent(Show, {
3960
4285
  get when() {
@@ -3989,11 +4314,11 @@ var ActionsContainer = (props) => {
3989
4314
  };
3990
4315
 
3991
4316
  // src/ui/components/elements/Header/Header.tsx
3992
- var _tmpl$45 = /* @__PURE__ */ template(`<div>`);
4317
+ var _tmpl$50 = /* @__PURE__ */ template(`<div>`);
3993
4318
  var Header = (props) => {
3994
4319
  const style = useStyle();
3995
4320
  return (() => {
3996
- var _el$ = _tmpl$45();
4321
+ var _el$ = _tmpl$50();
3997
4322
  insert(_el$, createComponent(StatusDropdown, {}), null);
3998
4323
  insert(_el$, createComponent(ActionsContainer, {
3999
4324
  get showPreferences() {
@@ -4007,12 +4332,12 @@ var Header = (props) => {
4007
4332
  return _el$;
4008
4333
  })();
4009
4334
  };
4010
- var _tmpl$46 = /* @__PURE__ */ template(`<div>`);
4011
- var _tmpl$214 = /* @__PURE__ */ template(`<div><div></div><div>`);
4335
+ var _tmpl$51 = /* @__PURE__ */ template(`<div>`);
4336
+ var _tmpl$216 = /* @__PURE__ */ template(`<div><div></div><div>`);
4012
4337
  var SkeletonText = (props) => {
4013
4338
  const style = useStyle();
4014
4339
  return (() => {
4015
- var _el$ = _tmpl$46();
4340
+ var _el$ = _tmpl$51();
4016
4341
  effect(() => className(_el$, style({
4017
4342
  key: props.appearanceKey,
4018
4343
  className: cn("nt-w-full nt-h-3 nt-rounded nt-bg-gradient-to-r nt-from-foreground-alpha-50 nt-to-transparent", props.class)
@@ -4023,7 +4348,7 @@ var SkeletonText = (props) => {
4023
4348
  var SkeletonAvatar = (props) => {
4024
4349
  const style = useStyle();
4025
4350
  return (() => {
4026
- var _el$2 = _tmpl$46();
4351
+ var _el$2 = _tmpl$51();
4027
4352
  effect(() => className(_el$2, style({
4028
4353
  key: props.appearanceKey,
4029
4354
  className: cn("nt-size-8 nt-rounded-lg nt-bg-gradient-to-r nt-from-foreground-alpha-50 nt-to-transparent", props.class)
@@ -4034,7 +4359,7 @@ var SkeletonAvatar = (props) => {
4034
4359
  var SkeletonSwitch = (props) => {
4035
4360
  const style = useStyle();
4036
4361
  return (() => {
4037
- var _el$3 = _tmpl$214(), _el$4 = _el$3.firstChild, _el$5 = _el$4.nextSibling;
4362
+ var _el$3 = _tmpl$216(), _el$4 = _el$3.firstChild, _el$5 = _el$4.nextSibling;
4038
4363
  effect((_p$) => {
4039
4364
  var _v$ = style({
4040
4365
  key: props.appearanceKey,
@@ -4060,7 +4385,7 @@ var SkeletonSwitch = (props) => {
4060
4385
  };
4061
4386
 
4062
4387
  // src/ui/components/elements/Preferences/PreferencesListSkeleton.tsx
4063
- var _tmpl$47 = /* @__PURE__ */ template(`<div>`);
4388
+ var _tmpl$53 = /* @__PURE__ */ template(`<div>`);
4064
4389
  var channelIcons = [InApp, Email, Sms, Push, Chat];
4065
4390
  var PreferencesListSkeleton = (props) => {
4066
4391
  const style = useStyle();
@@ -4068,7 +4393,7 @@ var PreferencesListSkeleton = (props) => {
4068
4393
  t
4069
4394
  } = useLocalization();
4070
4395
  return (() => {
4071
- var _el$ = _tmpl$47();
4396
+ var _el$ = _tmpl$53();
4072
4397
  insert(_el$, createComponent(Motion.div, {
4073
4398
  get animate() {
4074
4399
  return {
@@ -4119,7 +4444,7 @@ var PreferencesListSkeleton = (props) => {
4119
4444
  });
4120
4445
  }
4121
4446
  }), (() => {
4122
- var _el$3 = _tmpl$47();
4447
+ var _el$3 = _tmpl$53();
4123
4448
  insert(_el$3, createComponent(SkeletonText, {
4124
4449
  appearanceKey: "notificationList__skeletonText",
4125
4450
  "class": "nt-h-2 nt-w-1/3 nt-bg-neutral-alpha-50 nt-rounded"
@@ -4140,7 +4465,7 @@ var PreferencesListSkeleton = (props) => {
4140
4465
  }
4141
4466
  });
4142
4467
  })), (() => {
4143
- var _el$2 = _tmpl$47();
4468
+ var _el$2 = _tmpl$53();
4144
4469
  effect(() => className(_el$2, style({
4145
4470
  key: "notificationListEmptyNoticeOverlay",
4146
4471
  className: "nt-absolute nt-size-full nt-z-10 nt-inset-0 nt-bg-gradient-to-b nt-from-transparent nt-to-background"
@@ -4192,15 +4517,15 @@ var PreferencesListSkeleton = (props) => {
4192
4517
  return _el$;
4193
4518
  })();
4194
4519
  };
4195
- var _tmpl$48 = /* @__PURE__ */ template(`<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 14 14"><path fill=currentColor d="M2.8 8.575V5.162a2.362 2.362 0 1 1 4.725 0v3.675a1.313 1.313 0 1 0 2.625 0V5.335a1.575 1.575 0 1 1 1.05 0v3.502a2.362 2.362 0 1 1-4.725 0V5.162a1.312 1.312 0 1 0-2.625 0v3.413h1.575l-2.1 2.625-2.1-2.625H2.8Z"></path><path fill=url(#a) d="M2.8 8.575V5.162a2.362 2.362 0 1 1 4.725 0v3.675a1.313 1.313 0 1 0 2.625 0V5.335a1.575 1.575 0 1 1 1.05 0v3.502a2.362 2.362 0 1 1-4.725 0V5.162a1.312 1.312 0 1 0-2.625 0v3.413h1.575l-2.1 2.625-2.1-2.625H2.8Z"></path><defs><linearGradient id=a x1=1.225 x2=12.251 y1=6.722 y2=6.779 gradientUnits=userSpaceOnUse><stop stop-color=currentColor></stop><stop offset=1 stop-color=currentColor>`);
4520
+ var _tmpl$54 = /* @__PURE__ */ template(`<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 14 14"><path fill=currentColor d="M2.8 8.575V5.162a2.362 2.362 0 1 1 4.725 0v3.675a1.313 1.313 0 1 0 2.625 0V5.335a1.575 1.575 0 1 1 1.05 0v3.502a2.362 2.362 0 1 1-4.725 0V5.162a1.312 1.312 0 1 0-2.625 0v3.413h1.575l-2.1 2.625-2.1-2.625H2.8Z"></path><path fill=url(#a) d="M2.8 8.575V5.162a2.362 2.362 0 1 1 4.725 0v3.675a1.313 1.313 0 1 0 2.625 0V5.335a1.575 1.575 0 1 1 1.05 0v3.502a2.362 2.362 0 1 1-4.725 0V5.162a1.312 1.312 0 1 0-2.625 0v3.413h1.575l-2.1 2.625-2.1-2.625H2.8Z"></path><defs><linearGradient id=a x1=1.225 x2=12.251 y1=6.722 y2=6.779 gradientUnits=userSpaceOnUse><stop stop-color=currentColor></stop><stop offset=1 stop-color=currentColor>`);
4196
4521
  var RouteFill = (props) => {
4197
4522
  return (() => {
4198
- var _el$ = _tmpl$48();
4523
+ var _el$ = _tmpl$54();
4199
4524
  spread(_el$, props, true, true);
4200
4525
  return _el$;
4201
4526
  })();
4202
4527
  };
4203
- var _tmpl$49 = /* @__PURE__ */ template(`<div><div>`);
4528
+ var _tmpl$55 = /* @__PURE__ */ template(`<div><div>`);
4204
4529
  var isInterpolateSizeSupported = () => {
4205
4530
  return CSS.supports("interpolate-size", "allow-keywords");
4206
4531
  };
@@ -4233,7 +4558,7 @@ var Collapsible = (props) => {
4233
4558
  return props.open ? `${scrollHeight()}px` : "0px";
4234
4559
  };
4235
4560
  return (() => {
4236
- var _el$ = _tmpl$49(), _el$2 = _el$.firstChild;
4561
+ var _el$ = _tmpl$55(), _el$2 = _el$.firstChild;
4237
4562
  spread(_el$, mergeProps({
4238
4563
  get ["class"]() {
4239
4564
  return style({
@@ -4256,8 +4581,8 @@ var Collapsible = (props) => {
4256
4581
  return _el$;
4257
4582
  })();
4258
4583
  };
4259
- var _tmpl$50 = /* @__PURE__ */ template(`<label><input type=checkbox class=nt-sr-only><div>`);
4260
- var Switch = (props) => {
4584
+ var _tmpl$56 = /* @__PURE__ */ template(`<label><input type=checkbox class=nt-sr-only><div>`);
4585
+ var Switch2 = (props) => {
4261
4586
  const style = useStyle();
4262
4587
  const handleChange = () => {
4263
4588
  var _a;
@@ -4282,7 +4607,7 @@ var Switch = (props) => {
4282
4607
  const state = () => props.state;
4283
4608
  const disabled = () => props.disabled;
4284
4609
  return (() => {
4285
- var _el$ = _tmpl$50(), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling;
4610
+ var _el$ = _tmpl$56(), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling;
4286
4611
  _el$2.addEventListener("change", handleChange);
4287
4612
  effect((_p$) => {
4288
4613
  var _v$ = style({
@@ -4314,7 +4639,7 @@ var Switch = (props) => {
4314
4639
  };
4315
4640
 
4316
4641
  // src/ui/components/elements/Preferences/ChannelRow.tsx
4317
- var _tmpl$51 = /* @__PURE__ */ template(`<div><div><div></div><span></span></div><div>`);
4642
+ var _tmpl$57 = /* @__PURE__ */ template(`<div><div><div></div><span></span></div><div>`);
4318
4643
  var ChannelRow = (props) => {
4319
4644
  const style = useStyle();
4320
4645
  const updatePreference = (enabled) => __async(void 0, null, function* () {
@@ -4328,7 +4653,7 @@ var ChannelRow = (props) => {
4328
4653
  const state = () => props.channel.state;
4329
4654
  const channel = () => props.channel.channel;
4330
4655
  return (() => {
4331
- var _el$ = _tmpl$51(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$4 = _el$3.nextSibling, _el$5 = _el$2.nextSibling;
4656
+ var _el$ = _tmpl$57(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$4 = _el$3.nextSibling, _el$5 = _el$2.nextSibling;
4332
4657
  insert(_el$3, createComponent(ChannelIcon, {
4333
4658
  appearanceKey: "channel__icon",
4334
4659
  get channel() {
@@ -4343,7 +4668,7 @@ var ChannelRow = (props) => {
4343
4668
  }
4344
4669
  }));
4345
4670
  insert(_el$4, () => getLabel(channel()));
4346
- insert(_el$5, createComponent(Switch, {
4671
+ insert(_el$5, createComponent(Switch2, {
4347
4672
  get state() {
4348
4673
  return state();
4349
4674
  },
@@ -4531,9 +4856,9 @@ var getLabel = (channel) => {
4531
4856
  };
4532
4857
 
4533
4858
  // src/ui/components/elements/Preferences/PreferencesRow.tsx
4534
- var _tmpl$53 = /* @__PURE__ */ template(`<div>`);
4535
- var _tmpl$215 = /* @__PURE__ */ template(`<div><div><div><div><span></span></div></div><span>`);
4536
- var _tmpl$310 = /* @__PURE__ */ template(`<span>`);
4859
+ var _tmpl$58 = /* @__PURE__ */ template(`<div>`);
4860
+ var _tmpl$217 = /* @__PURE__ */ template(`<div><div><div><div><span></span></div></div><span>`);
4861
+ var _tmpl$311 = /* @__PURE__ */ template(`<span>`);
4537
4862
  var iconKeyToComponentMap2 = {
4538
4863
  cogs: Cogs,
4539
4864
  routeFill: RouteFill
@@ -4560,7 +4885,7 @@ var PreferencesRow = (props) => {
4560
4885
  return channels().length > 0;
4561
4886
  },
4562
4887
  get children() {
4563
- var _el$ = _tmpl$215(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$4 = _el$3.firstChild, _el$5 = _el$4.firstChild, _el$6 = _el$3.nextSibling;
4888
+ var _el$ = _tmpl$217(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$4 = _el$3.firstChild, _el$5 = _el$4.firstChild, _el$6 = _el$3.nextSibling;
4564
4889
  _el$2.$$click = () => {
4565
4890
  setIsOpenChannels((prev) => !prev);
4566
4891
  };
@@ -4645,7 +4970,7 @@ var PreferencesRow = (props) => {
4645
4970
  return isOpenChannels();
4646
4971
  },
4647
4972
  get children() {
4648
- var _el$7 = _tmpl$53();
4973
+ var _el$7 = _tmpl$58();
4649
4974
  insert(_el$7, createComponent(Index, {
4650
4975
  get each() {
4651
4976
  return channels();
@@ -4715,7 +5040,7 @@ var PreferencesRow = (props) => {
4715
5040
  context: {
4716
5041
  preference: props.preference
4717
5042
  }
4718
- }), _v$10 = isOpenChannels();
5043
+ }), _v$0 = isOpenChannels();
4719
5044
  _v$ !== _p$.e && className(_el$, _p$.e = _v$);
4720
5045
  _v$2 !== _p$.t && setAttribute(_el$, "data-open", _p$.t = _v$2);
4721
5046
  _v$3 !== _p$.a && className(_el$2, _p$.a = _v$3);
@@ -4725,7 +5050,7 @@ var PreferencesRow = (props) => {
4725
5050
  _v$7 !== _p$.s && setAttribute(_el$5, "data-localization", _p$.s = _v$7);
4726
5051
  _v$8 !== _p$.h && setAttribute(_el$5, "data-open", _p$.h = _v$8);
4727
5052
  _v$9 !== _p$.r && className(_el$6, _p$.r = _v$9);
4728
- _v$10 !== _p$.d && setAttribute(_el$6, "data-open", _p$.d = _v$10);
5053
+ _v$0 !== _p$.d && setAttribute(_el$6, "data-open", _p$.d = _v$0);
4729
5054
  return _p$;
4730
5055
  }, {
4731
5056
  e: void 0,
@@ -4751,7 +5076,7 @@ var WorkflowDescription = (props) => {
4751
5076
  if (props.channels[key] !== void 0) {
4752
5077
  const isDisabled = !props.channels[key];
4753
5078
  const element = (() => {
4754
- var _el$8 = _tmpl$310();
5079
+ var _el$8 = _tmpl$311();
4755
5080
  setAttribute(_el$8, "data-disabled", isDisabled);
4756
5081
  insert(_el$8, () => getLabel(key));
4757
5082
  effect(() => className(_el$8, style({
@@ -4769,7 +5094,7 @@ var WorkflowDescription = (props) => {
4769
5094
  return channels.map((c, index) => [c, memo(() => index < channels.length - 1 && ", ")]);
4770
5095
  };
4771
5096
  return (() => {
4772
- var _el$9 = _tmpl$53();
5097
+ var _el$9 = _tmpl$58();
4773
5098
  insert(_el$9, channelNames);
4774
5099
  effect(() => className(_el$9, style({
4775
5100
  key: props.appearanceKey,
@@ -4822,26 +5147,26 @@ var DefaultPreferences = (props) => {
4822
5147
  }
4823
5148
  });
4824
5149
  };
4825
- var _tmpl$54 = /* @__PURE__ */ template(`<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 16 16"><path fill=currentColor d="M8 13A5 5 0 1 1 8 3a5 5 0 0 1 0 10Zm0-1a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm.5-4.75V9.5H9v1H7v-1h.5V8.25H7v-1h1.5ZM8.75 6a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z">`);
5150
+ var _tmpl$59 = /* @__PURE__ */ template(`<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 16 16"><path fill=currentColor d="M8 13A5 5 0 1 1 8 3a5 5 0 0 1 0 10Zm0-1a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm.5-4.75V9.5H9v1H7v-1h.5V8.25H7v-1h1.5ZM8.75 6a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z">`);
4826
5151
  var Info = (props) => {
4827
5152
  return (() => {
4828
- var _el$ = _tmpl$54();
5153
+ var _el$ = _tmpl$59();
4829
5154
  spread(_el$, props, true, true);
4830
5155
  return _el$;
4831
5156
  })();
4832
5157
  };
4833
- var _tmpl$55 = /* @__PURE__ */ template(`<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 14 14"><path fill=currentColor d="M5.95 1.75c.29 0 .525.235.525.525v2.1c0 .29-.235.525-.525.525H4.9v1.05h2.625v-.525c0-.29.235-.525.525-.525h3.15c.29 0 .525.235.525.525v2.1c0 .29-.235.525-.525.525H8.05a.525.525 0 0 1-.525-.525V7H4.9v3.15h2.625v-.525c0-.29.235-.525.525-.525h3.15c.29 0 .525.235.525.525v2.1c0 .29-.235.525-.525.525H8.05a.525.525 0 0 1-.525-.525V11.2h-3.15a.525.525 0 0 1-.525-.525V4.9H2.8a.525.525 0 0 1-.525-.525v-2.1c0-.29.235-.525.525-.525h3.15Zm4.725 8.4h-2.1v1.05h2.1v-1.05Zm0-4.2h-2.1V7h2.1V5.95ZM5.425 2.8h-2.1v1.05h2.1V2.8Z"></path><path fill=url(#a) d="M5.95 1.75c.29 0 .525.235.525.525v2.1c0 .29-.235.525-.525.525H4.9v1.05h2.625v-.525c0-.29.235-.525.525-.525h3.15c.29 0 .525.235.525.525v2.1c0 .29-.235.525-.525.525H8.05a.525.525 0 0 1-.525-.525V7H4.9v3.15h2.625v-.525c0-.29.235-.525.525-.525h3.15c.29 0 .525.235.525.525v2.1c0 .29-.235.525-.525.525H8.05a.525.525 0 0 1-.525-.525V11.2h-3.15a.525.525 0 0 1-.525-.525V4.9H2.8a.525.525 0 0 1-.525-.525v-2.1c0-.29.235-.525.525-.525h3.15Zm4.725 8.4h-2.1v1.05h2.1v-1.05Zm0-4.2h-2.1V7h2.1V5.95ZM5.425 2.8h-2.1v1.05h2.1V2.8Z"></path><defs><linearGradient id=a x1=2.275 x2=11.725 y1=6.982 y2=7.018 gradientUnits=userSpaceOnUse><stop stop-color=currentColor></stop><stop offset=1 stop-color=currentColor>`);
5158
+ var _tmpl$60 = /* @__PURE__ */ template(`<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 14 14"><path fill=currentColor d="M5.95 1.75c.29 0 .525.235.525.525v2.1c0 .29-.235.525-.525.525H4.9v1.05h2.625v-.525c0-.29.235-.525.525-.525h3.15c.29 0 .525.235.525.525v2.1c0 .29-.235.525-.525.525H8.05a.525.525 0 0 1-.525-.525V7H4.9v3.15h2.625v-.525c0-.29.235-.525.525-.525h3.15c.29 0 .525.235.525.525v2.1c0 .29-.235.525-.525.525H8.05a.525.525 0 0 1-.525-.525V11.2h-3.15a.525.525 0 0 1-.525-.525V4.9H2.8a.525.525 0 0 1-.525-.525v-2.1c0-.29.235-.525.525-.525h3.15Zm4.725 8.4h-2.1v1.05h2.1v-1.05Zm0-4.2h-2.1V7h2.1V5.95ZM5.425 2.8h-2.1v1.05h2.1V2.8Z"></path><path fill=url(#a) d="M5.95 1.75c.29 0 .525.235.525.525v2.1c0 .29-.235.525-.525.525H4.9v1.05h2.625v-.525c0-.29.235-.525.525-.525h3.15c.29 0 .525.235.525.525v2.1c0 .29-.235.525-.525.525H8.05a.525.525 0 0 1-.525-.525V7H4.9v3.15h2.625v-.525c0-.29.235-.525.525-.525h3.15c.29 0 .525.235.525.525v2.1c0 .29-.235.525-.525.525H8.05a.525.525 0 0 1-.525-.525V11.2h-3.15a.525.525 0 0 1-.525-.525V4.9H2.8a.525.525 0 0 1-.525-.525v-2.1c0-.29.235-.525.525-.525h3.15Zm4.725 8.4h-2.1v1.05h2.1v-1.05Zm0-4.2h-2.1V7h2.1V5.95ZM5.425 2.8h-2.1v1.05h2.1V2.8Z"></path><defs><linearGradient id=a x1=2.275 x2=11.725 y1=6.982 y2=7.018 gradientUnits=userSpaceOnUse><stop stop-color=currentColor></stop><stop offset=1 stop-color=currentColor>`);
4834
5159
  var NodeTree = (props) => {
4835
5160
  return (() => {
4836
- var _el$ = _tmpl$55();
5161
+ var _el$ = _tmpl$60();
4837
5162
  spread(_el$, props, true, true);
4838
5163
  return _el$;
4839
5164
  })();
4840
5165
  };
4841
5166
 
4842
5167
  // src/ui/components/elements/Preferences/GroupedPreferencesRow.tsx
4843
- var _tmpl$56 = /* @__PURE__ */ template(`<div><div><span data-localization=preferences.group.info></span></div><div>`);
4844
- var _tmpl$216 = /* @__PURE__ */ template(`<div><div><div><span></span></div><div><span>`);
5168
+ var _tmpl$61 = /* @__PURE__ */ template(`<div><div><span data-localization=preferences.group.info></span></div><div>`);
5169
+ var _tmpl$218 = /* @__PURE__ */ template(`<div><div><div><span></span></div><div><span>`);
4845
5170
  var GroupedPreferencesRow = (props) => {
4846
5171
  const style = useStyle();
4847
5172
  const {
@@ -4903,7 +5228,7 @@ var GroupedPreferencesRow = (props) => {
4903
5228
  return Object.keys(uniqueChannels()).length > 0;
4904
5229
  },
4905
5230
  get children() {
4906
- var _el$ = _tmpl$216(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$4 = _el$3.firstChild, _el$5 = _el$3.nextSibling, _el$6 = _el$5.firstChild;
5231
+ var _el$ = _tmpl$218(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$4 = _el$3.firstChild, _el$5 = _el$3.nextSibling, _el$6 = _el$5.firstChild;
4907
5232
  _el$2.$$click = () => {
4908
5233
  setIsOpened((prev) => !prev);
4909
5234
  };
@@ -4933,7 +5258,7 @@ var GroupedPreferencesRow = (props) => {
4933
5258
  }
4934
5259
  }), _el$4);
4935
5260
  insert(_el$4, () => props.group.name);
4936
- insert(_el$5, createComponent(Switch, {
5261
+ insert(_el$5, createComponent(Switch2, {
4937
5262
  get state() {
4938
5263
  return groupState();
4939
5264
  },
@@ -4963,7 +5288,7 @@ var GroupedPreferencesRow = (props) => {
4963
5288
  return isOpened();
4964
5289
  },
4965
5290
  get children() {
4966
- var _el$7 = _tmpl$56(), _el$8 = _el$7.firstChild, _el$9 = _el$8.firstChild, _el$10 = _el$8.nextSibling;
5291
+ var _el$7 = _tmpl$61(), _el$8 = _el$7.firstChild, _el$9 = _el$8.firstChild, _el$0 = _el$8.nextSibling;
4967
5292
  insert(_el$8, createComponent(Index, {
4968
5293
  get each() {
4969
5294
  return Object.keys(uniqueChannels());
@@ -5011,7 +5336,7 @@ var GroupedPreferencesRow = (props) => {
5011
5336
  }
5012
5337
  }), null);
5013
5338
  insert(_el$9, () => t("preferences.group.info"), null);
5014
- insert(_el$10, createComponent(Index, {
5339
+ insert(_el$0, createComponent(Index, {
5015
5340
  get each() {
5016
5341
  return preferences();
5017
5342
  },
@@ -5052,7 +5377,7 @@ var GroupedPreferencesRow = (props) => {
5052
5377
  _v$ !== _p$.e && className(_el$7, _p$.e = _v$);
5053
5378
  _v$2 !== _p$.t && className(_el$8, _p$.t = _v$2);
5054
5379
  _v$3 !== _p$.a && className(_el$9, _p$.a = _v$3);
5055
- _v$4 !== _p$.o && className(_el$10, _p$.o = _v$4);
5380
+ _v$4 !== _p$.o && className(_el$0, _p$.o = _v$4);
5056
5381
  return _p$;
5057
5382
  }, {
5058
5383
  e: void 0,
@@ -5088,28 +5413,28 @@ var GroupedPreferencesRow = (props) => {
5088
5413
  context: {
5089
5414
  preferenceGroup: props.group
5090
5415
  }
5091
- }), _v$10 = isOpened(), _v$11 = style({
5416
+ }), _v$0 = isOpened(), _v$1 = style({
5092
5417
  key: "preferencesGroupActionsContainer",
5093
5418
  className: "nt-flex nt-items-center nt-gap-1",
5094
5419
  context: {
5095
5420
  preferenceGroup: props.group
5096
5421
  }
5097
- }), _v$12 = style({
5422
+ }), _v$10 = style({
5098
5423
  key: "preferencesGroupActionsContainerRight__icon",
5099
5424
  className: "nt-text-foreground-alpha-600 nt-transition-all nt-duration-200 data-[open=true]:nt-transform data-[open=true]:nt-rotate-180",
5100
5425
  context: {
5101
5426
  preferenceGroup: props.group
5102
5427
  }
5103
- }), _v$13 = isOpened();
5428
+ }), _v$11 = isOpened();
5104
5429
  _v$5 !== _p$.e && className(_el$, _p$.e = _v$5);
5105
5430
  _v$6 !== _p$.t && setAttribute(_el$, "data-open", _p$.t = _v$6);
5106
5431
  _v$7 !== _p$.a && className(_el$2, _p$.a = _v$7);
5107
5432
  _v$8 !== _p$.o && className(_el$3, _p$.o = _v$8);
5108
5433
  _v$9 !== _p$.i && className(_el$4, _p$.i = _v$9);
5109
- _v$10 !== _p$.n && setAttribute(_el$4, "data-open", _p$.n = _v$10);
5110
- _v$11 !== _p$.s && className(_el$5, _p$.s = _v$11);
5111
- _v$12 !== _p$.h && className(_el$6, _p$.h = _v$12);
5112
- _v$13 !== _p$.r && setAttribute(_el$6, "data-open", _p$.r = _v$13);
5434
+ _v$0 !== _p$.n && setAttribute(_el$4, "data-open", _p$.n = _v$0);
5435
+ _v$1 !== _p$.s && className(_el$5, _p$.s = _v$1);
5436
+ _v$10 !== _p$.h && className(_el$6, _p$.h = _v$10);
5437
+ _v$11 !== _p$.r && setAttribute(_el$6, "data-open", _p$.r = _v$11);
5113
5438
  return _p$;
5114
5439
  }, {
5115
5440
  e: void 0,
@@ -5165,43 +5490,858 @@ var GroupedPreferences = (props) => {
5165
5490
  });
5166
5491
  };
5167
5492
 
5168
- // src/ui/components/elements/Preferences/Preferences.tsx
5169
- var _tmpl$57 = /* @__PURE__ */ template(`<div>`);
5170
- var Preferences = () => {
5171
- var _a, _b, _c;
5172
- const novu = useNovu();
5493
+ // src/ui/components/elements/Preferences/utils.ts
5494
+ var weekDays = [
5495
+ "monday",
5496
+ "tuesday",
5497
+ "wednesday",
5498
+ "thursday",
5499
+ "friday",
5500
+ "saturday",
5501
+ "sunday"
5502
+ ];
5503
+
5504
+ // src/ui/components/elements/Preferences/DayScheduleCopy.tsx
5505
+ var _tmpl$63 = /* @__PURE__ */ template(`<span data-localization=preferences.schedule.dayScheduleCopy.title>`);
5506
+ var _tmpl$219 = /* @__PURE__ */ template(`<span data-localization=preferences.schedule.dayScheduleCopy.selectAll>`);
5507
+ var _tmpl$312 = /* @__PURE__ */ template(`<div>`);
5508
+ var _tmpl$410 = /* @__PURE__ */ template(`<span>`);
5509
+ var NOVU_EVENT_CLOSE_DAY_SCHEDULE_COPY_COMPONENT = "novu.close-day-schedule-copy-component";
5510
+ var DayScheduleCopy = (props) => {
5511
+ const id = createUniqueId();
5173
5512
  const style = useStyle();
5174
5513
  const {
5175
- preferencesFilter,
5176
- preferenceGroups
5177
- } = useInboxContext();
5178
- const {
5179
- preferences,
5180
- loading
5181
- } = usePreferences({
5182
- tags: (_a = preferencesFilter()) == null ? void 0 : _a.tags,
5183
- severity: (_b = preferencesFilter()) == null ? void 0 : _b.severity,
5184
- criticality: (_c = preferencesFilter()) == null ? void 0 : _c.criticality
5185
- });
5186
- const allPreferences = createMemo(() => {
5187
- var _a2, _b2;
5188
- const globalPreference = (_a2 = preferences()) == null ? void 0 : _a2.find((preference) => preference.level === "global" /* GLOBAL */);
5189
- const workflowPreferences = (_b2 = preferences()) == null ? void 0 : _b2.filter((preference) => preference.level === "template" /* TEMPLATE */);
5190
- return {
5191
- globalPreference,
5192
- workflowPreferences
5193
- };
5514
+ t
5515
+ } = useLocalization();
5516
+ const [isOpen, setIsOpen] = createSignal(false);
5517
+ const [selectedDays, setSelectedDays] = createSignal([props.day()]);
5518
+ const [isAllSelected, setIsAllSelected] = createSignal(false);
5519
+ const allWeekDaysSelected = createMemo(() => selectedDays().length === weekDays.length);
5520
+ const reset = () => {
5521
+ setSelectedDays([props.day()]);
5522
+ setIsAllSelected(false);
5523
+ setIsOpen(false);
5524
+ };
5525
+ const onOpenChange = createMemo(() => (isOpen2) => {
5526
+ if (isOpen2) {
5527
+ document.dispatchEvent(new CustomEvent(NOVU_EVENT_CLOSE_DAY_SCHEDULE_COPY_COMPONENT, {
5528
+ detail: {
5529
+ id
5530
+ }
5531
+ }));
5532
+ }
5533
+ setTimeout(() => {
5534
+ if (!isOpen2) {
5535
+ reset();
5536
+ } else {
5537
+ setIsOpen(isOpen2);
5538
+ }
5539
+ }, 50);
5194
5540
  });
5195
5541
  createEffect(() => {
5196
- setDynamicLocalization((prev) => {
5197
- var _a2;
5198
- return __spreadValues(__spreadValues({}, prev), (_a2 = allPreferences().workflowPreferences) == null ? void 0 : _a2.reduce((acc, preference) => {
5199
- acc[preference.workflow.identifier] = preference.workflow.name;
5200
- return acc;
5201
- }, {}));
5202
- });
5542
+ const listener = (event) => {
5543
+ const data = event.detail;
5544
+ if (data.id !== id) {
5545
+ reset();
5546
+ }
5547
+ };
5548
+ document.addEventListener(NOVU_EVENT_CLOSE_DAY_SCHEDULE_COPY_COMPONENT, listener);
5549
+ return () => {
5550
+ document.removeEventListener(NOVU_EVENT_CLOSE_DAY_SCHEDULE_COPY_COMPONENT, listener);
5551
+ };
5203
5552
  });
5204
- const updatePreference = (preference) => (channels) => __async(void 0, null, function* () {
5553
+ return createComponent(Tooltip.Root, {
5554
+ get children() {
5555
+ return [createComponent(Tooltip.Trigger, {
5556
+ get disabled() {
5557
+ return props.disabled;
5558
+ },
5559
+ asChild: (childProps) => createComponent(Dropdown.Root, {
5560
+ placement: "right",
5561
+ offset: 0,
5562
+ get open() {
5563
+ return isOpen();
5564
+ },
5565
+ get onOpenChange() {
5566
+ return onOpenChange();
5567
+ },
5568
+ get children() {
5569
+ return [createComponent(Dropdown.Trigger, {
5570
+ get disabled() {
5571
+ return props.disabled;
5572
+ },
5573
+ get ["class"]() {
5574
+ return style({
5575
+ key: "dayScheduleCopy__dropdownTrigger",
5576
+ className: "nt-w-full"
5577
+ });
5578
+ },
5579
+ get children() {
5580
+ return createComponent(Button, mergeProps({
5581
+ size: "iconSm",
5582
+ variant: "ghost"
5583
+ }, childProps, {
5584
+ get children() {
5585
+ return createComponent(IconRenderer, {
5586
+ iconKey: "copy",
5587
+ get ["class"]() {
5588
+ return style({
5589
+ key: "dayScheduleCopyIcon",
5590
+ className: cn("nt-text-foreground-alpha-600 nt-size-3.5 group-hover:nt-opacity-100 nt-opacity-0 nt-transition-opacity nt-duration-200", {
5591
+ "group-hover:nt-opacity-0": props.disabled
5592
+ }),
5593
+ context: {
5594
+ schedule: props.schedule()
5595
+ }
5596
+ });
5597
+ },
5598
+ fallback: Copy
5599
+ });
5600
+ }
5601
+ }));
5602
+ }
5603
+ }), createComponent(Dropdown.Content, {
5604
+ portal: true,
5605
+ appearanceKey: "dayScheduleCopy__dropdownContent",
5606
+ "class": "nt-rounded-md nt-min-w-[220px] nt-max-w-[220px] nt-p-1",
5607
+ get children() {
5608
+ return [(() => {
5609
+ var _el$ = _tmpl$63();
5610
+ insert(_el$, () => t("preferences.schedule.dayScheduleCopy.title"));
5611
+ effect(() => className(_el$, style({
5612
+ key: "dayScheduleCopyTitle",
5613
+ className: "nt-text-sm nt-text-neutral-600 nt-mb-3 nt-text-left",
5614
+ context: {
5615
+ schedule: props.schedule()
5616
+ }
5617
+ })));
5618
+ return _el$;
5619
+ })(), (() => {
5620
+ var _el$2 = _tmpl$219();
5621
+ insert(_el$2, createComponent(Checkbox, {
5622
+ get checked() {
5623
+ return isAllSelected() || allWeekDaysSelected();
5624
+ },
5625
+ onChange: (checked) => {
5626
+ setIsAllSelected(checked);
5627
+ setSelectedDays(checked ? weekDays : [props.day()]);
5628
+ }
5629
+ }), null);
5630
+ insert(_el$2, () => t("preferences.schedule.dayScheduleCopy.selectAll"), null);
5631
+ effect(() => className(_el$2, style({
5632
+ key: "dayScheduleCopySelectAll",
5633
+ className: "nt-flex nt-items-center nt-gap-2 nt-text-sm nt-text-neutral-600 nt-mb-2",
5634
+ context: {
5635
+ schedule: props.schedule()
5636
+ }
5637
+ })));
5638
+ return _el$2;
5639
+ })(), createComponent(For, {
5640
+ each: weekDays,
5641
+ children: (day) => (() => {
5642
+ var _el$4 = _tmpl$410();
5643
+ setAttribute(_el$4, "data-localization", `preferences.schedule.${day}`);
5644
+ insert(_el$4, createComponent(Checkbox, {
5645
+ value: "checked",
5646
+ onChange: (value) => setSelectedDays(value ? [...selectedDays(), day] : selectedDays().filter((d) => d !== day)),
5647
+ get checked() {
5648
+ return selectedDays().includes(day) || day === props.day();
5649
+ },
5650
+ get disabled() {
5651
+ return day === props.day();
5652
+ }
5653
+ }), null);
5654
+ insert(_el$4, () => t(`preferences.schedule.${day}`), null);
5655
+ effect(() => className(_el$4, style({
5656
+ key: "dayScheduleCopyDay",
5657
+ className: "nt-flex nt-items-center nt-gap-2 nt-text-sm nt-text-neutral-600 nt-mb-2",
5658
+ context: {
5659
+ schedule: props.schedule()
5660
+ }
5661
+ })));
5662
+ return _el$4;
5663
+ })()
5664
+ }), (() => {
5665
+ var _el$3 = _tmpl$312();
5666
+ insert(_el$3, createComponent(Button, {
5667
+ onClick: () => {
5668
+ var _a, _b, _c, _d;
5669
+ const currentDay = props.day();
5670
+ const daysToCopy = selectedDays().filter((day) => day !== currentDay);
5671
+ const dayToCopy = (_b = (_a = props.schedule()) == null ? void 0 : _a.weeklySchedule) == null ? void 0 : _b[currentDay];
5672
+ if (dayToCopy) {
5673
+ (_d = props.schedule()) == null ? void 0 : _d.update({
5674
+ weeklySchedule: __spreadValues(__spreadValues({}, (_c = props.schedule()) == null ? void 0 : _c.weeklySchedule), daysToCopy.reduce((acc, day) => {
5675
+ acc[day] = dayToCopy;
5676
+ return acc;
5677
+ }, {}))
5678
+ });
5679
+ }
5680
+ reset();
5681
+ },
5682
+ "data-localization": "preferences.schedule.dayScheduleCopy.apply",
5683
+ get children() {
5684
+ return t("preferences.schedule.dayScheduleCopy.apply");
5685
+ }
5686
+ }));
5687
+ effect(() => className(_el$3, style({
5688
+ key: "dayScheduleCopyFooterContainer",
5689
+ className: "nt-flex nt-justify-end nt-border-t nt-border-neutral-alpha-100 nt-pt-2",
5690
+ context: {
5691
+ schedule: props.schedule()
5692
+ }
5693
+ })));
5694
+ return _el$3;
5695
+ })()];
5696
+ }
5697
+ })];
5698
+ }
5699
+ })
5700
+ }), createComponent(Tooltip.Content, {
5701
+ "data-localization": "preferences.schedule.copyTimesTo",
5702
+ get children() {
5703
+ return t("preferences.schedule.copyTimesTo");
5704
+ }
5705
+ })];
5706
+ }
5707
+ });
5708
+ };
5709
+
5710
+ // src/ui/components/elements/Preferences/ScheduleTable.tsx
5711
+ var _tmpl$64 = /* @__PURE__ */ template(`<div>`);
5712
+ var _tmpl$220 = /* @__PURE__ */ template(`<span>`);
5713
+ var ScheduleTableHeader = (props) => {
5714
+ const style = useStyle();
5715
+ return (() => {
5716
+ var _el$ = _tmpl$64();
5717
+ insert(_el$, () => props.children);
5718
+ effect(() => className(_el$, style({
5719
+ key: "scheduleTableHeader",
5720
+ className: "nt-flex nt-gap-3",
5721
+ context: {
5722
+ schedule: props.schedule
5723
+ }
5724
+ })));
5725
+ return _el$;
5726
+ })();
5727
+ };
5728
+ var ScheduleTableHeaderColumn = (props) => {
5729
+ const style = useStyle();
5730
+ return (() => {
5731
+ var _el$2 = _tmpl$64();
5732
+ insert(_el$2, () => props.children);
5733
+ effect((_p$) => {
5734
+ var _v$ = style({
5735
+ key: "scheduleHeaderColumn",
5736
+ className: cn("nt-text-sm nt-truncate nt-text-start", props.class),
5737
+ context: {
5738
+ schedule: props.schedule
5739
+ }
5740
+ }), _v$2 = props.dataLocalization;
5741
+ _v$ !== _p$.e && className(_el$2, _p$.e = _v$);
5742
+ _v$2 !== _p$.t && setAttribute(_el$2, "data-localization", _p$.t = _v$2);
5743
+ return _p$;
5744
+ }, {
5745
+ e: void 0,
5746
+ t: void 0
5747
+ });
5748
+ return _el$2;
5749
+ })();
5750
+ };
5751
+ var ScheduleTableBody = (props) => {
5752
+ const style = useStyle();
5753
+ return (() => {
5754
+ var _el$3 = _tmpl$64();
5755
+ insert(_el$3, () => props.children);
5756
+ effect(() => className(_el$3, style({
5757
+ key: "scheduleTableBody",
5758
+ className: "nt-flex nt-flex-col nt-gap-1",
5759
+ context: {
5760
+ schedule: props.schedule
5761
+ }
5762
+ })));
5763
+ return _el$3;
5764
+ })();
5765
+ };
5766
+ var ScheduleTableRow = (props) => {
5767
+ const style = useStyle();
5768
+ return (() => {
5769
+ var _el$4 = _tmpl$64();
5770
+ insert(_el$4, () => props.children);
5771
+ effect(() => className(_el$4, style({
5772
+ key: "scheduleBodyRow",
5773
+ className: "nt-flex nt-gap-3",
5774
+ context: {
5775
+ schedule: props.schedule
5776
+ }
5777
+ })));
5778
+ return _el$4;
5779
+ })();
5780
+ };
5781
+ var ScheduleBodyColumn = (props) => {
5782
+ const style = useStyle();
5783
+ return (() => {
5784
+ var _el$5 = _tmpl$64();
5785
+ insert(_el$5, () => props.children);
5786
+ effect(() => className(_el$5, style({
5787
+ key: "scheduleBodyColumn",
5788
+ className: cn("nt-text-sm", props.class),
5789
+ context: {
5790
+ schedule: props.schedule
5791
+ }
5792
+ })));
5793
+ return _el$5;
5794
+ })();
5795
+ };
5796
+ var ScheduleTable = (props) => {
5797
+ const style = useStyle();
5798
+ const {
5799
+ t
5800
+ } = useLocalization();
5801
+ const isScheduleDisabled = createMemo(() => {
5802
+ var _a, _b;
5803
+ return !((_b = (_a = props.globalPreference) == null ? void 0 : _a.schedule) == null ? void 0 : _b.isEnabled);
5804
+ });
5805
+ const schedule = createMemo(() => {
5806
+ var _a;
5807
+ return (_a = props.globalPreference) == null ? void 0 : _a.schedule;
5808
+ });
5809
+ return (() => {
5810
+ var _el$6 = _tmpl$64();
5811
+ insert(_el$6, createComponent(ScheduleTableHeader, {
5812
+ get schedule() {
5813
+ return schedule();
5814
+ },
5815
+ get children() {
5816
+ return [createComponent(ScheduleTableHeaderColumn, {
5817
+ get schedule() {
5818
+ return schedule();
5819
+ },
5820
+ "class": "nt-flex-1",
5821
+ dataLocalization: "preferences.schedule.days",
5822
+ get children() {
5823
+ return t("preferences.schedule.days");
5824
+ }
5825
+ }), createComponent(ScheduleTableHeaderColumn, {
5826
+ get schedule() {
5827
+ return schedule();
5828
+ },
5829
+ "class": "nt-min-w-[74px]",
5830
+ dataLocalization: "preferences.schedule.from",
5831
+ get children() {
5832
+ return t("preferences.schedule.from");
5833
+ }
5834
+ }), createComponent(ScheduleTableHeaderColumn, {
5835
+ get schedule() {
5836
+ return schedule();
5837
+ },
5838
+ "class": "nt-min-w-[74px]",
5839
+ dataLocalization: "preferences.schedule.to",
5840
+ get children() {
5841
+ return t("preferences.schedule.to");
5842
+ }
5843
+ })];
5844
+ }
5845
+ }), null);
5846
+ insert(_el$6, createComponent(ScheduleTableBody, {
5847
+ get schedule() {
5848
+ return schedule();
5849
+ },
5850
+ get children() {
5851
+ return createComponent(Index, {
5852
+ each: weekDays,
5853
+ children: (day) => {
5854
+ const isDayDisabled = createMemo(() => {
5855
+ var _a, _b, _c;
5856
+ return !((_c = (_b = (_a = schedule()) == null ? void 0 : _a.weeklySchedule) == null ? void 0 : _b[day()]) == null ? void 0 : _c.isEnabled);
5857
+ });
5858
+ return createComponent(ScheduleTableRow, {
5859
+ get schedule() {
5860
+ return schedule();
5861
+ },
5862
+ get children() {
5863
+ return [createComponent(ScheduleBodyColumn, {
5864
+ get schedule() {
5865
+ return schedule();
5866
+ },
5867
+ "class": "nt-flex-1 nt-flex nt-items-center nt-gap-2",
5868
+ get children() {
5869
+ return [createComponent(Switch2, {
5870
+ get state() {
5871
+ return isDayDisabled() ? "disabled" : "enabled";
5872
+ },
5873
+ onChange: (state) => {
5874
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i;
5875
+ const isEnabled = state === "enabled";
5876
+ const hasNoHours = ((_e = (_d = (_c = (_b = (_a = schedule()) == null ? void 0 : _a.weeklySchedule) == null ? void 0 : _b[day()]) == null ? void 0 : _c.hours) == null ? void 0 : _d.length) != null ? _e : 0) === 0;
5877
+ (_i = schedule()) == null ? void 0 : _i.update({
5878
+ weeklySchedule: __spreadProps(__spreadValues({}, (_f = schedule()) == null ? void 0 : _f.weeklySchedule), {
5879
+ [day()]: __spreadValues(__spreadProps(__spreadValues({}, (_h = (_g = schedule()) == null ? void 0 : _g.weeklySchedule) == null ? void 0 : _h[day()]), {
5880
+ isEnabled
5881
+ }), hasNoHours && {
5882
+ hours: [{
5883
+ start: "09:00 AM",
5884
+ end: "05:00 PM"
5885
+ }]
5886
+ })
5887
+ })
5888
+ });
5889
+ },
5890
+ get disabled() {
5891
+ return isScheduleDisabled();
5892
+ }
5893
+ }), (() => {
5894
+ var _el$7 = _tmpl$220();
5895
+ insert(_el$7, () => t(`preferences.schedule.${day()}`), null);
5896
+ insert(_el$7, createComponent(DayScheduleCopy, {
5897
+ day,
5898
+ schedule,
5899
+ get disabled() {
5900
+ return isScheduleDisabled();
5901
+ }
5902
+ }), null);
5903
+ effect((_p$) => {
5904
+ var _v$3 = cn("nt-group nt-flex nt-items-center nt-gap-1", {
5905
+ "nt-text-neutral-alpha-500": isScheduleDisabled()
5906
+ }), _v$4 = `preferences.schedule.${day()}`;
5907
+ _v$3 !== _p$.e && className(_el$7, _p$.e = _v$3);
5908
+ _v$4 !== _p$.t && setAttribute(_el$7, "data-localization", _p$.t = _v$4);
5909
+ return _p$;
5910
+ }, {
5911
+ e: void 0,
5912
+ t: void 0
5913
+ });
5914
+ return _el$7;
5915
+ })()];
5916
+ }
5917
+ }), createComponent(ScheduleBodyColumn, {
5918
+ get schedule() {
5919
+ return schedule();
5920
+ },
5921
+ get children() {
5922
+ return createComponent(TimeSelect, {
5923
+ get disabled() {
5924
+ return isScheduleDisabled() || isDayDisabled();
5925
+ },
5926
+ get value() {
5927
+ var _a, _b, _c, _d, _e;
5928
+ return (_e = (_d = (_c = (_b = (_a = schedule()) == null ? void 0 : _a.weeklySchedule) == null ? void 0 : _b[day()]) == null ? void 0 : _c.hours) == null ? void 0 : _d[0]) == null ? void 0 : _e.start;
5929
+ },
5930
+ onChange: (value) => {
5931
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i;
5932
+ (_i = schedule()) == null ? void 0 : _i.update({
5933
+ weeklySchedule: __spreadProps(__spreadValues({}, (_a = schedule()) == null ? void 0 : _a.weeklySchedule), {
5934
+ [day()]: __spreadProps(__spreadValues({}, (_c = (_b = schedule()) == null ? void 0 : _b.weeklySchedule) == null ? void 0 : _c[day()]), {
5935
+ hours: [{
5936
+ start: value,
5937
+ end: (_h = (_g = (_f = (_e = (_d = schedule()) == null ? void 0 : _d.weeklySchedule) == null ? void 0 : _e[day()]) == null ? void 0 : _f.hours) == null ? void 0 : _g[0]) == null ? void 0 : _h.end
5938
+ }]
5939
+ })
5940
+ })
5941
+ });
5942
+ }
5943
+ });
5944
+ }
5945
+ }), createComponent(ScheduleBodyColumn, {
5946
+ get schedule() {
5947
+ return schedule();
5948
+ },
5949
+ get children() {
5950
+ return createComponent(TimeSelect, {
5951
+ get disabled() {
5952
+ return isScheduleDisabled() || isDayDisabled();
5953
+ },
5954
+ get value() {
5955
+ var _a, _b, _c, _d, _e;
5956
+ return (_e = (_d = (_c = (_b = (_a = schedule()) == null ? void 0 : _a.weeklySchedule) == null ? void 0 : _b[day()]) == null ? void 0 : _c.hours) == null ? void 0 : _d[0]) == null ? void 0 : _e.end;
5957
+ },
5958
+ onChange: (value) => {
5959
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i;
5960
+ (_i = schedule()) == null ? void 0 : _i.update({
5961
+ weeklySchedule: __spreadProps(__spreadValues({}, (_a = schedule()) == null ? void 0 : _a.weeklySchedule), {
5962
+ [day()]: __spreadProps(__spreadValues({}, (_c = (_b = schedule()) == null ? void 0 : _b.weeklySchedule) == null ? void 0 : _c[day()]), {
5963
+ hours: [{
5964
+ start: (_h = (_g = (_f = (_e = (_d = schedule()) == null ? void 0 : _d.weeklySchedule) == null ? void 0 : _e[day()]) == null ? void 0 : _f.hours) == null ? void 0 : _g[0]) == null ? void 0 : _h.start,
5965
+ end: value
5966
+ }]
5967
+ })
5968
+ })
5969
+ });
5970
+ }
5971
+ });
5972
+ }
5973
+ })];
5974
+ }
5975
+ });
5976
+ }
5977
+ });
5978
+ }
5979
+ }), null);
5980
+ effect(() => className(_el$6, style({
5981
+ key: "scheduleTable",
5982
+ className: "nt-flex nt-flex-col nt-gap-1",
5983
+ context: {
5984
+ schedule: schedule()
5985
+ }
5986
+ })));
5987
+ return _el$6;
5988
+ })();
5989
+ };
5990
+
5991
+ // src/ui/components/elements/Preferences/ScheduleRow.tsx
5992
+ var _tmpl$65 = /* @__PURE__ */ template(`<button aria-label=Schedule tabindex=0>`);
5993
+ var _tmpl$221 = /* @__PURE__ */ template(`<div class=nt-max-w-56>`);
5994
+ var _tmpl$313 = /* @__PURE__ */ template(`<div><span data-localization=preferences.schedule.title>`);
5995
+ var _tmpl$411 = /* @__PURE__ */ template(`<div><span>`);
5996
+ var _tmpl$510 = /* @__PURE__ */ template(`<div><span data-localization=preferences.schedule.description></span><div><span data-localization=preferences.schedule.info>`);
5997
+ var _tmpl$66 = /* @__PURE__ */ template(`<div>`);
5998
+ var _tmpl$73 = /* @__PURE__ */ template(`<div class="nt-w-full nt-border-t nt-border-neutral-alpha-100">`);
5999
+ var ScheduleRowHeader = (props) => {
6000
+ const style = useStyle();
6001
+ return (() => {
6002
+ var _el$ = _tmpl$65();
6003
+ _el$.$$click = () => props.setIsOpened((prev) => !prev);
6004
+ insert(_el$, () => props.children);
6005
+ effect((_p$) => {
6006
+ var _v$ = style({
6007
+ key: "scheduleHeader",
6008
+ className: "nt-flex nt-w-full nt-p-1 nt-justify-between nt-flex-nowrap nt-self-stretch nt-cursor-pointer nt-items-center nt-overflow-hidden",
6009
+ context: {
6010
+ schedule: props.schedule()
6011
+ }
6012
+ }), _v$2 = props.isOpened(), _v$3 = props.isOpened();
6013
+ _v$ !== _p$.e && className(_el$, _p$.e = _v$);
6014
+ _v$2 !== _p$.t && setAttribute(_el$, "aria-expanded", _p$.t = _v$2);
6015
+ _v$3 !== _p$.a && setAttribute(_el$, "data-open", _p$.a = _v$3);
6016
+ return _p$;
6017
+ }, {
6018
+ e: void 0,
6019
+ t: void 0,
6020
+ a: void 0
6021
+ });
6022
+ return _el$;
6023
+ })();
6024
+ };
6025
+ var ScheduleRowLabel = (props) => {
6026
+ const style = useStyle();
6027
+ const {
6028
+ t
6029
+ } = useLocalization();
6030
+ return (() => {
6031
+ var _el$2 = _tmpl$313(), _el$3 = _el$2.firstChild;
6032
+ insert(_el$2, createComponent(IconRenderer, {
6033
+ iconKey: "calendarSchedule",
6034
+ get ["class"]() {
6035
+ return style({
6036
+ key: "scheduleLabelScheduleIcon",
6037
+ className: "nt-text-foreground-alpha-600 nt-size-3.5",
6038
+ context: {
6039
+ schedule: props.schedule()
6040
+ }
6041
+ });
6042
+ },
6043
+ fallback: CalendarSchedule
6044
+ }), _el$3);
6045
+ insert(_el$3, () => t("preferences.schedule.title"));
6046
+ insert(_el$2, createComponent(Tooltip.Root, {
6047
+ get children() {
6048
+ return [createComponent(Tooltip.Trigger, {
6049
+ get children() {
6050
+ return createComponent(IconRenderer, {
6051
+ iconKey: "info",
6052
+ get ["class"]() {
6053
+ return style({
6054
+ key: "scheduleLabelInfoIcon",
6055
+ className: "nt-text-foreground-alpha-600 nt-size-3.5",
6056
+ context: {
6057
+ schedule: props.schedule()
6058
+ }
6059
+ });
6060
+ },
6061
+ fallback: Info
6062
+ });
6063
+ }
6064
+ }), createComponent(Tooltip.Content, {
6065
+ "data-localization": "preferences.schedule.headerInfo",
6066
+ get children() {
6067
+ var _el$4 = _tmpl$221();
6068
+ insert(_el$4, () => t("preferences.schedule.headerInfo"));
6069
+ return _el$4;
6070
+ }
6071
+ })];
6072
+ }
6073
+ }), null);
6074
+ effect((_p$) => {
6075
+ var _v$4 = style({
6076
+ key: "scheduleLabelContainer",
6077
+ className: "nt-overflow-hidden nt-flex nt-items-center nt-gap-1 nt-h-3.5",
6078
+ context: {
6079
+ schedule: props.schedule()
6080
+ }
6081
+ }), _v$5 = style({
6082
+ key: "scheduleLabel",
6083
+ className: "nt-text-sm nt-font-semibold nt-truncate nt-text-start",
6084
+ context: {
6085
+ schedule: props.schedule()
6086
+ }
6087
+ }), _v$6 = props.isOpened();
6088
+ _v$4 !== _p$.e && className(_el$2, _p$.e = _v$4);
6089
+ _v$5 !== _p$.t && className(_el$3, _p$.t = _v$5);
6090
+ _v$6 !== _p$.a && setAttribute(_el$3, "data-open", _p$.a = _v$6);
6091
+ return _p$;
6092
+ }, {
6093
+ e: void 0,
6094
+ t: void 0,
6095
+ a: void 0
6096
+ });
6097
+ return _el$2;
6098
+ })();
6099
+ };
6100
+ var DEFAULT_HOURS = [{
6101
+ start: "09:00 AM",
6102
+ end: "05:00 PM"
6103
+ }];
6104
+ var DEFAULT_WEEKLY_SCHEDULE = {
6105
+ monday: {
6106
+ isEnabled: true,
6107
+ hours: DEFAULT_HOURS
6108
+ },
6109
+ tuesday: {
6110
+ isEnabled: true,
6111
+ hours: DEFAULT_HOURS
6112
+ },
6113
+ wednesday: {
6114
+ isEnabled: true,
6115
+ hours: DEFAULT_HOURS
6116
+ },
6117
+ thursday: {
6118
+ isEnabled: true,
6119
+ hours: DEFAULT_HOURS
6120
+ },
6121
+ friday: {
6122
+ isEnabled: true,
6123
+ hours: DEFAULT_HOURS
6124
+ }
6125
+ };
6126
+ var ScheduleRowActions = (props) => {
6127
+ const style = useStyle();
6128
+ return (() => {
6129
+ var _el$5 = _tmpl$411(), _el$6 = _el$5.firstChild;
6130
+ insert(_el$5, createComponent(Switch2, {
6131
+ get state() {
6132
+ var _a;
6133
+ return ((_a = props.schedule()) == null ? void 0 : _a.isEnabled) ? "enabled" : "disabled";
6134
+ },
6135
+ onChange: (state) => {
6136
+ var _a, _b;
6137
+ const isEnabled = state === "enabled";
6138
+ const hasNoWeeklySchedule = !((_a = props.schedule()) == null ? void 0 : _a.weeklySchedule);
6139
+ (_b = props.schedule()) == null ? void 0 : _b.update(__spreadValues({
6140
+ isEnabled
6141
+ }, isEnabled && hasNoWeeklySchedule && {
6142
+ weeklySchedule: DEFAULT_WEEKLY_SCHEDULE
6143
+ }));
6144
+ props.onChange(isEnabled);
6145
+ }
6146
+ }), _el$6);
6147
+ insert(_el$6, createComponent(IconRenderer, {
6148
+ iconKey: "arrowDropDown",
6149
+ get ["class"]() {
6150
+ return style({
6151
+ key: "moreTabs__icon",
6152
+ className: "nt-size-4"
6153
+ });
6154
+ },
6155
+ fallback: ArrowDropDown
6156
+ }));
6157
+ effect((_p$) => {
6158
+ var _v$7 = style({
6159
+ key: "scheduleActionsContainer",
6160
+ className: "nt-flex nt-items-center nt-gap-1",
6161
+ context: {
6162
+ schedule: props.schedule()
6163
+ }
6164
+ }), _v$8 = style({
6165
+ key: "scheduleActionsContainerRight",
6166
+ className: "nt-text-foreground-alpha-600 nt-transition-all nt-duration-200 data-[open=true]:nt-transform data-[open=true]:nt-rotate-180",
6167
+ context: {
6168
+ schedule: props.schedule()
6169
+ }
6170
+ }), _v$9 = props.isOpened();
6171
+ _v$7 !== _p$.e && className(_el$5, _p$.e = _v$7);
6172
+ _v$8 !== _p$.t && className(_el$6, _p$.t = _v$8);
6173
+ _v$9 !== _p$.a && setAttribute(_el$6, "data-open", _p$.a = _v$9);
6174
+ return _p$;
6175
+ }, {
6176
+ e: void 0,
6177
+ t: void 0,
6178
+ a: void 0
6179
+ });
6180
+ return _el$5;
6181
+ })();
6182
+ };
6183
+ var ScheduleRowBody = (props) => {
6184
+ const style = useStyle();
6185
+ const {
6186
+ t
6187
+ } = useLocalization();
6188
+ const schedule = createMemo(() => {
6189
+ var _a;
6190
+ return (_a = props.globalPreference) == null ? void 0 : _a.schedule;
6191
+ });
6192
+ return (() => {
6193
+ var _el$7 = _tmpl$510(), _el$8 = _el$7.firstChild, _el$9 = _el$8.nextSibling, _el$0 = _el$9.firstChild;
6194
+ insert(_el$8, () => t("preferences.schedule.description"));
6195
+ insert(_el$7, createComponent(ScheduleTable, {
6196
+ get globalPreference() {
6197
+ return props.globalPreference;
6198
+ }
6199
+ }), _el$9);
6200
+ insert(_el$9, createComponent(IconRenderer, {
6201
+ iconKey: "info",
6202
+ get ["class"]() {
6203
+ return style({
6204
+ key: "scheduleInfoIcon",
6205
+ className: "nt-size-4",
6206
+ context: {
6207
+ schedule: schedule()
6208
+ }
6209
+ });
6210
+ },
6211
+ fallback: Info
6212
+ }), _el$0);
6213
+ insert(_el$0, () => t("preferences.schedule.info"));
6214
+ effect((_p$) => {
6215
+ var _v$0 = style({
6216
+ key: "scheduleBody",
6217
+ className: "nt-flex nt-bg-background nt-border nt-border-neutral-alpha-200 nt-rounded-lg nt-p-2 nt-flex-col nt-gap-2 nt-overflow-hidden",
6218
+ context: {
6219
+ schedule: schedule()
6220
+ }
6221
+ }), _v$1 = style({
6222
+ key: "scheduleDescription",
6223
+ className: "nt-text-sm nt-truncate nt-text-start",
6224
+ context: {
6225
+ schedule: schedule()
6226
+ }
6227
+ }), _v$10 = style({
6228
+ key: "scheduleInfoContainer",
6229
+ className: "nt-flex nt-items-start nt-mt-1.5 nt-gap-1",
6230
+ context: {
6231
+ schedule: schedule()
6232
+ }
6233
+ }), _v$11 = style({
6234
+ key: "scheduleInfo",
6235
+ className: "nt-text-sm nt-text-start"
6236
+ });
6237
+ _v$0 !== _p$.e && className(_el$7, _p$.e = _v$0);
6238
+ _v$1 !== _p$.t && className(_el$8, _p$.t = _v$1);
6239
+ _v$10 !== _p$.a && className(_el$9, _p$.a = _v$10);
6240
+ _v$11 !== _p$.o && className(_el$0, _p$.o = _v$11);
6241
+ return _p$;
6242
+ }, {
6243
+ e: void 0,
6244
+ t: void 0,
6245
+ a: void 0,
6246
+ o: void 0
6247
+ });
6248
+ return _el$7;
6249
+ })();
6250
+ };
6251
+ var ScheduleRow = (props) => {
6252
+ var _a, _b, _c;
6253
+ const style = useStyle();
6254
+ const schedule = createMemo(() => {
6255
+ var _a2;
6256
+ return (_a2 = props.globalPreference) == null ? void 0 : _a2.schedule;
6257
+ });
6258
+ const [isOpened, setIsOpened] = createSignal((_c = (_b = (_a = props.globalPreference) == null ? void 0 : _a.schedule) == null ? void 0 : _b.isEnabled) != null ? _c : false);
6259
+ return [(() => {
6260
+ var _el$1 = _tmpl$66();
6261
+ insert(_el$1, createComponent(ScheduleRowHeader, {
6262
+ schedule,
6263
+ isOpened,
6264
+ setIsOpened,
6265
+ get children() {
6266
+ return [createComponent(ScheduleRowLabel, {
6267
+ schedule,
6268
+ isOpened
6269
+ }), createComponent(ScheduleRowActions, {
6270
+ schedule,
6271
+ isOpened,
6272
+ onChange: setIsOpened
6273
+ })];
6274
+ }
6275
+ }), null);
6276
+ insert(_el$1, createComponent(Collapsible, {
6277
+ get open() {
6278
+ return isOpened();
6279
+ },
6280
+ get children() {
6281
+ return createComponent(ScheduleRowBody, {
6282
+ get globalPreference() {
6283
+ return props.globalPreference;
6284
+ },
6285
+ isOpened
6286
+ });
6287
+ }
6288
+ }), null);
6289
+ effect(() => className(_el$1, style({
6290
+ key: "scheduleContainer",
6291
+ className: "nt-p-1 nt-bg-neutral-alpha-25 nt-rounded-lg nt-border nt-border-neutral-alpha-50",
6292
+ context: {
6293
+ schedule: schedule()
6294
+ }
6295
+ })));
6296
+ return _el$1;
6297
+ })(), _tmpl$73()];
6298
+ };
6299
+ delegateEvents(["click"]);
6300
+
6301
+ // src/ui/components/elements/Preferences/Preferences.tsx
6302
+ var _tmpl$67 = /* @__PURE__ */ template(`<div>`);
6303
+ var Preferences = () => {
6304
+ var _a, _b, _c;
6305
+ const novu = useNovu();
6306
+ const style = useStyle();
6307
+ const {
6308
+ preferencesFilter,
6309
+ preferenceGroups,
6310
+ preferencesSort
6311
+ } = useInboxContext();
6312
+ const {
6313
+ preferences,
6314
+ loading
6315
+ } = usePreferences({
6316
+ tags: (_a = preferencesFilter()) == null ? void 0 : _a.tags,
6317
+ severity: (_b = preferencesFilter()) == null ? void 0 : _b.severity,
6318
+ criticality: (_c = preferencesFilter()) == null ? void 0 : _c.criticality
6319
+ });
6320
+ const allPreferences = createMemo(() => {
6321
+ var _a2, _b2;
6322
+ const globalPreference = (_a2 = preferences()) == null ? void 0 : _a2.find((preference) => preference.level === "global" /* GLOBAL */);
6323
+ let workflowPreferences = (_b2 = preferences()) == null ? void 0 : _b2.filter((preference) => preference.level === "template" /* TEMPLATE */);
6324
+ if (workflowPreferences && preferencesSort()) {
6325
+ workflowPreferences = [...workflowPreferences].sort(preferencesSort());
6326
+ }
6327
+ return {
6328
+ globalPreference,
6329
+ workflowPreferences
6330
+ };
6331
+ });
6332
+ createEffect(() => {
6333
+ setDynamicLocalization((prev) => {
6334
+ var _a2;
6335
+ return __spreadValues(__spreadValues({}, prev), (_a2 = allPreferences().workflowPreferences) == null ? void 0 : _a2.reduce((acc, preference) => {
6336
+ var _a3, _b2;
6337
+ if (((_a3 = preference.workflow) == null ? void 0 : _a3.identifier) && ((_b2 = preference.workflow) == null ? void 0 : _b2.name)) {
6338
+ acc[preference.workflow.identifier] = preference.workflow.name;
6339
+ }
6340
+ return acc;
6341
+ }, {}));
6342
+ });
6343
+ });
6344
+ const updatePreference = (preference) => (channels) => __async(void 0, null, function* () {
5205
6345
  yield preference == null ? void 0 : preference.update({
5206
6346
  channels
5207
6347
  });
@@ -5236,19 +6376,23 @@ var Preferences = () => {
5236
6376
  };
5237
6377
  }
5238
6378
  if (typeof filter === "object") {
6379
+ let filteredPreferences = workflowPreferences.filter((preference) => {
6380
+ var _a3, _b3, _c3, _d, _e;
6381
+ const workflowId = ((_a3 = preference.workflow) == null ? void 0 : _a3.id) || ((_b3 = preference.workflow) == null ? void 0 : _b3.identifier);
6382
+ return ((_c3 = filter.workflowIds) == null ? void 0 : _c3.includes(workflowId != null ? workflowId : "")) || ((_d = filter.tags) == null ? void 0 : _d.some((tag) => {
6383
+ var _a4, _b4;
6384
+ return (_b4 = (_a4 = preference.workflow) == null ? void 0 : _a4.tags) == null ? void 0 : _b4.includes(tag);
6385
+ })) || Array.isArray(filter.severity) && filter.severity.some((severity) => {
6386
+ var _a4;
6387
+ return ((_a4 = preference.workflow) == null ? void 0 : _a4.severity) === severity;
6388
+ }) || !Array.isArray(filter.severity) && filter.severity === ((_e = preference.workflow) == null ? void 0 : _e.severity);
6389
+ });
6390
+ if (preferencesSort()) {
6391
+ filteredPreferences = [...filteredPreferences].sort(preferencesSort());
6392
+ }
5239
6393
  return {
5240
6394
  name: group.name,
5241
- preferences: workflowPreferences.filter((preference) => {
5242
- var _a3, _b3, _c3, _d, _e;
5243
- const workflowId = ((_a3 = preference.workflow) == null ? void 0 : _a3.id) || ((_b3 = preference.workflow) == null ? void 0 : _b3.identifier);
5244
- return ((_c3 = filter.workflowIds) == null ? void 0 : _c3.includes(workflowId != null ? workflowId : "")) || ((_d = filter.tags) == null ? void 0 : _d.some((tag) => {
5245
- var _a4, _b4;
5246
- return (_b4 = (_a4 = preference.workflow) == null ? void 0 : _a4.tags) == null ? void 0 : _b4.includes(tag);
5247
- })) || Array.isArray(filter.severity) && filter.severity.some((severity) => {
5248
- var _a4;
5249
- return ((_a4 = preference.workflow) == null ? void 0 : _a4.severity) === severity;
5250
- }) || !Array.isArray(filter.severity) && filter.severity === ((_e = preference.workflow) == null ? void 0 : _e.severity);
5251
- })
6395
+ preferences: filteredPreferences
5252
6396
  };
5253
6397
  }
5254
6398
  return {
@@ -5258,13 +6402,32 @@ var Preferences = () => {
5258
6402
  })) != null ? _c2 : [];
5259
6403
  });
5260
6404
  return (() => {
5261
- var _el$ = _tmpl$57();
5262
- insert(_el$, createComponent(PreferencesRow, {
5263
- iconKey: "cogs",
5264
- get preference() {
6405
+ var _el$ = _tmpl$67();
6406
+ insert(_el$, createComponent(Show, {
6407
+ get when() {
5265
6408
  return allPreferences().globalPreference;
5266
6409
  },
5267
- onChange: () => updatePreference(allPreferences().globalPreference)
6410
+ get children() {
6411
+ return createComponent(PreferencesRow, {
6412
+ iconKey: "cogs",
6413
+ get preference() {
6414
+ return allPreferences().globalPreference;
6415
+ },
6416
+ onChange: () => updatePreference(allPreferences().globalPreference)
6417
+ });
6418
+ }
6419
+ }), null);
6420
+ insert(_el$, createComponent(Show, {
6421
+ get when() {
6422
+ return allPreferences().globalPreference;
6423
+ },
6424
+ get children() {
6425
+ return createComponent(ScheduleRow, {
6426
+ get globalPreference() {
6427
+ return allPreferences().globalPreference;
6428
+ }
6429
+ });
6430
+ }
5268
6431
  }), null);
5269
6432
  insert(_el$, createComponent(Show, {
5270
6433
  get when() {
@@ -5311,7 +6474,7 @@ var Preferences = () => {
5311
6474
  }), null);
5312
6475
  effect(() => className(_el$, style({
5313
6476
  key: "preferencesContainer",
5314
- className: "nt-px-3 nt-py-4 nt-flex nt-flex-col nt-gap-1 nt-overflow-y-auto nt-h-full nt-pr-0 [scrollbar-gutter:stable]",
6477
+ className: "nt-px-3 nt-py-4 nt-flex nt-flex-col nt-gap-2 nt-overflow-y-auto nt-h-full nt-pr-0 [scrollbar-gutter:stable]",
5315
6478
  context: {
5316
6479
  preferences: preferences(),
5317
6480
  groups: groupedPreferences()
@@ -5320,7 +6483,7 @@ var Preferences = () => {
5320
6483
  return _el$;
5321
6484
  })();
5322
6485
  };
5323
- var _tmpl$58 = /* @__PURE__ */ template(`<div>`);
6486
+ var _tmpl$68 = /* @__PURE__ */ template(`<div>`);
5324
6487
  var Root = (props) => {
5325
6488
  const [_, rest] = splitProps(props, ["class"]);
5326
6489
  const {
@@ -5336,7 +6499,7 @@ var Root = (props) => {
5336
6499
  },
5337
6500
  children: new Comment(" Powered by Novu - https://novu.co ")
5338
6501
  }), (() => {
5339
- var _el$ = _tmpl$58();
6502
+ var _el$ = _tmpl$68();
5340
6503
  spread(_el$, mergeProps({
5341
6504
  get id() {
5342
6505
  return `novu-root-${id()}`;
@@ -5351,7 +6514,7 @@ var Root = (props) => {
5351
6514
  return _el$;
5352
6515
  })()];
5353
6516
  };
5354
- var _tmpl$59 = /* @__PURE__ */ template(`<div><div data-localization=preferences.title>`);
6517
+ var _tmpl$69 = /* @__PURE__ */ template(`<div><div data-localization=preferences.title>`);
5355
6518
  var PreferencesHeader = (props) => {
5356
6519
  const style = useStyle();
5357
6520
  const {
@@ -5363,7 +6526,7 @@ var PreferencesHeader = (props) => {
5363
6526
  iconKey: "arrowLeft"
5364
6527
  });
5365
6528
  return (() => {
5366
- var _el$ = _tmpl$59(), _el$2 = _el$.firstChild;
6529
+ var _el$ = _tmpl$69(), _el$2 = _el$.firstChild;
5367
6530
  insert(_el$, createComponent(Show, {
5368
6531
  get when() {
5369
6532
  return props.navigateToNotifications;
@@ -5408,12 +6571,12 @@ var PreferencesHeader = (props) => {
5408
6571
  return _el$;
5409
6572
  })();
5410
6573
  };
5411
- var _tmpl$60 = /* @__PURE__ */ template(`<strong>`);
5412
- var _tmpl$217 = /* @__PURE__ */ template(`<p>`);
6574
+ var _tmpl$70 = /* @__PURE__ */ template(`<strong>`);
6575
+ var _tmpl$222 = /* @__PURE__ */ template(`<p>`);
5413
6576
  var Bold = (props) => {
5414
6577
  const style = useStyle();
5415
6578
  return (() => {
5416
- var _el$ = _tmpl$60();
6579
+ var _el$ = _tmpl$70();
5417
6580
  insert(_el$, () => props.children);
5418
6581
  effect(() => className(_el$, style({
5419
6582
  key: props.appearanceKey || "strong",
@@ -5428,7 +6591,7 @@ var Markdown = (props) => {
5428
6591
  const style = useStyle();
5429
6592
  const tokens = createMemo(() => parseMarkdownIntoTokens(local.children));
5430
6593
  return (() => {
5431
- var _el$2 = _tmpl$217();
6594
+ var _el$2 = _tmpl$222();
5432
6595
  spread(_el$2, mergeProps({
5433
6596
  get ["class"]() {
5434
6597
  return style({
@@ -5465,7 +6628,7 @@ var Markdown = (props) => {
5465
6628
  })();
5466
6629
  };
5467
6630
  var Markdown_default = Markdown;
5468
- var _tmpl$61 = /* @__PURE__ */ template(`<span>`);
6631
+ var _tmpl$71 = /* @__PURE__ */ template(`<span>`);
5469
6632
  var badgeVariants = cva(cn("nt-inline-flex nt-flex-row nt-gap-1 nt-items-center"), {
5470
6633
  variants: {
5471
6634
  variant: {
@@ -5484,7 +6647,7 @@ var Badge = (props) => {
5484
6647
  const [local, rest] = splitProps(props, ["class", "appearanceKey", "context"]);
5485
6648
  const style = useStyle();
5486
6649
  return (() => {
5487
- var _el$ = _tmpl$61();
6650
+ var _el$ = _tmpl$71();
5488
6651
  spread(_el$, mergeProps({
5489
6652
  get ["data-variant"]() {
5490
6653
  return props.variant;
@@ -5506,50 +6669,7 @@ var Badge = (props) => {
5506
6669
  return _el$;
5507
6670
  })();
5508
6671
  };
5509
- var _tmpl$63 = /* @__PURE__ */ template(`<input>`);
5510
- var inputVariants = cva(cn(`focus-visible:nt-outline-none focus-visible:nt-ring-2 focus-visible:nt-rounded-md focus-visible:nt-ring-ring focus-visible:nt-ring-offset-2`), {
5511
- variants: {
5512
- variant: {
5513
- default: "nt-border nt-border-neutral-200 nt-rounded-md nt-p-1 nt-bg-background"
5514
- },
5515
- size: {
5516
- default: "nt-h-9",
5517
- sm: "nt-h-8 nt-text-sm"
5518
- }
5519
- },
5520
- defaultVariants: {
5521
- variant: "default",
5522
- size: "default"
5523
- }
5524
- });
5525
- var Input = (props) => {
5526
- const [local, rest] = splitProps(props, ["class", "appearanceKey"]);
5527
- const style = useStyle();
5528
- return (() => {
5529
- var _el$ = _tmpl$63();
5530
- spread(_el$, mergeProps({
5531
- get ["data-variant"]() {
5532
- return props.variant;
5533
- },
5534
- get ["data-size"]() {
5535
- return props.size;
5536
- },
5537
- get ["class"]() {
5538
- return style({
5539
- key: local.appearanceKey || "input",
5540
- className: cn(inputVariants({
5541
- variant: props.variant,
5542
- size: props.size
5543
- }), local.class)
5544
- });
5545
- }
5546
- }, rest), false, false);
5547
- return _el$;
5548
- })();
5549
- };
5550
-
5551
- // src/ui/components/primitives/TimePicker.tsx
5552
- var _tmpl$64 = /* @__PURE__ */ template(`<div><span>:</span><select><option value=AM>AM</option><option value=PM>PM`);
6672
+ var _tmpl$74 = /* @__PURE__ */ template(`<div><span>:</span><select><option value=AM>AM</option><option value=PM>PM`);
5553
6673
  var TimePicker = (props) => {
5554
6674
  const [local, rest] = splitProps(props, ["value", "onChange", "class", "appearanceKey"]);
5555
6675
  const style = useStyle();
@@ -5589,7 +6709,7 @@ var TimePicker = (props) => {
5589
6709
  }
5590
6710
  };
5591
6711
  return (() => {
5592
- var _el$ = _tmpl$64(), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling;
6712
+ var _el$ = _tmpl$74(), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling;
5593
6713
  _el$.$$click = (e) => e.stopPropagation();
5594
6714
  spread(_el$, mergeProps({
5595
6715
  get ["class"]() {
@@ -5599,7 +6719,7 @@ var TimePicker = (props) => {
5599
6719
  });
5600
6720
  }
5601
6721
  }, rest), false, true);
5602
- insert(_el$, createComponent(Input, {
6722
+ insert(_el$, createComponent(Input2, {
5603
6723
  size: "sm",
5604
6724
  type: "number",
5605
6725
  min: "1",
@@ -5623,7 +6743,7 @@ var TimePicker = (props) => {
5623
6743
  });
5624
6744
  }
5625
6745
  }), _el$2);
5626
- insert(_el$, createComponent(Input, {
6746
+ insert(_el$, createComponent(Input2, {
5627
6747
  size: "sm",
5628
6748
  type: "number",
5629
6749
  min: "0",
@@ -5692,18 +6812,18 @@ var enforceMinMax = (el) => {
5692
6812
  delegateEvents(["click"]);
5693
6813
 
5694
6814
  // src/ui/components/Notification/SnoozeDateTimePicker.tsx
5695
- var _tmpl$65 = /* @__PURE__ */ template(`<div><div><p></p></div><div>`);
6815
+ var _tmpl$75 = /* @__PURE__ */ template(`<div><div><p></p></div><div>`);
5696
6816
  var fiveMinutesFromNow = () => {
5697
6817
  const futureTime = new Date(Date.now() + 5 * 60 * 1e3);
5698
- const hours = futureTime.getHours();
5699
- const isPM = hours >= 12;
6818
+ const hours2 = futureTime.getHours();
6819
+ const isPM = hours2 >= 12;
5700
6820
  let hour;
5701
- if (hours === 0) {
6821
+ if (hours2 === 0) {
5702
6822
  hour = 12;
5703
- } else if (hours === 12) {
6823
+ } else if (hours2 === 12) {
5704
6824
  hour = 12;
5705
6825
  } else {
5706
- hour = hours % 12;
6826
+ hour = hours2 % 12;
5707
6827
  }
5708
6828
  return {
5709
6829
  hour,
@@ -5737,8 +6857,8 @@ var SnoozeDateTimePicker = (props) => {
5737
6857
  var _a;
5738
6858
  if (selectedDate() && timeValue()) {
5739
6859
  const date = new Date(selectedDate());
5740
- const hours = convertTo24Hour(timeValue());
5741
- date.setHours(hours, timeValue().minute, 0, 0);
6860
+ const hours2 = convertTo24Hour(timeValue());
6861
+ date.setHours(hours2, timeValue().minute, 0, 0);
5742
6862
  (_a = props.onSelect) == null ? void 0 : _a.call(props, date);
5743
6863
  }
5744
6864
  };
@@ -5749,8 +6869,8 @@ var SnoozeDateTimePicker = (props) => {
5749
6869
  const getSelectedDateTime = () => {
5750
6870
  if (!selectedDate() || !timeValue()) return null;
5751
6871
  const date = new Date(selectedDate());
5752
- const hours = convertTo24Hour(timeValue());
5753
- date.setHours(hours, timeValue().minute, 0, 0);
6872
+ const hours2 = convertTo24Hour(timeValue());
6873
+ date.setHours(hours2, timeValue().minute, 0, 0);
5754
6874
  return date;
5755
6875
  };
5756
6876
  const isTimeInPast = createMemo(() => {
@@ -5789,7 +6909,7 @@ var SnoozeDateTimePicker = (props) => {
5789
6909
  return t("snooze.datePicker.noDateSelectedTooltip");
5790
6910
  });
5791
6911
  return (() => {
5792
- var _el$ = _tmpl$65(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$4 = _el$2.nextSibling;
6912
+ var _el$ = _tmpl$75(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$4 = _el$2.nextSibling;
5793
6913
  _el$.$$click = (e) => e.stopPropagation();
5794
6914
  insert(_el$, createComponent(DatePicker, {
5795
6915
  onDateChange: (date) => setSelectedDate(date),
@@ -5886,8 +7006,8 @@ var SnoozeDateTimePicker = (props) => {
5886
7006
  delegateEvents(["click"]);
5887
7007
 
5888
7008
  // src/ui/components/Notification/NotificationActions.tsx
5889
- var _tmpl$66 = /* @__PURE__ */ template(`<div><span>`);
5890
- var _tmpl$218 = /* @__PURE__ */ template(`<span>`);
7009
+ var _tmpl$76 = /* @__PURE__ */ template(`<div><span>`);
7010
+ var _tmpl$223 = /* @__PURE__ */ template(`<span>`);
5891
7011
  var SNOOZE_PRESETS = [{
5892
7012
  key: "snooze.options.anHourFromNow",
5893
7013
  hours: 1,
@@ -5935,7 +7055,7 @@ var SnoozeDropdownItem = (props) => {
5935
7055
  iconKey: "clock"
5936
7056
  });
5937
7057
  const content = [(() => {
5938
- var _el$ = _tmpl$66(), _el$2 = _el$.firstChild;
7058
+ var _el$ = _tmpl$76(), _el$2 = _el$.firstChild;
5939
7059
  insert(_el$, createComponent(IconRendererWrapper, {
5940
7060
  iconKey: "clock",
5941
7061
  "class": snoozeItemIconClass,
@@ -5962,7 +7082,7 @@ var SnoozeDropdownItem = (props) => {
5962
7082
  });
5963
7083
  return _el$;
5964
7084
  })(), (() => {
5965
- var _el$3 = _tmpl$218();
7085
+ var _el$3 = _tmpl$223();
5966
7086
  insert(_el$3, () => props.time);
5967
7087
  effect(() => className(_el$3, style({
5968
7088
  key: "dropdownItemRight__icon",
@@ -6361,10 +7481,10 @@ var renderNotificationActions = (notification, status) => {
6361
7481
  };
6362
7482
 
6363
7483
  // src/ui/components/Notification/DefaultNotification.tsx
6364
- var _tmpl$67 = /* @__PURE__ */ template(`<span>`);
6365
- var _tmpl$219 = /* @__PURE__ */ template(`<a><div></div><div><div></div><div></div></div><div class="nt-w-1.5 nt-flex nt-justify-center nt-shrink-0">`);
6366
- var _tmpl$311 = /* @__PURE__ */ template(`<img>`);
6367
- var _tmpl$410 = /* @__PURE__ */ template(`<div>`);
7484
+ var _tmpl$77 = /* @__PURE__ */ template(`<span>`);
7485
+ var _tmpl$224 = /* @__PURE__ */ template(`<a><div></div><div><div></div><div></div></div><div class="nt-w-1.5 nt-flex nt-justify-center nt-shrink-0">`);
7486
+ var _tmpl$314 = /* @__PURE__ */ template(`<img>`);
7487
+ var _tmpl$412 = /* @__PURE__ */ template(`<div>`);
6368
7488
  var SEVERITY_TO_BAR_KEYS = {
6369
7489
  ["none" /* NONE */]: "notificationBar",
6370
7490
  ["high" /* HIGH */]: "severityHigh__notificationBar",
@@ -6445,7 +7565,7 @@ var DefaultNotification = (props) => {
6445
7565
  }
6446
7566
  });
6447
7567
  return (() => {
6448
- var _el$ = _tmpl$219(), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling, _el$4 = _el$3.firstChild, _el$5 = _el$4.nextSibling, _el$6 = _el$3.nextSibling;
7568
+ var _el$ = _tmpl$224(), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling, _el$4 = _el$3.firstChild, _el$5 = _el$4.nextSibling, _el$6 = _el$3.nextSibling;
6449
7569
  _el$.$$click = handleNotificationClick;
6450
7570
  insert(_el$, createComponent(Show, {
6451
7571
  get when() {
@@ -6458,7 +7578,7 @@ var DefaultNotification = (props) => {
6458
7578
  },
6459
7579
  get fallback() {
6460
7580
  return (() => {
6461
- var _el$9 = _tmpl$410();
7581
+ var _el$9 = _tmpl$412();
6462
7582
  effect(() => className(_el$9, style({
6463
7583
  key: "notificationImageLoadingFallback",
6464
7584
  className: "nt-size-8 nt-rounded-lg nt-shrink-0 nt-aspect-square",
@@ -6470,7 +7590,7 @@ var DefaultNotification = (props) => {
6470
7590
  })();
6471
7591
  },
6472
7592
  get children() {
6473
- var _el$8 = _tmpl$311();
7593
+ var _el$8 = _tmpl$314();
6474
7594
  effect((_p$) => {
6475
7595
  var _v$6 = style({
6476
7596
  key: "notificationImage",
@@ -6551,16 +7671,16 @@ var DefaultNotification = (props) => {
6551
7671
  },
6552
7672
  get fallback() {
6553
7673
  return (() => {
6554
- var _el$10 = _tmpl$410();
6555
- insert(_el$10, () => renderNotificationActions(props.notification, status));
6556
- effect(() => className(_el$10, style({
7674
+ var _el$0 = _tmpl$412();
7675
+ insert(_el$0, () => renderNotificationActions(props.notification, status));
7676
+ effect(() => className(_el$0, style({
6557
7677
  key: "notificationDefaultActions",
6558
7678
  className: `nt-absolute nt-transition nt-duration-100 nt-ease-out nt-gap-0.5 nt-flex nt-shrink-0 nt-opacity-0 group-hover:nt-opacity-100 group-focus-within:nt-opacity-100 nt-justify-center nt-items-center nt-bg-background/90 nt-right-3 nt-top-3 nt-border nt-border-neutral-alpha-100 nt-rounded-lg nt-backdrop-blur-lg nt-p-0.5`,
6559
7679
  context: {
6560
7680
  notification: props.notification
6561
7681
  }
6562
7682
  })));
6563
- return _el$10;
7683
+ return _el$0;
6564
7684
  })();
6565
7685
  },
6566
7686
  children: (renderDefaultActions) => createComponent(ExternalElementRenderer, {
@@ -6577,8 +7697,8 @@ var DefaultNotification = (props) => {
6577
7697
  return props.notification.primaryAction || props.notification.secondaryAction;
6578
7698
  },
6579
7699
  get children() {
6580
- var _el$11 = _tmpl$410();
6581
- insert(_el$11, createComponent(Show, {
7700
+ var _el$1 = _tmpl$412();
7701
+ insert(_el$1, createComponent(Show, {
6582
7702
  get when() {
6583
7703
  return props.notification.primaryAction;
6584
7704
  },
@@ -6597,7 +7717,7 @@ var DefaultNotification = (props) => {
6597
7717
  }
6598
7718
  })
6599
7719
  }), null);
6600
- insert(_el$11, createComponent(Show, {
7720
+ insert(_el$1, createComponent(Show, {
6601
7721
  get when() {
6602
7722
  return props.notification.secondaryAction;
6603
7723
  },
@@ -6616,14 +7736,14 @@ var DefaultNotification = (props) => {
6616
7736
  }
6617
7737
  })
6618
7738
  }), null);
6619
- effect(() => className(_el$11, style({
7739
+ effect(() => className(_el$1, style({
6620
7740
  key: "notificationCustomActions",
6621
7741
  className: "nt-flex nt-flex-wrap nt-gap-2",
6622
7742
  context: {
6623
7743
  notification: props.notification
6624
7744
  }
6625
7745
  })));
6626
- return _el$11;
7746
+ return _el$1;
6627
7747
  }
6628
7748
  });
6629
7749
  },
@@ -6741,7 +7861,7 @@ var DefaultNotification = (props) => {
6741
7861
  return !props.notification.isRead;
6742
7862
  },
6743
7863
  get children() {
6744
- var _el$7 = _tmpl$67();
7864
+ var _el$7 = _tmpl$77();
6745
7865
  effect(() => className(_el$7, style({
6746
7866
  key: "notificationDot",
6747
7867
  className: "nt-size-1.5 nt-bg-primary nt-rounded-full",
@@ -6881,19 +8001,19 @@ var NewMessagesCta = (props) => {
6881
8001
  }
6882
8002
  });
6883
8003
  };
6884
- var _tmpl$68 = /* @__PURE__ */ template(`<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 16 16"fill=none><path fill=currentColor d="M12.1675 2.04492L11.5308 2.68164L11.1069 3.10645L12.9614 4.96094L12.7495 5.17383L10.894 3.31836L10.4692 3.74219L9.40967 4.80273L8.98486 5.22754L9.40967 5.65137L10.5747 6.81738L10.3628 7.03027L9.19775 5.86328L8.77295 5.43945L6.35889 7.85352L6.62744 8.26172C7.00257 8.83177 7.18147 9.50559 7.14111 10.1816L7.10986 10.4707C7.00656 11.1451 6.68818 11.7654 6.20557 12.2402L5.98877 12.4346C5.46027 12.8661 4.80786 13.1133 4.13135 13.1426L3.84033 13.1416C3.0614 13.1032 2.3236 12.7769 1.771 12.2266H1.77002C1.28602 11.744 0.974717 11.1186 0.877441 10.4473L0.849121 10.1572C0.814077 9.47419 1.00158 8.80051 1.38037 8.2373L1.55518 8.00293C2.04954 7.39769 2.75121 6.99767 3.52393 6.88086C4.29677 6.76406 5.0856 6.93884 5.73682 7.37109L6.146 7.64258L6.49268 7.29492L11.9546 1.83203L12.1675 2.04492ZM4.00537 7.10645C3.71967 7.11042 3.4363 7.15732 3.16553 7.24512L2.89893 7.34668C2.63748 7.46146 2.39532 7.61469 2.18018 7.80078L1.97803 7.99316C1.52375 8.46356 1.2476 9.0739 1.18994 9.71973L1.17822 9.99805C1.18392 10.6519 1.41417 11.2812 1.82568 11.7822L2.01318 11.9883C2.47551 12.4506 3.0805 12.7377 3.7251 12.8066L4.00342 12.8232C4.75062 12.8297 5.4708 12.5425 6.0083 12.0234L6.44775 11.5986L6.40186 11.5527C6.44537 11.4885 6.48869 11.4241 6.52686 11.3564L6.65479 11.1016C6.76956 10.84 6.84411 10.563 6.87646 10.2803L6.89404 9.99609C6.89801 9.71049 6.85899 9.42635 6.77881 9.15332L6.68506 8.88379C6.5776 8.61923 6.4315 8.3726 6.25146 8.15234L6.06006 7.94141C5.85804 7.73939 5.62719 7.56844 5.37549 7.43555L5.1167 7.31543C4.76396 7.17222 4.38604 7.10121 4.00537 7.10645Z"stroke=#525866 stroke-width=1.2>`);
8004
+ var _tmpl$78 = /* @__PURE__ */ template(`<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 16 16"fill=none><path fill=currentColor d="M12.1675 2.04492L11.5308 2.68164L11.1069 3.10645L12.9614 4.96094L12.7495 5.17383L10.894 3.31836L10.4692 3.74219L9.40967 4.80273L8.98486 5.22754L9.40967 5.65137L10.5747 6.81738L10.3628 7.03027L9.19775 5.86328L8.77295 5.43945L6.35889 7.85352L6.62744 8.26172C7.00257 8.83177 7.18147 9.50559 7.14111 10.1816L7.10986 10.4707C7.00656 11.1451 6.68818 11.7654 6.20557 12.2402L5.98877 12.4346C5.46027 12.8661 4.80786 13.1133 4.13135 13.1426L3.84033 13.1416C3.0614 13.1032 2.3236 12.7769 1.771 12.2266H1.77002C1.28602 11.744 0.974717 11.1186 0.877441 10.4473L0.849121 10.1572C0.814077 9.47419 1.00158 8.80051 1.38037 8.2373L1.55518 8.00293C2.04954 7.39769 2.75121 6.99767 3.52393 6.88086C4.29677 6.76406 5.0856 6.93884 5.73682 7.37109L6.146 7.64258L6.49268 7.29492L11.9546 1.83203L12.1675 2.04492ZM4.00537 7.10645C3.71967 7.11042 3.4363 7.15732 3.16553 7.24512L2.89893 7.34668C2.63748 7.46146 2.39532 7.61469 2.18018 7.80078L1.97803 7.99316C1.52375 8.46356 1.2476 9.0739 1.18994 9.71973L1.17822 9.99805C1.18392 10.6519 1.41417 11.2812 1.82568 11.7822L2.01318 11.9883C2.47551 12.4506 3.0805 12.7377 3.7251 12.8066L4.00342 12.8232C4.75062 12.8297 5.4708 12.5425 6.0083 12.0234L6.44775 11.5986L6.40186 11.5527C6.44537 11.4885 6.48869 11.4241 6.52686 11.3564L6.65479 11.1016C6.76956 10.84 6.84411 10.563 6.87646 10.2803L6.89404 9.99609C6.89801 9.71049 6.85899 9.42635 6.77881 9.15332L6.68506 8.88379C6.5776 8.61923 6.4315 8.3726 6.25146 8.15234L6.06006 7.94141C5.85804 7.73939 5.62719 7.56844 5.37549 7.43555L5.1167 7.31543C4.76396 7.17222 4.38604 7.10121 4.00537 7.10645Z"stroke=#525866 stroke-width=1.2>`);
6885
8005
  function Key(props) {
6886
8006
  return (() => {
6887
- var _el$ = _tmpl$68();
8007
+ var _el$ = _tmpl$78();
6888
8008
  spread(_el$, props, true, true);
6889
8009
  return _el$;
6890
8010
  })();
6891
8011
  }
6892
8012
 
6893
8013
  // src/ui/components/Notification/NotificationListSkeleton.tsx
6894
- var _tmpl$69 = /* @__PURE__ */ template(`<div>`);
6895
- var _tmpl$220 = /* @__PURE__ */ template(`<p data-localization=notifications.emptyNotice>`);
6896
- var _tmpl$312 = /* @__PURE__ */ template(`<div><p>Trigger your notification. No setup needed.</p><p>Temporary &lt;Inbox />, data will expire in 24h. Connect API key to persists messages, enable
8014
+ var _tmpl$79 = /* @__PURE__ */ template(`<div>`);
8015
+ var _tmpl$225 = /* @__PURE__ */ template(`<p data-localization=notifications.emptyNotice>`);
8016
+ var _tmpl$315 = /* @__PURE__ */ template(`<div><p>Trigger your notification. No setup needed.</p><p>Temporary &lt;Inbox />, data will expire in 24h. Connect API key to persists messages, enable
6897
8017
  preferences, and connect email.</p><div><div>`);
6898
8018
  var NotificationListSkeleton = (props) => {
6899
8019
  const style = useStyle();
@@ -6904,7 +8024,7 @@ var NotificationListSkeleton = (props) => {
6904
8024
  isKeyless
6905
8025
  } = useInboxContext();
6906
8026
  return (() => {
6907
- var _el$ = _tmpl$69();
8027
+ var _el$ = _tmpl$79();
6908
8028
  insert(_el$, createComponent(Motion.div, {
6909
8029
  get animate() {
6910
8030
  return {
@@ -6949,7 +8069,7 @@ var NotificationListSkeleton = (props) => {
6949
8069
  appearanceKey: "notificationList__skeletonAvatar",
6950
8070
  "class": "nt-w-8 nt-h-8 nt-rounded-full nt-bg-neutral-alpha-100"
6951
8071
  }), (() => {
6952
- var _el$3 = _tmpl$69();
8072
+ var _el$3 = _tmpl$79();
6953
8073
  insert(_el$3, createComponent(SkeletonText, {
6954
8074
  appearanceKey: "notificationList__skeletonText",
6955
8075
  "class": "nt-h-2 nt-w-1/3 nt-bg-neutral-alpha-50 nt-rounded"
@@ -6966,7 +8086,7 @@ var NotificationListSkeleton = (props) => {
6966
8086
  })()];
6967
8087
  }
6968
8088
  }))), (() => {
6969
- var _el$2 = _tmpl$69();
8089
+ var _el$2 = _tmpl$79();
6970
8090
  effect(() => className(_el$2, style({
6971
8091
  key: "notificationListEmptyNoticeOverlay",
6972
8092
  className: "nt-absolute nt-size-full nt-z-10 nt-inset-0 nt-bg-gradient-to-b nt-from-transparent nt-to-background"
@@ -7006,7 +8126,7 @@ var NotificationListSkeleton = (props) => {
7006
8126
  },
7007
8127
  get children() {
7008
8128
  return memo(() => !!isKeyless())() ? createComponent(KeylessEmptyState, {}) : (() => {
7009
- var _el$4 = _tmpl$220();
8129
+ var _el$4 = _tmpl$225();
7010
8130
  insert(_el$4, () => t("notifications.emptyNotice"));
7011
8131
  return _el$4;
7012
8132
  })();
@@ -7025,7 +8145,7 @@ function KeylessEmptyState() {
7025
8145
  const style = useStyle();
7026
8146
  const novu = useNovu();
7027
8147
  return (() => {
7028
- var _el$5 = _tmpl$312(), _el$6 = _el$5.firstChild, _el$7 = _el$6.nextSibling, _el$8 = _el$7.nextSibling, _el$9 = _el$8.firstChild;
8148
+ var _el$5 = _tmpl$315(), _el$6 = _el$5.firstChild, _el$7 = _el$6.nextSibling, _el$8 = _el$7.nextSibling, _el$9 = _el$8.firstChild;
7029
8149
  insert(_el$8, createComponent(Button, {
7030
8150
  variant: "secondary",
7031
8151
  size: "sm",
@@ -7098,8 +8218,8 @@ function KeylessEmptyState() {
7098
8218
  }
7099
8219
 
7100
8220
  // src/ui/components/Notification/NotificationList.tsx
7101
- var _tmpl$70 = /* @__PURE__ */ template(`<div>`);
7102
- var _tmpl$221 = /* @__PURE__ */ template(`<div><div>`);
8221
+ var _tmpl$80 = /* @__PURE__ */ template(`<div>`);
8222
+ var _tmpl$226 = /* @__PURE__ */ template(`<div><div>`);
7103
8223
  var NotificationList = (props) => {
7104
8224
  var _a, _b, _c, _d, _e;
7105
8225
  const options = createMemo(() => __spreadProps(__spreadValues({}, props.filter), {
@@ -7148,7 +8268,7 @@ var NotificationList = (props) => {
7148
8268
  });
7149
8269
  });
7150
8270
  return (() => {
7151
- var _el$ = _tmpl$221(), _el$2 = _el$.firstChild;
8271
+ var _el$ = _tmpl$226(), _el$2 = _el$.firstChild;
7152
8272
  insert(_el$, createComponent(NewMessagesCta, {
7153
8273
  get count() {
7154
8274
  return count();
@@ -7177,7 +8297,7 @@ var NotificationList = (props) => {
7177
8297
  children: (_, index) => {
7178
8298
  const notification = () => data()[index()];
7179
8299
  return (() => {
7180
- var _el$4 = _tmpl$70();
8300
+ var _el$4 = _tmpl$80();
7181
8301
  use((el) => {
7182
8302
  observeNotification(el, notification().id);
7183
8303
  const observer = new MutationObserver((mutations) => {
@@ -7240,7 +8360,7 @@ var NotificationList = (props) => {
7240
8360
  return !end();
7241
8361
  },
7242
8362
  get children() {
7243
- var _el$3 = _tmpl$70();
8363
+ var _el$3 = _tmpl$80();
7244
8364
  use(setEl, _el$3);
7245
8365
  insert(_el$3, createComponent(NotificationListSkeleton, {
7246
8366
  loading: true
@@ -7274,13 +8394,13 @@ var NotificationList = (props) => {
7274
8394
  return _el$;
7275
8395
  })();
7276
8396
  };
7277
- var _tmpl$71 = /* @__PURE__ */ template(`<span>`);
8397
+ var _tmpl$81 = /* @__PURE__ */ template(`<span>`);
7278
8398
  var getDisplayCount = (count) => count >= 100 ? "99+" : count;
7279
8399
  var InboxTabUnreadNotificationsCount = (props) => {
7280
8400
  const style = useStyle();
7281
8401
  const displayCount = createMemo(() => getDisplayCount(props.count));
7282
8402
  return (() => {
7283
- var _el$ = _tmpl$71();
8403
+ var _el$ = _tmpl$81();
7284
8404
  insert(_el$, displayCount);
7285
8405
  effect(() => className(_el$, style({
7286
8406
  key: "notificationsTabsTriggerCount",
@@ -7314,7 +8434,7 @@ var InboxTab = (props) => {
7314
8434
  },
7315
8435
  get children() {
7316
8436
  return [(() => {
7317
- var _el$2 = _tmpl$71();
8437
+ var _el$2 = _tmpl$81();
7318
8438
  insert(_el$2, () => props.label);
7319
8439
  effect(() => className(_el$2, style({
7320
8440
  key: "notificationsTabsTriggerLabel",
@@ -7361,7 +8481,7 @@ var InboxDropdownTab = (props) => {
7361
8481
  },
7362
8482
  get children() {
7363
8483
  return [(() => {
7364
- var _el$3 = _tmpl$71();
8484
+ var _el$3 = _tmpl$81();
7365
8485
  insert(_el$3, () => props.label);
7366
8486
  effect(() => className(_el$3, style({
7367
8487
  key: "moreTabs__dropdownItemLabel",
@@ -7582,7 +8702,7 @@ var InboxTabs = (props) => {
7582
8702
  };
7583
8703
 
7584
8704
  // src/ui/components/Inbox.tsx
7585
- var _tmpl$73 = /* @__PURE__ */ template(`<div>`);
8705
+ var _tmpl$83 = /* @__PURE__ */ template(`<div>`);
7586
8706
  var InboxPage = /* @__PURE__ */ function(InboxPage2) {
7587
8707
  InboxPage2["Notifications"] = "notifications";
7588
8708
  InboxPage2["Preferences"] = "preferences";
@@ -7607,8 +8727,8 @@ var InboxContent = (props) => {
7607
8727
  };
7608
8728
  });
7609
8729
  return (() => {
7610
- var _el$ = _tmpl$73();
7611
- insert(_el$, createComponent(Switch$1, {
8730
+ var _el$ = _tmpl$83();
8731
+ insert(_el$, createComponent(Switch, {
7612
8732
  get children() {
7613
8733
  return [createComponent(Match, {
7614
8734
  get when() {
@@ -7935,6 +9055,9 @@ var Renderer = (props) => {
7935
9055
  get preferenceGroups() {
7936
9056
  return props.preferenceGroups;
7937
9057
  },
9058
+ get preferencesSort() {
9059
+ return props.preferencesSort;
9060
+ },
7938
9061
  get routerPush() {
7939
9062
  return props.routerPush;
7940
9063
  },
@@ -7988,7 +9111,7 @@ var Renderer = (props) => {
7988
9111
  };
7989
9112
 
7990
9113
  // src/ui/novuUI.tsx
7991
- var _dispose, _container, _setContainer, _rootElement, _mountedElements, _setMountedElements, _appearance, _setAppearance, _localization, _setLocalization, _options, _setOptions, _tabs, _setTabs, _routerPush, _setRouterPush, _preferencesFilter, _setPreferencesFilter, _preferenceGroups, _setPreferenceGroups, _predefinedNovu, _NovuUI_instances, getContainerElement_fn, mountComponentRenderer_fn, updateComponentProps_fn;
9114
+ var _dispose, _container, _setContainer, _rootElement, _mountedElements, _setMountedElements, _appearance, _setAppearance, _localization, _setLocalization, _options, _setOptions, _tabs, _setTabs, _routerPush, _setRouterPush, _preferencesFilter, _setPreferencesFilter, _preferenceGroups, _setPreferenceGroups, _preferencesSort, _setPreferencesSort, _predefinedNovu, _NovuUI_instances, getContainerElement_fn, mountComponentRenderer_fn, updateComponentProps_fn;
7992
9115
  var NovuUI = class {
7993
9116
  constructor(props) {
7994
9117
  __privateAdd(this, _NovuUI_instances);
@@ -8012,6 +9135,8 @@ var NovuUI = class {
8012
9135
  __privateAdd(this, _setPreferencesFilter);
8013
9136
  __privateAdd(this, _preferenceGroups);
8014
9137
  __privateAdd(this, _setPreferenceGroups);
9138
+ __privateAdd(this, _preferencesSort);
9139
+ __privateAdd(this, _setPreferencesSort);
8015
9140
  __privateAdd(this, _predefinedNovu);
8016
9141
  var _a;
8017
9142
  this.id = generateRandomString(16);
@@ -8022,6 +9147,7 @@ var NovuUI = class {
8022
9147
  const [tabs, setTabs] = createSignal((_a = props.tabs) != null ? _a : []);
8023
9148
  const [preferencesFilter, setPreferencesFilter] = createSignal(props.preferencesFilter);
8024
9149
  const [preferenceGroups, setPreferenceGroups] = createSignal(props.preferenceGroups);
9150
+ const [preferencesSort, setPreferencesSort] = createSignal(props.preferencesSort);
8025
9151
  const [routerPush, setRouterPush] = createSignal(props.routerPush);
8026
9152
  const [container, setContainer] = createSignal(__privateMethod(this, _NovuUI_instances, getContainerElement_fn).call(this, props.container));
8027
9153
  __privateSet(this, _mountedElements, mountedElements);
@@ -8041,6 +9167,8 @@ var NovuUI = class {
8041
9167
  __privateSet(this, _setPreferencesFilter, setPreferencesFilter);
8042
9168
  __privateSet(this, _preferenceGroups, preferenceGroups);
8043
9169
  __privateSet(this, _setPreferenceGroups, setPreferenceGroups);
9170
+ __privateSet(this, _preferencesSort, preferencesSort);
9171
+ __privateSet(this, _setPreferencesSort, setPreferencesSort);
8044
9172
  __privateSet(this, _container, container);
8045
9173
  __privateSet(this, _setContainer, setContainer);
8046
9174
  __privateMethod(this, _NovuUI_instances, mountComponentRenderer_fn).call(this);
@@ -8087,6 +9215,9 @@ var NovuUI = class {
8087
9215
  updatePreferenceGroups(preferenceGroups) {
8088
9216
  __privateGet(this, _setPreferenceGroups).call(this, preferenceGroups);
8089
9217
  }
9218
+ updatePreferencesSort(preferencesSort) {
9219
+ __privateGet(this, _setPreferencesSort).call(this, () => preferencesSort);
9220
+ }
8090
9221
  updateRouterPush(routerPush) {
8091
9222
  __privateGet(this, _setRouterPush).call(this, () => routerPush);
8092
9223
  }
@@ -8120,6 +9251,8 @@ _preferencesFilter = new WeakMap();
8120
9251
  _setPreferencesFilter = new WeakMap();
8121
9252
  _preferenceGroups = new WeakMap();
8122
9253
  _setPreferenceGroups = new WeakMap();
9254
+ _preferencesSort = new WeakMap();
9255
+ _setPreferencesSort = new WeakMap();
8123
9256
  _predefinedNovu = new WeakMap();
8124
9257
  _NovuUI_instances = new WeakSet();
8125
9258
  getContainerElement_fn = function(container) {
@@ -8172,6 +9305,10 @@ mountComponentRenderer_fn = function() {
8172
9305
  var _a;
8173
9306
  return __privateGet(_a = _self$, _preferenceGroups).call(_a);
8174
9307
  },
9308
+ get preferencesSort() {
9309
+ var _a;
9310
+ return __privateGet(_a = _self$, _preferencesSort).call(_a);
9311
+ },
8175
9312
  get routerPush() {
8176
9313
  var _a;
8177
9314
  return __privateGet(_a = _self$, _routerPush).call(_a);