react-semaphor 0.1.314 → 0.1.315

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/dist/chunks/{calendar-preferences-dialog-D70CuT-1.js → calendar-preferences-dialog-B3JYKgek.js} +1 -1
  2. package/dist/chunks/{calendar-preferences-dialog-BzpQ5u4h.js → calendar-preferences-dialog-aODuCeYE.js} +1 -1
  3. package/dist/chunks/{dashboard-controls-BS_aZcxs.js → dashboard-controls-CSunAZVx.js} +1 -1
  4. package/dist/chunks/{dashboard-controls-DbKtbw1V.js → dashboard-controls-jvJF-AJC.js} +3 -3
  5. package/dist/chunks/{dashboard-filter-controls-launcher-CMXpudFJ.js → dashboard-filter-controls-launcher-B0i9xSZZ.js} +1 -1
  6. package/dist/chunks/{dashboard-filter-controls-launcher-C8Wm2Smj.js → dashboard-filter-controls-launcher-DG6yRPmx.js} +3 -3
  7. package/dist/chunks/{dashboard-json-v2C6Tmqf.js → dashboard-json-Duea3KSa.js} +1 -1
  8. package/dist/chunks/{dashboard-json-CJCAen1R.js → dashboard-json-zKDTezgS.js} +1 -1
  9. package/dist/chunks/{edit-dashboard-visual-DljWvnMy.js → edit-dashboard-visual-MZCJaPiq.js} +3 -3
  10. package/dist/chunks/{edit-dashboard-visual-lRn3FeaP.js → edit-dashboard-visual-QjRIAadP.js} +1 -1
  11. package/dist/chunks/{index-XYIIY48z.js → index-B7C8qBWC.js} +163 -163
  12. package/dist/chunks/{index-P5hPTTzm.js → index-CjRLHvSp.js} +10703 -10631
  13. package/dist/chunks/{resource-management-panel-CAxXzMdi.js → resource-management-panel-CM3Zsk9H.js} +1 -1
  14. package/dist/chunks/{resource-management-panel-Dk0DzgVm.js → resource-management-panel-S0LXyguo.js} +2 -2
  15. package/dist/chunks/{use-create-flow-overlay-state-Cqf7GaFm.js → use-create-flow-overlay-state-Cp7PYD-t.js} +2 -2
  16. package/dist/chunks/{use-create-flow-overlay-state-DMZTflFt.js → use-create-flow-overlay-state-CqTBDwBF.js} +1 -1
  17. package/dist/chunks/{use-visual-utils-CPMQLBYR.js → use-visual-utils-D9DsvP1v.js} +1 -1
  18. package/dist/chunks/{use-visual-utils-CQQ3jvDn.js → use-visual-utils-DDd0pAJ_.js} +1 -1
  19. package/dist/dashboard/index.cjs +1 -1
  20. package/dist/dashboard/index.js +1 -1
  21. package/dist/index.cjs +1 -1
  22. package/dist/index.js +5 -5
  23. package/dist/style.css +1 -1
  24. package/dist/surfboard/index.cjs +1 -1
  25. package/dist/surfboard/index.js +2 -2
  26. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { jsx as r, jsxs as s, Fragment as X } from "react/jsx-runtime";
2
2
  import ee, { useState as h, useCallback as F, useEffect as ae, useMemo as H } from "react";
3
- import { u as re, b as te, c as se, d as ne, e as le, f as oe, R as W, g as O, C as ie, h as ce, i as de, j as ue, k as _, l as R, m as me, n as fe, o as N } from "./index-P5hPTTzm.js";
3
+ import { u as re, b as te, c as se, d as ne, e as le, f as oe, R as W, g as O, C as ie, h as ce, i as de, j as ue, k as _, l as R, m as me, n as fe, o as N } from "./index-CjRLHvSp.js";
4
4
  import { a as S, L as G, P as he, b as pe, B as j, d as ge, e as V, f as ve } from "./switch-B6fh8nb-.js";
5
5
  import { C as be } from "./chevrons-up-down-B2viXO2I.js";
