react-semaphor 0.1.373 → 0.1.374

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 (28) hide show
  1. package/dist/chunks/{calendar-preferences-dialog-BCO0I6Q2.js → calendar-preferences-dialog-94DoRSW_.js} +1 -1
  2. package/dist/chunks/{calendar-preferences-dialog-CAcqW83Q.js → calendar-preferences-dialog-DmBRXOH6.js} +1 -1
  3. package/dist/chunks/{dashboard-briefing-launcher-CxozwqgX.js → dashboard-briefing-launcher-CAFCkwG3.js} +1 -1
  4. package/dist/chunks/{dashboard-briefing-launcher-DTp4KNI1.js → dashboard-briefing-launcher-l0ylhcAv.js} +3 -3
  5. package/dist/chunks/{dashboard-controls-Dkct7mpD.js → dashboard-controls-BX47yuCH.js} +1 -1
  6. package/dist/chunks/{dashboard-controls-Bc4E4Cky.js → dashboard-controls-DyzG0r5f.js} +3 -3
  7. package/dist/chunks/{dashboard-json-BmCwILfI.js → dashboard-json-B8kke4ES.js} +1 -1
  8. package/dist/chunks/{dashboard-json-BFB5jFmm.js → dashboard-json-BlPA6wRT.js} +1 -1
  9. package/dist/chunks/{edit-dashboard-visual-BXLuXKFc.js → edit-dashboard-visual-CgJxTZLJ.js} +3 -3
  10. package/dist/chunks/{edit-dashboard-visual-BBlY9tKB.js → edit-dashboard-visual-DA8SaE4h.js} +1 -1
  11. package/dist/chunks/{index-D5Pp-5LR.js → index-BJ971AL_.js} +2 -2
  12. package/dist/chunks/{index-Clqr43Sr.js → index-BiDFY4Gr.js} +5 -5
  13. package/dist/chunks/{resource-management-panel-DJUr47Bb.js → resource-management-panel-Bssc5uaX.js} +2 -2
  14. package/dist/chunks/{resource-management-panel-BbkbAlPo.js → resource-management-panel-C14F7VSc.js} +1 -1
  15. package/dist/chunks/{use-create-flow-overlay-state-DZI7VYBs.js → use-create-flow-overlay-state-BGhwg121.js} +2 -2
  16. package/dist/chunks/{use-create-flow-overlay-state-B4EAcL2v.js → use-create-flow-overlay-state-DAVI3fO1.js} +1 -1
  17. package/dist/chunks/{use-visual-utils-Bl3ltNL9.js → use-visual-utils-47dkDwLK.js} +1 -1
  18. package/dist/chunks/{use-visual-utils-djsPEgF1.js → use-visual-utils-K0yQRSI7.js} +1 -1
  19. package/dist/dashboard/index.cjs +1 -1
  20. package/dist/dashboard/index.js +1 -1
  21. package/dist/data-app-builder/index.cjs +1 -1
  22. package/dist/data-app-builder/index.js +1 -1
  23. package/dist/index.cjs +1 -1
  24. package/dist/index.js +5 -5
  25. package/dist/style.css +1 -1
  26. package/dist/surfboard/index.cjs +1 -1
  27. package/dist/surfboard/index.js +2 -2
  28. package/package.json +1 -1
