react-semaphor 0.1.423 → 0.1.424

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 (23) hide show
  1. package/dist/chunks/{calendar-preferences-dialog-t5ET6MON.js → calendar-preferences-dialog-D5mABNDT.js} +1 -1
  2. package/dist/chunks/{calendar-preferences-dialog-CTmeASaM.js → calendar-preferences-dialog-iokD3HbE.js} +1 -1
  3. package/dist/chunks/{dashboard-briefing-launcher-Cavd0QJb.js → dashboard-briefing-launcher-BNDzMjjt.js} +2 -2
  4. package/dist/chunks/{dashboard-briefing-launcher-S2akO-ub.js → dashboard-briefing-launcher-DuWgwtxX.js} +1 -1
  5. package/dist/chunks/{dashboard-controls-DzbP8AXA.js → dashboard-controls-bbEF-AbK.js} +1 -1
  6. package/dist/chunks/{dashboard-controls-BJLrErjW.js → dashboard-controls-id39vb7G.js} +3 -3
  7. package/dist/chunks/{dashboard-json-Do2-pdPZ.js → dashboard-json-CkTEDNtH.js} +1 -1
  8. package/dist/chunks/{dashboard-json-5tWb5KD6.js → dashboard-json-DVoqS1ks.js} +1 -1
  9. package/dist/chunks/{edit-dashboard-visual-Cw6bq4_w.js → edit-dashboard-visual-CRjVRZLk.js} +2 -2
  10. package/dist/chunks/{edit-dashboard-visual-Yh5YFgMF.js → edit-dashboard-visual-CkrxZCcp.js} +1 -1
  11. package/dist/chunks/{index-yHe0SeLO.js → index-Dzz6jXSY.js} +23334 -23297
  12. package/dist/chunks/{index-BPM3gDRw.js → index-S1CGUcSz.js} +223 -223
  13. package/dist/chunks/{use-create-flow-overlay-state-BNczg9Gj.js → use-create-flow-overlay-state-B-bYbtix.js} +1 -1
  14. package/dist/chunks/{use-create-flow-overlay-state-5MDbZcs1.js → use-create-flow-overlay-state-B9vArrvr.js} +1 -1
  15. package/dist/dashboard/index.cjs +1 -1
  16. package/dist/dashboard/index.js +1 -1
  17. package/dist/data-app-builder/index.cjs +1 -1
  18. package/dist/data-app-builder/index.js +1 -1
  19. package/dist/index.cjs +1 -1
  20. package/dist/index.js +4 -4
  21. package/dist/surfboard/index.cjs +1 -1
  22. package/dist/surfboard/index.js +2 -2
  23. 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 me, l as _, m as R, n as fe, o as he, p as N } from "./index-yHe0SeLO.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 me, l as _, m as R, n as fe, o as he, p as N } from "./index-Dzz6jXSY.js";
4
4
  import { c as S, L as G, P as pe, a as ge, B as j, b as ve, d as V, e as be } from "./switch-2bh3Hka1.js";
5
5
  import "./x-CXDkqdur.js";
6
6
  import "./analyze-result-contract-D7pjjYPy.js";