6
6
  function we(n = {}) {
@@ -1 +1 @@
1
- "use strict";const e=require("react/jsx-runtime"),l=require("react"),t=require("./index-XYIIY48z.js"),i=require("./switch-DPaKnsb8.js"),G=require("./chevrons-up-down-DiWloubI.js");function W(n={}){var y,P,z,A;const{authToken:d,tokenProps:a}=t.useSemaphorContext(),x=n.enabled??!0,m=(d==null?void 0:d.accessToken)??null,f=(a==null?void 0:a.apiServiceUrl)??null,[L,C]=l.useState(!1),[j,b]=l.useState(!1),[h,g]=l.useState(!1),[N,c]=l.useState(null),[v,S]=l.useState(null),k=v||{tz:((P=(y=a==null?void 0:a.params)==null?void 0:y.calendarContext)==null?void 0:P.tz)||null,weekStart:((A=(z=a==null?void 0:a.params)==null?void 0:z.calendarContext)==null?void 0:A.weekStart)??null},p=l.useCallback(async()=>{if(!(!x||!m||!f)){C(!0),c(null);try{const o=await fetch(`${f}/v1/user-preferences/calendar`,{method:"GET",headers:{Authorization:`Bearer ${m}`}});if(!o.ok){const u=await o.json().catch(()=>({}));throw new Error(u.error||"Failed to fetch preferences")}const r=await o.json();S({tz:r.tz,weekStart:r.weekStart,source:r.source,isInherited:r.isInherited,userHasPrefs:r.userHasPrefs,inherited:r.inherited})}catch(o){const r=o instanceof Error?o.message:"Unknown error";c(r)}finally{C(!1)}}},[m,f,x]);l.useEffect(()=>{x&&p()},[x,p]);const T=l.useCallback(async o=>{if(!m||!f)return c("Not authenticated"),!1;b(!0),c(null);try{const r=await fetch(`${f}/v1/user-preferences/calendar`,{method:"PATCH",headers:{"Content-Type":"application/json",Authorization:`Bearer ${m}`},body:JSON.stringify(o)});if(!r.ok){const u=await r.json().catch(()=>({}));throw new Error(u.error||"Failed to update preferences")}return await p(),!0}catch(r){const u=r instanceof Error?r.message:"Unknown error";return c(u),!1}finally{b(!1)}},[m,f,p]),w=l.useCallback(async()=>{if(!m||!f)return c("Not authenticated"),!1;g(!0),c(null);try{const o=await fetch(`${f}/v1/user-preferences/calendar`,{method:"DELETE",headers:{Authorization:`Bearer ${m}`}});if(!o.ok){const u=await o.json().catch(()=>({}));throw new Error(u.error||"Failed to clear preferences")}const r=await o.text();if(r)try{const u=JSON.parse(r);return S({tz:u.tz,weekStart:u.weekStart,source:u.source,isInherited:u.isInherited??!0,userHasPrefs:!1,inherited:u.inherited}),!0}catch{}return await p(),!0}catch(o){const r=o instanceof Error?o.message:"Unknown error";return c(r),!1}finally{g(!1)}},[m,f,p]);return{preferences:k,isLoading:L,isSaving:j,isClearing:h,error:N,updatePreferences:T,clearPreferences:w,refetch:p}}const E=[{value:"America/New_York",label:"Eastern Time (US & Canada)"},{value:"America/Chicago",label:"Central Time (US & Canada)"},{value:"America/Denver",label:"Mountain Time (US & Canada)"},{value:"America/Los_Angeles",label:"Pacific Time (US & Canada)"},{value:"America/Phoenix",label:"Arizona"},{value:"America/Anchorage",label:"Alaska"},{value:"Pacific/Honolulu",label:"Hawaii"},{value:"Europe/London",label:"London"},{value:"Europe/Paris",label:"Paris, Berlin, Rome"},{value:"Asia/Tokyo",label:"Tokyo"},{value:"Asia/Shanghai",label:"Beijing, Shanghai"},{value:"Asia/Kolkata",label:"Mumbai, New Delhi"},{value:"Australia/Sydney",label:"Sydney"},{value:"UTC",label:"UTC"}],M=[{value:0,label:"Sunday"},{value:1,label:"Monday"},{value:6,label:"Saturday"}],H="text-[10px] font-medium uppercase tracking-[0.08em] text-muted-foreground";function _(){try{const n=Intl;if(n.supportedValuesOf)return n.supportedValuesOf("timeZone")}catch{}return E.map(n=>n.value)}function q(n){switch(n){case"tenant":return"tenant";case"organization":return"organization";case"system":return"system";default:return"default"}}function O(n){const d=E.find(a=>a.value===n);return d?d.label:n}function V(n){const d=M.find(a=>a.value===n);return d?d.label:String(n)}function Z({open:n,onOpenChange:d}){var D,U,F;const{preferences:a,isLoading:x,isSaving:m,isClearing:f,updatePreferences:L,clearPreferences:C}=W({enabled:n}),j=a.tz||((D=a.inherited)==null?void 0:D.tz)||Intl.DateTimeFormat().resolvedOptions().timeZone,b=a.weekStart??((U=a.inherited)==null?void 0:U.weekStart)??1,[h,g]=l.useState(!a.userHasPrefs),[N,c]=l.useState(!1),[v,S]=l.useState(j),[k,p]=l.useState(b),[T,w]=l.useState(!1),y=l.useMemo(()=>_(),[]),P=l.useMemo(()=>y.filter(s=>!E.some(R=>R.value===s)),[y]),z=l.useMemo(()=>O(v),[v]),A=a.inherited?O(a.inherited.tz):"UTC",o=a.inherited?V(a.inherited.weekStart):"Monday",r=q((F=a.inherited)==null?void 0:F.source);l.useEffect(()=>{if(!n){c(!1);return}N||(a.userHasPrefs!==void 0&&g(!a.userHasPrefs),S(j),p(b))},[n,N,a.userHasPrefs,j,b]);const u=async()=>{if(x){t.ue.error("Preferences are still loading. Please try again.");return}h?await C()?(t.ue.success("Now using default settings. Please refresh the page to apply changes.",{duration:5e3}),d(!1)):t.ue.error("Failed to save preferences. Please try again."):await L({tz:v,weekStart:k})?(t.ue.success("Preferences saved. Please refresh the page to apply changes.",{duration:5e3}),d(!1)):t.ue.error("Failed to save preferences. Please try again.")},$=()=>{d(!1)},I=m||f,B=I||x;return e.jsx(t.Dialog,{open:n,onOpenChange:d,children:e.jsxs(t.DialogContent,{className:"rounded-control border-border/60 sm:max-w-[440px] sm:rounded-control",children:[e.jsxs(t.DialogHeader,{children:[e.jsx(t.DialogTitle,{className:"text-[15px]",children:"Calendar preferences"}),e.jsx(t.DialogDescription,{className:"text-[13px] leading-5",children:"Set your timezone and week-start for date calculations and displays."})]}),e.jsxs("div",{className:"space-y-4 py-1",children:[e.jsxs(t.RadioGroup,{value:h?"defaults":"custom",onValueChange:s=>{c(!0),g(s==="defaults")},className:"space-y-0.5",children:[e.jsxs("label",{htmlFor:"mode-defaults",className:i.cn("flex cursor-pointer items-start gap-2 rounded-control px-2 py-1.5 hover:bg-muted/50",h&&"bg-muted/50"),onClick:()=>{c(!0),g(!0)},children:[e.jsx(t.RadioGroupItem,{value:"defaults",id:"mode-defaults",className:"mt-0.5"}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsxs("p",{className:"text-[13px] font-medium text-foreground",children:["Use ",r," defaults"]}),e.jsxs("p",{className:"text-[12px] text-muted-foreground",children:[A,", week starts ",o]})]})]}),e.jsxs("label",{htmlFor:"mode-custom",className:i.cn("flex cursor-pointer items-start gap-2 rounded-control px-2 py-1.5 hover:bg-muted/50",!h&&"bg-muted/50"),onClick:()=>{c(!0),g(!1)},children:[e.jsx(t.RadioGroupItem,{value:"custom",id:"mode-custom",className:"mt-0.5"}),e.jsx("p",{className:"flex-1 text-[13px] font-medium text-foreground",children:"Use custom settings"})]})]}),e.jsxs("div",{className:i.cn("space-y-4 border-t border-border/60 pt-4 transition-opacity",h&&"pointer-events-none opacity-50"),children:[e.jsxs("div",{className:"space-y-1.5",children:[e.jsx(i.Label,{className:H,children:"Timezone"}),e.jsxs(i.Popover,{open:T,onOpenChange:w,modal:!0,children:[e.jsx(i.PopoverTrigger,{asChild:!0,children:e.jsxs(i.Button,{variant:"outline",size:"xs",role:"combobox","aria-expanded":T,className:"w-full justify-between text-[12px] font-normal",disabled:h,children:[e.jsx("span",{className:"truncate",children:z}),e.jsx(G.ChevronsUpDown,{className:"ml-2 h-3.5 w-3.5 shrink-0 opacity-50"})]})}),e.jsx(i.PopoverContent,{className:"z-50 w-[--radix-popover-trigger-width] p-0",align:"start",children:e.jsxs(t.Command,{className:"overflow-visible",children:[e.jsx(t.CommandInput,{placeholder:"Search timezones…"}),e.jsxs(t.CommandList,{children:[e.jsx(t.CommandEmpty,{children:"No timezone found."}),e.jsx(t.CommandGroup,{heading:"Common",children:E.map(s=>e.jsxs(t.CommandItem,{value:`${s.value} ${s.label}`,onSelect:()=>{c(!0),S(s.value),w(!1)},children:[e.jsx(i.Check,{className:i.cn("h-3.5 w-3.5",v===s.value?"opacity-100":"opacity-0")}),e.jsx("span",{className:"flex-1",children:s.label}),e.jsx("span",{className:"text-[11px] text-muted-foreground",children:s.value})]},s.value))}),e.jsx(t.CommandSeparator,{}),e.jsx(t.CommandGroup,{heading:"All timezones",children:P.map(s=>e.jsxs(t.CommandItem,{value:s,onSelect:()=>{c(!0),S(s),w(!1)},children:[e.jsx(i.Check,{className:i.cn("h-3.5 w-3.5",v===s?"opacity-100":"opacity-0")}),s]},s))})]})]})})]})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsx(i.Label,{className:H,children:"Week starts on"}),e.jsx(t.RadioGroup,{value:String(k),onValueChange:s=>{c(!0),p(Number(s))},className:"flex gap-4",disabled:h,children:M.map(s=>e.jsxs("label",{htmlFor:`week-start-${s.value}`,className:i.cn("flex cursor-pointer items-center gap-2 text-[13px]",h&&"cursor-not-allowed"),children:[e.jsx(t.RadioGroupItem,{value:String(s.value),id:`week-start-${s.value}`,disabled:h}),s.label]},s.value))})]})]})]}),e.jsxs(t.DialogFooter,{children:[e.jsx(i.Button,{variant:"outline",size:"xs",onClick:$,disabled:I,children:"Cancel"}),e.jsx(i.Button,{size:"xs",onClick:u,disabled:B,children:I?e.jsxs(e.Fragment,{children:[e.jsx(i.LoaderCircle,{className:"h-3.5 w-3.5 animate-spin"}),"Saving…"]}):"Save"})]})]})})}exports.CalendarPreferencesDialog=Z;
1
+ "use strict";const e=require("react/jsx-runtime"),l=require("react"),t=require("./index-B7C8qBWC.js"),i=require("./switch-DPaKnsb8.js"),G=require("./chevrons-up-down-DiWloubI.js");function W(n={}){var y,P,z,A;const{authToken:d,tokenProps:a}=t.useSemaphorContext(),x=n.enabled??!0,m=(d==null?void 0:d.accessToken)??null,f=(a==null?void 0:a.apiServiceUrl)??null,[L,C]=l.useState(!1),[j,b]=l.useState(!1),[h,g]=l.useState(!1),[N,c]=l.useState(null),[v,S]=l.useState(null),k=v||{tz:((P=(y=a==null?void 0:a.params)==null?void 0:y.calendarContext)==null?void 0:P.tz)||null,weekStart:((A=(z=a==null?void 0:a.params)==null?void 0:z.calendarContext)==null?void 0:A.weekStart)??null},p=l.useCallback(async()=>{if(!(!x||!m||!f)){C(!0),c(null);try{const o=await fetch(`${f}/v1/user-preferences/calendar`,{method:"GET",headers:{Authorization:`Bearer ${m}`}});if(!o.ok){const u=await o.json().catch(()=>({}));throw new Error(u.error||"Failed to fetch preferences")}const r=await o.json();S({tz:r.tz,weekStart:r.weekStart,source:r.source,isInherited:r.isInherited,userHasPrefs:r.userHasPrefs,inherited:r.inherited})}catch(o){const r=o instanceof Error?o.message:"Unknown error";c(r)}finally{C(!1)}}},[m,f,x]);l.useEffect(()=>{x&&p()},[x,p]);const T=l.useCallback(async o=>{if(!m||!f)return c("Not authenticated"),!1;b(!0),c(null);try{const r=await fetch(`${f}/v1/user-preferences/calendar`,{method:"PATCH",headers:{"Content-Type":"application/json",Authorization:`Bearer ${m}`},body:JSON.stringify(o)});if(!r.ok){const u=await r.json().catch(()=>({}));throw new Error(u.error||"Failed to update preferences")}return await p(),!0}catch(r){const u=r instanceof Error?r.message:"Unknown error";return c(u),!1}finally{b(!1)}},[m,f,p]),w=l.useCallback(async()=>{if(!m||!f)return c("Not authenticated"),!1;g(!0),c(null);try{const o=await fetch(`${f}/v1/user-preferences/calendar`,{method:"DELETE",headers:{Authorization:`Bearer ${m}`}});if(!o.ok){const u=await o.json().catch(()=>({}));throw new Error(u.error||"Failed to clear preferences")}const r=await o.text();if(r)try{const u=JSON.parse(r);return S({tz:u.tz,weekStart:u.weekStart,source:u.source,isInherited:u.isInherited??!0,userHasPrefs:!1,inherited:u.inherited}),!0}catch{}return await p(),!0}catch(o){const r=o instanceof Error?o.message:"Unknown error";return c(r),!1}finally{g(!1)}},[m,f,p]);return{preferences:k,isLoading:L,isSaving:j,isClearing:h,error:N,updatePreferences:T,clearPreferences:w,refetch:p}}const E=[{value:"America/New_York",label:"Eastern Time (US & Canada)"},{value:"America/Chicago",label:"Central Time (US & Canada)"},{value:"America/Denver",label:"Mountain Time (US & Canada)"},{value:"America/Los_Angeles",label:"Pacific Time (US & Canada)"},{value:"America/Phoenix",label:"Arizona"},{value:"America/Anchorage",label:"Alaska"},{value:"Pacific/Honolulu",label:"Hawaii"},{value:"Europe/London",label:"London"},{value:"Europe/Paris",label:"Paris, Berlin, Rome"},{value:"Asia/Tokyo",label:"Tokyo"},{value:"Asia/Shanghai",label:"Beijing, Shanghai"},{value:"Asia/Kolkata",label:"Mumbai, New Delhi"},{value:"Australia/Sydney",label:"Sydney"},{value:"UTC",label:"UTC"}],M=[{value:0,label:"Sunday"},{value:1,label:"Monday"},{value:6,label:"Saturday"}],H="text-[10px] font-medium uppercase tracking-[0.08em] text-muted-foreground";function _(){try{const n=Intl;if(n.supportedValuesOf)return n.supportedValuesOf("timeZone")}catch{}return E.map(n=>n.value)}function q(n){switch(n){case"tenant":return"tenant";case"organization":return"organization";case"system":return"system";default:return"default"}}function O(n){const d=E.find(a=>a.value===n);return d?d.label:n}function V(n){const d=M.find(a=>a.value===n);return d?d.label:String(n)}function Z({open:n,onOpenChange:d}){var D,U,F;const{preferences:a,isLoading:x,isSaving:m,isClearing:f,updatePreferences:L,clearPreferences:C}=W({enabled:n}),j=a.tz||((D=a.inherited)==null?void 0:D.tz)||Intl.DateTimeFormat().resolvedOptions().timeZone,b=a.weekStart??((U=a.inherited)==null?void 0:U.weekStart)??1,[h,g]=l.useState(!a.userHasPrefs),[N,c]=l.useState(!1),[v,S]=l.useState(j),[k,p]=l.useState(b),[T,w]=l.useState(!1),y=l.useMemo(()=>_(),[]),P=l.useMemo(()=>y.filter(s=>!E.some(R=>R.value===s)),[y]),z=l.useMemo(()=>O(v),[v]),A=a.inherited?O(a.inherited.tz):"UTC",o=a.inherited?V(a.inherited.weekStart):"Monday",r=q((F=a.inherited)==null?void 0:F.source);l.useEffect(()=>{if(!n){c(!1);return}N||(a.userHasPrefs!==void 0&&g(!a.userHasPrefs),S(j),p(b))},[n,N,a.userHasPrefs,j,b]);const u=async()=>{if(x){t.ue.error("Preferences are still loading. Please try again.");return}h?await C()?(t.ue.success("Now using default settings. Please refresh the page to apply changes.",{duration:5e3}),d(!1)):t.ue.error("Failed to save preferences. Please try again."):await L({tz:v,weekStart:k})?(t.ue.success("Preferences saved. Please refresh the page to apply changes.",{duration:5e3}),d(!1)):t.ue.error("Failed to save preferences. Please try again.")},$=()=>{d(!1)},I=m||f,B=I||x;return e.jsx(t.Dialog,{open:n,onOpenChange:d,children:e.jsxs(t.DialogContent,{className:"rounded-control border-border/60 sm:max-w-[440px] sm:rounded-control",children:[e.jsxs(t.DialogHeader,{children:[e.jsx(t.DialogTitle,{className:"text-[15px]",children:"Calendar preferences"}),e.jsx(t.DialogDescription,{className:"text-[13px] leading-5",children:"Set your timezone and week-start for date calculations and displays."})]}),e.jsxs("div",{className:"space-y-4 py-1",children:[e.jsxs(t.RadioGroup,{value:h?"defaults":"custom",onValueChange:s=>{c(!0),g(s==="defaults")},className:"space-y-0.5",children:[e.jsxs("label",{htmlFor:"mode-defaults",className:i.cn("flex cursor-pointer items-start gap-2 rounded-control px-2 py-1.5 hover:bg-muted/50",h&&"bg-muted/50"),onClick:()=>{c(!0),g(!0)},children:[e.jsx(t.RadioGroupItem,{value:"defaults",id:"mode-defaults",className:"mt-0.5"}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsxs("p",{className:"text-[13px] font-medium text-foreground",children:["Use ",r," defaults"]}),e.jsxs("p",{className:"text-[12px] text-muted-foreground",children:[A,", week starts ",o]})]})]}),e.jsxs("label",{htmlFor:"mode-custom",className:i.cn("flex cursor-pointer items-start gap-2 rounded-control px-2 py-1.5 hover:bg-muted/50",!h&&"bg-muted/50"),onClick:()=>{c(!0),g(!1)},children:[e.jsx(t.RadioGroupItem,{value:"custom",id:"mode-custom",className:"mt-0.5"}),e.jsx("p",{className:"flex-1 text-[13px] font-medium text-foreground",children:"Use custom settings"})]})]}),e.jsxs("div",{className:i.cn("space-y-4 border-t border-border/60 pt-4 transition-opacity",h&&"pointer-events-none opacity-50"),children:[e.jsxs("div",{className:"space-y-1.5",children:[e.jsx(i.Label,{className:H,children:"Timezone"}),e.jsxs(i.Popover,{open:T,onOpenChange:w,modal:!0,children:[e.jsx(i.PopoverTrigger,{asChild:!0,children:e.jsxs(i.Button,{variant:"outline",size:"xs",role:"combobox","aria-expanded":T,className:"w-full justify-between text-[12px] font-normal",disabled:h,children:[e.jsx("span",{className:"truncate",children:z}),e.jsx(G.ChevronsUpDown,{className:"ml-2 h-3.5 w-3.5 shrink-0 opacity-50"})]})}),e.jsx(i.PopoverContent,{className:"z-50 w-[--radix-popover-trigger-width] p-0",align:"start",children:e.jsxs(t.Command,{className:"overflow-visible",children:[e.jsx(t.CommandInput,{placeholder:"Search timezones…"}),e.jsxs(t.CommandList,{children:[e.jsx(t.CommandEmpty,{children:"No timezone found."}),e.jsx(t.CommandGroup,{heading:"Common",children:E.map(s=>e.jsxs(t.CommandItem,{value:`${s.value} ${s.label}`,onSelect:()=>{c(!0),S(s.value),w(!1)},children:[e.jsx(i.Check,{className:i.cn("h-3.5 w-3.5",v===s.value?"opacity-100":"opacity-0")}),e.jsx("span",{className:"flex-1",children:s.label}),e.jsx("span",{className:"text-[11px] text-muted-foreground",children:s.value})]},s.value))}),e.jsx(t.CommandSeparator,{}),e.jsx(t.CommandGroup,{heading:"All timezones",children:P.map(s=>e.jsxs(t.CommandItem,{value:s,onSelect:()=>{c(!0),S(s),w(!1)},children:[e.jsx(i.Check,{className:i.cn("h-3.5 w-3.5",v===s?"opacity-100":"opacity-0")}),s]},s))})]})]})})]})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsx(i.Label,{className:H,children:"Week starts on"}),e.jsx(t.RadioGroup,{value:String(k),onValueChange:s=>{c(!0),p(Number(s))},className:"flex gap-4",disabled:h,children:M.map(s=>e.jsxs("label",{htmlFor:`week-start-${s.value}`,className:i.cn("flex cursor-pointer items-center gap-2 text-[13px]",h&&"cursor-not-allowed"),children:[e.jsx(t.RadioGroupItem,{value:String(s.value),id:`week-start-${s.value}`,disabled:h}),s.label]},s.value))})]})]})]}),e.jsxs(t.DialogFooter,{children:[e.jsx(i.Button,{variant:"outline",size:"xs",onClick:$,disabled:I,children:"Cancel"}),e.jsx(i.Button,{size:"xs",onClick:u,disabled:B,children:I?e.jsxs(e.Fragment,{children:[e.jsx(i.LoaderCircle,{className:"h-3.5 w-3.5 animate-spin"}),"Saving…"]}):"Save"})]})]})})}exports.CalendarPreferencesDialog=Z;
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("./switch-DPaKnsb8.js"),s=require("./index-XYIIY48z.js"),b=require("react");require("./index-DRlMUglg.js");require("react-dom");const G=require("./dashboard-filter-controls-launcher-CMXpudFJ.js"),Js=require("./index-D7KJindZ.js"),Ys=require("./calendar-preferences-dialog-BzpQ5u4h.js"),Xs=require("./use-debounced-dirty-check-XHSwAefL.js"),Ae=require("./normalize-dashboard-for-dirty-check-BXRUMVb2.js"),ls=require("./save-B8x5Vi0W.js"),Zs=require("./palette-CJTdBzJB.js"),et=require("./braces-NfG5hX2c.js");function st(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const a=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:()=>t[r]})}}return n.default=t,Object.freeze(n)}const L=st(b);/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("./switch-DPaKnsb8.js"),s=require("./index-B7C8qBWC.js"),b=require("react");require("./index-DRlMUglg.js");require("react-dom");const G=require("./dashboard-filter-controls-launcher-B0i9xSZZ.js"),Js=require("./index-D7KJindZ.js"),Ys=require("./calendar-preferences-dialog-aODuCeYE.js"),Xs=require("./use-debounced-dirty-check-XHSwAefL.js"),Ae=require("./normalize-dashboard-for-dirty-check-BXRUMVb2.js"),ls=require("./save-B8x5Vi0W.js"),Zs=require("./palette-CJTdBzJB.js"),et=require("./braces-NfG5hX2c.js");function st(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const a=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:()=>t[r]})}}return n.default=t,Object.freeze(n)}const L=st(b);/**
2
2
  * @license lucide-react v0.453.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,13 +1,13 @@
1
1
  import { jsx as e, jsxs as i, Fragment as P } from "react/jsx-runtime";
2
2
  import { c as V, u as S, B as A, aD as ua, h as Za, L as ea, x as de, a as W, aE as _e, aF as es, aG as as, I as Zs, f as X, aH as et, aI as at, aJ as aa, T as ss, k as ts, l as Pe, n as Te, m as sa, aK as rs, aC as st, i as Va, s as tt, t as rt, v as nt, w as ot, K as it, aL as ct } from "./switch-B6fh8nb-.js";
3
- import { ch as lt, u as j, b as ma, ci as dt, bl as ta, c as ha, d as pa, e as fa, f as ns, n as ut, cj as le, by as Oe, ck as mt, cl as ja, cm as os, cn as is, co as ht, bO as ga, cp as pt, cq as ft, cr as gt, cs as vt, ct as bt, cu as yt, q as Ue, M as Re, o as M, bV as xt, cv as St, cw as Nt, bS as ra, cx as na, bx as va, bc as cs, ba as ls, cy as wt, bF as ds, bG as us, bH as ms, bI as hs, bJ as ps, bK as fs, bL as gs, bM as oa, bp as Dt, cz as Ct, cA as Et, W as Lt, V as ke, a0 as Mt, X as Qe, cB as At, cC as kt, cD as It, ac as Ot, cE as Pt, I as Je, cF as Tt, cG as _t, cH as Ut, cf as Rt, bq as Gt, br as Ft, bs as $t, bt as zt, bu as F, bZ as Ht, K as qt, bA as Vt, bv as Ba, cI as jt, cJ as Bt, cK as Kt, $ as Qt, L as Jt, cL as Wt, H as ia } from "./index-P5hPTTzm.js";
3
+ import { ch as lt, u as j, b as ma, ci as dt, bl as ta, c as ha, d as pa, e as fa, f as ns, n as ut, cj as le, by as Oe, ck as mt, cl as ja, cm as os, cn as is, co as ht, bO as ga, cp as pt, cq as ft, cr as gt, cs as vt, ct as bt, cu as yt, q as Ue, M as Re, o as M, bV as xt, cv as St, cw as Nt, bS as ra, cx as na, bx as va, bc as cs, ba as ls, cy as wt, bF as ds, bG as us, bH as ms, bI as hs, bJ as ps, bK as fs, bL as gs, bM as oa, bp as Dt, cz as Ct, cA as Et, W as Lt, V as ke, a0 as Mt, X as Qe, cB as At, cC as kt, cD as It, ac as Ot, cE as Pt, I as Je, cF as Tt, cG as _t, cH as Ut, cf as Rt, bq as Gt, br as Ft, bs as $t, bt as zt, bu as F, bZ as Ht, K as qt, bA as Vt, bv as Ba, cI as jt, cJ as Bt, cK as Kt, $ as Qt, L as Jt, cL as Wt, H as ia } from "./index-CjRLHvSp.js";
4
4
  import * as k from "react";
5
5
  import vs, { useState as x, useMemo as q, useEffect as We, useCallback as Xt } from "react";
6
6
  import "./index-CJdxSyQq.js";
7
7
  import "react-dom";
8
- import { b as Yt, u as Zt, A as er, V as ar, e as sr, N as tr, U as rr } from "./dashboard-filter-controls-launcher-C8Wm2Smj.js";
8
+ import { b as Yt, u as Zt, A as er, V as ar, e as sr, N as tr, U as rr } from "./dashboard-filter-controls-launcher-DG6yRPmx.js";
9
9
  import { d as nr } from "./index-DFOb_6HB.js";
10
- import { C as or } from "./calendar-preferences-dialog-D70CuT-1.js";
10
+ import { C as or } from "./calendar-preferences-dialog-B3JYKgek.js";
11
11
  import { u as ir } from "./use-debounced-dirty-check-BwAbnX_5.js";
12
12
  import { s as Xe } from "./normalize-dashboard-for-dirty-check-5KpZN8xr.js";
13
13
  import { S as Ka } from "./save-_ALpoMy6.js";
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("react/jsx-runtime"),o=require("./switch-DPaKnsb8.js"),s=require("./index-XYIIY48z.js"),k=require("./use-create-flow-overlay-state-DMZTflFt.js"),v=require("react"),_=require("./use-visual-utils-CQQ3jvDn.js"),V=require("./date-formatter-D9Bvw5Qk.js");require("./index-DRlMUglg.js");require("react-dom");/**
1
+ "use strict";const e=require("react/jsx-runtime"),o=require("./switch-DPaKnsb8.js"),s=require("./index-B7C8qBWC.js"),k=require("./use-create-flow-overlay-state-CqTBDwBF.js"),v=require("react"),_=require("./use-visual-utils-DDd0pAJ_.js"),V=require("./date-formatter-D9Bvw5Qk.js");require("./index-DRlMUglg.js");require("react-dom");/**
2
2
  * @license lucide-react v0.453.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,9 +1,9 @@
1
1
  import { jsx as t, jsxs as n, Fragment as _ } from "react/jsx-runtime";
2
2
  import { c as be, L as J, x as Fe, B as P, f as ee, i as j, u as E, h as G, az as ce, a9 as xe, G as Ce, e as Te, g as we, a as $, S as te, X as Le, P as q, b as Y, d as K, aA as ke, aB as Pe, aC as Oe } from "./switch-B6fh8nb-.js";
3
- import { b as ae, c as se, d as oe, e as re, f as ne, bV as Ve, n as Me, s as Ue, t as Be, b8 as ye, bW as ze, o as M, b9 as Z, V as Re, bq as _e, br as $e, bt as He, bu as W, by as je, bl as Ge, bX as We, bY as Xe, bF as qe, bG as Ye, bH as Ke, bI as Qe, bJ as Je, bK as Ze, bL as et, u as ie, ad as R, aY as le, aU as De, aV as de, ae as Ne, aT as tt, a_ as at, bZ as st, b_ as ot, bn as rt, aW as ue, J as nt, ag as it, b$ as lt, c0 as dt, c1 as ct, c2 as ut, c3 as mt, c4 as ht, c5 as pt, c6 as ft, c7 as Se, c8 as gt, c9 as vt, ca as bt, cb as xt, cc as Ct, cd as wt, ce as yt, cf as Dt, ba as Nt, cg as St } from "./index-P5hPTTzm.js";
4
- import { V as Et, E as me, a as he, b as It, c as At, L as Ft, d as Tt, C as Lt, u as Ee, e as Ie, f as kt } from "./use-create-flow-overlay-state-Cqf7GaFm.js";
3
+ import { b as ae, c as se, d as oe, e as re, f as ne, bV as Ve, n as Me, s as Ue, t as Be, b8 as ye, bW as ze, o as M, b9 as Z, V as Re, bq as _e, br as $e, bt as He, bu as W, by as je, bl as Ge, bX as We, bY as Xe, bF as qe, bG as Ye, bH as Ke, bI as Qe, bJ as Je, bK as Ze, bL as et, u as ie, ad as R, aY as le, aU as De, aV as de, ae as Ne, aT as tt, a_ as at, bZ as st, b_ as ot, bn as rt, aW as ue, J as nt, ag as it, b$ as lt, c0 as dt, c1 as ct, c2 as ut, c3 as mt, c4 as ht, c5 as pt, c6 as ft, c7 as Se, c8 as gt, c9 as vt, ca as bt, cb as xt, cc as Ct, cd as wt, ce as yt, cf as Dt, ba as Nt, cg as St } from "./index-CjRLHvSp.js";
4
+ import { V as Et, E as me, a as he, b as It, c as At, L as Ft, d as Tt, C as Lt, u as Ee, e as Ie, f as kt } from "./use-create-flow-overlay-state-Cp7PYD-t.js";
5
5
  import Pt, { useState as k, useContext as Ot, useRef as X, useCallback as L, useEffect as z, useMemo as H } from "react";
6
- import { u as Ae } from "./use-visual-utils-CPMQLBYR.js";
6
+ import { u as Ae } from "./use-visual-utils-D9DsvP1v.js";
7
7
  import { k as pe } from "./date-formatter-DyIOb6uC.js";
8
8
  import "./index-CJdxSyQq.js";
9
9
  import "react-dom";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),o=require("react"),s=require("./switch-DPaKnsb8.js");require("./index-XYIIY48z.js");require("./index-DRlMUglg.js");require("react-dom");function b(){const t=s.useDashboardStore(e=>e.dashboard),c=s.useDashboardStore(e=>e.actions.setDashboard),u=s.useDashboardStore(e=>e.showDashboardJSON),h=s.useDashboardStore(e=>e.actions.setShowDashboardJSON),a=o.useMemo(()=>t?JSON.stringify(t,null,2):"",[t]),[l,d]=o.useState(a),n=o.useRef(a);return o.useEffect(()=>{a!==n.current&&(d(a),n.current=a)},[a]),r.jsxs("div",{className:s.cn("relative p-2",{hidden:!u}),children:[r.jsxs(s.Button,{variant:"secondary",size:"sm",className:"absolute right-2 top-2 z-10 h-8",onClick:()=>h(!1),children:[r.jsx(s.X,{className:"mr-2 h-4 w-4"}),"Close"]}),r.jsx("div",{className:"h-[550px] overflow-hidden",children:r.jsx(s.CodeEditor,{value:l,onValueChange:e=>{d(e);try{const i=JSON.parse(e);n.current=JSON.stringify(i,null,2),c(i)}catch{}},language:"json"})})]})}exports.default=b;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),o=require("react"),s=require("./switch-DPaKnsb8.js");require("./index-B7C8qBWC.js");require("./index-DRlMUglg.js");require("react-dom");function b(){const t=s.useDashboardStore(e=>e.dashboard),c=s.useDashboardStore(e=>e.actions.setDashboard),u=s.useDashboardStore(e=>e.showDashboardJSON),h=s.useDashboardStore(e=>e.actions.setShowDashboardJSON),a=o.useMemo(()=>t?JSON.stringify(t,null,2):"",[t]),[l,d]=o.useState(a),n=o.useRef(a);return o.useEffect(()=>{a!==n.current&&(d(a),n.current=a)},[a]),r.jsxs("div",{className:s.cn("relative p-2",{hidden:!u}),children:[r.jsxs(s.Button,{variant:"secondary",size:"sm",className:"absolute right-2 top-2 z-10 h-8",onClick:()=>h(!1),children:[r.jsx(s.X,{className:"mr-2 h-4 w-4"}),"Close"]}),r.jsx("div",{className:"h-[550px] overflow-hidden",children:r.jsx(s.CodeEditor,{value:l,onValueChange:e=>{d(e);try{const i=JSON.parse(e);n.current=JSON.stringify(i,null,2),c(i)}catch{}},language:"json"})})]})}exports.default=b;
@@ -1,7 +1,7 @@
1
1
  import { jsxs as i, jsx as t } from "react/jsx-runtime";
2
2
  import { useMemo as m, useState as b, useRef as f, useEffect as S } from "react";
3
3
  import { u as o, a as N, B as p, X as D, C as J } from "./switch-B6fh8nb-.js";
4
- import "./index-P5hPTTzm.js";
4
+ import "./index-CjRLHvSp.js";
5
5
  import "./index-CJdxSyQq.js";
6
6
  import "react-dom";
7
7
  function C() {
@@ -1,10 +1,10 @@
1
1
  import { jsx as e, jsxs as a, Fragment as De } from "react/jsx-runtime";
2
2
  import * as lc from "react";
3
3
  import Jt, { useState as K, useEffect as Se, useRef as Ee, useCallback as Ie, useMemo as ce, useContext as pr, Suspense as ic } from "react";
4
- import { cM as gi, b as Ia, c as Da, d as Ea, e as Aa, f as Qa, n as ns, P as nt, ba as vt, cN as xi, cO as Xn, o as st, cP as bi, bl as yt, cQ as fr, cR as vi, cS as yi, cT as Ni, cU as gr, cV as xr, bc as us, b6 as bt, cW as ss, ca as br, cX as oc, cd as rs, cY as Ci, cZ as cc, q as ms, c_ as dc, c$ as uc, d0 as sr, d1 as Zn, u as La, W as wi, d2 as mc, d3 as hc, d4 as Si, d5 as Ti, d6 as pc, d7 as fc, d8 as gc, b0 as Pa, b1 as pa, b2 as fa, b3 as Vn, b4 as Yt, b5 as Ua, d9 as rr, cF as wn, da as ki, db as ea, dc as pt, dd as xc, c7 as ca, de as Ii, df as vr, dg as Di, dh as bc, di as vc, dj as yc, dk as Nc, dl as Cc, dm as wc, dn as Sc, dp as Ei, dq as Tc, dr as Rs, ds as kc, dt as kl, du as Ic, dv as Il, dw as Dc, dx as Ec, dy as Ac, dz as Ha, bg as Ut, bi as Ht, dA as Ai, dB as yr, bO as Nr, bX as Cr, dC as wr, dD as Oc, dE as Oi, dF as Fi, dG as Kt, dH as Fc, dI as Mc, dJ as Mi, a8 as Ri, dK as Li, dL as Rc, dM as Lc, dN as Pc, dO as kn, dP as Vc, dQ as Bc, dR as Dl, dS as zc, E as hs, B as Sr, dT as _c, dU as Tr, ci as $c, dV as El, I as ft, dW as qc, dX as jc, dY as Pi, dZ as Vi, cG as Kc, d_ as kr, d$ as Ir, bS as ps, e0 as Bi, e1 as zi, e2 as Al, e3 as Bn, e4 as Gc, e5 as Uc, e6 as Hc, e7 as Wc, e8 as Qc, bD as Dr, e9 as Jc, ea as Yc, eb as _i, ec as $i, ed as Xc, ee as Zc, ef as ed, eg as td, eh as qi, ei as ad, ej as nd, ek as fs, el as gs, bq as tn, br as an, bt as nn, cj as In, by as Gt, em as sa, en as Oa, eo as Fa, ep as da, eq as Ja, er as sd, es as rd, et as ld, eu as id, ev as od, ew as cd, ex as dd, ey as xs, ez as ud, eA as Ol, bh as Xt, bb as Zt, eB as md, eC as hd, eD as pd, eE as fd, eF as ji, eG as gd, eH as xd, eI as bd, eJ as vd, eK as yd, eL as lr, eM as Nd, eN as Cd, eO as ir, eP as or, eQ as wd, eR as Sd, eS as Td, eT as kd, eU as Fl, bY as cr, eV as ua, bF as Id, eW as Dd, bG as Ed, bH as Ad, bI as Od, bJ as Fd, bK as Md, bL as Rd, bM as Ld, bu as ut, bp as Pd, eX as Vd, eY as Ya, eZ as Xa, e_ as Za, e$ as Ki, bs as Er, bZ as Bd, bv as zd, f0 as _d, f1 as $d, f2 as qd, f3 as bs, f4 as lt, f5 as it, f6 as ot, f7 as jd, f8 as Kd, f9 as Gi, fa as Ui, fb as Gd, cf as Hi, fc as Ud, fd as Hd, fe as Wd, ff as Qd, fg as Jd, fh as Yd, fi as Xd, fj as Zd, fk as eu, fl as tu, fm as au, fn as nu, fo as Ca, fp as vn, fq as Wa, R as vs, g as Ma, fr as su, fs as Ml, ft as ru, fu as lu, fv as Ls, fw as Rl, fx as iu, fy as ou, fz as cu, fA as du, fB as uu, fC as Ps, fD as Wi, fE as mu, fF as ls, fG as hu, fH as Qi, fI as pu, fJ as Ji, fK as fu, fL as gu, az as xu, fM as Wn, fN as bu, fO as Ll, fP as vu, fQ as yu, fR as Pl, fS as Nu, fT as Cu, fU as wu, fV as Su, fW as Tu, fX as ku, fY as Iu, fZ as Du, f_ as Eu, f$ as Yi, g0 as Au, g1 as Ou, g2 as Fu, g3 as Mu, g4 as Ru, g5 as Lu, g6 as Pu, g7 as Vu, g8 as Bu, g9 as Xi, ga as zu, gb as ys, gc as Ns, gd as Zi, ge as _u, gf as $u, gg as eo, gh as qu, gi as ju, gj as Cs, gk as Vs, gl as Ku, gm as Gu, gn as Uu, go as Hu, gp as Wu, gq as Vl, gr as en, gs as to, gt as Qu, gu as ao, gv as no, gw as es, gx as so, gy as ro, gz as Bl, gA as Ju, gB as Yu, gC as ts, gD as Xu, gE as Ar, gF as Zu, gG as em, gH as is, C as Dn, h as En, j as An, i as On, k as Fn, l as Mn, gI as tm, gJ as Rn, gK as ra, gL as dr, gM as ur, gN as Ln, gO as lo, gP as am, gQ as Bs, gR as zs, gS as nm, gT as _s, gU as sm, gV as zl, gW as _l, gX as rm, gY as lm, gZ as im, g_ as om, g$ as cm, V as dm, h0 as um, h1 as mm, h2 as hm, cI as pm, cJ as fm, cK as gm, bA as ws, h3 as Ss, h4 as $l, h5 as io, cg as $s, h6 as xm, h7 as bm, h8 as vm, F as ym, b8 as Nm, h9 as Cm, ha as wm, b9 as Sm } from "./index-P5hPTTzm.js";
4
+ import { cM as gi, b as Ia, c as Da, d as Ea, e as Aa, f as Qa, n as ns, P as nt, ba as vt, cN as xi, cO as Xn, o as st, cP as bi, bl as yt, cQ as fr, cR as vi, cS as yi, cT as Ni, cU as gr, cV as xr, bc as us, b6 as bt, cW as ss, ca as br, cX as oc, cd as rs, cY as Ci, cZ as cc, q as ms, c_ as dc, c$ as uc, d0 as sr, d1 as Zn, u as La, W as wi, d2 as mc, d3 as hc, d4 as Si, d5 as Ti, d6 as pc, d7 as fc, d8 as gc, b0 as Pa, b1 as pa, b2 as fa, b3 as Vn, b4 as Yt, b5 as Ua, d9 as rr, cF as wn, da as ki, db as ea, dc as pt, dd as xc, c7 as ca, de as Ii, df as vr, dg as Di, dh as bc, di as vc, dj as yc, dk as Nc, dl as Cc, dm as wc, dn as Sc, dp as Ei, dq as Tc, dr as Rs, ds as kc, dt as kl, du as Ic, dv as Il, dw as Dc, dx as Ec, dy as Ac, dz as Ha, bg as Ut, bi as Ht, dA as Ai, dB as yr, bO as Nr, bX as Cr, dC as wr, dD as Oc, dE as Oi, dF as Fi, dG as Kt, dH as Fc, dI as Mc, dJ as Mi, a8 as Ri, dK as Li, dL as Rc, dM as Lc, dN as Pc, dO as kn, dP as Vc, dQ as Bc, dR as Dl, dS as zc, E as hs, B as Sr, dT as _c, dU as Tr, ci as $c, dV as El, I as ft, dW as qc, dX as jc, dY as Pi, dZ as Vi, cG as Kc, d_ as kr, d$ as Ir, bS as ps, e0 as Bi, e1 as zi, e2 as Al, e3 as Bn, e4 as Gc, e5 as Uc, e6 as Hc, e7 as Wc, e8 as Qc, bD as Dr, e9 as Jc, ea as Yc, eb as _i, ec as $i, ed as Xc, ee as Zc, ef as ed, eg as td, eh as qi, ei as ad, ej as nd, ek as fs, el as gs, bq as tn, br as an, bt as nn, cj as In, by as Gt, em as sa, en as Oa, eo as Fa, ep as da, eq as Ja, er as sd, es as rd, et as ld, eu as id, ev as od, ew as cd, ex as dd, ey as xs, ez as ud, eA as Ol, bh as Xt, bb as Zt, eB as md, eC as hd, eD as pd, eE as fd, eF as ji, eG as gd, eH as xd, eI as bd, eJ as vd, eK as yd, eL as lr, eM as Nd, eN as Cd, eO as ir, eP as or, eQ as wd, eR as Sd, eS as Td, eT as kd, eU as Fl, bY as cr, eV as ua, bF as Id, eW as Dd, bG as Ed, bH as Ad, bI as Od, bJ as Fd, bK as Md, bL as Rd, bM as Ld, bu as ut, bp as Pd, eX as Vd, eY as Ya, eZ as Xa, e_ as Za, e$ as Ki, bs as Er, bZ as Bd, bv as zd, f0 as _d, f1 as $d, f2 as qd, f3 as bs, f4 as lt, f5 as it, f6 as ot, f7 as jd, f8 as Kd, f9 as Gi, fa as Ui, fb as Gd, cf as Hi, fc as Ud, fd as Hd, fe as Wd, ff as Qd, fg as Jd, fh as Yd, fi as Xd, fj as Zd, fk as eu, fl as tu, fm as au, fn as nu, fo as Ca, fp as vn, fq as Wa, R as vs, g as Ma, fr as su, fs as Ml, ft as ru, fu as lu, fv as Ls, fw as Rl, fx as iu, fy as ou, fz as cu, fA as du, fB as uu, fC as Ps, fD as Wi, fE as mu, fF as ls, fG as hu, fH as Qi, fI as pu, fJ as Ji, fK as fu, fL as gu, az as xu, fM as Wn, fN as bu, fO as Ll, fP as vu, fQ as yu, fR as Pl, fS as Nu, fT as Cu, fU as wu, fV as Su, fW as Tu, fX as ku, fY as Iu, fZ as Du, f_ as Eu, f$ as Yi, g0 as Au, g1 as Ou, g2 as Fu, g3 as Mu, g4 as Ru, g5 as Lu, g6 as Pu, g7 as Vu, g8 as Bu, g9 as Xi, ga as zu, gb as ys, gc as Ns, gd as Zi, ge as _u, gf as $u, gg as eo, gh as qu, gi as ju, gj as Cs, gk as Vs, gl as Ku, gm as Gu, gn as Uu, go as Hu, gp as Wu, gq as Vl, gr as en, gs as to, gt as Qu, gu as ao, gv as no, gw as es, gx as so, gy as ro, gz as Bl, gA as Ju, gB as Yu, gC as ts, gD as Xu, gE as Ar, gF as Zu, gG as em, gH as is, C as Dn, h as En, j as An, i as On, k as Fn, l as Mn, gI as tm, gJ as Rn, gK as ra, gL as dr, gM as ur, gN as Ln, gO as lo, gP as am, gQ as Bs, gR as zs, gS as nm, gT as _s, gU as sm, gV as zl, gW as _l, gX as rm, gY as lm, gZ as im, g_ as om, g$ as cm, V as dm, h0 as um, h1 as mm, h2 as hm, cI as pm, cJ as fm, cK as gm, bA as ws, h3 as Ss, h4 as $l, h5 as io, cg as $s, h6 as xm, h7 as bm, h8 as vm, F as ym, b8 as Nm, h9 as Cm, ha as wm, b9 as Sm } from "./index-CjRLHvSp.js";
5
5
  import { c as qe, g as we, B as Z, r as os, m as sn, a as W, i as M, aM as Tm, L as $, y as te, z as ae, A as ne, D as se, E as j, aN as oo, G as kt, X as tt, w as wt, s as Lt, t as St, v as Tt, P as It, b as At, d as Dt, C as ma, aO as km, aL as Sn, aP as Or, aQ as co, aG as Fr, aE as Im, x as Me, aR as Dm, f as ha, u as Ae, e as ga, aS as Mr, aT as zn, h as uo, T as Ts, k as ks, l as oa, n as Ta, I as Wt, q as Is, S as Ra, M as Em, az as ka, aU as Am, aV as Om, aW as mo, ah as Fm, aB as Mm, aX as Rm, aY as Lm, aZ as ql, a_ as Pm, a$ as Vm, b0 as Bm, b1 as zm, b2 as _m, b3 as jl, b4 as $m, b5 as Kl, R as mr, b6 as rn, b7 as qm, F as Ze, b8 as jm, b9 as Pn, ba as cs, bb as la, bc as Qn, bd as Gl, be as Rt, bf as Km, p as ho, bg as rt, a0 as Ul, bh as Gm, bi as Um, bj as Hm, bk as Wm, bl as Qm, bm as Jm, bn as Ym, bo as Xm, bp as Zm, bq as eh, br as th, bs as ah, ay as Hl, bt as nh, bu as sh, bv as rh, o as Ds } from "./switch-B6fh8nb-.js";
6
- import { f as lh, g as xt, h as po, V as fo, u as ih, e as oh, C as Wl } from "./use-create-flow-overlay-state-Cqf7GaFm.js";
7
- import { r as go, f as _n } from "./use-visual-utils-CPMQLBYR.js";
6
+ import { f as lh, g as xt, h as po, V as fo, u as ih, e as oh, C as Wl } from "./use-create-flow-overlay-state-Cp7PYD-t.js";
7
+ import { r as go, f as _n } from "./use-visual-utils-D9DsvP1v.js";
8
8
  import { C as xo } from "./chevrons-up-down-B2viXO2I.js";
9
9
  import { createPortal as ch } from "react-dom";
10
10
  import "./index-CJdxSyQq.js";
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),N=require("react"),n=require("./index-XYIIY48z.js"),t=require("./switch-DPaKnsb8.js"),Me=require("./use-create-flow-overlay-state-DMZTflFt.js"),ft=require("./use-visual-utils-CQQ3jvDn.js"),Rn=require("./chevrons-up-down-DiWloubI.js"),Sa=require("react-dom");require("./index-DRlMUglg.js");const wa=require("./palette-CJTdBzJB.js"),Ta=require("./common-types-C73-Ud1-.js");function Ea(s){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s){for(const r in s)if(r!=="default"){const l=Object.getOwnPropertyDescriptor(s,r);Object.defineProperty(a,r,l.get?l:{enumerable:!0,get:()=>s[r]})}}return a.default=s,Object.freeze(a)}const Ia=Ea(N);/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),N=require("react"),n=require("./index-B7C8qBWC.js"),t=require("./switch-DPaKnsb8.js"),Me=require("./use-create-flow-overlay-state-CqTBDwBF.js"),ft=require("./use-visual-utils-DDd0pAJ_.js"),Rn=require("./chevrons-up-down-DiWloubI.js"),Sa=require("react-dom");require("./index-DRlMUglg.js");const wa=require("./palette-CJTdBzJB.js"),Ta=require("./common-types-C73-Ud1-.js");function Ea(s){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s){for(const r in s)if(r!=="default"){const l=Object.getOwnPropertyDescriptor(s,r);Object.defineProperty(a,r,l.get?l:{enumerable:!0,get:()=>s[r]})}}return a.default=s,Object.freeze(a)}const Ia=Ea(N);/**
2
2
  * @license lucide-react v0.453.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.