@@ -1 +1 @@
1
- "use strict";const e=require("react/jsx-runtime"),l=require("react"),t=require("./index-D5Pp-5LR.js"),i=require("./switch-fIkmwzUt.js");require("./index-BxM99sFL.js");const G=require("./chevrons-up-down-CnCSGY02.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-BJ971AL_.js"),i=require("./switch-fIkmwzUt.js");require("./index-BxM99sFL.js");const G=require("./chevrons-up-down-CnCSGY02.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,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-Clqr43Sr.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-BiDFY4Gr.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-Dkx2qEOr.js";
5
5
  import "./index-CuHybtft.js";
6
6
  import { C as be } from "./chevrons-up-down-DSvLu4Ye.js";
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("react/jsx-runtime"),a=require("./switch-fIkmwzUt.js"),l=require("./index-D5Pp-5LR.js"),le=require("./use-create-flow-overlay-state-B4EAcL2v.js"),h=require("react"),bn=require("./use-visual-utils-djsPEgF1.js");require("./index-BxM99sFL.js");const $s=require("./date-formatter-B4EBSe9C.js");require("./index-DRlMUglg.js");require("react-dom");/**
1
+ "use strict";const e=require("react/jsx-runtime"),a=require("./switch-fIkmwzUt.js"),l=require("./index-BJ971AL_.js"),le=require("./use-create-flow-overlay-state-DAVI3fO1.js"),h=require("react"),bn=require("./use-visual-utils-K0yQRSI7.js");require("./index-BxM99sFL.js");const $s=require("./date-formatter-B4EBSe9C.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 s, Fragment as se } from "react/jsx-runtime";
2
2
  import { c as Ie, L as wn, a1 as io, B as ge, f as ne, G as ct, u as K, E as bt, aJ as Fr, a9 as ba, g as ze, e as He, H as xa, a as v, S as Fn, X as Ce, P as Re, b as tt, d as nt, aK as lo, aL as co, aH as ya, aM as va, a2 as Qe, a3 as Ye, a4 as Xe, a5 as Ze, a6 as he, Q as uo, aN as Na, aO as wa, $ as et, T as mo, J as ho, K as Pr, aP as po } from "./switch-Dkx2qEOr.js";
3
- import { b as ut, c as mt, d as ht, e as pt, f as ft, br as fo, n as Ca, ag as go, ah as bo, aV as ka, b$ as xo, o as fe, aW as Cn, x as yo, b9 as Pn, ba as Mn, bc as Bn, bd as je, bg as Sa, ay as Ht, al as vo, aF as No, ao as On, ar as Vn, as as $n, at as Un, au as _n, av as jn, aw as zn, u as It, $ as ot, aa as Hn, a6 as Aa, a7 as Kn, a0 as Ea, a5 as wo, ac as Co, bW as ko, c0 as So, b6 as Ao, a8 as Mr, w as Vt, a2 as Eo, c1 as Io, c2 as Do, c3 as To, c4 as Lo, c5 as Ro, c6 as Fo, c7 as Po, c8 as Mo, c9 as Ia, ca as Bo, cb as Oo, cc as Vo, cd as $o, ce as Uo, aH as gt, cf as _o, bV as Da, aX as Ta, cg as jo, ch as zo, ci as Ho, cj as Ko, ck as qo, cl as Wo, cm as Go, cn as La, co as Jo, cp as Qo, cq as Ra, cr as Fa, cs as Pa, ct as Yo, cu as Xo, bo as Ma, bL as Zo, bI as ei, cv as ti, bh as ni, aE as Ba, cw as ri, cx as ai, bi as Br, cy as si, cz as oi, cA as kn, cB as ii, cC as li, cD as Oa, cE as qn, cF as di, cG as ci, cH as ui, cI as Va, cJ as Dt, cK as $a, aY as Sn, ax as Ua, cL as mi, cM as hi, aG as An, cN as pi, cO as _a, az as fi, cP as gi, cQ as bi, cR as xi, cS as yi, cT as vi, cU as Ni, cV as wi } from "./index-Clqr43Sr.js";
4
- import { V as Ci, E as Or, a as Vr, b as ki, c as Si, L as Ai, d as Ei, C as Ii, u as ja, e as za, f as Di, R as Ti, S as Li } from "./use-create-flow-overlay-state-DZI7VYBs.js";
3
+ import { b as ut, c as mt, d as ht, e as pt, f as ft, br as fo, n as Ca, ag as go, ah as bo, aV as ka, b$ as xo, o as fe, aW as Cn, x as yo, b9 as Pn, ba as Mn, bc as Bn, bd as je, bg as Sa, ay as Ht, al as vo, aF as No, ao as On, ar as Vn, as as $n, at as Un, au as _n, av as jn, aw as zn, u as It, $ as ot, aa as Hn, a6 as Aa, a7 as Kn, a0 as Ea, a5 as wo, ac as Co, bW as ko, c0 as So, b6 as Ao, a8 as Mr, w as Vt, a2 as Eo, c1 as Io, c2 as Do, c3 as To, c4 as Lo, c5 as Ro, c6 as Fo, c7 as Po, c8 as Mo, c9 as Ia, ca as Bo, cb as Oo, cc as Vo, cd as $o, ce as Uo, aH as gt, cf as _o, bV as Da, aX as Ta, cg as jo, ch as zo, ci as Ho, cj as Ko, ck as qo, cl as Wo, cm as Go, cn as La, co as Jo, cp as Qo, cq as Ra, cr as Fa, cs as Pa, ct as Yo, cu as Xo, bo as Ma, bL as Zo, bI as ei, cv as ti, bh as ni, aE as Ba, cw as ri, cx as ai, bi as Br, cy as si, cz as oi, cA as kn, cB as ii, cC as li, cD as Oa, cE as qn, cF as di, cG as ci, cH as ui, cI as Va, cJ as Dt, cK as $a, aY as Sn, ax as Ua, cL as mi, cM as hi, aG as An, cN as pi, cO as _a, az as fi, cP as gi, cQ as bi, cR as xi, cS as yi, cT as vi, cU as Ni, cV as wi } from "./index-BiDFY4Gr.js";
4
+ import { V as Ci, E as Or, a as Vr, b as ki, c as Si, L as Ai, d as Ei, C as Ii, u as ja, e as za, f as Di, R as Ti, S as Li } from "./use-create-flow-overlay-state-BGhwg121.js";
5
5
  import Ri, { useState as A, useContext as Fi, useRef as Ee, useCallback as pe, useEffect as ue, useMemo as O } from "react";
6
- import { u as Ha } from "./use-visual-utils-Bl3ltNL9.js";
6
+ import { u as Ha } from "./use-visual-utils-47dkDwLK.js";
7
7
  import "./index-CuHybtft.js";
8
8
  import { l as $r } from "./date-formatter-CzcPZx39.js";
9
9
  import "./index-CJdxSyQq.js";
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("./switch-fIkmwzUt.js"),s=require("./index-D5Pp-5LR.js");require("./index-BxM99sFL.js");const v=require("react");require("./index-DRlMUglg.js");const es=require("react-dom"),O=require("./dashboard-briefing-launcher-CxozwqgX.js"),xt=require("./index-D7KJindZ.js"),ts=require("./calendar-preferences-dialog-BCO0I6Q2.js"),ss=require("./use-debounced-dirty-check-XHSwAefL.js"),Re=require("./normalize-dashboard-for-dirty-check-BXRUMVb2.js"),dt=require("./save-D3YYinDz.js"),rs=require("./palette-DUGktM-M.js"),ns=require("./braces-C3-w6xDL.js");function as(t){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(a,r,n.get?n:{enumerable:!0,get:()=>t[r]})}}return a.default=t,Object.freeze(a)}const E=as(v);/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("./switch-fIkmwzUt.js"),s=require("./index-BJ971AL_.js");require("./index-BxM99sFL.js");const v=require("react");require("./index-DRlMUglg.js");const es=require("react-dom"),O=require("./dashboard-briefing-launcher-CAFCkwG3.js"),xt=require("./index-D7KJindZ.js"),ts=require("./calendar-preferences-dialog-94DoRSW_.js"),ss=require("./use-debounced-dirty-check-XHSwAefL.js"),Re=require("./normalize-dashboard-for-dirty-check-BXRUMVb2.js"),dt=require("./save-D3YYinDz.js"),rs=require("./palette-DUGktM-M.js"),ns=require("./braces-C3-w6xDL.js");function as(t){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(a,r,n.get?n:{enumerable:!0,get:()=>t[r]})}}return a.default=t,Object.freeze(a)}const E=as(v);/**
2
2
  * @license lucide-react v0.453.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,14 +1,14 @@
1
1
  import { jsx as t, jsxs as i, Fragment as R } from "react/jsx-runtime";
2
2
  import { c as B, u as N, B as _, az as dt, E as Vt, L as Hr, a1 as jr, a as te, aA as qr, aB as Vr, aC as rt, aD as me, aE as ct, aF as Kt, f as $e, X as Qt, aG as Wt, aH as Kr, G as Rt, Y as Qr, Z as Wr, _ as Jr, a0 as Yr, j as Xr, aI as Zr } from "./switch-Dkx2qEOr.js";
3
- import { bt as ea, u as G, b as Jt, bu as ta, ay as re, c as Yt, d as ra, e as at, f as nt, n as aa, bv as ue, bg as Fe, bw as na, bx as Ut, by as Xt, bz as Zt, bA as sa, bo as lt, bB as oa, bC as ia, bD as da, bE as ca, bF as la, bG as ua, ae as pe, bH as fe, o as C, bI as ma, bJ as er, aY as ut, aI as pa, bK as fa, bL as ha, bf as tr, bi as rr, aG as ga, b8 as ba, bM as xa, bN as va, y as ya, x as Ue, J as wa, z as Ye, bO as Na, bP as Sa, bQ as Da, _ as ka, bR as Ca, I as Xe, bS as Ea, bT as La, bU as Ia, bV as Aa, b9 as Ma, ba as Pa, bb as Oa, bc as _a, bd as $, bW as Ra, aD as Tt, bX as Ua, bY as Ta, bZ as Fa, H as $a, b_ as Ga, ao as Ba, ar as za, as as Ha, at as ja, au as qa, av as Va, aw as Ka, ax as Ft, v as st } from "./index-Clqr43Sr.js";
3
+ import { bt as ea, u as G, b as Jt, bu as ta, ay as re, c as Yt, d as ra, e as at, f as nt, n as aa, bv as ue, bg as Fe, bw as na, bx as Ut, by as Xt, bz as Zt, bA as sa, bo as lt, bB as oa, bC as ia, bD as da, bE as ca, bF as la, bG as ua, ae as pe, bH as fe, o as C, bI as ma, bJ as er, aY as ut, aI as pa, bK as fa, bL as ha, bf as tr, bi as rr, aG as ga, b8 as ba, bM as xa, bN as va, y as ya, x as Ue, J as wa, z as Ye, bO as Na, bP as Sa, bQ as Da, _ as ka, bR as Ca, I as Xe, bS as Ea, bT as La, bU as Ia, bV as Aa, b9 as Ma, ba as Pa, bb as Oa, bc as _a, bd as $, bW as Ra, aD as Tt, bX as Ua, bY as Ta, bZ as Fa, H as $a, b_ as Ga, ao as Ba, ar as za, as as Ha, at as ja, au as qa, av as Va, aw as Ka, ax as Ft, v as st } from "./index-BiDFY4Gr.js";
4
4
  import "./index-CuHybtft.js";
5
5
  import * as I from "react";
6
6
  import ar, { useState as w, useMemo as K, useEffect as Ge, useRef as $t, useLayoutEffect as Qa, useCallback as Wa } from "react";
7
7
  import "./index-CJdxSyQq.js";
8
8
  import { createPortal as Ja } from "react-dom";
9
- import { L as Ya, b as Xa, u as Za, A as en, V as tn, K as rn, e as an, M as nn, N as sn, U as on } from "./dashboard-briefing-launcher-DTp4KNI1.js";
9
+ import { L as Ya, b as Xa, u as Za, A as en, V as tn, K as rn, e as an, M as nn, N as sn, U as on } from "./dashboard-briefing-launcher-l0ylhcAv.js";
10
10
  import { d as nr } from "./index-DFOb_6HB.js";
11
- import { C as dn } from "./calendar-preferences-dialog-CAcqW83Q.js";
11
+ import { C as dn } from "./calendar-preferences-dialog-DmBRXOH6.js";
12
12
  import { u as cn } from "./use-debounced-dirty-check-BwAbnX_5.js";
13
13
  import { s as Ze } from "./normalize-dashboard-for-dirty-check-5KpZN8xr.js";
14
14
  import { S as Gt } from "./save-kkBEBeLg.js";
@@ -2,7 +2,7 @@ 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 "./index-CuHybtft.js";
4
4
  import { u as o, a as p, B as N, X as D, C as J } from "./switch-Dkx2qEOr.js";
5
- import "./index-Clqr43Sr.js";
5
+ import "./index-BiDFY4Gr.js";
6
6
  import "./index-CJdxSyQq.js";
7
7
  import "react-dom";
8
8
  function V() {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),o=require("react");require("./index-BxM99sFL.js");const s=require("./switch-fIkmwzUt.js");require("./index-D5Pp-5LR.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");require("./index-BxM99sFL.js");const s=require("./switch-fIkmwzUt.js");require("./index-BJ971AL_.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,11 +1,11 @@
1
1
  import { jsx as e, jsxs as a, Fragment as Ie } from "react/jsx-runtime";
2
2
  import * as yc from "react";
3
3
  import ea, { useState as K, useEffect as Se, useRef as Me, useCallback as Ee, useMemo as de, useContext as wr, Suspense as Nc } from "react";
4
- import { cW as Di, b as Aa, c as Oa, d as Ma, e as Fa, f as Xa, n as hs, aS as kt, aX as wt, cX as Ei, cY as is, o as at, cZ as Ai, cG as os, aH as En, ay as yt, aG as $t, bV as Sr, aE as sn, aY as qn, aT as Nt, c_ as ps, cN as Tr, c$ as Cc, d0 as Oi, d1 as wc, ae as Ns, d2 as Sc, d3 as Tc, d4 as mr, d5 as cs, u as xa, y as Mi, d6 as kc, d7 as Ic, d8 as Fi, d9 as Ri, da as Dc, db as Ec, dc as Ac, aM as Va, aN as ba, aO as va, aP as jn, aQ as ta, aR as Qa, dd as hr, bS as Tn, de as Li, am as na, an as ft, df as Oc, dg as Pi, c9 as ma, cO as Vi, dh as kr, di as Bi, dj as Mc, dk as Fc, dl as Rc, dm as Lc, dn as Pc, dp as Vc, dq as Bc, dr as _c, ds as zc, dt as zs, du as $c, dv as _l, dw as qc, dx as zl, dy as jc, dz as Kc, dA as Uc, dB as Ya, b0 as Qt, b2 as Yt, aJ as _i, dC as Ir, bo as Dr, al as Er, dD as Gc, dE as Wc, dF as Ar, dG as Hc, dH as zi, dI as $i, dJ as qi, dK as Wt, dL as Qc, dM as Yc, dN as Jc, dO as Xc, dP as ji, dQ as Ki, W as Ui, dR as Gi, dS as Zc, dT as ed, dU as td, dV as An, M as ad, dW as nd, dX as sd, dY as $l, dZ as rd, E as Cs, s as Or, d_ as ld, d$ as Mr, bu as id, e0 as ql, I as gt, e1 as od, e2 as cd, e3 as Wi, e4 as Hi, bT as dd, e5 as Fr, e6 as Rr, aI as ws, e7 as Qi, e8 as Yi, e9 as jl, ea as Kn, eb as ud, ec as md, ed as hd, ee as pd, ef as fd, bl as fs, eg as gd, eh as xd, ei as Ji, ej as Xi, ek as bd, el as vd, em as yd, en as Nd, eo as Zi, ep as Cd, eq as wd, er as Ss, es as Ts, b9 as rn, ba as ln, bc as on, bv as On, bg as Ht, et as oa, eu as Ra, ev as La, ew as ha, ex as Za, ey as Sd, ez as Td, eA as kd, eB as Id, eC as Dd, eD as Ed, eE as Ad, eF as Od, eG as Kl, b1 as aa, eH as Md, eI as Fd, eJ as Rd, eK as Ld, eL as eo, eM as Pd, eN as Vd, eO as Bd, eP as _d, eQ as zd, eR as pr, eS as $d, eT as qd, eU as fr, eV as gr, eW as jd, eX as Kd, eY as Ud, eZ as Gd, e_ as Ul, aF as xr, aA as pa, ao as Wd, ap as Hd, ar as Qd, as as Yd, at as Jd, au as Xd, av as Zd, aw as eu, ax as tu, bd as ct, b8 as au, e$ as nu, f0 as en, f1 as tn, f2 as an, bb as Lr, bW as su, aD as ru, f3 as lu, f4 as iu, f5 as ou, f6 as ks, f7 as st, f8 as rt, f9 as lt, cL as cu, cM as du, fa as to, fb as ao, cI as uu, fc as mu, fd as hu, fe as pu, ff as fu, fg as gu, fh as xu, fi as bu, fj as vu, fk as yu, fl as Nu, fm as Cu, fn as wu, fo as Ta, fp as Nn, fq as Ja, fr as Su, fs as Gl, ft as Tu, fu as ku, fv as $s, fw as Wl, fx as Iu, fy as Du, fz as Eu, fA as Au, fB as Ou, R as Pr, g as Mn, fC as qs, fD as no, aK as Mu, fE as gs, fF as Fu, fG as so, fH as Ru, fI as ro, cs as Lu, fJ as Pu, a3 as Vu, fK as ns, fL as Bu, fM as Hl, fN as _u, fO as zu, fP as Ql, fQ as $u, fR as qu, fS as ju, fT as Ku, fU as Uu, cH as Gu, cJ as Wu, aq as lo, fV as Hu, fW as Qu, fX as Yu, fY as Ju, fZ as Xu, f_ as Zu, f$ as em, g0 as tm, g1 as am, g2 as io, g3 as nm, g4 as Is, ca as Ds, g5 as oo, g6 as sm, g7 as rm, g8 as co, g9 as lm, ga as im, gb as Es, gc as js, gd as om, ge as cm, gf as dm, gg as um, gh as mm, gi as Yl, gj as nn, gk as uo, gl as hm, cK as pm, gm as mo, gn as ho, go as ds, gp as po, gq as fo, gr as Jl, gs as fm, gt as gm, gu as us, gv as xm, gw as Vr, gx as bm, gy as xs, C as Fn, h as Rn, j as Ln, i as Pn, k as Vn, l as Bn, gz as vm, gA as _n, gB as ca, gC as br, gD as vr, gE as zn, gF as go, gG as ym, gH as Ks, gI as Us, gJ as Nm, gK as Gs, gL as Cm, gM as Xl, gN as Zl, cQ as wm, gO as Sm, cR as Tm, cT as km, cU as Im, x as Dm, gP as Em, gQ as Am, gR as Om, bX as Mm, bY as Fm, bZ as Rm, bi as As, cE as Os, gS as ei, gT as xo, cg as Ws, gU as Lm, gV as Pm, gW as Vm, F as Bm, aV as _m, gX as zm, gY as $m, aW as qm } from "./index-Clqr43Sr.js";
4
+ import { cW as Di, b as Aa, c as Oa, d as Ma, e as Fa, f as Xa, n as hs, aS as kt, aX as wt, cX as Ei, cY as is, o as at, cZ as Ai, cG as os, aH as En, ay as yt, aG as $t, bV as Sr, aE as sn, aY as qn, aT as Nt, c_ as ps, cN as Tr, c$ as Cc, d0 as Oi, d1 as wc, ae as Ns, d2 as Sc, d3 as Tc, d4 as mr, d5 as cs, u as xa, y as Mi, d6 as kc, d7 as Ic, d8 as Fi, d9 as Ri, da as Dc, db as Ec, dc as Ac, aM as Va, aN as ba, aO as va, aP as jn, aQ as ta, aR as Qa, dd as hr, bS as Tn, de as Li, am as na, an as ft, df as Oc, dg as Pi, c9 as ma, cO as Vi, dh as kr, di as Bi, dj as Mc, dk as Fc, dl as Rc, dm as Lc, dn as Pc, dp as Vc, dq as Bc, dr as _c, ds as zc, dt as zs, du as $c, dv as _l, dw as qc, dx as zl, dy as jc, dz as Kc, dA as Uc, dB as Ya, b0 as Qt, b2 as Yt, aJ as _i, dC as Ir, bo as Dr, al as Er, dD as Gc, dE as Wc, dF as Ar, dG as Hc, dH as zi, dI as $i, dJ as qi, dK as Wt, dL as Qc, dM as Yc, dN as Jc, dO as Xc, dP as ji, dQ as Ki, W as Ui, dR as Gi, dS as Zc, dT as ed, dU as td, dV as An, M as ad, dW as nd, dX as sd, dY as $l, dZ as rd, E as Cs, s as Or, d_ as ld, d$ as Mr, bu as id, e0 as ql, I as gt, e1 as od, e2 as cd, e3 as Wi, e4 as Hi, bT as dd, e5 as Fr, e6 as Rr, aI as ws, e7 as Qi, e8 as Yi, e9 as jl, ea as Kn, eb as ud, ec as md, ed as hd, ee as pd, ef as fd, bl as fs, eg as gd, eh as xd, ei as Ji, ej as Xi, ek as bd, el as vd, em as yd, en as Nd, eo as Zi, ep as Cd, eq as wd, er as Ss, es as Ts, b9 as rn, ba as ln, bc as on, bv as On, bg as Ht, et as oa, eu as Ra, ev as La, ew as ha, ex as Za, ey as Sd, ez as Td, eA as kd, eB as Id, eC as Dd, eD as Ed, eE as Ad, eF as Od, eG as Kl, b1 as aa, eH as Md, eI as Fd, eJ as Rd, eK as Ld, eL as eo, eM as Pd, eN as Vd, eO as Bd, eP as _d, eQ as zd, eR as pr, eS as $d, eT as qd, eU as fr, eV as gr, eW as jd, eX as Kd, eY as Ud, eZ as Gd, e_ as Ul, aF as xr, aA as pa, ao as Wd, ap as Hd, ar as Qd, as as Yd, at as Jd, au as Xd, av as Zd, aw as eu, ax as tu, bd as ct, b8 as au, e$ as nu, f0 as en, f1 as tn, f2 as an, bb as Lr, bW as su, aD as ru, f3 as lu, f4 as iu, f5 as ou, f6 as ks, f7 as st, f8 as rt, f9 as lt, cL as cu, cM as du, fa as to, fb as ao, cI as uu, fc as mu, fd as hu, fe as pu, ff as fu, fg as gu, fh as xu, fi as bu, fj as vu, fk as yu, fl as Nu, fm as Cu, fn as wu, fo as Ta, fp as Nn, fq as Ja, fr as Su, fs as Gl, ft as Tu, fu as ku, fv as $s, fw as Wl, fx as Iu, fy as Du, fz as Eu, fA as Au, fB as Ou, R as Pr, g as Mn, fC as qs, fD as no, aK as Mu, fE as gs, fF as Fu, fG as so, fH as Ru, fI as ro, cs as Lu, fJ as Pu, a3 as Vu, fK as ns, fL as Bu, fM as Hl, fN as _u, fO as zu, fP as Ql, fQ as $u, fR as qu, fS as ju, fT as Ku, fU as Uu, cH as Gu, cJ as Wu, aq as lo, fV as Hu, fW as Qu, fX as Yu, fY as Ju, fZ as Xu, f_ as Zu, f$ as em, g0 as tm, g1 as am, g2 as io, g3 as nm, g4 as Is, ca as Ds, g5 as oo, g6 as sm, g7 as rm, g8 as co, g9 as lm, ga as im, gb as Es, gc as js, gd as om, ge as cm, gf as dm, gg as um, gh as mm, gi as Yl, gj as nn, gk as uo, gl as hm, cK as pm, gm as mo, gn as ho, go as ds, gp as po, gq as fo, gr as Jl, gs as fm, gt as gm, gu as us, gv as xm, gw as Vr, gx as bm, gy as xs, C as Fn, h as Rn, j as Ln, i as Pn, k as Vn, l as Bn, gz as vm, gA as _n, gB as ca, gC as br, gD as vr, gE as zn, gF as go, gG as ym, gH as Ks, gI as Us, gJ as Nm, gK as Gs, gL as Cm, gM as Xl, gN as Zl, cQ as wm, gO as Sm, cR as Tm, cT as km, cU as Im, x as Dm, gP as Em, gQ as Am, gR as Om, bX as Mm, bY as Fm, bZ as Rm, bi as As, cE as Os, gS as ei, gT as xo, cg as Ws, gU as Lm, gV as Pm, gW as Vm, F as Bm, aV as _m, gX as zm, gY as $m, aW as qm } from "./index-BiDFY4Gr.js";
5
5
  import "./index-CuHybtft.js";
6
6
  import { c as $e, H as Ne, B as Z, W as bs, M as Un, a as J, aQ as jm, L as $, a2 as ae, a3 as ne, a4 as se, a5 as re, a6 as j, g as At, X as Ze, G as M, a0 as It, Y as Vt, Z as Dt, _ as Et, P as Ot, b as Rt, d as Mt, C as fa, aR as Km, aI as kn, aS as Br, aT as bo, aF as _r, aD as Um, a1 as Fe, aU as Gm, f as ga, u as De, e as ya, aV as zr, aW as Gn, E as vo, T as Wn, J as Hn, K as Jt, N as Da, $ as Xt, V as Ms, S as Pa, k as Wm, aJ as Ea, aX as Hm, aY as Qm, aZ as yo, ah as Ym, aL as Jm, a_ as Xm, a$ as Zm, b0 as ti, b1 as eh, b2 as th, b3 as ah, b4 as nh, aP as sh, b5 as rh, b6 as ai, b7 as lh, b8 as ni, R as yr, b9 as cn, ba as ih, a7 as Ye, bb as oh, bc as $n, bd as vs, be as da, bf as ss, bg as si, bh as ch, bi as Pt, bj as dh, Q as No, bk as nt, v as ri, bl as uh, bm as mh, bn as hh, bo as ph, bp as fh, bq as gh, br as xh, bs as bh, bt as vh, bu as yh, bv as Nh, bw as Ch, ay as li, bx as wh, by as Sh, bz as Th, O as Fs } from "./switch-Dkx2qEOr.js";
7
- import { f as kh, g as xt, S as Ih, h as Co, V as wo, u as Dh, e as Eh, R as Rs, C as ii } from "./use-create-flow-overlay-state-DZI7VYBs.js";
8
- import { r as So, f as Qn } from "./use-visual-utils-Bl3ltNL9.js";
7
+ import { f as kh, g as xt, S as Ih, h as Co, V as wo, u as Dh, e as Eh, R as Rs, C as ii } from "./use-create-flow-overlay-state-BGhwg121.js";
8
+ import { r as So, f as Qn } from "./use-visual-utils-47dkDwLK.js";
9
9
  import { C as To } from "./chevrons-up-down-DSvLu4Ye.js";
10
10
  import { createPortal as Ah } from "react-dom";
11
11
  import "./index-CJdxSyQq.js";
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),v=require("react"),n=require("./index-D5Pp-5LR.js");require("./index-BxM99sFL.js");const t=require("./switch-fIkmwzUt.js"),Ne=require("./use-create-flow-overlay-state-B4EAcL2v.js"),bt=require("./use-visual-utils-djsPEgF1.js"),Hn=require("./chevrons-up-down-CnCSGY02.js"),qa=require("react-dom");require("./index-DRlMUglg.js");const $a=require("./palette-DUGktM-M.js"),Ka=require("./common-types-C73-Ud1-.js");function Ua(s){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s){for(const r in s)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(s,r);Object.defineProperty(a,r,o.get?o:{enumerable:!0,get:()=>s[r]})}}return a.default=s,Object.freeze(a)}const Ga=Ua(v);/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),v=require("react"),n=require("./index-BJ971AL_.js");require("./index-BxM99sFL.js");const t=require("./switch-fIkmwzUt.js"),Ne=require("./use-create-flow-overlay-state-DAVI3fO1.js"),bt=require("./use-visual-utils-K0yQRSI7.js"),Hn=require("./chevrons-up-down-CnCSGY02.js"),qa=require("react-dom");require("./index-DRlMUglg.js");const $a=require("./palette-DUGktM-M.js"),Ka=require("./common-types-C73-Ud1-.js");function Ua(s){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s){for(const r in s)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(s,r);Object.defineProperty(a,r,o.get?o:{enumerable:!0,get:()=>s[r]})}}return a.default=s,Object.freeze(a)}const Ga=Ua(v);/**
2
2
  * @license lucide-react v0.453.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.