@@ -1 +1 @@
1
- "use strict";const e=require("react/jsx-runtime"),l=require("react"),t=require("./index-BPM3gDRw.js"),o=require("./switch-DMT7qf_R.js");require("./x-B6ghREd2.js");require("./analyze-result-contract-DpDcImgk.js");function G(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 i=await fetch(`${f}/v1/user-preferences/calendar`,{method:"GET",headers:{Authorization:`Bearer ${m}`}});if(!i.ok){const u=await i.json().catch(()=>({}));throw new Error(u.error||"Failed to fetch preferences")}const r=await i.json();S({tz:r.tz,weekStart:r.weekStart,source:r.source,isInherited:r.isInherited,userHasPrefs:r.userHasPrefs,inherited:r.inherited})}catch(i){const r=i instanceof Error?i.message:"Unknown error";c(r)}finally{C(!1)}}},[m,f,x]);l.useEffect(()=>{x&&p()},[x,p]);const T=l.useCallback(async i=>{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(i)});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 i=await fetch(`${f}/v1/user-preferences/calendar`,{method:"DELETE",headers:{Authorization:`Bearer ${m}`}});if(!i.ok){const u=await i.json().catch(()=>({}));throw new Error(u.error||"Failed to clear preferences")}const r=await i.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(i){const r=i instanceof Error?i.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 W(){try{const n=Intl;if(n.supportedValuesOf)return n.supportedValuesOf("timeZone")}catch{}return E.map(n=>n.value)}function _(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 q(n){const d=M.find(a=>a.value===n);return d?d.label:String(n)}function V({open:n,onOpenChange:d}){var D,U,F;const{preferences:a,isLoading:x,isSaving:m,isClearing:f,updatePreferences:L,clearPreferences:C}=G({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(()=>W(),[]),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",i=a.inherited?q(a.inherited.weekStart):"Monday",r=_((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:o.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 ",i]})]})]}),e.jsxs("label",{htmlFor:"mode-custom",className:o.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:o.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(o.Label,{className:H,children:"Timezone"}),e.jsxs(o.Popover,{open:T,onOpenChange:w,modal:!0,children:[e.jsx(o.PopoverTrigger,{asChild:!0,children:e.jsxs(o.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(t.ChevronsUpDown,{className:"ml-2 h-3.5 w-3.5 shrink-0 opacity-50"})]})}),e.jsx(o.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(o.Check,{className:o.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(o.Check,{className:o.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(o.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:o.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(o.Button,{variant:"outline",size:"xs",onClick:$,disabled:I,children:"Cancel"}),e.jsx(o.Button,{size:"xs",onClick:u,disabled:B,children:I?e.jsxs(e.Fragment,{children:[e.jsx(o.LoaderCircle,{className:"h-3.5 w-3.5 animate-spin"}),"Saving…"]}):"Save"})]})]})})}exports.CalendarPreferencesDialog=V;
1
+ "use strict";const e=require("react/jsx-runtime"),l=require("react"),t=require("./index-S1CGUcSz.js"),o=require("./switch-DMT7qf_R.js");require("./x-B6ghREd2.js");require("./analyze-result-contract-DpDcImgk.js");function G(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 i=await fetch(`${f}/v1/user-preferences/calendar`,{method:"GET",headers:{Authorization:`Bearer ${m}`}});if(!i.ok){const u=await i.json().catch(()=>({}));throw new Error(u.error||"Failed to fetch preferences")}const r=await i.json();S({tz:r.tz,weekStart:r.weekStart,source:r.source,isInherited:r.isInherited,userHasPrefs:r.userHasPrefs,inherited:r.inherited})}catch(i){const r=i instanceof Error?i.message:"Unknown error";c(r)}finally{C(!1)}}},[m,f,x]);l.useEffect(()=>{x&&p()},[x,p]);const T=l.useCallback(async i=>{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(i)});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 i=await fetch(`${f}/v1/user-preferences/calendar`,{method:"DELETE",headers:{Authorization:`Bearer ${m}`}});if(!i.ok){const u=await i.json().catch(()=>({}));throw new Error(u.error||"Failed to clear preferences")}const r=await i.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(i){const r=i instanceof Error?i.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 W(){try{const n=Intl;if(n.supportedValuesOf)return n.supportedValuesOf("timeZone")}catch{}return E.map(n=>n.value)}function _(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 q(n){const d=M.find(a=>a.value===n);return d?d.label:String(n)}function V({open:n,onOpenChange:d}){var D,U,F;const{preferences:a,isLoading:x,isSaving:m,isClearing:f,updatePreferences:L,clearPreferences:C}=G({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(()=>W(),[]),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",i=a.inherited?q(a.inherited.weekStart):"Monday",r=_((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:o.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 ",i]})]})]}),e.jsxs("label",{htmlFor:"mode-custom",className:o.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:o.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(o.Label,{className:H,children:"Timezone"}),e.jsxs(o.Popover,{open:T,onOpenChange:w,modal:!0,children:[e.jsx(o.PopoverTrigger,{asChild:!0,children:e.jsxs(o.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(t.ChevronsUpDown,{className:"ml-2 h-3.5 w-3.5 shrink-0 opacity-50"})]})}),e.jsx(o.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(o.Check,{className:o.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(o.Check,{className:o.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(o.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:o.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(o.Button,{variant:"outline",size:"xs",onClick:$,disabled:I,children:"Cancel"}),e.jsx(o.Button,{size:"xs",onClick:u,disabled:B,children:I?e.jsxs(e.Fragment,{children:[e.jsx(o.LoaderCircle,{className:"h-3.5 w-3.5 animate-spin"}),"Saving…"]}):"Save"})]})]})})}exports.CalendarPreferencesDialog=V;
@@ -1,10 +1,10 @@
1
1
  import { jsx as e, jsxs as r, Fragment as G } from "react/jsx-runtime";
2
2
  import jt, { useState as A, useEffect as Z, useMemo as J, useContext as Wt, useRef as me, useCallback as q } from "react";
3
- import { b as Se, c as De, e as ke, b9 as Ct, b$ as Ht, cm as Gt, cn as qt, aX as ge, ca as wt, bq as Ve, J as Kt, A as Xt, co as Qt, aN as Ye, aQ as Ze, aR as Je, aS as et, aT as tt, aU as rt, aV as at, aW as Nt, bp as nt, p as z, cp as Yt, cq as Zt, cr as qe, cb as Oe, cc as ze, cs as St, cd as _e, bZ as H, a$ as Jt, bE as Re, ct as er, bY as tr, d as st, f as ot, cu as rr, o as ar, b8 as nr, bn as Dt, cv as sr, bo as Xe, y as or, aK as ir, b1 as lr, u as $e, a0 as he, aH as it, aD as kt, aE as lt, a1 as At, aC as cr, aJ as dr, ch as ur, cw as hr, bA as mr, aF as mt, x as pr, a3 as fr, cx as gr, cy as br, cz as xr, cA as vr, cB as yr, cC as Cr, cD as wr, cE as Nr, cF as Et, cG as Sr, cH as Dr, cI as kr, cJ as Ar, cK as Er, b2 as Fr, cL as Ir, ce as Ft, cM as Lr, cN as Br, cO as Be, cP as Tr, cQ as Vr, cR as Rr, ay as Ur, aA as Pr, ae as Mr, ad as Or, ac as zr, ab as _r, a8 as $r, a6 as jr, cS as Wr, cT as Hr, cU as Gr, cV as qr, cW as Kr, aw as Xr, cX as Qr, cY as Yr, ak as Zr, cZ as Jr, c_ as ea, c$ as ta } from "./index-yHe0SeLO.js";
3
+ import { b as Se, c as De, e as ke, b9 as Ct, b$ as Ht, cm as Gt, cn as qt, aX as ge, ca as wt, bq as Ve, J as Kt, A as Xt, co as Qt, aN as Ye, aQ as Ze, aR as Je, aS as et, aT as tt, aU as rt, aV as at, aW as Nt, bp as nt, p as z, cp as Yt, cq as Zt, cr as qe, cb as Oe, cc as ze, cs as St, cd as _e, bZ as H, a$ as Jt, bE as Re, ct as er, bY as tr, d as st, f as ot, cu as rr, o as ar, b8 as nr, bn as Dt, cv as sr, bo as Xe, y as or, aK as ir, b1 as lr, u as $e, a0 as he, aH as it, aD as kt, aE as lt, a1 as At, aC as cr, aJ as dr, ch as ur, cw as hr, bA as mr, aF as mt, x as pr, a3 as fr, cx as gr, cy as br, cz as xr, cA as vr, cB as yr, cC as Cr, cD as wr, cE as Nr, cF as Et, cG as Sr, cH as Dr, cI as kr, cJ as Ar, cK as Er, b2 as Fr, cL as Ir, ce as Ft, cM as Lr, cN as Br, cO as Be, cP as Tr, cQ as Vr, cR as Rr, ay as Ur, aA as Pr, ae as Mr, ad as Or, ac as zr, ab as _r, a8 as $r, a6 as jr, cS as Wr, cT as Hr, cU as Gr, cV as qr, cW as Kr, aw as Xr, cX as Qr, cY as Yr, ak as Zr, cZ as Jr, c_ as ea, c$ as ta } from "./index-Dzz6jXSY.js";
4
4
  import { B, L as Ne, Z as Qe, e as ee, N as It, d as Lt, c as K, M as ra, E as be, u as M, A as xe, aF as pt, a6 as Bt, F as Tt, S as ct, P as Ue, a as Pe, b as Me, aG as aa, aH as na, aD as sa } from "./switch-2bh3Hka1.js";
5
5
  import { L as dt } from "./layout-grid-CiubineE.js";
6
6
  import { c as Ae, X as je, C as Vt } from "./x-CXDkqdur.js";
7
- import { u as ut, V as oa, E as ft, a as gt, b as ia, c as la, L as ca, d as da, e as Rt, C as Ut, f as ua } from "./use-create-flow-overlay-state-5MDbZcs1.js";
7
+ import { u as ut, V as oa, E as ft, a as gt, b as ia, c as la, L as ca, d as da, e as Rt, C as Ut, f as ua } from "./use-create-flow-overlay-state-B9vArrvr.js";
8
8
  import "./analyze-result-contract-D7pjjYPy.js";
9
9
  import { S as ha } from "./search-BHsQIWBV.js";
10
10
  import { l as bt } from "./date-formatter-BlhBftA9.js";
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("react/jsx-runtime"),x=require("react"),s=require("./index-BPM3gDRw.js"),n=require("./switch-DMT7qf_R.js"),je=require("./layout-grid-C0OI-MRn.js"),X=require("./x-B6ghREd2.js"),_=require("./use-create-flow-overlay-state-BNczg9Gj.js");require("./analyze-result-contract-DpDcImgk.js");const Re=require("./search-DNCejM7Z.js"),ye=require("./date-formatter-B4EBSe9C.js");require("./index-DRlMUglg.js");require("react-dom");const G=require("../briefings/index.cjs");/**
1
+ "use strict";const e=require("react/jsx-runtime"),x=require("react"),s=require("./index-S1CGUcSz.js"),n=require("./switch-DMT7qf_R.js"),je=require("./layout-grid-C0OI-MRn.js"),X=require("./x-B6ghREd2.js"),_=require("./use-create-flow-overlay-state-B-bYbtix.js");require("./analyze-result-contract-DpDcImgk.js");const Re=require("./search-DNCejM7Z.js"),ye=require("./date-formatter-B4EBSe9C.js");require("./index-DRlMUglg.js");require("react-dom");const G=require("../briefings/index.cjs");/**
2
2
  * @license lucide-react v0.453.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),m=require("./switch-DMT7qf_R.js"),s=require("./index-BPM3gDRw.js"),O=require("./x-B6ghREd2.js");require("./analyze-result-contract-DpDcImgk.js");const y=require("react");require("./index-DRlMUglg.js");const as=require("react-dom");require("../briefings/index.cjs");const F=require("./dashboard-briefing-launcher-S2akO-ub.js"),vt=require("./search-DNCejM7Z.js"),yt=require("./index-D7KJindZ.js"),os=require("./calendar-preferences-dialog-CTmeASaM.js"),is=require("./use-debounced-dirty-check-XHSwAefL.js"),Te=require("./normalize-dashboard-for-dirty-check-BXRUMVb2.js"),pt=require("./save-C__QggEE.js"),ds=require("./palette-C4KTXOug.js"),cs=require("./braces-D2tStQjF.js");function ls(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 k=ls(y);/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),m=require("./switch-DMT7qf_R.js"),s=require("./index-S1CGUcSz.js"),O=require("./x-B6ghREd2.js");require("./analyze-result-contract-DpDcImgk.js");const y=require("react");require("./index-DRlMUglg.js");const as=require("react-dom");require("../briefings/index.cjs");const F=require("./dashboard-briefing-launcher-DuWgwtxX.js"),vt=require("./search-DNCejM7Z.js"),yt=require("./index-D7KJindZ.js"),os=require("./calendar-preferences-dialog-iokD3HbE.js"),is=require("./use-debounced-dirty-check-XHSwAefL.js"),Te=require("./normalize-dashboard-for-dirty-check-BXRUMVb2.js"),pt=require("./save-C__QggEE.js"),ds=require("./palette-C4KTXOug.js"),cs=require("./braces-D2tStQjF.js");function ls(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 k=ls(y);/**
2
2
  * @license lucide-react v0.453.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,6 +1,6 @@
1
1
  import { jsx as e, jsxs as o, Fragment as T } from "react/jsx-runtime";
2
2
  import { u as D, B as O, av as dt, A as Xt, L as Wr, Z as Jr, c as he, aw as Yr, ax as Xr, ay as nt, az as ge, aA as lt, aB as Zt, e as $e, aC as er, aD as Zr, E as Tt, Q as en, V as tn, W as rn, Y as nn, i as an, aE as sn } from "./switch-2bh3Hka1.js";
3
- import { bB as on, u as V, b as tr, bC as cn, aX as z, c as rr, d as dn, e as at, f as st, o as ln, bD as fe, bE as Te, bF as un, bG as $t, bH as nr, bI as ar, bJ as mn, bK as ut, bL as pn, bM as fn, bN as hn, bO as gn, bP as bn, bQ as xn, b6 as be, bR as xe, p as C, bS as vn, bT as sr, bq as mt, bU as yn, bV as wn, bW as or, bX as Nn, bY as ir, bZ as U, b_ as Sn, aA as Dn, b$ as Cn, c0 as kn, c1 as En, z as Ln, y as Re, K as An, A as Ze, c2 as In, c3 as Mn, c4 as Pn, $ as On, c5 as _n, c6 as Rn, I as Ft, c7 as Un, c8 as Tn, c9 as $n, ca as Fn, cb as Bt, cc as Gt, cd as Vt, ce as Bn, cf as Gn, cg as Vn, ch as zn, a$ as zt, ci as qn, cj as Hn, ck as jn, J as Kn, cl as Qn, aN as Wn, aQ as Jn, aR as Yn, aS as Xn, aT as Zn, aU as ea, aV as ta, aW as qt, w as ot } from "./index-yHe0SeLO.js";
3
+ import { bB as on, u as V, b as tr, bC as cn, aX as z, c as rr, d as dn, e as at, f as st, o as ln, bD as fe, bE as Te, bF as un, bG as $t, bH as nr, bI as ar, bJ as mn, bK as ut, bL as pn, bM as fn, bN as hn, bO as gn, bP as bn, bQ as xn, b6 as be, bR as xe, p as C, bS as vn, bT as sr, bq as mt, bU as yn, bV as wn, bW as or, bX as Nn, bY as ir, bZ as U, b_ as Sn, aA as Dn, b$ as Cn, c0 as kn, c1 as En, z as Ln, y as Re, K as An, A as Ze, c2 as In, c3 as Mn, c4 as Pn, $ as On, c5 as _n, c6 as Rn, I as Ft, c7 as Un, c8 as Tn, c9 as $n, ca as Fn, cb as Bt, cc as Gt, cd as Vt, ce as Bn, cf as Gn, cg as Vn, ch as zn, a$ as zt, ci as qn, cj as Hn, ck as jn, J as Kn, cl as Qn, aN as Wn, aQ as Jn, aR as Yn, aS as Xn, aT as Zn, aU as ea, aV as ta, aW as qt, w as ot } from "./index-Dzz6jXSY.js";
4
4
  import { c as Y, X as cr, C as ra } from "./x-CXDkqdur.js";
5
5
  import "./analyze-result-contract-D7pjjYPy.js";
6
6
  import * as L from "react";
@@ -8,10 +8,10 @@ import dr, { useState as N, useMemo as J, useEffect as Fe, useRef as Ht, useLayo
8
8
  import "./index-CJdxSyQq.js";
9
9
  import { createPortal as sa } from "react-dom";
10
10
  import "../briefings/index.js";
11
- import { c as oa, u as ia, A as ca, a as da, f as la, V as ua, N as ma, g as pa, U as fa } from "./dashboard-briefing-launcher-Cavd0QJb.js";
11
+ import { c as oa, u as ia, A as ca, a as da, f as la, V as ua, N as ma, g as pa, U as fa } from "./dashboard-briefing-launcher-BNDzMjjt.js";
12
12
  import { S as ha, C as ga } from "./search-BHsQIWBV.js";
13
13
  import { d as lr } from "./index-CjzRe2su.js";
14
- import { C as ba } from "./calendar-preferences-dialog-t5ET6MON.js";
14
+ import { C as ba } from "./calendar-preferences-dialog-D5mABNDT.js";
15
15
  import { u as xa } from "./use-debounced-dirty-check-BwAbnX_5.js";
16
16
  import { s as et } from "./normalize-dashboard-for-dirty-check-5KpZN8xr.js";
17
17
  import { S as jt } from "./save-DgMfP0j8.js";
@@ -3,7 +3,7 @@ import { useMemo as m, useState as f, useRef as b, useEffect as p } from "react"
3
3
  import { X as S } from "./x-CXDkqdur.js";
4
4
  import { u as o, c as N, B as D, C as J } from "./switch-2bh3Hka1.js";
5
5
  import "./analyze-result-contract-D7pjjYPy.js";
6
- import "./index-yHe0SeLO.js";
6
+ import "./index-Dzz6jXSY.js";
7
7
  import "./index-CJdxSyQq.js";
8
8
  import "react-dom";
9
9
  import "../briefings/index.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),o=require("react"),b=require("./x-B6ghREd2.js"),s=require("./switch-DMT7qf_R.js");require("./analyze-result-contract-DpDcImgk.js");require("./index-BPM3gDRw.js");require("./index-DRlMUglg.js");require("react-dom");require("../briefings/index.cjs");function S(){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),r=o.useMemo(()=>t?JSON.stringify(t,null,2):"",[t]),[l,i]=o.useState(r),n=o.useRef(r);return o.useEffect(()=>{r!==n.current&&(i(r),n.current=r)},[r]),a.jsxs("div",{className:s.cn("relative p-2",{hidden:!u}),children:[a.jsxs(s.Button,{variant:"secondary",size:"sm",className:"absolute right-2 top-2 z-10 h-8",onClick:()=>h(!1),children:[a.jsx(b.X,{className:"mr-2 h-4 w-4"}),"Close"]}),a.jsx("div",{className:"h-[550px] overflow-hidden",children:a.jsx(s.CodeEditor,{value:l,onValueChange:e=>{i(e);try{const d=JSON.parse(e);n.current=JSON.stringify(d,null,2),c(d)}catch{}},language:"json"})})]})}exports.default=S;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),o=require("react"),b=require("./x-B6ghREd2.js"),s=require("./switch-DMT7qf_R.js");require("./analyze-result-contract-DpDcImgk.js");require("./index-S1CGUcSz.js");require("./index-DRlMUglg.js");require("react-dom");require("../briefings/index.cjs");function S(){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),r=o.useMemo(()=>t?JSON.stringify(t,null,2):"",[t]),[l,i]=o.useState(r),n=o.useRef(r);return o.useEffect(()=>{r!==n.current&&(i(r),n.current=r)},[r]),a.jsxs("div",{className:s.cn("relative p-2",{hidden:!u}),children:[a.jsxs(s.Button,{variant:"secondary",size:"sm",className:"absolute right-2 top-2 z-10 h-8",onClick:()=>h(!1),children:[a.jsx(b.X,{className:"mr-2 h-4 w-4"}),"Close"]}),a.jsx("div",{className:"h-[550px] overflow-hidden",children:a.jsx(s.CodeEditor,{value:l,onValueChange:e=>{i(e);try{const d=JSON.parse(e);n.current=JSON.stringify(d,null,2),c(d)}catch{}},language:"json"})})]})}exports.default=S;
@@ -1,12 +1,12 @@
1
1
  import { jsx as e, jsxs as n, Fragment as De } from "react/jsx-runtime";
2
2
  import * as Dc from "react";
3
3
  import en, { useState as K, useEffect as Se, useRef as Me, useCallback as Ee, useMemo as de, useContext as Sr, Suspense as Ic } from "react";
4
- import { d0 as Mo, b as On, c as Mn, d as Fn, e as Rn, f as Xn, o as hs, bk as kt, bp as wt, d1 as Fo, d2 as os, p as Ze, d3 as Ro, d4 as is, b2 as Ia, aX as yt, ce as Tr, b0 as sa, bq as qa, bl as Nt, d5 as ps, d6 as kr, d7 as Ec, d8 as Lo, d9 as Po, da as Ac, db as Oc, b6 as Ns, dc as Mc, dd as Fc, de as mr, df as cs, u as bn, z as Vo, dg as Rc, dh as Lc, di as Bo, dj as _o, dk as Pc, dl as Vc, dm as Bc, dn as _c, be as Bn, bf as vn, bg as yn, bh as ja, bi as tn, bj as Jn, dp as hr, c7 as Sa, dq as zo, aL as an, aM as ft, dr as zc, ds as $o, cF as hn, cQ as qo, dt as Dr, du as jo, dv as $c, dw as qc, dx as jc, C as Ko, dy as Kc, dz as Uc, dA as Gc, dB as Hc, dC as Wc, dD as Qc, dE as zs, dF as Jc, dG as $l, dH as Yc, dI as ql, dJ as Xc, dK as Zc, cb as ra, cc as la, cd as oa, bZ as ct, dL as Ea, b3 as Uo, bu as Qt, bw as Jt, dM as Ir, bK as Er, aK as Ar, dN as ed, dO as td, dP as Or, dQ as nd, dR as Go, dS as Ho, dT as Wo, dU as Ht, dV as ad, dW as sd, dX as rd, dY as ld, dZ as Qo, d_ as Jo, X as Yo, d$ as Xo, e0 as od, e1 as id, e2 as cd, e3 as Aa, M as dd, e4 as ud, e5 as md, e6 as jl, e7 as hd, E as Cs, t as Mr, e8 as pd, e9 as Fr, bC as fd, ea as Kl, I as gt, eb as gd, ec as xd, ed as Zo, ee as ei, ef as bd, eg as Rr, eh as Lr, ei as ti, ej as ni, ek as Ul, el as Ka, em as vd, en as yd, eo as Nd, ep as Cd, eq as wd, er as fs, es as Sd, et as Td, eu as ai, ev as si, ew as kd, ex as Dd, cp as Id, ey as Ed, ez as ri, eA as Ad, eB as Od, cq as ws, eC as Ss, bD as Oa, bE as Wt, eD as cn, eE as Ln, eF as Pn, eG as pn, eH as Zn, eI as Md, eJ as Fd, eK as Rd, eL as Ld, eM as Pd, eN as Vd, eO as Bd, eP as _d, eQ as Gl, bv as nn, eR as zd, eS as $d, eT as Ts, eU as qd, eV as jd, eW as li, eX as Kd, eY as Ud, eZ as Gd, e_ as Hd, e$ as Wd, f0 as pr, f1 as Qd, f2 as Jd, f3 as fr, f4 as Yd, f5 as Xd, f6 as Zd, f7 as eu, f8 as Hl, b1 as gr, aZ as fn, aN as tu, aO as nu, aQ as au, aR as su, aS as ru, aT as lu, aU as ou, aV as iu, aW as cu, b$ as du, f9 as uu, fa as ea, fb as ta, fc as na, cg as Pr, ch as mu, a$ as hu, fd as pu, fe as fu, ff as gu, fg as ks, fh as st, fi as rt, fj as lt, fk as xu, fl as bu, fm as oi, fn as ii, fo as vu, fp as yu, fq as Nu, fr as Cu, fs as wu, ft as Su, fu as Tu, fv as ku, fw as Du, fx as Iu, fy as Eu, fz as Au, fA as Ou, fB as kn, fC as ya, fD as Yn, fE as Mu, fF as Wl, fG as Fu, fH as Ru, fI as $s, fJ as Ql, fK as Lu, fL as Pu, fM as Vu, fN as Bu, fO as _u, R as Vr, g as Ma, fP as qs, fQ as ci, b4 as zu, fR as gs, fS as $u, fT as di, fU as qu, fV as ui, fW as ju, fX as Ku, a4 as Uu, fY as as, fZ as Gu, f_ as Jl, f$ as Hu, g0 as Wu, g1 as Yl, g2 as Qu, g3 as Ju, g4 as Yu, g5 as Xu, g6 as Zu, aP as mi, g7 as em, g8 as tm, g9 as nm, ga as am, gb as sm, gc as rm, gd as lm, ge as om, gf as im, gg as hi, gh as cm, gi as Ds, cG as Is, gj as pi, gk as dm, gl as um, gm as fi, gn as mm, go as hm, gp as Es, gq as js, gr as pm, gs as fm, gt as gm, gu as xm, gv as bm, gw as Xl, gx as aa, gy as gi, gz as vm, cs as ym, gA as xi, gB as bi, gC as ds, gD as vi, gE as yi, gF as Zl, gG as Nm, gH as Cm, gI as us, gJ as wm, gK as Br, gL as Sm, gM as xs, h as Fa, i as Ra, k as La, j as Pa, l as Va, m as Ba, gN as Tm, gO as _a, gP as dn, gQ as xr, gR as br, gS as za, gT as Ni, gU as km, gV as Ks, gW as Us, gX as Dm, gY as Gs, gZ as Im, g_ as eo, g$ as to, cS as Em, h0 as Am, cT as Om, cV as Mm, cW as Fm, y as Rm, h1 as Lm, h2 as Pm, h3 as Vm, ci as Bm, cj as _m, ck as zm, bY as As, h4 as Os, h5 as no, h6 as Ci, cM as Hs, h7 as $m, h8 as qm, h9 as jm, F as Km, bn as Um, ha as Gm, hb as Hm, bo as Wm } from "./index-yHe0SeLO.js";
4
+ import { d0 as Mo, b as On, c as Mn, d as Fn, e as Rn, f as Xn, o as hs, bk as kt, bp as wt, d1 as Fo, d2 as os, p as Ze, d3 as Ro, d4 as is, b2 as Ia, aX as yt, ce as Tr, b0 as sa, bq as qa, bl as Nt, d5 as ps, d6 as kr, d7 as Ec, d8 as Lo, d9 as Po, da as Ac, db as Oc, b6 as Ns, dc as Mc, dd as Fc, de as mr, df as cs, u as bn, z as Vo, dg as Rc, dh as Lc, di as Bo, dj as _o, dk as Pc, dl as Vc, dm as Bc, dn as _c, be as Bn, bf as vn, bg as yn, bh as ja, bi as tn, bj as Jn, dp as hr, c7 as Sa, dq as zo, aL as an, aM as ft, dr as zc, ds as $o, cF as hn, cQ as qo, dt as Dr, du as jo, dv as $c, dw as qc, dx as jc, C as Ko, dy as Kc, dz as Uc, dA as Gc, dB as Hc, dC as Wc, dD as Qc, dE as zs, dF as Jc, dG as $l, dH as Yc, dI as ql, dJ as Xc, dK as Zc, cb as ra, cc as la, cd as oa, bZ as ct, dL as Ea, b3 as Uo, bu as Qt, bw as Jt, dM as Ir, bK as Er, aK as Ar, dN as ed, dO as td, dP as Or, dQ as nd, dR as Go, dS as Ho, dT as Wo, dU as Ht, dV as ad, dW as sd, dX as rd, dY as ld, dZ as Qo, d_ as Jo, X as Yo, d$ as Xo, e0 as od, e1 as id, e2 as cd, e3 as Aa, M as dd, e4 as ud, e5 as md, e6 as jl, e7 as hd, E as Cs, t as Mr, e8 as pd, e9 as Fr, bC as fd, ea as Kl, I as gt, eb as gd, ec as xd, ed as Zo, ee as ei, ef as bd, eg as Rr, eh as Lr, ei as ti, ej as ni, ek as Ul, el as Ka, em as vd, en as yd, eo as Nd, ep as Cd, eq as wd, er as fs, es as Sd, et as Td, eu as ai, ev as si, ew as kd, ex as Dd, cp as Id, ey as Ed, ez as ri, eA as Ad, eB as Od, cq as ws, eC as Ss, bD as Oa, bE as Wt, eD as cn, eE as Ln, eF as Pn, eG as pn, eH as Zn, eI as Md, eJ as Fd, eK as Rd, eL as Ld, eM as Pd, eN as Vd, eO as Bd, eP as _d, eQ as Gl, bv as nn, eR as zd, eS as $d, eT as Ts, eU as qd, eV as jd, eW as li, eX as Kd, eY as Ud, eZ as Gd, e_ as Hd, e$ as Wd, f0 as pr, f1 as Qd, f2 as Jd, f3 as fr, f4 as Yd, f5 as Xd, f6 as Zd, f7 as eu, f8 as Hl, b1 as gr, aZ as fn, aN as tu, aO as nu, aQ as au, aR as su, aS as ru, aT as lu, aU as ou, aV as iu, aW as cu, b$ as du, f9 as uu, fa as ea, fb as ta, fc as na, cg as Pr, ch as mu, a$ as hu, fd as pu, fe as fu, ff as gu, fg as ks, fh as st, fi as rt, fj as lt, fk as xu, fl as bu, fm as oi, fn as ii, fo as vu, fp as yu, fq as Nu, fr as Cu, fs as wu, ft as Su, fu as Tu, fv as ku, fw as Du, fx as Iu, fy as Eu, fz as Au, fA as Ou, fB as kn, fC as ya, fD as Yn, fE as Mu, fF as Wl, fG as Fu, fH as Ru, fI as $s, fJ as Ql, fK as Lu, fL as Pu, fM as Vu, fN as Bu, fO as _u, R as Vr, g as Ma, fP as qs, fQ as ci, b4 as zu, fR as gs, fS as $u, fT as di, fU as qu, fV as ui, fW as ju, fX as Ku, a4 as Uu, fY as as, fZ as Gu, f_ as Jl, f$ as Hu, g0 as Wu, g1 as Yl, g2 as Qu, g3 as Ju, g4 as Yu, g5 as Xu, g6 as Zu, aP as mi, g7 as em, g8 as tm, g9 as nm, ga as am, gb as sm, gc as rm, gd as lm, ge as om, gf as im, gg as hi, gh as cm, gi as Ds, cG as Is, gj as pi, gk as dm, gl as um, gm as fi, gn as mm, go as hm, gp as Es, gq as js, gr as pm, gs as fm, gt as gm, gu as xm, gv as bm, gw as Xl, gx as aa, gy as gi, gz as vm, cs as ym, gA as xi, gB as bi, gC as ds, gD as vi, gE as yi, gF as Zl, gG as Nm, gH as Cm, gI as us, gJ as wm, gK as Br, gL as Sm, gM as xs, h as Fa, i as Ra, k as La, j as Pa, l as Va, m as Ba, gN as Tm, gO as _a, gP as dn, gQ as xr, gR as br, gS as za, gT as Ni, gU as km, gV as Ks, gW as Us, gX as Dm, gY as Gs, gZ as Im, g_ as eo, g$ as to, cS as Em, h0 as Am, cT as Om, cV as Mm, cW as Fm, y as Rm, h1 as Lm, h2 as Pm, h3 as Vm, ci as Bm, cj as _m, ck as zm, bY as As, h4 as Os, h5 as no, h6 as Ci, cM as Hs, h7 as $m, h8 as qm, h9 as jm, F as Km, bn as Um, ha as Gm, hb as Hm, bo as Wm } from "./index-Dzz6jXSY.js";
5
5
  import { c as $e, C as At, X as et } from "./x-CXDkqdur.js";
6
6
  import { F as Ne, B as Z, O as bs, I as Ua, c as J, aI as Qm, L as $, _ as ne, $ as ae, a0 as se, a1 as re, a2 as j, E as M, Y as Dt, Q as Vt, V as It, W as Et, P as Ot, a as Rt, b as Mt, C as gn, aJ as Jm, aE as Ta, aK as _r, aL as wi, aB as zr, az as Ym, Z as Fe, aM as Xm, e as xn, u as Ie, d as Nn, aN as $r, X as Xt, A as Si, T as Ga, G as Ha, H as Yt, J as En, N as Ms, S as Vn, h as Zm, aF as An, aO as eh, aP as th, aQ as Ti, ae as nh, aH as ah, aR as sh, aS as rh, aT as ao, aU as lh, aV as oh, aW as ih, aX as ch, aY as dh, aZ as uh, a_ as so, a$ as mh, b0 as ro, R as vr, b1 as ia, b2 as hh, a3 as Je, b3 as ph, b4 as qr, b5 as $a, b6 as vs, b7 as un, b8 as ss, b9 as lo, ba as fh, bb as Pt, bc as gh, M as ki, bd as at, be as Di, s as oo, bf as xh, bg as bh, bh as vh, bi as yh, bj as Nh, bk as Ch, bl as wh, bm as Sh, bn as Th, bo as kh, bp as Dh, bq as Ih, br as io, bs as Eh, bt as Ah, bu as Oh, K as Fs } from "./switch-2bh3Hka1.js";
7
7
  import "./analyze-result-contract-D7pjjYPy.js";
8
8
  import { C as $t, E as yr, S as Rs, M as Mh, a as Fh } from "./search-BHsQIWBV.js";
9
- import { f as Rh, g as xt, r as Ii, h as Wa, i as Ei, V as Ai, e as Lh, C as Ph } from "./use-create-flow-overlay-state-5MDbZcs1.js";
9
+ import { f as Rh, g as xt, r as Ii, h as Wa, i as Ei, V as Ai, e as Lh, C as Ph } from "./use-create-flow-overlay-state-B9vArrvr.js";
10
10
  import { h as Qa } from "./card-config-utils-BYZ5MJOh.js";
11
11
  import { createPortal as Vh } from "react-dom";
12
12
  import "./index-CJdxSyQq.js";
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),y=require("react"),n=require("./index-BPM3gDRw.js"),re=require("./x-B6ghREd2.js"),t=require("./switch-DMT7qf_R.js");require("./analyze-result-contract-DpDcImgk.js");const ze=require("./search-DNCejM7Z.js"),Ne=require("./use-create-flow-overlay-state-BNczg9Gj.js"),Ht=require("./card-config-utils-15sRtebL.js"),Qa=require("react-dom");require("./index-DRlMUglg.js");require("../briefings/index.cjs");const Wa=require("./palette-C4KTXOug.js"),Ya=require("./common-types-C73-Ud1-.js");function Ja(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 Xa=Ja(y);/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),y=require("react"),n=require("./index-S1CGUcSz.js"),re=require("./x-B6ghREd2.js"),t=require("./switch-DMT7qf_R.js");require("./analyze-result-contract-DpDcImgk.js");const ze=require("./search-DNCejM7Z.js"),Ne=require("./use-create-flow-overlay-state-B-bYbtix.js"),Ht=require("./card-config-utils-15sRtebL.js"),Qa=require("react-dom");require("./index-DRlMUglg.js");require("../briefings/index.cjs");const Wa=require("./palette-C4KTXOug.js"),Ya=require("./common-types-C73-Ud1-.js");function Ja(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 Xa=Ja(y);/**
2
2
  * @license lucide-react v0.453.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.