@percy.ai/heatmap 0.0.0-dev-20231221230651 → 0.0.0-dev-20231222235933

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.
@@ -25,12 +25,12 @@
25
25
  var ReactDOM__namespace = /*#__PURE__*/_interopNamespaceDefault(ReactDOM);
26
26
 
27
27
  var j$4 = Object.defineProperty;
28
- var x$7 = (t, e, r) => e in t ? j$4(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
29
- var b$9 = (t, e, r) => (x$7(t, typeof e != "symbol" ? e + "" : e, r), r);
28
+ var x$8 = (t, e, r) => e in t ? j$4(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
29
+ var b$9 = (t, e, r) => (x$8(t, typeof e != "symbol" ? e + "" : e, r), r);
30
30
  const C$3 = {
31
31
  stringify: (t) => t,
32
32
  parse: (t) => t
33
- }, T$5 = {
33
+ }, T$6 = {
34
34
  stringify: (t) => `${t}`,
35
35
  parse: (t) => parseFloat(t)
36
36
  }, V$1 = {
@@ -52,11 +52,11 @@
52
52
  parse: (t) => JSON.parse(t)
53
53
  }, w$6 = {
54
54
  string: C$3,
55
- number: T$5,
55
+ number: T$6,
56
56
  boolean: V$1,
57
57
  function: N$5,
58
58
  json: P
59
- }, A$4 = Symbol.for("r2wc.render"), h$9 = Symbol.for("r2wc.connected"), u$b = Symbol.for("r2wc.context"), i$m = Symbol.for("r2wc.props");
59
+ }, A$5 = Symbol.for("r2wc.render"), h$9 = Symbol.for("r2wc.connected"), u$a = Symbol.for("r2wc.context"), i$m = Symbol.for("r2wc.props");
60
60
  function z$4(t, e, r) {
61
61
  var $, k, O;
62
62
  e.props || (e.props = t.propTypes ? Object.keys(t.propTypes) : []);
@@ -85,17 +85,17 @@
85
85
  return Object.keys(m);
86
86
  }
87
87
  connectedCallback() {
88
- this[h$9] = !0, this[A$4]();
88
+ this[h$9] = !0, this[A$5]();
89
89
  }
90
90
  disconnectedCallback() {
91
- this[h$9] = !1, this[u$b] && r.unmount(this[u$b]);
91
+ this[h$9] = !1, this[u$a] && r.unmount(this[u$a]);
92
92
  }
93
93
  attributeChangedCallback(c, l, n) {
94
94
  const o = m[c], a = f[o], y = w$6[a];
95
- o in f && (y != null && y.parse) && (this[i$m][o] = y.parse(n, this), this[A$4]());
95
+ o in f && (y != null && y.parse) && (this[i$m][o] = y.parse(n, this), this[A$5]());
96
96
  }
97
- [($ = h$9, k = u$b, O = i$m, A$4)]() {
98
- this[h$9] && (this[u$b] ? r.update(this[u$b], this[i$m]) : this[u$b] = r.mount(
97
+ [($ = h$9, k = u$a, O = i$m, A$5)]() {
98
+ this[h$9] && (this[u$a] ? r.update(this[u$a], this[i$m]) : this[u$a] = r.mount(
99
99
  this.container,
100
100
  t,
101
101
  this[i$m]
@@ -126,10 +126,10 @@
126
126
  return t.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
127
127
  }
128
128
 
129
- var u$a, n$l = ReactDOM;
130
- u$a = n$l.createRoot, n$l.hydrateRoot;
131
- function E$3(t, e, o) {
132
- const r = u$a(t), a = React$1.createElement(e, o);
129
+ var u$9, n$l = ReactDOM;
130
+ u$9 = n$l.createRoot, n$l.hydrateRoot;
131
+ function E$2(t, e, o) {
132
+ const r = u$9(t), a = React$1.createElement(e, o);
133
133
  return r.render(a), {
134
134
  root: r,
135
135
  ReactComponent: e
@@ -143,7 +143,7 @@
143
143
  t.unmount();
144
144
  }
145
145
  function p$b(t, e = {}) {
146
- return z$4(t, e, { mount: E$3, update: _$1, unmount: l$k });
146
+ return z$4(t, e, { mount: E$2, update: _$1, unmount: l$k });
147
147
  }
148
148
 
149
149
  function _extends$M() {
@@ -13864,7 +13864,7 @@ Defaulting to \`null\`.`;
13864
13864
 
13865
13865
  var le$2 = /*@__PURE__*/getDefaultExportFromCjs(commandScore_1);
13866
13866
 
13867
- var ue$3='[cmdk-list-sizer=""]',M$5='[cmdk-group=""]',N$4='[cmdk-group-items=""]',de$1='[cmdk-group-heading=""]',ee$2='[cmdk-item=""]',Z$3=`${ee$2}:not([aria-disabled="true"])`,z$3="cmdk-item-select",S$4="data-value",fe$2=(n,a)=>le$2(n,a),te$2=React__namespace.createContext(void 0),k$5=()=>React__namespace.useContext(te$2),re$4=React__namespace.createContext(void 0),U$2=()=>React__namespace.useContext(re$4),ne$2=React__namespace.createContext(void 0),oe$2=React__namespace.forwardRef((n,a)=>{let r=React__namespace.useRef(null),o=x$6(()=>({search:"",value:"",filtered:{count:0,items:new Map,groups:new Set}})),u=x$6(()=>new Set),l=x$6(()=>new Map),p=x$6(()=>new Map),f=x$6(()=>new Set),d=ae$2(n),{label:v,children:E,value:R,onValueChange:w,filter:O,shouldFilter:ie,...D}=n,F=React__namespace.useId(),g=React__namespace.useId(),A=React__namespace.useId(),y=ye$1();L(()=>{if(R!==void 0){let e=R.trim().toLowerCase();o.current.value=e,y(6,W),h.emit();}},[R]);let h=React__namespace.useMemo(()=>({subscribe:e=>(f.current.add(e),()=>f.current.delete(e)),snapshot:()=>o.current,setState:(e,c,i)=>{var s,m,b;if(!Object.is(o.current[e],c)){if(o.current[e]=c,e==="search")j(),G(),y(1,V);else if(e==="value")if(((s=d.current)==null?void 0:s.value)!==void 0){(b=(m=d.current).onValueChange)==null||b.call(m,c);return}else i||y(5,W);h.emit();}},emit:()=>{f.current.forEach(e=>e());}}),[]),K=React__namespace.useMemo(()=>({value:(e,c)=>{c!==p.current.get(e)&&(p.current.set(e,c),o.current.filtered.items.set(e,B(c)),y(2,()=>{G(),h.emit();}));},item:(e,c)=>(u.current.add(e),c&&(l.current.has(c)?l.current.get(c).add(e):l.current.set(c,new Set([e]))),y(3,()=>{j(),G(),o.current.value||V(),h.emit();}),()=>{p.current.delete(e),u.current.delete(e),o.current.filtered.items.delete(e),y(4,()=>{j(),V(),h.emit();});}),group:e=>(l.current.has(e)||l.current.set(e,new Set),()=>{p.current.delete(e),l.current.delete(e);}),filter:()=>d.current.shouldFilter,label:v||n["aria-label"],listId:F,inputId:A,labelId:g}),[]);function B(e){var i;let c=((i=d.current)==null?void 0:i.filter)??fe$2;return e?c(e,o.current.search):0}function G(){if(!r.current||!o.current.search||d.current.shouldFilter===!1)return;let e=o.current.filtered.items,c=[];o.current.filtered.groups.forEach(s=>{let m=l.current.get(s),b=0;m.forEach(P=>{let ce=e.get(P);b=Math.max(ce,b);}),c.push([s,b]);});let i=r.current.querySelector(ue$3);I().sort((s,m)=>{let b=s.getAttribute(S$4),P=m.getAttribute(S$4);return (e.get(P)??0)-(e.get(b)??0)}).forEach(s=>{let m=s.closest(N$4);m?m.appendChild(s.parentElement===m?s:s.closest(`${N$4} > *`)):i.appendChild(s.parentElement===i?s:s.closest(`${N$4} > *`));}),c.sort((s,m)=>m[1]-s[1]).forEach(s=>{let m=r.current.querySelector(`${M$5}[${S$4}="${s[0]}"]`);m==null||m.parentElement.appendChild(m);});}function V(){let e=I().find(i=>!i.ariaDisabled),c=e==null?void 0:e.getAttribute(S$4);h.setState("value",c||void 0);}function j(){if(!o.current.search||d.current.shouldFilter===!1){o.current.filtered.count=u.current.size;return}o.current.filtered.groups=new Set;let e=0;for(let c of u.current){let i=p.current.get(c),s=B(i);o.current.filtered.items.set(c,s),s>0&&e++;}for(let[c,i]of l.current)for(let s of i)if(o.current.filtered.items.get(s)>0){o.current.filtered.groups.add(c);break}o.current.filtered.count=e;}function W(){var c,i,s;let e=_();e&&(((c=e.parentElement)==null?void 0:c.firstChild)===e&&((s=(i=e.closest(M$5))==null?void 0:i.querySelector(de$1))==null||s.scrollIntoView({block:"nearest"})),e.scrollIntoView({block:"nearest"}));}function _(){return r.current.querySelector(`${ee$2}[aria-selected="true"]`)}function I(){return Array.from(r.current.querySelectorAll(Z$3))}function q(e){let i=I()[e];i&&h.setState("value",i.getAttribute(S$4));}function $(e){var b;let c=_(),i=I(),s=i.findIndex(P=>P===c),m=i[s+e];(b=d.current)!=null&&b.loop&&(m=s+e<0?i[i.length-1]:s+e===i.length?i[0]:i[s+e]),m&&h.setState("value",m.getAttribute(S$4));}function J(e){let c=_(),i=c==null?void 0:c.closest(M$5),s;for(;i&&!s;)i=e>0?Se$1(i,M$5):Ce(i,M$5),s=i==null?void 0:i.querySelector(Z$3);s?h.setState("value",s.getAttribute(S$4)):$(e);}let Q=()=>q(I().length-1),X=e=>{e.preventDefault(),e.metaKey?Q():e.altKey?J(1):$(1);},Y=e=>{e.preventDefault(),e.metaKey?q(0):e.altKey?J(-1):$(-1);};return React__namespace.createElement("div",{ref:H$3([r,a]),...D,"cmdk-root":"",onKeyDown:e=>{var c;if((c=D.onKeyDown)==null||c.call(D,e),!e.defaultPrevented)switch(e.key){case"n":case"j":{e.ctrlKey&&X(e);break}case"ArrowDown":{X(e);break}case"p":case"k":{e.ctrlKey&&Y(e);break}case"ArrowUp":{Y(e);break}case"Home":{e.preventDefault(),q(0);break}case"End":{e.preventDefault(),Q();break}case"Enter":{e.preventDefault();let i=_();if(i){let s=new Event(z$3);i.dispatchEvent(s);}}}}},React__namespace.createElement("label",{"cmdk-label":"",htmlFor:K.inputId,id:K.labelId,style:xe$2},v),React__namespace.createElement(re$4.Provider,{value:h},React__namespace.createElement(te$2.Provider,{value:K},E)))}),me$1=React__namespace.forwardRef((n,a)=>{let r=React__namespace.useId(),o=React__namespace.useRef(null),u=React__namespace.useContext(ne$2),l=k$5(),p=ae$2(n);L(()=>l.item(r,u),[]);let f=se$1(r,o,[n.value,n.children,o]),d=U$2(),v=T$4(g=>g.value&&g.value===f.current),E=T$4(g=>l.filter()===!1?!0:g.search?g.filtered.items.get(r)>0:!0);React__namespace.useEffect(()=>{let g=o.current;if(!(!g||n.disabled))return g.addEventListener(z$3,R),()=>g.removeEventListener(z$3,R)},[E,n.onSelect,n.disabled]);function R(){var g,A;(A=(g=p.current).onSelect)==null||A.call(g,f.current);}function w(){d.setState("value",f.current,!0);}if(!E)return null;let{disabled:O,value:ie,onSelect:D,...F}=n;return React__namespace.createElement("div",{ref:H$3([o,a]),...F,"cmdk-item":"",role:"option","aria-disabled":O||void 0,"aria-selected":v||void 0,"data-selected":v||void 0,onPointerMove:O?void 0:w,onClick:O?void 0:R},n.children)}),pe=React__namespace.forwardRef((n,a)=>{let{heading:r,children:o,...u}=n,l=React__namespace.useId(),p=React__namespace.useRef(null),f=React__namespace.useRef(null),d=React__namespace.useId(),v=k$5(),E=T$4(w=>v.filter()===!1?!0:w.search?w.filtered.groups.has(l):!0);L(()=>v.group(l),[]),se$1(l,p,[n.value,n.heading,f]);let R=React__namespace.createElement(ne$2.Provider,{value:l},o);return React__namespace.createElement("div",{ref:H$3([p,a]),...u,"cmdk-group":"",role:"presentation",hidden:E?void 0:!0},r&&React__namespace.createElement("div",{ref:f,"cmdk-group-heading":"","aria-hidden":!0,id:d},r),React__namespace.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":r?d:void 0},R))}),ge$1=React__namespace.forwardRef((n,a)=>{let{alwaysRender:r,...o}=n,u=React__namespace.useRef(null),l=T$4(p=>!p.search);return !r&&!l?null:React__namespace.createElement("div",{ref:H$3([u,a]),...o,"cmdk-separator":"",role:"separator"})}),ve$1=React__namespace.forwardRef((n,a)=>{let{onValueChange:r,...o}=n,u=n.value!=null,l=U$2(),p=T$4(d=>d.search),f=k$5();return React__namespace.useEffect(()=>{n.value!=null&&l.setState("search",n.value);},[n.value]),React__namespace.createElement("input",{ref:a,...o,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":f.listId,"aria-labelledby":f.labelId,id:f.inputId,type:"text",value:u?n.value:p,onChange:d=>{u||l.setState("search",d.target.value),r==null||r(d.target.value);}})}),Re$2=React__namespace.forwardRef((n,a)=>{let{children:r,...o}=n,u=React__namespace.useRef(null),l=React__namespace.useRef(null),p=k$5();return React__namespace.useEffect(()=>{if(l.current&&u.current){let f=l.current,d=u.current,v,E=new ResizeObserver(()=>{v=requestAnimationFrame(()=>{let R=f.getBoundingClientRect().height;d.style.setProperty("--cmdk-list-height",R.toFixed(1)+"px");});});return E.observe(f),()=>{cancelAnimationFrame(v),E.unobserve(f);}}},[]),React__namespace.createElement("div",{ref:H$3([u,a]),...o,"cmdk-list":"",role:"listbox","aria-label":"Suggestions",id:p.listId,"aria-labelledby":p.inputId},React__namespace.createElement("div",{ref:l,"cmdk-list-sizer":""},r))}),be$1=React__namespace.forwardRef((n,a)=>{let{open:r,onOpenChange:o,container:u,...l}=n;return React__namespace.createElement($5d3850c4d0b4e6c7$export$be92b6f5f03c0fe9,{open:r,onOpenChange:o},React__namespace.createElement($5d3850c4d0b4e6c7$export$602eac185826482c,{container:u},React__namespace.createElement($5d3850c4d0b4e6c7$export$c6fdb837b070b4ff,{"cmdk-overlay":""}),React__namespace.createElement($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2,{"aria-label":n.label,"cmdk-dialog":""},React__namespace.createElement(oe$2,{ref:a,...l}))))}),he$3=React__namespace.forwardRef((n,a)=>{let r=React__namespace.useRef(!0),o=T$4(u=>u.filtered.count===0);return React__namespace.useEffect(()=>{r.current=!1;},[]),r.current||!o?null:React__namespace.createElement("div",{ref:a,...n,"cmdk-empty":"",role:"presentation"})}),Ee$2=React__namespace.forwardRef((n,a)=>{let{progress:r,children:o,...u}=n;return React__namespace.createElement("div",{ref:a,...u,"cmdk-loading":"",role:"progressbar","aria-valuenow":r,"aria-valuemin":0,"aria-valuemax":100,"aria-label":"Loading..."},React__namespace.createElement("div",{"aria-hidden":!0},o))}),Le$1=Object.assign(oe$2,{List:Re$2,Item:me$1,Input:ve$1,Group:pe,Separator:ge$1,Dialog:be$1,Empty:he$3,Loading:Ee$2});function Se$1(n,a){let r=n.nextElementSibling;for(;r;){if(r.matches(a))return r;r=r.nextElementSibling;}}function Ce(n,a){let r=n.previousElementSibling;for(;r;){if(r.matches(a))return r;r=r.previousElementSibling;}}function ae$2(n){let a=React__namespace.useRef(n);return L(()=>{a.current=n;}),a}var L=typeof window>"u"?React__namespace.useEffect:React__namespace.useLayoutEffect;function x$6(n){let a=React__namespace.useRef();return a.current===void 0&&(a.current=n()),a}function H$3(n){return a=>{n.forEach(r=>{typeof r=="function"?r(a):r!=null&&(r.current=a);});}}function T$4(n){let a=U$2(),r=()=>n(a.snapshot());return React__namespace.useSyncExternalStore(a.subscribe,r,r)}function se$1(n,a,r){let o=React__namespace.useRef(),u=k$5();return L(()=>{var p;let l=(()=>{var f;for(let d of r){if(typeof d=="string")return d.trim().toLowerCase();if(typeof d=="object"&&"current"in d&&d.current)return (f=d.current.textContent)==null?void 0:f.trim().toLowerCase()}})();u.value(n,l),(p=a.current)==null||p.setAttribute(S$4,l),o.current=l;}),o}var ye$1=()=>{let[n,a]=React__namespace.useState(),r=x$6(()=>new Map);return L(()=>{r.current.forEach(o=>o()),r.current=new Map;},[n]),(o,u)=>{r.current.set(o,u),a({});}},xe$2={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};
13867
+ var ue$3='[cmdk-list-sizer=""]',M$5='[cmdk-group=""]',N$4='[cmdk-group-items=""]',de$1='[cmdk-group-heading=""]',ee$2='[cmdk-item=""]',Z$3=`${ee$2}:not([aria-disabled="true"])`,z$3="cmdk-item-select",S$4="data-value",fe$2=(n,a)=>le$2(n,a),te$2=React__namespace.createContext(void 0),k$5=()=>React__namespace.useContext(te$2),re$4=React__namespace.createContext(void 0),U$2=()=>React__namespace.useContext(re$4),ne$2=React__namespace.createContext(void 0),oe$2=React__namespace.forwardRef((n,a)=>{let r=React__namespace.useRef(null),o=x$7(()=>({search:"",value:"",filtered:{count:0,items:new Map,groups:new Set}})),u=x$7(()=>new Set),l=x$7(()=>new Map),p=x$7(()=>new Map),f=x$7(()=>new Set),d=ae$2(n),{label:v,children:E,value:R,onValueChange:w,filter:O,shouldFilter:ie,...D}=n,F=React__namespace.useId(),g=React__namespace.useId(),A=React__namespace.useId(),y=ye$2();L(()=>{if(R!==void 0){let e=R.trim().toLowerCase();o.current.value=e,y(6,W),h.emit();}},[R]);let h=React__namespace.useMemo(()=>({subscribe:e=>(f.current.add(e),()=>f.current.delete(e)),snapshot:()=>o.current,setState:(e,c,i)=>{var s,m,b;if(!Object.is(o.current[e],c)){if(o.current[e]=c,e==="search")j(),G(),y(1,V);else if(e==="value")if(((s=d.current)==null?void 0:s.value)!==void 0){(b=(m=d.current).onValueChange)==null||b.call(m,c);return}else i||y(5,W);h.emit();}},emit:()=>{f.current.forEach(e=>e());}}),[]),K=React__namespace.useMemo(()=>({value:(e,c)=>{c!==p.current.get(e)&&(p.current.set(e,c),o.current.filtered.items.set(e,B(c)),y(2,()=>{G(),h.emit();}));},item:(e,c)=>(u.current.add(e),c&&(l.current.has(c)?l.current.get(c).add(e):l.current.set(c,new Set([e]))),y(3,()=>{j(),G(),o.current.value||V(),h.emit();}),()=>{p.current.delete(e),u.current.delete(e),o.current.filtered.items.delete(e),y(4,()=>{j(),V(),h.emit();});}),group:e=>(l.current.has(e)||l.current.set(e,new Set),()=>{p.current.delete(e),l.current.delete(e);}),filter:()=>d.current.shouldFilter,label:v||n["aria-label"],listId:F,inputId:A,labelId:g}),[]);function B(e){var i;let c=((i=d.current)==null?void 0:i.filter)??fe$2;return e?c(e,o.current.search):0}function G(){if(!r.current||!o.current.search||d.current.shouldFilter===!1)return;let e=o.current.filtered.items,c=[];o.current.filtered.groups.forEach(s=>{let m=l.current.get(s),b=0;m.forEach(P=>{let ce=e.get(P);b=Math.max(ce,b);}),c.push([s,b]);});let i=r.current.querySelector(ue$3);I().sort((s,m)=>{let b=s.getAttribute(S$4),P=m.getAttribute(S$4);return (e.get(P)??0)-(e.get(b)??0)}).forEach(s=>{let m=s.closest(N$4);m?m.appendChild(s.parentElement===m?s:s.closest(`${N$4} > *`)):i.appendChild(s.parentElement===i?s:s.closest(`${N$4} > *`));}),c.sort((s,m)=>m[1]-s[1]).forEach(s=>{let m=r.current.querySelector(`${M$5}[${S$4}="${s[0]}"]`);m==null||m.parentElement.appendChild(m);});}function V(){let e=I().find(i=>!i.ariaDisabled),c=e==null?void 0:e.getAttribute(S$4);h.setState("value",c||void 0);}function j(){if(!o.current.search||d.current.shouldFilter===!1){o.current.filtered.count=u.current.size;return}o.current.filtered.groups=new Set;let e=0;for(let c of u.current){let i=p.current.get(c),s=B(i);o.current.filtered.items.set(c,s),s>0&&e++;}for(let[c,i]of l.current)for(let s of i)if(o.current.filtered.items.get(s)>0){o.current.filtered.groups.add(c);break}o.current.filtered.count=e;}function W(){var c,i,s;let e=_();e&&(((c=e.parentElement)==null?void 0:c.firstChild)===e&&((s=(i=e.closest(M$5))==null?void 0:i.querySelector(de$1))==null||s.scrollIntoView({block:"nearest"})),e.scrollIntoView({block:"nearest"}));}function _(){return r.current.querySelector(`${ee$2}[aria-selected="true"]`)}function I(){return Array.from(r.current.querySelectorAll(Z$3))}function q(e){let i=I()[e];i&&h.setState("value",i.getAttribute(S$4));}function $(e){var b;let c=_(),i=I(),s=i.findIndex(P=>P===c),m=i[s+e];(b=d.current)!=null&&b.loop&&(m=s+e<0?i[i.length-1]:s+e===i.length?i[0]:i[s+e]),m&&h.setState("value",m.getAttribute(S$4));}function J(e){let c=_(),i=c==null?void 0:c.closest(M$5),s;for(;i&&!s;)i=e>0?Se$1(i,M$5):Ce(i,M$5),s=i==null?void 0:i.querySelector(Z$3);s?h.setState("value",s.getAttribute(S$4)):$(e);}let Q=()=>q(I().length-1),X=e=>{e.preventDefault(),e.metaKey?Q():e.altKey?J(1):$(1);},Y=e=>{e.preventDefault(),e.metaKey?q(0):e.altKey?J(-1):$(-1);};return React__namespace.createElement("div",{ref:H$3([r,a]),...D,"cmdk-root":"",onKeyDown:e=>{var c;if((c=D.onKeyDown)==null||c.call(D,e),!e.defaultPrevented)switch(e.key){case"n":case"j":{e.ctrlKey&&X(e);break}case"ArrowDown":{X(e);break}case"p":case"k":{e.ctrlKey&&Y(e);break}case"ArrowUp":{Y(e);break}case"Home":{e.preventDefault(),q(0);break}case"End":{e.preventDefault(),Q();break}case"Enter":{e.preventDefault();let i=_();if(i){let s=new Event(z$3);i.dispatchEvent(s);}}}}},React__namespace.createElement("label",{"cmdk-label":"",htmlFor:K.inputId,id:K.labelId,style:xe$2},v),React__namespace.createElement(re$4.Provider,{value:h},React__namespace.createElement(te$2.Provider,{value:K},E)))}),me$1=React__namespace.forwardRef((n,a)=>{let r=React__namespace.useId(),o=React__namespace.useRef(null),u=React__namespace.useContext(ne$2),l=k$5(),p=ae$2(n);L(()=>l.item(r,u),[]);let f=se$1(r,o,[n.value,n.children,o]),d=U$2(),v=T$5(g=>g.value&&g.value===f.current),E=T$5(g=>l.filter()===!1?!0:g.search?g.filtered.items.get(r)>0:!0);React__namespace.useEffect(()=>{let g=o.current;if(!(!g||n.disabled))return g.addEventListener(z$3,R),()=>g.removeEventListener(z$3,R)},[E,n.onSelect,n.disabled]);function R(){var g,A;(A=(g=p.current).onSelect)==null||A.call(g,f.current);}function w(){d.setState("value",f.current,!0);}if(!E)return null;let{disabled:O,value:ie,onSelect:D,...F}=n;return React__namespace.createElement("div",{ref:H$3([o,a]),...F,"cmdk-item":"",role:"option","aria-disabled":O||void 0,"aria-selected":v||void 0,"data-selected":v||void 0,onPointerMove:O?void 0:w,onClick:O?void 0:R},n.children)}),pe$1=React__namespace.forwardRef((n,a)=>{let{heading:r,children:o,...u}=n,l=React__namespace.useId(),p=React__namespace.useRef(null),f=React__namespace.useRef(null),d=React__namespace.useId(),v=k$5(),E=T$5(w=>v.filter()===!1?!0:w.search?w.filtered.groups.has(l):!0);L(()=>v.group(l),[]),se$1(l,p,[n.value,n.heading,f]);let R=React__namespace.createElement(ne$2.Provider,{value:l},o);return React__namespace.createElement("div",{ref:H$3([p,a]),...u,"cmdk-group":"",role:"presentation",hidden:E?void 0:!0},r&&React__namespace.createElement("div",{ref:f,"cmdk-group-heading":"","aria-hidden":!0,id:d},r),React__namespace.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":r?d:void 0},R))}),ge$1=React__namespace.forwardRef((n,a)=>{let{alwaysRender:r,...o}=n,u=React__namespace.useRef(null),l=T$5(p=>!p.search);return !r&&!l?null:React__namespace.createElement("div",{ref:H$3([u,a]),...o,"cmdk-separator":"",role:"separator"})}),ve$1=React__namespace.forwardRef((n,a)=>{let{onValueChange:r,...o}=n,u=n.value!=null,l=U$2(),p=T$5(d=>d.search),f=k$5();return React__namespace.useEffect(()=>{n.value!=null&&l.setState("search",n.value);},[n.value]),React__namespace.createElement("input",{ref:a,...o,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":f.listId,"aria-labelledby":f.labelId,id:f.inputId,type:"text",value:u?n.value:p,onChange:d=>{u||l.setState("search",d.target.value),r==null||r(d.target.value);}})}),Re$1=React__namespace.forwardRef((n,a)=>{let{children:r,...o}=n,u=React__namespace.useRef(null),l=React__namespace.useRef(null),p=k$5();return React__namespace.useEffect(()=>{if(l.current&&u.current){let f=l.current,d=u.current,v,E=new ResizeObserver(()=>{v=requestAnimationFrame(()=>{let R=f.getBoundingClientRect().height;d.style.setProperty("--cmdk-list-height",R.toFixed(1)+"px");});});return E.observe(f),()=>{cancelAnimationFrame(v),E.unobserve(f);}}},[]),React__namespace.createElement("div",{ref:H$3([u,a]),...o,"cmdk-list":"",role:"listbox","aria-label":"Suggestions",id:p.listId,"aria-labelledby":p.inputId},React__namespace.createElement("div",{ref:l,"cmdk-list-sizer":""},r))}),be$2=React__namespace.forwardRef((n,a)=>{let{open:r,onOpenChange:o,container:u,...l}=n;return React__namespace.createElement($5d3850c4d0b4e6c7$export$be92b6f5f03c0fe9,{open:r,onOpenChange:o},React__namespace.createElement($5d3850c4d0b4e6c7$export$602eac185826482c,{container:u},React__namespace.createElement($5d3850c4d0b4e6c7$export$c6fdb837b070b4ff,{"cmdk-overlay":""}),React__namespace.createElement($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2,{"aria-label":n.label,"cmdk-dialog":""},React__namespace.createElement(oe$2,{ref:a,...l}))))}),he$2=React__namespace.forwardRef((n,a)=>{let r=React__namespace.useRef(!0),o=T$5(u=>u.filtered.count===0);return React__namespace.useEffect(()=>{r.current=!1;},[]),r.current||!o?null:React__namespace.createElement("div",{ref:a,...n,"cmdk-empty":"",role:"presentation"})}),Ee$2=React__namespace.forwardRef((n,a)=>{let{progress:r,children:o,...u}=n;return React__namespace.createElement("div",{ref:a,...u,"cmdk-loading":"",role:"progressbar","aria-valuenow":r,"aria-valuemin":0,"aria-valuemax":100,"aria-label":"Loading..."},React__namespace.createElement("div",{"aria-hidden":!0},o))}),Le$1=Object.assign(oe$2,{List:Re$1,Item:me$1,Input:ve$1,Group:pe$1,Separator:ge$1,Dialog:be$2,Empty:he$2,Loading:Ee$2});function Se$1(n,a){let r=n.nextElementSibling;for(;r;){if(r.matches(a))return r;r=r.nextElementSibling;}}function Ce(n,a){let r=n.previousElementSibling;for(;r;){if(r.matches(a))return r;r=r.previousElementSibling;}}function ae$2(n){let a=React__namespace.useRef(n);return L(()=>{a.current=n;}),a}var L=typeof window>"u"?React__namespace.useEffect:React__namespace.useLayoutEffect;function x$7(n){let a=React__namespace.useRef();return a.current===void 0&&(a.current=n()),a}function H$3(n){return a=>{n.forEach(r=>{typeof r=="function"?r(a):r!=null&&(r.current=a);});}}function T$5(n){let a=U$2(),r=()=>n(a.snapshot());return React__namespace.useSyncExternalStore(a.subscribe,r,r)}function se$1(n,a,r){let o=React__namespace.useRef(),u=k$5();return L(()=>{var p;let l=(()=>{var f;for(let d of r){if(typeof d=="string")return d.trim().toLowerCase();if(typeof d=="object"&&"current"in d&&d.current)return (f=d.current.textContent)==null?void 0:f.trim().toLowerCase()}})();u.value(n,l),(p=a.current)==null||p.setAttribute(S$4,l),o.current=l;}),o}var ye$2=()=>{let[n,a]=React__namespace.useState(),r=x$7(()=>new Map);return L(()=>{r.current.forEach(o=>o()),r.current=new Map;},[n]),(o,u)=>{r.current.set(o,u),a({});}},xe$2={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};
13868
13868
 
13869
13869
  const $d7bdfb9eb0fdf311$var$ENTRY_FOCUS = 'rovingFocusGroup.onEntryFocus';
13870
13870
  const $d7bdfb9eb0fdf311$var$EVENT_OPTIONS = {
@@ -39026,12 +39026,12 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
39026
39026
  * This source code is licensed under the MIT license found in the
39027
39027
  * LICENSE file in the root directory of this source tree.
39028
39028
  */
39029
- var b$8="function"===typeof Symbol&&Symbol.for,c$n=b$8?Symbol.for("react.element"):60103,d$l=b$8?Symbol.for("react.portal"):60106,e$6=b$8?Symbol.for("react.fragment"):60107,f$d=b$8?Symbol.for("react.strict_mode"):60108,g$e=b$8?Symbol.for("react.profiler"):60114,h$8=b$8?Symbol.for("react.provider"):60109,k$4=b$8?Symbol.for("react.context"):60110,l$j=b$8?Symbol.for("react.async_mode"):60111,m$e=b$8?Symbol.for("react.concurrent_mode"):60111,n$k=b$8?Symbol.for("react.forward_ref"):60112,p$a=b$8?Symbol.for("react.suspense"):60113,q$3=b$8?
39030
- Symbol.for("react.suspense_list"):60120,r$p=b$8?Symbol.for("react.memo"):60115,t$i=b$8?Symbol.for("react.lazy"):60116,v$4=b$8?Symbol.for("react.block"):60121,w$5=b$8?Symbol.for("react.fundamental"):60117,x$5=b$8?Symbol.for("react.responder"):60118,y$6=b$8?Symbol.for("react.scope"):60119;
39031
- function z$2(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c$n:switch(a=a.type,a){case l$j:case m$e:case e$6:case g$e:case f$d:case p$a:return a;default:switch(a=a&&a.$$typeof,a){case k$4:case n$k:case t$i:case r$p:case h$8:return a;default:return u}}case d$l:return u}}}function A$3(a){return z$2(a)===m$e}reactIs_production_min.AsyncMode=l$j;reactIs_production_min.ConcurrentMode=m$e;reactIs_production_min.ContextConsumer=k$4;reactIs_production_min.ContextProvider=h$8;reactIs_production_min.Element=c$n;reactIs_production_min.ForwardRef=n$k;reactIs_production_min.Fragment=e$6;reactIs_production_min.Lazy=t$i;reactIs_production_min.Memo=r$p;reactIs_production_min.Portal=d$l;
39032
- reactIs_production_min.Profiler=g$e;reactIs_production_min.StrictMode=f$d;reactIs_production_min.Suspense=p$a;reactIs_production_min.isAsyncMode=function(a){return A$3(a)||z$2(a)===l$j};reactIs_production_min.isConcurrentMode=A$3;reactIs_production_min.isContextConsumer=function(a){return z$2(a)===k$4};reactIs_production_min.isContextProvider=function(a){return z$2(a)===h$8};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c$n};reactIs_production_min.isForwardRef=function(a){return z$2(a)===n$k};reactIs_production_min.isFragment=function(a){return z$2(a)===e$6};reactIs_production_min.isLazy=function(a){return z$2(a)===t$i};
39033
- reactIs_production_min.isMemo=function(a){return z$2(a)===r$p};reactIs_production_min.isPortal=function(a){return z$2(a)===d$l};reactIs_production_min.isProfiler=function(a){return z$2(a)===g$e};reactIs_production_min.isStrictMode=function(a){return z$2(a)===f$d};reactIs_production_min.isSuspense=function(a){return z$2(a)===p$a};
39034
- reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e$6||a===m$e||a===g$e||a===f$d||a===p$a||a===q$3||"object"===typeof a&&null!==a&&(a.$$typeof===t$i||a.$$typeof===r$p||a.$$typeof===h$8||a.$$typeof===k$4||a.$$typeof===n$k||a.$$typeof===w$5||a.$$typeof===x$5||a.$$typeof===y$6||a.$$typeof===v$4)};reactIs_production_min.typeOf=z$2;
39029
+ var b$8="function"===typeof Symbol&&Symbol.for,c$n=b$8?Symbol.for("react.element"):60103,d$k=b$8?Symbol.for("react.portal"):60106,e$6=b$8?Symbol.for("react.fragment"):60107,f$d=b$8?Symbol.for("react.strict_mode"):60108,g$e=b$8?Symbol.for("react.profiler"):60114,h$8=b$8?Symbol.for("react.provider"):60109,k$4=b$8?Symbol.for("react.context"):60110,l$j=b$8?Symbol.for("react.async_mode"):60111,m$e=b$8?Symbol.for("react.concurrent_mode"):60111,n$k=b$8?Symbol.for("react.forward_ref"):60112,p$a=b$8?Symbol.for("react.suspense"):60113,q$3=b$8?
39030
+ Symbol.for("react.suspense_list"):60120,r$p=b$8?Symbol.for("react.memo"):60115,t$i=b$8?Symbol.for("react.lazy"):60116,v$4=b$8?Symbol.for("react.block"):60121,w$5=b$8?Symbol.for("react.fundamental"):60117,x$6=b$8?Symbol.for("react.responder"):60118,y$6=b$8?Symbol.for("react.scope"):60119;
39031
+ function z$2(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c$n:switch(a=a.type,a){case l$j:case m$e:case e$6:case g$e:case f$d:case p$a:return a;default:switch(a=a&&a.$$typeof,a){case k$4:case n$k:case t$i:case r$p:case h$8:return a;default:return u}}case d$k:return u}}}function A$4(a){return z$2(a)===m$e}reactIs_production_min.AsyncMode=l$j;reactIs_production_min.ConcurrentMode=m$e;reactIs_production_min.ContextConsumer=k$4;reactIs_production_min.ContextProvider=h$8;reactIs_production_min.Element=c$n;reactIs_production_min.ForwardRef=n$k;reactIs_production_min.Fragment=e$6;reactIs_production_min.Lazy=t$i;reactIs_production_min.Memo=r$p;reactIs_production_min.Portal=d$k;
39032
+ reactIs_production_min.Profiler=g$e;reactIs_production_min.StrictMode=f$d;reactIs_production_min.Suspense=p$a;reactIs_production_min.isAsyncMode=function(a){return A$4(a)||z$2(a)===l$j};reactIs_production_min.isConcurrentMode=A$4;reactIs_production_min.isContextConsumer=function(a){return z$2(a)===k$4};reactIs_production_min.isContextProvider=function(a){return z$2(a)===h$8};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c$n};reactIs_production_min.isForwardRef=function(a){return z$2(a)===n$k};reactIs_production_min.isFragment=function(a){return z$2(a)===e$6};reactIs_production_min.isLazy=function(a){return z$2(a)===t$i};
39033
+ reactIs_production_min.isMemo=function(a){return z$2(a)===r$p};reactIs_production_min.isPortal=function(a){return z$2(a)===d$k};reactIs_production_min.isProfiler=function(a){return z$2(a)===g$e};reactIs_production_min.isStrictMode=function(a){return z$2(a)===f$d};reactIs_production_min.isSuspense=function(a){return z$2(a)===p$a};
39034
+ reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e$6||a===m$e||a===g$e||a===f$d||a===p$a||a===q$3||"object"===typeof a&&null!==a&&(a.$$typeof===t$i||a.$$typeof===r$p||a.$$typeof===h$8||a.$$typeof===k$4||a.$$typeof===n$k||a.$$typeof===w$5||a.$$typeof===x$6||a.$$typeof===y$6||a.$$typeof===v$4)};reactIs_production_min.typeOf=z$2;
39035
39035
 
39036
39036
  {
39037
39037
  reactIs.exports = reactIs_production_min;
@@ -40192,11 +40192,11 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
40192
40192
  const cos = Math.cos;
40193
40193
  const sin = Math.sin;
40194
40194
  const sqrt$1 = Math.sqrt;
40195
- const pi$2 = Math.PI;
40196
- const tau$1 = 2 * pi$2;
40195
+ const pi$1 = Math.PI;
40196
+ const tau$1 = 2 * pi$1;
40197
40197
 
40198
- const pi$1 = Math.PI,
40199
- tau = 2 * pi$1,
40198
+ const pi = Math.PI,
40199
+ tau = 2 * pi,
40200
40200
  epsilon = 1e-6,
40201
40201
  tauEpsilon = tau - epsilon;
40202
40202
 
@@ -40282,7 +40282,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
40282
40282
  l20_2 = x20 * x20 + y20 * y20,
40283
40283
  l21 = Math.sqrt(l21_2),
40284
40284
  l01 = Math.sqrt(l01_2),
40285
- l = r * Math.tan((pi$1 - Math.acos((l21_2 + l01_2 - l20_2) / (2 * l21 * l01))) / 2),
40285
+ l = r * Math.tan((pi - Math.acos((l21_2 + l01_2 - l20_2) / (2 * l21 * l01))) / 2),
40286
40286
  t01 = l / l01,
40287
40287
  t21 = l / l21;
40288
40288
 
@@ -40330,7 +40330,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
40330
40330
 
40331
40331
  // Is this arc non-empty? Draw an arc!
40332
40332
  else if (da > epsilon) {
40333
- this._append`A${r},${r},0,${+(da >= pi$1)},${cw},${this._x1 = x + r * Math.cos(a1)},${this._y1 = y + r * Math.sin(a1)}`;
40333
+ this._append`A${r},${r},0,${+(da >= pi)},${cw},${this._x1 = x + r * Math.cos(a1)},${this._y1 = y + r * Math.sin(a1)}`;
40334
40334
  }
40335
40335
  }
40336
40336
  rect(x, y, w, h) {
@@ -40397,7 +40397,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
40397
40397
  return new Linear(context);
40398
40398
  }
40399
40399
 
40400
- function x$4(p) {
40400
+ function x$5(p) {
40401
40401
  return p[0];
40402
40402
  }
40403
40403
 
@@ -40412,7 +40412,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
40412
40412
  output = null,
40413
40413
  path = withPath(line);
40414
40414
 
40415
- x = typeof x === "function" ? x : (x === undefined) ? x$4 : constant$3(x);
40415
+ x = typeof x === "function" ? x : (x === undefined) ? x$5 : constant$3(x);
40416
40416
  y = typeof y === "function" ? y : (y === undefined) ? y$5 : constant$3(y);
40417
40417
 
40418
40418
  function line(data) {
@@ -40466,7 +40466,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
40466
40466
  output = null,
40467
40467
  path = withPath(area);
40468
40468
 
40469
- x0 = typeof x0 === "function" ? x0 : (x0 === undefined) ? x$4 : constant$3(+x0);
40469
+ x0 = typeof x0 === "function" ? x0 : (x0 === undefined) ? x$5 : constant$3(+x0);
40470
40470
  y0 = typeof y0 === "function" ? y0 : (y0 === undefined) ? constant$3(0) : constant$3(+y0);
40471
40471
  y1 = typeof y1 === "function" ? y1 : (y1 === undefined) ? y$5 : constant$3(+y1);
40472
40472
 
@@ -40612,7 +40612,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
40612
40612
 
40613
40613
  var symbolCircle = {
40614
40614
  draw(context, size) {
40615
- const r = sqrt$1(size / pi$2);
40615
+ const r = sqrt$1(size / pi$1);
40616
40616
  context.moveTo(r, 0);
40617
40617
  context.arc(0, 0, r, 0, tau$1);
40618
40618
  }
@@ -40661,9 +40661,9 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
40661
40661
  };
40662
40662
 
40663
40663
  const ka$1 = 0.89081309152928522810;
40664
- const kr = sin(pi$2 / 10) / sin(7 * pi$2 / 10);
40665
- const kx = sin(tau$1 / 10) * kr;
40666
- const ky = -cos(tau$1 / 10) * kr;
40664
+ const kr$1 = sin(pi$1 / 10) / sin(7 * pi$1 / 10);
40665
+ const kx = sin(tau$1 / 10) * kr$1;
40666
+ const ky = -cos(tau$1 / 10) * kr$1;
40667
40667
 
40668
40668
  var symbolStar = {
40669
40669
  draw(context, size) {
@@ -62927,17 +62927,17 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
62927
62927
 
62928
62928
  const t$e=extendTailwindMerge({classGroups:{boxShadow:[{shadow:[{tremor:["input","card","dropdown"],"dark-tremor":["input","card","dropdown"]}]}],borderRadius:[{rounded:[{tremor:["small","default","full"],"dark-tremor":["small","default","full"]}]}],fontSize:[{text:[{tremor:["default","title","metric"],"dark-tremor":["default","title","metric"]}]}]}});
62929
62929
 
62930
- const r$n=(r,o)=>{if(o||r===e$5.Unchanged)return r;switch(r){case e$5.Increase:return e$5.Decrease;case e$5.ModerateIncrease:return e$5.ModerateDecrease;case e$5.Decrease:return e$5.Increase;case e$5.ModerateDecrease:return e$5.ModerateIncrease}return ""},o$j=e=>e.toString(),t$d=e=>e.reduce(((e,r)=>e+r),0),l$i=(e,r)=>{for(let o=0;o<r.length;o++)if(r[o]===e)return !0;return !1};function n$i(e){return r=>{e.forEach((e=>{"function"==typeof e?e(r):null!=e&&(e.current=r);}));}}function $$1(e){return r=>`tremor-${e}-${r}`}function c$l(e,r){return "white"!==e&&"black"!==e&&"transparent"!==e&&r?{bgColor:`bg-${e}-${r}`,selectBgColor:`ui-selected:bg-${e}-${r}`,hoverBgColor:`hover:bg-${e}-${r}`,textColor:`text-${e}-${r}`,selectTextColor:`ui-selected:text-${e}-${r}`,hoverTextColor:`hover:text-${e}-${r}`,borderColor:`border-${e}-${r}`,selectBorderColor:`ui-selected:border-${e}-${r}`,hoverBorderColor:`hover:border-${e}-${r}`,ringColor:`ring-${e}-${r}`,strokeColor:`stroke-${e}-${r}`,fillColor:`fill-${e}-${r}`}:{bgColor:`bg-${e}`,hoverBgColor:`hover:bg-${e}`,selectBgColor:`ui-selected:bg-${e}`,textColor:`text-${e}`,selectTextColor:`ui-selected:text-${e}`,hoverTextColor:`hover:text-${e}`,borderColor:`border-${e}`,selectBorderColor:`ui-selected:border-${e}`,hoverBorderColor:`hover:border-${e}`,ringColor:`ring-${e}`,strokeColor:`stroke-${e}`,fillColor:`fill-${e}`}}
62930
+ const r$n=(r,o)=>{if(o||r===e$5.Unchanged)return r;switch(r){case e$5.Increase:return e$5.Decrease;case e$5.ModerateIncrease:return e$5.ModerateDecrease;case e$5.Decrease:return e$5.Increase;case e$5.ModerateDecrease:return e$5.ModerateIncrease}return ""},o$j=e=>e.toString(),t$d=e=>e.reduce(((e,r)=>e+r),0),l$i=(e,r)=>{for(let o=0;o<r.length;o++)if(r[o]===e)return !0;return !1};function n$i(e){return r=>{e.forEach((e=>{"function"==typeof e?e(r):null!=e&&(e.current=r);}));}}function $$2(e){return r=>`tremor-${e}-${r}`}function c$l(e,r){return "white"!==e&&"black"!==e&&"transparent"!==e&&r?{bgColor:`bg-${e}-${r}`,selectBgColor:`ui-selected:bg-${e}-${r}`,hoverBgColor:`hover:bg-${e}-${r}`,textColor:`text-${e}-${r}`,selectTextColor:`ui-selected:text-${e}-${r}`,hoverTextColor:`hover:text-${e}-${r}`,borderColor:`border-${e}-${r}`,selectBorderColor:`ui-selected:border-${e}-${r}`,hoverBorderColor:`hover:border-${e}-${r}`,ringColor:`ring-${e}-${r}`,strokeColor:`stroke-${e}-${r}`,fillColor:`fill-${e}-${r}`}:{bgColor:`bg-${e}`,hoverBgColor:`hover:bg-${e}`,selectBgColor:`ui-selected:bg-${e}`,textColor:`text-${e}`,selectTextColor:`ui-selected:text-${e}`,hoverTextColor:`hover:text-${e}`,borderColor:`border-${e}`,selectBorderColor:`ui-selected:border-${e}`,hoverBorderColor:`hover:border-${e}`,ringColor:`ring-${e}`,strokeColor:`stroke-${e}`,fillColor:`fill-${e}`}}
62931
62931
 
62932
- const m$d=$$1("Legend"),s$k=({name:e,color:n,onClick:i,activeLegend:s})=>{const d=!!i;return React$1.createElement("li",{className:t$e(m$d("legendItem"),"group inline-flex items-center truncate px-2 py-0.5 rounded-tremor-small transition ",d?"cursor-pointer":"cursor-default","text-tremor-content",d?"hover:bg-tremor-background-subtle":"","dark:text-dark-tremor-content",d?"dark:hover:bg-dark-tremor-background-subtle":""),onClick:t=>{t.stopPropagation(),null==i||i(e,n);}},React$1.createElement("svg",{className:t$e("flex-none",c$l(n,e$4.text).textColor,h$7.xs.height,h$7.xs.width,t$g.xs.marginRight,s&&s!==e?"opacity-40":"opacity-100"),fill:"currentColor",viewBox:"0 0 8 8"},React$1.createElement("circle",{cx:4,cy:4,r:4})),React$1.createElement("p",{className:t$e("whitespace-nowrap truncate text-tremor-default","text-tremor-content",d?"group-hover:text-tremor-content-emphasis":"","dark:text-dark-tremor-content",s&&s!==e?"opacity-40":"opacity-100",d?"dark:group-hover:text-dark-tremor-content-emphasis":"")},e))},d$k=React$1.forwardRef(((r,o)=>{const{categories:a,colors:i=a$i,className:l,onClickLegendItem:d,activeLegend:p}=r,g=__rest$2(r,["categories","colors","className","onClickLegendItem","activeLegend"]);return React$1.createElement("ol",Object.assign({ref:o,className:t$e(m$d("root"),"flex flex-wrap overflow-hidden truncate",l)},g),a.map(((e,r)=>React$1.createElement(s$k,{key:`item-${r}`,name:e,color:i[r],onClick:d,activeLegend:p}))))}));d$k.displayName="Legend";
62932
+ const m$d=$$2("Legend"),s$k=({name:e,color:n,onClick:i,activeLegend:s})=>{const d=!!i;return React$1.createElement("li",{className:t$e(m$d("legendItem"),"group inline-flex items-center truncate px-2 py-0.5 rounded-tremor-small transition ",d?"cursor-pointer":"cursor-default","text-tremor-content",d?"hover:bg-tremor-background-subtle":"","dark:text-dark-tremor-content",d?"dark:hover:bg-dark-tremor-background-subtle":""),onClick:t=>{t.stopPropagation(),null==i||i(e,n);}},React$1.createElement("svg",{className:t$e("flex-none",c$l(n,e$4.text).textColor,h$7.xs.height,h$7.xs.width,t$g.xs.marginRight,s&&s!==e?"opacity-40":"opacity-100"),fill:"currentColor",viewBox:"0 0 8 8"},React$1.createElement("circle",{cx:4,cy:4,r:4})),React$1.createElement("p",{className:t$e("whitespace-nowrap truncate text-tremor-default","text-tremor-content",d?"group-hover:text-tremor-content-emphasis":"","dark:text-dark-tremor-content",s&&s!==e?"opacity-40":"opacity-100",d?"dark:group-hover:text-dark-tremor-content-emphasis":"")},e))},d$j=React$1.forwardRef(((r,o)=>{const{categories:a,colors:i=a$i,className:l,onClickLegendItem:d,activeLegend:p}=r,g=__rest$2(r,["categories","colors","className","onClickLegendItem","activeLegend"]);return React$1.createElement("ol",Object.assign({ref:o,className:t$e(m$d("root"),"flex flex-wrap overflow-hidden truncate",l)},g),a.map(((e,r)=>React$1.createElement(s$k,{key:`item-${r}`,name:e,color:i[r],onClick:d,activeLegend:p}))))}));d$j.displayName="Legend";
62933
62933
 
62934
- const o$i=({payload:o},a,l,i,s)=>{const m=React$1.useRef(null);t$h((()=>{var e;var t;l((t=null===(e=m.current)||void 0===e?void 0:e.clientHeight)?Number(t)+20:60);}));const c=o.filter((e=>"none"!==e.type));return React$1.createElement("div",{ref:m,className:"flex items-center justify-end"},React$1.createElement(d$k,{categories:c.map((e=>e.value)),colors:c.map((e=>a.get(e.value))),onClickLegendItem:s,activeLegend:i}))};
62934
+ const o$i=({payload:o},a,l,i,s)=>{const m=React$1.useRef(null);t$h((()=>{var e;var t;l((t=null===(e=m.current)||void 0===e?void 0:e.clientHeight)?Number(t)+20:60);}));const c=o.filter((e=>"none"!==e.type));return React$1.createElement("div",{ref:m,className:"flex items-center justify-end"},React$1.createElement(d$j,{categories:c.map((e=>e.value)),colors:c.map((e=>a.get(e.value))),onClickLegendItem:s,activeLegend:i}))};
62935
62935
 
62936
62936
  const r$m={none:{left:"border-l-0",top:"border-t-0",right:"border-r-0",bottom:"border-b-0",all:"border-0"},sm:{left:"border-l",top:"border-t",right:"border-r",bottom:"border-b",all:"border"},md:{left:"border-l-2",top:"border-t-2",right:"border-r-2",bottom:"border-b-2",all:"border-2"},lg:{left:"border-l-4",top:"border-t-4",right:"border-r-4",bottom:"border-b-4",all:"border-4"}};
62937
62937
 
62938
62938
  const s$j=({children:r})=>React$1.createElement("div",{className:t$e("rounded-tremor-default text-tremor-default","bg-tremor-background shadow-tremor-dropdown border-tremor-border","dark:bg-dark-tremor-background dark:shadow-dark-tremor-dropdown dark:border-dark-tremor-border",r$m.sm.all)},r),l$h=({value:r,name:o,color:s})=>React$1.createElement("div",{className:"flex items-center justify-between space-x-8"},React$1.createElement("div",{className:"flex items-center space-x-2"},React$1.createElement("span",{className:t$e("shrink-0 rounded-tremor-full","border-tremor-background shadow-tremor-card","dark:border-dark-tremor-background dark:shadow-dark-tremor-card",c$l(s,e$4.background).bgColor,h$7.sm.height,h$7.sm.width,r$m.md.all)}),React$1.createElement("p",{className:t$e("text-right whitespace-nowrap","text-tremor-content","dark:text-dark-tremor-content")},o)),React$1.createElement("p",{className:t$e("font-medium tabular-nums text-right whitespace-nowrap","text-tremor-content-emphasis","dark:text-dark-tremor-content-emphasis")},r)),c$k=({active:a,payload:m,label:n,categoryColors:c,valueFormatter:i})=>{if(a&&m){const a=m.filter((e=>"none"!==e.type));return React$1.createElement(s$j,null,React$1.createElement("div",{className:t$e("border-tremor-border","dark:border-dark-tremor-border",t$g.twoXl.paddingX,t$g.sm.paddingY,r$m.sm.bottom)},React$1.createElement("p",{className:t$e("font-medium","text-tremor-content-emphasis","dark:text-dark-tremor-content-emphasis")},n)),React$1.createElement("div",{className:t$e(t$g.twoXl.paddingX,t$g.sm.paddingY,"space-y-1")},a.map((({value:t,name:a},o)=>{var m;return React$1.createElement(l$h,{key:`id-${o}`,value:i(t),name:a,color:null!==(m=c.get(a))&&void 0!==m?m:a$j.Blue})}))))}return null};
62939
62939
 
62940
- const i$l=$$1("Flex"),l$g={start:"justify-start",end:"justify-end",center:"justify-center",between:"justify-between",around:"justify-around",evenly:"justify-evenly"},n$h={start:"items-start",end:"items-end",center:"items-center",baseline:"items-baseline",stretch:"items-stretch"},o$h={row:"flex-row",col:"flex-col","row-reverse":"flex-row-reverse","col-reverse":"flex-col-reverse"},a$h=React$1.forwardRef(((r,a)=>{const{flexDirection:f="row",justifyContent:c="between",alignItems:m="center",children:u,className:d}=r,j=__rest$2(r,["flexDirection","justifyContent","alignItems","children","className"]);return React$1.createElement("div",Object.assign({ref:a,className:t$e(i$l("root"),"flex w-full",o$h[f],l$g[c],n$h[m],d)},j),u)}));a$h.displayName="Flex";
62940
+ const i$l=$$2("Flex"),l$g={start:"justify-start",end:"justify-end",center:"justify-center",between:"justify-between",around:"justify-around",evenly:"justify-evenly"},n$h={start:"items-start",end:"items-end",center:"items-center",baseline:"items-baseline",stretch:"items-stretch"},o$h={row:"flex-row",col:"flex-col","row-reverse":"flex-row-reverse","col-reverse":"flex-col-reverse"},a$h=React$1.forwardRef(((r,a)=>{const{flexDirection:f="row",justifyContent:c="between",alignItems:m="center",children:u,className:d}=r,j=__rest$2(r,["flexDirection","justifyContent","alignItems","children","className"]);return React$1.createElement("div",Object.assign({ref:a,className:t$e(i$l("root"),"flex w-full",o$h[f],l$g[c],n$h[m],d)},j),u)}));a$h.displayName="Flex";
62941
62941
 
62942
62942
  const m$c=React$1.forwardRef(((m,a)=>{const{color:l,className:s,children:c}=m;return React$1.createElement("p",{ref:a,className:t$e("text-tremor-default",l?c$l(l,e$4.text).textColor:t$e("text-tremor-content","dark:text-dark-tremor-content"),s)},c)}));m$c.displayName="Text";
62943
62943
 
@@ -62947,7 +62947,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
62947
62947
 
62948
62948
  const N$3=React$1.forwardRef(((N,T)=>{const{data:j=[],categories:K=[],index:A,stack:G=!1,colors:D=a$i,valueFormatter:O=o$j,startEndOnly:W=!1,showXAxis:V=!0,showYAxis:F=!0,yAxisWidth:M=56,intervalType:P="equidistantPreserveStart",showAnimation:S=!1,animationDuration:X=900,showTooltip:Y=!0,showLegend:q=!0,showGridLines:z=!0,showGradient:I=!0,autoMinValue:R=!1,curveType:$="linear",minValue:B,maxValue:H,connectNulls:J=!1,allowDecimals:Q=!0,noDataText:U,className:Z,onValueChange:_,customTooltip:ee}=N,te=__rest$2(N,["data","categories","index","stack","colors","valueFormatter","startEndOnly","showXAxis","showYAxis","yAxisWidth","intervalType","showAnimation","animationDuration","showTooltip","showLegend","showGridLines","showGradient","autoMinValue","curveType","minValue","maxValue","connectNulls","allowDecimals","noDataText","className","onValueChange","customTooltip"]),oe=ee,[ae,re]=React$1.useState(60),[ne,le]=React$1.useState(void 0),[ie,se]=React$1.useState(void 0),ce=t$c(K,D),de=n$g(R,B,H),me=!!_;function ue(e){me&&(e===ie&&!ne||o$g(j,e)&&ne&&ne.dataKey===e?(se(void 0),null==_||_(null)):(se(e),null==_||_({eventType:"category",categoryClicked:e})),le(void 0));}return React$1.createElement("div",Object.assign({ref:T,className:t$e("w-full h-80",Z)},te),React$1.createElement(ResponsiveContainer,{className:"h-full w-full"},(null==j?void 0:j.length)?React$1.createElement(AreaChart,{data:j,onClick:me&&(ie||ne)?()=>{le(void 0),se(void 0),null==_||_(null);}:void 0},z?React$1.createElement(CartesianGrid,{className:t$e("stroke-1","stroke-tremor-border","dark:stroke-dark-tremor-border"),horizontal:!0,vertical:!1}):null,React$1.createElement(XAxis,{padding:{left:20,right:20},hide:!V,dataKey:A,tick:{transform:"translate(0, 6)"},ticks:W?[j[0][A],j[j.length-1][A]]:void 0,fill:"",stroke:"",className:t$e("text-tremor-label","fill-tremor-content","dark:fill-dark-tremor-content"),interval:W?"preserveStartEnd":P,tickLine:!1,axisLine:!1,minTickGap:5}),React$1.createElement(YAxis,{width:M,hide:!F,axisLine:!1,tickLine:!1,type:"number",domain:de,tick:{transform:"translate(-3, 0)"},fill:"",stroke:"",className:t$e("text-tremor-label","fill-tremor-content","dark:fill-dark-tremor-content"),tickFormatter:O,allowDecimals:Q}),React$1.createElement(Tooltip,{wrapperStyle:{outline:"none"},isAnimationActive:!1,cursor:{stroke:"#d1d5db",strokeWidth:1},content:Y?({active:e,payload:o,label:a})=>oe?React$1.createElement(oe,{payload:null==o?void 0:o.map((e=>{var t;return Object.assign(Object.assign({},e),{color:null!==(t=ce.get(e.dataKey))&&void 0!==t?t:a$j.Gray})})),active:e,label:a}):React$1.createElement(c$k,{active:e,payload:o,label:a,valueFormatter:O,categoryColors:ce}):React$1.createElement(React$1.Fragment,null),position:{y:0}}),q?React$1.createElement(Legend,{verticalAlign:"top",height:ae,content:({payload:e})=>o$i({payload:e},ce,re,ie,me?e=>ue(e):void 0)}):null,K.map((e=>{var o,a;return React$1.createElement("defs",{key:e},I?React$1.createElement("linearGradient",{className:c$l(null!==(o=ce.get(e))&&void 0!==o?o:a$j.Gray,e$4.text).textColor,id:ce.get(e),x1:"0",y1:"0",x2:"0",y2:"1"},React$1.createElement("stop",{offset:"5%",stopColor:"currentColor",stopOpacity:ne||ie&&ie!==e?.15:.4}),React$1.createElement("stop",{offset:"95%",stopColor:"currentColor",stopOpacity:0})):React$1.createElement("linearGradient",{className:c$l(null!==(a=ce.get(e))&&void 0!==a?a:a$j.Gray,e$4.text).textColor,id:ce.get(e),x1:"0",y1:"0",x2:"0",y2:"1"},React$1.createElement("stop",{stopColor:"currentColor",stopOpacity:ne||ie&&ie!==e?.1:.3})))})),K.map((e=>{var o;return React$1.createElement(Area,{className:c$l(null!==(o=ce.get(e))&&void 0!==o?o:a$j.Gray,e$4.text).strokeColor,strokeOpacity:ne||ie&&ie!==e?.3:1,activeDot:e=>{var o;const{cx:a,cy:r,stroke:n,strokeLinecap:l,strokeLinejoin:i,strokeWidth:s,dataKey:c}=e;return React$1.createElement(Dot,{className:t$e("stroke-tremor-background dark:stroke-dark-tremor-background",_?"cursor-pointer":"",c$l(null!==(o=ce.get(c))&&void 0!==o?o:a$j.Gray,e$4.text).fillColor),cx:a,cy:r,r:5,fill:"",stroke:n,strokeLinecap:l,strokeLinejoin:i,strokeWidth:s,onClick:(t,o)=>function(e,t){t.stopPropagation(),me&&(e.index===(null==ne?void 0:ne.index)&&e.dataKey===(null==ne?void 0:ne.dataKey)||o$g(j,e.dataKey)&&ie&&ie===e.dataKey?(se(void 0),le(void 0),null==_||_(null)):(se(e.dataKey),le({index:e.index,dataKey:e.dataKey}),null==_||_(Object.assign({eventType:"dot",categoryClicked:e.dataKey},e.payload))));}(e,o)})},dot:o=>{var r;const{stroke:n,strokeLinecap:l,strokeLinejoin:i,strokeWidth:s,cx:c,cy:d,dataKey:m,index:p}=o;return o$g(j,e)&&!(ne||ie&&ie!==e)||(null==ne?void 0:ne.index)===p&&(null==ne?void 0:ne.dataKey)===e?React$1.createElement(Dot,{key:p,cx:c,cy:d,r:5,stroke:n,fill:"",strokeLinecap:l,strokeLinejoin:i,strokeWidth:s,className:t$e("stroke-tremor-background dark:stroke-dark-tremor-background",_?"cursor-pointer":"",c$l(null!==(r=ce.get(m))&&void 0!==r?r:a$j.Gray,e$4.text).fillColor)}):React$1.createElement(React$1.Fragment,{key:p})},key:e,name:e,type:$,dataKey:e,stroke:"",fill:`url(#${ce.get(e)})`,strokeWidth:2,strokeLinejoin:"round",strokeLinecap:"round",isAnimationActive:S,animationDuration:X,stackId:G?"a":void 0,connectNulls:J})})),_?K.map((e=>React$1.createElement(Line,{className:t$e("cursor-pointer"),strokeOpacity:0,key:e,name:e,type:$,dataKey:e,stroke:"transparent",fill:"transparent",legendType:"none",tooltipType:"none",strokeWidth:12,connectNulls:J,onClick:(e,t)=>{t.stopPropagation();const{name:o}=e;ue(o);}}))):null):React$1.createElement(a$g,{noDataText:U})))}));N$3.displayName="AreaChart";
62949
62949
 
62950
- const E$2=React$1.forwardRef(((E,j)=>{const{data:O=[],categories:T=[],index:A,colors:L=a$i,valueFormatter:C=o$j,layout:N="horizontal",stack:D=!1,relative:V=!1,startEndOnly:F=!1,animationDuration:K=900,showAnimation:S=!1,showXAxis:G=!0,showYAxis:P=!0,yAxisWidth:z=56,intervalType:M="equidistantPreserveStart",showTooltip:B=!0,showLegend:W=!0,showGridLines:X=!0,autoMinValue:Y=!1,minValue:q,maxValue:I,allowDecimals:R=!0,noDataText:$,onValueChange:H,customTooltip:J,className:Q}=E,U=__rest$2(E,["data","categories","index","colors","valueFormatter","layout","stack","relative","startEndOnly","animationDuration","showAnimation","showXAxis","showYAxis","yAxisWidth","intervalType","showTooltip","showLegend","showGridLines","autoMinValue","minValue","maxValue","allowDecimals","noDataText","onValueChange","customTooltip","className"]),Z=J,[_,ee]=React$1.useState(60),te=t$c(T,L),[ae,le]=React$1.useState(void 0),[oe,ie]=React$1.useState(void 0),re=!!H;function ne(e,t,a){var l,o,i,r;a.stopPropagation(),H&&(e$3(ae,Object.assign(Object.assign({},e.payload),{value:e.value}))?(ie(void 0),le(void 0),null==H||H(null)):(ie(null===(o=null===(l=e.tooltipPayload)||void 0===l?void 0:l[0])||void 0===o?void 0:o.dataKey),le(Object.assign(Object.assign({},e.payload),{value:e.value})),null==H||H(Object.assign({eventType:"bar",categoryClicked:null===(r=null===(i=e.tooltipPayload)||void 0===i?void 0:i[0])||void 0===r?void 0:r.dataKey},e.payload))));}const se=n$g(Y,q,I);return React$1.createElement("div",Object.assign({ref:j,className:t$e("w-full h-80",Q)},U),React$1.createElement(ResponsiveContainer,{className:"h-full w-full"},(null==O?void 0:O.length)?React$1.createElement(BarChart,{data:O,stackOffset:V?"expand":"none",layout:"vertical"===N?"vertical":"horizontal",onClick:re&&(oe||ae)?()=>{le(void 0),ie(void 0),null==H||H(null);}:void 0},X?React$1.createElement(CartesianGrid,{className:t$e("stroke-1","stroke-tremor-border","dark:stroke-dark-tremor-border"),horizontal:"vertical"!==N,vertical:"vertical"===N}):null,"vertical"!==N?React$1.createElement(XAxis,{padding:{left:20,right:20},hide:!G,dataKey:A,interval:F?"preserveStartEnd":M,tick:{transform:"translate(0, 6)"},ticks:F?[O[0][A],O[O.length-1][A]]:void 0,fill:"",stroke:"",className:t$e("mt-4 text-tremor-label","fill-tremor-content","dark:fill-dark-tremor-content"),tickLine:!1,axisLine:!1}):React$1.createElement(XAxis,{hide:!G,type:"number",tick:{transform:"translate(-3, 0)"},domain:se,fill:"",stroke:"",className:t$e("text-tremor-label","fill-tremor-content","dark:fill-dark-tremor-content"),tickLine:!1,axisLine:!1,tickFormatter:C,minTickGap:5,allowDecimals:R}),"vertical"!==N?React$1.createElement(YAxis,{width:z,hide:!P,axisLine:!1,tickLine:!1,type:"number",domain:se,tick:{transform:"translate(-3, 0)"},fill:"",stroke:"",className:t$e("text-tremor-label","fill-tremor-content","dark:fill-dark-tremor-content"),tickFormatter:V?e=>`${(100*e).toString()} %`:C,allowDecimals:R}):React$1.createElement(YAxis,{width:z,hide:!P,dataKey:A,axisLine:!1,tickLine:!1,ticks:F?[O[0][A],O[O.length-1][A]]:void 0,type:"category",interval:"preserveStartEnd",tick:{transform:"translate(0, 6)"},fill:"",stroke:"",className:t$e("text-tremor-label","fill-tremor-content","dark:fill-dark-tremor-content")}),React$1.createElement(Tooltip,{wrapperStyle:{outline:"none"},isAnimationActive:!1,cursor:{fill:"#d1d5db",opacity:"0.15"},content:B?({active:e,payload:a,label:l})=>Z?React$1.createElement(Z,{payload:null==a?void 0:a.map((e=>{var a;return Object.assign(Object.assign({},e),{color:null!==(a=te.get(e.dataKey))&&void 0!==a?a:a$j.Gray})})),active:e,label:l}):React$1.createElement(c$k,{active:e,payload:a,label:l,valueFormatter:C,categoryColors:te}):React$1.createElement(React$1.Fragment,null),position:{y:0}}),W?React$1.createElement(Legend,{verticalAlign:"top",height:_,content:({payload:e})=>o$i({payload:e},te,ee,oe,re?e=>{return t=e,void(re&&(t!==oe||ae?(ie(t),null==H||H({eventType:"category",categoryClicked:t})):(ie(void 0),null==H||H(null)),le(void 0)));var t;}:void 0)}):null,T.map((e=>{var a;return React$1.createElement(Bar,{className:t$e(c$l(null!==(a=te.get(e))&&void 0!==a?a:a$j.Gray,e$4.background).fillColor,H?"cursor-pointer":""),key:e,name:e,type:"linear",stackId:D||V?"a":void 0,dataKey:e,fill:"",isAnimationActive:S,animationDuration:K,shape:e=>((e,t,a)=>{const{x:l,y:o,width:i,height:r,fillOpacity:s,name:c,payload:m,value:d}=e;return React$1.createElement("rect",{x:l,y:o,width:i,height:r,opacity:t||a&&a!==c?e$3(t,Object.assign(Object.assign({},m),{value:d}))?s:.3:s})})(e,ae,oe),onClick:ne})}))):React$1.createElement(a$g,{noDataText:$})))}));E$2.displayName="BarChart";
62950
+ const E$1=React$1.forwardRef(((E,j)=>{const{data:O=[],categories:T=[],index:A,colors:L=a$i,valueFormatter:C=o$j,layout:N="horizontal",stack:D=!1,relative:V=!1,startEndOnly:F=!1,animationDuration:K=900,showAnimation:S=!1,showXAxis:G=!0,showYAxis:P=!0,yAxisWidth:z=56,intervalType:M="equidistantPreserveStart",showTooltip:B=!0,showLegend:W=!0,showGridLines:X=!0,autoMinValue:Y=!1,minValue:q,maxValue:I,allowDecimals:R=!0,noDataText:$,onValueChange:H,customTooltip:J,className:Q}=E,U=__rest$2(E,["data","categories","index","colors","valueFormatter","layout","stack","relative","startEndOnly","animationDuration","showAnimation","showXAxis","showYAxis","yAxisWidth","intervalType","showTooltip","showLegend","showGridLines","autoMinValue","minValue","maxValue","allowDecimals","noDataText","onValueChange","customTooltip","className"]),Z=J,[_,ee]=React$1.useState(60),te=t$c(T,L),[ae,le]=React$1.useState(void 0),[oe,ie]=React$1.useState(void 0),re=!!H;function ne(e,t,a){var l,o,i,r;a.stopPropagation(),H&&(e$3(ae,Object.assign(Object.assign({},e.payload),{value:e.value}))?(ie(void 0),le(void 0),null==H||H(null)):(ie(null===(o=null===(l=e.tooltipPayload)||void 0===l?void 0:l[0])||void 0===o?void 0:o.dataKey),le(Object.assign(Object.assign({},e.payload),{value:e.value})),null==H||H(Object.assign({eventType:"bar",categoryClicked:null===(r=null===(i=e.tooltipPayload)||void 0===i?void 0:i[0])||void 0===r?void 0:r.dataKey},e.payload))));}const se=n$g(Y,q,I);return React$1.createElement("div",Object.assign({ref:j,className:t$e("w-full h-80",Q)},U),React$1.createElement(ResponsiveContainer,{className:"h-full w-full"},(null==O?void 0:O.length)?React$1.createElement(BarChart,{data:O,stackOffset:V?"expand":"none",layout:"vertical"===N?"vertical":"horizontal",onClick:re&&(oe||ae)?()=>{le(void 0),ie(void 0),null==H||H(null);}:void 0},X?React$1.createElement(CartesianGrid,{className:t$e("stroke-1","stroke-tremor-border","dark:stroke-dark-tremor-border"),horizontal:"vertical"!==N,vertical:"vertical"===N}):null,"vertical"!==N?React$1.createElement(XAxis,{padding:{left:20,right:20},hide:!G,dataKey:A,interval:F?"preserveStartEnd":M,tick:{transform:"translate(0, 6)"},ticks:F?[O[0][A],O[O.length-1][A]]:void 0,fill:"",stroke:"",className:t$e("mt-4 text-tremor-label","fill-tremor-content","dark:fill-dark-tremor-content"),tickLine:!1,axisLine:!1}):React$1.createElement(XAxis,{hide:!G,type:"number",tick:{transform:"translate(-3, 0)"},domain:se,fill:"",stroke:"",className:t$e("text-tremor-label","fill-tremor-content","dark:fill-dark-tremor-content"),tickLine:!1,axisLine:!1,tickFormatter:C,minTickGap:5,allowDecimals:R}),"vertical"!==N?React$1.createElement(YAxis,{width:z,hide:!P,axisLine:!1,tickLine:!1,type:"number",domain:se,tick:{transform:"translate(-3, 0)"},fill:"",stroke:"",className:t$e("text-tremor-label","fill-tremor-content","dark:fill-dark-tremor-content"),tickFormatter:V?e=>`${(100*e).toString()} %`:C,allowDecimals:R}):React$1.createElement(YAxis,{width:z,hide:!P,dataKey:A,axisLine:!1,tickLine:!1,ticks:F?[O[0][A],O[O.length-1][A]]:void 0,type:"category",interval:"preserveStartEnd",tick:{transform:"translate(0, 6)"},fill:"",stroke:"",className:t$e("text-tremor-label","fill-tremor-content","dark:fill-dark-tremor-content")}),React$1.createElement(Tooltip,{wrapperStyle:{outline:"none"},isAnimationActive:!1,cursor:{fill:"#d1d5db",opacity:"0.15"},content:B?({active:e,payload:a,label:l})=>Z?React$1.createElement(Z,{payload:null==a?void 0:a.map((e=>{var a;return Object.assign(Object.assign({},e),{color:null!==(a=te.get(e.dataKey))&&void 0!==a?a:a$j.Gray})})),active:e,label:l}):React$1.createElement(c$k,{active:e,payload:a,label:l,valueFormatter:C,categoryColors:te}):React$1.createElement(React$1.Fragment,null),position:{y:0}}),W?React$1.createElement(Legend,{verticalAlign:"top",height:_,content:({payload:e})=>o$i({payload:e},te,ee,oe,re?e=>{return t=e,void(re&&(t!==oe||ae?(ie(t),null==H||H({eventType:"category",categoryClicked:t})):(ie(void 0),null==H||H(null)),le(void 0)));var t;}:void 0)}):null,T.map((e=>{var a;return React$1.createElement(Bar,{className:t$e(c$l(null!==(a=te.get(e))&&void 0!==a?a:a$j.Gray,e$4.background).fillColor,H?"cursor-pointer":""),key:e,name:e,type:"linear",stackId:D||V?"a":void 0,dataKey:e,fill:"",isAnimationActive:S,animationDuration:K,shape:e=>((e,t,a)=>{const{x:l,y:o,width:i,height:r,fillOpacity:s,name:c,payload:m,value:d}=e;return React$1.createElement("rect",{x:l,y:o,width:i,height:r,opacity:t||a&&a!==c?e$3(t,Object.assign(Object.assign({},m),{value:d}))?s:.3:s})})(e,ae,oe),onClick:ne})}))):React$1.createElement(a$g,{noDataText:$})))}));E$1.displayName="BarChart";
62951
62951
 
62952
62952
  const a$f=({active:a,payload:m,valueFormatter:n})=>{if(a&&(null==m?void 0:m[0])){const a=null==m?void 0:m[0];return React$1.createElement(s$j,null,React$1.createElement("div",{className:t$e(t$g.twoXl.paddingX,t$g.sm.paddingY)},React$1.createElement(l$h,{value:n(a.value),name:a.name,color:a.payload.color})))}return null};
62953
62953
 
@@ -62955,11 +62955,11 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
62955
62955
 
62956
62956
  const g$d=e=>{const{cx:t,cy:a,innerRadius:o,outerRadius:n,startAngle:r,endAngle:i,className:s}=e;return React$1.createElement("g",null,React$1.createElement(Sector,{cx:t,cy:a,innerRadius:o,outerRadius:n,startAngle:r,endAngle:i,className:s,fill:"",opacity:.3,style:{outline:"none"}}))},y$4=React$1.forwardRef(((u,y)=>{const{data:h=[],category:b="value",index:A="name",colors:x=a$i,variant:E="donut",valueFormatter:j=o$j,label:k,showLabel:w=!0,animationDuration:N=900,showAnimation:T=!1,showTooltip:D=!0,noDataText:R,onValueChange:C,customTooltip:F,className:O}=u,S=__rest$2(u,["data","category","index","colors","variant","valueFormatter","label","showLabel","animationDuration","showAnimation","showTooltip","noDataText","onValueChange","customTooltip","className"]),L=F,K="donut"==E,P=i$k(k,j,h,b),[V,q]=React$1.useState(void 0),B=!!C;return React$1.useEffect((()=>{const e=document.querySelectorAll(".recharts-pie-sector");e&&e.forEach((e=>{e.setAttribute("style","outline: none");}));}),[V]),React$1.createElement("div",Object.assign({ref:y,className:t$e("w-full h-40",O)},S),React$1.createElement(ResponsiveContainer,{className:"h-full w-full"},(null==h?void 0:h.length)?React$1.createElement(PieChart,{onClick:B&&V?()=>{q(void 0),null==C||C(null);}:void 0,margin:{top:0,left:0,right:0,bottom:0}},w&&K?React$1.createElement("text",{className:t$e("fill-tremor-content-emphasis","dark:fill-dark-tremor-content-emphasis"),x:"50%",y:"50%",textAnchor:"middle",dominantBaseline:"middle"},P):null,React$1.createElement(Pie,{className:t$e("stroke-tremor-background dark:stroke-dark-tremor-background",C?"cursor-pointer":"cursor-default"),data:s$i(h,x),cx:"50%",cy:"50%",startAngle:90,endAngle:-270,innerRadius:K?"75%":"0%",outerRadius:"100%",stroke:"",strokeLinejoin:"round",dataKey:b,nameKey:A,isAnimationActive:T,animationDuration:N,onClick:function(e,t,a){a.stopPropagation(),B&&(V===t?(q(void 0),null==C||C(null)):(q(t),null==C||C(Object.assign({eventType:"slice"},e.payload.payload))));},activeIndex:V,inactiveShape:g$d,style:{outline:"none"}}),React$1.createElement(Tooltip,{wrapperStyle:{outline:"none"},isAnimationActive:!1,content:D?({active:e,payload:a})=>{var o;return L?React$1.createElement(L,{payload:null==a?void 0:a.map((e=>{var o,n,l;return Object.assign(Object.assign({},e),{color:null!==(l=null===(n=null===(o=null==a?void 0:a[0])||void 0===o?void 0:o.payload)||void 0===n?void 0:n.color)&&void 0!==l?l:a$j.Gray})})),active:e,label:null===(o=null==a?void 0:a[0])||void 0===o?void 0:o.name}):React$1.createElement(a$f,{active:e,payload:a,valueFormatter:j})}:React$1.createElement(React$1.Fragment,null)})):React$1.createElement(a$g,{noDataText:R})))}));y$4.displayName="DonutChart";
62957
62957
 
62958
- const T$3=React$1.forwardRef(((T,j)=>{const{data:N=[],categories:K=[],index:C,colors:A=a$i,valueFormatter:D=o$j,startEndOnly:W=!1,showXAxis:O=!0,showYAxis:V=!0,yAxisWidth:G=56,intervalType:F="equidistantPreserveStart",animationDuration:M=900,showAnimation:P=!1,showTooltip:S=!0,showLegend:X=!0,showGridLines:Y=!0,autoMinValue:q=!1,curveType:z="linear",minValue:R,maxValue:B,connectNulls:H=!1,allowDecimals:I=!0,noDataText:J,className:Q,onValueChange:U,customTooltip:Z}=T,$=__rest$2(T,["data","categories","index","colors","valueFormatter","startEndOnly","showXAxis","showYAxis","yAxisWidth","intervalType","animationDuration","showAnimation","showTooltip","showLegend","showGridLines","autoMinValue","curveType","minValue","maxValue","connectNulls","allowDecimals","noDataText","className","onValueChange","customTooltip"]),_=Z,[ee,te]=React$1.useState(60),[oe,ae]=React$1.useState(void 0),[re,ne]=React$1.useState(void 0),le=t$c(K,A),ie=n$g(q,R,B),se=!!U;function ce(e){se&&(e===re&&!oe||o$g(N,e)&&oe&&oe.dataKey===e?(ne(void 0),null==U||U(null)):(ne(e),null==U||U({eventType:"category",categoryClicked:e})),ae(void 0));}return React$1.createElement("div",Object.assign({ref:j,className:t$e("w-full h-80",Q)},$),React$1.createElement(ResponsiveContainer,{className:"h-full w-full"},(null==N?void 0:N.length)?React$1.createElement(LineChart,{data:N,onClick:se&&(re||oe)?()=>{ae(void 0),ne(void 0),null==U||U(null);}:void 0},Y?React$1.createElement(CartesianGrid,{className:t$e("stroke-1","stroke-tremor-border","dark:stroke-dark-tremor-border"),horizontal:!0,vertical:!1}):null,React$1.createElement(XAxis,{padding:{left:20,right:20},hide:!O,dataKey:C,interval:W?"preserveStartEnd":F,tick:{transform:"translate(0, 6)"},ticks:W?[N[0][C],N[N.length-1][C]]:void 0,fill:"",stroke:"",className:t$e("text-tremor-label","fill-tremor-content","dark:fill-dark-tremor-content"),tickLine:!1,axisLine:!1,minTickGap:5}),React$1.createElement(YAxis,{width:G,hide:!V,axisLine:!1,tickLine:!1,type:"number",domain:ie,tick:{transform:"translate(-3, 0)"},fill:"",stroke:"",className:t$e("text-tremor-label","fill-tremor-content","dark:fill-dark-tremor-content"),tickFormatter:D,allowDecimals:I}),React$1.createElement(Tooltip,{wrapperStyle:{outline:"none"},isAnimationActive:!1,cursor:{stroke:"#d1d5db",strokeWidth:1},content:S?({active:e,payload:o,label:a})=>_?React$1.createElement(_,{payload:null==o?void 0:o.map((e=>{var t;return Object.assign(Object.assign({},e),{color:null!==(t=le.get(e.dataKey))&&void 0!==t?t:a$j.Gray})})),active:e,label:a}):React$1.createElement(c$k,{active:e,payload:o,label:a,valueFormatter:D,categoryColors:le}):React$1.createElement(React$1.Fragment,null),position:{y:0}}),X?React$1.createElement(Legend,{verticalAlign:"top",height:ee,content:({payload:e})=>o$i({payload:e},le,te,re,se?e=>ce(e):void 0)}):null,K.map((e=>{var o;return React$1.createElement(Line,{className:t$e(c$l(null!==(o=le.get(e))&&void 0!==o?o:a$j.Gray,e$4.text).strokeColor),strokeOpacity:oe||re&&re!==e?.3:1,activeDot:e=>{var o;const{cx:a,cy:r,stroke:n,strokeLinecap:l,strokeLinejoin:i,strokeWidth:s,dataKey:c}=e;return React$1.createElement(Dot,{className:t$e("stroke-tremor-background dark:stroke-dark-tremor-background",U?"cursor-pointer":"",c$l(null!==(o=le.get(c))&&void 0!==o?o:a$j.Gray,e$4.text).fillColor),cx:a,cy:r,r:5,fill:"",stroke:n,strokeLinecap:l,strokeLinejoin:i,strokeWidth:s,onClick:(t,o)=>function(e,t){t.stopPropagation(),se&&(e.index===(null==oe?void 0:oe.index)&&e.dataKey===(null==oe?void 0:oe.dataKey)||o$g(N,e.dataKey)&&re&&re===e.dataKey?(ne(void 0),ae(void 0),null==U||U(null)):(ne(e.dataKey),ae({index:e.index,dataKey:e.dataKey}),null==U||U(Object.assign({eventType:"dot",categoryClicked:e.dataKey},e.payload))));}(e,o)})},dot:o=>{var r;const{stroke:n,strokeLinecap:l,strokeLinejoin:i,strokeWidth:s,cx:c,cy:d,dataKey:m,index:k}=o;return o$g(N,e)&&!(oe||re&&re!==e)||(null==oe?void 0:oe.index)===k&&(null==oe?void 0:oe.dataKey)===e?React$1.createElement(Dot,{key:k,cx:c,cy:d,r:5,stroke:n,fill:"",strokeLinecap:l,strokeLinejoin:i,strokeWidth:s,className:t$e("stroke-tremor-background dark:stroke-dark-tremor-background",U?"cursor-pointer":"",c$l(null!==(r=le.get(m))&&void 0!==r?r:a$j.Gray,e$4.text).fillColor)}):React$1.createElement(React$1.Fragment,{key:k})},key:e,name:e,type:z,dataKey:e,stroke:"",strokeWidth:2,strokeLinejoin:"round",strokeLinecap:"round",isAnimationActive:P,animationDuration:M,connectNulls:H})})),U?K.map((e=>React$1.createElement(Line,{className:t$e("cursor-pointer"),strokeOpacity:0,key:e,name:e,type:z,dataKey:e,stroke:"transparent",fill:"transparent",legendType:"none",tooltipType:"none",strokeWidth:12,connectNulls:H,onClick:(e,t)=>{t.stopPropagation();const{name:o}=e;ce(o);}}))):null):React$1.createElement(a$g,{noDataText:J})))}));T$3.displayName="LineChart";
62958
+ const T$4=React$1.forwardRef(((T,j)=>{const{data:N=[],categories:K=[],index:C,colors:A=a$i,valueFormatter:D=o$j,startEndOnly:W=!1,showXAxis:O=!0,showYAxis:V=!0,yAxisWidth:G=56,intervalType:F="equidistantPreserveStart",animationDuration:M=900,showAnimation:P=!1,showTooltip:S=!0,showLegend:X=!0,showGridLines:Y=!0,autoMinValue:q=!1,curveType:z="linear",minValue:R,maxValue:B,connectNulls:H=!1,allowDecimals:I=!0,noDataText:J,className:Q,onValueChange:U,customTooltip:Z}=T,$=__rest$2(T,["data","categories","index","colors","valueFormatter","startEndOnly","showXAxis","showYAxis","yAxisWidth","intervalType","animationDuration","showAnimation","showTooltip","showLegend","showGridLines","autoMinValue","curveType","minValue","maxValue","connectNulls","allowDecimals","noDataText","className","onValueChange","customTooltip"]),_=Z,[ee,te]=React$1.useState(60),[oe,ae]=React$1.useState(void 0),[re,ne]=React$1.useState(void 0),le=t$c(K,A),ie=n$g(q,R,B),se=!!U;function ce(e){se&&(e===re&&!oe||o$g(N,e)&&oe&&oe.dataKey===e?(ne(void 0),null==U||U(null)):(ne(e),null==U||U({eventType:"category",categoryClicked:e})),ae(void 0));}return React$1.createElement("div",Object.assign({ref:j,className:t$e("w-full h-80",Q)},$),React$1.createElement(ResponsiveContainer,{className:"h-full w-full"},(null==N?void 0:N.length)?React$1.createElement(LineChart,{data:N,onClick:se&&(re||oe)?()=>{ae(void 0),ne(void 0),null==U||U(null);}:void 0},Y?React$1.createElement(CartesianGrid,{className:t$e("stroke-1","stroke-tremor-border","dark:stroke-dark-tremor-border"),horizontal:!0,vertical:!1}):null,React$1.createElement(XAxis,{padding:{left:20,right:20},hide:!O,dataKey:C,interval:W?"preserveStartEnd":F,tick:{transform:"translate(0, 6)"},ticks:W?[N[0][C],N[N.length-1][C]]:void 0,fill:"",stroke:"",className:t$e("text-tremor-label","fill-tremor-content","dark:fill-dark-tremor-content"),tickLine:!1,axisLine:!1,minTickGap:5}),React$1.createElement(YAxis,{width:G,hide:!V,axisLine:!1,tickLine:!1,type:"number",domain:ie,tick:{transform:"translate(-3, 0)"},fill:"",stroke:"",className:t$e("text-tremor-label","fill-tremor-content","dark:fill-dark-tremor-content"),tickFormatter:D,allowDecimals:I}),React$1.createElement(Tooltip,{wrapperStyle:{outline:"none"},isAnimationActive:!1,cursor:{stroke:"#d1d5db",strokeWidth:1},content:S?({active:e,payload:o,label:a})=>_?React$1.createElement(_,{payload:null==o?void 0:o.map((e=>{var t;return Object.assign(Object.assign({},e),{color:null!==(t=le.get(e.dataKey))&&void 0!==t?t:a$j.Gray})})),active:e,label:a}):React$1.createElement(c$k,{active:e,payload:o,label:a,valueFormatter:D,categoryColors:le}):React$1.createElement(React$1.Fragment,null),position:{y:0}}),X?React$1.createElement(Legend,{verticalAlign:"top",height:ee,content:({payload:e})=>o$i({payload:e},le,te,re,se?e=>ce(e):void 0)}):null,K.map((e=>{var o;return React$1.createElement(Line,{className:t$e(c$l(null!==(o=le.get(e))&&void 0!==o?o:a$j.Gray,e$4.text).strokeColor),strokeOpacity:oe||re&&re!==e?.3:1,activeDot:e=>{var o;const{cx:a,cy:r,stroke:n,strokeLinecap:l,strokeLinejoin:i,strokeWidth:s,dataKey:c}=e;return React$1.createElement(Dot,{className:t$e("stroke-tremor-background dark:stroke-dark-tremor-background",U?"cursor-pointer":"",c$l(null!==(o=le.get(c))&&void 0!==o?o:a$j.Gray,e$4.text).fillColor),cx:a,cy:r,r:5,fill:"",stroke:n,strokeLinecap:l,strokeLinejoin:i,strokeWidth:s,onClick:(t,o)=>function(e,t){t.stopPropagation(),se&&(e.index===(null==oe?void 0:oe.index)&&e.dataKey===(null==oe?void 0:oe.dataKey)||o$g(N,e.dataKey)&&re&&re===e.dataKey?(ne(void 0),ae(void 0),null==U||U(null)):(ne(e.dataKey),ae({index:e.index,dataKey:e.dataKey}),null==U||U(Object.assign({eventType:"dot",categoryClicked:e.dataKey},e.payload))));}(e,o)})},dot:o=>{var r;const{stroke:n,strokeLinecap:l,strokeLinejoin:i,strokeWidth:s,cx:c,cy:d,dataKey:m,index:k}=o;return o$g(N,e)&&!(oe||re&&re!==e)||(null==oe?void 0:oe.index)===k&&(null==oe?void 0:oe.dataKey)===e?React$1.createElement(Dot,{key:k,cx:c,cy:d,r:5,stroke:n,fill:"",strokeLinecap:l,strokeLinejoin:i,strokeWidth:s,className:t$e("stroke-tremor-background dark:stroke-dark-tremor-background",U?"cursor-pointer":"",c$l(null!==(r=le.get(m))&&void 0!==r?r:a$j.Gray,e$4.text).fillColor)}):React$1.createElement(React$1.Fragment,{key:k})},key:e,name:e,type:z,dataKey:e,stroke:"",strokeWidth:2,strokeLinejoin:"round",strokeLinecap:"round",isAnimationActive:P,animationDuration:M,connectNulls:H})})),U?K.map((e=>React$1.createElement(Line,{className:t$e("cursor-pointer"),strokeOpacity:0,key:e,name:e,type:z,dataKey:e,stroke:"transparent",fill:"transparent",legendType:"none",tooltipType:"none",strokeWidth:12,connectNulls:H,onClick:(e,t)=>{t.stopPropagation();const{name:o}=e;ce(o);}}))):null):React$1.createElement(a$g,{noDataText:J})))}));T$4.displayName="LineChart";
62959
62959
 
62960
62960
  const n$f=({children:r})=>React$1.createElement("div",{className:t$e("rounded-tremor-default text-tremor-default","bg-tremor-background shadow-tremor-dropdown border-tremor-border","dark:bg-dark-tremor-background dark:shadow-dark-tremor-dropdown dark:border-dark-tremor-border",r$m.sm.all)},r),i$j=({value:r,name:t})=>React$1.createElement("div",{className:"flex items-center justify-between space-x-8"},React$1.createElement("div",{className:"flex items-center space-x-2"},React$1.createElement("p",{className:t$e("text-right whitespace-nowrap","text-tremor-content","dark:text-dark-tremor-content")},t)),React$1.createElement("p",{className:t$e("font-medium tabular-nums text-right whitespace-nowrap","text-tremor-content-emphasis","dark:text-dark-tremor-content-emphasis")},r)),c$j=({label:c,active:p,payload:u,valueFormatter:b,axis:k,category:g,categoryColors:f})=>{var h,v;return p&&u?React$1.createElement(n$f,null,React$1.createElement("div",{className:t$e("flex items-center space-x-2","border-tremor-border","dark:border-dark-tremor-border",t$g.twoXl.paddingX,t$g.sm.paddingY,r$m.sm.bottom)},React$1.createElement("span",{className:t$e("shrink-0 rounded-tremor-full","border-tremor-background shadow-tremor-card","dark:border-dark-tremor-background dark:shadow-dark-tremor-card",c$l(g&&null!==(v=f.get(null===(h=null==u?void 0:u[0])||void 0===h?void 0:h.payload[g]))&&void 0!==v?v:a$j.Blue,e$4.background).bgColor,h$7.sm.height,h$7.sm.width,r$m.md.all)}),React$1.createElement("p",{className:t$e("font-medium","text-tremor-content-emphasis","dark:text-dark-tremor-content-emphasis")},c)),React$1.createElement("div",{className:t$e(t$g.twoXl.paddingX,t$g.sm.paddingY,"space-y-1")},u.map((({value:r,name:t},a)=>{var o,m;const d=null!==(o=Object.keys(k).find((e=>k[e]===t)))&&void 0!==o?o:"",l=null!==(m=b[d])&&void 0!==m?m:o$j;return React$1.createElement(i$j,{key:`id-${a}`,value:b&&l?l(r):`${r}`,name:t})})))):null};
62961
62961
 
62962
- const A$2=React$1.forwardRef(((A,C)=>{const{data:j=[],x:D,y:O,size:N,category:L,colors:X=a$i,showOpacity:Y=!1,sizeRange:z=[1,1e3],valueFormatter:S={x:o$j,y:o$j,size:o$j},startEndOnly:F=!1,showXAxis:G=!0,showYAxis:M=!0,yAxisWidth:K=56,intervalType:R="equidistantPreserveStart",animationDuration:W=900,showAnimation:P=!1,showTooltip:q=!0,showLegend:$=!0,showGridLines:B=!0,autoMinXValue:H=!1,minXValue:I,maxXValue:J,autoMinYValue:Q=!1,minYValue:U,maxYValue:Z,allowDecimals:_=!0,noDataText:ee,onValueChange:te,customTooltip:ae,className:oe}=A,le=__rest$2(A,["data","x","y","size","category","colors","showOpacity","sizeRange","valueFormatter","startEndOnly","showXAxis","showYAxis","yAxisWidth","intervalType","animationDuration","showAnimation","showTooltip","showLegend","showGridLines","autoMinXValue","minXValue","maxXValue","autoMinYValue","minYValue","maxYValue","allowDecimals","noDataText","onValueChange","customTooltip","className"]),re=ae,[ie,ne]=React$1.useState(60),[se,me]=React$1.useState(void 0),[ce,de]=React$1.useState(void 0),ue=!!te;function ve(e,t,a){a.stopPropagation(),ue&&(e$3(se,e.node)?(de(void 0),me(void 0),null==te||te(null)):(me(e.node),de(e.payload[L]),null==te||te(Object.assign({eventType:"bubble",categoryClicked:e.payload[L]},e.payload))));}const pe=r$l(j,L),ye=t$c(pe,X),he=n$g(H,I,J),fe=n$g(Q,U,Z);return React$1.createElement("div",Object.assign({ref:C,className:t$e("w-full h-80",oe)},le),React$1.createElement(ResponsiveContainer,{className:"h-full w-full"},(null==j?void 0:j.length)?React$1.createElement(ScatterChart,{onClick:ue&&(ce||se)?()=>{me(void 0),de(void 0),null==te||te(null);}:void 0,margin:{left:20,right:20}},B?React$1.createElement(CartesianGrid,{className:t$e("stroke-1","stroke-tremor-border","dark:stroke-dark-tremor-border"),horizontal:!0,vertical:!0}):null,D?React$1.createElement(XAxis,{hide:!G,dataKey:D,interval:F?"preserveStartEnd":R,tick:{transform:"translate(0, 6)"},ticks:F?[j[0][D],j[j.length-1][D]]:void 0,type:"number",name:D,fill:"",stroke:"",className:t$e("text-tremor-label","fill-tremor-content","dark:fill-dark-tremor-content"),tickLine:!1,tickFormatter:S.x,axisLine:!1,minTickGap:5,domain:he,allowDataOverflow:!0}):null,O?React$1.createElement(YAxis,{width:K,hide:!M,axisLine:!1,tickLine:!1,dataKey:O,type:"number",name:O,domain:fe,tick:{transform:"translate(-3, 0)"},tickFormatter:S.y,fill:"",stroke:"",className:t$e("text-tremor-label","fill-tremor-content","dark:fill-dark-tremor-content"),allowDecimals:_,allowDataOverflow:!0}):null,React$1.createElement(Tooltip,{wrapperStyle:{outline:"none"},isAnimationActive:!1,cursor:{stroke:"#d1d5db",strokeWidth:1},content:q?({active:e,payload:a,label:o})=>{var l,r,i,n;return re?React$1.createElement(re,{payload:null==a?void 0:a.map((e=>{var t,l,r;return Object.assign(Object.assign({},e),{color:null!==(r=ye.get(L?null===(l=null===(t=null==a?void 0:a[0])||void 0===t?void 0:t.payload)||void 0===l?void 0:l[L]:o))&&void 0!==r?r:a$j.Gray})})),active:e,label:L?null===(r=null===(l=null==a?void 0:a[0])||void 0===l?void 0:l.payload)||void 0===r?void 0:r[L]:o}):React$1.createElement(c$j,{active:e,payload:a,label:L?null===(n=null===(i=null==a?void 0:a[0])||void 0===i?void 0:i.payload)||void 0===n?void 0:n[L]:o,valueFormatter:S,axis:{x:D,y:O,size:N},category:L,categoryColors:ye})}:React$1.createElement(React$1.Fragment,null)}),N?React$1.createElement(ZAxis,{dataKey:N,type:"number",range:z,name:N}):null,pe.map((e=>{var a,o;return React$1.createElement(Scatter,{className:t$e(c$l(null!==(a=ye.get(e))&&void 0!==a?a:a$j.Gray,e$4.text).fillColor,Y?c$l(null!==(o=ye.get(e))&&void 0!==o?o:a$j.Gray,e$4.text).strokeColor:"",te?"cursor-pointer":""),fill:`url(#${ye.get(e)})`,fillOpacity:Y?.7:1,key:e,name:e,data:L?j.filter((t=>t[L]===e)):j,isAnimationActive:P,animationDuration:W,shape:e=>((e,a,o)=>{const{cx:l,cy:r,width:i,node:n,fillOpacity:s,name:m}=e;return React$1.createElement(Dot,{cx:l,cy:r,r:i/2,opacity:a||o&&o!==m?e$3(a,n)?s:.3:s})})(e,se,ce),onClick:ve})})),$?React$1.createElement(Legend,{verticalAlign:"top",height:ie,content:({payload:e})=>o$i({payload:e},ye,ne,ce,ue?e=>{return t=e,void(ue&&(t!==ce||se?(de(t),null==te||te({eventType:"category",categoryClicked:t})):(de(void 0),null==te||te(null)),me(void 0)));var t;}:void 0)}):null):React$1.createElement(a$g,{noDataText:ee})))}));A$2.displayName="ScatterChart";
62962
+ const A$3=React$1.forwardRef(((A,C)=>{const{data:j=[],x:D,y:O,size:N,category:L,colors:X=a$i,showOpacity:Y=!1,sizeRange:z=[1,1e3],valueFormatter:S={x:o$j,y:o$j,size:o$j},startEndOnly:F=!1,showXAxis:G=!0,showYAxis:M=!0,yAxisWidth:K=56,intervalType:R="equidistantPreserveStart",animationDuration:W=900,showAnimation:P=!1,showTooltip:q=!0,showLegend:$=!0,showGridLines:B=!0,autoMinXValue:H=!1,minXValue:I,maxXValue:J,autoMinYValue:Q=!1,minYValue:U,maxYValue:Z,allowDecimals:_=!0,noDataText:ee,onValueChange:te,customTooltip:ae,className:oe}=A,le=__rest$2(A,["data","x","y","size","category","colors","showOpacity","sizeRange","valueFormatter","startEndOnly","showXAxis","showYAxis","yAxisWidth","intervalType","animationDuration","showAnimation","showTooltip","showLegend","showGridLines","autoMinXValue","minXValue","maxXValue","autoMinYValue","minYValue","maxYValue","allowDecimals","noDataText","onValueChange","customTooltip","className"]),re=ae,[ie,ne]=React$1.useState(60),[se,me]=React$1.useState(void 0),[ce,de]=React$1.useState(void 0),ue=!!te;function ve(e,t,a){a.stopPropagation(),ue&&(e$3(se,e.node)?(de(void 0),me(void 0),null==te||te(null)):(me(e.node),de(e.payload[L]),null==te||te(Object.assign({eventType:"bubble",categoryClicked:e.payload[L]},e.payload))));}const pe=r$l(j,L),ye=t$c(pe,X),he=n$g(H,I,J),fe=n$g(Q,U,Z);return React$1.createElement("div",Object.assign({ref:C,className:t$e("w-full h-80",oe)},le),React$1.createElement(ResponsiveContainer,{className:"h-full w-full"},(null==j?void 0:j.length)?React$1.createElement(ScatterChart,{onClick:ue&&(ce||se)?()=>{me(void 0),de(void 0),null==te||te(null);}:void 0,margin:{left:20,right:20}},B?React$1.createElement(CartesianGrid,{className:t$e("stroke-1","stroke-tremor-border","dark:stroke-dark-tremor-border"),horizontal:!0,vertical:!0}):null,D?React$1.createElement(XAxis,{hide:!G,dataKey:D,interval:F?"preserveStartEnd":R,tick:{transform:"translate(0, 6)"},ticks:F?[j[0][D],j[j.length-1][D]]:void 0,type:"number",name:D,fill:"",stroke:"",className:t$e("text-tremor-label","fill-tremor-content","dark:fill-dark-tremor-content"),tickLine:!1,tickFormatter:S.x,axisLine:!1,minTickGap:5,domain:he,allowDataOverflow:!0}):null,O?React$1.createElement(YAxis,{width:K,hide:!M,axisLine:!1,tickLine:!1,dataKey:O,type:"number",name:O,domain:fe,tick:{transform:"translate(-3, 0)"},tickFormatter:S.y,fill:"",stroke:"",className:t$e("text-tremor-label","fill-tremor-content","dark:fill-dark-tremor-content"),allowDecimals:_,allowDataOverflow:!0}):null,React$1.createElement(Tooltip,{wrapperStyle:{outline:"none"},isAnimationActive:!1,cursor:{stroke:"#d1d5db",strokeWidth:1},content:q?({active:e,payload:a,label:o})=>{var l,r,i,n;return re?React$1.createElement(re,{payload:null==a?void 0:a.map((e=>{var t,l,r;return Object.assign(Object.assign({},e),{color:null!==(r=ye.get(L?null===(l=null===(t=null==a?void 0:a[0])||void 0===t?void 0:t.payload)||void 0===l?void 0:l[L]:o))&&void 0!==r?r:a$j.Gray})})),active:e,label:L?null===(r=null===(l=null==a?void 0:a[0])||void 0===l?void 0:l.payload)||void 0===r?void 0:r[L]:o}):React$1.createElement(c$j,{active:e,payload:a,label:L?null===(n=null===(i=null==a?void 0:a[0])||void 0===i?void 0:i.payload)||void 0===n?void 0:n[L]:o,valueFormatter:S,axis:{x:D,y:O,size:N},category:L,categoryColors:ye})}:React$1.createElement(React$1.Fragment,null)}),N?React$1.createElement(ZAxis,{dataKey:N,type:"number",range:z,name:N}):null,pe.map((e=>{var a,o;return React$1.createElement(Scatter,{className:t$e(c$l(null!==(a=ye.get(e))&&void 0!==a?a:a$j.Gray,e$4.text).fillColor,Y?c$l(null!==(o=ye.get(e))&&void 0!==o?o:a$j.Gray,e$4.text).strokeColor:"",te?"cursor-pointer":""),fill:`url(#${ye.get(e)})`,fillOpacity:Y?.7:1,key:e,name:e,data:L?j.filter((t=>t[L]===e)):j,isAnimationActive:P,animationDuration:W,shape:e=>((e,a,o)=>{const{cx:l,cy:r,width:i,node:n,fillOpacity:s,name:m}=e;return React$1.createElement(Dot,{cx:l,cy:r,r:i/2,opacity:a||o&&o!==m?e$3(a,n)?s:.3:s})})(e,se,ce),onClick:ve})})),$?React$1.createElement(Legend,{verticalAlign:"top",height:ie,content:({payload:e})=>o$i({payload:e},ye,ne,ce,ue?e=>{return t=e,void(ue&&(t!==ce||se?(de(t),null==te||te({eventType:"category",categoryClicked:t})):(de(void 0),null==te||te(null)),me(void 0)));var t;}:void 0)}):null):React$1.createElement(a$g,{noDataText:ee})))}));A$3.displayName="ScatterChart";
62963
62963
 
62964
62964
  var index$1 = typeof document !== 'undefined' ? React$1.useLayoutEffect : React$1.useEffect;
62965
62965
 
@@ -64199,13 +64199,13 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
64199
64199
  }), [getReferenceProps, getFloatingProps, getItemProps]);
64200
64200
  };
64201
64201
 
64202
- const f$c=m=>{const[g,d]=React$1.useState(!1),[f,u]=React$1.useState(),{x:x,y:b,refs:y,strategy:w,context:P}=useFloating({open:g,onOpenChange:e=>{if(e&&m){const t=setTimeout((()=>{d(e);}),m);u(t);}else clearTimeout(f),d(e);},placement:"top",whileElementsMounted:autoUpdate,middleware:[offset(5),flip$1({fallbackAxisSideDirection:"start"}),shift()]}),h=useHover(P,{move:!1}),k=useFocus(P),F=useDismiss(P),T=useRole(P,{role:"tooltip"}),{getReferenceProps:j,getFloatingProps:v}=useInteractions([h,k,F,T]);return {tooltipProps:{open:g,x:x,y:b,refs:y,strategy:w,getFloatingProps:v},getReferenceProps:j}},u$9=({text:e,open:t,x:o,y:r,refs:s,strategy:a,getFloatingProps:i})=>t&&e?React$1.createElement("div",Object.assign({className:t$e("max-w-xs text-sm z-20 rounded-tremor-default","text-white bg-tremor-background-emphasis","text-white dark:bg-dark-tremor-background-subtle",t$g.md.paddingX,t$g.twoXs.paddingY),ref:s.setFloating,style:{position:a,top:null!=r?r:0,left:null!=o?o:0}},i()),e):null;u$9.displayName="Tooltip";
64202
+ const f$c=m=>{const[g,d]=React$1.useState(!1),[f,u]=React$1.useState(),{x:x,y:b,refs:y,strategy:w,context:P}=useFloating({open:g,onOpenChange:e=>{if(e&&m){const t=setTimeout((()=>{d(e);}),m);u(t);}else clearTimeout(f),d(e);},placement:"top",whileElementsMounted:autoUpdate,middleware:[offset(5),flip$1({fallbackAxisSideDirection:"start"}),shift()]}),h=useHover(P,{move:!1}),k=useFocus(P),F=useDismiss(P),T=useRole(P,{role:"tooltip"}),{getReferenceProps:j,getFloatingProps:v}=useInteractions([h,k,F,T]);return {tooltipProps:{open:g,x:x,y:b,refs:y,strategy:w,getFloatingProps:v},getReferenceProps:j}},u$8=({text:e,open:t,x:o,y:r,refs:s,strategy:a,getFloatingProps:i})=>t&&e?React$1.createElement("div",Object.assign({className:t$e("max-w-xs text-sm z-20 rounded-tremor-default","text-white bg-tremor-background-emphasis","text-white dark:bg-dark-tremor-background-subtle",t$g.md.paddingX,t$g.twoXs.paddingY),ref:s.setFloating,style:{position:a,top:null!=r?r:0,left:null!=o?o:0}},i()),e):null;u$8.displayName="Tooltip";
64203
64203
 
64204
64204
  const t$b={xs:"text-xs",sm:"text-sm",md:"text-base",lg:"text-lg",xl:"text-xl",threeXl:"text-3xl"};
64205
64205
 
64206
64206
  const t$a={xs:{paddingX:t$g.sm.paddingX,paddingY:t$g.threeXs.paddingY,fontSize:t$b.xs},sm:{paddingX:t$g.md.paddingX,paddingY:t$g.threeXs.paddingY,fontSize:t$b.sm},md:{paddingX:t$g.lg.paddingX,paddingY:t$g.threeXs.paddingY,fontSize:t$b.md},lg:{paddingX:t$g.xl.paddingX,paddingY:t$g.threeXs.paddingY,fontSize:t$b.lg},xl:{paddingX:t$g.twoXl.paddingX,paddingY:t$g.twoXs.paddingY,fontSize:t$b.xl}},h$6={xs:{height:h$7.md.height,width:h$7.md.width},sm:{height:h$7.md.height,width:h$7.md.width},md:{height:h$7.md.height,width:h$7.md.width},lg:{height:h$7.lg.height,width:h$7.lg.width},xl:{height:h$7.xl.height,width:h$7.xl.width}};
64207
64207
 
64208
- const f$b=$$1("Badge"),g$c=React$1.forwardRef(((n,g)=>{const{color:b,icon:u,size:h=r$o.SM,tooltip:x,className:j,children:k}=n,w=__rest$2(n,["color","icon","size","tooltip","className","children"]),N=u||null,{tooltipProps:y,getReferenceProps:E}=f$c();return React$1.createElement("span",Object.assign({ref:n$i([g,y.refs.setReference]),className:t$e(f$b("root"),"w-max flex-shrink-0 inline-flex justify-center items-center cursor-default rounded-tremor-full",b?t$e(c$l(b,e$4.background).bgColor,c$l(b,e$4.text).textColor,"bg-opacity-20 dark:bg-opacity-25"):t$e("bg-tremor-brand-muted text-tremor-brand-emphasis","dark:bg-dark-tremor-brand-muted dark:text-dark-tremor-brand-emphasis"),t$a[h].paddingX,t$a[h].paddingY,t$a[h].fontSize,j)},E,w),React$1.createElement(u$9,Object.assign({text:x},y)),N?React$1.createElement(N,{className:t$e(f$b("icon"),"shrink-0",t$g.twoXs.negativeMarginLeft,t$g.xs.marginRight,h$6[h].height,h$6[h].width)}):null,React$1.createElement("p",{className:t$e(f$b("text"),"text-sm whitespace-nowrap")},k))}));g$c.displayName="Badge";
64208
+ const f$b=$$2("Badge"),g$c=React$1.forwardRef(((n,g)=>{const{color:b,icon:u,size:h=r$o.SM,tooltip:x,className:j,children:k}=n,w=__rest$2(n,["color","icon","size","tooltip","className","children"]),N=u||null,{tooltipProps:y,getReferenceProps:E}=f$c();return React$1.createElement("span",Object.assign({ref:n$i([g,y.refs.setReference]),className:t$e(f$b("root"),"w-max flex-shrink-0 inline-flex justify-center items-center cursor-default rounded-tremor-full",b?t$e(c$l(b,e$4.background).bgColor,c$l(b,e$4.text).textColor,"bg-opacity-20 dark:bg-opacity-25"):t$e("bg-tremor-brand-muted text-tremor-brand-emphasis","dark:bg-dark-tremor-brand-muted dark:text-dark-tremor-brand-emphasis"),t$a[h].paddingX,t$a[h].paddingY,t$a[h].fontSize,j)},E,w),React$1.createElement(u$8,Object.assign({text:x},y)),N?React$1.createElement(N,{className:t$e(f$b("icon"),"shrink-0",t$g.twoXs.negativeMarginLeft,t$g.xs.marginRight,h$6[h].height,h$6[h].width)}):null,React$1.createElement("p",{className:t$e(f$b("text"),"text-sm whitespace-nowrap")},k))}));g$c.displayName="Badge";
64209
64209
 
64210
64210
  const r$k=r=>{var l=__rest$2(r,[]);return React$1.createElement("svg",Object.assign({},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"}),React$1.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),React$1.createElement("path",{fill:"currentColor",d:"M13 16.172l5.364-5.364 1.414 1.414L12 20l-7.778-7.778 1.414-1.414L11 16.172V4h2v12.172z"}))};
64211
64211
 
@@ -64217,13 +64217,13 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
64217
64217
 
64218
64218
  const r$g=r=>{var l=__rest$2(r,[]);return React$1.createElement("svg",Object.assign({},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"}),React$1.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),React$1.createElement("path",{fill:"currentColor",d:"M16.004 9.414l-8.607 8.607-1.414-1.414L14.589 8H7.004V6h11v11h-2V9.414z"}))};
64219
64219
 
64220
- const m$b={xs:{paddingX:t$g.sm.paddingX,paddingY:t$g.threeXs.paddingY,fontSize:t$b.xs},sm:{paddingX:t$g.md.paddingX,paddingY:t$g.twoXs.paddingY,fontSize:t$b.sm},md:{paddingX:t$g.lg.paddingX,paddingY:t$g.xs.paddingY,fontSize:t$b.md},lg:{paddingX:t$g.xl.paddingX,paddingY:t$g.xs.paddingY,fontSize:t$b.lg},xl:{paddingX:t$g.xl.paddingX,paddingY:t$g.xs.paddingY,fontSize:t$b.xl}},h$5={xs:{paddingX:t$g.sm.paddingX,paddingY:t$g.threeXs.paddingY,fontSize:t$b.xs},sm:{paddingX:t$g.md.paddingX,paddingY:t$g.threeXs.paddingY,fontSize:t$b.sm},md:{paddingX:t$g.lg.paddingX,paddingY:t$g.threeXs.paddingY,fontSize:t$b.md},lg:{paddingX:t$g.xl.paddingX,paddingY:t$g.threeXs.paddingY,fontSize:t$b.lg},xl:{paddingX:t$g.twoXl.paddingX,paddingY:t$g.twoXs.paddingY,fontSize:t$b.xl}},x$3={xs:{height:h$7.md.height,width:h$7.md.width},sm:{height:h$7.md.height,width:h$7.md.width},md:{height:h$7.md.height,width:h$7.md.width},lg:{height:h$7.lg.height,width:h$7.lg.width},xl:{height:h$7.xl.height,width:h$7.xl.width}},X$3={[e$5.Increase]:{bgColor:c$l(a$j.Emerald,e$4.background).bgColor,textColor:c$l(a$j.Emerald,e$4.text).textColor},[e$5.ModerateIncrease]:{bgColor:c$l(a$j.Emerald,e$4.background).bgColor,textColor:c$l(a$j.Emerald,e$4.text).textColor},[e$5.Decrease]:{bgColor:c$l(a$j.Rose,e$4.background).bgColor,textColor:c$l(a$j.Rose,e$4.text).textColor},[e$5.ModerateDecrease]:{bgColor:c$l(a$j.Rose,e$4.background).bgColor,textColor:c$l(a$j.Rose,e$4.text).textColor},[e$5.Unchanged]:{bgColor:c$l(a$j.Orange,e$4.background).bgColor,textColor:c$l(a$j.Orange,e$4.text).textColor}},c$i={[e$5.Increase]:r$h,[e$5.ModerateIncrease]:r$g,[e$5.Decrease]:r$k,[e$5.ModerateDecrease]:r$j,[e$5.Unchanged]:r$i};
64220
+ const m$b={xs:{paddingX:t$g.sm.paddingX,paddingY:t$g.threeXs.paddingY,fontSize:t$b.xs},sm:{paddingX:t$g.md.paddingX,paddingY:t$g.twoXs.paddingY,fontSize:t$b.sm},md:{paddingX:t$g.lg.paddingX,paddingY:t$g.xs.paddingY,fontSize:t$b.md},lg:{paddingX:t$g.xl.paddingX,paddingY:t$g.xs.paddingY,fontSize:t$b.lg},xl:{paddingX:t$g.xl.paddingX,paddingY:t$g.xs.paddingY,fontSize:t$b.xl}},h$5={xs:{paddingX:t$g.sm.paddingX,paddingY:t$g.threeXs.paddingY,fontSize:t$b.xs},sm:{paddingX:t$g.md.paddingX,paddingY:t$g.threeXs.paddingY,fontSize:t$b.sm},md:{paddingX:t$g.lg.paddingX,paddingY:t$g.threeXs.paddingY,fontSize:t$b.md},lg:{paddingX:t$g.xl.paddingX,paddingY:t$g.threeXs.paddingY,fontSize:t$b.lg},xl:{paddingX:t$g.twoXl.paddingX,paddingY:t$g.twoXs.paddingY,fontSize:t$b.xl}},x$4={xs:{height:h$7.md.height,width:h$7.md.width},sm:{height:h$7.md.height,width:h$7.md.width},md:{height:h$7.md.height,width:h$7.md.width},lg:{height:h$7.lg.height,width:h$7.lg.width},xl:{height:h$7.xl.height,width:h$7.xl.width}},X$3={[e$5.Increase]:{bgColor:c$l(a$j.Emerald,e$4.background).bgColor,textColor:c$l(a$j.Emerald,e$4.text).textColor},[e$5.ModerateIncrease]:{bgColor:c$l(a$j.Emerald,e$4.background).bgColor,textColor:c$l(a$j.Emerald,e$4.text).textColor},[e$5.Decrease]:{bgColor:c$l(a$j.Rose,e$4.background).bgColor,textColor:c$l(a$j.Rose,e$4.text).textColor},[e$5.ModerateDecrease]:{bgColor:c$l(a$j.Rose,e$4.background).bgColor,textColor:c$l(a$j.Rose,e$4.text).textColor},[e$5.Unchanged]:{bgColor:c$l(a$j.Orange,e$4.background).bgColor,textColor:c$l(a$j.Orange,e$4.text).textColor}},c$i={[e$5.Increase]:r$h,[e$5.ModerateIncrease]:r$g,[e$5.Decrease]:r$k,[e$5.ModerateDecrease]:r$j,[e$5.Unchanged]:r$i};
64221
64221
 
64222
- const u$8=$$1("BadgeDelta"),h$4=React$1.forwardRef(((n,h)=>{const{deltaType:j=e$5.Increase,isIncreasePositive:x=!0,size:w=r$o.SM,tooltip:y,children:N,className:T}=n,E=__rest$2(n,["deltaType","isIncreasePositive","size","tooltip","children","className"]),P=c$i[j],R=r$n(j,x),k=N?h$5:m$b,{tooltipProps:v,getReferenceProps:z}=f$c();return React$1.createElement("span",Object.assign({ref:n$i([h,v.refs.setReference]),className:t$e(u$8("root"),"w-max flex-shrink-0 inline-flex justify-center items-center cursor-default rounded-tremor-full bg-opacity-20 dark:bg-opacity-25",X$3[R].bgColor,X$3[R].textColor,k[w].paddingX,k[w].paddingY,k[w].fontSize,T)},z,E),React$1.createElement(u$9,Object.assign({text:y},v)),React$1.createElement(P,{className:t$e(u$8("icon"),"shrink-0",N?t$e(t$g.twoXs.negativeMarginLeft,t$g.xs.marginRight):x$3[w].height,x$3[w].width)}),N?React$1.createElement("p",{className:t$e(u$8("text"),"text-sm whitespace-nowrap")},N):null)}));h$4.displayName="BadgeDelta";
64222
+ const u$7=$$2("BadgeDelta"),h$4=React$1.forwardRef(((n,h)=>{const{deltaType:j=e$5.Increase,isIncreasePositive:x=!0,size:w=r$o.SM,tooltip:y,children:N,className:T}=n,E=__rest$2(n,["deltaType","isIncreasePositive","size","tooltip","children","className"]),P=c$i[j],R=r$n(j,x),k=N?h$5:m$b,{tooltipProps:v,getReferenceProps:z}=f$c();return React$1.createElement("span",Object.assign({ref:n$i([h,v.refs.setReference]),className:t$e(u$7("root"),"w-max flex-shrink-0 inline-flex justify-center items-center cursor-default rounded-tremor-full bg-opacity-20 dark:bg-opacity-25",X$3[R].bgColor,X$3[R].textColor,k[w].paddingX,k[w].paddingY,k[w].fontSize,T)},z,E),React$1.createElement(u$8,Object.assign({text:y},v)),React$1.createElement(P,{className:t$e(u$7("icon"),"shrink-0",N?t$e(t$g.twoXs.negativeMarginLeft,t$g.xs.marginRight):x$4[w].height,x$4[w].width)}),N?React$1.createElement("p",{className:t$e(u$7("text"),"text-sm whitespace-nowrap")},N):null)}));h$4.displayName="BadgeDelta";
64223
64223
 
64224
64224
  const i$i={xs:{paddingX:t$g.xs.paddingX,paddingY:t$g.xs.paddingY},sm:{paddingX:t$g.xs.paddingX,paddingY:t$g.xs.paddingY},md:{paddingX:t$g.sm.paddingX,paddingY:t$g.sm.paddingY},lg:{paddingX:t$g.sm.paddingX,paddingY:t$g.sm.paddingY},xl:{paddingX:t$g.md.paddingX,paddingY:t$g.md.paddingY}},n$e={xs:{height:h$7.sm.height,width:h$7.sm.width},sm:{height:h$7.lg.height,width:h$7.lg.width},md:{height:h$7.lg.height,width:h$7.lg.width},lg:{height:h$7.twoXl.height,width:h$7.twoXl.width},xl:{height:h$7.threeXl.height,width:h$7.threeXl.width}},g$b={simple:{rounded:"",border:"",ring:"",shadow:""},light:{rounded:"rounded-tremor-default",border:"",ring:"",shadow:""},shadow:{rounded:"rounded-tremor-default",border:r$m.sm.all,ring:"",shadow:"shadow-tremor-card dark:shadow-dark-tremor-card"},solid:{rounded:"rounded-tremor-default",border:r$m.md.all,ring:"ring-1",shadow:""},outlined:{rounded:"rounded-tremor-default",border:r$m.sm.all,ring:"ring-2",shadow:""}},b$7=(r,d)=>{switch(r){case"simple":return {textColor:d?c$l(d,e$4.text).textColor:"text-tremor-brand dark:text-dark-tremor-brand",bgColor:"",borderColor:"",ringColor:""};case"light":return {textColor:d?c$l(d,e$4.text).textColor:"text-tremor-brand dark:text-dark-tremor-brand",bgColor:d?t$e(c$l(d,e$4.background).bgColor,"bg-opacity-20"):"bg-tremor-brand-muted dark:bg-dark-tremor-brand-muted",borderColor:"",ringColor:""};case"shadow":return {textColor:d?c$l(d,e$4.text).textColor:"text-tremor-brand dark:text-dark-tremor-brand",bgColor:d?t$e(c$l(d,e$4.background).bgColor,"bg-opacity-20"):"bg-tremor-background dark:bg-dark-tremor-background",borderColor:"border-tremor-border dark:border-dark-tremor-border",ringColor:""};case"solid":return {textColor:d?c$l(d,e$4.text).textColor:"text-tremor-brand-inverted dark:text-dark-tremor-brand-inverted",bgColor:d?t$e(c$l(d,e$4.background).bgColor,"bg-opacity-20"):"bg-tremor-brand dark:bg-dark-tremor-brand",borderColor:"border-tremor-brand-inverted dark:border-dark-tremor-brand-inverted",ringColor:"ring-tremor-ring dark:ring-dark-tremor-ring"};case"outlined":return {textColor:d?c$l(d,e$4.text).textColor:"text-tremor-brand dark:text-dark-tremor-brand",bgColor:d?t$e(c$l(d,e$4.background).bgColor,"bg-opacity-20"):"bg-tremor-background dark:bg-dark-tremor-background",borderColor:d?c$l(d,e$4.ring).borderColor:"border-tremor-brand-subtle dark:border-dark-tremor-brand-subtle",ringColor:d?t$e(c$l(d,e$4.ring).ringColor,"ring-opacity-40"):"ring-tremor-brand-muted dark:ring-dark-tremor-brand-muted"}}};
64225
64225
 
64226
- const d$j=$$1("Icon"),f$a={Simple:"simple",Light:"light",Shadow:"shadow",Solid:"solid",Outlined:"outlined"},g$a=React$1.forwardRef(((i,g)=>{const{icon:h,variant:b=f$a.Simple,tooltip:j,size:u=r$o.SM,color:w,className:x}=i,N=__rest$2(i,["icon","variant","tooltip","size","color","className"]),S=h,C=b$7(b,w),{tooltipProps:E,getReferenceProps:O}=f$c();return React$1.createElement("span",Object.assign({ref:n$i([g,E.refs.setReference]),className:t$e(d$j("root"),"inline-flex flex-shrink-0 items-center",C.bgColor,C.textColor,C.borderColor,C.ringColor,g$b[b].rounded,g$b[b].border,g$b[b].shadow,g$b[b].ring,i$i[u].paddingX,i$i[u].paddingY,x)},O,N),React$1.createElement(u$9,Object.assign({text:j},E)),React$1.createElement(S,{className:t$e(d$j("icon"),"shrink-0",n$e[u].height,n$e[u].width)}))}));g$a.displayName="Icon";
64226
+ const d$i=$$2("Icon"),f$a={Simple:"simple",Light:"light",Shadow:"shadow",Solid:"solid",Outlined:"outlined"},g$a=React$1.forwardRef(((i,g)=>{const{icon:h,variant:b=f$a.Simple,tooltip:j,size:u=r$o.SM,color:w,className:x}=i,N=__rest$2(i,["icon","variant","tooltip","size","color","className"]),S=h,C=b$7(b,w),{tooltipProps:E,getReferenceProps:O}=f$c();return React$1.createElement("span",Object.assign({ref:n$i([g,E.refs.setReference]),className:t$e(d$i("root"),"inline-flex flex-shrink-0 items-center",C.bgColor,C.textColor,C.borderColor,C.ringColor,g$b[b].rounded,g$b[b].border,g$b[b].shadow,g$b[b].ring,i$i[u].paddingX,i$i[u].paddingY,x)},O,N),React$1.createElement(u$8,Object.assign({text:j},E)),React$1.createElement(S,{className:t$e(d$i("icon"),"shrink-0",n$e[u].height,n$e[u].width)}))}));g$a.displayName="Icon";
64227
64227
 
64228
64228
  function _objectWithoutPropertiesLoose(source, excluded) {
64229
64229
  if (source == null) return {};
@@ -64697,9 +64697,9 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
64697
64697
 
64698
64698
  const i$h={xs:{height:h$7.md.height,width:h$7.md.width},sm:{height:h$7.lg.height,width:h$7.lg.width},md:{height:h$7.lg.height,width:h$7.lg.width},lg:{height:h$7.xl.height,width:h$7.xl.width},xl:{height:h$7.xl.height,width:h$7.xl.width}},n$d=o=>"light"!==o?{xs:{paddingX:t$g.md.paddingX,paddingY:t$g.xs.paddingY,fontSize:t$b.xs},sm:{paddingX:t$g.twoXl.paddingX,paddingY:t$g.sm.paddingY,fontSize:t$b.sm},md:{paddingX:t$g.twoXl.paddingX,paddingY:t$g.sm.paddingY,fontSize:t$b.md},lg:{paddingX:t$g.twoXl.paddingX,paddingY:t$g.md.paddingY,fontSize:t$b.lg},xl:{paddingX:t$g.twoXl.paddingX,paddingY:t$g.lg.paddingY,fontSize:t$b.xl}}:{xs:{paddingX:"",paddingY:"",fontSize:t$b.xs},sm:{paddingX:"",paddingY:"",fontSize:t$b.sm},md:{paddingX:"",paddingY:"",fontSize:t$b.md},lg:{paddingX:"",paddingY:"",fontSize:t$b.lg},xl:{paddingX:"",paddingY:"",fontSize:t$b.xl}},g$8=(r,o)=>{switch(r){case"primary":return {textColor:o?c$l("white").textColor:"text-tremor-brand-inverted dark:text-dark-tremor-brand-inverted",hoverTextColor:o?c$l("white").textColor:"text-tremor-brand-inverted dark:text-dark-tremor-brand-inverted",bgColor:o?c$l(o,e$4.background).bgColor:"bg-tremor-brand dark:bg-dark-tremor-brand",hoverBgColor:o?c$l(o,e$4.darkBackground).hoverBgColor:"hover:bg-tremor-brand-emphasis dark:hover:bg-dark-tremor-brand-emphasis",borderColor:o?c$l(o,e$4.border).borderColor:"border-tremor-brand dark:border-dark-tremor-brand",hoverBorderColor:o?c$l(o,e$4.darkBorder).hoverBorderColor:"hover:border-tremor-brand-emphasis dark:hover:border-dark-tremor-brand-emphasis"};case"secondary":return {textColor:o?c$l(o,e$4.text).textColor:"text-tremor-brand dark:text-dark-tremor-brand",hoverTextColor:o?c$l(o,e$4.text).textColor:"hover:text-tremor-brand-emphasis dark:hover:text-dark-tremor-brand-emphasis",bgColor:c$l("transparent").bgColor,hoverBgColor:o?t$e(c$l(o,e$4.background).hoverBgColor,"hover:bg-opacity-20 dark:hover:bg-opacity-20"):"hover:bg-tremor-brand-faint dark:hover:bg-dark-tremor-brand-faint",borderColor:o?c$l(o,e$4.border).borderColor:"border-tremor-brand dark:border-dark-tremor-brand"};case"light":return {textColor:o?c$l(o,e$4.text).textColor:"text-tremor-brand dark:text-dark-tremor-brand",hoverTextColor:o?c$l(o,e$4.darkText).hoverTextColor:"hover:text-tremor-brand-emphasis dark:hover:text-dark-tremor-brand-emphasis",bgColor:c$l("transparent").bgColor,borderColor:"",hoverBorderColor:""}}};
64699
64699
 
64700
- const b$6=$$1("Button"),x$2=({loading:e,iconSize:t,iconPosition:o,Icon:n,needMargin:r,transitionState:m})=>{const c=r?o===n$j.Left?t$e(t$g.twoXs.negativeMarginLeft,t$g.xs.marginRight):t$e(t$g.twoXs.negativeMarginRight,t$g.xs.marginLeft):"",g=t$e(h$7.none.width,h$7.none.height),f={default:g,entering:g,entered:t,exiting:t,exited:g};return e?React$1.createElement(r$f,{className:t$e(b$6("icon"),"animate-spin shrink-0",c,f.default,f[m]),style:{transition:"width 150ms"}}):React$1.createElement(n,{className:t$e(b$6("icon"),"shrink-0",t,c)})},j$3=React$1.forwardRef(((a,s)=>{const{icon:c,iconPosition:p=n$j.Left,size:j=r$o.SM,color:w,variant:v="primary",disabled:S,loading:E=!1,loadingText:z,children:C,tooltip:M,className:N}=a,P=__rest$2(a,["icon","iconPosition","size","color","variant","disabled","loading","loadingText","children","tooltip","className"]),R=c,y=E||S,T=void 0!==R||E,k=E&&z,B=!(!C&&!k),L=t$e(i$h[j].height,i$h[j].width),I="light"!==v?t$e("rounded-tremor-default","shadow-tremor-input","dark:shadow-dark-tremor-input",r$m.sm.all):"",X=g$8(v,w),O=n$d(v)[j],{tooltipProps:Y,getReferenceProps:q}=f$c(300);return React$1.createElement(g$9,{in:E,timeout:50},(e=>React$1.createElement("button",Object.assign({ref:n$i([s,Y.refs.setReference]),className:t$e(b$6("root"),"flex-shrink-0 inline-flex justify-center items-center group font-medium outline-none",I,O.paddingX,O.paddingY,O.fontSize,X.textColor,X.bgColor,X.borderColor,X.hoverBorderColor,y?"opacity-50 cursor-not-allowed":t$e(g$8(v,w).hoverTextColor,g$8(v,w).hoverBgColor,g$8(v,w).hoverBorderColor),N),disabled:y},q,P),React$1.createElement(u$9,Object.assign({text:M},Y)),T&&p!==n$j.Right?React$1.createElement(x$2,{loading:E,iconSize:L,iconPosition:p,Icon:R,transitionState:e,needMargin:B}):null,k||C?React$1.createElement("span",{className:t$e(b$6("text"),"text-sm whitespace-nowrap")},k?z:C):null,T&&p===n$j.Right?React$1.createElement(x$2,{loading:E,iconSize:L,iconPosition:p,Icon:R,transitionState:e,needMargin:B}):null)))}));j$3.displayName="Button";
64700
+ const b$6=$$2("Button"),x$3=({loading:e,iconSize:t,iconPosition:o,Icon:n,needMargin:r,transitionState:m})=>{const c=r?o===n$j.Left?t$e(t$g.twoXs.negativeMarginLeft,t$g.xs.marginRight):t$e(t$g.twoXs.negativeMarginRight,t$g.xs.marginLeft):"",g=t$e(h$7.none.width,h$7.none.height),f={default:g,entering:g,entered:t,exiting:t,exited:g};return e?React$1.createElement(r$f,{className:t$e(b$6("icon"),"animate-spin shrink-0",c,f.default,f[m]),style:{transition:"width 150ms"}}):React$1.createElement(n,{className:t$e(b$6("icon"),"shrink-0",t,c)})},j$3=React$1.forwardRef(((a,s)=>{const{icon:c,iconPosition:p=n$j.Left,size:j=r$o.SM,color:w,variant:v="primary",disabled:S,loading:E=!1,loadingText:z,children:C,tooltip:M,className:N}=a,P=__rest$2(a,["icon","iconPosition","size","color","variant","disabled","loading","loadingText","children","tooltip","className"]),R=c,y=E||S,T=void 0!==R||E,k=E&&z,B=!(!C&&!k),L=t$e(i$h[j].height,i$h[j].width),I="light"!==v?t$e("rounded-tremor-default","shadow-tremor-input","dark:shadow-dark-tremor-input",r$m.sm.all):"",X=g$8(v,w),O=n$d(v)[j],{tooltipProps:Y,getReferenceProps:q}=f$c(300);return React$1.createElement(g$9,{in:E,timeout:50},(e=>React$1.createElement("button",Object.assign({ref:n$i([s,Y.refs.setReference]),className:t$e(b$6("root"),"flex-shrink-0 inline-flex justify-center items-center group font-medium outline-none",I,O.paddingX,O.paddingY,O.fontSize,X.textColor,X.bgColor,X.borderColor,X.hoverBorderColor,y?"opacity-50 cursor-not-allowed":t$e(g$8(v,w).hoverTextColor,g$8(v,w).hoverBgColor,g$8(v,w).hoverBorderColor),N),disabled:y},q,P),React$1.createElement(u$8,Object.assign({text:M},Y)),T&&p!==n$j.Right?React$1.createElement(x$3,{loading:E,iconSize:L,iconPosition:p,Icon:R,transitionState:e,needMargin:B}):null,k||C?React$1.createElement("span",{className:t$e(b$6("text"),"text-sm whitespace-nowrap")},k?z:C):null,T&&p===n$j.Right?React$1.createElement(x$3,{loading:E,iconSize:L,iconPosition:p,Icon:R,transitionState:e,needMargin:B}):null)))}));j$3.displayName="Button";
64701
64701
 
64702
- var i$g=Object.defineProperty;var d$i=(t,e,n)=>e in t?i$g(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var r$e=(t,e,n)=>(d$i(t,typeof e!="symbol"?e+"":e,n),n);let o$f = class o{constructor(){r$e(this,"current",this.detect());r$e(this,"handoffState","pending");r$e(this,"currentId",0);}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e);}reset(){this.set(this.detect());}nextId(){return ++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window=="undefined"||typeof document=="undefined"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete");}get isHandoffComplete(){return this.handoffState==="complete"}};let s$h=new o$f;
64702
+ var i$g=Object.defineProperty;var d$h=(t,e,n)=>e in t?i$g(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var r$e=(t,e,n)=>(d$h(t,typeof e!="symbol"?e+"":e,n),n);let o$f = class o{constructor(){r$e(this,"current",this.detect());r$e(this,"handoffState","pending");r$e(this,"currentId",0);}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e);}reset(){this.set(this.detect());}nextId(){return ++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window=="undefined"||typeof document=="undefined"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete");}get isHandoffComplete(){return this.handoffState==="complete"}};let s$h=new o$f;
64703
64703
 
64704
64704
  let l$f=(e,f)=>{s$h.isServer?React$1.useEffect(e,f):React$1.useLayoutEffect(e,f);};
64705
64705
 
@@ -64719,29 +64719,29 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
64719
64719
 
64720
64720
  var o$c;let I$2=(o$c=React$1.useId)!=null?o$c:function(){let n=l$e(),[e,u]=React$1.useState(n?()=>s$h.nextId():null);return l$f(()=>{e===null&&u(s$h.nextId());},[e]),e!=null?""+e:void 0};
64721
64721
 
64722
- function u$7(r,n,...a){if(r in n){let e=n[r];return typeof e=="function"?e(...a):e}let t=new Error(`Tried to handle "${r}" but there is no handler defined. Only defined handlers are: ${Object.keys(n).map(e=>`"${e}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,u$7),t}
64722
+ function u$6(r,n,...a){if(r in n){let e=n[r];return typeof e=="function"?e(...a):e}let t=new Error(`Tried to handle "${r}" but there is no handler defined. Only defined handlers are: ${Object.keys(n).map(e=>`"${e}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,u$6),t}
64723
64723
 
64724
64724
  function e$2(r){return s$h.isServer?null:r instanceof Node?r.ownerDocument:r!=null&&r.hasOwnProperty("current")&&r.current instanceof Node?r.current.ownerDocument:document}
64725
64725
 
64726
- let c$h=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var M$4=(n=>(n[n.First=1]="First",n[n.Previous=2]="Previous",n[n.Next=4]="Next",n[n.Last=8]="Last",n[n.WrapAround=16]="WrapAround",n[n.NoScroll=32]="NoScroll",n))(M$4||{}),N$2=(o=>(o[o.Error=0]="Error",o[o.Overflow=1]="Overflow",o[o.Success=2]="Success",o[o.Underflow=3]="Underflow",o))(N$2||{}),F$2=(t=>(t[t.Previous=-1]="Previous",t[t.Next=1]="Next",t))(F$2||{});function f$9(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(c$h)).sort((r,t)=>Math.sign((r.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var T$2=(t=>(t[t.Strict=0]="Strict",t[t.Loose=1]="Loose",t))(T$2||{});function h$3(e,r=0){var t;return e===((t=e$2(e))==null?void 0:t.body)?!1:u$7(r,{[0](){return e.matches(c$h)},[1](){let l=e;for(;l!==null;){if(l.matches(c$h))return !0;l=l.parentElement;}return !1}})}var w$4=(t=>(t[t.Keyboard=0]="Keyboard",t[t.Mouse=1]="Mouse",t))(w$4||{});typeof window!="undefined"&&typeof document!="undefined"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="");},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="");},!0));let S$3=["textarea","input"].join(",");function H$2(e){var r,t;return (t=(r=e==null?void 0:e.matches)==null?void 0:r.call(e,S$3))!=null?t:!1}function I$1(e,r=t=>t){return e.slice().sort((t,l)=>{let o=r(t),i=r(l);if(o===null||i===null)return 0;let n=o.compareDocumentPosition(i);return n&Node.DOCUMENT_POSITION_FOLLOWING?-1:n&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function O(e,r,{sorted:t=!0,relativeTo:l=null,skipElements:o=[]}={}){let i=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,n=Array.isArray(e)?t?I$1(e):e:f$9(e);o.length>0&&n.length>1&&(n=n.filter(s=>!o.includes(s))),l=l!=null?l:i.activeElement;let E=(()=>{if(r&5)return 1;if(r&10)return -1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),x=(()=>{if(r&1)return 0;if(r&2)return Math.max(0,n.indexOf(l))-1;if(r&4)return Math.max(0,n.indexOf(l))+1;if(r&8)return n.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),p=r&32?{preventScroll:!0}:{},d=0,a=n.length,u;do{if(d>=a||d+a<=0)return 0;let s=x+d;if(r&16)s=(s+a)%a;else {if(s<0)return 3;if(s>=a)return 1}u=n[s],u==null||u.focus(p),d+=E;}while(u!==i.activeElement);return r&6&&H$2(u)&&u.select(),2}
64726
+ let c$h=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var M$4=(n=>(n[n.First=1]="First",n[n.Previous=2]="Previous",n[n.Next=4]="Next",n[n.Last=8]="Last",n[n.WrapAround=16]="WrapAround",n[n.NoScroll=32]="NoScroll",n))(M$4||{}),N$2=(o=>(o[o.Error=0]="Error",o[o.Overflow=1]="Overflow",o[o.Success=2]="Success",o[o.Underflow=3]="Underflow",o))(N$2||{}),F$2=(t=>(t[t.Previous=-1]="Previous",t[t.Next=1]="Next",t))(F$2||{});function f$9(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(c$h)).sort((r,t)=>Math.sign((r.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var T$3=(t=>(t[t.Strict=0]="Strict",t[t.Loose=1]="Loose",t))(T$3||{});function h$3(e,r=0){var t;return e===((t=e$2(e))==null?void 0:t.body)?!1:u$6(r,{[0](){return e.matches(c$h)},[1](){let l=e;for(;l!==null;){if(l.matches(c$h))return !0;l=l.parentElement;}return !1}})}var w$4=(t=>(t[t.Keyboard=0]="Keyboard",t[t.Mouse=1]="Mouse",t))(w$4||{});typeof window!="undefined"&&typeof document!="undefined"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="");},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="");},!0));let S$3=["textarea","input"].join(",");function H$2(e){var r,t;return (t=(r=e==null?void 0:e.matches)==null?void 0:r.call(e,S$3))!=null?t:!1}function I$1(e,r=t=>t){return e.slice().sort((t,l)=>{let o=r(t),i=r(l);if(o===null||i===null)return 0;let n=o.compareDocumentPosition(i);return n&Node.DOCUMENT_POSITION_FOLLOWING?-1:n&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function O(e,r,{sorted:t=!0,relativeTo:l=null,skipElements:o=[]}={}){let i=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,n=Array.isArray(e)?t?I$1(e):e:f$9(e);o.length>0&&n.length>1&&(n=n.filter(s=>!o.includes(s))),l=l!=null?l:i.activeElement;let E=(()=>{if(r&5)return 1;if(r&10)return -1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),x=(()=>{if(r&1)return 0;if(r&2)return Math.max(0,n.indexOf(l))-1;if(r&4)return Math.max(0,n.indexOf(l))+1;if(r&8)return n.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),p=r&32?{preventScroll:!0}:{},d=0,a=n.length,u;do{if(d>=a||d+a<=0)return 0;let s=x+d;if(r&16)s=(s+a)%a;else {if(s<0)return 3;if(s>=a)return 1}u=n[s],u==null||u.focus(p),d+=E;}while(u!==i.activeElement);return r&6&&H$2(u)&&u.select(),2}
64727
64727
 
64728
- function d$h(e,r,n){let o=s$g(r);React$1.useEffect(()=>{function t(u){o.current(u);}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)},[e,n]);}
64728
+ function d$g(e,r,n){let o=s$g(r);React$1.useEffect(()=>{function t(u){o.current(u);}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)},[e,n]);}
64729
64729
 
64730
64730
  function s$e(e,r,n){let o=s$g(r);React$1.useEffect(()=>{function t(i){o.current(i);}return window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)},[e,n]);}
64731
64731
 
64732
- function h$2(s,m,a=!0){let i=React$1.useRef(!1);React$1.useEffect(()=>{requestAnimationFrame(()=>{i.current=a;});},[a]);function c(e,r){if(!i.current||e.defaultPrevented)return;let t=r(e);if(t===null||!t.getRootNode().contains(t)||!t.isConnected)return;let E=function u(n){return typeof n=="function"?u(n()):Array.isArray(n)||n instanceof Set?n:[n]}(s);for(let u of E){if(u===null)continue;let n=u instanceof HTMLElement?u:u.current;if(n!=null&&n.contains(t)||e.composed&&e.composedPath().includes(n))return}return !h$3(t,T$2.Loose)&&t.tabIndex!==-1&&e.preventDefault(),m(e,t)}let o=React$1.useRef(null);d$h("pointerdown",e=>{var r,t;i.current&&(o.current=((t=(r=e.composedPath)==null?void 0:r.call(e))==null?void 0:t[0])||e.target);},!0),d$h("mousedown",e=>{var r,t;i.current&&(o.current=((t=(r=e.composedPath)==null?void 0:r.call(e))==null?void 0:t[0])||e.target);},!0),d$h("click",e=>{o.current&&(c(e,()=>o.current),o.current=null);},!0),d$h("touchend",e=>c(e,()=>e.target instanceof HTMLElement?e.target:null),!0),s$e("blur",e=>c(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0);}
64732
+ function h$2(s,m,a=!0){let i=React$1.useRef(!1);React$1.useEffect(()=>{requestAnimationFrame(()=>{i.current=a;});},[a]);function c(e,r){if(!i.current||e.defaultPrevented)return;let t=r(e);if(t===null||!t.getRootNode().contains(t)||!t.isConnected)return;let E=function u(n){return typeof n=="function"?u(n()):Array.isArray(n)||n instanceof Set?n:[n]}(s);for(let u of E){if(u===null)continue;let n=u instanceof HTMLElement?u:u.current;if(n!=null&&n.contains(t)||e.composed&&e.composedPath().includes(n))return}return !h$3(t,T$3.Loose)&&t.tabIndex!==-1&&e.preventDefault(),m(e,t)}let o=React$1.useRef(null);d$g("pointerdown",e=>{var r,t;i.current&&(o.current=((t=(r=e.composedPath)==null?void 0:r.call(e))==null?void 0:t[0])||e.target);},!0),d$g("mousedown",e=>{var r,t;i.current&&(o.current=((t=(r=e.composedPath)==null?void 0:r.call(e))==null?void 0:t[0])||e.target);},!0),d$g("click",e=>{o.current&&(c(e,()=>o.current),o.current=null);},!0),d$g("touchend",e=>c(e,()=>e.target instanceof HTMLElement?e.target:null),!0),s$e("blur",e=>c(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0);}
64733
64733
 
64734
64734
  function i$e(t){var n;if(t.type)return t.type;let e=(n=t.as)!=null?n:"button";if(typeof e=="string"&&e.toLowerCase()==="button")return "button"}function s$d(t,e){let[n,u]=React$1.useState(()=>i$e(t));return l$f(()=>{u(i$e(t));},[t.type,t.as]),l$f(()=>{n||e.current&&e.current instanceof HTMLButtonElement&&!e.current.hasAttribute("type")&&u("button");},[n,e]),n}
64735
64735
 
64736
- let u$6=Symbol();function T$1(t,n=!0){return Object.assign(t,{[u$6]:n})}function y$3(...t){let n=React$1.useRef(t);React$1.useEffect(()=>{n.current=t;},[t]);let c=o$d(e=>{for(let o of n.current)o!=null&&(typeof o=="function"?o(e):o.current=e);});return t.every(e=>e==null||(e==null?void 0:e[u$6]))?void 0:c}
64736
+ let u$5=Symbol();function T$2(t,n=!0){return Object.assign(t,{[u$5]:n})}function y$3(...t){let n=React$1.useRef(t);React$1.useEffect(()=>{n.current=t;},[t]);let c=o$d(e=>{for(let o of n.current)o!=null&&(typeof o=="function"?o(e):o.current=e);});return t.every(e=>e==null||(e==null?void 0:e[u$5]))?void 0:c}
64737
64737
 
64738
64738
  function F$1({container:e,accept:t,walk:r,enabled:c=!0}){let o=React$1.useRef(t),l=React$1.useRef(r);React$1.useEffect(()=>{o.current=t,l.current=r;},[t,r]),l$f(()=>{if(!e||!c)return;let n=e$2(e);if(!n)return;let f=o.current,p=l.current,d=Object.assign(i=>f(i),{acceptNode:f}),u=n.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,d,!1);for(;u.nextNode();)p(u.currentNode);},[e,c,o,l]);}
64739
64739
 
64740
- function f$8(r){throw new Error("Unexpected object: "+r)}var a$e=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(a$e||{});function x$1(r,n){let t=n.resolveItems();if(t.length<=0)return null;let l=n.resolveActiveIndex(),s=l!=null?l:-1,d=(()=>{switch(r.focus){case 0:return t.findIndex(e=>!n.resolveDisabled(e));case 1:{let e=t.slice().reverse().findIndex((i,c,u)=>s!==-1&&u.length-c-1>=s?!1:!n.resolveDisabled(i));return e===-1?e:t.length-1-e}case 2:return t.findIndex((e,i)=>i<=s?!1:!n.resolveDisabled(e));case 3:{let e=t.slice().reverse().findIndex(i=>!n.resolveDisabled(i));return e===-1?e:t.length-1-e}case 4:return t.findIndex(e=>n.resolveId(e)===r.id);case 5:return null;default:f$8(r);}})();return d===-1?l:d}
64740
+ function f$8(r){throw new Error("Unexpected object: "+r)}var a$e=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(a$e||{});function x$2(r,n){let t=n.resolveItems();if(t.length<=0)return null;let l=n.resolveActiveIndex(),s=l!=null?l:-1,d=(()=>{switch(r.focus){case 0:return t.findIndex(e=>!n.resolveDisabled(e));case 1:{let e=t.slice().reverse().findIndex((i,c,u)=>s!==-1&&u.length-c-1>=s?!1:!n.resolveDisabled(i));return e===-1?e:t.length-1-e}case 2:return t.findIndex((e,i)=>i<=s?!1:!n.resolveDisabled(e));case 3:{let e=t.slice().reverse().findIndex(i=>!n.resolveDisabled(i));return e===-1?e:t.length-1-e}case 4:return t.findIndex(e=>n.resolveId(e)===r.id);case 5:return null;default:f$8(r);}})();return d===-1?l:d}
64741
64741
 
64742
64742
  function t$8(...r){return Array.from(new Set(r.flatMap(n=>typeof n=="string"?n.split(" "):[]))).filter(Boolean).join(" ")}
64743
64743
 
64744
- var S$2=(a=>(a[a.None=0]="None",a[a.RenderStrategy=1]="RenderStrategy",a[a.Static=2]="Static",a))(S$2||{}),j$2=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(j$2||{});function X$2({ourProps:r,theirProps:t,slot:e,defaultTag:a,features:s,visible:n=!0,name:f}){let o=N$1(t,r);if(n)return c$g(o,e,a,f);let u=s!=null?s:0;if(u&2){let{static:l=!1,...p}=o;if(l)return c$g(p,e,a,f)}if(u&1){let{unmount:l=!0,...p}=o;return u$7(l?0:1,{[0](){return null},[1](){return c$g({...p,hidden:!0,style:{display:"none"}},e,a,f)}})}return c$g(o,e,a,f)}function c$g(r,t={},e,a){let{as:s=e,children:n,refName:f="ref",...o}=g$7(r,["unmount","static"]),u=r.ref!==void 0?{[f]:r.ref}:{},l=typeof n=="function"?n(t):n;"className"in o&&o.className&&typeof o.className=="function"&&(o.className=o.className(t));let p={};if(t){let i=!1,m=[];for(let[y,d]of Object.entries(t))typeof d=="boolean"&&(i=!0),d===!0&&m.push(y);i&&(p["data-headlessui-state"]=m.join(" "));}if(s===React$1.Fragment&&Object.keys(R(o)).length>0){if(!React$1.isValidElement(l)||Array.isArray(l)&&l.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${a} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(o).map(d=>` - ${d}`).join(`
64744
+ var S$2=(a=>(a[a.None=0]="None",a[a.RenderStrategy=1]="RenderStrategy",a[a.Static=2]="Static",a))(S$2||{}),j$2=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(j$2||{});function X$2({ourProps:r,theirProps:t,slot:e,defaultTag:a,features:s,visible:n=!0,name:f}){let o=N$1(t,r);if(n)return c$g(o,e,a,f);let u=s!=null?s:0;if(u&2){let{static:l=!1,...p}=o;if(l)return c$g(p,e,a,f)}if(u&1){let{unmount:l=!0,...p}=o;return u$6(l?0:1,{[0](){return null},[1](){return c$g({...p,hidden:!0,style:{display:"none"}},e,a,f)}})}return c$g(o,e,a,f)}function c$g(r,t={},e,a){let{as:s=e,children:n,refName:f="ref",...o}=g$7(r,["unmount","static"]),u=r.ref!==void 0?{[f]:r.ref}:{},l=typeof n=="function"?n(t):n;"className"in o&&o.className&&typeof o.className=="function"&&(o.className=o.className(t));let p={};if(t){let i=!1,m=[];for(let[y,d]of Object.entries(t))typeof d=="boolean"&&(i=!0),d===!0&&m.push(y);i&&(p["data-headlessui-state"]=m.join(" "));}if(s===React$1.Fragment&&Object.keys(R(o)).length>0){if(!React$1.isValidElement(l)||Array.isArray(l)&&l.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${a} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(o).map(d=>` - ${d}`).join(`
64745
64745
  `),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(d=>` - ${d}`).join(`
64746
64746
  `)].join(`
64747
64747
  `));let i=l.props,m=typeof(i==null?void 0:i.className)=="function"?(...d)=>t$8(i==null?void 0:i.className(...d),o.className):t$8(i==null?void 0:i.className,o.className),y=m?{className:m}:{};return React$1.cloneElement(l,Object.assign({},N$1(l.props,R(g$7(o,["ref"]))),p,u,w$3(l.ref,u.ref),y))}return React$1.createElement(s,Object.assign({},g$7(o,["ref"]),s!==React$1.Fragment&&u,s!==React$1.Fragment&&p),l)}function w$3(...r){return {ref:r.every(t=>t==null)?void 0:t=>{for(let e of r)e!=null&&(typeof e=="function"?e(t):e.current=t);}}}function N$1(...r){if(r.length===0)return {};if(r.length===1)return r[0];let t={},e={};for(let s of r)for(let n in s)n.startsWith("on")&&typeof s[n]=="function"?((e[n])!=null||(e[n]=[]),e[n].push(s[n])):t[n]=s[n];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(e).map(s=>[s,void 0])));for(let s in e)Object.assign(t,{[s](n,...f){let o=e[s];for(let u of o){if((n instanceof Event||(n==null?void 0:n.nativeEvent)instanceof Event)&&n.defaultPrevented)return;u(n,...f);}}});return t}function D$1(r){var t;return Object.assign(React$1.forwardRef(r),{displayName:(t=r.displayName)!=null?t:r.name})}function R(r){let t=Object.assign({},r);for(let e in t)t[e]===void 0&&delete t[e];return t}function g$7(r,t=[]){let e=Object.assign({},r);for(let a of t)a in e&&delete e[a];return e}
@@ -64752,59 +64752,59 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
64752
64752
 
64753
64753
  let a$d="div";var p$7=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(p$7||{});function s$c(t,o){let{features:n=1,...e}=t,d={ref:o,"aria-hidden":(n&2)===2?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(n&4)===4&&(n&2)!==2&&{display:"none"}}};return X$2({ourProps:d,theirProps:e,slot:{},defaultTag:a$d,name:"Hidden"})}let c$f=D$1(s$c);
64754
64754
 
64755
- let n$c=React$1.createContext(null);n$c.displayName="OpenClosedContext";var d$g=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(d$g||{});function C$2(){return React$1.useContext(n$c)}function c$e({value:o,children:r}){return React$1.createElement(n$c.Provider,{value:o},r)}
64755
+ let n$c=React$1.createContext(null);n$c.displayName="OpenClosedContext";var d$f=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(d$f||{});function C$2(){return React$1.useContext(n$c)}function c$e({value:o,children:r}){return React$1.createElement(n$c.Provider,{value:o},r)}
64756
64756
 
64757
64757
  var o$a=(r=>(r.Space=" ",r.Enter="Enter",r.Escape="Escape",r.Backspace="Backspace",r.Delete="Delete",r.ArrowLeft="ArrowLeft",r.ArrowUp="ArrowUp",r.ArrowRight="ArrowRight",r.ArrowDown="ArrowDown",r.Home="Home",r.End="End",r.PageUp="PageUp",r.PageDown="PageDown",r.Tab="Tab",r))(o$a||{});
64758
64758
 
64759
- function T(l,r,c){let[i,s]=React$1.useState(c),e=l!==void 0,t=React$1.useRef(e),u=React$1.useRef(!1),d=React$1.useRef(!1);return e&&!t.current&&!u.current?(u.current=!0,t.current=e,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")):!e&&t.current&&!d.current&&(d.current=!0,t.current=e,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")),[e?l:i,o$d(n=>(e||s(n),r==null?void 0:r(n)))]}
64759
+ function T$1(l,r,c){let[i,s]=React$1.useState(c),e=l!==void 0,t=React$1.useRef(e),u=React$1.useRef(!1),d=React$1.useRef(!1);return e&&!t.current&&!u.current?(u.current=!0,t.current=e,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")):!e&&t.current&&!d.current&&(d.current=!0,t.current=e,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")),[e?l:i,o$d(n=>(e||s(n),r==null?void 0:r(n)))]}
64760
64760
 
64761
64761
  function m$a(u,t){let e=React$1.useRef([]),r=o$d(u);React$1.useEffect(()=>{let o=[...e.current];for(let[n,a]of t.entries())if(e.current[n]!==a){let l=r(t,o);return e.current=t,l}},[r,...t]);}
64762
64762
 
64763
- function t$7(e){return [e.screenX,e.screenY]}function u$5(){let e=React$1.useRef([-1,-1]);return {wasMoved(r){let n=t$7(r);return e.current[0]===n[0]&&e.current[1]===n[1]?!1:(e.current=n,!0)},update(r){e.current=t$7(r);}}}
64763
+ function t$7(e){return [e.screenX,e.screenY]}function u$4(){let e=React$1.useRef([-1,-1]);return {wasMoved(r){let n=t$7(r);return e.current[0]===n[0]&&e.current[1]===n[1]?!1:(e.current=n,!0)},update(r){e.current=t$7(r);}}}
64764
64764
 
64765
64765
  function t$6(){return /iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function i$c(){return /Android/gi.test(window.navigator.userAgent)}function n$b(){return t$6()||i$c()}
64766
64766
 
64767
64767
  function n$a(...e){return React$1.useMemo(()=>e$2(...e),[...e])}
64768
64768
 
64769
- var we$1=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(we$1||{}),Ue$2=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(Ue$2||{}),Ne$3=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Ne$3||{}),He$3=(n=>(n[n.OpenCombobox=0]="OpenCombobox",n[n.CloseCombobox=1]="CloseCombobox",n[n.GoToOption=2]="GoToOption",n[n.RegisterOption=3]="RegisterOption",n[n.UnregisterOption=4]="UnregisterOption",n[n.RegisterLabel=5]="RegisterLabel",n))(He$3||{});function ae$1(t,a=e=>e){let e=t.activeOptionIndex!==null?t.options[t.activeOptionIndex]:null,r=I$1(a(t.options.slice()),b=>b.dataRef.current.domRef.current),l=e?r.indexOf(e):null;return l===-1&&(l=null),{options:r,activeOptionIndex:l}}let Ge$3={[1](t){var a;return (a=t.dataRef.current)!=null&&a.disabled||t.comboboxState===1?t:{...t,activeOptionIndex:null,comboboxState:1}},[0](t){var e;if((e=t.dataRef.current)!=null&&e.disabled||t.comboboxState===0)return t;let a=t.activeOptionIndex;if(t.dataRef.current){let{isSelected:r}=t.dataRef.current,l=t.options.findIndex(b=>r(b.dataRef.current.value));l!==-1&&(a=l);}return {...t,comboboxState:0,activeOptionIndex:a}},[2](t,a){var l,b,n,d;if((l=t.dataRef.current)!=null&&l.disabled||(b=t.dataRef.current)!=null&&b.optionsRef.current&&!((n=t.dataRef.current)!=null&&n.optionsPropsRef.current.static)&&t.comboboxState===1)return t;let e=ae$1(t);if(e.activeOptionIndex===null){let o=e.options.findIndex(i=>!i.dataRef.current.disabled);o!==-1&&(e.activeOptionIndex=o);}let r=x$1(a,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:o=>o.id,resolveDisabled:o=>o.dataRef.current.disabled});return {...t,...e,activeOptionIndex:r,activationTrigger:(d=a.trigger)!=null?d:1}},[3]:(t,a)=>{var b,n;let e={id:a.id,dataRef:a.dataRef},r=ae$1(t,d=>[...d,e]);t.activeOptionIndex===null&&(b=t.dataRef.current)!=null&&b.isSelected(a.dataRef.current.value)&&(r.activeOptionIndex=r.options.indexOf(e));let l={...t,...r,activationTrigger:1};return (n=t.dataRef.current)!=null&&n.__demoMode&&t.dataRef.current.value===void 0&&(l.activeOptionIndex=0),l},[4]:(t,a)=>{let e=ae$1(t,r=>{let l=r.findIndex(b=>b.id===a.id);return l!==-1&&r.splice(l,1),r});return {...t,...e,activationTrigger:1}},[5]:(t,a)=>({...t,labelId:a.id})},le$1=React$1.createContext(null);le$1.displayName="ComboboxActionsContext";function Z$2(t){let a=React$1.useContext(le$1);if(a===null){let e=new Error(`<${t} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(e,Z$2),e}return a}let ie$2=React$1.createContext(null);ie$2.displayName="ComboboxDataContext";function J$1(t){let a=React$1.useContext(ie$2);if(a===null){let e=new Error(`<${t} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(e,J$1),e}return a}function Xe$3(t,a){return u$7(a.type,Ge$3,t,a)}let je$2=React$1.Fragment;function Je$2(t,a){let{value:e,defaultValue:r,onChange:l,form:b,name:n,by:d=(u,T)=>u===T,disabled:o=!1,__demoMode:i=!1,nullable:A=!1,multiple:O=!1,...C}=t,[f=O?[]:void 0,g]=T(e,l,r),[m,c]=React$1.useReducer(Xe$3,{dataRef:React$1.createRef(),comboboxState:i?0:1,options:[],activeOptionIndex:null,activationTrigger:1,labelId:null}),D=React$1.useRef(!1),_=React$1.useRef({static:!1,hold:!1}),w=React$1.useRef(null),U=React$1.useRef(null),N=React$1.useRef(null),K=React$1.useRef(null),h=o$d(typeof d=="string"?(u,T)=>{let v=d;return (u==null?void 0:u[v])===(T==null?void 0:T[v])}:d),H=React$1.useCallback(u=>u$7(p.mode,{[1]:()=>f.some(T=>h(T,u)),[0]:()=>h(f,u)}),[f]),p=React$1.useMemo(()=>({...m,optionsPropsRef:_,labelRef:w,inputRef:U,buttonRef:N,optionsRef:K,value:f,defaultValue:r,disabled:o,mode:O?1:0,get activeOptionIndex(){if(D.current&&m.activeOptionIndex===null&&m.options.length>0){let u=m.options.findIndex(T=>!T.dataRef.current.disabled);if(u!==-1)return u}return m.activeOptionIndex},compare:h,isSelected:H,nullable:A,__demoMode:i}),[f,r,o,O,A,i,m]),y=React$1.useRef(p.activeOptionIndex!==null?p.options[p.activeOptionIndex]:null);React$1.useEffect(()=>{let u=p.activeOptionIndex!==null?p.options[p.activeOptionIndex]:null;y.current!==u&&(y.current=u);}),l$f(()=>{m.dataRef.current=p;},[p]),h$2([p.buttonRef,p.inputRef,p.optionsRef],()=>te.closeCombobox(),p.comboboxState===0);let E=React$1.useMemo(()=>({open:p.comboboxState===0,disabled:o,activeIndex:p.activeOptionIndex,activeOption:p.activeOptionIndex===null?null:p.options[p.activeOptionIndex].dataRef.current.value,value:f}),[p,o,f]),B=o$d(u=>{let T=p.options.find(v=>v.id===u);T&&V(T.dataRef.current.value);}),s=o$d(()=>{if(p.activeOptionIndex!==null){let{dataRef:u,id:T}=p.options[p.activeOptionIndex];V(u.current.value),te.goToOption(a$e.Specific,T);}}),W=o$d(()=>{c({type:0}),D.current=!0;}),L=o$d(()=>{c({type:1}),D.current=!1;}),$=o$d((u,T,v)=>(D.current=!1,u===a$e.Specific?c({type:2,focus:a$e.Specific,id:T,trigger:v}):c({type:2,focus:u,trigger:v}))),P=o$d((u,T)=>(c({type:3,id:u,dataRef:T}),()=>{var v;((v=y.current)==null?void 0:v.id)===u&&(D.current=!0),c({type:4,id:u});})),F=o$d(u=>(c({type:5,id:u}),()=>c({type:5,id:null}))),V=o$d(u=>u$7(p.mode,{[0](){return g==null?void 0:g(u)},[1](){let T=p.value.slice(),v=T.findIndex(q=>h(q,u));return v===-1?T.push(u):T.splice(v,1),g==null?void 0:g(T)}})),te=React$1.useMemo(()=>({onChange:V,registerOption:P,registerLabel:F,goToOption:$,closeCombobox:L,openCombobox:W,selectActiveOption:s,selectOption:B}),[]),Te=a===null?{}:{ref:a},z=React$1.useRef(null),me=p$9();return React$1.useEffect(()=>{z.current&&r!==void 0&&me.addEventListener(z.current,"reset",()=>{g==null||g(r);});},[z,g]),React$1.createElement(le$1.Provider,{value:te},React$1.createElement(ie$2.Provider,{value:p},React$1.createElement(c$e,{value:u$7(p.comboboxState,{[0]:d$g.Open,[1]:d$g.Closed})},n!=null&&f!=null&&e$1({[n]:f}).map(([u,T],v)=>React$1.createElement(c$f,{features:p$7.Hidden,ref:v===0?q=>{var ue;z.current=(ue=q==null?void 0:q.closest("form"))!=null?ue:null;}:void 0,...R({key:u,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:b,name:u,value:T})})),X$2({ourProps:Te,theirProps:C,slot:E,defaultTag:je$2,name:"Combobox"}))))}let Ke$2="input";function We$3(t,a){var p,y,E,B;let e=I$2(),{id:r=`headlessui-combobox-input-${e}`,onChange:l,displayValue:b,type:n="text",...d}=t,o=J$1("Combobox.Input"),i=Z$2("Combobox.Input"),A=y$3(o.inputRef,a),O=n$a(o.inputRef),C=React$1.useRef(!1),f=p$9(),g=o$d(()=>{i.onChange(null),o.optionsRef.current&&(o.optionsRef.current.scrollTop=0),i.goToOption(a$e.Nothing);}),m=function(){var s;return typeof b=="function"&&o.value!==void 0?(s=b(o.value))!=null?s:"":typeof o.value=="string"?o.value:""}();m$a(([s,W],[L,$])=>{if(C.current)return;let P=o.inputRef.current;P&&(($===0&&W===1||s!==L)&&(P.value=s),requestAnimationFrame(()=>{if(C.current||!P||(O==null?void 0:O.activeElement)!==P)return;let{selectionStart:F,selectionEnd:V}=P;Math.abs((V!=null?V:0)-(F!=null?F:0))===0&&F===0&&P.setSelectionRange(P.value.length,P.value.length);}));},[m,o.comboboxState,O]),m$a(([s],[W])=>{if(s===0&&W===1){if(C.current)return;let L=o.inputRef.current;if(!L)return;let $=L.value,{selectionStart:P,selectionEnd:F,selectionDirection:V}=L;L.value="",L.value=$,V!==null?L.setSelectionRange(P,F,V):L.setSelectionRange(P,F);}},[o.comboboxState]);let c=React$1.useRef(!1),D=o$d(()=>{c.current=!0;}),_=o$d(()=>{f.nextFrame(()=>{c.current=!1;});}),w=o$d(s=>{switch(C.current=!0,s.key){case o$a.Enter:if(C.current=!1,o.comboboxState!==0||c.current)return;if(s.preventDefault(),s.stopPropagation(),o.activeOptionIndex===null){i.closeCombobox();return}i.selectActiveOption(),o.mode===0&&i.closeCombobox();break;case o$a.ArrowDown:return C.current=!1,s.preventDefault(),s.stopPropagation(),u$7(o.comboboxState,{[0]:()=>{i.goToOption(a$e.Next);},[1]:()=>{i.openCombobox();}});case o$a.ArrowUp:return C.current=!1,s.preventDefault(),s.stopPropagation(),u$7(o.comboboxState,{[0]:()=>{i.goToOption(a$e.Previous);},[1]:()=>{i.openCombobox(),f.nextFrame(()=>{o.value||i.goToOption(a$e.Last);});}});case o$a.Home:if(s.shiftKey)break;return C.current=!1,s.preventDefault(),s.stopPropagation(),i.goToOption(a$e.First);case o$a.PageUp:return C.current=!1,s.preventDefault(),s.stopPropagation(),i.goToOption(a$e.First);case o$a.End:if(s.shiftKey)break;return C.current=!1,s.preventDefault(),s.stopPropagation(),i.goToOption(a$e.Last);case o$a.PageDown:return C.current=!1,s.preventDefault(),s.stopPropagation(),i.goToOption(a$e.Last);case o$a.Escape:return C.current=!1,o.comboboxState!==0?void 0:(s.preventDefault(),o.optionsRef.current&&!o.optionsPropsRef.current.static&&s.stopPropagation(),o.nullable&&o.mode===0&&o.value===null&&g(),i.closeCombobox());case o$a.Tab:if(C.current=!1,o.comboboxState!==0)return;o.mode===0&&i.selectActiveOption(),i.closeCombobox();break}}),U=o$d(s=>{l==null||l(s),o.nullable&&o.mode===0&&s.target.value===""&&g(),i.openCombobox();}),N=o$d(()=>{C.current=!1;}),K=i$f(()=>{if(o.labelId)return [o.labelId].join(" ")},[o.labelId]),h=React$1.useMemo(()=>({open:o.comboboxState===0,disabled:o.disabled}),[o]),H={ref:A,id:r,role:"combobox",type:n,"aria-controls":(p=o.optionsRef.current)==null?void 0:p.id,"aria-expanded":o.comboboxState===0,"aria-activedescendant":o.activeOptionIndex===null||(y=o.options[o.activeOptionIndex])==null?void 0:y.id,"aria-labelledby":K,"aria-autocomplete":"list",defaultValue:(B=(E=t.defaultValue)!=null?E:o.defaultValue!==void 0?b==null?void 0:b(o.defaultValue):null)!=null?B:o.defaultValue,disabled:o.disabled,onCompositionStart:D,onCompositionEnd:_,onKeyDown:w,onChange:U,onBlur:N};return X$2({ourProps:H,theirProps:d,slot:h,defaultTag:Ke$2,name:"Combobox.Input"})}let $e$3="button";function qe$2(t,a){var g;let e=J$1("Combobox.Button"),r=Z$2("Combobox.Button"),l=y$3(e.buttonRef,a),b=I$2(),{id:n=`headlessui-combobox-button-${b}`,...d}=t,o=p$9(),i=o$d(m=>{switch(m.key){case o$a.ArrowDown:return m.preventDefault(),m.stopPropagation(),e.comboboxState===1&&r.openCombobox(),o.nextFrame(()=>{var c;return (c=e.inputRef.current)==null?void 0:c.focus({preventScroll:!0})});case o$a.ArrowUp:return m.preventDefault(),m.stopPropagation(),e.comboboxState===1&&(r.openCombobox(),o.nextFrame(()=>{e.value||r.goToOption(a$e.Last);})),o.nextFrame(()=>{var c;return (c=e.inputRef.current)==null?void 0:c.focus({preventScroll:!0})});case o$a.Escape:return e.comboboxState!==0?void 0:(m.preventDefault(),e.optionsRef.current&&!e.optionsPropsRef.current.static&&m.stopPropagation(),r.closeCombobox(),o.nextFrame(()=>{var c;return (c=e.inputRef.current)==null?void 0:c.focus({preventScroll:!0})}));default:return}}),A=o$d(m=>{if(r$d(m.currentTarget))return m.preventDefault();e.comboboxState===0?r.closeCombobox():(m.preventDefault(),r.openCombobox()),o.nextFrame(()=>{var c;return (c=e.inputRef.current)==null?void 0:c.focus({preventScroll:!0})});}),O=i$f(()=>{if(e.labelId)return [e.labelId,n].join(" ")},[e.labelId,n]),C=React$1.useMemo(()=>({open:e.comboboxState===0,disabled:e.disabled,value:e.value}),[e]),f={ref:l,id:n,type:s$d(t,e.buttonRef),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":(g=e.optionsRef.current)==null?void 0:g.id,"aria-expanded":e.comboboxState===0,"aria-labelledby":O,disabled:e.disabled,onClick:A,onKeyDown:i};return X$2({ourProps:f,theirProps:d,slot:C,defaultTag:$e$3,name:"Combobox.Button"})}let Qe$2="label";function Ye$2(t,a){let e=I$2(),{id:r=`headlessui-combobox-label-${e}`,...l}=t,b=J$1("Combobox.Label"),n=Z$2("Combobox.Label"),d=y$3(b.labelRef,a);l$f(()=>n.registerLabel(r),[r]);let o=o$d(()=>{var O;return (O=b.inputRef.current)==null?void 0:O.focus({preventScroll:!0})}),i=React$1.useMemo(()=>({open:b.comboboxState===0,disabled:b.disabled}),[b]);return X$2({ourProps:{ref:d,id:r,onClick:o},theirProps:l,slot:i,defaultTag:Qe$2,name:"Combobox.Label"})}let Ze$3="ul",ze$3=S$2.RenderStrategy|S$2.Static;function eo(t,a){let e=I$2(),{id:r=`headlessui-combobox-options-${e}`,hold:l=!1,...b}=t,n=J$1("Combobox.Options"),d=y$3(n.optionsRef,a),o=C$2(),i=(()=>o!==null?(o&d$g.Open)===d$g.Open:n.comboboxState===0)();l$f(()=>{var f;n.optionsPropsRef.current.static=(f=t.static)!=null?f:!1;},[n.optionsPropsRef,t.static]),l$f(()=>{n.optionsPropsRef.current.hold=l;},[n.optionsPropsRef,l]),F$1({container:n.optionsRef.current,enabled:n.comboboxState===0,accept(f){return f.getAttribute("role")==="option"?NodeFilter.FILTER_REJECT:f.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(f){f.setAttribute("role","none");}});let A=i$f(()=>{var f,g;return (g=n.labelId)!=null?g:(f=n.buttonRef.current)==null?void 0:f.id},[n.labelId,n.buttonRef.current]),O=React$1.useMemo(()=>({open:n.comboboxState===0}),[n]),C={"aria-labelledby":A,role:"listbox","aria-multiselectable":n.mode===1?!0:void 0,id:r,ref:d};return X$2({ourProps:C,theirProps:b,slot:O,defaultTag:Ze$3,features:ze$3,visible:i,name:"Combobox.Options"})}let oo="li";function to(t,a){var H,p;let e=I$2(),{id:r=`headlessui-combobox-option-${e}`,disabled:l=!1,value:b,...n}=t,d=J$1("Combobox.Option"),o=Z$2("Combobox.Option"),i=d.activeOptionIndex!==null?d.options[d.activeOptionIndex].id===r:!1,A=d.isSelected(b),O=React$1.useRef(null),C=s$g({disabled:l,value:b,domRef:O,textValue:(p=(H=O.current)==null?void 0:H.textContent)==null?void 0:p.toLowerCase()}),f=y$3(a,O),g=o$d(()=>o.selectOption(r));l$f(()=>o.registerOption(r,C),[C,r]);let m=React$1.useRef(!d.__demoMode);l$f(()=>{if(!d.__demoMode)return;let y=o$e();return y.requestAnimationFrame(()=>{m.current=!0;}),y.dispose},[]),l$f(()=>{if(d.comboboxState!==0||!i||!m.current||d.activationTrigger===0)return;let y=o$e();return y.requestAnimationFrame(()=>{var E,B;(B=(E=O.current)==null?void 0:E.scrollIntoView)==null||B.call(E,{block:"nearest"});}),y.dispose},[O,i,d.comboboxState,d.activationTrigger,d.activeOptionIndex]);let c=o$d(y=>{if(l)return y.preventDefault();g(),d.mode===0&&o.closeCombobox(),n$b()||requestAnimationFrame(()=>{var E;return (E=d.inputRef.current)==null?void 0:E.focus()});}),D=o$d(()=>{if(l)return o.goToOption(a$e.Nothing);o.goToOption(a$e.Specific,r);}),_=u$5(),w=o$d(y=>_.update(y)),U=o$d(y=>{_.wasMoved(y)&&(l||i||o.goToOption(a$e.Specific,r,0));}),N=o$d(y=>{_.wasMoved(y)&&(l||i&&(d.optionsPropsRef.current.hold||o.goToOption(a$e.Nothing)));}),K=React$1.useMemo(()=>({active:i,selected:A,disabled:l}),[i,A,l]);return X$2({ourProps:{id:r,ref:f,role:"option",tabIndex:l===!0?void 0:-1,"aria-disabled":l===!0?!0:void 0,"aria-selected":A,disabled:void 0,onClick:c,onFocus:D,onPointerEnter:w,onMouseEnter:w,onPointerMove:U,onMouseMove:U,onPointerLeave:N,onMouseLeave:N},theirProps:n,slot:K,defaultTag:oo,name:"Combobox.Option"})}let no=D$1(Je$2),ro=D$1(qe$2),ao=D$1(We$3),lo$1=D$1(Ye$2),io=D$1(eo),uo$1=D$1(to),qo=Object.assign(no,{Input:ao,Button:ro,Label:lo$1,Options:io,Option:uo$1});
64769
+ var we$1=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(we$1||{}),Ue$1=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(Ue$1||{}),Ne$3=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Ne$3||{}),He$2=(n=>(n[n.OpenCombobox=0]="OpenCombobox",n[n.CloseCombobox=1]="CloseCombobox",n[n.GoToOption=2]="GoToOption",n[n.RegisterOption=3]="RegisterOption",n[n.UnregisterOption=4]="UnregisterOption",n[n.RegisterLabel=5]="RegisterLabel",n))(He$2||{});function ae$1(t,a=e=>e){let e=t.activeOptionIndex!==null?t.options[t.activeOptionIndex]:null,r=I$1(a(t.options.slice()),b=>b.dataRef.current.domRef.current),l=e?r.indexOf(e):null;return l===-1&&(l=null),{options:r,activeOptionIndex:l}}let Ge$3={[1](t){var a;return (a=t.dataRef.current)!=null&&a.disabled||t.comboboxState===1?t:{...t,activeOptionIndex:null,comboboxState:1}},[0](t){var e;if((e=t.dataRef.current)!=null&&e.disabled||t.comboboxState===0)return t;let a=t.activeOptionIndex;if(t.dataRef.current){let{isSelected:r}=t.dataRef.current,l=t.options.findIndex(b=>r(b.dataRef.current.value));l!==-1&&(a=l);}return {...t,comboboxState:0,activeOptionIndex:a}},[2](t,a){var l,b,n,d;if((l=t.dataRef.current)!=null&&l.disabled||(b=t.dataRef.current)!=null&&b.optionsRef.current&&!((n=t.dataRef.current)!=null&&n.optionsPropsRef.current.static)&&t.comboboxState===1)return t;let e=ae$1(t);if(e.activeOptionIndex===null){let o=e.options.findIndex(i=>!i.dataRef.current.disabled);o!==-1&&(e.activeOptionIndex=o);}let r=x$2(a,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:o=>o.id,resolveDisabled:o=>o.dataRef.current.disabled});return {...t,...e,activeOptionIndex:r,activationTrigger:(d=a.trigger)!=null?d:1}},[3]:(t,a)=>{var b,n;let e={id:a.id,dataRef:a.dataRef},r=ae$1(t,d=>[...d,e]);t.activeOptionIndex===null&&(b=t.dataRef.current)!=null&&b.isSelected(a.dataRef.current.value)&&(r.activeOptionIndex=r.options.indexOf(e));let l={...t,...r,activationTrigger:1};return (n=t.dataRef.current)!=null&&n.__demoMode&&t.dataRef.current.value===void 0&&(l.activeOptionIndex=0),l},[4]:(t,a)=>{let e=ae$1(t,r=>{let l=r.findIndex(b=>b.id===a.id);return l!==-1&&r.splice(l,1),r});return {...t,...e,activationTrigger:1}},[5]:(t,a)=>({...t,labelId:a.id})},le$1=React$1.createContext(null);le$1.displayName="ComboboxActionsContext";function Z$2(t){let a=React$1.useContext(le$1);if(a===null){let e=new Error(`<${t} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(e,Z$2),e}return a}let ie$2=React$1.createContext(null);ie$2.displayName="ComboboxDataContext";function J$1(t){let a=React$1.useContext(ie$2);if(a===null){let e=new Error(`<${t} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(e,J$1),e}return a}function Xe$2(t,a){return u$6(a.type,Ge$3,t,a)}let je$2=React$1.Fragment;function Je$2(t,a){let{value:e,defaultValue:r,onChange:l,form:b,name:n,by:d=(u,T)=>u===T,disabled:o=!1,__demoMode:i=!1,nullable:A=!1,multiple:O=!1,...C}=t,[f=O?[]:void 0,g]=T$1(e,l,r),[m,c]=React$1.useReducer(Xe$2,{dataRef:React$1.createRef(),comboboxState:i?0:1,options:[],activeOptionIndex:null,activationTrigger:1,labelId:null}),D=React$1.useRef(!1),_=React$1.useRef({static:!1,hold:!1}),w=React$1.useRef(null),U=React$1.useRef(null),N=React$1.useRef(null),K=React$1.useRef(null),h=o$d(typeof d=="string"?(u,T)=>{let v=d;return (u==null?void 0:u[v])===(T==null?void 0:T[v])}:d),H=React$1.useCallback(u=>u$6(p.mode,{[1]:()=>f.some(T=>h(T,u)),[0]:()=>h(f,u)}),[f]),p=React$1.useMemo(()=>({...m,optionsPropsRef:_,labelRef:w,inputRef:U,buttonRef:N,optionsRef:K,value:f,defaultValue:r,disabled:o,mode:O?1:0,get activeOptionIndex(){if(D.current&&m.activeOptionIndex===null&&m.options.length>0){let u=m.options.findIndex(T=>!T.dataRef.current.disabled);if(u!==-1)return u}return m.activeOptionIndex},compare:h,isSelected:H,nullable:A,__demoMode:i}),[f,r,o,O,A,i,m]),y=React$1.useRef(p.activeOptionIndex!==null?p.options[p.activeOptionIndex]:null);React$1.useEffect(()=>{let u=p.activeOptionIndex!==null?p.options[p.activeOptionIndex]:null;y.current!==u&&(y.current=u);}),l$f(()=>{m.dataRef.current=p;},[p]),h$2([p.buttonRef,p.inputRef,p.optionsRef],()=>te.closeCombobox(),p.comboboxState===0);let E=React$1.useMemo(()=>({open:p.comboboxState===0,disabled:o,activeIndex:p.activeOptionIndex,activeOption:p.activeOptionIndex===null?null:p.options[p.activeOptionIndex].dataRef.current.value,value:f}),[p,o,f]),B=o$d(u=>{let T=p.options.find(v=>v.id===u);T&&V(T.dataRef.current.value);}),s=o$d(()=>{if(p.activeOptionIndex!==null){let{dataRef:u,id:T}=p.options[p.activeOptionIndex];V(u.current.value),te.goToOption(a$e.Specific,T);}}),W=o$d(()=>{c({type:0}),D.current=!0;}),L=o$d(()=>{c({type:1}),D.current=!1;}),$=o$d((u,T,v)=>(D.current=!1,u===a$e.Specific?c({type:2,focus:a$e.Specific,id:T,trigger:v}):c({type:2,focus:u,trigger:v}))),P=o$d((u,T)=>(c({type:3,id:u,dataRef:T}),()=>{var v;((v=y.current)==null?void 0:v.id)===u&&(D.current=!0),c({type:4,id:u});})),F=o$d(u=>(c({type:5,id:u}),()=>c({type:5,id:null}))),V=o$d(u=>u$6(p.mode,{[0](){return g==null?void 0:g(u)},[1](){let T=p.value.slice(),v=T.findIndex(q=>h(q,u));return v===-1?T.push(u):T.splice(v,1),g==null?void 0:g(T)}})),te=React$1.useMemo(()=>({onChange:V,registerOption:P,registerLabel:F,goToOption:$,closeCombobox:L,openCombobox:W,selectActiveOption:s,selectOption:B}),[]),Te=a===null?{}:{ref:a},z=React$1.useRef(null),me=p$9();return React$1.useEffect(()=>{z.current&&r!==void 0&&me.addEventListener(z.current,"reset",()=>{g==null||g(r);});},[z,g]),React$1.createElement(le$1.Provider,{value:te},React$1.createElement(ie$2.Provider,{value:p},React$1.createElement(c$e,{value:u$6(p.comboboxState,{[0]:d$f.Open,[1]:d$f.Closed})},n!=null&&f!=null&&e$1({[n]:f}).map(([u,T],v)=>React$1.createElement(c$f,{features:p$7.Hidden,ref:v===0?q=>{var ue;z.current=(ue=q==null?void 0:q.closest("form"))!=null?ue:null;}:void 0,...R({key:u,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:b,name:u,value:T})})),X$2({ourProps:Te,theirProps:C,slot:E,defaultTag:je$2,name:"Combobox"}))))}let Ke$2="input";function We$2(t,a){var p,y,E,B;let e=I$2(),{id:r=`headlessui-combobox-input-${e}`,onChange:l,displayValue:b,type:n="text",...d}=t,o=J$1("Combobox.Input"),i=Z$2("Combobox.Input"),A=y$3(o.inputRef,a),O=n$a(o.inputRef),C=React$1.useRef(!1),f=p$9(),g=o$d(()=>{i.onChange(null),o.optionsRef.current&&(o.optionsRef.current.scrollTop=0),i.goToOption(a$e.Nothing);}),m=function(){var s;return typeof b=="function"&&o.value!==void 0?(s=b(o.value))!=null?s:"":typeof o.value=="string"?o.value:""}();m$a(([s,W],[L,$])=>{if(C.current)return;let P=o.inputRef.current;P&&(($===0&&W===1||s!==L)&&(P.value=s),requestAnimationFrame(()=>{if(C.current||!P||(O==null?void 0:O.activeElement)!==P)return;let{selectionStart:F,selectionEnd:V}=P;Math.abs((V!=null?V:0)-(F!=null?F:0))===0&&F===0&&P.setSelectionRange(P.value.length,P.value.length);}));},[m,o.comboboxState,O]),m$a(([s],[W])=>{if(s===0&&W===1){if(C.current)return;let L=o.inputRef.current;if(!L)return;let $=L.value,{selectionStart:P,selectionEnd:F,selectionDirection:V}=L;L.value="",L.value=$,V!==null?L.setSelectionRange(P,F,V):L.setSelectionRange(P,F);}},[o.comboboxState]);let c=React$1.useRef(!1),D=o$d(()=>{c.current=!0;}),_=o$d(()=>{f.nextFrame(()=>{c.current=!1;});}),w=o$d(s=>{switch(C.current=!0,s.key){case o$a.Enter:if(C.current=!1,o.comboboxState!==0||c.current)return;if(s.preventDefault(),s.stopPropagation(),o.activeOptionIndex===null){i.closeCombobox();return}i.selectActiveOption(),o.mode===0&&i.closeCombobox();break;case o$a.ArrowDown:return C.current=!1,s.preventDefault(),s.stopPropagation(),u$6(o.comboboxState,{[0]:()=>{i.goToOption(a$e.Next);},[1]:()=>{i.openCombobox();}});case o$a.ArrowUp:return C.current=!1,s.preventDefault(),s.stopPropagation(),u$6(o.comboboxState,{[0]:()=>{i.goToOption(a$e.Previous);},[1]:()=>{i.openCombobox(),f.nextFrame(()=>{o.value||i.goToOption(a$e.Last);});}});case o$a.Home:if(s.shiftKey)break;return C.current=!1,s.preventDefault(),s.stopPropagation(),i.goToOption(a$e.First);case o$a.PageUp:return C.current=!1,s.preventDefault(),s.stopPropagation(),i.goToOption(a$e.First);case o$a.End:if(s.shiftKey)break;return C.current=!1,s.preventDefault(),s.stopPropagation(),i.goToOption(a$e.Last);case o$a.PageDown:return C.current=!1,s.preventDefault(),s.stopPropagation(),i.goToOption(a$e.Last);case o$a.Escape:return C.current=!1,o.comboboxState!==0?void 0:(s.preventDefault(),o.optionsRef.current&&!o.optionsPropsRef.current.static&&s.stopPropagation(),o.nullable&&o.mode===0&&o.value===null&&g(),i.closeCombobox());case o$a.Tab:if(C.current=!1,o.comboboxState!==0)return;o.mode===0&&i.selectActiveOption(),i.closeCombobox();break}}),U=o$d(s=>{l==null||l(s),o.nullable&&o.mode===0&&s.target.value===""&&g(),i.openCombobox();}),N=o$d(()=>{C.current=!1;}),K=i$f(()=>{if(o.labelId)return [o.labelId].join(" ")},[o.labelId]),h=React$1.useMemo(()=>({open:o.comboboxState===0,disabled:o.disabled}),[o]),H={ref:A,id:r,role:"combobox",type:n,"aria-controls":(p=o.optionsRef.current)==null?void 0:p.id,"aria-expanded":o.comboboxState===0,"aria-activedescendant":o.activeOptionIndex===null||(y=o.options[o.activeOptionIndex])==null?void 0:y.id,"aria-labelledby":K,"aria-autocomplete":"list",defaultValue:(B=(E=t.defaultValue)!=null?E:o.defaultValue!==void 0?b==null?void 0:b(o.defaultValue):null)!=null?B:o.defaultValue,disabled:o.disabled,onCompositionStart:D,onCompositionEnd:_,onKeyDown:w,onChange:U,onBlur:N};return X$2({ourProps:H,theirProps:d,slot:h,defaultTag:Ke$2,name:"Combobox.Input"})}let $e$2="button";function qe$2(t,a){var g;let e=J$1("Combobox.Button"),r=Z$2("Combobox.Button"),l=y$3(e.buttonRef,a),b=I$2(),{id:n=`headlessui-combobox-button-${b}`,...d}=t,o=p$9(),i=o$d(m=>{switch(m.key){case o$a.ArrowDown:return m.preventDefault(),m.stopPropagation(),e.comboboxState===1&&r.openCombobox(),o.nextFrame(()=>{var c;return (c=e.inputRef.current)==null?void 0:c.focus({preventScroll:!0})});case o$a.ArrowUp:return m.preventDefault(),m.stopPropagation(),e.comboboxState===1&&(r.openCombobox(),o.nextFrame(()=>{e.value||r.goToOption(a$e.Last);})),o.nextFrame(()=>{var c;return (c=e.inputRef.current)==null?void 0:c.focus({preventScroll:!0})});case o$a.Escape:return e.comboboxState!==0?void 0:(m.preventDefault(),e.optionsRef.current&&!e.optionsPropsRef.current.static&&m.stopPropagation(),r.closeCombobox(),o.nextFrame(()=>{var c;return (c=e.inputRef.current)==null?void 0:c.focus({preventScroll:!0})}));default:return}}),A=o$d(m=>{if(r$d(m.currentTarget))return m.preventDefault();e.comboboxState===0?r.closeCombobox():(m.preventDefault(),r.openCombobox()),o.nextFrame(()=>{var c;return (c=e.inputRef.current)==null?void 0:c.focus({preventScroll:!0})});}),O=i$f(()=>{if(e.labelId)return [e.labelId,n].join(" ")},[e.labelId,n]),C=React$1.useMemo(()=>({open:e.comboboxState===0,disabled:e.disabled,value:e.value}),[e]),f={ref:l,id:n,type:s$d(t,e.buttonRef),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":(g=e.optionsRef.current)==null?void 0:g.id,"aria-expanded":e.comboboxState===0,"aria-labelledby":O,disabled:e.disabled,onClick:A,onKeyDown:i};return X$2({ourProps:f,theirProps:d,slot:C,defaultTag:$e$2,name:"Combobox.Button"})}let Qe$2="label";function Ye$2(t,a){let e=I$2(),{id:r=`headlessui-combobox-label-${e}`,...l}=t,b=J$1("Combobox.Label"),n=Z$2("Combobox.Label"),d=y$3(b.labelRef,a);l$f(()=>n.registerLabel(r),[r]);let o=o$d(()=>{var O;return (O=b.inputRef.current)==null?void 0:O.focus({preventScroll:!0})}),i=React$1.useMemo(()=>({open:b.comboboxState===0,disabled:b.disabled}),[b]);return X$2({ourProps:{ref:d,id:r,onClick:o},theirProps:l,slot:i,defaultTag:Qe$2,name:"Combobox.Label"})}let Ze$2="ul",ze$3=S$2.RenderStrategy|S$2.Static;function eo(t,a){let e=I$2(),{id:r=`headlessui-combobox-options-${e}`,hold:l=!1,...b}=t,n=J$1("Combobox.Options"),d=y$3(n.optionsRef,a),o=C$2(),i=(()=>o!==null?(o&d$f.Open)===d$f.Open:n.comboboxState===0)();l$f(()=>{var f;n.optionsPropsRef.current.static=(f=t.static)!=null?f:!1;},[n.optionsPropsRef,t.static]),l$f(()=>{n.optionsPropsRef.current.hold=l;},[n.optionsPropsRef,l]),F$1({container:n.optionsRef.current,enabled:n.comboboxState===0,accept(f){return f.getAttribute("role")==="option"?NodeFilter.FILTER_REJECT:f.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(f){f.setAttribute("role","none");}});let A=i$f(()=>{var f,g;return (g=n.labelId)!=null?g:(f=n.buttonRef.current)==null?void 0:f.id},[n.labelId,n.buttonRef.current]),O=React$1.useMemo(()=>({open:n.comboboxState===0}),[n]),C={"aria-labelledby":A,role:"listbox","aria-multiselectable":n.mode===1?!0:void 0,id:r,ref:d};return X$2({ourProps:C,theirProps:b,slot:O,defaultTag:Ze$2,features:ze$3,visible:i,name:"Combobox.Options"})}let oo="li";function to(t,a){var H,p;let e=I$2(),{id:r=`headlessui-combobox-option-${e}`,disabled:l=!1,value:b,...n}=t,d=J$1("Combobox.Option"),o=Z$2("Combobox.Option"),i=d.activeOptionIndex!==null?d.options[d.activeOptionIndex].id===r:!1,A=d.isSelected(b),O=React$1.useRef(null),C=s$g({disabled:l,value:b,domRef:O,textValue:(p=(H=O.current)==null?void 0:H.textContent)==null?void 0:p.toLowerCase()}),f=y$3(a,O),g=o$d(()=>o.selectOption(r));l$f(()=>o.registerOption(r,C),[C,r]);let m=React$1.useRef(!d.__demoMode);l$f(()=>{if(!d.__demoMode)return;let y=o$e();return y.requestAnimationFrame(()=>{m.current=!0;}),y.dispose},[]),l$f(()=>{if(d.comboboxState!==0||!i||!m.current||d.activationTrigger===0)return;let y=o$e();return y.requestAnimationFrame(()=>{var E,B;(B=(E=O.current)==null?void 0:E.scrollIntoView)==null||B.call(E,{block:"nearest"});}),y.dispose},[O,i,d.comboboxState,d.activationTrigger,d.activeOptionIndex]);let c=o$d(y=>{if(l)return y.preventDefault();g(),d.mode===0&&o.closeCombobox(),n$b()||requestAnimationFrame(()=>{var E;return (E=d.inputRef.current)==null?void 0:E.focus()});}),D=o$d(()=>{if(l)return o.goToOption(a$e.Nothing);o.goToOption(a$e.Specific,r);}),_=u$4(),w=o$d(y=>_.update(y)),U=o$d(y=>{_.wasMoved(y)&&(l||i||o.goToOption(a$e.Specific,r,0));}),N=o$d(y=>{_.wasMoved(y)&&(l||i&&(d.optionsPropsRef.current.hold||o.goToOption(a$e.Nothing)));}),K=React$1.useMemo(()=>({active:i,selected:A,disabled:l}),[i,A,l]);return X$2({ourProps:{id:r,ref:f,role:"option",tabIndex:l===!0?void 0:-1,"aria-disabled":l===!0?!0:void 0,"aria-selected":A,disabled:void 0,onClick:c,onFocus:D,onPointerEnter:w,onMouseEnter:w,onPointerMove:U,onMouseMove:U,onPointerLeave:N,onMouseLeave:N},theirProps:n,slot:K,defaultTag:oo,name:"Combobox.Option"})}let no=D$1(Je$2),ro=D$1(qe$2),ao=D$1(We$2),lo=D$1(Ye$2),io=D$1(eo),uo=D$1(to),qo=Object.assign(no,{Input:ao,Button:ro,Label:lo,Options:io,Option:uo});
64770
64770
 
64771
64771
  var s$b=(r=>(r[r.Forwards=0]="Forwards",r[r.Backwards=1]="Backwards",r))(s$b||{});function n$9(){let e=React$1.useRef(0);return s$e("keydown",o=>{o.key==="Tab"&&(e.current=o.shiftKey?1:0);},!0),e}
64772
64772
 
64773
64773
  function f$6(){let e=React$1.useRef(!1);return l$f(()=>(e.current=!0,()=>{e.current=!1;}),[]),e}
64774
64774
 
64775
- function E$1(n,e,a,t){let i=s$g(a);React$1.useEffect(()=>{n=n!=null?n:window;function r(o){i.current(o);}return n.addEventListener(e,r,t),()=>n.removeEventListener(e,r,t)},[n,e,t]);}
64775
+ function E(n,e,a,t){let i=s$g(a);React$1.useEffect(()=>{n=n!=null?n:window;function r(o){i.current(o);}return n.addEventListener(e,r,t),()=>n.removeEventListener(e,r,t)},[n,e,t]);}
64776
64776
 
64777
64777
  function c$d(t){let r=o$d(t),e=React$1.useRef(!1);React$1.useEffect(()=>(e.current=!1,()=>{e.current=!0,t$9(()=>{e.current&&r();});}),[r]);}
64778
64778
 
64779
64779
  let e=React$1.createContext(!1);function l$d(){return React$1.useContext(e)}
64780
64780
 
64781
- function F(p){let l=l$d(),n=React$1.useContext(v$3),e=n$a(p),[a,o]=React$1.useState(()=>{if(!l&&n!==null||s$h.isServer)return null;let t=e==null?void 0:e.getElementById("headlessui-portal-root");if(t)return t;if(e===null)return null;let r=e.createElement("div");return r.setAttribute("id","headlessui-portal-root"),e.body.appendChild(r)});return React$1.useEffect(()=>{a!==null&&(e!=null&&e.body.contains(a)||e==null||e.body.appendChild(a));},[a,e]),React$1.useEffect(()=>{l||n!==null&&o(n.current);},[n,o,l]),a}let U$1=React$1.Fragment;function N(p,l){let n=p,e=React$1.useRef(null),a=y$3(T$1(u=>{e.current=u;}),l),o=n$a(e),t=F(e),[r]=React$1.useState(()=>{var u;return s$h.isServer?null:(u=o==null?void 0:o.createElement("div"))!=null?u:null}),i=React$1.useContext(f$5),C=l$e();return l$f(()=>{!t||!r||t.contains(r)||(r.setAttribute("data-headlessui-portal",""),t.appendChild(r));},[t,r]),l$f(()=>{if(r&&i)return i.register(r)},[i,r]),c$d(()=>{var u;!t||!r||(r instanceof Node&&t.contains(r)&&t.removeChild(r),t.childNodes.length<=0&&((u=t.parentElement)==null||u.removeChild(t)));}),C?!t||!r?null:ReactDOM.createPortal(X$2({ourProps:{ref:a},theirProps:n,defaultTag:U$1,name:"Portal"}),r):null}let S$1=React$1.Fragment,v$3=React$1.createContext(null);function j$1(p,l){let{target:n,...e}=p,o={ref:y$3(l)};return React$1.createElement(v$3.Provider,{value:n},X$2({ourProps:o,theirProps:e,defaultTag:S$1,name:"Popover.Group"}))}let f$5=React$1.createContext(null);function ae(){let p=React$1.useContext(f$5),l=React$1.useRef([]),n=o$d(o=>(l.current.push(o),p&&p.register(o),()=>e(o))),e=o$d(o=>{let t=l.current.indexOf(o);t!==-1&&l.current.splice(t,1),p&&p.unregister(o);}),a=React$1.useMemo(()=>({register:n,unregister:e,portals:l}),[n,e,l]);return [l,React$1.useMemo(()=>function({children:t}){return React$1.createElement(f$5.Provider,{value:a},t)},[a])]}let D=D$1(N),I=D$1(j$1);Object.assign(D,{Group:I});
64781
+ function F(p){let l=l$d(),n=React$1.useContext(v$3),e=n$a(p),[a,o]=React$1.useState(()=>{if(!l&&n!==null||s$h.isServer)return null;let t=e==null?void 0:e.getElementById("headlessui-portal-root");if(t)return t;if(e===null)return null;let r=e.createElement("div");return r.setAttribute("id","headlessui-portal-root"),e.body.appendChild(r)});return React$1.useEffect(()=>{a!==null&&(e!=null&&e.body.contains(a)||e==null||e.body.appendChild(a));},[a,e]),React$1.useEffect(()=>{l||n!==null&&o(n.current);},[n,o,l]),a}let U$1=React$1.Fragment;function N(p,l){let n=p,e=React$1.useRef(null),a=y$3(T$2(u=>{e.current=u;}),l),o=n$a(e),t=F(e),[r]=React$1.useState(()=>{var u;return s$h.isServer?null:(u=o==null?void 0:o.createElement("div"))!=null?u:null}),i=React$1.useContext(f$5),C=l$e();return l$f(()=>{!t||!r||t.contains(r)||(r.setAttribute("data-headlessui-portal",""),t.appendChild(r));},[t,r]),l$f(()=>{if(r&&i)return i.register(r)},[i,r]),c$d(()=>{var u;!t||!r||(r instanceof Node&&t.contains(r)&&t.removeChild(r),t.childNodes.length<=0&&((u=t.parentElement)==null||u.removeChild(t)));}),C?!t||!r?null:ReactDOM.createPortal(X$2({ourProps:{ref:a},theirProps:n,defaultTag:U$1,name:"Portal"}),r):null}let S$1=React$1.Fragment,v$3=React$1.createContext(null);function j$1(p,l){let{target:n,...e}=p,o={ref:y$3(l)};return React$1.createElement(v$3.Provider,{value:n},X$2({ourProps:o,theirProps:e,defaultTag:S$1,name:"Popover.Group"}))}let f$5=React$1.createContext(null);function ae(){let p=React$1.useContext(f$5),l=React$1.useRef([]),n=o$d(o=>(l.current.push(o),p&&p.register(o),()=>e(o))),e=o$d(o=>{let t=l.current.indexOf(o);t!==-1&&l.current.splice(t,1),p&&p.unregister(o);}),a=React$1.useMemo(()=>({register:n,unregister:e,portals:l}),[n,e,l]);return [l,React$1.useMemo(()=>function({children:t}){return React$1.createElement(f$5.Provider,{value:a},t)},[a])]}let D=D$1(N),I=D$1(j$1);Object.assign(D,{Group:I});
64782
64782
 
64783
- let d$f=React$1.createContext(null);function f$4(){let r=React$1.useContext(d$f);if(r===null){let t=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,f$4),t}return r}function M$3(){let[r,t]=React$1.useState([]);return [r.length>0?r.join(" "):void 0,React$1.useMemo(()=>function(e){let i=o$d(s=>(t(o=>[...o,s]),()=>t(o=>{let p=o.slice(),c=p.indexOf(s);return c!==-1&&p.splice(c,1),p}))),n=React$1.useMemo(()=>({register:i,slot:e.slot,name:e.name,props:e.props}),[i,e.slot,e.name,e.props]);return React$1.createElement(d$f.Provider,{value:n},e.children)},[t])]}let S="p";function h$1(r,t){let a=I$2(),{id:e=`headlessui-description-${a}`,...i}=r,n=f$4(),s=y$3(t);l$f(()=>n.register(e),[e,n.register]);let o={ref:s,...n.props,id:e};return X$2({ourProps:o,theirProps:i,slot:n.slot||{},defaultTag:S,name:n.name||"Description"})}let y$2=D$1(h$1),b$5=Object.assign(y$2,{});
64783
+ let d$e=React$1.createContext(null);function f$4(){let r=React$1.useContext(d$e);if(r===null){let t=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,f$4),t}return r}function M$3(){let[r,t]=React$1.useState([]);return [r.length>0?r.join(" "):void 0,React$1.useMemo(()=>function(e){let i=o$d(s=>(t(o=>[...o,s]),()=>t(o=>{let p=o.slice(),c=p.indexOf(s);return c!==-1&&p.splice(c,1),p}))),n=React$1.useMemo(()=>({register:i,slot:e.slot,name:e.name,props:e.props}),[i,e.slot,e.name,e.props]);return React$1.createElement(d$e.Provider,{value:n},e.children)},[t])]}let S="p";function h$1(r,t){let a=I$2(),{id:e=`headlessui-description-${a}`,...i}=r,n=f$4(),s=y$3(t);l$f(()=>n.register(e),[e,n.register]);let o={ref:s,...n.props,id:e};return X$2({ourProps:o,theirProps:i,slot:n.slot||{},defaultTag:S,name:n.name||"Description"})}let y$2=D$1(h$1),b$5=Object.assign(y$2,{});
64784
64784
 
64785
64785
  function j({defaultContainers:t=[],portals:r,mainTreeNodeRef:u}={}){var c;let o=React$1.useRef((c=u==null?void 0:u.current)!=null?c:null),l=n$a(o),f=o$d(()=>{var i;let n=[];for(let e of t)e!==null&&(e instanceof HTMLElement?n.push(e):"current"in e&&e.current instanceof HTMLElement&&n.push(e.current));if(r!=null&&r.current)for(let e of r.current)n.push(e);for(let e of (i=l==null?void 0:l.querySelectorAll("html > *, body > *"))!=null?i:[])e!==document.body&&e!==document.head&&e instanceof HTMLElement&&e.id!=="headlessui-portal-root"&&(e.contains(o.current)||n.some(T=>e.contains(T))||n.push(e));return n});return {resolveContainers:f,contains:o$d(n=>f().some(i=>i.contains(n))),mainTreeNodeRef:o,MainTreeNode:React$1.useMemo(()=>function(){return u!=null?null:React$1.createElement(c$f,{features:p$7.Hidden,ref:o})},[o,u])}}function y$1(){let t=React$1.useRef(null);return {mainTreeNodeRef:t,MainTreeNode:React$1.useMemo(()=>function(){return React$1.createElement(c$f,{features:p$7.Hidden,ref:t})},[t])}}
64786
64786
 
64787
64787
  var t$5;let a$c=(t$5=React$1.startTransition)!=null?t$5:function(i){i();};
64788
64788
 
64789
- var q$2=(o=>(o[o.Open=0]="Open",o[o.Closed=1]="Closed",o))(q$2||{}),z$1=(t=>(t[t.ToggleDisclosure=0]="ToggleDisclosure",t[t.CloseDisclosure=1]="CloseDisclosure",t[t.SetButtonId=2]="SetButtonId",t[t.SetPanelId=3]="SetPanelId",t[t.LinkPanel=4]="LinkPanel",t[t.UnlinkPanel=5]="UnlinkPanel",t))(z$1||{});let Q={[0]:e=>({...e,disclosureState:u$7(e.disclosureState,{[0]:1,[1]:0})}),[1]:e=>e.disclosureState===1?e:{...e,disclosureState:1},[4](e){return e.linkedPanel===!0?e:{...e,linkedPanel:!0}},[5](e){return e.linkedPanel===!1?e:{...e,linkedPanel:!1}},[2](e,n){return e.buttonId===n.buttonId?e:{...e,buttonId:n.buttonId}},[3](e,n){return e.panelId===n.panelId?e:{...e,panelId:n.panelId}}},k$2=React$1.createContext(null);k$2.displayName="DisclosureContext";function M$2(e){let n=React$1.useContext(k$2);if(n===null){let o=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,M$2),o}return n}let v$2=React$1.createContext(null);v$2.displayName="DisclosureAPIContext";function w$2(e){let n=React$1.useContext(v$2);if(n===null){let o=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,w$2),o}return n}let H$1=React$1.createContext(null);H$1.displayName="DisclosurePanelContext";function V(){return React$1.useContext(H$1)}function Y$1(e,n){return u$7(n.type,Q,e,n)}let Z$1=React$1.Fragment;function ee$1(e,n){let{defaultOpen:o=!1,...u}=e,T=React$1.useRef(null),l=y$3(n,T$1(a=>{T.current=a;},e.as===void 0||e.as===React$1.Fragment)),t=React$1.useRef(null),f=React$1.useRef(null),s=React$1.useReducer(Y$1,{disclosureState:o?0:1,linkedPanel:!1,buttonRef:f,panelRef:t,buttonId:null,panelId:null}),[{disclosureState:i,buttonId:c},D]=s,d=o$d(a=>{D({type:1});let r=e$2(T);if(!r||!c)return;let p=(()=>a?a instanceof HTMLElement?a:a.current instanceof HTMLElement?a.current:r.getElementById(c):r.getElementById(c))();p==null||p.focus();}),P=React$1.useMemo(()=>({close:d}),[d]),b=React$1.useMemo(()=>({open:i===0,close:d}),[i,d]),y={ref:l};return React$1.createElement(k$2.Provider,{value:s},React$1.createElement(v$2.Provider,{value:P},React$1.createElement(c$e,{value:u$7(i,{[0]:d$g.Open,[1]:d$g.Closed})},X$2({ourProps:y,theirProps:u,slot:b,defaultTag:Z$1,name:"Disclosure"}))))}let te$1="button";function ne$1(e,n){let o=I$2(),{id:u=`headlessui-disclosure-button-${o}`,...T}=e,[l,t]=M$2("Disclosure.Button"),f=V(),s=f===null?!1:f===l.panelId,i=React$1.useRef(null),c=y$3(i,n,s?null:l.buttonRef);React$1.useEffect(()=>{if(!s)return t({type:2,buttonId:u}),()=>{t({type:2,buttonId:null});}},[u,t,s]);let D=o$d(r=>{var p;if(s){if(l.disclosureState===1)return;switch(r.key){case o$a.Space:case o$a.Enter:r.preventDefault(),r.stopPropagation(),t({type:0}),(p=l.buttonRef.current)==null||p.focus();break}}else switch(r.key){case o$a.Space:case o$a.Enter:r.preventDefault(),r.stopPropagation(),t({type:0});break}}),d=o$d(r=>{switch(r.key){case o$a.Space:r.preventDefault();break}}),P=o$d(r=>{var p;r$d(r.currentTarget)||e.disabled||(s?(t({type:0}),(p=l.buttonRef.current)==null||p.focus()):t({type:0}));}),b=React$1.useMemo(()=>({open:l.disclosureState===0}),[l]),y=s$d(e,i),a=s?{ref:c,type:y,onKeyDown:D,onClick:P}:{ref:c,id:u,type:y,"aria-expanded":l.disclosureState===0,"aria-controls":l.linkedPanel?l.panelId:void 0,onKeyDown:D,onKeyUp:d,onClick:P};return X$2({ourProps:a,theirProps:T,slot:b,defaultTag:te$1,name:"Disclosure.Button"})}let le="div",oe$1=S$2.RenderStrategy|S$2.Static;function re$2(e,n){let o=I$2(),{id:u=`headlessui-disclosure-panel-${o}`,...T}=e,[l,t]=M$2("Disclosure.Panel"),{close:f}=w$2("Disclosure.Panel"),s=y$3(n,l.panelRef,P=>{a$c(()=>t({type:P?4:5}));});React$1.useEffect(()=>(t({type:3,panelId:u}),()=>{t({type:3,panelId:null});}),[u,t]);let i=C$2(),c=(()=>i!==null?(i&d$g.Open)===d$g.Open:l.disclosureState===0)(),D=React$1.useMemo(()=>({open:l.disclosureState===0,close:f}),[l,f]),d={ref:s,id:u};return React$1.createElement(H$1.Provider,{value:l.panelId},X$2({ourProps:d,theirProps:T,slot:D,defaultTag:le,features:oe$1,visible:c,name:"Disclosure.Panel"}))}let se=D$1(ee$1),ue$2=D$1(ne$1),ie$1=D$1(re$2),ve=Object.assign(se,{Button:ue$2,Panel:ie$1});
64789
+ var q$2=(o=>(o[o.Open=0]="Open",o[o.Closed=1]="Closed",o))(q$2||{}),z$1=(t=>(t[t.ToggleDisclosure=0]="ToggleDisclosure",t[t.CloseDisclosure=1]="CloseDisclosure",t[t.SetButtonId=2]="SetButtonId",t[t.SetPanelId=3]="SetPanelId",t[t.LinkPanel=4]="LinkPanel",t[t.UnlinkPanel=5]="UnlinkPanel",t))(z$1||{});let Q={[0]:e=>({...e,disclosureState:u$6(e.disclosureState,{[0]:1,[1]:0})}),[1]:e=>e.disclosureState===1?e:{...e,disclosureState:1},[4](e){return e.linkedPanel===!0?e:{...e,linkedPanel:!0}},[5](e){return e.linkedPanel===!1?e:{...e,linkedPanel:!1}},[2](e,n){return e.buttonId===n.buttonId?e:{...e,buttonId:n.buttonId}},[3](e,n){return e.panelId===n.panelId?e:{...e,panelId:n.panelId}}},k$2=React$1.createContext(null);k$2.displayName="DisclosureContext";function M$2(e){let n=React$1.useContext(k$2);if(n===null){let o=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,M$2),o}return n}let v$2=React$1.createContext(null);v$2.displayName="DisclosureAPIContext";function w$2(e){let n=React$1.useContext(v$2);if(n===null){let o=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,w$2),o}return n}let H$1=React$1.createContext(null);H$1.displayName="DisclosurePanelContext";function V(){return React$1.useContext(H$1)}function Y$1(e,n){return u$6(n.type,Q,e,n)}let Z$1=React$1.Fragment;function ee$1(e,n){let{defaultOpen:o=!1,...u}=e,T=React$1.useRef(null),l=y$3(n,T$2(a=>{T.current=a;},e.as===void 0||e.as===React$1.Fragment)),t=React$1.useRef(null),f=React$1.useRef(null),s=React$1.useReducer(Y$1,{disclosureState:o?0:1,linkedPanel:!1,buttonRef:f,panelRef:t,buttonId:null,panelId:null}),[{disclosureState:i,buttonId:c},D]=s,d=o$d(a=>{D({type:1});let r=e$2(T);if(!r||!c)return;let p=(()=>a?a instanceof HTMLElement?a:a.current instanceof HTMLElement?a.current:r.getElementById(c):r.getElementById(c))();p==null||p.focus();}),P=React$1.useMemo(()=>({close:d}),[d]),b=React$1.useMemo(()=>({open:i===0,close:d}),[i,d]),y={ref:l};return React$1.createElement(k$2.Provider,{value:s},React$1.createElement(v$2.Provider,{value:P},React$1.createElement(c$e,{value:u$6(i,{[0]:d$f.Open,[1]:d$f.Closed})},X$2({ourProps:y,theirProps:u,slot:b,defaultTag:Z$1,name:"Disclosure"}))))}let te$1="button";function ne$1(e,n){let o=I$2(),{id:u=`headlessui-disclosure-button-${o}`,...T}=e,[l,t]=M$2("Disclosure.Button"),f=V(),s=f===null?!1:f===l.panelId,i=React$1.useRef(null),c=y$3(i,n,s?null:l.buttonRef);React$1.useEffect(()=>{if(!s)return t({type:2,buttonId:u}),()=>{t({type:2,buttonId:null});}},[u,t,s]);let D=o$d(r=>{var p;if(s){if(l.disclosureState===1)return;switch(r.key){case o$a.Space:case o$a.Enter:r.preventDefault(),r.stopPropagation(),t({type:0}),(p=l.buttonRef.current)==null||p.focus();break}}else switch(r.key){case o$a.Space:case o$a.Enter:r.preventDefault(),r.stopPropagation(),t({type:0});break}}),d=o$d(r=>{switch(r.key){case o$a.Space:r.preventDefault();break}}),P=o$d(r=>{var p;r$d(r.currentTarget)||e.disabled||(s?(t({type:0}),(p=l.buttonRef.current)==null||p.focus()):t({type:0}));}),b=React$1.useMemo(()=>({open:l.disclosureState===0}),[l]),y=s$d(e,i),a=s?{ref:c,type:y,onKeyDown:D,onClick:P}:{ref:c,id:u,type:y,"aria-expanded":l.disclosureState===0,"aria-controls":l.linkedPanel?l.panelId:void 0,onKeyDown:D,onKeyUp:d,onClick:P};return X$2({ourProps:a,theirProps:T,slot:b,defaultTag:te$1,name:"Disclosure.Button"})}let le="div",oe$1=S$2.RenderStrategy|S$2.Static;function re$2(e,n){let o=I$2(),{id:u=`headlessui-disclosure-panel-${o}`,...T}=e,[l,t]=M$2("Disclosure.Panel"),{close:f}=w$2("Disclosure.Panel"),s=y$3(n,l.panelRef,P=>{a$c(()=>t({type:P?4:5}));});React$1.useEffect(()=>(t({type:3,panelId:u}),()=>{t({type:3,panelId:null});}),[u,t]);let i=C$2(),c=(()=>i!==null?(i&d$f.Open)===d$f.Open:l.disclosureState===0)(),D=React$1.useMemo(()=>({open:l.disclosureState===0,close:f}),[l,f]),d={ref:s,id:u};return React$1.createElement(H$1.Provider,{value:l.panelId},X$2({ourProps:d,theirProps:T,slot:D,defaultTag:le,features:oe$1,visible:c,name:"Disclosure.Panel"}))}let se=D$1(ee$1),ue$2=D$1(ne$1),ie$1=D$1(re$2),ve=Object.assign(se,{Button:ue$2,Panel:ie$1});
64790
64790
 
64791
64791
  let a$b=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function o$9(e){var r,i;let n=(r=e.innerText)!=null?r:"",t=e.cloneNode(!0);if(!(t instanceof HTMLElement))return n;let u=!1;for(let f of t.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))f.remove(),u=!0;let l=u?(i=t.innerText)!=null?i:"":n;return a$b.test(l)&&(l=l.replace(a$b,"")),l}function g$6(e){let n=e.getAttribute("aria-label");if(typeof n=="string")return n.trim();let t=e.getAttribute("aria-labelledby");if(t){let u=t.split(" ").map(l=>{let r=document.getElementById(l);if(r){let i=r.getAttribute("aria-label");return typeof i=="string"?i.trim():o$9(r).trim()}return null}).filter(Boolean);if(u.length>0)return u.join(", ")}return o$9(e).trim()}
64792
64792
 
64793
64793
  function b$4(c){let t=React$1.useRef(""),r=React$1.useRef("");return o$d(()=>{let e=c.current;if(!e)return "";let u=e.innerText;if(t.current===u)return r.current;let n=g$6(e).trim().toLowerCase();return t.current=u,r.current=n,n})}
64794
64794
 
64795
- var Be=(n=>(n[n.Open=0]="Open",n[n.Closed=1]="Closed",n))(Be||{}),He$2=(n=>(n[n.Single=0]="Single",n[n.Multi=1]="Multi",n))(He$2||{}),Ge$2=(n=>(n[n.Pointer=0]="Pointer",n[n.Other=1]="Other",n))(Ge$2||{}),Ne$2=(i=>(i[i.OpenListbox=0]="OpenListbox",i[i.CloseListbox=1]="CloseListbox",i[i.GoToOption=2]="GoToOption",i[i.Search=3]="Search",i[i.ClearSearch=4]="ClearSearch",i[i.RegisterOption=5]="RegisterOption",i[i.UnregisterOption=6]="UnregisterOption",i[i.RegisterLabel=7]="RegisterLabel",i))(Ne$2||{});function z(e,a=n=>n){let n=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,r=I$1(a(e.options.slice()),t=>t.dataRef.current.domRef.current),l=n?r.indexOf(n):null;return l===-1&&(l=null),{options:r,activeOptionIndex:l}}let je$1={[1](e){return e.dataRef.current.disabled||e.listboxState===1?e:{...e,activeOptionIndex:null,listboxState:1}},[0](e){if(e.dataRef.current.disabled||e.listboxState===0)return e;let a=e.activeOptionIndex,{isSelected:n}=e.dataRef.current,r=e.options.findIndex(l=>n(l.dataRef.current.value));return r!==-1&&(a=r),{...e,listboxState:0,activeOptionIndex:a}},[2](e,a){var l;if(e.dataRef.current.disabled||e.listboxState===1)return e;let n=z(e),r=x$1(a,{resolveItems:()=>n.options,resolveActiveIndex:()=>n.activeOptionIndex,resolveId:t=>t.id,resolveDisabled:t=>t.dataRef.current.disabled});return {...e,...n,searchQuery:"",activeOptionIndex:r,activationTrigger:(l=a.trigger)!=null?l:1}},[3]:(e,a)=>{if(e.dataRef.current.disabled||e.listboxState===1)return e;let r=e.searchQuery!==""?0:1,l=e.searchQuery+a.value.toLowerCase(),p=(e.activeOptionIndex!==null?e.options.slice(e.activeOptionIndex+r).concat(e.options.slice(0,e.activeOptionIndex+r)):e.options).find(i=>{var b;return !i.dataRef.current.disabled&&((b=i.dataRef.current.textValue)==null?void 0:b.startsWith(l))}),u=p?e.options.indexOf(p):-1;return u===-1||u===e.activeOptionIndex?{...e,searchQuery:l}:{...e,searchQuery:l,activeOptionIndex:u,activationTrigger:1}},[4](e){return e.dataRef.current.disabled||e.listboxState===1||e.searchQuery===""?e:{...e,searchQuery:""}},[5]:(e,a)=>{let n={id:a.id,dataRef:a.dataRef},r=z(e,l=>[...l,n]);return e.activeOptionIndex===null&&e.dataRef.current.isSelected(a.dataRef.current.value)&&(r.activeOptionIndex=r.options.indexOf(n)),{...e,...r}},[6]:(e,a)=>{let n=z(e,r=>{let l=r.findIndex(t=>t.id===a.id);return l!==-1&&r.splice(l,1),r});return {...e,...n,activationTrigger:1}},[7]:(e,a)=>({...e,labelId:a.id})},J=React$1.createContext(null);J.displayName="ListboxActionsContext";function _(e){let a=React$1.useContext(J);if(a===null){let n=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,_),n}return a}let q$1=React$1.createContext(null);q$1.displayName="ListboxDataContext";function U(e){let a=React$1.useContext(q$1);if(a===null){let n=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,U),n}return a}function Ve$1(e,a){return u$7(a.type,je$1,e,a)}let Ke$1=React$1.Fragment;function Qe$1(e,a){let{value:n,defaultValue:r,form:l,name:t,onChange:p,by:u=(s,c)=>s===c,disabled:i=!1,horizontal:b=!1,multiple:R$1=!1,...m}=e;const P=b?"horizontal":"vertical";let S=y$3(a),[L=R$1?[]:void 0,y]=T(n,p,r),[T$1,o]=React$1.useReducer(Ve$1,{dataRef:React$1.createRef(),listboxState:1,options:[],searchQuery:"",labelId:null,activeOptionIndex:null,activationTrigger:1}),x=React$1.useRef({static:!1,hold:!1}),E=React$1.useRef(null),B=React$1.useRef(null),W=React$1.useRef(null),C=o$d(typeof u=="string"?(s,c)=>{let O=u;return (s==null?void 0:s[O])===(c==null?void 0:c[O])}:u),A=React$1.useCallback(s=>u$7(d.mode,{[1]:()=>L.some(c=>C(c,s)),[0]:()=>C(L,s)}),[L]),d=React$1.useMemo(()=>({...T$1,value:L,disabled:i,mode:R$1?1:0,orientation:P,compare:C,isSelected:A,optionsPropsRef:x,labelRef:E,buttonRef:B,optionsRef:W}),[L,i,R$1,T$1]);l$f(()=>{T$1.dataRef.current=d;},[d]),h$2([d.buttonRef,d.optionsRef],(s,c)=>{var O;o({type:1}),h$3(c,T$2.Loose)||(s.preventDefault(),(O=d.buttonRef.current)==null||O.focus());},d.listboxState===0);let H=React$1.useMemo(()=>({open:d.listboxState===0,disabled:i,value:L}),[d,i,L]),ie=o$d(s=>{let c=d.options.find(O=>O.id===s);c&&X(c.dataRef.current.value);}),re=o$d(()=>{if(d.activeOptionIndex!==null){let{dataRef:s,id:c}=d.options[d.activeOptionIndex];X(s.current.value),o({type:2,focus:a$e.Specific,id:c});}}),ae=o$d(()=>o({type:0})),le=o$d(()=>o({type:1})),se=o$d((s,c,O)=>s===a$e.Specific?o({type:2,focus:a$e.Specific,id:c,trigger:O}):o({type:2,focus:s,trigger:O})),pe=o$d((s,c)=>(o({type:5,id:s,dataRef:c}),()=>o({type:6,id:s}))),ue=o$d(s=>(o({type:7,id:s}),()=>o({type:7,id:null}))),X=o$d(s=>u$7(d.mode,{[0](){return y==null?void 0:y(s)},[1](){let c=d.value.slice(),O=c.findIndex(F=>C(F,s));return O===-1?c.push(s):c.splice(O,1),y==null?void 0:y(c)}})),de=o$d(s=>o({type:3,value:s})),ce=o$d(()=>o({type:4})),fe=React$1.useMemo(()=>({onChange:X,registerOption:pe,registerLabel:ue,goToOption:se,closeListbox:le,openListbox:ae,selectActiveOption:re,selectOption:ie,search:de,clearSearch:ce}),[]),Te={ref:S},G=React$1.useRef(null),be=p$9();return React$1.useEffect(()=>{G.current&&r!==void 0&&be.addEventListener(G.current,"reset",()=>{y==null||y(r);});},[G,y]),React$1.createElement(J.Provider,{value:fe},React$1.createElement(q$1.Provider,{value:d},React$1.createElement(c$e,{value:u$7(d.listboxState,{[0]:d$g.Open,[1]:d$g.Closed})},t!=null&&L!=null&&e$1({[t]:L}).map(([s,c],O)=>React$1.createElement(c$f,{features:p$7.Hidden,ref:O===0?F=>{var Y;G.current=(Y=F==null?void 0:F.closest("form"))!=null?Y:null;}:void 0,...R({key:s,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:l,name:s,value:c})})),X$2({ourProps:Te,theirProps:m,slot:H,defaultTag:Ke$1,name:"Listbox"}))))}let We$2="button";function Xe$2(e,a){var y;let n=I$2(),{id:r=`headlessui-listbox-button-${n}`,...l}=e,t=U("Listbox.Button"),p=_("Listbox.Button"),u=y$3(t.buttonRef,a),i=p$9(),b=o$d(T=>{switch(T.key){case o$a.Space:case o$a.Enter:case o$a.ArrowDown:T.preventDefault(),p.openListbox(),i.nextFrame(()=>{t.value||p.goToOption(a$e.First);});break;case o$a.ArrowUp:T.preventDefault(),p.openListbox(),i.nextFrame(()=>{t.value||p.goToOption(a$e.Last);});break}}),R=o$d(T=>{switch(T.key){case o$a.Space:T.preventDefault();break}}),m=o$d(T=>{if(r$d(T.currentTarget))return T.preventDefault();t.listboxState===0?(p.closeListbox(),i.nextFrame(()=>{var o;return (o=t.buttonRef.current)==null?void 0:o.focus({preventScroll:!0})})):(T.preventDefault(),p.openListbox());}),P=i$f(()=>{if(t.labelId)return [t.labelId,r].join(" ")},[t.labelId,r]),S=React$1.useMemo(()=>({open:t.listboxState===0,disabled:t.disabled,value:t.value}),[t]),L={ref:u,id:r,type:s$d(e,t.buttonRef),"aria-haspopup":"listbox","aria-controls":(y=t.optionsRef.current)==null?void 0:y.id,"aria-expanded":t.listboxState===0,"aria-labelledby":P,disabled:t.disabled,onKeyDown:b,onKeyUp:R,onClick:m};return X$2({ourProps:L,theirProps:l,slot:S,defaultTag:We$2,name:"Listbox.Button"})}let $e$2="label";function ze$2(e,a){let n=I$2(),{id:r=`headlessui-listbox-label-${n}`,...l}=e,t=U("Listbox.Label"),p=_("Listbox.Label"),u=y$3(t.labelRef,a);l$f(()=>p.registerLabel(r),[r]);let i=o$d(()=>{var m;return (m=t.buttonRef.current)==null?void 0:m.focus({preventScroll:!0})}),b=React$1.useMemo(()=>({open:t.listboxState===0,disabled:t.disabled}),[t]);return X$2({ourProps:{ref:u,id:r,onClick:i},theirProps:l,slot:b,defaultTag:$e$2,name:"Listbox.Label"})}let Je$1="ul",qe$1=S$2.RenderStrategy|S$2.Static;function Ye$1(e,a){var T;let n=I$2(),{id:r=`headlessui-listbox-options-${n}`,...l}=e,t=U("Listbox.Options"),p=_("Listbox.Options"),u=y$3(t.optionsRef,a),i=p$9(),b=p$9(),R=C$2(),m=(()=>R!==null?(R&d$g.Open)===d$g.Open:t.listboxState===0)();React$1.useEffect(()=>{var x;let o=t.optionsRef.current;o&&t.listboxState===0&&o!==((x=e$2(o))==null?void 0:x.activeElement)&&o.focus({preventScroll:!0});},[t.listboxState,t.optionsRef]);let P=o$d(o=>{switch(b.dispose(),o.key){case o$a.Space:if(t.searchQuery!=="")return o.preventDefault(),o.stopPropagation(),p.search(o.key);case o$a.Enter:if(o.preventDefault(),o.stopPropagation(),t.activeOptionIndex!==null){let{dataRef:x}=t.options[t.activeOptionIndex];p.onChange(x.current.value);}t.mode===0&&(p.closeListbox(),o$e().nextFrame(()=>{var x;return (x=t.buttonRef.current)==null?void 0:x.focus({preventScroll:!0})}));break;case u$7(t.orientation,{vertical:o$a.ArrowDown,horizontal:o$a.ArrowRight}):return o.preventDefault(),o.stopPropagation(),p.goToOption(a$e.Next);case u$7(t.orientation,{vertical:o$a.ArrowUp,horizontal:o$a.ArrowLeft}):return o.preventDefault(),o.stopPropagation(),p.goToOption(a$e.Previous);case o$a.Home:case o$a.PageUp:return o.preventDefault(),o.stopPropagation(),p.goToOption(a$e.First);case o$a.End:case o$a.PageDown:return o.preventDefault(),o.stopPropagation(),p.goToOption(a$e.Last);case o$a.Escape:return o.preventDefault(),o.stopPropagation(),p.closeListbox(),i.nextFrame(()=>{var x;return (x=t.buttonRef.current)==null?void 0:x.focus({preventScroll:!0})});case o$a.Tab:o.preventDefault(),o.stopPropagation();break;default:o.key.length===1&&(p.search(o.key),b.setTimeout(()=>p.clearSearch(),350));break}}),S=i$f(()=>{var o,x,E;return (E=(o=t.labelRef.current)==null?void 0:o.id)!=null?E:(x=t.buttonRef.current)==null?void 0:x.id},[t.labelRef.current,t.buttonRef.current]),L=React$1.useMemo(()=>({open:t.listboxState===0}),[t]),y={"aria-activedescendant":t.activeOptionIndex===null||(T=t.options[t.activeOptionIndex])==null?void 0:T.id,"aria-multiselectable":t.mode===1?!0:void 0,"aria-labelledby":S,"aria-orientation":t.orientation,id:r,onKeyDown:P,role:"listbox",tabIndex:0,ref:u};return X$2({ourProps:y,theirProps:l,slot:L,defaultTag:Je$1,features:qe$1,visible:m,name:"Listbox.Options"})}let Ze$2="li";function et$1(e,a){let n=I$2(),{id:r=`headlessui-listbox-option-${n}`,disabled:l=!1,value:t,...p}=e,u=U("Listbox.Option"),i=_("Listbox.Option"),b=u.activeOptionIndex!==null?u.options[u.activeOptionIndex].id===r:!1,R=u.isSelected(t),m=React$1.useRef(null),P=b$4(m),S=s$g({disabled:l,value:t,domRef:m,get textValue(){return P()}}),L=y$3(a,m);l$f(()=>{if(u.listboxState!==0||!b||u.activationTrigger===0)return;let A=o$e();return A.requestAnimationFrame(()=>{var d,H;(H=(d=m.current)==null?void 0:d.scrollIntoView)==null||H.call(d,{block:"nearest"});}),A.dispose},[m,b,u.listboxState,u.activationTrigger,u.activeOptionIndex]),l$f(()=>i.registerOption(r,S),[S,r]);let y=o$d(A=>{if(l)return A.preventDefault();i.onChange(t),u.mode===0&&(i.closeListbox(),o$e().nextFrame(()=>{var d;return (d=u.buttonRef.current)==null?void 0:d.focus({preventScroll:!0})}));}),T=o$d(()=>{if(l)return i.goToOption(a$e.Nothing);i.goToOption(a$e.Specific,r);}),o=u$5(),x=o$d(A=>o.update(A)),E=o$d(A=>{o.wasMoved(A)&&(l||b||i.goToOption(a$e.Specific,r,0));}),B=o$d(A=>{o.wasMoved(A)&&(l||b&&i.goToOption(a$e.Nothing));}),W=React$1.useMemo(()=>({active:b,selected:R,disabled:l}),[b,R,l]);return X$2({ourProps:{id:r,ref:L,role:"option",tabIndex:l===!0?void 0:-1,"aria-disabled":l===!0?!0:void 0,"aria-selected":R,disabled:void 0,onClick:y,onFocus:T,onPointerEnter:x,onMouseEnter:x,onPointerMove:E,onMouseMove:E,onPointerLeave:B,onMouseLeave:B},theirProps:p,slot:W,defaultTag:Ze$2,name:"Listbox.Option"})}let tt$1=D$1(Qe$1),ot=D$1(Xe$2),nt=D$1(ze$2),it=D$1(Ye$1),rt$1=D$1(et$1),Nt$1=Object.assign(tt$1,{Button:ot,Label:nt,Options:it,Option:rt$1});
64795
+ var Be=(n=>(n[n.Open=0]="Open",n[n.Closed=1]="Closed",n))(Be||{}),He$1=(n=>(n[n.Single=0]="Single",n[n.Multi=1]="Multi",n))(He$1||{}),Ge$2=(n=>(n[n.Pointer=0]="Pointer",n[n.Other=1]="Other",n))(Ge$2||{}),Ne$2=(i=>(i[i.OpenListbox=0]="OpenListbox",i[i.CloseListbox=1]="CloseListbox",i[i.GoToOption=2]="GoToOption",i[i.Search=3]="Search",i[i.ClearSearch=4]="ClearSearch",i[i.RegisterOption=5]="RegisterOption",i[i.UnregisterOption=6]="UnregisterOption",i[i.RegisterLabel=7]="RegisterLabel",i))(Ne$2||{});function z(e,a=n=>n){let n=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,r=I$1(a(e.options.slice()),t=>t.dataRef.current.domRef.current),l=n?r.indexOf(n):null;return l===-1&&(l=null),{options:r,activeOptionIndex:l}}let je$1={[1](e){return e.dataRef.current.disabled||e.listboxState===1?e:{...e,activeOptionIndex:null,listboxState:1}},[0](e){if(e.dataRef.current.disabled||e.listboxState===0)return e;let a=e.activeOptionIndex,{isSelected:n}=e.dataRef.current,r=e.options.findIndex(l=>n(l.dataRef.current.value));return r!==-1&&(a=r),{...e,listboxState:0,activeOptionIndex:a}},[2](e,a){var l;if(e.dataRef.current.disabled||e.listboxState===1)return e;let n=z(e),r=x$2(a,{resolveItems:()=>n.options,resolveActiveIndex:()=>n.activeOptionIndex,resolveId:t=>t.id,resolveDisabled:t=>t.dataRef.current.disabled});return {...e,...n,searchQuery:"",activeOptionIndex:r,activationTrigger:(l=a.trigger)!=null?l:1}},[3]:(e,a)=>{if(e.dataRef.current.disabled||e.listboxState===1)return e;let r=e.searchQuery!==""?0:1,l=e.searchQuery+a.value.toLowerCase(),p=(e.activeOptionIndex!==null?e.options.slice(e.activeOptionIndex+r).concat(e.options.slice(0,e.activeOptionIndex+r)):e.options).find(i=>{var b;return !i.dataRef.current.disabled&&((b=i.dataRef.current.textValue)==null?void 0:b.startsWith(l))}),u=p?e.options.indexOf(p):-1;return u===-1||u===e.activeOptionIndex?{...e,searchQuery:l}:{...e,searchQuery:l,activeOptionIndex:u,activationTrigger:1}},[4](e){return e.dataRef.current.disabled||e.listboxState===1||e.searchQuery===""?e:{...e,searchQuery:""}},[5]:(e,a)=>{let n={id:a.id,dataRef:a.dataRef},r=z(e,l=>[...l,n]);return e.activeOptionIndex===null&&e.dataRef.current.isSelected(a.dataRef.current.value)&&(r.activeOptionIndex=r.options.indexOf(n)),{...e,...r}},[6]:(e,a)=>{let n=z(e,r=>{let l=r.findIndex(t=>t.id===a.id);return l!==-1&&r.splice(l,1),r});return {...e,...n,activationTrigger:1}},[7]:(e,a)=>({...e,labelId:a.id})},J=React$1.createContext(null);J.displayName="ListboxActionsContext";function _(e){let a=React$1.useContext(J);if(a===null){let n=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,_),n}return a}let q$1=React$1.createContext(null);q$1.displayName="ListboxDataContext";function U(e){let a=React$1.useContext(q$1);if(a===null){let n=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,U),n}return a}function Ve$1(e,a){return u$6(a.type,je$1,e,a)}let Ke$1=React$1.Fragment;function Qe$1(e,a){let{value:n,defaultValue:r,form:l,name:t,onChange:p,by:u=(s,c)=>s===c,disabled:i=!1,horizontal:b=!1,multiple:R$1=!1,...m}=e;const P=b?"horizontal":"vertical";let S=y$3(a),[L=R$1?[]:void 0,y]=T$1(n,p,r),[T,o]=React$1.useReducer(Ve$1,{dataRef:React$1.createRef(),listboxState:1,options:[],searchQuery:"",labelId:null,activeOptionIndex:null,activationTrigger:1}),x=React$1.useRef({static:!1,hold:!1}),E=React$1.useRef(null),B=React$1.useRef(null),W=React$1.useRef(null),C=o$d(typeof u=="string"?(s,c)=>{let O=u;return (s==null?void 0:s[O])===(c==null?void 0:c[O])}:u),A=React$1.useCallback(s=>u$6(d.mode,{[1]:()=>L.some(c=>C(c,s)),[0]:()=>C(L,s)}),[L]),d=React$1.useMemo(()=>({...T,value:L,disabled:i,mode:R$1?1:0,orientation:P,compare:C,isSelected:A,optionsPropsRef:x,labelRef:E,buttonRef:B,optionsRef:W}),[L,i,R$1,T]);l$f(()=>{T.dataRef.current=d;},[d]),h$2([d.buttonRef,d.optionsRef],(s,c)=>{var O;o({type:1}),h$3(c,T$3.Loose)||(s.preventDefault(),(O=d.buttonRef.current)==null||O.focus());},d.listboxState===0);let H=React$1.useMemo(()=>({open:d.listboxState===0,disabled:i,value:L}),[d,i,L]),ie=o$d(s=>{let c=d.options.find(O=>O.id===s);c&&X(c.dataRef.current.value);}),re=o$d(()=>{if(d.activeOptionIndex!==null){let{dataRef:s,id:c}=d.options[d.activeOptionIndex];X(s.current.value),o({type:2,focus:a$e.Specific,id:c});}}),ae=o$d(()=>o({type:0})),le=o$d(()=>o({type:1})),se=o$d((s,c,O)=>s===a$e.Specific?o({type:2,focus:a$e.Specific,id:c,trigger:O}):o({type:2,focus:s,trigger:O})),pe=o$d((s,c)=>(o({type:5,id:s,dataRef:c}),()=>o({type:6,id:s}))),ue=o$d(s=>(o({type:7,id:s}),()=>o({type:7,id:null}))),X=o$d(s=>u$6(d.mode,{[0](){return y==null?void 0:y(s)},[1](){let c=d.value.slice(),O=c.findIndex(F=>C(F,s));return O===-1?c.push(s):c.splice(O,1),y==null?void 0:y(c)}})),de=o$d(s=>o({type:3,value:s})),ce=o$d(()=>o({type:4})),fe=React$1.useMemo(()=>({onChange:X,registerOption:pe,registerLabel:ue,goToOption:se,closeListbox:le,openListbox:ae,selectActiveOption:re,selectOption:ie,search:de,clearSearch:ce}),[]),Te={ref:S},G=React$1.useRef(null),be=p$9();return React$1.useEffect(()=>{G.current&&r!==void 0&&be.addEventListener(G.current,"reset",()=>{y==null||y(r);});},[G,y]),React$1.createElement(J.Provider,{value:fe},React$1.createElement(q$1.Provider,{value:d},React$1.createElement(c$e,{value:u$6(d.listboxState,{[0]:d$f.Open,[1]:d$f.Closed})},t!=null&&L!=null&&e$1({[t]:L}).map(([s,c],O)=>React$1.createElement(c$f,{features:p$7.Hidden,ref:O===0?F=>{var Y;G.current=(Y=F==null?void 0:F.closest("form"))!=null?Y:null;}:void 0,...R({key:s,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:l,name:s,value:c})})),X$2({ourProps:Te,theirProps:m,slot:H,defaultTag:Ke$1,name:"Listbox"}))))}let We$1="button";function Xe$1(e,a){var y;let n=I$2(),{id:r=`headlessui-listbox-button-${n}`,...l}=e,t=U("Listbox.Button"),p=_("Listbox.Button"),u=y$3(t.buttonRef,a),i=p$9(),b=o$d(T=>{switch(T.key){case o$a.Space:case o$a.Enter:case o$a.ArrowDown:T.preventDefault(),p.openListbox(),i.nextFrame(()=>{t.value||p.goToOption(a$e.First);});break;case o$a.ArrowUp:T.preventDefault(),p.openListbox(),i.nextFrame(()=>{t.value||p.goToOption(a$e.Last);});break}}),R=o$d(T=>{switch(T.key){case o$a.Space:T.preventDefault();break}}),m=o$d(T=>{if(r$d(T.currentTarget))return T.preventDefault();t.listboxState===0?(p.closeListbox(),i.nextFrame(()=>{var o;return (o=t.buttonRef.current)==null?void 0:o.focus({preventScroll:!0})})):(T.preventDefault(),p.openListbox());}),P=i$f(()=>{if(t.labelId)return [t.labelId,r].join(" ")},[t.labelId,r]),S=React$1.useMemo(()=>({open:t.listboxState===0,disabled:t.disabled,value:t.value}),[t]),L={ref:u,id:r,type:s$d(e,t.buttonRef),"aria-haspopup":"listbox","aria-controls":(y=t.optionsRef.current)==null?void 0:y.id,"aria-expanded":t.listboxState===0,"aria-labelledby":P,disabled:t.disabled,onKeyDown:b,onKeyUp:R,onClick:m};return X$2({ourProps:L,theirProps:l,slot:S,defaultTag:We$1,name:"Listbox.Button"})}let $e$1="label";function ze$2(e,a){let n=I$2(),{id:r=`headlessui-listbox-label-${n}`,...l}=e,t=U("Listbox.Label"),p=_("Listbox.Label"),u=y$3(t.labelRef,a);l$f(()=>p.registerLabel(r),[r]);let i=o$d(()=>{var m;return (m=t.buttonRef.current)==null?void 0:m.focus({preventScroll:!0})}),b=React$1.useMemo(()=>({open:t.listboxState===0,disabled:t.disabled}),[t]);return X$2({ourProps:{ref:u,id:r,onClick:i},theirProps:l,slot:b,defaultTag:$e$1,name:"Listbox.Label"})}let Je$1="ul",qe$1=S$2.RenderStrategy|S$2.Static;function Ye$1(e,a){var T;let n=I$2(),{id:r=`headlessui-listbox-options-${n}`,...l}=e,t=U("Listbox.Options"),p=_("Listbox.Options"),u=y$3(t.optionsRef,a),i=p$9(),b=p$9(),R=C$2(),m=(()=>R!==null?(R&d$f.Open)===d$f.Open:t.listboxState===0)();React$1.useEffect(()=>{var x;let o=t.optionsRef.current;o&&t.listboxState===0&&o!==((x=e$2(o))==null?void 0:x.activeElement)&&o.focus({preventScroll:!0});},[t.listboxState,t.optionsRef]);let P=o$d(o=>{switch(b.dispose(),o.key){case o$a.Space:if(t.searchQuery!=="")return o.preventDefault(),o.stopPropagation(),p.search(o.key);case o$a.Enter:if(o.preventDefault(),o.stopPropagation(),t.activeOptionIndex!==null){let{dataRef:x}=t.options[t.activeOptionIndex];p.onChange(x.current.value);}t.mode===0&&(p.closeListbox(),o$e().nextFrame(()=>{var x;return (x=t.buttonRef.current)==null?void 0:x.focus({preventScroll:!0})}));break;case u$6(t.orientation,{vertical:o$a.ArrowDown,horizontal:o$a.ArrowRight}):return o.preventDefault(),o.stopPropagation(),p.goToOption(a$e.Next);case u$6(t.orientation,{vertical:o$a.ArrowUp,horizontal:o$a.ArrowLeft}):return o.preventDefault(),o.stopPropagation(),p.goToOption(a$e.Previous);case o$a.Home:case o$a.PageUp:return o.preventDefault(),o.stopPropagation(),p.goToOption(a$e.First);case o$a.End:case o$a.PageDown:return o.preventDefault(),o.stopPropagation(),p.goToOption(a$e.Last);case o$a.Escape:return o.preventDefault(),o.stopPropagation(),p.closeListbox(),i.nextFrame(()=>{var x;return (x=t.buttonRef.current)==null?void 0:x.focus({preventScroll:!0})});case o$a.Tab:o.preventDefault(),o.stopPropagation();break;default:o.key.length===1&&(p.search(o.key),b.setTimeout(()=>p.clearSearch(),350));break}}),S=i$f(()=>{var o,x,E;return (E=(o=t.labelRef.current)==null?void 0:o.id)!=null?E:(x=t.buttonRef.current)==null?void 0:x.id},[t.labelRef.current,t.buttonRef.current]),L=React$1.useMemo(()=>({open:t.listboxState===0}),[t]),y={"aria-activedescendant":t.activeOptionIndex===null||(T=t.options[t.activeOptionIndex])==null?void 0:T.id,"aria-multiselectable":t.mode===1?!0:void 0,"aria-labelledby":S,"aria-orientation":t.orientation,id:r,onKeyDown:P,role:"listbox",tabIndex:0,ref:u};return X$2({ourProps:y,theirProps:l,slot:L,defaultTag:Je$1,features:qe$1,visible:m,name:"Listbox.Options"})}let Ze$1="li";function et$1(e,a){let n=I$2(),{id:r=`headlessui-listbox-option-${n}`,disabled:l=!1,value:t,...p}=e,u=U("Listbox.Option"),i=_("Listbox.Option"),b=u.activeOptionIndex!==null?u.options[u.activeOptionIndex].id===r:!1,R=u.isSelected(t),m=React$1.useRef(null),P=b$4(m),S=s$g({disabled:l,value:t,domRef:m,get textValue(){return P()}}),L=y$3(a,m);l$f(()=>{if(u.listboxState!==0||!b||u.activationTrigger===0)return;let A=o$e();return A.requestAnimationFrame(()=>{var d,H;(H=(d=m.current)==null?void 0:d.scrollIntoView)==null||H.call(d,{block:"nearest"});}),A.dispose},[m,b,u.listboxState,u.activationTrigger,u.activeOptionIndex]),l$f(()=>i.registerOption(r,S),[S,r]);let y=o$d(A=>{if(l)return A.preventDefault();i.onChange(t),u.mode===0&&(i.closeListbox(),o$e().nextFrame(()=>{var d;return (d=u.buttonRef.current)==null?void 0:d.focus({preventScroll:!0})}));}),T=o$d(()=>{if(l)return i.goToOption(a$e.Nothing);i.goToOption(a$e.Specific,r);}),o=u$4(),x=o$d(A=>o.update(A)),E=o$d(A=>{o.wasMoved(A)&&(l||b||i.goToOption(a$e.Specific,r,0));}),B=o$d(A=>{o.wasMoved(A)&&(l||b&&i.goToOption(a$e.Nothing));}),W=React$1.useMemo(()=>({active:b,selected:R,disabled:l}),[b,R,l]);return X$2({ourProps:{id:r,ref:L,role:"option",tabIndex:l===!0?void 0:-1,"aria-disabled":l===!0?!0:void 0,"aria-selected":R,disabled:void 0,onClick:y,onFocus:T,onPointerEnter:x,onMouseEnter:x,onPointerMove:E,onMouseMove:E,onPointerLeave:B,onMouseLeave:B},theirProps:p,slot:W,defaultTag:Ze$1,name:"Listbox.Option"})}let tt$1=D$1(Qe$1),ot=D$1(Xe$1),nt=D$1(ze$2),it=D$1(Ye$1),rt$1=D$1(et$1),Nt=Object.assign(tt$1,{Button:ot,Label:nt,Options:it,Option:rt$1});
64796
64796
 
64797
- var he$2=(u=>(u[u.Open=0]="Open",u[u.Closed=1]="Closed",u))(he$2||{}),He$1=(e=>(e[e.TogglePopover=0]="TogglePopover",e[e.ClosePopover=1]="ClosePopover",e[e.SetButton=2]="SetButton",e[e.SetButtonId=3]="SetButtonId",e[e.SetPanel=4]="SetPanel",e[e.SetPanelId=5]="SetPanelId",e))(He$1||{});let _e={[0]:t=>{let o={...t,popoverState:u$7(t.popoverState,{[0]:1,[1]:0})};return o.popoverState===0&&(o.__demoMode=!1),o},[1](t){return t.popoverState===1?t:{...t,popoverState:1}},[2](t,o){return t.button===o.button?t:{...t,button:o.button}},[3](t,o){return t.buttonId===o.buttonId?t:{...t,buttonId:o.buttonId}},[4](t,o){return t.panel===o.panel?t:{...t,panel:o.panel}},[5](t,o){return t.panelId===o.panelId?t:{...t,panelId:o.panelId}}},ue$1=React$1.createContext(null);ue$1.displayName="PopoverContext";function oe(t){let o=React$1.useContext(ue$1);if(o===null){let u=new Error(`<${t} /> is missing a parent <Popover /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(u,oe),u}return o}let ie=React$1.createContext(null);ie.displayName="PopoverAPIContext";function fe$1(t){let o=React$1.useContext(ie);if(o===null){let u=new Error(`<${t} /> is missing a parent <Popover /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(u,fe$1),u}return o}let Pe$1=React$1.createContext(null);Pe$1.displayName="PopoverGroupContext";function Ee$1(){return React$1.useContext(Pe$1)}let re$1=React$1.createContext(null);re$1.displayName="PopoverPanelContext";function Ge$1(){return React$1.useContext(re$1)}function Ne$1(t,o){return u$7(o.type,_e,t,o)}let ke="div";function we(t,o){var D;let{__demoMode:u=!1,...R}=t,O=React$1.useRef(null),n=y$3(o,T$1(l=>{O.current=l;})),e=React$1.useRef([]),v=React$1.useReducer(Ne$1,{__demoMode:u,popoverState:u?0:1,buttons:e,button:null,buttonId:null,panel:null,panelId:null,beforePanelSentinel:React$1.createRef(),afterPanelSentinel:React$1.createRef()}),[{popoverState:P,button:s,buttonId:I,panel:p,panelId:T,beforePanelSentinel:m,afterPanelSentinel:S},i]=v,a=n$a((D=O.current)!=null?D:s),E=React$1.useMemo(()=>{if(!s||!p)return !1;for(let K of document.querySelectorAll("body > *"))if(Number(K==null?void 0:K.contains(s))^Number(K==null?void 0:K.contains(p)))return !0;let l=f$9(),F=l.indexOf(s),q=(F+l.length-1)%l.length,W=(F+1)%l.length,z=l[q],be=l[W];return !p.contains(z)&&!p.contains(be)},[s,p]),C=s$g(I),H=s$g(T),x=React$1.useMemo(()=>({buttonId:C,panelId:H,close:()=>i({type:1})}),[C,H,i]),M=Ee$1(),h=M==null?void 0:M.registerPopover,f=o$d(()=>{var l;return (l=M==null?void 0:M.isFocusWithinPopoverGroup())!=null?l:(a==null?void 0:a.activeElement)&&((s==null?void 0:s.contains(a.activeElement))||(p==null?void 0:p.contains(a.activeElement)))});React$1.useEffect(()=>h==null?void 0:h(x),[h,x]);let[y,b]=ae(),d=j({mainTreeNodeRef:M==null?void 0:M.mainTreeNodeRef,portals:y,defaultContainers:[s,p]});E$1(a==null?void 0:a.defaultView,"focus",l=>{var F,q,W,z;l.target!==window&&l.target instanceof HTMLElement&&P===0&&(f()||s&&p&&(d.contains(l.target)||(q=(F=m.current)==null?void 0:F.contains)!=null&&q.call(F,l.target)||(z=(W=S.current)==null?void 0:W.contains)!=null&&z.call(W,l.target)||i({type:1})));},!0),h$2(d.resolveContainers,(l,F)=>{i({type:1}),h$3(F,T$2.Loose)||(l.preventDefault(),s==null||s.focus());},P===0);let L=o$d(l=>{i({type:1});let F=(()=>l?l instanceof HTMLElement?l:"current"in l&&l.current instanceof HTMLElement?l.current:s:s)();F==null||F.focus();}),r=React$1.useMemo(()=>({close:L,isPortalled:E}),[L,E]),c=React$1.useMemo(()=>({open:P===0,close:L}),[P,L]),B={ref:n};return React$1.createElement(re$1.Provider,{value:null},React$1.createElement(ue$1.Provider,{value:v},React$1.createElement(ie.Provider,{value:r},React$1.createElement(c$e,{value:u$7(P,{[0]:d$g.Open,[1]:d$g.Closed})},React$1.createElement(b,null,X$2({ourProps:B,theirProps:R,slot:c,defaultTag:ke,name:"Popover"}),React$1.createElement(d.MainTreeNode,null))))))}let Ue$1="button";function We$1(t,o){let u=I$2(),{id:R=`headlessui-popover-button-${u}`,...O$1}=t,[n,e]=oe("Popover.Button"),{isPortalled:v}=fe$1("Popover.Button"),P=React$1.useRef(null),s=`headlessui-focus-sentinel-${I$2()}`,I=Ee$1(),p=I==null?void 0:I.closeOthers,m=Ge$1()!==null;React$1.useEffect(()=>{if(!m)return e({type:3,buttonId:R}),()=>{e({type:3,buttonId:null});}},[m,R,e]);let[S]=React$1.useState(()=>Symbol()),i=y$3(P,o,m?null:r=>{if(r)n.buttons.current.push(S);else {let c=n.buttons.current.indexOf(S);c!==-1&&n.buttons.current.splice(c,1);}n.buttons.current.length>1&&console.warn("You are already using a <Popover.Button /> but only 1 <Popover.Button /> is supported."),r&&e({type:2,button:r});}),a=y$3(P,o),E=n$a(P),C=o$d(r=>{var c,B,D;if(m){if(n.popoverState===1)return;switch(r.key){case o$a.Space:case o$a.Enter:r.preventDefault(),(B=(c=r.target).click)==null||B.call(c),e({type:1}),(D=n.button)==null||D.focus();break}}else switch(r.key){case o$a.Space:case o$a.Enter:r.preventDefault(),r.stopPropagation(),n.popoverState===1&&(p==null||p(n.buttonId)),e({type:0});break;case o$a.Escape:if(n.popoverState!==0)return p==null?void 0:p(n.buttonId);if(!P.current||E!=null&&E.activeElement&&!P.current.contains(E.activeElement))return;r.preventDefault(),r.stopPropagation(),e({type:1});break}}),H=o$d(r=>{m||r.key===o$a.Space&&r.preventDefault();}),x=o$d(r=>{var c,B;r$d(r.currentTarget)||t.disabled||(m?(e({type:1}),(c=n.button)==null||c.focus()):(r.preventDefault(),r.stopPropagation(),n.popoverState===1&&(p==null||p(n.buttonId)),e({type:0}),(B=n.button)==null||B.focus()));}),M=o$d(r=>{r.preventDefault(),r.stopPropagation();}),h=n.popoverState===0,f=React$1.useMemo(()=>({open:h}),[h]),y=s$d(t,P),b=m?{ref:a,type:y,onKeyDown:C,onClick:x}:{ref:i,id:n.buttonId,type:y,"aria-expanded":n.popoverState===0,"aria-controls":n.panel?n.panelId:void 0,onKeyDown:C,onKeyUp:H,onClick:x,onMouseDown:M},d=n$9(),L=o$d(()=>{let r=n.panel;if(!r)return;function c(){u$7(d.current,{[s$b.Forwards]:()=>O(r,M$4.First),[s$b.Backwards]:()=>O(r,M$4.Last)})===N$2.Error&&O(f$9().filter(D=>D.dataset.headlessuiFocusGuard!=="true"),u$7(d.current,{[s$b.Forwards]:M$4.Next,[s$b.Backwards]:M$4.Previous}),{relativeTo:n.button});}c();});return React$1.createElement(React$1.Fragment,null,X$2({ourProps:b,theirProps:O$1,slot:f,defaultTag:Ue$1,name:"Popover.Button"}),h&&!m&&v&&React$1.createElement(c$f,{id:s,features:p$7.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:L}))}let Ke="div",je=S$2.RenderStrategy|S$2.Static;function Ve(t,o){let u=I$2(),{id:R=`headlessui-popover-overlay-${u}`,...O}=t,[{popoverState:n},e]=oe("Popover.Overlay"),v=y$3(o),P=C$2(),s=(()=>P!==null?(P&d$g.Open)===d$g.Open:n===0)(),I=o$d(m=>{if(r$d(m.currentTarget))return m.preventDefault();e({type:1});}),p=React$1.useMemo(()=>({open:n===0}),[n]);return X$2({ourProps:{ref:v,id:R,"aria-hidden":!0,onClick:I},theirProps:O,slot:p,defaultTag:Ke,features:je,visible:s,name:"Popover.Overlay"})}let $e$1="div",Je=S$2.RenderStrategy|S$2.Static;function Xe$1(t,o){let u=I$2(),{id:R=`headlessui-popover-panel-${u}`,focus:O$1=!1,...n}=t,[e,v]=oe("Popover.Panel"),{close:P,isPortalled:s}=fe$1("Popover.Panel"),I=`headlessui-focus-sentinel-before-${I$2()}`,p=`headlessui-focus-sentinel-after-${I$2()}`,T=React$1.useRef(null),m=y$3(T,o,f=>{v({type:4,panel:f});}),S=n$a(T);l$f(()=>(v({type:5,panelId:R}),()=>{v({type:5,panelId:null});}),[R,v]);let i=C$2(),a=(()=>i!==null?(i&d$g.Open)===d$g.Open:e.popoverState===0)(),E=o$d(f=>{var y;switch(f.key){case o$a.Escape:if(e.popoverState!==0||!T.current||S!=null&&S.activeElement&&!T.current.contains(S.activeElement))return;f.preventDefault(),f.stopPropagation(),v({type:1}),(y=e.button)==null||y.focus();break}});React$1.useEffect(()=>{var f;t.static||e.popoverState===1&&((f=t.unmount)==null||f)&&v({type:4,panel:null});},[e.popoverState,t.unmount,t.static,v]),React$1.useEffect(()=>{if(e.__demoMode||!O$1||e.popoverState!==0||!T.current)return;let f=S==null?void 0:S.activeElement;T.current.contains(f)||O(T.current,M$4.First);},[e.__demoMode,O$1,T,e.popoverState]);let C=React$1.useMemo(()=>({open:e.popoverState===0,close:P}),[e,P]),H={ref:m,id:R,onKeyDown:E,onBlur:O$1&&e.popoverState===0?f=>{var b,d,L,r,c;let y=f.relatedTarget;y&&T.current&&((b=T.current)!=null&&b.contains(y)||(v({type:1}),((L=(d=e.beforePanelSentinel.current)==null?void 0:d.contains)!=null&&L.call(d,y)||(c=(r=e.afterPanelSentinel.current)==null?void 0:r.contains)!=null&&c.call(r,y))&&y.focus({preventScroll:!0})));}:void 0,tabIndex:-1},x=n$9(),M=o$d(()=>{let f=T.current;if(!f)return;function y(){u$7(x.current,{[s$b.Forwards]:()=>{var d;O(f,M$4.First)===N$2.Error&&((d=e.afterPanelSentinel.current)==null||d.focus());},[s$b.Backwards]:()=>{var b;(b=e.button)==null||b.focus({preventScroll:!0});}});}y();}),h=o$d(()=>{let f=T.current;if(!f)return;function y(){u$7(x.current,{[s$b.Forwards]:()=>{var B;if(!e.button)return;let b=f$9(),d=b.indexOf(e.button),L=b.slice(0,d+1),c=[...b.slice(d+1),...L];for(let D of c.slice())if(D.dataset.headlessuiFocusGuard==="true"||(B=e.panel)!=null&&B.contains(D)){let l=c.indexOf(D);l!==-1&&c.splice(l,1);}O(c,M$4.First,{sorted:!1});},[s$b.Backwards]:()=>{var d;O(f,M$4.Previous)===N$2.Error&&((d=e.button)==null||d.focus());}});}y();});return React$1.createElement(re$1.Provider,{value:R},a&&s&&React$1.createElement(c$f,{id:I,ref:e.beforePanelSentinel,features:p$7.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:M}),X$2({ourProps:H,theirProps:n,slot:C,defaultTag:$e$1,features:Je,visible:a,name:"Popover.Panel"}),a&&s&&React$1.createElement(c$f,{id:p,ref:e.afterPanelSentinel,features:p$7.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:h}))}let Ye="div";function qe(t,o){let u=React$1.useRef(null),R=y$3(u,o),[O,n]=React$1.useState([]),e=y$1(),v=o$d(i=>{n(a=>{let E=a.indexOf(i);if(E!==-1){let C=a.slice();return C.splice(E,1),C}return a});}),P=o$d(i=>(n(a=>[...a,i]),()=>v(i))),s=o$d(()=>{var E;let i=e$2(u);if(!i)return !1;let a=i.activeElement;return (E=u.current)!=null&&E.contains(a)?!0:O.some(C=>{var H,x;return ((H=i.getElementById(C.buttonId.current))==null?void 0:H.contains(a))||((x=i.getElementById(C.panelId.current))==null?void 0:x.contains(a))})}),I=o$d(i=>{for(let a of O)a.buttonId.current!==i&&a.close();}),p=React$1.useMemo(()=>({registerPopover:P,unregisterPopover:v,isFocusWithinPopoverGroup:s,closeOthers:I,mainTreeNodeRef:e.mainTreeNodeRef}),[P,v,s,I,e.mainTreeNodeRef]),T=React$1.useMemo(()=>({}),[]),m=t,S={ref:R};return React$1.createElement(Pe$1.Provider,{value:p},X$2({ourProps:S,theirProps:m,slot:T,defaultTag:Ye,name:"Popover.Group"}),React$1.createElement(e.MainTreeNode,null))}let ze$1=D$1(we),Qe=D$1(We$1),Ze$1=D$1(Ve),et=D$1(Xe$1),tt=D$1(qe),kt=Object.assign(ze$1,{Button:Qe,Overlay:Ze$1,Panel:et,Group:tt});
64797
+ var he$1=(u=>(u[u.Open=0]="Open",u[u.Closed=1]="Closed",u))(he$1||{}),He=(e=>(e[e.TogglePopover=0]="TogglePopover",e[e.ClosePopover=1]="ClosePopover",e[e.SetButton=2]="SetButton",e[e.SetButtonId=3]="SetButtonId",e[e.SetPanel=4]="SetPanel",e[e.SetPanelId=5]="SetPanelId",e))(He||{});let _e={[0]:t=>{let o={...t,popoverState:u$6(t.popoverState,{[0]:1,[1]:0})};return o.popoverState===0&&(o.__demoMode=!1),o},[1](t){return t.popoverState===1?t:{...t,popoverState:1}},[2](t,o){return t.button===o.button?t:{...t,button:o.button}},[3](t,o){return t.buttonId===o.buttonId?t:{...t,buttonId:o.buttonId}},[4](t,o){return t.panel===o.panel?t:{...t,panel:o.panel}},[5](t,o){return t.panelId===o.panelId?t:{...t,panelId:o.panelId}}},ue$1=React$1.createContext(null);ue$1.displayName="PopoverContext";function oe(t){let o=React$1.useContext(ue$1);if(o===null){let u=new Error(`<${t} /> is missing a parent <Popover /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(u,oe),u}return o}let ie=React$1.createContext(null);ie.displayName="PopoverAPIContext";function fe$1(t){let o=React$1.useContext(ie);if(o===null){let u=new Error(`<${t} /> is missing a parent <Popover /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(u,fe$1),u}return o}let Pe$2=React$1.createContext(null);Pe$2.displayName="PopoverGroupContext";function Ee$1(){return React$1.useContext(Pe$2)}let re$1=React$1.createContext(null);re$1.displayName="PopoverPanelContext";function Ge$1(){return React$1.useContext(re$1)}function Ne$1(t,o){return u$6(o.type,_e,t,o)}let ke="div";function we(t,o){var D;let{__demoMode:u=!1,...R}=t,O=React$1.useRef(null),n=y$3(o,T$2(l=>{O.current=l;})),e=React$1.useRef([]),v=React$1.useReducer(Ne$1,{__demoMode:u,popoverState:u?0:1,buttons:e,button:null,buttonId:null,panel:null,panelId:null,beforePanelSentinel:React$1.createRef(),afterPanelSentinel:React$1.createRef()}),[{popoverState:P,button:s,buttonId:I,panel:p,panelId:T,beforePanelSentinel:m,afterPanelSentinel:S},i]=v,a=n$a((D=O.current)!=null?D:s),E$1=React$1.useMemo(()=>{if(!s||!p)return !1;for(let K of document.querySelectorAll("body > *"))if(Number(K==null?void 0:K.contains(s))^Number(K==null?void 0:K.contains(p)))return !0;let l=f$9(),F=l.indexOf(s),q=(F+l.length-1)%l.length,W=(F+1)%l.length,z=l[q],be=l[W];return !p.contains(z)&&!p.contains(be)},[s,p]),C=s$g(I),H=s$g(T),x=React$1.useMemo(()=>({buttonId:C,panelId:H,close:()=>i({type:1})}),[C,H,i]),M=Ee$1(),h=M==null?void 0:M.registerPopover,f=o$d(()=>{var l;return (l=M==null?void 0:M.isFocusWithinPopoverGroup())!=null?l:(a==null?void 0:a.activeElement)&&((s==null?void 0:s.contains(a.activeElement))||(p==null?void 0:p.contains(a.activeElement)))});React$1.useEffect(()=>h==null?void 0:h(x),[h,x]);let[y,b]=ae(),d=j({mainTreeNodeRef:M==null?void 0:M.mainTreeNodeRef,portals:y,defaultContainers:[s,p]});E(a==null?void 0:a.defaultView,"focus",l=>{var F,q,W,z;l.target!==window&&l.target instanceof HTMLElement&&P===0&&(f()||s&&p&&(d.contains(l.target)||(q=(F=m.current)==null?void 0:F.contains)!=null&&q.call(F,l.target)||(z=(W=S.current)==null?void 0:W.contains)!=null&&z.call(W,l.target)||i({type:1})));},!0),h$2(d.resolveContainers,(l,F)=>{i({type:1}),h$3(F,T$3.Loose)||(l.preventDefault(),s==null||s.focus());},P===0);let L=o$d(l=>{i({type:1});let F=(()=>l?l instanceof HTMLElement?l:"current"in l&&l.current instanceof HTMLElement?l.current:s:s)();F==null||F.focus();}),r=React$1.useMemo(()=>({close:L,isPortalled:E$1}),[L,E$1]),c=React$1.useMemo(()=>({open:P===0,close:L}),[P,L]),B={ref:n};return React$1.createElement(re$1.Provider,{value:null},React$1.createElement(ue$1.Provider,{value:v},React$1.createElement(ie.Provider,{value:r},React$1.createElement(c$e,{value:u$6(P,{[0]:d$f.Open,[1]:d$f.Closed})},React$1.createElement(b,null,X$2({ourProps:B,theirProps:R,slot:c,defaultTag:ke,name:"Popover"}),React$1.createElement(d.MainTreeNode,null))))))}let Ue="button";function We(t,o){let u=I$2(),{id:R=`headlessui-popover-button-${u}`,...O$1}=t,[n,e]=oe("Popover.Button"),{isPortalled:v}=fe$1("Popover.Button"),P=React$1.useRef(null),s=`headlessui-focus-sentinel-${I$2()}`,I=Ee$1(),p=I==null?void 0:I.closeOthers,m=Ge$1()!==null;React$1.useEffect(()=>{if(!m)return e({type:3,buttonId:R}),()=>{e({type:3,buttonId:null});}},[m,R,e]);let[S]=React$1.useState(()=>Symbol()),i=y$3(P,o,m?null:r=>{if(r)n.buttons.current.push(S);else {let c=n.buttons.current.indexOf(S);c!==-1&&n.buttons.current.splice(c,1);}n.buttons.current.length>1&&console.warn("You are already using a <Popover.Button /> but only 1 <Popover.Button /> is supported."),r&&e({type:2,button:r});}),a=y$3(P,o),E=n$a(P),C=o$d(r=>{var c,B,D;if(m){if(n.popoverState===1)return;switch(r.key){case o$a.Space:case o$a.Enter:r.preventDefault(),(B=(c=r.target).click)==null||B.call(c),e({type:1}),(D=n.button)==null||D.focus();break}}else switch(r.key){case o$a.Space:case o$a.Enter:r.preventDefault(),r.stopPropagation(),n.popoverState===1&&(p==null||p(n.buttonId)),e({type:0});break;case o$a.Escape:if(n.popoverState!==0)return p==null?void 0:p(n.buttonId);if(!P.current||E!=null&&E.activeElement&&!P.current.contains(E.activeElement))return;r.preventDefault(),r.stopPropagation(),e({type:1});break}}),H=o$d(r=>{m||r.key===o$a.Space&&r.preventDefault();}),x=o$d(r=>{var c,B;r$d(r.currentTarget)||t.disabled||(m?(e({type:1}),(c=n.button)==null||c.focus()):(r.preventDefault(),r.stopPropagation(),n.popoverState===1&&(p==null||p(n.buttonId)),e({type:0}),(B=n.button)==null||B.focus()));}),M=o$d(r=>{r.preventDefault(),r.stopPropagation();}),h=n.popoverState===0,f=React$1.useMemo(()=>({open:h}),[h]),y=s$d(t,P),b=m?{ref:a,type:y,onKeyDown:C,onClick:x}:{ref:i,id:n.buttonId,type:y,"aria-expanded":n.popoverState===0,"aria-controls":n.panel?n.panelId:void 0,onKeyDown:C,onKeyUp:H,onClick:x,onMouseDown:M},d=n$9(),L=o$d(()=>{let r=n.panel;if(!r)return;function c(){u$6(d.current,{[s$b.Forwards]:()=>O(r,M$4.First),[s$b.Backwards]:()=>O(r,M$4.Last)})===N$2.Error&&O(f$9().filter(D=>D.dataset.headlessuiFocusGuard!=="true"),u$6(d.current,{[s$b.Forwards]:M$4.Next,[s$b.Backwards]:M$4.Previous}),{relativeTo:n.button});}c();});return React$1.createElement(React$1.Fragment,null,X$2({ourProps:b,theirProps:O$1,slot:f,defaultTag:Ue,name:"Popover.Button"}),h&&!m&&v&&React$1.createElement(c$f,{id:s,features:p$7.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:L}))}let Ke="div",je=S$2.RenderStrategy|S$2.Static;function Ve(t,o){let u=I$2(),{id:R=`headlessui-popover-overlay-${u}`,...O}=t,[{popoverState:n},e]=oe("Popover.Overlay"),v=y$3(o),P=C$2(),s=(()=>P!==null?(P&d$f.Open)===d$f.Open:n===0)(),I=o$d(m=>{if(r$d(m.currentTarget))return m.preventDefault();e({type:1});}),p=React$1.useMemo(()=>({open:n===0}),[n]);return X$2({ourProps:{ref:v,id:R,"aria-hidden":!0,onClick:I},theirProps:O,slot:p,defaultTag:Ke,features:je,visible:s,name:"Popover.Overlay"})}let $e="div",Je=S$2.RenderStrategy|S$2.Static;function Xe(t,o){let u=I$2(),{id:R=`headlessui-popover-panel-${u}`,focus:O$1=!1,...n}=t,[e,v]=oe("Popover.Panel"),{close:P,isPortalled:s}=fe$1("Popover.Panel"),I=`headlessui-focus-sentinel-before-${I$2()}`,p=`headlessui-focus-sentinel-after-${I$2()}`,T=React$1.useRef(null),m=y$3(T,o,f=>{v({type:4,panel:f});}),S=n$a(T);l$f(()=>(v({type:5,panelId:R}),()=>{v({type:5,panelId:null});}),[R,v]);let i=C$2(),a=(()=>i!==null?(i&d$f.Open)===d$f.Open:e.popoverState===0)(),E=o$d(f=>{var y;switch(f.key){case o$a.Escape:if(e.popoverState!==0||!T.current||S!=null&&S.activeElement&&!T.current.contains(S.activeElement))return;f.preventDefault(),f.stopPropagation(),v({type:1}),(y=e.button)==null||y.focus();break}});React$1.useEffect(()=>{var f;t.static||e.popoverState===1&&((f=t.unmount)==null||f)&&v({type:4,panel:null});},[e.popoverState,t.unmount,t.static,v]),React$1.useEffect(()=>{if(e.__demoMode||!O$1||e.popoverState!==0||!T.current)return;let f=S==null?void 0:S.activeElement;T.current.contains(f)||O(T.current,M$4.First);},[e.__demoMode,O$1,T,e.popoverState]);let C=React$1.useMemo(()=>({open:e.popoverState===0,close:P}),[e,P]),H={ref:m,id:R,onKeyDown:E,onBlur:O$1&&e.popoverState===0?f=>{var b,d,L,r,c;let y=f.relatedTarget;y&&T.current&&((b=T.current)!=null&&b.contains(y)||(v({type:1}),((L=(d=e.beforePanelSentinel.current)==null?void 0:d.contains)!=null&&L.call(d,y)||(c=(r=e.afterPanelSentinel.current)==null?void 0:r.contains)!=null&&c.call(r,y))&&y.focus({preventScroll:!0})));}:void 0,tabIndex:-1},x=n$9(),M=o$d(()=>{let f=T.current;if(!f)return;function y(){u$6(x.current,{[s$b.Forwards]:()=>{var d;O(f,M$4.First)===N$2.Error&&((d=e.afterPanelSentinel.current)==null||d.focus());},[s$b.Backwards]:()=>{var b;(b=e.button)==null||b.focus({preventScroll:!0});}});}y();}),h=o$d(()=>{let f=T.current;if(!f)return;function y(){u$6(x.current,{[s$b.Forwards]:()=>{var B;if(!e.button)return;let b=f$9(),d=b.indexOf(e.button),L=b.slice(0,d+1),c=[...b.slice(d+1),...L];for(let D of c.slice())if(D.dataset.headlessuiFocusGuard==="true"||(B=e.panel)!=null&&B.contains(D)){let l=c.indexOf(D);l!==-1&&c.splice(l,1);}O(c,M$4.First,{sorted:!1});},[s$b.Backwards]:()=>{var d;O(f,M$4.Previous)===N$2.Error&&((d=e.button)==null||d.focus());}});}y();});return React$1.createElement(re$1.Provider,{value:R},a&&s&&React$1.createElement(c$f,{id:I,ref:e.beforePanelSentinel,features:p$7.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:M}),X$2({ourProps:H,theirProps:n,slot:C,defaultTag:$e,features:Je,visible:a,name:"Popover.Panel"}),a&&s&&React$1.createElement(c$f,{id:p,ref:e.afterPanelSentinel,features:p$7.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:h}))}let Ye="div";function qe(t,o){let u=React$1.useRef(null),R=y$3(u,o),[O,n]=React$1.useState([]),e=y$1(),v=o$d(i=>{n(a=>{let E=a.indexOf(i);if(E!==-1){let C=a.slice();return C.splice(E,1),C}return a});}),P=o$d(i=>(n(a=>[...a,i]),()=>v(i))),s=o$d(()=>{var E;let i=e$2(u);if(!i)return !1;let a=i.activeElement;return (E=u.current)!=null&&E.contains(a)?!0:O.some(C=>{var H,x;return ((H=i.getElementById(C.buttonId.current))==null?void 0:H.contains(a))||((x=i.getElementById(C.panelId.current))==null?void 0:x.contains(a))})}),I=o$d(i=>{for(let a of O)a.buttonId.current!==i&&a.close();}),p=React$1.useMemo(()=>({registerPopover:P,unregisterPopover:v,isFocusWithinPopoverGroup:s,closeOthers:I,mainTreeNodeRef:e.mainTreeNodeRef}),[P,v,s,I,e.mainTreeNodeRef]),T=React$1.useMemo(()=>({}),[]),m=t,S={ref:R};return React$1.createElement(Pe$2.Provider,{value:p},X$2({ourProps:S,theirProps:m,slot:T,defaultTag:Ye,name:"Popover.Group"}),React$1.createElement(e.MainTreeNode,null))}let ze$1=D$1(we),Qe=D$1(We),Ze=D$1(Ve),et=D$1(Xe),tt=D$1(qe),kt=Object.assign(ze$1,{Button:Qe,Overlay:Ze,Panel:et,Group:tt});
64798
64798
 
64799
- let d$e=React$1.createContext(null);function u$4(){let o=React$1.useContext(d$e);if(o===null){let t=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,u$4),t}return o}function H(){let[o,t]=React$1.useState([]);return [o.length>0?o.join(" "):void 0,React$1.useMemo(()=>function(e){let s=o$d(r=>(t(l=>[...l,r]),()=>t(l=>{let n=l.slice(),p=n.indexOf(r);return p!==-1&&n.splice(p,1),n}))),a=React$1.useMemo(()=>({register:s,slot:e.slot,name:e.name,props:e.props}),[s,e.slot,e.name,e.props]);return React$1.createElement(d$e.Provider,{value:a},e.children)},[t])]}let A$1="label";function h(o,t){let i=I$2(),{id:e=`headlessui-label-${i}`,passive:s=!1,...a}=o,r=u$4(),l=y$3(t);l$f(()=>r.register(e),[e,r.register]);let n={ref:l,...r.props,id:e};return s&&("onClick"in n&&(delete n.htmlFor,delete n.onClick),"onClick"in a&&delete a.onClick),X$2({ourProps:n,theirProps:a,slot:r.slot||{},defaultTag:A$1,name:r.name||"Label"})}let v$1=D$1(h),M$1=Object.assign(v$1,{});
64799
+ let d$d=React$1.createContext(null);function u$3(){let o=React$1.useContext(d$d);if(o===null){let t=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,u$3),t}return o}function H(){let[o,t]=React$1.useState([]);return [o.length>0?o.join(" "):void 0,React$1.useMemo(()=>function(e){let s=o$d(r=>(t(l=>[...l,r]),()=>t(l=>{let n=l.slice(),p=n.indexOf(r);return p!==-1&&n.splice(p,1),n}))),a=React$1.useMemo(()=>({register:s,slot:e.slot,name:e.name,props:e.props}),[s,e.slot,e.name,e.props]);return React$1.createElement(d$d.Provider,{value:a},e.children)},[t])]}let A$2="label";function h(o,t){let i=I$2(),{id:e=`headlessui-label-${i}`,passive:s=!1,...a}=o,r=u$3(),l=y$3(t);l$f(()=>r.register(e),[e,r.register]);let n={ref:l,...r.props,id:e};return s&&("onClick"in n&&(delete n.htmlFor,delete n.onClick),"onClick"in a&&delete a.onClick),X$2({ourProps:n,theirProps:a,slot:r.slot||{},defaultTag:A$2,name:r.name||"Label"})}let v$1=D$1(h),M$1=Object.assign(v$1,{});
64800
64800
 
64801
- let y=React$1.createContext(null);y.displayName="GroupContext";let Y=React$1.Fragment;function Z(s){var d;let[n,p]=React$1.useState(null),[c,f]=H(),[r,h]=M$3(),l=React$1.useMemo(()=>({switch:n,setSwitch:p,labelledby:c,describedby:r}),[n,p,c,r]),T={},b=s;return React$1.createElement(h,{name:"Switch.Description"},React$1.createElement(f,{name:"Switch.Label",props:{htmlFor:(d=l.switch)==null?void 0:d.id,onClick(t){n&&(t.currentTarget.tagName==="LABEL"&&t.preventDefault(),n.click(),n.focus({preventScroll:!0}));}}},React$1.createElement(y.Provider,{value:l},X$2({ourProps:T,theirProps:b,defaultTag:Y,name:"Switch.Group"}))))}let ee="button";function te(s,n){let p=I$2(),{id:c=`headlessui-switch-${p}`,checked:f,defaultChecked:r=!1,onChange:h,name:l,value:T$1,form:b,...d}=s,t=React$1.useContext(y),u=React$1.useRef(null),D=y$3(u,n,t===null?null:t.setSwitch),[o,a]=T(f,h,r),S=o$d(()=>a==null?void 0:a(!o)),C=o$d(e=>{if(r$d(e.currentTarget))return e.preventDefault();e.preventDefault(),S();}),L=o$d(e=>{e.key===o$a.Space?(e.preventDefault(),S()):e.key===o$a.Enter&&p$8(e.currentTarget);}),v=o$d(e=>e.preventDefault()),G=React$1.useMemo(()=>({checked:o}),[o]),R$1={id:c,ref:D,role:"switch",type:s$d(s,u),tabIndex:0,"aria-checked":o,"aria-labelledby":t==null?void 0:t.labelledby,"aria-describedby":t==null?void 0:t.describedby,onClick:C,onKeyUp:L,onKeyPress:v},k=p$9();return React$1.useEffect(()=>{var w;let e=(w=u.current)==null?void 0:w.closest("form");e&&r!==void 0&&k.addEventListener(e,"reset",()=>{a(r);});},[u,a]),React$1.createElement(React$1.Fragment,null,l!=null&&o&&React$1.createElement(c$f,{features:p$7.Hidden,...R({as:"input",type:"checkbox",hidden:!0,readOnly:!0,form:b,checked:o,name:l,value:T$1})}),X$2({ourProps:R$1,theirProps:d,slot:G,defaultTag:ee,name:"Switch"}))}let ne=D$1(te),re=Z,Ge=Object.assign(ne,{Group:re,Label:M$1,Description:b$5});
64801
+ let y=React$1.createContext(null);y.displayName="GroupContext";let Y=React$1.Fragment;function Z(s){var d;let[n,p]=React$1.useState(null),[c,f]=H(),[r,h]=M$3(),l=React$1.useMemo(()=>({switch:n,setSwitch:p,labelledby:c,describedby:r}),[n,p,c,r]),T={},b=s;return React$1.createElement(h,{name:"Switch.Description"},React$1.createElement(f,{name:"Switch.Label",props:{htmlFor:(d=l.switch)==null?void 0:d.id,onClick(t){n&&(t.currentTarget.tagName==="LABEL"&&t.preventDefault(),n.click(),n.focus({preventScroll:!0}));}}},React$1.createElement(y.Provider,{value:l},X$2({ourProps:T,theirProps:b,defaultTag:Y,name:"Switch.Group"}))))}let ee="button";function te(s,n){let p=I$2(),{id:c=`headlessui-switch-${p}`,checked:f,defaultChecked:r=!1,onChange:h,name:l,value:T,form:b,...d}=s,t=React$1.useContext(y),u=React$1.useRef(null),D=y$3(u,n,t===null?null:t.setSwitch),[o,a]=T$1(f,h,r),S=o$d(()=>a==null?void 0:a(!o)),C=o$d(e=>{if(r$d(e.currentTarget))return e.preventDefault();e.preventDefault(),S();}),L=o$d(e=>{e.key===o$a.Space?(e.preventDefault(),S()):e.key===o$a.Enter&&p$8(e.currentTarget);}),v=o$d(e=>e.preventDefault()),G=React$1.useMemo(()=>({checked:o}),[o]),R$1={id:c,ref:D,role:"switch",type:s$d(s,u),tabIndex:0,"aria-checked":o,"aria-labelledby":t==null?void 0:t.labelledby,"aria-describedby":t==null?void 0:t.describedby,onClick:C,onKeyUp:L,onKeyPress:v},k=p$9();return React$1.useEffect(()=>{var w;let e=(w=u.current)==null?void 0:w.closest("form");e&&r!==void 0&&k.addEventListener(e,"reset",()=>{a(r);});},[u,a]),React$1.createElement(React$1.Fragment,null,l!=null&&o&&React$1.createElement(c$f,{features:p$7.Hidden,...R({as:"input",type:"checkbox",hidden:!0,readOnly:!0,form:b,checked:o,name:l,value:T})}),X$2({ourProps:R$1,theirProps:d,slot:G,defaultTag:ee,name:"Switch"}))}let ne=D$1(te),re=Z,Ge=Object.assign(ne,{Group:re,Label:M$1,Description:b$5});
64802
64802
 
64803
- function A({onFocus:n}){let[r,o]=React$1.useState(!0),u=f$6();return r?React$1.createElement(c$f,{as:"button",type:"button",features:p$7.Focusable,onFocus:a=>{a.preventDefault();let e,i=50;function t(){if(i--<=0){e&&cancelAnimationFrame(e);return}if(n()){if(cancelAnimationFrame(e),!u.current)return;o(!1);return}e=requestAnimationFrame(t);}e=requestAnimationFrame(t);}}):null}
64803
+ function A$1({onFocus:n}){let[r,o]=React$1.useState(!0),u=f$6();return r?React$1.createElement(c$f,{as:"button",type:"button",features:p$7.Focusable,onFocus:a=>{a.preventDefault();let e,i=50;function t(){if(i--<=0){e&&cancelAnimationFrame(e);return}if(n()){if(cancelAnimationFrame(e),!u.current)return;o(!1);return}e=requestAnimationFrame(t);}e=requestAnimationFrame(t);}}):null}
64804
64804
 
64805
- const s$a=React__namespace.createContext(null);function a$a(){return {groups:new Map,get(n,t){var c;let e=this.groups.get(n);e||(e=new Map,this.groups.set(n,e));let l=(c=e.get(t))!=null?c:0;e.set(t,l+1);let o=Array.from(e.keys()).indexOf(t);function i(){let u=e.get(t);u>1?e.set(t,u-1):e.delete(t);}return [o,i]}}}function C$1({children:n}){let t=React__namespace.useRef(a$a());return React__namespace.createElement(s$a.Provider,{value:t},n)}function d$d(n){let t=React__namespace.useContext(s$a);if(!t)throw new Error("You must wrap your component in a <StableCollection>");let e=f$3(),[l,o]=t.current.get(n,e);return React__namespace.useEffect(()=>o,[]),l}function f$3(){var l,o,i;let n=(i=(o=(l=React__namespace.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)==null?void 0:l.ReactCurrentOwner)==null?void 0:o.current)!=null?i:null;if(!n)return Symbol();let t=[],e=n;for(;e;)t.push(e.index),e=e.return;return "$."+t.join(".")}
64805
+ const s$a=React__namespace.createContext(null);function a$a(){return {groups:new Map,get(n,t){var c;let e=this.groups.get(n);e||(e=new Map,this.groups.set(n,e));let l=(c=e.get(t))!=null?c:0;e.set(t,l+1);let o=Array.from(e.keys()).indexOf(t);function i(){let u=e.get(t);u>1?e.set(t,u-1):e.delete(t);}return [o,i]}}}function C$1({children:n}){let t=React__namespace.useRef(a$a());return React__namespace.createElement(s$a.Provider,{value:t},n)}function d$c(n){let t=React__namespace.useContext(s$a);if(!t)throw new Error("You must wrap your component in a <StableCollection>");let e=f$3(),[l,o]=t.current.get(n,e);return React__namespace.useEffect(()=>o,[]),l}function f$3(){var l,o,i;let n=(i=(o=(l=React__namespace.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)==null?void 0:l.ReactCurrentOwner)==null?void 0:o.current)!=null?i:null;if(!n)return Symbol();let t=[],e=n;for(;e;)t.push(e.index),e=e.return;return "$."+t.join(".")}
64806
64806
 
64807
- var ue=(t=>(t[t.Forwards=0]="Forwards",t[t.Backwards=1]="Backwards",t))(ue||{}),Te$1=(o=>(o[o.Less=-1]="Less",o[o.Equal=0]="Equal",o[o.Greater=1]="Greater",o))(Te$1||{}),de=(r=>(r[r.SetSelectedIndex=0]="SetSelectedIndex",r[r.RegisterTab=1]="RegisterTab",r[r.UnregisterTab=2]="UnregisterTab",r[r.RegisterPanel=3]="RegisterPanel",r[r.UnregisterPanel=4]="UnregisterPanel",r))(de||{});let ce={[0](e,n){var u;let t=I$1(e.tabs,T=>T.current),o=I$1(e.panels,T=>T.current),s=t.filter(T=>{var l;return !((l=T.current)!=null&&l.hasAttribute("disabled"))}),r={...e,tabs:t,panels:o};if(n.index<0||n.index>t.length-1){let T=u$7(Math.sign(n.index-e.selectedIndex),{[-1]:()=>1,[0]:()=>u$7(Math.sign(n.index),{[-1]:()=>0,[0]:()=>0,[1]:()=>1}),[1]:()=>0});if(s.length===0)return r;let l=u$7(T,{[0]:()=>t.indexOf(s[0]),[1]:()=>t.indexOf(s[s.length-1])});return {...r,selectedIndex:l===-1?e.selectedIndex:l}}let i=t.slice(0,n.index),b=[...t.slice(n.index),...i].find(T=>s.includes(T));if(!b)return r;let c=(u=t.indexOf(b))!=null?u:e.selectedIndex;return c===-1&&(c=e.selectedIndex),{...r,selectedIndex:c}},[1](e,n){var r;if(e.tabs.includes(n.tab))return e;let t=e.tabs[e.selectedIndex],o=I$1([...e.tabs,n.tab],i=>i.current),s=(r=o.indexOf(t))!=null?r:e.selectedIndex;return s===-1&&(s=e.selectedIndex),{...e,tabs:o,selectedIndex:s}},[2](e,n){return {...e,tabs:e.tabs.filter(t=>t!==n.tab)}},[3](e,n){return e.panels.includes(n.panel)?e:{...e,panels:I$1([...e.panels,n.panel],t=>t.current)}},[4](e,n){return {...e,panels:e.panels.filter(t=>t!==n.panel)}}},X$1=React$1.createContext(null);X$1.displayName="TabsDataContext";function M(e){let n=React$1.useContext(X$1);if(n===null){let t=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,M),t}return n}let $=React$1.createContext(null);$.displayName="TabsActionsContext";function q(e){let n=React$1.useContext($);if(n===null){let t=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,q),t}return n}function fe(e,n){return u$7(n.type,ce,e,n)}let be=React$1.Fragment;function me(e,n){let{defaultIndex:t=0,vertical:o=!1,manual:s=!1,onChange:r,selectedIndex:i=null,...R}=e;const b=o?"vertical":"horizontal",c=s?"manual":"auto";let u=i!==null,T=y$3(n),[l,d]=React$1.useReducer(fe,{selectedIndex:i!=null?i:t,tabs:[],panels:[]}),g=React$1.useMemo(()=>({selectedIndex:l.selectedIndex}),[l.selectedIndex]),m=s$g(r||(()=>{})),y=s$g(l.tabs),E=React$1.useMemo(()=>({orientation:b,activation:c,...l}),[b,c,l]),I=o$d(p=>(d({type:1,tab:p}),()=>d({type:2,tab:p}))),A$1=o$d(p=>(d({type:3,panel:p}),()=>d({type:4,panel:p}))),L=o$d(p=>{C.current!==p&&m.current(p),u||d({type:0,index:p});}),C=s$g(u?e.selectedIndex:l.selectedIndex),N=React$1.useMemo(()=>({registerTab:I,registerPanel:A$1,change:L}),[]);l$f(()=>{d({type:0,index:i!=null?i:t});},[i]),l$f(()=>{if(C.current===void 0||l.tabs.length<=0)return;let p=I$1(l.tabs,a=>a.current);p.some((a,f)=>l.tabs[f]!==a)&&L(p.indexOf(l.tabs[C.current]));});let B={ref:T};return React$1.createElement(C$1,null,React$1.createElement($.Provider,{value:N},React$1.createElement(X$1.Provider,{value:E},E.tabs.length<=0&&React$1.createElement(A,{onFocus:()=>{var p,D;for(let a of y.current)if(((p=a.current)==null?void 0:p.tabIndex)===0)return (D=a.current)==null||D.focus(),!0;return !1}}),X$2({ourProps:B,theirProps:R,slot:g,defaultTag:be,name:"Tabs"}))))}let Pe="div";function xe$1(e,n){let{orientation:t,selectedIndex:o}=M("Tab.List"),s=y$3(n);return X$2({ourProps:{ref:s,role:"tablist","aria-orientation":t},theirProps:e,slot:{selectedIndex:o},defaultTag:Pe,name:"Tabs.List"})}let ge="button";function ye(e,n){var p,D;let t=I$2(),{id:o=`headlessui-tabs-tab-${t}`,...s}=e,{orientation:r,activation:i,selectedIndex:R,tabs:b,panels:c}=M("Tab"),u=q("Tab"),T=M("Tab"),l=React$1.useRef(null),d=y$3(l,n);l$f(()=>u.registerTab(l),[u,l]);let g=d$d("tabs"),m=b.indexOf(l);m===-1&&(m=g);let y=m===R,E=o$d(a=>{var j;let f=a();if(f===N$2.Success&&i==="auto"){let W=(j=e$2(l))==null?void 0:j.activeElement,z=T.tabs.findIndex(te=>te.current===W);z!==-1&&u.change(z);}return f}),I=o$d(a=>{let f=b.map(W=>W.current).filter(Boolean);if(a.key===o$a.Space||a.key===o$a.Enter){a.preventDefault(),a.stopPropagation(),u.change(m);return}switch(a.key){case o$a.Home:case o$a.PageUp:return a.preventDefault(),a.stopPropagation(),E(()=>O(f,M$4.First));case o$a.End:case o$a.PageDown:return a.preventDefault(),a.stopPropagation(),E(()=>O(f,M$4.Last))}if(E(()=>u$7(r,{vertical(){return a.key===o$a.ArrowUp?O(f,M$4.Previous|M$4.WrapAround):a.key===o$a.ArrowDown?O(f,M$4.Next|M$4.WrapAround):N$2.Error},horizontal(){return a.key===o$a.ArrowLeft?O(f,M$4.Previous|M$4.WrapAround):a.key===o$a.ArrowRight?O(f,M$4.Next|M$4.WrapAround):N$2.Error}}))===N$2.Success)return a.preventDefault()}),A=React$1.useRef(!1),L=o$d(()=>{var a;A.current||(A.current=!0,(a=l.current)==null||a.focus({preventScroll:!0}),u.change(m),t$9(()=>{A.current=!1;}));}),C=o$d(a=>{a.preventDefault();}),N=React$1.useMemo(()=>({selected:y}),[y]),B={ref:d,onKeyDown:I,onMouseDown:C,onClick:L,id:o,role:"tab",type:s$d(e,l),"aria-controls":(D=(p=c[m])==null?void 0:p.current)==null?void 0:D.id,"aria-selected":y,tabIndex:y?0:-1};return X$2({ourProps:B,theirProps:s,slot:N,defaultTag:ge,name:"Tabs.Tab"})}let Ee="div";function Ae(e,n){let{selectedIndex:t}=M("Tab.Panels"),o=y$3(n),s=React$1.useMemo(()=>({selectedIndex:t}),[t]);return X$2({ourProps:{ref:o},theirProps:e,slot:s,defaultTag:Ee,name:"Tabs.Panels"})}let Re$1="div",Le=S$2.RenderStrategy|S$2.Static;function Se(e,n){var E,I,A,L;let t=I$2(),{id:o=`headlessui-tabs-panel-${t}`,tabIndex:s=0,...r}=e,{selectedIndex:i,tabs:R,panels:b}=M("Tab.Panel"),c=q("Tab.Panel"),u=React$1.useRef(null),T=y$3(u,n);l$f(()=>c.registerPanel(u),[c,u]);let l=d$d("panels"),d=b.indexOf(u);d===-1&&(d=l);let g=d===i,m=React$1.useMemo(()=>({selected:g}),[g]),y={ref:T,id:o,role:"tabpanel","aria-labelledby":(I=(E=R[d])==null?void 0:E.current)==null?void 0:I.id,tabIndex:g?s:-1};return !g&&((A=r.unmount)==null||A)&&!((L=r.static)!=null&&L)?React$1.createElement(c$f,{as:"span",...y}):X$2({ourProps:y,theirProps:r,slot:m,defaultTag:Re$1,features:Le,visible:g,name:"Tabs.Panel"})}let Ie$1=D$1(ye),De=D$1(me),Fe$1=D$1(xe$1),he$1=D$1(Ae),Me=D$1(Se),rt=Object.assign(Ie$1,{Group:De,List:Fe$1,Panels:he$1,Panel:Me});
64807
+ var ue=(t=>(t[t.Forwards=0]="Forwards",t[t.Backwards=1]="Backwards",t))(ue||{}),Te$1=(o=>(o[o.Less=-1]="Less",o[o.Equal=0]="Equal",o[o.Greater=1]="Greater",o))(Te$1||{}),de=(r=>(r[r.SetSelectedIndex=0]="SetSelectedIndex",r[r.RegisterTab=1]="RegisterTab",r[r.UnregisterTab=2]="UnregisterTab",r[r.RegisterPanel=3]="RegisterPanel",r[r.UnregisterPanel=4]="UnregisterPanel",r))(de||{});let ce={[0](e,n){var u;let t=I$1(e.tabs,T=>T.current),o=I$1(e.panels,T=>T.current),s=t.filter(T=>{var l;return !((l=T.current)!=null&&l.hasAttribute("disabled"))}),r={...e,tabs:t,panels:o};if(n.index<0||n.index>t.length-1){let T=u$6(Math.sign(n.index-e.selectedIndex),{[-1]:()=>1,[0]:()=>u$6(Math.sign(n.index),{[-1]:()=>0,[0]:()=>0,[1]:()=>1}),[1]:()=>0});if(s.length===0)return r;let l=u$6(T,{[0]:()=>t.indexOf(s[0]),[1]:()=>t.indexOf(s[s.length-1])});return {...r,selectedIndex:l===-1?e.selectedIndex:l}}let i=t.slice(0,n.index),b=[...t.slice(n.index),...i].find(T=>s.includes(T));if(!b)return r;let c=(u=t.indexOf(b))!=null?u:e.selectedIndex;return c===-1&&(c=e.selectedIndex),{...r,selectedIndex:c}},[1](e,n){var r;if(e.tabs.includes(n.tab))return e;let t=e.tabs[e.selectedIndex],o=I$1([...e.tabs,n.tab],i=>i.current),s=(r=o.indexOf(t))!=null?r:e.selectedIndex;return s===-1&&(s=e.selectedIndex),{...e,tabs:o,selectedIndex:s}},[2](e,n){return {...e,tabs:e.tabs.filter(t=>t!==n.tab)}},[3](e,n){return e.panels.includes(n.panel)?e:{...e,panels:I$1([...e.panels,n.panel],t=>t.current)}},[4](e,n){return {...e,panels:e.panels.filter(t=>t!==n.panel)}}},X$1=React$1.createContext(null);X$1.displayName="TabsDataContext";function M(e){let n=React$1.useContext(X$1);if(n===null){let t=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,M),t}return n}let $$1=React$1.createContext(null);$$1.displayName="TabsActionsContext";function q(e){let n=React$1.useContext($$1);if(n===null){let t=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,q),t}return n}function fe(e,n){return u$6(n.type,ce,e,n)}let be$1=React$1.Fragment;function me(e,n){let{defaultIndex:t=0,vertical:o=!1,manual:s=!1,onChange:r,selectedIndex:i=null,...R}=e;const b=o?"vertical":"horizontal",c=s?"manual":"auto";let u=i!==null,T=y$3(n),[l,d]=React$1.useReducer(fe,{selectedIndex:i!=null?i:t,tabs:[],panels:[]}),g=React$1.useMemo(()=>({selectedIndex:l.selectedIndex}),[l.selectedIndex]),m=s$g(r||(()=>{})),y=s$g(l.tabs),E=React$1.useMemo(()=>({orientation:b,activation:c,...l}),[b,c,l]),I=o$d(p=>(d({type:1,tab:p}),()=>d({type:2,tab:p}))),A=o$d(p=>(d({type:3,panel:p}),()=>d({type:4,panel:p}))),L=o$d(p=>{C.current!==p&&m.current(p),u||d({type:0,index:p});}),C=s$g(u?e.selectedIndex:l.selectedIndex),N=React$1.useMemo(()=>({registerTab:I,registerPanel:A,change:L}),[]);l$f(()=>{d({type:0,index:i!=null?i:t});},[i]),l$f(()=>{if(C.current===void 0||l.tabs.length<=0)return;let p=I$1(l.tabs,a=>a.current);p.some((a,f)=>l.tabs[f]!==a)&&L(p.indexOf(l.tabs[C.current]));});let B={ref:T};return React$1.createElement(C$1,null,React$1.createElement($$1.Provider,{value:N},React$1.createElement(X$1.Provider,{value:E},E.tabs.length<=0&&React$1.createElement(A$1,{onFocus:()=>{var p,D;for(let a of y.current)if(((p=a.current)==null?void 0:p.tabIndex)===0)return (D=a.current)==null||D.focus(),!0;return !1}}),X$2({ourProps:B,theirProps:R,slot:g,defaultTag:be$1,name:"Tabs"}))))}let Pe$1="div";function xe$1(e,n){let{orientation:t,selectedIndex:o}=M("Tab.List"),s=y$3(n);return X$2({ourProps:{ref:s,role:"tablist","aria-orientation":t},theirProps:e,slot:{selectedIndex:o},defaultTag:Pe$1,name:"Tabs.List"})}let ge="button";function ye$1(e,n){var p,D;let t=I$2(),{id:o=`headlessui-tabs-tab-${t}`,...s}=e,{orientation:r,activation:i,selectedIndex:R,tabs:b,panels:c}=M("Tab"),u=q("Tab"),T=M("Tab"),l=React$1.useRef(null),d=y$3(l,n);l$f(()=>u.registerTab(l),[u,l]);let g=d$c("tabs"),m=b.indexOf(l);m===-1&&(m=g);let y=m===R,E=o$d(a=>{var j;let f=a();if(f===N$2.Success&&i==="auto"){let W=(j=e$2(l))==null?void 0:j.activeElement,z=T.tabs.findIndex(te=>te.current===W);z!==-1&&u.change(z);}return f}),I=o$d(a=>{let f=b.map(W=>W.current).filter(Boolean);if(a.key===o$a.Space||a.key===o$a.Enter){a.preventDefault(),a.stopPropagation(),u.change(m);return}switch(a.key){case o$a.Home:case o$a.PageUp:return a.preventDefault(),a.stopPropagation(),E(()=>O(f,M$4.First));case o$a.End:case o$a.PageDown:return a.preventDefault(),a.stopPropagation(),E(()=>O(f,M$4.Last))}if(E(()=>u$6(r,{vertical(){return a.key===o$a.ArrowUp?O(f,M$4.Previous|M$4.WrapAround):a.key===o$a.ArrowDown?O(f,M$4.Next|M$4.WrapAround):N$2.Error},horizontal(){return a.key===o$a.ArrowLeft?O(f,M$4.Previous|M$4.WrapAround):a.key===o$a.ArrowRight?O(f,M$4.Next|M$4.WrapAround):N$2.Error}}))===N$2.Success)return a.preventDefault()}),A=React$1.useRef(!1),L=o$d(()=>{var a;A.current||(A.current=!0,(a=l.current)==null||a.focus({preventScroll:!0}),u.change(m),t$9(()=>{A.current=!1;}));}),C=o$d(a=>{a.preventDefault();}),N=React$1.useMemo(()=>({selected:y}),[y]),B={ref:d,onKeyDown:I,onMouseDown:C,onClick:L,id:o,role:"tab",type:s$d(e,l),"aria-controls":(D=(p=c[m])==null?void 0:p.current)==null?void 0:D.id,"aria-selected":y,tabIndex:y?0:-1};return X$2({ourProps:B,theirProps:s,slot:N,defaultTag:ge,name:"Tabs.Tab"})}let Ee="div";function Ae(e,n){let{selectedIndex:t}=M("Tab.Panels"),o=y$3(n),s=React$1.useMemo(()=>({selectedIndex:t}),[t]);return X$2({ourProps:{ref:o},theirProps:e,slot:s,defaultTag:Ee,name:"Tabs.Panels"})}let Re="div",Le=S$2.RenderStrategy|S$2.Static;function Se(e,n){var E,I,A,L;let t=I$2(),{id:o=`headlessui-tabs-panel-${t}`,tabIndex:s=0,...r}=e,{selectedIndex:i,tabs:R,panels:b}=M("Tab.Panel"),c=q("Tab.Panel"),u=React$1.useRef(null),T=y$3(u,n);l$f(()=>c.registerPanel(u),[c,u]);let l=d$c("panels"),d=b.indexOf(u);d===-1&&(d=l);let g=d===i,m=React$1.useMemo(()=>({selected:g}),[g]),y={ref:T,id:o,role:"tabpanel","aria-labelledby":(I=(E=R[d])==null?void 0:E.current)==null?void 0:I.id,tabIndex:g?s:-1};return !g&&((A=r.unmount)==null||A)&&!((L=r.static)!=null&&L)?React$1.createElement(c$f,{as:"span",...y}):X$2({ourProps:y,theirProps:r,slot:m,defaultTag:Re,features:Le,visible:g,name:"Tabs.Panel"})}let Ie=D$1(ye$1),De=D$1(me),Fe=D$1(xe$1),he=D$1(Ae),Me$1=D$1(Se),rt=Object.assign(Ie,{Group:De,List:Fe,Panels:he,Panel:Me$1});
64808
64808
 
64809
64809
  const t$4=t=>{var r=__rest$2(t,[]);return React$1.createElement("svg",Object.assign({},r,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"}),React$1.createElement("path",{fillRule:"evenodd",d:"M6 2a1 1 0 00-1 1v1H4a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V6a2 2 0 00-2-2h-1V3a1 1 0 10-2 0v1H7V3a1 1 0 00-1-1zm0 5a1 1 0 000 2h8a1 1 0 100-2H6z",clipRule:"evenodd"}))};
64810
64810
 
@@ -67018,25 +67018,25 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
67018
67018
 
67019
67019
  const n$8=n=>{var{onClick:a,icon:m}=n,d=__rest$2(n,["onClick","icon"]);const c=m;return React$1.createElement("button",Object.assign({type:"button",className:t$e("flex items-center justify-center p-1 h-7 w-7 outline-none focus:ring-2 transition duration-100 border border-tremor-border dark:border-dark-tremor-border hover:bg-tremor-background-muted dark:hover:bg-dark-tremor-background-muted rounded-tremor-small focus:border-tremor-brand-subtle select-none dark:focus:border-dark-tremor-brand-subtle focus:ring-tremor-brand-muted dark:focus:ring-dark-tremor-brand-muted text-tremor-content-subtle dark:text-dark-tremor-content-subtle hover:text-tremor-content dark:hover:text-dark-tremor-content")},d),React$1.createElement(g$a,{onClick:a,icon:c,variant:"simple",color:"slate",size:"xs"}))};
67020
67020
 
67021
- function u$3(u){var{mode:b,defaultMonth:f,selected:k,onSelect:x,locale:p,disabled:h,enableYearNavigation:g,classNames:v,weekStartsOn:w=0}=u,y=__rest$2(u,["mode","defaultMonth","selected","onSelect","locale","disabled","enableYearNavigation","classNames","weekStartsOn"]);return React$1.createElement(DayPicker,Object.assign({showOutsideDays:!0,mode:b,defaultMonth:f,selected:k,onSelect:x,locale:p,disabled:h,weekStartsOn:w,classNames:Object.assign({months:"flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",month:"space-y-4",caption:"flex justify-center pt-2 relative items-center",caption_label:"text-tremor-default text-tremor-content-emphasis dark:text-dark-tremor-content-emphasis font-medium",nav:"space-x-1 flex items-center",nav_button:"flex items-center justify-center p-1 h-7 w-7 outline-none focus:ring-2 transition duration-100 border border-tremor-border dark:border-dark-tremor-border hover:bg-tremor-background-muted dark:hover:bg-dark-tremor-background-muted rounded-tremor-small focus:border-tremor-brand-subtle dark:focus:border-dark-tremor-brand-subtle focus:ring-tremor-brand-muted dark:focus:ring-dark-tremor-brand-muted text-tremor-content-subtle dark:text-dark-tremor-content-subtle hover:text-tremor-content dark:hover:text-dark-tremor-content",nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-y-1",head_row:"flex",head_cell:"w-9 font-normal text-center text-tremor-content-subtle dark:text-dark-tremor-content-subtle",row:"flex w-full mt-0.5",cell:"text-center p-0 relative focus-within:relative text-tremor-default text-tremor-content-emphasis dark:text-dark-tremor-content-emphasis",day:"h-9 w-9 p-0 hover:bg-tremor-background-subtle dark:hover:bg-dark-tremor-background-subtle outline-tremor-brand dark:outline-dark-tremor-brand rounded-tremor-default",day_today:"font-bold",day_selected:"aria-selected:bg-tremor-background-emphasis aria-selected:text-tremor-content-inverted dark:aria-selected:bg-dark-tremor-background-emphasis dark:aria-selected:text-dark-tremor-content-inverted ",day_disabled:"text-tremor-content-subtle dark:text-dark-tremor-content-subtle disabled:hover:bg-transparent",day_outside:"text-tremor-content-subtle dark:text-dark-tremor-content-subtle"},v),components:{IconLeft:r=>{var a=__rest$2(r,[]);return React$1.createElement(r$c,Object.assign({className:"h-4 w-4"},a))},IconRight:r=>{var a=__rest$2(r,[]);return React$1.createElement(r$b,Object.assign({className:"h-4 w-4"},a))},Caption:r=>{var u=__rest$2(r,[]);const{goToMonth:b,nextMonth:f,previousMonth:k,currentMonth:x}=useNavigation();return React$1.createElement("div",{className:"flex justify-between items-center"},React$1.createElement("div",{className:"flex items-center space-x-1"},g&&React$1.createElement(n$8,{onClick:()=>x&&b(addYears(x,-1)),icon:r$a}),React$1.createElement(n$8,{onClick:()=>k&&b(k),icon:r$c})),React$1.createElement(m$c,{className:"text-tremor-default tabular-nums capitalize text-tremor-content-emphasis dark:text-dark-tremor-content-emphasis font-medium"},format$1(u.displayMonth,"LLLL yyy",{locale:p})),React$1.createElement("div",{className:"flex items-center space-x-1"},React$1.createElement(n$8,{onClick:()=>f&&b(f),icon:r$b}),g&&React$1.createElement(n$8,{onClick:()=>x&&b(addYears(x,1)),icon:r$9})))}}},y))}u$3.displayName="DateRangePicker";
67021
+ function u$2(u){var{mode:b,defaultMonth:f,selected:k,onSelect:x,locale:p,disabled:h,enableYearNavigation:g,classNames:v,weekStartsOn:w=0}=u,y=__rest$2(u,["mode","defaultMonth","selected","onSelect","locale","disabled","enableYearNavigation","classNames","weekStartsOn"]);return React$1.createElement(DayPicker,Object.assign({showOutsideDays:!0,mode:b,defaultMonth:f,selected:k,onSelect:x,locale:p,disabled:h,weekStartsOn:w,classNames:Object.assign({months:"flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",month:"space-y-4",caption:"flex justify-center pt-2 relative items-center",caption_label:"text-tremor-default text-tremor-content-emphasis dark:text-dark-tremor-content-emphasis font-medium",nav:"space-x-1 flex items-center",nav_button:"flex items-center justify-center p-1 h-7 w-7 outline-none focus:ring-2 transition duration-100 border border-tremor-border dark:border-dark-tremor-border hover:bg-tremor-background-muted dark:hover:bg-dark-tremor-background-muted rounded-tremor-small focus:border-tremor-brand-subtle dark:focus:border-dark-tremor-brand-subtle focus:ring-tremor-brand-muted dark:focus:ring-dark-tremor-brand-muted text-tremor-content-subtle dark:text-dark-tremor-content-subtle hover:text-tremor-content dark:hover:text-dark-tremor-content",nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-y-1",head_row:"flex",head_cell:"w-9 font-normal text-center text-tremor-content-subtle dark:text-dark-tremor-content-subtle",row:"flex w-full mt-0.5",cell:"text-center p-0 relative focus-within:relative text-tremor-default text-tremor-content-emphasis dark:text-dark-tremor-content-emphasis",day:"h-9 w-9 p-0 hover:bg-tremor-background-subtle dark:hover:bg-dark-tremor-background-subtle outline-tremor-brand dark:outline-dark-tremor-brand rounded-tremor-default",day_today:"font-bold",day_selected:"aria-selected:bg-tremor-background-emphasis aria-selected:text-tremor-content-inverted dark:aria-selected:bg-dark-tremor-background-emphasis dark:aria-selected:text-dark-tremor-content-inverted ",day_disabled:"text-tremor-content-subtle dark:text-dark-tremor-content-subtle disabled:hover:bg-transparent",day_outside:"text-tremor-content-subtle dark:text-dark-tremor-content-subtle"},v),components:{IconLeft:r=>{var a=__rest$2(r,[]);return React$1.createElement(r$c,Object.assign({className:"h-4 w-4"},a))},IconRight:r=>{var a=__rest$2(r,[]);return React$1.createElement(r$b,Object.assign({className:"h-4 w-4"},a))},Caption:r=>{var u=__rest$2(r,[]);const{goToMonth:b,nextMonth:f,previousMonth:k,currentMonth:x}=useNavigation();return React$1.createElement("div",{className:"flex justify-between items-center"},React$1.createElement("div",{className:"flex items-center space-x-1"},g&&React$1.createElement(n$8,{onClick:()=>x&&b(addYears(x,-1)),icon:r$a}),React$1.createElement(n$8,{onClick:()=>k&&b(k),icon:r$c})),React$1.createElement(m$c,{className:"text-tremor-default tabular-nums capitalize text-tremor-content-emphasis dark:text-dark-tremor-content-emphasis font-medium"},format$1(u.displayMonth,"LLLL yyy",{locale:p})),React$1.createElement("div",{className:"flex items-center space-x-1"},React$1.createElement(n$8,{onClick:()=>f&&b(f),icon:r$b}),g&&React$1.createElement(n$8,{onClick:()=>x&&b(addYears(x,1)),icon:r$9})))}}},y))}u$2.displayName="DateRangePicker";
67022
67022
 
67023
- const t$3=$$1("DatePicker");
67023
+ const t$3=$$2("DatePicker");
67024
67024
 
67025
67025
  const o$8=(o,r)=>{const e=void 0!==r,[a,c]=React$1.useState(o);return [e?r:a,t=>{e||c(t);}]};
67026
67026
 
67027
- const c$c=$$1("DateRangePicker"),f$2=(t,e,r,o)=>{var i;if(r&&(t=null===(i=o.get(r))||void 0===i?void 0:i.from),t)return startOfDay(t&&!e?t:max$2([t,e]))},s$9=(e,r,o,a)=>{var u,l;if(o&&(e=startOfDay(null!==(l=null===(u=a.get(o))||void 0===u?void 0:u.to)&&void 0!==l?l:startOfToday())),e)return startOfDay(e&&!r?e:min$2([e,r]))},d$c=[{value:"tdy",text:"Today",from:startOfToday()},{value:"w",text:"Last 7 days",from:sub(startOfToday(),{days:7})},{value:"t",text:"Last 30 days",from:sub(startOfToday(),{days:30})},{value:"m",text:"Month to Date",from:startOfMonth(startOfToday())},{value:"y",text:"Year to Date",from:startOfYear(startOfToday())}],g$5=(t,e,r,o)=>{const n=(null==r?void 0:r.code)||"en-US";if(!t&&!e)return "";if(t&&!e){if(o)return format$1(t,o);const e={year:"numeric",month:"short",day:"numeric"};return t.toLocaleDateString(n,e)}if(t&&e){if(isEqual$1(t,e)){if(o)return format$1(t,o);const e={year:"numeric",month:"short",day:"numeric"};return t.toLocaleDateString(n,e)}if(t.getMonth()===e.getMonth()&&t.getFullYear()===e.getFullYear()){if(o)return `${format$1(t,o)} - ${format$1(e,o)}`;const r={month:"short",day:"numeric"};return `${t.toLocaleDateString(n,r)} - \n ${e.getDate()}, ${e.getFullYear()}`}{if(o)return `${format$1(t,o)} - ${format$1(e,o)}`;const r={year:"numeric",month:"short",day:"numeric"};return `${t.toLocaleDateString(n,r)} - \n ${e.toLocaleDateString(n,r)}`}}return ""};
67027
+ const c$c=$$2("DateRangePicker"),f$2=(t,e,r,o)=>{var i;if(r&&(t=null===(i=o.get(r))||void 0===i?void 0:i.from),t)return startOfDay(t&&!e?t:max$2([t,e]))},s$9=(e,r,o,a)=>{var u,l;if(o&&(e=startOfDay(null!==(l=null===(u=a.get(o))||void 0===u?void 0:u.to)&&void 0!==l?l:startOfToday())),e)return startOfDay(e&&!r?e:min$2([e,r]))},d$b=[{value:"tdy",text:"Today",from:startOfToday()},{value:"w",text:"Last 7 days",from:sub(startOfToday(),{days:7})},{value:"t",text:"Last 30 days",from:sub(startOfToday(),{days:30})},{value:"m",text:"Month to Date",from:startOfMonth(startOfToday())},{value:"y",text:"Year to Date",from:startOfYear(startOfToday())}],g$5=(t,e,r,o)=>{const n=(null==r?void 0:r.code)||"en-US";if(!t&&!e)return "";if(t&&!e){if(o)return format$1(t,o);const e={year:"numeric",month:"short",day:"numeric"};return t.toLocaleDateString(n,e)}if(t&&e){if(isEqual$1(t,e)){if(o)return format$1(t,o);const e={year:"numeric",month:"short",day:"numeric"};return t.toLocaleDateString(n,e)}if(t.getMonth()===e.getMonth()&&t.getFullYear()===e.getFullYear()){if(o)return `${format$1(t,o)} - ${format$1(e,o)}`;const r={month:"short",day:"numeric"};return `${t.toLocaleDateString(n,r)} - \n ${e.getDate()}, ${e.getFullYear()}`}{if(o)return `${format$1(t,o)} - ${format$1(e,o)}`;const r={year:"numeric",month:"short",day:"numeric"};return `${t.toLocaleDateString(n,r)} - \n ${e.toLocaleDateString(n,r)}`}}return ""};
67028
67028
 
67029
- const t$2=r=>["string","number"].includes(typeof r)?r:r instanceof Array?r.map(t$2).join(""):"object"==typeof r&&r?t$2(r.props.children):void 0;function o$7(r){const o=new Map;return React$1.Children.map(r,(r=>{var e;o.set(r.props.value,null!==(e=t$2(r))&&void 0!==e?e:r.props.value);})),o}function n$7(r,o){return React$1.Children.map(o,(e=>{var o;if((null!==(o=t$2(e))&&void 0!==o?o:e.props.value).toLowerCase().includes(r.toLowerCase()))return e}))}const a$9=(e,t,o=!1)=>t$e(t?"bg-tremor-background-subtle dark:bg-dark-tremor-background-subtle":"bg-tremor-background dark:bg-dark-tremor-background",!t&&"hover:bg-tremor-background-muted dark:hover:bg-dark-tremor-background-muted",e?"text-tremor-content-emphasis dark:text-dark-tremor-content-emphasis":"text-tremor-content dark:text-dark-tremor-content",t&&"text-tremor-content-subtle dark:text-dark-tremor-content-subtle",o&&"text-rose-500",o?"border-rose-500":"border-tremor-border dark:border-dark-tremor-border");function d$b(r){return null!=r&&""!==r}
67029
+ const t$2=r=>["string","number"].includes(typeof r)?r:r instanceof Array?r.map(t$2).join(""):"object"==typeof r&&r?t$2(r.props.children):void 0;function o$7(r){const o=new Map;return React$1.Children.map(r,(r=>{var e;o.set(r.props.value,null!==(e=t$2(r))&&void 0!==e?e:r.props.value);})),o}function n$7(r,o){return React$1.Children.map(o,(e=>{var o;if((null!==(o=t$2(e))&&void 0!==o?o:e.props.value).toLowerCase().includes(r.toLowerCase()))return e}))}const a$9=(e,t,o=!1)=>t$e(t?"bg-tremor-background-subtle dark:bg-dark-tremor-background-subtle":"bg-tremor-background dark:bg-dark-tremor-background",!t&&"hover:bg-tremor-background-muted dark:hover:bg-dark-tremor-background-muted",e?"text-tremor-content-emphasis dark:text-dark-tremor-content-emphasis":"text-tremor-content dark:text-dark-tremor-content",t&&"text-tremor-content-subtle dark:text-dark-tremor-content-subtle",o&&"text-rose-500",o?"border-rose-500":"border-tremor-border dark:border-dark-tremor-border");function d$a(r){return null!=r&&""!==r}
67030
67030
 
67031
- const w$1=startOfToday(),v=React$1.forwardRef(((d,v)=>{var x;const{value:N,defaultValue:j,onValueChange:C,minDate:y,maxDate:D,placeholder:E="Select date",disabled:R=!1,locale:X=y$7,enableClear:S=!0,displayFormat:O,className:P,enableYearNavigation:I=!1,weekStartsOn:V=0}=d,Y=__rest$2(d,["value","defaultValue","onValueChange","minDate","maxDate","placeholder","disabled","locale","enableClear","displayFormat","className","enableYearNavigation","weekStartsOn"]),[M,U]=o$8(j,N),z=React$1.useMemo((()=>{const e=[];return y&&e.push({before:y}),D&&e.push({after:D}),e}),[y,D]),B=M?g$5(M,void 0,X,O):E,F=startOfMonth(null!==(x=null!=M?M:D)&&void 0!==x?x:w$1),L=S&&!R;return React$1.createElement(kt,Object.assign({ref:v,as:"div",className:t$e("relative w-full min-w-[10rem] text-tremor-default","focus:ring-2 focus:ring-tremor-brand-muted dark:focus:ring-dark-tremor-brand-muted",P)},Y),React$1.createElement(kt.Button,{disabled:R,className:t$e("w-full outline-none text-left whitespace-nowrap truncate focus:ring-2 transition duration-100 rounded-tremor-default flex flex-nowrap","border-tremor-border shadow-tremor-input text-tremor-content-emphasis focus:border-tremor-brand-subtle focus:ring-tremor-brand-muted","dark:border-dark-tremor-border dark:shadow-dark-tremor-input dark:text-dark-tremor-content-emphasis dark:focus:border-dark-tremor-brand-subtle dark:focus:ring-dark-tremor-brand-muted",t$g.lg.paddingLeft,L?t$g.fourXl.paddingRight:t$g.twoXl.paddingRight,t$g.sm.paddingY,r$m.sm.all,a$9(d$b(M),R))},React$1.createElement(t$4,{className:t$e(t$3("calendarIcon"),"flex-none shrink-0","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",h$7.lg.height,h$7.lg.width,t$g.threeXs.negativeMarginLeft,t$g.sm.marginRight),"aria-hidden":"true"}),React$1.createElement("p",{className:"truncate"},B)),L&&M?React$1.createElement("button",{type:"button",className:t$e("absolute outline-none inset-y-0 right-0 flex items-center transition duration-100",t$g.twoXl.marginRight),onClick:e=>{e.preventDefault(),null==C||C(void 0),U(void 0);}},React$1.createElement(l$c,{className:t$e("flex-none","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",h$7.md.height,h$7.md.width)})):null,React$1.createElement(kt.Panel,{className:t$e("absolute z-10 divide-y overflow-y-auto min-w-min left-0 outline-none rounded-tremor-default p-3","bg-tremor-background border-tremor-border divide-tremor-border shadow-tremor-dropdown","dark:bg-dark-tremor-background dark:border-dark-tremor-border dark:divide-dark-tremor-border dark:shadow-dark-tremor-dropdown",t$g.twoXs.marginTop,t$g.twoXs.marginBottom,r$m.sm.all)},(({close:e})=>React$1.createElement(u$3,{showOutsideDays:!0,mode:"single",defaultMonth:F,selected:M,weekStartsOn:V,onSelect:r=>{null==C||C(r),U(r),e();},locale:X,disabled:z,enableYearNavigation:I}))))}));v.displayName="DatePicker";
67031
+ const w$1=startOfToday(),v=React$1.forwardRef(((d,v)=>{var x;const{value:N,defaultValue:j,onValueChange:C,minDate:y,maxDate:D,placeholder:E="Select date",disabled:R=!1,locale:X=y$7,enableClear:S=!0,displayFormat:O,className:P,enableYearNavigation:I=!1,weekStartsOn:V=0}=d,Y=__rest$2(d,["value","defaultValue","onValueChange","minDate","maxDate","placeholder","disabled","locale","enableClear","displayFormat","className","enableYearNavigation","weekStartsOn"]),[M,U]=o$8(j,N),z=React$1.useMemo((()=>{const e=[];return y&&e.push({before:y}),D&&e.push({after:D}),e}),[y,D]),B=M?g$5(M,void 0,X,O):E,F=startOfMonth(null!==(x=null!=M?M:D)&&void 0!==x?x:w$1),L=S&&!R;return React$1.createElement(kt,Object.assign({ref:v,as:"div",className:t$e("relative w-full min-w-[10rem] text-tremor-default","focus:ring-2 focus:ring-tremor-brand-muted dark:focus:ring-dark-tremor-brand-muted",P)},Y),React$1.createElement(kt.Button,{disabled:R,className:t$e("w-full outline-none text-left whitespace-nowrap truncate focus:ring-2 transition duration-100 rounded-tremor-default flex flex-nowrap","border-tremor-border shadow-tremor-input text-tremor-content-emphasis focus:border-tremor-brand-subtle focus:ring-tremor-brand-muted","dark:border-dark-tremor-border dark:shadow-dark-tremor-input dark:text-dark-tremor-content-emphasis dark:focus:border-dark-tremor-brand-subtle dark:focus:ring-dark-tremor-brand-muted",t$g.lg.paddingLeft,L?t$g.fourXl.paddingRight:t$g.twoXl.paddingRight,t$g.sm.paddingY,r$m.sm.all,a$9(d$a(M),R))},React$1.createElement(t$4,{className:t$e(t$3("calendarIcon"),"flex-none shrink-0","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",h$7.lg.height,h$7.lg.width,t$g.threeXs.negativeMarginLeft,t$g.sm.marginRight),"aria-hidden":"true"}),React$1.createElement("p",{className:"truncate"},B)),L&&M?React$1.createElement("button",{type:"button",className:t$e("absolute outline-none inset-y-0 right-0 flex items-center transition duration-100",t$g.twoXl.marginRight),onClick:e=>{e.preventDefault(),null==C||C(void 0),U(void 0);}},React$1.createElement(l$c,{className:t$e("flex-none","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",h$7.md.height,h$7.md.width)})):null,React$1.createElement(kt.Panel,{className:t$e("absolute z-10 divide-y overflow-y-auto min-w-min left-0 outline-none rounded-tremor-default p-3","bg-tremor-background border-tremor-border divide-tremor-border shadow-tremor-dropdown","dark:bg-dark-tremor-background dark:border-dark-tremor-border dark:divide-dark-tremor-border dark:shadow-dark-tremor-dropdown",t$g.twoXs.marginTop,t$g.twoXs.marginBottom,r$m.sm.all)},(({close:e})=>React$1.createElement(u$2,{showOutsideDays:!0,mode:"single",defaultMonth:F,selected:M,weekStartsOn:V,onSelect:r=>{null==C||C(r),U(r),e();},locale:X,disabled:z,enableYearNavigation:I}))))}));v.displayName="DatePicker";
67032
67032
 
67033
67033
  const r$8=r=>{var o=__rest$2(r,[]);return React$1.createElement("svg",Object.assign({},o,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2.5"}),React$1.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 9l-7 7-7-7"}))};
67034
67034
 
67035
- const p$6=$$1("Select"),g$4=React$1.forwardRef(((s,g)=>{const{defaultValue:h,value:k,onValueChange:w,placeholder:x="Select...",disabled:v=!1,icon:N,enableClear:E=!0,children:j,className:y}=s,C=__rest$2(s,["defaultValue","value","onValueChange","placeholder","disabled","icon","enableClear","children","className"]),[I,V]=o$8(h,k),X=N,R=React$1.useMemo((()=>o$7(j)),[j]);return React$1.createElement(Nt$1,Object.assign({as:"div",ref:g,defaultValue:I,value:I,onChange:e=>{null==w||w(e),V(e);},disabled:v,className:t$e("w-full min-w-[10rem] relative text-tremor-default",y)},C),(({value:e})=>{var a;return React$1.createElement(React$1.Fragment,null,React$1.createElement(Nt$1.Button,{className:t$e("w-full outline-none text-left whitespace-nowrap truncate rounded-tremor-default focus:ring-2 transition duration-100","border-tremor-border shadow-tremor-input focus:border-tremor-brand-subtle focus:ring-tremor-brand-muted","dark:border-dark-tremor-border dark:shadow-dark-tremor-input dark:focus:border-dark-tremor-brand-subtle dark:focus:ring-dark-tremor-brand-muted",X?"p-10 -ml-0.5":t$g.lg.paddingLeft,t$g.fourXl.paddingRight,t$g.sm.paddingY,r$m.sm.all,a$9(d$b(e),v))},X&&React$1.createElement("span",{className:t$e("absolute inset-y-0 left-0 flex items-center ml-px",t$g.md.paddingLeft)},React$1.createElement(X,{className:t$e(p$6("Icon"),"flex-none","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",h$7.lg.height,h$7.lg.width)})),React$1.createElement("span",{className:"w-[90%] block truncate"},e&&null!==(a=R.get(e))&&void 0!==a?a:x),React$1.createElement("span",{className:t$e("absolute inset-y-0 right-0 flex items-center",t$g.lg.marginRight)},React$1.createElement(r$8,{className:t$e(p$6("arrowDownIcon"),"flex-none","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",h$7.md.height,h$7.md.width)}))),E&&I?React$1.createElement("button",{type:"button",className:t$e("absolute inset-y-0 right-0 flex items-center",t$g.fourXl.marginRight),onClick:e=>{e.preventDefault(),V(""),null==w||w("");}},React$1.createElement(l$c,{className:t$e(p$6("clearIcon"),"flex-none","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",h$7.md.height,h$7.md.width)})):null,React$1.createElement(Nt$1.Options,{className:t$e("absolute z-10 divide-y overflow-y-auto max-h-[228px] w-full left-0 outline-none rounded-tremor-default","bg-tremor-background border-tremor-border divide-tremor-border shadow-tremor-dropdown","dark:bg-dark-tremor-background dark:border-dark-tremor-border dark:divide-dark-tremor-border dark:shadow-dark-tremor-dropdown",t$g.twoXs.marginTop,t$g.twoXs.marginBottom,r$m.sm.all)},j))}))}));g$4.displayName="Select";
67035
+ const p$6=$$2("Select"),g$4=React$1.forwardRef(((s,g)=>{const{defaultValue:h,value:k,onValueChange:w,placeholder:x="Select...",disabled:v=!1,icon:N,enableClear:E=!0,children:j,className:y}=s,C=__rest$2(s,["defaultValue","value","onValueChange","placeholder","disabled","icon","enableClear","children","className"]),[I,V]=o$8(h,k),X=N,R=React$1.useMemo((()=>o$7(j)),[j]);return React$1.createElement(Nt,Object.assign({as:"div",ref:g,defaultValue:I,value:I,onChange:e=>{null==w||w(e),V(e);},disabled:v,className:t$e("w-full min-w-[10rem] relative text-tremor-default",y)},C),(({value:e})=>{var a;return React$1.createElement(React$1.Fragment,null,React$1.createElement(Nt.Button,{className:t$e("w-full outline-none text-left whitespace-nowrap truncate rounded-tremor-default focus:ring-2 transition duration-100","border-tremor-border shadow-tremor-input focus:border-tremor-brand-subtle focus:ring-tremor-brand-muted","dark:border-dark-tremor-border dark:shadow-dark-tremor-input dark:focus:border-dark-tremor-brand-subtle dark:focus:ring-dark-tremor-brand-muted",X?"p-10 -ml-0.5":t$g.lg.paddingLeft,t$g.fourXl.paddingRight,t$g.sm.paddingY,r$m.sm.all,a$9(d$a(e),v))},X&&React$1.createElement("span",{className:t$e("absolute inset-y-0 left-0 flex items-center ml-px",t$g.md.paddingLeft)},React$1.createElement(X,{className:t$e(p$6("Icon"),"flex-none","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",h$7.lg.height,h$7.lg.width)})),React$1.createElement("span",{className:"w-[90%] block truncate"},e&&null!==(a=R.get(e))&&void 0!==a?a:x),React$1.createElement("span",{className:t$e("absolute inset-y-0 right-0 flex items-center",t$g.lg.marginRight)},React$1.createElement(r$8,{className:t$e(p$6("arrowDownIcon"),"flex-none","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",h$7.md.height,h$7.md.width)}))),E&&I?React$1.createElement("button",{type:"button",className:t$e("absolute inset-y-0 right-0 flex items-center",t$g.fourXl.marginRight),onClick:e=>{e.preventDefault(),V(""),null==w||w("");}},React$1.createElement(l$c,{className:t$e(p$6("clearIcon"),"flex-none","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",h$7.md.height,h$7.md.width)})):null,React$1.createElement(Nt.Options,{className:t$e("absolute z-10 divide-y overflow-y-auto max-h-[228px] w-full left-0 outline-none rounded-tremor-default","bg-tremor-background border-tremor-border divide-tremor-border shadow-tremor-dropdown","dark:bg-dark-tremor-background dark:border-dark-tremor-border dark:divide-dark-tremor-border dark:shadow-dark-tremor-dropdown",t$g.twoXs.marginTop,t$g.twoXs.marginBottom,r$m.sm.all)},j))}))}));g$4.displayName="Select";
67036
67036
 
67037
- const i$b=$$1("SelectItem"),s$8=React$1.forwardRef(((o,s)=>{const{value:c,icon:d,className:l,children:u}=o,g=__rest$2(o,["value","icon","className","children"]),p=d;return React$1.createElement(Nt$1.Option,Object.assign({className:t$e(i$b("root"),"flex justify-start items-center cursor-default text-tremor-default","ui-active:bg-tremor-background-muted ui-active:text-tremor-content-strong ui-selected:text-tremor-content-strong ui-selected:bg-tremor-background-muted text-tremor-content-emphasis","dark:ui-active:bg-dark-tremor-background-muted dark:ui-active:text-dark-tremor-content-strong dark:ui-selected:text-dark-tremor-content-strong dark:ui-selected:bg-dark-tremor-background-muted dark:text-dark-tremor-content-emphasis",t$g.md.paddingX,t$g.md.paddingY,l),ref:s,key:c,value:c},g),p&&React$1.createElement(p,{className:t$e(i$b("icon"),"flex-none","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",h$7.lg.width,t$g.xs.marginRight)}),React$1.createElement("span",{className:"whitespace-nowrap truncate"},null!=u?u:c))}));s$8.displayName="SelectItem";
67037
+ const i$b=$$2("SelectItem"),s$8=React$1.forwardRef(((o,s)=>{const{value:c,icon:d,className:l,children:u}=o,g=__rest$2(o,["value","icon","className","children"]),p=d;return React$1.createElement(Nt.Option,Object.assign({className:t$e(i$b("root"),"flex justify-start items-center cursor-default text-tremor-default","ui-active:bg-tremor-background-muted ui-active:text-tremor-content-strong ui-selected:text-tremor-content-strong ui-selected:bg-tremor-background-muted text-tremor-content-emphasis","dark:ui-active:bg-dark-tremor-background-muted dark:ui-active:text-dark-tremor-content-strong dark:ui-selected:text-dark-tremor-content-strong dark:ui-selected:bg-dark-tremor-background-muted dark:text-dark-tremor-content-emphasis",t$g.md.paddingX,t$g.md.paddingY,l),ref:s,key:c,value:c},g),p&&React$1.createElement(p,{className:t$e(i$b("icon"),"flex-none","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",h$7.lg.width,t$g.xs.marginRight)}),React$1.createElement("span",{className:"whitespace-nowrap truncate"},null!=u?u:c))}));s$8.displayName="SelectItem";
67038
67038
 
67039
- const C=startOfToday(),X=React$1.forwardRef(((m,X)=>{var R,D;const{value:O,defaultValue:V,onValueChange:B,enableSelect:I=!0,minDate:_,maxDate:z,placeholder:F="Select range",selectPlaceholder:M="Select range",disabled:P=!1,locale:Y=y$7,enableClear:L=!0,displayFormat:T,children:U,className:q,enableYearNavigation:A=!1,weekStartsOn:G=0}=m,H=__rest$2(m,["value","defaultValue","onValueChange","enableSelect","minDate","maxDate","placeholder","selectPlaceholder","disabled","locale","enableClear","displayFormat","children","className","enableYearNavigation","weekStartsOn"]),[J,K]=o$8(V,O),[Q,W]=React$1.useState(!1),[Z,$]=React$1.useState(!1),ee=React$1.useMemo((()=>{const e=[];return _&&e.push({before:_}),z&&e.push({after:z}),e}),[_,z]),re=React$1.useMemo((()=>{const e=new Map;return U?React$1.Children.forEach(U,(r=>{var t;e.set(r.props.value,{text:null!==(t=t$2(r))&&void 0!==t?t:r.props.value,from:r.props.from,to:r.props.to});})):d$c.forEach((r=>{e.set(r.value,{text:r.text,from:r.from,to:C});})),e}),[U]),te=React$1.useMemo((()=>{if(U)return o$7(U);const e=new Map;return d$c.forEach((r=>e.set(r.value,r.text))),e}),[U]),ae=(null==J?void 0:J.selectValue)||"",oe=f$2(null==J?void 0:J.from,_,ae,re),de=s$9(null==J?void 0:J.to,z,ae,re),le=oe||de?g$5(oe,de,Y,T):F,ne=startOfMonth(null!==(D=null!==(R=null!=de?de:oe)&&void 0!==R?R:z)&&void 0!==D?D:C),me=L&&!P;return React$1.createElement("div",Object.assign({ref:X,className:t$e("w-full min-w-[10rem] relative flex justify-between text-tremor-default max-w-sm shadow-tremor-input dark:shadow-dark-tremor-input rounded-tremor-default",q)},H),React$1.createElement(kt,{as:"div",className:t$e("w-full overflow-hidden",I?"rounded-l-tremor-default":"rounded-tremor-default",Q&&"ring-2 ring-tremor-brand-muted dark:ring-dark-tremor-brand-muted z-10")},React$1.createElement("div",{className:"relative w-full overflow-hidden"},React$1.createElement(kt.Button,{onFocus:()=>W(!0),onBlur:()=>W(!1),disabled:P,className:t$e("w-full outline-none text-left whitespace-nowrap truncate focus:ring-2 transition duration-100 rounded-l-tremor-default flex flex-nowrap","rounded-l-tremor-default border-tremor-border text-tremor-content-emphasis focus:border-tremor-brand-subtle focus:ring-tremor-brand-muted","dark:border-dark-tremor-border dark:text-dark-tremor-content-emphasis dark:focus:border-dark-tremor-brand-subtle dark:focus:ring-dark-tremor-brand-muted",I?"rounded-l-tremor-default":"rounded-tremor-default",t$g.lg.paddingLeft,me?t$g.fourXl.paddingRight:t$g.twoXl.paddingRight,t$g.sm.paddingY,r$m.sm.all,a$9(d$b(oe||de),P))},React$1.createElement(t$4,{className:t$e(c$c("calendarIcon"),"flex-none shrink-0","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",h$7.lg.height,h$7.lg.width,t$g.threeXs.negativeMarginLeft,t$g.sm.marginRight),"aria-hidden":"true"}),React$1.createElement("p",{className:"truncate"},le)),me&&oe?React$1.createElement("button",{type:"button",className:t$e("absolute outline-none inset-y-0 right-0 flex items-center transition duration-100",t$g.twoXl.marginRight),onClick:e=>{e.preventDefault(),null==B||B({}),K({});}},React$1.createElement(l$c,{className:t$e(c$c("clearIcon"),"flex-none","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",h$7.md.height,h$7.md.width)})):null),React$1.createElement(kt.Panel,{focus:!0,className:t$e("absolute z-10 divide-y overflow-y-auto min-w-min left-0 outline-none rounded-tremor-default p-3","bg-tremor-background border-tremor-border divide-tremor-border shadow-tremor-dropdown","dark:bg-dark-tremor-background dark:border-dark-tremor-border dark:divide-dark-tremor-border dark:shadow-dark-tremor-dropdown",t$g.twoXs.marginTop,t$g.twoXs.marginBottom,r$m.sm.all)},React$1.createElement(u$3,Object.assign({mode:"range",showOutsideDays:!0,defaultMonth:ne,selected:{from:oe,to:de},onSelect:e=>{null==B||B({from:null==e?void 0:e.from,to:null==e?void 0:e.to}),K({from:null==e?void 0:e.from,to:null==e?void 0:e.to});},locale:Y,disabled:ee,enableYearNavigation:A,classNames:{day_range_middle:t$e("!rounded-none aria-selected:!bg-tremor-background-subtle aria-selected:dark:!bg-dark-tremor-background-subtle aria-selected:!text-tremor-content aria-selected:dark:!bg-dark-tremor-background-subtle"),day_range_start:"rounded-r-none rounded-l-tremor-small aria-selected:text-tremor-brand-inverted dark:aria-selected:text-dark-tremor-brand-inverted",day_range_end:"rounded-l-none rounded-r-tremor-small aria-selected:text-tremor-brand-inverted dark:aria-selected:text-dark-tremor-brand-inverted"},weekStartsOn:G},m)))),I&&React$1.createElement(Nt$1,{as:"div",className:t$e("w-48 overflow-hidden -ml-px rounded-r-tremor-default",Z&&"ring-2 ring-tremor-brand-muted dark:focus:ring-dark-tremor-brand-muted z-10"),value:ae,onChange:e=>{const{from:r,to:t}=re.get(e),a=null!=t?t:C;null==B||B({from:r,to:a,selectValue:e}),K({from:r,to:a,selectValue:e});},disabled:P},(({value:e})=>{var r;return React$1.createElement(React$1.Fragment,null,React$1.createElement(Nt$1.Button,{onFocus:()=>$(!0),onBlur:()=>$(!1),className:t$e("w-full outline-none text-left whitespace-nowrap truncate rounded-r-tremor-default transition duration-100","border-tremor-border shadow-tremor-input text-tremor-content-emphasis focus:border-tremor-brand-subtle","dark:border-dark-tremor-border dark:shadow-dark-tremor-input dark:text-dark-tremor-content-emphasis dark:focus:border-dark-tremor-brand-subtle",t$g.twoXl.paddingLeft,t$g.twoXl.paddingRight,t$g.sm.paddingY,r$m.sm.all,a$9(d$b(e),P))},e&&null!==(r=te.get(e))&&void 0!==r?r:M),React$1.createElement(Nt$1.Options,{className:t$e("absolute z-10 divide-y overflow-y-auto w-full inset-x-0 right-0 outline-none","shadow-tremor-dropdown bg-tremor-background border-tremor-border divide-tremor-border rounded-tremor-default","dark:shadow-dark-tremor-dropdown dark:bg-dark-tremor-background dark:border-dark-tremor-border dark:divide-dark-tremor-border",t$g.twoXs.marginTop,t$g.twoXs.marginBottom,r$m.sm.all)},null!=U?U:d$c.map((e=>React$1.createElement(s$8,{key:e.value,value:e.value},e.text)))))})))}));X.displayName="DateRangePicker";
67039
+ const C=startOfToday(),X=React$1.forwardRef(((m,X)=>{var R,D;const{value:O,defaultValue:V,onValueChange:B,enableSelect:I=!0,minDate:_,maxDate:z,placeholder:F="Select range",selectPlaceholder:M="Select range",disabled:P=!1,locale:Y=y$7,enableClear:L=!0,displayFormat:T,children:U,className:q,enableYearNavigation:A=!1,weekStartsOn:G=0}=m,H=__rest$2(m,["value","defaultValue","onValueChange","enableSelect","minDate","maxDate","placeholder","selectPlaceholder","disabled","locale","enableClear","displayFormat","children","className","enableYearNavigation","weekStartsOn"]),[J,K]=o$8(V,O),[Q,W]=React$1.useState(!1),[Z,$]=React$1.useState(!1),ee=React$1.useMemo((()=>{const e=[];return _&&e.push({before:_}),z&&e.push({after:z}),e}),[_,z]),re=React$1.useMemo((()=>{const e=new Map;return U?React$1.Children.forEach(U,(r=>{var t;e.set(r.props.value,{text:null!==(t=t$2(r))&&void 0!==t?t:r.props.value,from:r.props.from,to:r.props.to});})):d$b.forEach((r=>{e.set(r.value,{text:r.text,from:r.from,to:C});})),e}),[U]),te=React$1.useMemo((()=>{if(U)return o$7(U);const e=new Map;return d$b.forEach((r=>e.set(r.value,r.text))),e}),[U]),ae=(null==J?void 0:J.selectValue)||"",oe=f$2(null==J?void 0:J.from,_,ae,re),de=s$9(null==J?void 0:J.to,z,ae,re),le=oe||de?g$5(oe,de,Y,T):F,ne=startOfMonth(null!==(D=null!==(R=null!=de?de:oe)&&void 0!==R?R:z)&&void 0!==D?D:C),me=L&&!P;return React$1.createElement("div",Object.assign({ref:X,className:t$e("w-full min-w-[10rem] relative flex justify-between text-tremor-default max-w-sm shadow-tremor-input dark:shadow-dark-tremor-input rounded-tremor-default",q)},H),React$1.createElement(kt,{as:"div",className:t$e("w-full overflow-hidden",I?"rounded-l-tremor-default":"rounded-tremor-default",Q&&"ring-2 ring-tremor-brand-muted dark:ring-dark-tremor-brand-muted z-10")},React$1.createElement("div",{className:"relative w-full overflow-hidden"},React$1.createElement(kt.Button,{onFocus:()=>W(!0),onBlur:()=>W(!1),disabled:P,className:t$e("w-full outline-none text-left whitespace-nowrap truncate focus:ring-2 transition duration-100 rounded-l-tremor-default flex flex-nowrap","rounded-l-tremor-default border-tremor-border text-tremor-content-emphasis focus:border-tremor-brand-subtle focus:ring-tremor-brand-muted","dark:border-dark-tremor-border dark:text-dark-tremor-content-emphasis dark:focus:border-dark-tremor-brand-subtle dark:focus:ring-dark-tremor-brand-muted",I?"rounded-l-tremor-default":"rounded-tremor-default",t$g.lg.paddingLeft,me?t$g.fourXl.paddingRight:t$g.twoXl.paddingRight,t$g.sm.paddingY,r$m.sm.all,a$9(d$a(oe||de),P))},React$1.createElement(t$4,{className:t$e(c$c("calendarIcon"),"flex-none shrink-0","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",h$7.lg.height,h$7.lg.width,t$g.threeXs.negativeMarginLeft,t$g.sm.marginRight),"aria-hidden":"true"}),React$1.createElement("p",{className:"truncate"},le)),me&&oe?React$1.createElement("button",{type:"button",className:t$e("absolute outline-none inset-y-0 right-0 flex items-center transition duration-100",t$g.twoXl.marginRight),onClick:e=>{e.preventDefault(),null==B||B({}),K({});}},React$1.createElement(l$c,{className:t$e(c$c("clearIcon"),"flex-none","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",h$7.md.height,h$7.md.width)})):null),React$1.createElement(kt.Panel,{focus:!0,className:t$e("absolute z-10 divide-y overflow-y-auto min-w-min left-0 outline-none rounded-tremor-default p-3","bg-tremor-background border-tremor-border divide-tremor-border shadow-tremor-dropdown","dark:bg-dark-tremor-background dark:border-dark-tremor-border dark:divide-dark-tremor-border dark:shadow-dark-tremor-dropdown",t$g.twoXs.marginTop,t$g.twoXs.marginBottom,r$m.sm.all)},React$1.createElement(u$2,Object.assign({mode:"range",showOutsideDays:!0,defaultMonth:ne,selected:{from:oe,to:de},onSelect:e=>{null==B||B({from:null==e?void 0:e.from,to:null==e?void 0:e.to}),K({from:null==e?void 0:e.from,to:null==e?void 0:e.to});},locale:Y,disabled:ee,enableYearNavigation:A,classNames:{day_range_middle:t$e("!rounded-none aria-selected:!bg-tremor-background-subtle aria-selected:dark:!bg-dark-tremor-background-subtle aria-selected:!text-tremor-content aria-selected:dark:!bg-dark-tremor-background-subtle"),day_range_start:"rounded-r-none rounded-l-tremor-small aria-selected:text-tremor-brand-inverted dark:aria-selected:text-dark-tremor-brand-inverted",day_range_end:"rounded-l-none rounded-r-tremor-small aria-selected:text-tremor-brand-inverted dark:aria-selected:text-dark-tremor-brand-inverted"},weekStartsOn:G},m)))),I&&React$1.createElement(Nt,{as:"div",className:t$e("w-48 overflow-hidden -ml-px rounded-r-tremor-default",Z&&"ring-2 ring-tremor-brand-muted dark:focus:ring-dark-tremor-brand-muted z-10"),value:ae,onChange:e=>{const{from:r,to:t}=re.get(e),a=null!=t?t:C;null==B||B({from:r,to:a,selectValue:e}),K({from:r,to:a,selectValue:e});},disabled:P},(({value:e})=>{var r;return React$1.createElement(React$1.Fragment,null,React$1.createElement(Nt.Button,{onFocus:()=>$(!0),onBlur:()=>$(!1),className:t$e("w-full outline-none text-left whitespace-nowrap truncate rounded-r-tremor-default transition duration-100","border-tremor-border shadow-tremor-input text-tremor-content-emphasis focus:border-tremor-brand-subtle","dark:border-dark-tremor-border dark:shadow-dark-tremor-input dark:text-dark-tremor-content-emphasis dark:focus:border-dark-tremor-brand-subtle",t$g.twoXl.paddingLeft,t$g.twoXl.paddingRight,t$g.sm.paddingY,r$m.sm.all,a$9(d$a(e),P))},e&&null!==(r=te.get(e))&&void 0!==r?r:M),React$1.createElement(Nt.Options,{className:t$e("absolute z-10 divide-y overflow-y-auto w-full inset-x-0 right-0 outline-none","shadow-tremor-dropdown bg-tremor-background border-tremor-border divide-tremor-border rounded-tremor-default","dark:shadow-dark-tremor-dropdown dark:bg-dark-tremor-background dark:border-dark-tremor-border dark:divide-dark-tremor-border",t$g.twoXs.marginTop,t$g.twoXs.marginBottom,r$m.sm.all)},null!=U?U:d$b.map((e=>React$1.createElement(s$8,{key:e.value,value:e.value},e.text)))))})))}));X.displayName="DateRangePicker";
67040
67040
 
67041
67041
  const l$b=React$1.forwardRef(((l,r)=>{const{value:c,className:s,children:m}=l,o=__rest$2(l,["value","className","children"]);return React$1.createElement(s$8,Object.assign({ref:r,className:s,value:c},o),null!=m?m:c)}));l$b.displayName="DateRangePickerItem";
67042
67042
 
@@ -67052,9 +67052,9 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
67052
67052
 
67053
67053
  const r$7=r=>{var o=__rest$2(r,[]);return React$1.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},o),React$1.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),React$1.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))};
67054
67054
 
67055
- const x=$$1("MultiSelect"),k$1=React$1.forwardRef(((l,k)=>{const{defaultValue:w,value:v,onValueChange:E,placeholder:N="Select...",placeholderSearch:j="Search",disabled:y=!1,icon:C,children:I,className:S}=l,R=__rest$2(l,["defaultValue","value","onValueChange","placeholder","placeholderSearch","disabled","icon","children","className"]),V=C,[X,D]=o$8(w,v),B=n$7("",I),[M,O]=React$1.useState(""),z=(null!=X?X:[]).length>0,A=React$1.useMemo((()=>M?n$7(M,I):B),[M,I,B]),L=()=>{O("");};return React$1.createElement(Nt$1,Object.assign({as:"div",ref:k,defaultValue:X,value:X,onChange:e=>{null==E||E(e),D(e);},disabled:y,className:t$e("w-full min-w-[10rem] relative text-tremor-default",S)},R,{multiple:!0}),(({value:e})=>React$1.createElement(React$1.Fragment,null,React$1.createElement(Nt$1.Button,{className:t$e("w-full outline-none text-left whitespace-nowrap truncate rounded-tremor-default focus:ring-2 transition duration-100","border-tremor-border shadow-tremor-input focus:border-tremor-brand-subtle focus:ring-tremor-brand-muted","dark:border-dark-tremor-border dark:shadow-dark-tremor-input dark:focus:border-dark-tremor-brand-subtle dark:focus:ring-dark-tremor-brand-muted",V?"p-10 -ml-0.5":t$g.lg.paddingLeft,t$g.fourXl.paddingRight,t$g.xs.paddingY,r$m.sm.all,a$9(e.length>0,y))},V&&React$1.createElement("span",{className:t$e("absolute inset-y-0 left-0 flex items-center ml-px",t$g.md.paddingLeft)},React$1.createElement(V,{className:t$e(x("Icon"),"flex-none","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",h$7.lg.height,h$7.lg.width)})),React$1.createElement("div",{className:"h-6 flex items-center"},e.length>0?React$1.createElement("div",{className:"flex flex-nowrap overflow-x-scroll [&::-webkit-scrollbar]:hidden [scrollbar-width:none] gap-x-1 mr-5 -ml-1.5 relative"},B.filter((t=>e.includes(t.props.value))).map(((t,r)=>{var a;return React$1.createElement("div",{key:r,className:t$e("max-w-[100px] lg:max-w-[200px] flex justify-center items-center pl-2 pr-1.5 py-1 font-medium","rounded-tremor-small","bg-tremor-background-muted dark:bg-dark-tremor-background-muted","bg-tremor-background-subtle dark:bg-dark-tremor-background-subtle","text-tremor-content-default dark:text-dark-tremor-content-default","text-tremor-content-emphasis dark:text-dark-tremor-content-emphasis")},React$1.createElement("div",{className:"text-xs truncate "},null!==(a=t.props.children)&&void 0!==a?a:t.props.value),React$1.createElement("div",{onClick:r=>{r.preventDefault();const a=e.filter((e=>e!==t.props.value));null==E||E(a),D(a);}},React$1.createElement(r$7,{className:t$e(x("clearIconItem"),"cursor-pointer rounded-tremor-full w-3.5 h-3.5 ml-2","text-tremor-content-subtle hover:text-tremor-content","dark:text-dark-tremor-content-subtle dark:hover:text-tremor-content")})))}))):React$1.createElement("span",null,N)),React$1.createElement("span",{className:t$e("absolute inset-y-0 right-0 flex items-center",t$g.md.marginRight)},React$1.createElement(r$8,{className:t$e(x("arrowDownIcon"),"flex-none","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",h$7.md.height,h$7.md.width)}))),z&&!y?React$1.createElement("button",{type:"button",className:t$e("absolute inset-y-0 right-0 flex items-center",t$g.fourXl.marginRight),onClick:e=>{e.preventDefault(),D([]),null==E||E([]);}},React$1.createElement(l$c,{className:t$e(x("clearIconAllItems"),"flex-none","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",h$7.md.height,h$7.md.width)})):null,React$1.createElement(Nt$1.Options,{className:t$e("absolute z-10 divide-y overflow-y-auto max-h-[228px] w-full left-0 outline-none rounded-tremor-default","bg-tremor-background border-tremor-border divide-tremor-border shadow-tremor-dropdown","dark:bg-dark-tremor-background dark:border-dark-tremor-border dark:divide-dark-tremor-border dark:shadow-dark-tremor-dropdown",t$g.twoXs.marginTop,t$g.twoXs.marginBottom,r$m.sm.all)},React$1.createElement("div",{className:t$e("flex items-center w-full","bg-tremor-background-muted","dark:bg-dark-tremor-background-muted",t$g.md.paddingX)},React$1.createElement("span",null,React$1.createElement(l$a,{className:t$e("flex-none","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",t$g.sm.marginRight,h$7.md.height,h$7.md.width)})),React$1.createElement("input",{name:"search",type:"input",autoComplete:"off",placeholder:j,className:t$e("w-full focus:outline-none focus:ring-none bg-transparent text-tremor-default","text-tremor-content-emphasis","dark:text-dark-tremor-content-emphasis",t$g.sm.paddingY),onKeyDown:e=>{"Space"===e.code&&""!==e.target.value&&e.stopPropagation();},onChange:e=>O(e.target.value),value:M})),React$1.createElement(a$8.Provider,Object.assign({},{onBlur:{handleResetSearch:L}},{value:{selectedValue:e}}),A)))))}));k$1.displayName="MultiSelect";
67055
+ const x$1=$$2("MultiSelect"),k$1=React$1.forwardRef(((l,k)=>{const{defaultValue:w,value:v,onValueChange:E,placeholder:N="Select...",placeholderSearch:j="Search",disabled:y=!1,icon:C,children:I,className:S}=l,R=__rest$2(l,["defaultValue","value","onValueChange","placeholder","placeholderSearch","disabled","icon","children","className"]),V=C,[X,D]=o$8(w,v),B=n$7("",I),[M,O]=React$1.useState(""),z=(null!=X?X:[]).length>0,A=React$1.useMemo((()=>M?n$7(M,I):B),[M,I,B]),L=()=>{O("");};return React$1.createElement(Nt,Object.assign({as:"div",ref:k,defaultValue:X,value:X,onChange:e=>{null==E||E(e),D(e);},disabled:y,className:t$e("w-full min-w-[10rem] relative text-tremor-default",S)},R,{multiple:!0}),(({value:e})=>React$1.createElement(React$1.Fragment,null,React$1.createElement(Nt.Button,{className:t$e("w-full outline-none text-left whitespace-nowrap truncate rounded-tremor-default focus:ring-2 transition duration-100","border-tremor-border shadow-tremor-input focus:border-tremor-brand-subtle focus:ring-tremor-brand-muted","dark:border-dark-tremor-border dark:shadow-dark-tremor-input dark:focus:border-dark-tremor-brand-subtle dark:focus:ring-dark-tremor-brand-muted",V?"p-10 -ml-0.5":t$g.lg.paddingLeft,t$g.fourXl.paddingRight,t$g.xs.paddingY,r$m.sm.all,a$9(e.length>0,y))},V&&React$1.createElement("span",{className:t$e("absolute inset-y-0 left-0 flex items-center ml-px",t$g.md.paddingLeft)},React$1.createElement(V,{className:t$e(x$1("Icon"),"flex-none","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",h$7.lg.height,h$7.lg.width)})),React$1.createElement("div",{className:"h-6 flex items-center"},e.length>0?React$1.createElement("div",{className:"flex flex-nowrap overflow-x-scroll [&::-webkit-scrollbar]:hidden [scrollbar-width:none] gap-x-1 mr-5 -ml-1.5 relative"},B.filter((t=>e.includes(t.props.value))).map(((t,r)=>{var a;return React$1.createElement("div",{key:r,className:t$e("max-w-[100px] lg:max-w-[200px] flex justify-center items-center pl-2 pr-1.5 py-1 font-medium","rounded-tremor-small","bg-tremor-background-muted dark:bg-dark-tremor-background-muted","bg-tremor-background-subtle dark:bg-dark-tremor-background-subtle","text-tremor-content-default dark:text-dark-tremor-content-default","text-tremor-content-emphasis dark:text-dark-tremor-content-emphasis")},React$1.createElement("div",{className:"text-xs truncate "},null!==(a=t.props.children)&&void 0!==a?a:t.props.value),React$1.createElement("div",{onClick:r=>{r.preventDefault();const a=e.filter((e=>e!==t.props.value));null==E||E(a),D(a);}},React$1.createElement(r$7,{className:t$e(x$1("clearIconItem"),"cursor-pointer rounded-tremor-full w-3.5 h-3.5 ml-2","text-tremor-content-subtle hover:text-tremor-content","dark:text-dark-tremor-content-subtle dark:hover:text-tremor-content")})))}))):React$1.createElement("span",null,N)),React$1.createElement("span",{className:t$e("absolute inset-y-0 right-0 flex items-center",t$g.md.marginRight)},React$1.createElement(r$8,{className:t$e(x$1("arrowDownIcon"),"flex-none","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",h$7.md.height,h$7.md.width)}))),z&&!y?React$1.createElement("button",{type:"button",className:t$e("absolute inset-y-0 right-0 flex items-center",t$g.fourXl.marginRight),onClick:e=>{e.preventDefault(),D([]),null==E||E([]);}},React$1.createElement(l$c,{className:t$e(x$1("clearIconAllItems"),"flex-none","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",h$7.md.height,h$7.md.width)})):null,React$1.createElement(Nt.Options,{className:t$e("absolute z-10 divide-y overflow-y-auto max-h-[228px] w-full left-0 outline-none rounded-tremor-default","bg-tremor-background border-tremor-border divide-tremor-border shadow-tremor-dropdown","dark:bg-dark-tremor-background dark:border-dark-tremor-border dark:divide-dark-tremor-border dark:shadow-dark-tremor-dropdown",t$g.twoXs.marginTop,t$g.twoXs.marginBottom,r$m.sm.all)},React$1.createElement("div",{className:t$e("flex items-center w-full","bg-tremor-background-muted","dark:bg-dark-tremor-background-muted",t$g.md.paddingX)},React$1.createElement("span",null,React$1.createElement(l$a,{className:t$e("flex-none","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",t$g.sm.marginRight,h$7.md.height,h$7.md.width)})),React$1.createElement("input",{name:"search",type:"input",autoComplete:"off",placeholder:j,className:t$e("w-full focus:outline-none focus:ring-none bg-transparent text-tremor-default","text-tremor-content-emphasis","dark:text-dark-tremor-content-emphasis",t$g.sm.paddingY),onKeyDown:e=>{"Space"===e.code&&""!==e.target.value&&e.stopPropagation();},onChange:e=>O(e.target.value),value:M})),React$1.createElement(a$8.Provider,Object.assign({},{onBlur:{handleResetSearch:L}},{value:{selectedValue:e}}),A)))))}));k$1.displayName="MultiSelect";
67056
67056
 
67057
- const i$a=$$1("MultiSelectItem"),d$a=React$1.forwardRef(((n,d)=>{const{value:l,className:u,children:p}=n,x=__rest$2(n,["value","className","children"]),{selectedValue:k}=React$1.useContext(a$8),f=l$i(l,k);return React$1.createElement(Nt$1.Option,Object.assign({className:t$e(i$a("root"),"flex justify-start items-center cursor-default text-tremor-default","ui-active:bg-tremor-background-muted ui-active:text-tremor-content-strong ui-selected:text-tremor-content-strong text-tremor-content-emphasis","dark:ui-active:bg-dark-tremor-background-muted dark:ui-active:text-dark-tremor-content-strong dark:ui-selected:text-dark-tremor-content-strong dark:ui-selected:bg-dark-tremor-background-muted dark:text-dark-tremor-content-emphasis",t$g.md.paddingX,t$g.md.paddingY,u),ref:d,key:l,value:l},x),React$1.createElement("input",{type:"checkbox",className:t$e(i$a("checkbox"),"flex-none focus:ring-none focus:outline-none cursor-pointer","accent-tremor-brand","dark:accent-dark-tremor-brand",t$g.md.marginRight),checked:f,readOnly:!0}),React$1.createElement("span",{className:"whitespace-nowrap truncate"},null!=p?p:l))}));d$a.displayName="MultiSelectItem";
67057
+ const i$a=$$2("MultiSelectItem"),d$9=React$1.forwardRef(((n,d)=>{const{value:l,className:u,children:p}=n,x=__rest$2(n,["value","className","children"]),{selectedValue:k}=React$1.useContext(a$8),f=l$i(l,k);return React$1.createElement(Nt.Option,Object.assign({className:t$e(i$a("root"),"flex justify-start items-center cursor-default text-tremor-default","ui-active:bg-tremor-background-muted ui-active:text-tremor-content-strong ui-selected:text-tremor-content-strong text-tremor-content-emphasis","dark:ui-active:bg-dark-tremor-background-muted dark:ui-active:text-dark-tremor-content-strong dark:ui-selected:text-dark-tremor-content-strong dark:ui-selected:bg-dark-tremor-background-muted dark:text-dark-tremor-content-emphasis",t$g.md.paddingX,t$g.md.paddingY,u),ref:d,key:l,value:l},x),React$1.createElement("input",{type:"checkbox",className:t$e(i$a("checkbox"),"flex-none focus:ring-none focus:outline-none cursor-pointer","accent-tremor-brand","dark:accent-dark-tremor-brand",t$g.md.marginRight),checked:f,readOnly:!0}),React$1.createElement("span",{className:"whitespace-nowrap truncate"},null!=p?p:l))}));d$9.displayName="MultiSelectItem";
67058
67058
 
67059
67059
  const r$6=r=>{var o=__rest$2(r,[]);return React$1.createElement("svg",Object.assign({},o,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2.5"}),React$1.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20 12H4"}))};
67060
67060
 
@@ -67066,71 +67066,71 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
67066
67066
 
67067
67067
  const r$2=r=>{var o=__rest$2(r,[]);return React$1.createElement("svg",Object.assign({},o,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor"}),React$1.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.98 8.223A10.477 10.477 0 001.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0112 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 01-4.293 5.774M6.228 6.228L3 3m3.228 3.228l3.65 3.65m7.894 7.894L21 21m-3.228-3.228l-3.65-3.65m0 0a3 3 0 10-4.243-4.243m4.242 4.242L9.88 9.88"}))};
67068
67068
 
67069
- const b$3=React$1.forwardRef(((b,f)=>{const{value:h,defaultValue:k,type:x,placeholder:w="Type...",icon:v,error:N=!1,errorMessage:E,disabled:j=!1,stepper:C,makeInputClassName:y,className:I,onChange:V,onValueChange:M}=b,R=__rest$2(b,["value","defaultValue","type","placeholder","icon","error","errorMessage","disabled","stepper","makeInputClassName","className","onChange","onValueChange"]),[B,F]=React$1.useState(!1),[L,O]=React$1.useState(!1),T=React$1.useCallback((()=>O(!L)),[L,O]),z=v,U=React$1.useRef(null),X=d$b(h||k),Y=e=>{var t,r;!1===e?null===(t=U.current)||void 0===t||t.blur():null===(r=U.current)||void 0===r||r.focus(),F(e);};return React$1.createElement(React$1.Fragment,null,React$1.createElement("div",{className:t$e(y("root"),"relative w-full flex items-center min-w-[10rem] outline-none rounded-tremor-default","shadow-tremor-input","dark:shadow-dark-tremor-input",a$9(X,j,N),B&&t$e("ring-2 transition duration-100","border-tremor-brand-subtle ring-tremor-brand-muted","dark:border-dark-tremor-brand-subtle dark:ring-dark-tremor-brand-muted"),r$m.sm.all,I),onClick:()=>{j||Y(!0);},onFocus:()=>{Y(!0);},onBlur:()=>{Y(!1);}},z?React$1.createElement(z,{className:t$e(y("icon"),"shrink-0","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",h$7.lg.height,h$7.lg.width,t$g.md.marginLeft)}):null,React$1.createElement("input",Object.assign({ref:n$i([U,f]),defaultValue:k,value:h,type:L?"text":x,className:t$e(y("input"),"w-full focus:outline-none focus:ring-0 border-none bg-transparent text-tremor-default rounded-tremor-default","text-tremor-content-emphasis","dark:text-dark-tremor-content-emphasis","[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none",z?t$g.sm.paddingLeft:t$g.lg.paddingLeft,N?t$g.lg.paddingRight:t$g.twoXl.paddingRight,t$g.sm.paddingY,j?"placeholder:text-tremor-content-subtle dark:placeholder:text-dark-tremor-content-subtle":"placeholder:text-tremor-content dark:placeholder:text-dark-tremor-content"),placeholder:w,disabled:j,"data-testid":"base-input",onChange:e=>{null==V||V(e),null==M||M(e.target.value);}},R)),"password"!==x||j?null:React$1.createElement("button",{className:t$e(y("toggleButton"),"mr-2"),type:"button",onClick:()=>T()},L?React$1.createElement(r$2,{className:t$e("flex-none h-5 w-5 transition","text-tremor-content-subtle hover:text-tremor-content","dark:text-dark-tremor-content-subtle hover:dark:text-dark-tremor-content")}):React$1.createElement(r$3,{className:t$e("flex-none h-5 w-5 transition","text-tremor-content-subtle hover:text-tremor-content","dark:text-dark-tremor-content-subtle hover:dark:text-dark-tremor-content")})),N?React$1.createElement(r$4,{className:t$e(y("errorIcon"),"text-rose-500 shrink-0",t$g.md.marginRight,h$7.lg.height,h$7.lg.width)}):null,null!=C?C:null),N&&E?React$1.createElement("p",{className:t$e(y("errorMessage"),"text-sm text-rose-500 mt-1")},E):null)}));b$3.displayName="BaseInput";
67069
+ const b$3=React$1.forwardRef(((b,f)=>{const{value:h,defaultValue:k,type:x,placeholder:w="Type...",icon:v,error:N=!1,errorMessage:E,disabled:j=!1,stepper:C,makeInputClassName:y,className:I,onChange:V,onValueChange:M}=b,R=__rest$2(b,["value","defaultValue","type","placeholder","icon","error","errorMessage","disabled","stepper","makeInputClassName","className","onChange","onValueChange"]),[B,F]=React$1.useState(!1),[L,O]=React$1.useState(!1),T=React$1.useCallback((()=>O(!L)),[L,O]),z=v,U=React$1.useRef(null),X=d$a(h||k),Y=e=>{var t,r;!1===e?null===(t=U.current)||void 0===t||t.blur():null===(r=U.current)||void 0===r||r.focus(),F(e);};return React$1.createElement(React$1.Fragment,null,React$1.createElement("div",{className:t$e(y("root"),"relative w-full flex items-center min-w-[10rem] outline-none rounded-tremor-default","shadow-tremor-input","dark:shadow-dark-tremor-input",a$9(X,j,N),B&&t$e("ring-2 transition duration-100","border-tremor-brand-subtle ring-tremor-brand-muted","dark:border-dark-tremor-brand-subtle dark:ring-dark-tremor-brand-muted"),r$m.sm.all,I),onClick:()=>{j||Y(!0);},onFocus:()=>{Y(!0);},onBlur:()=>{Y(!1);}},z?React$1.createElement(z,{className:t$e(y("icon"),"shrink-0","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",h$7.lg.height,h$7.lg.width,t$g.md.marginLeft)}):null,React$1.createElement("input",Object.assign({ref:n$i([U,f]),defaultValue:k,value:h,type:L?"text":x,className:t$e(y("input"),"w-full focus:outline-none focus:ring-0 border-none bg-transparent text-tremor-default rounded-tremor-default","text-tremor-content-emphasis","dark:text-dark-tremor-content-emphasis","[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none",z?t$g.sm.paddingLeft:t$g.lg.paddingLeft,N?t$g.lg.paddingRight:t$g.twoXl.paddingRight,t$g.sm.paddingY,j?"placeholder:text-tremor-content-subtle dark:placeholder:text-dark-tremor-content-subtle":"placeholder:text-tremor-content dark:placeholder:text-dark-tremor-content"),placeholder:w,disabled:j,"data-testid":"base-input",onChange:e=>{null==V||V(e),null==M||M(e.target.value);}},R)),"password"!==x||j?null:React$1.createElement("button",{className:t$e(y("toggleButton"),"mr-2"),type:"button",onClick:()=>T()},L?React$1.createElement(r$2,{className:t$e("flex-none h-5 w-5 transition","text-tremor-content-subtle hover:text-tremor-content","dark:text-dark-tremor-content-subtle hover:dark:text-dark-tremor-content")}):React$1.createElement(r$3,{className:t$e("flex-none h-5 w-5 transition","text-tremor-content-subtle hover:text-tremor-content","dark:text-dark-tremor-content-subtle hover:dark:text-dark-tremor-content")})),N?React$1.createElement(r$4,{className:t$e(y("errorIcon"),"text-rose-500 shrink-0",t$g.md.marginRight,h$7.lg.height,h$7.lg.width)}):null,null!=C?C:null),N&&E?React$1.createElement("p",{className:t$e(y("errorMessage"),"text-sm text-rose-500 mt-1")},E):null)}));b$3.displayName="BaseInput";
67070
67070
 
67071
- const p$5="flex mx-auto text-tremor-content-subtle dark:text-dark-tremor-content-subtle",i$9="cursor-pointer hover:text-tremor-content dark:hover:text-dark-tremor-content",d$9=React$1.forwardRef(((d,c)=>{const{onSubmit:m,enableStepper:b=!0,disabled:v,onValueChange:f,onChange:k}=d,w=__rest$2(d,["onSubmit","enableStepper","disabled","onValueChange","onChange"]),y=React$1.useRef(null),[h,x]=React$1.useState(!1),g=React$1.useCallback((()=>{x(!0);}),[]),C=React$1.useCallback((()=>{x(!1);}),[]),[D,E]=React$1.useState(!1),N=React$1.useCallback((()=>{E(!0);}),[]),I=React$1.useCallback((()=>{E(!1);}),[]);return React$1.createElement(b$3,Object.assign({type:"number",ref:n$i([y,c]),disabled:v,makeInputClassName:$$1("NumberInput"),onKeyDown:e=>{var t;if("Enter"===e.key&&!e.ctrlKey&&!e.altKey&&!e.shiftKey){const e=null===(t=y.current)||void 0===t?void 0:t.value;null==m||m(parseFloat(null!=e?e:""));}"ArrowDown"===e.key&&g(),"ArrowUp"===e.key&&N();},onKeyUp:e=>{"ArrowDown"===e.key&&C(),"ArrowUp"===e.key&&I();},onChange:e=>{v||(null==f||f(parseFloat(e.target.value)),null==k||k(e));},stepper:b?React$1.createElement("div",{className:t$e("flex justify-center align-middle")},React$1.createElement("div",{tabIndex:-1,onClick:e=>e.preventDefault(),onMouseDown:e=>e.preventDefault(),onTouchStart:e=>e.preventDefault(),onMouseUp:()=>{var e,t;v||(null===(e=y.current)||void 0===e||e.stepDown(),null===(t=y.current)||void 0===t||t.dispatchEvent(new Event("input",{bubbles:!0})));},className:t$e(!v&&i$9,p$5,"group py-[10px] px-2.5 border-l border-tremor-border dark:border-dark-tremor-border")},React$1.createElement(r$6,{"data-testid":"step-down",className:(h?"scale-95":"")+" h-4 w-4 duration-75 transition group-active:scale-95"})),React$1.createElement("div",{tabIndex:-1,onClick:e=>e.preventDefault(),onMouseDown:e=>e.preventDefault(),onTouchStart:e=>e.preventDefault(),onMouseUp:()=>{var e,t;v||(null===(e=y.current)||void 0===e||e.stepUp(),null===(t=y.current)||void 0===t||t.dispatchEvent(new Event("input",{bubbles:!0})));},className:t$e(!v&&i$9,p$5,"group py-[10px] px-2.5 border-l border-tremor-border dark:border-dark-tremor-border")},React$1.createElement(r$5,{"data-testid":"step-up",className:(D?"scale-95":"")+" h-4 w-4 duration-75 transition group-active:scale-95"}))):null},w))}));d$9.displayName="NumberInput";
67071
+ const p$5="flex mx-auto text-tremor-content-subtle dark:text-dark-tremor-content-subtle",i$9="cursor-pointer hover:text-tremor-content dark:hover:text-dark-tremor-content",d$8=React$1.forwardRef(((d,c)=>{const{onSubmit:m,enableStepper:b=!0,disabled:v,onValueChange:f,onChange:k}=d,w=__rest$2(d,["onSubmit","enableStepper","disabled","onValueChange","onChange"]),y=React$1.useRef(null),[h,x]=React$1.useState(!1),g=React$1.useCallback((()=>{x(!0);}),[]),C=React$1.useCallback((()=>{x(!1);}),[]),[D,E]=React$1.useState(!1),N=React$1.useCallback((()=>{E(!0);}),[]),I=React$1.useCallback((()=>{E(!1);}),[]);return React$1.createElement(b$3,Object.assign({type:"number",ref:n$i([y,c]),disabled:v,makeInputClassName:$$2("NumberInput"),onKeyDown:e=>{var t;if("Enter"===e.key&&!e.ctrlKey&&!e.altKey&&!e.shiftKey){const e=null===(t=y.current)||void 0===t?void 0:t.value;null==m||m(parseFloat(null!=e?e:""));}"ArrowDown"===e.key&&g(),"ArrowUp"===e.key&&N();},onKeyUp:e=>{"ArrowDown"===e.key&&C(),"ArrowUp"===e.key&&I();},onChange:e=>{v||(null==f||f(parseFloat(e.target.value)),null==k||k(e));},stepper:b?React$1.createElement("div",{className:t$e("flex justify-center align-middle")},React$1.createElement("div",{tabIndex:-1,onClick:e=>e.preventDefault(),onMouseDown:e=>e.preventDefault(),onTouchStart:e=>e.preventDefault(),onMouseUp:()=>{var e,t;v||(null===(e=y.current)||void 0===e||e.stepDown(),null===(t=y.current)||void 0===t||t.dispatchEvent(new Event("input",{bubbles:!0})));},className:t$e(!v&&i$9,p$5,"group py-[10px] px-2.5 border-l border-tremor-border dark:border-dark-tremor-border")},React$1.createElement(r$6,{"data-testid":"step-down",className:(h?"scale-95":"")+" h-4 w-4 duration-75 transition group-active:scale-95"})),React$1.createElement("div",{tabIndex:-1,onClick:e=>e.preventDefault(),onMouseDown:e=>e.preventDefault(),onTouchStart:e=>e.preventDefault(),onMouseUp:()=>{var e,t;v||(null===(e=y.current)||void 0===e||e.stepUp(),null===(t=y.current)||void 0===t||t.dispatchEvent(new Event("input",{bubbles:!0})));},className:t$e(!v&&i$9,p$5,"group py-[10px] px-2.5 border-l border-tremor-border dark:border-dark-tremor-border")},React$1.createElement(r$5,{"data-testid":"step-up",className:(D?"scale-95":"")+" h-4 w-4 duration-75 transition group-active:scale-95"}))):null},w))}));d$8.displayName="NumberInput";
67072
67072
 
67073
- const g$3=$$1("SearchSelect"),k=$$1("SearchSelect"),w=React$1.forwardRef(((s,w)=>{const{defaultValue:x,value:v,onValueChange:N,placeholder:E="Select...",disabled:j=!1,icon:y,enableClear:C=!0,children:S,className:I}=s,V=__rest$2(s,["defaultValue","value","onValueChange","placeholder","disabled","icon","enableClear","children","className"]),[X,D]=React$1.useState(""),[R,z]=o$8(x,v),B=y,L=React$1.useMemo((()=>o$7(S)),[S]),O=React$1.useMemo((()=>n$7(X,S)),[X,S]);return React$1.createElement(qo,Object.assign({as:"div",ref:w,defaultValue:R,value:R,onChange:e=>{null==N||N(e),z(e);},disabled:j,className:t$e("w-full min-w-[10rem] relative text-tremor-default",I)},V),(({value:e})=>React$1.createElement(React$1.Fragment,null,React$1.createElement(qo.Button,{className:"w-full"},B&&React$1.createElement("span",{className:t$e("absolute inset-y-0 left-0 flex items-center ml-px",t$g.md.paddingLeft)},React$1.createElement(B,{className:t$e(g$3("Icon"),"flex-none","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",h$7.lg.height,h$7.lg.width)})),React$1.createElement(qo.Input,{className:t$e("w-full outline-none text-left whitespace-nowrap truncate rounded-tremor-default focus:ring-2 transition duration-100 text-tremor-default pr-14","border-tremor-border shadow-tremor-input focus:border-tremor-brand-subtle focus:ring-tremor-brand-muted","dark:border-dark-tremor-border dark:shadow-dark-tremor-input dark:focus:border-dark-tremor-brand-subtle dark:focus:ring-dark-tremor-brand-muted",B?"p-10 -ml-0.5":t$g.lg.paddingLeft,t$g.sm.paddingY,r$m.sm.all,j?"placeholder:text-tremor-content-subtle dark:placeholder:text-tremor-content-subtle":"placeholder:text-tremor-content dark:placeholder:text-tremor-content",a$9(d$b(e),j)),placeholder:E,onChange:e=>D(e.target.value),displayValue:e=>{var t;return null!==(t=L.get(e))&&void 0!==t?t:""}}),React$1.createElement("div",{className:t$e("absolute inset-y-0 right-0 flex items-center",t$g.md.paddingRight)},React$1.createElement(r$8,{className:t$e(g$3("arrowDownIcon"),"flex-none","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",h$7.md.height,h$7.md.width)}))),C&&R?React$1.createElement("button",{type:"button",className:t$e("absolute inset-y-0 right-0 flex items-center",t$g.fourXl.marginRight),onClick:e=>{e.preventDefault(),z(""),D(""),null==N||N("");}},React$1.createElement(l$c,{className:t$e(k("clearIcon"),"flex-none","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",h$7.md.height,h$7.md.width)})):null,O.length>0&&React$1.createElement(qo.Options,{className:t$e("absolute z-10 divide-y overflow-y-auto max-h-[228px] w-full left-0 outline-none rounded-tremor-default text-tremor-default","bg-tremor-background border-tremor-border divide-tremor-border shadow-tremor-dropdown","dark:bg-dark-tremor-background dark:border-dark-tremor-border dark:divide-dark-tremor-border dark:shadow-dark-tremor-dropdown",t$g.twoXs.marginTop,t$g.twoXs.marginBottom,r$m.sm.all)},O))))}));w.displayName="SearchSelect";
67073
+ const g$3=$$2("SearchSelect"),k=$$2("SearchSelect"),w=React$1.forwardRef(((s,w)=>{const{defaultValue:x,value:v,onValueChange:N,placeholder:E="Select...",disabled:j=!1,icon:y,enableClear:C=!0,children:S,className:I}=s,V=__rest$2(s,["defaultValue","value","onValueChange","placeholder","disabled","icon","enableClear","children","className"]),[X,D]=React$1.useState(""),[R,z]=o$8(x,v),B=y,L=React$1.useMemo((()=>o$7(S)),[S]),O=React$1.useMemo((()=>n$7(X,S)),[X,S]);return React$1.createElement(qo,Object.assign({as:"div",ref:w,defaultValue:R,value:R,onChange:e=>{null==N||N(e),z(e);},disabled:j,className:t$e("w-full min-w-[10rem] relative text-tremor-default",I)},V),(({value:e})=>React$1.createElement(React$1.Fragment,null,React$1.createElement(qo.Button,{className:"w-full"},B&&React$1.createElement("span",{className:t$e("absolute inset-y-0 left-0 flex items-center ml-px",t$g.md.paddingLeft)},React$1.createElement(B,{className:t$e(g$3("Icon"),"flex-none","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",h$7.lg.height,h$7.lg.width)})),React$1.createElement(qo.Input,{className:t$e("w-full outline-none text-left whitespace-nowrap truncate rounded-tremor-default focus:ring-2 transition duration-100 text-tremor-default pr-14","border-tremor-border shadow-tremor-input focus:border-tremor-brand-subtle focus:ring-tremor-brand-muted","dark:border-dark-tremor-border dark:shadow-dark-tremor-input dark:focus:border-dark-tremor-brand-subtle dark:focus:ring-dark-tremor-brand-muted",B?"p-10 -ml-0.5":t$g.lg.paddingLeft,t$g.sm.paddingY,r$m.sm.all,j?"placeholder:text-tremor-content-subtle dark:placeholder:text-tremor-content-subtle":"placeholder:text-tremor-content dark:placeholder:text-tremor-content",a$9(d$a(e),j)),placeholder:E,onChange:e=>D(e.target.value),displayValue:e=>{var t;return null!==(t=L.get(e))&&void 0!==t?t:""}}),React$1.createElement("div",{className:t$e("absolute inset-y-0 right-0 flex items-center",t$g.md.paddingRight)},React$1.createElement(r$8,{className:t$e(g$3("arrowDownIcon"),"flex-none","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",h$7.md.height,h$7.md.width)}))),C&&R?React$1.createElement("button",{type:"button",className:t$e("absolute inset-y-0 right-0 flex items-center",t$g.fourXl.marginRight),onClick:e=>{e.preventDefault(),z(""),D(""),null==N||N("");}},React$1.createElement(l$c,{className:t$e(k("clearIcon"),"flex-none","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",h$7.md.height,h$7.md.width)})):null,O.length>0&&React$1.createElement(qo.Options,{className:t$e("absolute z-10 divide-y overflow-y-auto max-h-[228px] w-full left-0 outline-none rounded-tremor-default text-tremor-default","bg-tremor-background border-tremor-border divide-tremor-border shadow-tremor-dropdown","dark:bg-dark-tremor-background dark:border-dark-tremor-border dark:divide-dark-tremor-border dark:shadow-dark-tremor-dropdown",t$g.twoXs.marginTop,t$g.twoXs.marginBottom,r$m.sm.all)},O))))}));w.displayName="SearchSelect";
67074
67074
 
67075
- const i$8=$$1("SearchSelectItem"),c$b=React$1.forwardRef(((o,c)=>{const{value:s,icon:d,className:l,children:u}=o,g=__rest$2(o,["value","icon","className","children"]),p=d;return React$1.createElement(qo.Option,Object.assign({className:t$e(i$8("root"),"flex justify-start items-center cursor-default text-tremor-default","ui-active:bg-tremor-background-muted ui-active:text-tremor-content-strong ui-selected:text-tremor-content-strong ui-selected:bg-tremor-background-muted text-tremor-content-emphasis","dark:ui-active:bg-dark-tremor-background-muted dark:ui-active:text-dark-tremor-content-strong dark:ui-selected:text-dark-tremor-content-strong dark:ui-selected:bg-dark-tremor-background-muted dark:text-dark-tremor-content-emphasis",t$g.md.paddingX,t$g.md.paddingY,l),ref:c,key:s,value:s},g),p&&React$1.createElement(p,{className:t$e(i$8("icon"),"flex-none","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",h$7.lg.height,h$7.lg.width,t$g.lg.marginRight)}),React$1.createElement("span",{className:"whitespace-nowrap truncate"},null!=u?u:s))}));c$b.displayName="SearchSelectItem";
67075
+ const i$8=$$2("SearchSelectItem"),c$b=React$1.forwardRef(((o,c)=>{const{value:s,icon:d,className:l,children:u}=o,g=__rest$2(o,["value","icon","className","children"]),p=d;return React$1.createElement(qo.Option,Object.assign({className:t$e(i$8("root"),"flex justify-start items-center cursor-default text-tremor-default","ui-active:bg-tremor-background-muted ui-active:text-tremor-content-strong ui-selected:text-tremor-content-strong ui-selected:bg-tremor-background-muted text-tremor-content-emphasis","dark:ui-active:bg-dark-tremor-background-muted dark:ui-active:text-dark-tremor-content-strong dark:ui-selected:text-dark-tremor-content-strong dark:ui-selected:bg-dark-tremor-background-muted dark:text-dark-tremor-content-emphasis",t$g.md.paddingX,t$g.md.paddingY,l),ref:c,key:s,value:s},g),p&&React$1.createElement(p,{className:t$e(i$8("icon"),"flex-none","text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",h$7.lg.height,h$7.lg.width,t$g.lg.marginRight)}),React$1.createElement("span",{className:"whitespace-nowrap truncate"},null!=u?u:s))}));c$b.displayName="SearchSelectItem";
67076
67076
 
67077
- const n$6=$$1("TabList"),c$a=React$1.createContext("line"),d$8={line:t$e("flex","border-tremor-border","dark:border-dark-tremor-border",t$g.twoXl.spaceX,r$m.sm.bottom),solid:t$e("inline-flex p-0.5 rounded-tremor-default","bg-tremor-background-subtle","dark:bg-dark-tremor-background-subtle",t$g.xs.spaceX)},b$2=React$1.forwardRef(((r,t)=>{const{color:s,variant:i="line",children:b,className:p}=r,f=__rest$2(r,["color","variant","children","className"]);return React$1.createElement(rt.List,Object.assign({ref:t,className:t$e(n$6("root"),"justify-start overflow-x-clip",d$8[i],p)},f),React$1.createElement(c$a.Provider,{value:i},React$1.createElement(o$6.Provider,{value:s},b)))}));b$2.displayName="TabList";
67077
+ const n$6=$$2("TabList"),c$a=React$1.createContext("line"),d$7={line:t$e("flex","border-tremor-border","dark:border-dark-tremor-border",t$g.twoXl.spaceX,r$m.sm.bottom),solid:t$e("inline-flex p-0.5 rounded-tremor-default","bg-tremor-background-subtle","dark:bg-dark-tremor-background-subtle",t$g.xs.spaceX)},b$2=React$1.forwardRef(((r,t)=>{const{color:s,variant:i="line",children:b,className:p}=r,f=__rest$2(r,["color","variant","children","className"]);return React$1.createElement(rt.List,Object.assign({ref:t,className:t$e(n$6("root"),"justify-start overflow-x-clip",d$7[i],p)},f),React$1.createElement(c$a.Provider,{value:i},React$1.createElement(o$6.Provider,{value:s},b)))}));b$2.displayName="TabList";
67078
67078
 
67079
- const b$1=$$1("Tab");function p$4(e,r){switch(e){case"line":return t$e("ui-selected:border-b-2 hover:border-b-2 border-transparent transition duration-100","hover:border-tremor-content hover:text-tremor-content-emphasis text-tremor-content","dark:hover:border-dark-tremor-content-emphasis dark:hover:text-dark-tremor-content-emphasis dark:text-dark-tremor-content",r?c$l(r,e$4.border).selectBorderColor:"ui-selected:border-tremor-brand dark:ui-selected:border-dark-tremor-brand",t$g.px.negativeMarginBottom,t$g.sm.paddingX,t$g.sm.paddingY);case"solid":return t$e("border-transparent border rounded-tremor-small","ui-selected:border-tremor-border ui-selected:bg-tremor-background ui-selected:shadow-tremor-input hover:text-tremor-content-emphasis text-tremor-content","dark:ui-selected:border-dark-tremor-border dark:ui-selected:bg-dark-tremor-background dark:ui-selected:shadow-dark-tremor-input dark:hover:text-dark-tremor-content-emphasis dark:text-dark-tremor-content",t$g.md.paddingX,t$g.twoXs.paddingY)}}const u$2=React$1.forwardRef(((d,u)=>{const{icon:x,className:h,children:k}=d,g=__rest$2(d,["icon","className","children"]),f=React$1.useContext(c$a),j=React$1.useContext(o$6),w=x;return React$1.createElement(rt,Object.assign({ref:u,className:t$e(b$1("root"),"flex whitespace-nowrap truncate max-w-xs outline-none focus:ring-0 text-tremor-default transition duration-100",j?c$l(j,e$4.text).selectTextColor:"solid"===f?"ui-selected:text-tremor-content-emphasis dark:ui-selected:text-dark-tremor-content-emphasis":"ui-selected:text-tremor-brand dark:ui-selected:text-dark-tremor-brand",p$4(f,j),h)},g),w?React$1.createElement(w,{className:t$e(b$1("icon"),"flex-none",h$7.lg.height,h$7.lg.width,k?t$g.sm.marginRight:"")}):null,k?React$1.createElement("span",null,k):null)}));u$2.displayName="Tab";
67079
+ const b$1=$$2("Tab");function p$4(e,r){switch(e){case"line":return t$e("ui-selected:border-b-2 hover:border-b-2 border-transparent transition duration-100","hover:border-tremor-content hover:text-tremor-content-emphasis text-tremor-content","dark:hover:border-dark-tremor-content-emphasis dark:hover:text-dark-tremor-content-emphasis dark:text-dark-tremor-content",r?c$l(r,e$4.border).selectBorderColor:"ui-selected:border-tremor-brand dark:ui-selected:border-dark-tremor-brand",t$g.px.negativeMarginBottom,t$g.sm.paddingX,t$g.sm.paddingY);case"solid":return t$e("border-transparent border rounded-tremor-small","ui-selected:border-tremor-border ui-selected:bg-tremor-background ui-selected:shadow-tremor-input hover:text-tremor-content-emphasis text-tremor-content","dark:ui-selected:border-dark-tremor-border dark:ui-selected:bg-dark-tremor-background dark:ui-selected:shadow-dark-tremor-input dark:hover:text-dark-tremor-content-emphasis dark:text-dark-tremor-content",t$g.md.paddingX,t$g.twoXs.paddingY)}}const u$1=React$1.forwardRef(((d,u)=>{const{icon:x,className:h,children:k}=d,g=__rest$2(d,["icon","className","children"]),f=React$1.useContext(c$a),j=React$1.useContext(o$6),w=x;return React$1.createElement(rt,Object.assign({ref:u,className:t$e(b$1("root"),"flex whitespace-nowrap truncate max-w-xs outline-none focus:ring-0 text-tremor-default transition duration-100",j?c$l(j,e$4.text).selectTextColor:"solid"===f?"ui-selected:text-tremor-content-emphasis dark:ui-selected:text-dark-tremor-content-emphasis":"ui-selected:text-tremor-brand dark:ui-selected:text-dark-tremor-brand",p$4(f,j),h)},g),w?React$1.createElement(w,{className:t$e(b$1("icon"),"flex-none",h$7.lg.height,h$7.lg.width,k?t$g.sm.marginRight:"")}):null,k?React$1.createElement("span",null,k):null)}));u$1.displayName="Tab";
67080
67080
 
67081
- const n$5=$$1("TabGroup"),s$7=React$1.forwardRef(((o,s)=>{const{defaultIndex:d,index:l,onIndexChange:i,children:m,className:f}=o,c=__rest$2(o,["defaultIndex","index","onIndexChange","children","className"]);return React$1.createElement(rt.Group,Object.assign({as:"div",ref:s,defaultIndex:d,selectedIndex:l,onChange:i,className:t$e(n$5("root"),"w-full",f)},c),m)}));s$7.displayName="TabGroup";
67081
+ const n$5=$$2("TabGroup"),s$7=React$1.forwardRef(((o,s)=>{const{defaultIndex:d,index:l,onIndexChange:i,children:m,className:f}=o,c=__rest$2(o,["defaultIndex","index","onIndexChange","children","className"]);return React$1.createElement(rt.Group,Object.assign({as:"div",ref:s,defaultIndex:d,selectedIndex:l,onChange:i,className:t$e(n$5("root"),"w-full",f)},c),m)}));s$7.displayName="TabGroup";
67082
67082
 
67083
- const m$9=$$1("TabPanel"),i$7=React$1.forwardRef(((s,i)=>{const{children:n,className:c}=s,d=__rest$2(s,["children","className"]),{selectedValue:f}=React$1.useContext(a$8),p=f===React$1.useContext(o$5);return React$1.createElement("div",Object.assign({ref:i,className:t$e(m$9("root"),"w-full mt-2",p?"":"hidden",c),"aria-selected":p?"true":"false"},d),n)}));i$7.displayName="TabPanel";
67083
+ const m$9=$$2("TabPanel"),i$7=React$1.forwardRef(((s,i)=>{const{children:n,className:c}=s,d=__rest$2(s,["children","className"]),{selectedValue:f}=React$1.useContext(a$8),p=f===React$1.useContext(o$5);return React$1.createElement("div",Object.assign({ref:i,className:t$e(m$9("root"),"w-full mt-2",p?"":"hidden",c),"aria-selected":p?"true":"false"},d),n)}));i$7.displayName="TabPanel";
67084
67084
 
67085
- const m$8=$$1("TabPanels"),n$4=React$1.forwardRef(((a,n)=>{const{children:i,className:c}=a,d=__rest$2(a,["children","className"]);return React$1.createElement(rt.Panels,Object.assign({as:"div",ref:n,className:t$e(m$8("root"),"w-full",c)},d),(({selectedIndex:e})=>React$1.createElement(a$8.Provider,{value:{selectedValue:e}},React$1.Children.map(i,((e,t)=>React$1.createElement(o$5.Provider,{value:t},e))))))}));n$4.displayName="TabPanels";
67085
+ const m$8=$$2("TabPanels"),n$4=React$1.forwardRef(((a,n)=>{const{children:i,className:c}=a,d=__rest$2(a,["children","className"]);return React$1.createElement(rt.Panels,Object.assign({as:"div",ref:n,className:t$e(m$8("root"),"w-full",c)},d),(({selectedIndex:e})=>React$1.createElement(a$8.Provider,{value:{selectedValue:e}},React$1.Children.map(i,((e,t)=>React$1.createElement(o$5.Provider,{value:t},e))))))}));n$4.displayName="TabPanels";
67086
67086
 
67087
- const o$4=$$1("TextInput"),p$3=React$1.forwardRef(((e,p)=>{const{type:s="text"}=e,a=__rest$2(e,["type"]);return React$1.createElement(b$3,Object.assign({ref:p,type:s,makeInputClassName:o$4},a))}));p$3.displayName="TextInput";
67087
+ const o$4=$$2("TextInput"),p$3=React$1.forwardRef(((e,p)=>{const{type:s="text"}=e,a=__rest$2(e,["type"]);return React$1.createElement(b$3,Object.assign({ref:p,type:s,makeInputClassName:o$4},a))}));p$3.displayName="TextInput";
67088
67088
 
67089
- const c$9=$$1("Switch"),d$7=React$1.forwardRef(((i,d)=>{const{checked:m,defaultChecked:u=!1,onChange:b,color:h="blue",name:f,error:p,errorMessage:g,disabled:k,required:w,id:x}=i,C=__rest$2(i,["checked","defaultChecked","onChange","color","name","error","errorMessage","disabled","required","id"]),[E,N]=o$8(u,m),[y,j]=React$1.useState(!1);return React$1.createElement(React$1.Fragment,null,React$1.createElement("div",Object.assign({ref:d,className:t$e(c$9("root"),"flex flex-col relative h-5")},C),React$1.createElement("input",{type:"checkbox",className:t$e(c$9("input"),"absolute w-5 h-5 cursor-pointer left-0 top-0 opacity-0"),name:f,required:w,checked:E,onChange:e=>{e.preventDefault();}}),React$1.createElement(Ge,{checked:E,onChange:e=>{N(e),null==b||b(e);},disabled:k,className:t$e(c$9("switch"),"w-10 h-5 group relative inline-flex flex-shrink-0 cursor-pointer items-center justify-center rounded-tremor-full","focus:outline-none",k?"opacity-0 cursor-not-allowed":""),onFocus:()=>j(!0),onBlur:()=>j(!1),id:x},React$1.createElement("span",{className:t$e(c$9("sr-only"),"sr-only")},"Switch ",E?"on":"off"),React$1.createElement("span",{"aria-hidden":"true",className:t$e(c$9("background"),E?c$l(h,e$4.background).bgColor:"bg-tremor-border dark:bg-dark-tremor-border","pointer-events-none absolute mx-auto h-3 w-9 rounded-tremor-full transition-colors duration-100 ease-in-out")}),React$1.createElement("span",{"aria-hidden":"true",className:t$e(c$9("round"),E?t$e(c$l(h,e$4.background).bgColor,"translate-x-5 border-white"):"translate-x-0 bg-tremor-border dark:bg-dark-tremor-border border-white","pointer-events-none absolute left-0 inline-block h-5 w-5 transform rounded-tremor-full border-2 shadow-tremor-input duration-100 ease-in-out transition",y?t$e("ring-2 ring-blue-200"):"")}))),p&&g?React$1.createElement("p",{className:t$e(c$9("errorMessage"),"text-sm text-rose-500 mt-1 ")},g):null)}));d$7.displayName="Switch";
67089
+ const c$9=$$2("Switch"),d$6=React$1.forwardRef(((i,d)=>{const{checked:m,defaultChecked:u=!1,onChange:b,color:h="blue",name:f,error:p,errorMessage:g,disabled:k,required:w,id:x}=i,C=__rest$2(i,["checked","defaultChecked","onChange","color","name","error","errorMessage","disabled","required","id"]),[E,N]=o$8(u,m),[y,j]=React$1.useState(!1);return React$1.createElement(React$1.Fragment,null,React$1.createElement("div",Object.assign({ref:d,className:t$e(c$9("root"),"flex flex-col relative h-5")},C),React$1.createElement("input",{type:"checkbox",className:t$e(c$9("input"),"absolute w-5 h-5 cursor-pointer left-0 top-0 opacity-0"),name:f,required:w,checked:E,onChange:e=>{e.preventDefault();}}),React$1.createElement(Ge,{checked:E,onChange:e=>{N(e),null==b||b(e);},disabled:k,className:t$e(c$9("switch"),"w-10 h-5 group relative inline-flex flex-shrink-0 cursor-pointer items-center justify-center rounded-tremor-full","focus:outline-none",k?"opacity-0 cursor-not-allowed":""),onFocus:()=>j(!0),onBlur:()=>j(!1),id:x},React$1.createElement("span",{className:t$e(c$9("sr-only"),"sr-only")},"Switch ",E?"on":"off"),React$1.createElement("span",{"aria-hidden":"true",className:t$e(c$9("background"),E?c$l(h,e$4.background).bgColor:"bg-tremor-border dark:bg-dark-tremor-border","pointer-events-none absolute mx-auto h-3 w-9 rounded-tremor-full transition-colors duration-100 ease-in-out")}),React$1.createElement("span",{"aria-hidden":"true",className:t$e(c$9("round"),E?t$e(c$l(h,e$4.background).bgColor,"translate-x-5 border-white"):"translate-x-0 bg-tremor-border dark:bg-dark-tremor-border border-white","pointer-events-none absolute left-0 inline-block h-5 w-5 transform rounded-tremor-full border-2 shadow-tremor-input duration-100 ease-in-out transition",y?t$e("ring-2 ring-blue-200"):"")}))),p&&g?React$1.createElement("p",{className:t$e(c$9("errorMessage"),"text-sm text-rose-500 mt-1 ")},g):null)}));d$6.displayName="Switch";
67090
67090
 
67091
- const l$9=$$1("Accordion"),i$6=React$1.createContext({isOpen:!1}),c$8=React$1.forwardRef(((s,m)=>{var c;const{defaultOpen:p=!1,children:f,className:u}=s,b=__rest$2(s,["defaultOpen","children","className"]),x=null!==(c=React$1.useContext(t$1))&&void 0!==c?c:t$e(r$m.sm.all,"rounded-tremor-default");return React$1.createElement(ve,Object.assign({as:"div",ref:m,className:t$e(l$9("root"),"overflow-hidden","bg-tremor-background border-tremor-border","dark:bg-dark-tremor-background dark:border-dark-tremor-border",x,u),defaultOpen:p},b),(({open:e})=>React$1.createElement(i$6.Provider,{value:{isOpen:e}},f)))}));c$8.displayName="Accordion";
67091
+ const l$9=$$2("Accordion"),i$6=React$1.createContext({isOpen:!1}),c$8=React$1.forwardRef(((s,m)=>{var c;const{defaultOpen:p=!1,children:f,className:u}=s,b=__rest$2(s,["defaultOpen","children","className"]),x=null!==(c=React$1.useContext(t$1))&&void 0!==c?c:t$e(r$m.sm.all,"rounded-tremor-default");return React$1.createElement(ve,Object.assign({as:"div",ref:m,className:t$e(l$9("root"),"overflow-hidden","bg-tremor-background border-tremor-border","dark:bg-dark-tremor-background dark:border-dark-tremor-border",x,u),defaultOpen:p},b),(({open:e})=>React$1.createElement(i$6.Provider,{value:{isOpen:e}},f)))}));c$8.displayName="Accordion";
67092
67092
 
67093
- const i$5=$$1("AccordionBody"),l$8=React$1.forwardRef(((o,l)=>{const{children:s,className:c}=o,d=__rest$2(o,["children","className"]);return React$1.createElement(ve.Panel,Object.assign({ref:l,className:t$e(i$5("root"),"w-full text-tremor-default","text-tremor-content","dark:text-dark-tremor-content",t$g.twoXl.paddingX,t$g.lg.paddingBottom,c)},d),s)}));l$8.displayName="AccordionBody";
67093
+ const i$5=$$2("AccordionBody"),l$8=React$1.forwardRef(((o,l)=>{const{children:s,className:c}=o,d=__rest$2(o,["children","className"]);return React$1.createElement(ve.Panel,Object.assign({ref:l,className:t$e(i$5("root"),"w-full text-tremor-default","text-tremor-content","dark:text-dark-tremor-content",t$g.twoXl.paddingX,t$g.lg.paddingBottom,c)},d),s)}));l$8.displayName="AccordionBody";
67094
67094
 
67095
67095
  const r$1=r=>{var o=__rest$2(r,[]);return React$1.createElement("svg",Object.assign({},o,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2.5"}),React$1.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 15l7-7 7 7"}))};
67096
67096
 
67097
- const c$7=$$1("AccordionHeader"),d$6=React$1.forwardRef(((i,d)=>{const{children:f,className:p}=i,g=__rest$2(i,["children","className"]),{isOpen:h}=React$1.useContext(i$6);return React$1.createElement(ve.Button,Object.assign({ref:d,className:t$e(c$7("root"),"w-full flex items-center justify-between","text-tremor-content-emphasis","dark:text-dark-tremor-content-emphasis",t$g.twoXl.paddingX,t$g.lg.paddingY,p)},g),React$1.createElement("div",{className:t$e(c$7("children"),"flex flex-1 text-inherit",t$g.twoXl.marginRight)},f),React$1.createElement("div",null,React$1.createElement(r$1,{className:t$e(c$7("arrowIcon"),"text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",t$g.twoXs.negativeMarginRight,h$7.md.height,h$7.md.width,h?"transition-all":"transition-all -rotate-180")})))}));d$6.displayName="AccordionHeader";
67097
+ const c$7=$$2("AccordionHeader"),d$5=React$1.forwardRef(((i,d)=>{const{children:f,className:p}=i,g=__rest$2(i,["children","className"]),{isOpen:h}=React$1.useContext(i$6);return React$1.createElement(ve.Button,Object.assign({ref:d,className:t$e(c$7("root"),"w-full flex items-center justify-between","text-tremor-content-emphasis","dark:text-dark-tremor-content-emphasis",t$g.twoXl.paddingX,t$g.lg.paddingY,p)},g),React$1.createElement("div",{className:t$e(c$7("children"),"flex flex-1 text-inherit",t$g.twoXl.marginRight)},f),React$1.createElement("div",null,React$1.createElement(r$1,{className:t$e(c$7("arrowIcon"),"text-tremor-content-subtle","dark:text-dark-tremor-content-subtle",t$g.twoXs.negativeMarginRight,h$7.md.height,h$7.md.width,h?"transition-all":"transition-all -rotate-180")})))}));d$5.displayName="AccordionHeader";
67098
67098
 
67099
- const l$7=$$1("AccordionList"),a$7=React$1.forwardRef(((o,a)=>{const{children:n,className:i}=o,d=__rest$2(o,["children","className"]),c=React$1.Children.count(n);return React$1.createElement("div",Object.assign({ref:a,className:t$e(l$7("root"),"rounded-tremor-default","shadow-tremor-card","dark:shadow-dark-tremor-card",i)},d),React$1.Children.map(n,((e,o)=>0===o?React$1.createElement(t$1.Provider,{value:t$e("rounded-t-tremor-default",r$m.sm.left,r$m.sm.top,r$m.sm.right,r$m.sm.bottom)},React$1.cloneElement(e)):o===c-1?React$1.createElement(t$1.Provider,{value:t$e("rounded-b-tremor-default",r$m.sm.left,r$m.sm.right,r$m.sm.bottom)},React$1.cloneElement(e)):React$1.createElement(t$1.Provider,{value:t$e(r$m.sm.left,r$m.sm.right,r$m.sm.bottom)},React$1.cloneElement(e)))))}));a$7.displayName="AccordionList";
67099
+ const l$7=$$2("AccordionList"),a$7=React$1.forwardRef(((o,a)=>{const{children:n,className:i}=o,d=__rest$2(o,["children","className"]),c=React$1.Children.count(n);return React$1.createElement("div",Object.assign({ref:a,className:t$e(l$7("root"),"rounded-tremor-default","shadow-tremor-card","dark:shadow-dark-tremor-card",i)},d),React$1.Children.map(n,((e,o)=>0===o?React$1.createElement(t$1.Provider,{value:t$e("rounded-t-tremor-default",r$m.sm.left,r$m.sm.top,r$m.sm.right,r$m.sm.bottom)},React$1.cloneElement(e)):o===c-1?React$1.createElement(t$1.Provider,{value:t$e("rounded-b-tremor-default",r$m.sm.left,r$m.sm.right,r$m.sm.bottom)},React$1.cloneElement(e)):React$1.createElement(t$1.Provider,{value:t$e(r$m.sm.left,r$m.sm.right,r$m.sm.bottom)},React$1.cloneElement(e)))))}));a$7.displayName="AccordionList";
67100
67100
 
67101
- const s$6=$$1("Card"),c$6=r=>{if(!r)return "";switch(r){case n$j.Left:return r$m.lg.left;case t$f.Top:return r$m.lg.top;case n$j.Right:return r$m.lg.right;case t$f.Bottom:return r$m.lg.bottom;default:return ""}},b=React$1.forwardRef(((e,t)=>{const{decoration:a="",decorationColor:n,children:b,className:f}=e,g=__rest$2(e,["decoration","decorationColor","children","className"]);return React$1.createElement("div",Object.assign({ref:t,className:t$e(s$6("root"),"relative w-full text-left ring-1 rounded-tremor-default","bg-tremor-background ring-tremor-ring shadow-tremor-card","dark:bg-dark-tremor-background dark:ring-dark-tremor-ring dark:shadow-dark-tremor-card",n?c$l(n,e$4.border).borderColor:"border-tremor-brand dark:border-dark-tremor-brand",c$6(a),t$g.threeXl.paddingAll,f)},g),b)}));b.displayName="Card";
67101
+ const s$6=$$2("Card"),c$6=r=>{if(!r)return "";switch(r){case n$j.Left:return r$m.lg.left;case t$f.Top:return r$m.lg.top;case n$j.Right:return r$m.lg.right;case t$f.Bottom:return r$m.lg.bottom;default:return ""}},b=React$1.forwardRef(((e,t)=>{const{decoration:a="",decorationColor:n,children:b,className:f}=e,g=__rest$2(e,["decoration","decorationColor","children","className"]);return React$1.createElement("div",Object.assign({ref:t,className:t$e(s$6("root"),"relative w-full text-left ring-1 rounded-tremor-default","bg-tremor-background ring-tremor-ring shadow-tremor-card","dark:bg-dark-tremor-background dark:ring-dark-tremor-ring dark:shadow-dark-tremor-card",n?c$l(n,e$4.border).borderColor:"border-tremor-brand dark:border-dark-tremor-brand",c$6(a),t$g.threeXl.paddingAll,f)},g),b)}));b.displayName="Card";
67102
67102
 
67103
- const m$7=$$1("Divider"),o$3=React$1.forwardRef(((t,o)=>{const{className:l,children:d}=t,s=__rest$2(t,["className","children"]);return React$1.createElement("div",Object.assign({ref:o,className:t$e(m$7("root"),"w-full mx-auto my-6 flex justify-between gap-3 items-center text-tremor-default","text-tremor-content","dark:text-dark-tremor-content",l)},s),d?React$1.createElement(React$1.Fragment,null,React$1.createElement("div",{className:t$e("w-full h-[1px] bg-tremor-border dark:bg-dark-tremor-border")}),React$1.createElement("div",{className:t$e("text-inherit whitespace-nowrap")},d),React$1.createElement("div",{className:t$e("w-full h-[1px] bg-tremor-border dark:bg-dark-tremor-border")})):React$1.createElement("div",{className:t$e("w-full h-[1px] bg-tremor-border dark:bg-dark-tremor-border")}))}));o$3.displayName="Divider";
67103
+ const m$7=$$2("Divider"),o$3=React$1.forwardRef(((t,o)=>{const{className:l,children:d}=t,s=__rest$2(t,["className","children"]);return React$1.createElement("div",Object.assign({ref:o,className:t$e(m$7("root"),"w-full mx-auto my-6 flex justify-between gap-3 items-center text-tremor-default","text-tremor-content","dark:text-dark-tremor-content",l)},s),d?React$1.createElement(React$1.Fragment,null,React$1.createElement("div",{className:t$e("w-full h-[1px] bg-tremor-border dark:bg-dark-tremor-border")}),React$1.createElement("div",{className:t$e("text-inherit whitespace-nowrap")},d),React$1.createElement("div",{className:t$e("w-full h-[1px] bg-tremor-border dark:bg-dark-tremor-border")})):React$1.createElement("div",{className:t$e("w-full h-[1px] bg-tremor-border dark:bg-dark-tremor-border")}))}));o$3.displayName="Divider";
67104
67104
 
67105
- const s$5={0:"grid-cols-none",1:"grid-cols-1",2:"grid-cols-2",3:"grid-cols-3",4:"grid-cols-4",5:"grid-cols-5",6:"grid-cols-6",7:"grid-cols-7",8:"grid-cols-8",9:"grid-cols-9",10:"grid-cols-10",11:"grid-cols-11",12:"grid-cols-12"},l$6={0:"sm:grid-cols-none",1:"sm:grid-cols-1",2:"sm:grid-cols-2",3:"sm:grid-cols-3",4:"sm:grid-cols-4",5:"sm:grid-cols-5",6:"sm:grid-cols-6",7:"sm:grid-cols-7",8:"sm:grid-cols-8",9:"sm:grid-cols-9",10:"sm:grid-cols-10",11:"sm:grid-cols-11",12:"sm:grid-cols-12"},o$2={0:"md:grid-cols-none",1:"md:grid-cols-1",2:"md:grid-cols-2",3:"md:grid-cols-3",4:"md:grid-cols-4",5:"md:grid-cols-5",6:"md:grid-cols-6",7:"md:grid-cols-7",8:"md:grid-cols-8",9:"md:grid-cols-9",10:"md:grid-cols-10",11:"md:grid-cols-11",12:"md:grid-cols-12"},c$5={0:"lg:grid-cols-none",1:"lg:grid-cols-1",2:"lg:grid-cols-2",3:"lg:grid-cols-3",4:"lg:grid-cols-4",5:"lg:grid-cols-5",6:"lg:grid-cols-6",7:"lg:grid-cols-7",8:"lg:grid-cols-8",9:"lg:grid-cols-9",10:"lg:grid-cols-10",11:"lg:grid-cols-11",12:"lg:grid-cols-12"},d$5={1:"col-span-1",2:"col-span-2",3:"col-span-3",4:"col-span-4",5:"col-span-5",6:"col-span-6",7:"col-span-7",8:"col-span-8",9:"col-span-9",10:"col-span-10",11:"col-span-11",12:"col-span-12",13:"col-span-13"},g$2={1:"sm:col-span-1",2:"sm:col-span-2",3:"sm:col-span-3",4:"sm:col-span-4",5:"sm:col-span-5",6:"sm:col-span-6",7:"sm:col-span-7",8:"sm:col-span-8",9:"sm:col-span-9",10:"sm:col-span-10",11:"sm:col-span-11",12:"sm:col-span-12",13:"sm:col-span-13"},n$3={1:"md:col-span-1",2:"md:col-span-2",3:"md:col-span-3",4:"md:col-span-4",5:"md:col-span-5",6:"md:col-span-6",7:"md:col-span-7",8:"md:col-span-8",9:"md:col-span-9",10:"md:col-span-10",11:"md:col-span-11",12:"md:col-span-12",13:"md:col-span-13"},p$2={1:"lg:col-span-1",2:"lg:col-span-2",3:"lg:col-span-3",4:"lg:col-span-4",5:"lg:col-span-5",6:"lg:col-span-6",7:"lg:col-span-7",8:"lg:col-span-8",9:"lg:col-span-9",10:"lg:col-span-10",11:"lg:col-span-11",12:"lg:col-span-12",13:"lg:col-span-13"};
67105
+ const s$5={0:"grid-cols-none",1:"grid-cols-1",2:"grid-cols-2",3:"grid-cols-3",4:"grid-cols-4",5:"grid-cols-5",6:"grid-cols-6",7:"grid-cols-7",8:"grid-cols-8",9:"grid-cols-9",10:"grid-cols-10",11:"grid-cols-11",12:"grid-cols-12"},l$6={0:"sm:grid-cols-none",1:"sm:grid-cols-1",2:"sm:grid-cols-2",3:"sm:grid-cols-3",4:"sm:grid-cols-4",5:"sm:grid-cols-5",6:"sm:grid-cols-6",7:"sm:grid-cols-7",8:"sm:grid-cols-8",9:"sm:grid-cols-9",10:"sm:grid-cols-10",11:"sm:grid-cols-11",12:"sm:grid-cols-12"},o$2={0:"md:grid-cols-none",1:"md:grid-cols-1",2:"md:grid-cols-2",3:"md:grid-cols-3",4:"md:grid-cols-4",5:"md:grid-cols-5",6:"md:grid-cols-6",7:"md:grid-cols-7",8:"md:grid-cols-8",9:"md:grid-cols-9",10:"md:grid-cols-10",11:"md:grid-cols-11",12:"md:grid-cols-12"},c$5={0:"lg:grid-cols-none",1:"lg:grid-cols-1",2:"lg:grid-cols-2",3:"lg:grid-cols-3",4:"lg:grid-cols-4",5:"lg:grid-cols-5",6:"lg:grid-cols-6",7:"lg:grid-cols-7",8:"lg:grid-cols-8",9:"lg:grid-cols-9",10:"lg:grid-cols-10",11:"lg:grid-cols-11",12:"lg:grid-cols-12"},d$4={1:"col-span-1",2:"col-span-2",3:"col-span-3",4:"col-span-4",5:"col-span-5",6:"col-span-6",7:"col-span-7",8:"col-span-8",9:"col-span-9",10:"col-span-10",11:"col-span-11",12:"col-span-12",13:"col-span-13"},g$2={1:"sm:col-span-1",2:"sm:col-span-2",3:"sm:col-span-3",4:"sm:col-span-4",5:"sm:col-span-5",6:"sm:col-span-6",7:"sm:col-span-7",8:"sm:col-span-8",9:"sm:col-span-9",10:"sm:col-span-10",11:"sm:col-span-11",12:"sm:col-span-12",13:"sm:col-span-13"},n$3={1:"md:col-span-1",2:"md:col-span-2",3:"md:col-span-3",4:"md:col-span-4",5:"md:col-span-5",6:"md:col-span-6",7:"md:col-span-7",8:"md:col-span-8",9:"md:col-span-9",10:"md:col-span-10",11:"md:col-span-11",12:"md:col-span-12",13:"md:col-span-13"},p$2={1:"lg:col-span-1",2:"lg:col-span-2",3:"lg:col-span-3",4:"lg:col-span-4",5:"lg:col-span-5",6:"lg:col-span-6",7:"lg:col-span-7",8:"lg:col-span-8",9:"lg:col-span-9",10:"lg:col-span-10",11:"lg:col-span-11",12:"lg:col-span-12",13:"lg:col-span-13"};
67106
67106
 
67107
- const s$4=$$1("Col"),i$4=React$1.forwardRef(((r,i)=>{const{numColSpan:p=1,numColSpanSm:c,numColSpanMd:u,numColSpanLg:S,children:C,className:d}=r,f=__rest$2(r,["numColSpan","numColSpanSm","numColSpanMd","numColSpanLg","children","className"]),b=(o,n)=>o&&Object.keys(n).includes(String(o))?n[o]:"";return React$1.createElement("div",Object.assign({ref:i,className:t$e(s$4("root"),(()=>{const o=b(p,d$5),r=b(c,g$2),m=b(u,n$3),s=b(S,p$2);return t$e(o,r,m,s)})(),d)},f),C)}));i$4.displayName="Col";
67107
+ const s$4=$$2("Col"),i$4=React$1.forwardRef(((r,i)=>{const{numColSpan:p=1,numColSpanSm:c,numColSpanMd:u,numColSpanLg:S,children:C,className:d}=r,f=__rest$2(r,["numColSpan","numColSpanSm","numColSpanMd","numColSpanLg","children","className"]),b=(o,n)=>o&&Object.keys(n).includes(String(o))?n[o]:"";return React$1.createElement("div",Object.assign({ref:i,className:t$e(s$4("root"),(()=>{const o=b(p,d$4),r=b(c,g$2),m=b(u,n$3),s=b(S,p$2);return t$e(o,r,m,s)})(),d)},f),C)}));i$4.displayName="Col";
67108
67108
 
67109
- const a$6=$$1("Grid"),l$5=(m,e)=>m&&Object.keys(e).includes(String(m))?e[m]:"",c$4=React$1.forwardRef(((s,c)=>{const{numItems:d=1,numItemsSm:u,numItemsMd:f,numItemsLg:I,children:p,className:g}=s,b=__rest$2(s,["numItems","numItemsSm","numItemsMd","numItemsLg","children","className"]),j=l$5(d,s$5),N=l$5(u,l$6),y=l$5(f,o$2),M=l$5(I,c$5),S=t$e(j,N,y,M);return React$1.createElement("div",Object.assign({ref:c,className:t$e(a$6("root"),"grid",S,g)},b),p)}));c$4.displayName="Grid";
67109
+ const a$6=$$2("Grid"),l$5=(m,e)=>m&&Object.keys(e).includes(String(m))?e[m]:"",c$4=React$1.forwardRef(((s,c)=>{const{numItems:d=1,numItemsSm:u,numItemsMd:f,numItemsLg:I,children:p,className:g}=s,b=__rest$2(s,["numItems","numItemsSm","numItemsMd","numItemsLg","children","className"]),j=l$5(d,s$5),N=l$5(u,l$6),y=l$5(f,o$2),M=l$5(I,c$5),S=t$e(j,N,y,M);return React$1.createElement("div",Object.assign({ref:c,className:t$e(a$6("root"),"grid",S,g)},b),p)}));c$4.displayName="Grid";
67110
67110
 
67111
- const i$3=$$1("List"),d$4=React$1.forwardRef(((t,d)=>{const{children:a,className:m}=t,s=__rest$2(t,["children","className"]);return React$1.createElement("ul",Object.assign({ref:d,className:t$e(i$3("root"),"w-full overflow-hidden divide-y","divide-tremor-border text-tremor-content","dark:divide-dark-tremor-border dark:text-dark-tremor-content",m)},s),a)}));d$4.displayName="List";
67111
+ const i$3=$$2("List"),d$3=React$1.forwardRef(((t,d)=>{const{children:a,className:m}=t,s=__rest$2(t,["children","className"]);return React$1.createElement("ul",Object.assign({ref:d,className:t$e(i$3("root"),"w-full overflow-hidden divide-y","divide-tremor-border text-tremor-content","dark:divide-dark-tremor-border dark:text-dark-tremor-content",m)},s),a)}));d$3.displayName="List";
67112
67112
 
67113
- const a$5=$$1("ListItem"),l$4=React$1.forwardRef(((m,l)=>{const{children:i,className:o}=m,n=__rest$2(m,["children","className"]);return React$1.createElement(React$1.Fragment,null,React$1.createElement("li",Object.assign({ref:l,className:t$e(a$5("root"),"w-full flex justify-between items-center truncate tabular-nums text-tremor-default",t$g.sm.paddingY,o)},n),i))}));l$4.displayName="ListItem";
67113
+ const a$5=$$2("ListItem"),l$4=React$1.forwardRef(((m,l)=>{const{children:i,className:o}=m,n=__rest$2(m,["children","className"]);return React$1.createElement(React$1.Fragment,null,React$1.createElement("li",Object.assign({ref:l,className:t$e(a$5("root"),"w-full flex justify-between items-center truncate tabular-nums text-tremor-default",t$g.sm.paddingY,o)},n),i))}));l$4.displayName="ListItem";
67114
67114
 
67115
- const l$3=$$1("Table"),o$1=React$1.forwardRef(((r,o)=>{const{children:m,className:s}=r,c=__rest$2(r,["children","className"]);return React$1.createElement("div",{className:t$e(l$3("root"),"overflow-auto",s)},React$1.createElement("table",Object.assign({ref:o,className:t$e(l$3("table"),"w-full tabular-nums text-tremor-default","text-tremor-content","dark:text-dark-tremor-content")},c),m))}));o$1.displayName="Table";
67115
+ const l$3=$$2("Table"),o$1=React$1.forwardRef(((r,o)=>{const{children:m,className:s}=r,c=__rest$2(r,["children","className"]);return React$1.createElement("div",{className:t$e(l$3("root"),"overflow-auto",s)},React$1.createElement("table",Object.assign({ref:o,className:t$e(l$3("table"),"w-full tabular-nums text-tremor-default","text-tremor-content","dark:text-dark-tremor-content")},c),m))}));o$1.displayName="Table";
67116
67116
 
67117
- const a$4=$$1("TableBody"),i$2=React$1.forwardRef(((o,i)=>{const{children:l,className:d}=o,m=__rest$2(o,["children","className"]);return React$1.createElement(React$1.Fragment,null,React$1.createElement("tbody",Object.assign({ref:i,className:t$e(a$4("root"),"align-top overflow-x-auto divide-y","divide-tremor-border","dark:divide-dark-tremor-border",d)},m),l))}));i$2.displayName="TableBody";
67117
+ const a$4=$$2("TableBody"),i$2=React$1.forwardRef(((o,i)=>{const{children:l,className:d}=o,m=__rest$2(o,["children","className"]);return React$1.createElement(React$1.Fragment,null,React$1.createElement("tbody",Object.assign({ref:i,className:t$e(a$4("root"),"align-top overflow-x-auto divide-y","divide-tremor-border","dark:divide-dark-tremor-border",d)},m),l))}));i$2.displayName="TableBody";
67118
67118
 
67119
- const m$6=$$1("TableCell"),s$3=React$1.forwardRef(((t,s)=>{const{children:i,className:o}=t,n=__rest$2(t,["children","className"]);return React$1.createElement(React$1.Fragment,null,React$1.createElement("td",Object.assign({ref:s,className:t$e(m$6("root"),"align-middle whitespace-nowrap tabular-nums text-left",t$g.twoXl.paddingAll,o)},n),i))}));s$3.displayName="TableCell";
67119
+ const m$6=$$2("TableCell"),s$3=React$1.forwardRef(((t,s)=>{const{children:i,className:o}=t,n=__rest$2(t,["children","className"]);return React$1.createElement(React$1.Fragment,null,React$1.createElement("td",Object.assign({ref:s,className:t$e(m$6("root"),"align-middle whitespace-nowrap tabular-nums text-left",t$g.twoXl.paddingAll,o)},n),i))}));s$3.displayName="TableCell";
67120
67120
 
67121
- const a$3=$$1("TableFoot"),m$5=React$1.forwardRef(((t,m)=>{const{children:l,className:s}=t,d=__rest$2(t,["children","className"]);return React$1.createElement(React$1.Fragment,null,React$1.createElement("tfoot",Object.assign({ref:m,className:t$e(a$3("root"),"text-left font-medium border-t-[1px] ","text-tremor-content border-tremor-border","dark:text-dark-tremor-content dark:border-dark-tremor-border",s)},d),l))}));m$5.displayName="TableFoot";
67121
+ const a$3=$$2("TableFoot"),m$5=React$1.forwardRef(((t,m)=>{const{children:l,className:s}=t,d=__rest$2(t,["children","className"]);return React$1.createElement(React$1.Fragment,null,React$1.createElement("tfoot",Object.assign({ref:m,className:t$e(a$3("root"),"text-left font-medium border-t-[1px] ","text-tremor-content border-tremor-border","dark:text-dark-tremor-content dark:border-dark-tremor-border",s)},d),l))}));m$5.displayName="TableFoot";
67122
67122
 
67123
- const a$2=$$1("TableFooterCell"),m$4=React$1.forwardRef(((o,m)=>{const{children:n,className:i}=o,s=__rest$2(o,["children","className"]);return React$1.createElement(React$1.Fragment,null,React$1.createElement("th",Object.assign({ref:m,className:t$e(a$2("root"),"text-tremor-content font-medium","dark:text-dark-tremor-content",t$g.none.top,t$g.twoXl.paddingX,t$g.xl.paddingY,i)},s),n))}));m$4.displayName="TableFooterCell";
67123
+ const a$2=$$2("TableFooterCell"),m$4=React$1.forwardRef(((o,m)=>{const{children:n,className:i}=o,s=__rest$2(o,["children","className"]);return React$1.createElement(React$1.Fragment,null,React$1.createElement("th",Object.assign({ref:m,className:t$e(a$2("root"),"text-tremor-content font-medium","dark:text-dark-tremor-content",t$g.none.top,t$g.twoXl.paddingX,t$g.xl.paddingY,i)},s),n))}));m$4.displayName="TableFooterCell";
67124
67124
 
67125
- const o=$$1("TableHead"),l$2=React$1.forwardRef(((r,l)=>{const{children:m,className:s}=r,n=__rest$2(r,["children","className"]);return React$1.createElement(React$1.Fragment,null,React$1.createElement("thead",Object.assign({ref:l,className:t$e(o("root"),"text-left","text-tremor-content","dark:text-dark-tremor-content",s)},n),m))}));l$2.displayName="TableHead";
67125
+ const o=$$2("TableHead"),l$2=React$1.forwardRef(((r,l)=>{const{children:m,className:s}=r,n=__rest$2(r,["children","className"]);return React$1.createElement(React$1.Fragment,null,React$1.createElement("thead",Object.assign({ref:l,className:t$e(o("root"),"text-left","text-tremor-content","dark:text-dark-tremor-content",s)},n),m))}));l$2.displayName="TableHead";
67126
67126
 
67127
- const l$1=$$1("TableHeaderCell"),m$3=React$1.forwardRef(((a,m)=>{const{children:n,className:s}=a,i=__rest$2(a,["children","className"]);return React$1.createElement(React$1.Fragment,null,React$1.createElement("th",Object.assign({ref:m,className:t$e(l$1("root"),"sticky whitespace-nowrap text-left font-semibold","text-tremor-content","dark:text-dark-tremor-content",t$g.none.top,t$g.twoXl.paddingX,t$g.xl.paddingY,s)},i),n))}));m$3.displayName="TableHeaderCell";
67127
+ const l$1=$$2("TableHeaderCell"),m$3=React$1.forwardRef(((a,m)=>{const{children:n,className:s}=a,i=__rest$2(a,["children","className"]);return React$1.createElement(React$1.Fragment,null,React$1.createElement("th",Object.assign({ref:m,className:t$e(l$1("root"),"sticky whitespace-nowrap text-left font-semibold","text-tremor-content","dark:text-dark-tremor-content",t$g.none.top,t$g.twoXl.paddingX,t$g.xl.paddingY,s)},i),n))}));m$3.displayName="TableHeaderCell";
67128
67128
 
67129
- const l=$$1("TableRow"),m$2=React$1.forwardRef(((t,m)=>{const{children:o,className:s}=t,i=__rest$2(t,["children","className"]);return React$1.createElement(React$1.Fragment,null,React$1.createElement("tr",Object.assign({ref:m,className:t$e(l("row"),s)},i),o))}));m$2.displayName="TableRow";
67129
+ const l=$$2("TableRow"),m$2=React$1.forwardRef(((t,m)=>{const{children:o,className:s}=t,i=__rest$2(t,["children","className"]);return React$1.createElement(React$1.Fragment,null,React$1.createElement("tr",Object.assign({ref:m,className:t$e(l("row"),s)},i),o))}));m$2.displayName="TableRow";
67130
67130
 
67131
67131
  const a$1=React$1.forwardRef(((a,o)=>{const{children:s,className:l}=a,m=__rest$2(a,["children","className"]);return React$1.createElement("b",Object.assign({ref:o,className:t$e("text-inherit font-bold",l)},m),s)}));a$1.displayName="Bold";
67132
67132
 
67133
- const s$2=$$1("Callout"),n$2=React$1.forwardRef(((m,n)=>{const{title:c,icon:b,color:f,className:g,children:p}=m,h=__rest$2(m,["title","icon","color","className","children"]),u=b;return React$1.createElement("div",Object.assign({ref:n,className:t$e(s$2("root"),"flex flex-col overflow-hidden rounded-tremor-default text-tremor-default",f?t$e(c$l(f,e$4.background).bgColor,c$l(f,e$4.darkBorder).borderColor,c$l(f,e$4.darkText).textColor,"dark:bg-opacity-10 bg-opacity-10"):t$e("bg-tremor-brand-faint border-tremor-brand-emphasis text-tremor-brand-emphasis","dark:bg-dark-tremor-brand-muted/70 dark:border-dark-tremor-brand-emphasis dark:text-dark-tremor-brand-emphasis"),t$g.lg.paddingY,t$g.lg.paddingRight,t$g.twoXl.paddingLeft,r$m.lg.left,g)},h),React$1.createElement("div",{className:t$e(s$2("header"),"flex items-start")},u?React$1.createElement(u,{className:t$e(s$2("icon"),"flex-none",h$7.lg.height,h$7.lg.width,t$g.xs.marginRight)}):null,React$1.createElement("h4",{className:t$e(s$2("title"),"font-semibold")},c)),React$1.createElement("p",{className:t$e(s$2("body"),"overflow-y-auto",p?t$g.sm.marginTop:"")},p))}));n$2.displayName="Callout";
67133
+ const s$2=$$2("Callout"),n$2=React$1.forwardRef(((m,n)=>{const{title:c,icon:b,color:f,className:g,children:p}=m,h=__rest$2(m,["title","icon","color","className","children"]),u=b;return React$1.createElement("div",Object.assign({ref:n,className:t$e(s$2("root"),"flex flex-col overflow-hidden rounded-tremor-default text-tremor-default",f?t$e(c$l(f,e$4.background).bgColor,c$l(f,e$4.darkBorder).borderColor,c$l(f,e$4.darkText).textColor,"dark:bg-opacity-10 bg-opacity-10"):t$e("bg-tremor-brand-faint border-tremor-brand-emphasis text-tremor-brand-emphasis","dark:bg-dark-tremor-brand-muted/70 dark:border-dark-tremor-brand-emphasis dark:text-dark-tremor-brand-emphasis"),t$g.lg.paddingY,t$g.lg.paddingRight,t$g.twoXl.paddingLeft,r$m.lg.left,g)},h),React$1.createElement("div",{className:t$e(s$2("header"),"flex items-start")},u?React$1.createElement(u,{className:t$e(s$2("icon"),"flex-none",h$7.lg.height,h$7.lg.width,t$g.xs.marginRight)}):null,React$1.createElement("h4",{className:t$e(s$2("title"),"font-semibold")},c)),React$1.createElement("p",{className:t$e(s$2("body"),"overflow-y-auto",p?t$g.sm.marginTop:"")},p))}));n$2.displayName="Callout";
67134
67134
 
67135
67135
  const a=React$1.forwardRef(((a,i)=>{const{children:s,className:c}=a,l=__rest$2(a,["children","className"]);return React$1.createElement("i",Object.assign({ref:i,className:t$e("italic text-inherit",c)},l),s)}));a.displayName="Italic";
67136
67136
 
@@ -67140,23 +67140,23 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
67140
67140
 
67141
67141
  const s=React$1.forwardRef(((s,a)=>{const{color:i,children:l,className:c}=s,n=__rest$2(s,["color","children","className"]);return React$1.createElement("p",Object.assign({ref:a,className:t$e("font-medium text-tremor-title",i?c$l(i,e$4.darkText).textColor:"text-tremor-content-emphasis dark:text-dark-tremor-content-emphasis",c)},n),l)}));s.displayName="Title";
67142
67142
 
67143
- const i$1=$$1("BarList"),c$3=React$1.forwardRef(((n,c)=>{const{data:d=[],color:p,valueFormatter:h=o$j,showAnimation:u=!1,className:f}=n,b=__rest$2(n,["data","color","valueFormatter","showAnimation","className"]),g=(e=>{let t=-1/0;return e.forEach((e=>{t=Math.max(t,e);})),e.map((e=>0===e?0:Math.max(e/t*100,1)))})(d.map((e=>e.value))),x=h$7.threeXl.height;return React$1.createElement("div",Object.assign({ref:c,className:t$e(i$1("root"),"flex justify-between",t$g.threeXl.spaceX,f)},b),React$1.createElement("div",{className:t$e(i$1("bars"),"relative w-full")},d.map(((e,n)=>{var l,c,h;const f=e.icon;return React$1.createElement("div",{key:null!==(l=e.key)&&void 0!==l?l:e.name,className:t$e(i$1("bar"),"flex items-center rounded-tremor-small bg-opacity-30",x,e.color||p?c$l(null!==(c=e.color)&&void 0!==c?c:p,e$4.background).bgColor:"bg-tremor-brand-subtle dark:bg-dark-tremor-brand-subtle dark:bg-opacity-30",n===d.length-1?t$g.none.marginBottom:t$g.sm.marginBottom),style:{width:`${g[n]}%`,transition:u?"all 1s":""}},React$1.createElement("div",{className:t$e("absolute max-w-full flex",t$g.sm.left)},f?React$1.createElement(f,{className:t$e(i$1("barIcon"),"flex-none","text-tremor-content","dark:text-dark-tremor-content",h$7.lg.height,h$7.lg.width,t$g.md.marginRight)}):null,e.href?React$1.createElement("a",{href:e.href,target:null!==(h=e.target)&&void 0!==h?h:"_blank",rel:"noreferrer",className:t$e(i$1("barLink"),"whitespace-nowrap hover:underline truncate text-tremor-default","text-tremor-content-emphasis","dark:text-dark-tremor-content-emphasis")},e.name):React$1.createElement("p",{className:t$e(i$1("barText"),"whitespace-nowrap truncate text-tremor-default","text-tremor-content-emphasis","dark:text-dark-tremor-content-emphasis")},e.name)))}))),React$1.createElement("div",{className:"text-right min-w-min"},d.map(((e,t)=>{var a;return React$1.createElement("div",{key:null!==(a=e.key)&&void 0!==a?a:e.name,className:t$e(i$1("labelWrapper"),"flex justify-end items-center",x,t===d.length-1?t$g.none.marginBottom:t$g.sm.marginBottom)},React$1.createElement("p",{className:t$e(i$1("labelText"),"whitespace-nowrap truncate text-tremor-default","text-tremor-content-emphasis","dark:text-dark-tremor-content-emphasis")},h(e.value)))}))))}));c$3.displayName="BarList";
67143
+ const i$1=$$2("BarList"),c$3=React$1.forwardRef(((n,c)=>{const{data:d=[],color:p,valueFormatter:h=o$j,showAnimation:u=!1,className:f}=n,b=__rest$2(n,["data","color","valueFormatter","showAnimation","className"]),g=(e=>{let t=-1/0;return e.forEach((e=>{t=Math.max(t,e);})),e.map((e=>0===e?0:Math.max(e/t*100,1)))})(d.map((e=>e.value))),x=h$7.threeXl.height;return React$1.createElement("div",Object.assign({ref:c,className:t$e(i$1("root"),"flex justify-between",t$g.threeXl.spaceX,f)},b),React$1.createElement("div",{className:t$e(i$1("bars"),"relative w-full")},d.map(((e,n)=>{var l,c,h;const f=e.icon;return React$1.createElement("div",{key:null!==(l=e.key)&&void 0!==l?l:e.name,className:t$e(i$1("bar"),"flex items-center rounded-tremor-small bg-opacity-30",x,e.color||p?c$l(null!==(c=e.color)&&void 0!==c?c:p,e$4.background).bgColor:"bg-tremor-brand-subtle dark:bg-dark-tremor-brand-subtle dark:bg-opacity-30",n===d.length-1?t$g.none.marginBottom:t$g.sm.marginBottom),style:{width:`${g[n]}%`,transition:u?"all 1s":""}},React$1.createElement("div",{className:t$e("absolute max-w-full flex",t$g.sm.left)},f?React$1.createElement(f,{className:t$e(i$1("barIcon"),"flex-none","text-tremor-content","dark:text-dark-tremor-content",h$7.lg.height,h$7.lg.width,t$g.md.marginRight)}):null,e.href?React$1.createElement("a",{href:e.href,target:null!==(h=e.target)&&void 0!==h?h:"_blank",rel:"noreferrer",className:t$e(i$1("barLink"),"whitespace-nowrap hover:underline truncate text-tremor-default","text-tremor-content-emphasis","dark:text-dark-tremor-content-emphasis")},e.name):React$1.createElement("p",{className:t$e(i$1("barText"),"whitespace-nowrap truncate text-tremor-default","text-tremor-content-emphasis","dark:text-dark-tremor-content-emphasis")},e.name)))}))),React$1.createElement("div",{className:"text-right min-w-min"},d.map(((e,t)=>{var a;return React$1.createElement("div",{key:null!==(a=e.key)&&void 0!==a?a:e.name,className:t$e(i$1("labelWrapper"),"flex justify-end items-center",x,t===d.length-1?t$g.none.marginBottom:t$g.sm.marginBottom)},React$1.createElement("p",{className:t$e(i$1("labelText"),"whitespace-nowrap truncate text-tremor-default","text-tremor-content-emphasis","dark:text-dark-tremor-content-emphasis")},h(e.value)))}))))}));c$3.displayName="BarList";
67144
67144
 
67145
- const f$1=$$1("CategoryBar"),u$1=({values:e})=>{const a=t$d(e);let o=0,n=0;return React$1.createElement("div",{className:t$e(f$1("labels"),"relative flex w-full text-tremor-default","text-tremor-content","dark:text-dark-tremor-content",t$g.sm.marginBottom,h$7.lg.height)},e.slice(0,e.length).map(((e,r)=>{o+=e;const l=(e>=.1*a||n>=.09*a)&&a-o>=.15*a&&o>=.1*a;return n=l?0:n+=e,React$1.createElement("div",{key:`item-${r}`,className:"flex items-center justify-end",style:{width:`${e}%`}},React$1.createElement("span",{className:t$e(l?"block":"hidden","left-1/2 translate-x-1/2")},o))})),React$1.createElement("div",{className:t$e("absolute bottom-0 flex items-center",t$g.none.left)},"0"),React$1.createElement("div",{className:t$e("absolute bottom-0 flex items-center",t$g.none.right)},a))},g$1=React$1.forwardRef(((l,i)=>{const{values:m=[],colors:g=a$i,markerValue:b,showLabels:p=!0,tooltip:h,showAnimation:v=!1,className:x}=l,w=__rest$2(l,["values","colors","markerValue","showLabels","tooltip","showAnimation","className"]),E=((e,t,r)=>{if(void 0===e)return "";let l=0;for(let o=0;o<t.length;o++){const s=t[o],i=c$l(r[o],e$4.background).bgColor;if(l+=s,l>=e)return i}return ""})(b,m,g),{tooltipProps:N,getReferenceProps:k}=f$c();return React$1.createElement(React$1.Fragment,null,React$1.createElement(u$9,Object.assign({text:h},N)),React$1.createElement("div",Object.assign({ref:i,className:t$e(f$1("root"),x)},w),p?React$1.createElement(u$1,{values:m}):null,React$1.createElement("div",{className:t$e(f$1("barWrapper"),"relative w-full flex items-center",h$7.xs.height)},React$1.createElement("div",{className:t$e("flex-1 flex items-center h-full overflow-hidden rounded-tremor-full")},m.map(((e,r)=>{var l;const o=null!==(l=g[r])&&void 0!==l?l:"gray";return React$1.createElement("div",{key:`item-${r}`,className:t$e(f$1("categoryBar"),"h-full",c$l(o,e$4.background).bgColor),style:{width:`${e}%`}})}))),void 0!==b?React$1.createElement("div",Object.assign({ref:N.refs.setReference,className:t$e(f$1("markerWrapper"),"absolute right-1/2 -translate-x-1/2",h$7.lg.width),style:{left:`${b}%`,transition:v?"all 1s":""}},k),React$1.createElement("div",{className:t$e(f$1("marker"),"ring-2 mx-auto rounded-tremor-full","ring-tremor-brand-inverted","dark:ring-dark-tremor-brand-inverted",E,h$7.md.height,h$7.twoXs.width)})):null)))}));g$1.displayName="CategoryBar";
67145
+ const f$1=$$2("CategoryBar"),u=({values:e})=>{const a=t$d(e);let o=0,n=0;return React$1.createElement("div",{className:t$e(f$1("labels"),"relative flex w-full text-tremor-default","text-tremor-content","dark:text-dark-tremor-content",t$g.sm.marginBottom,h$7.lg.height)},e.slice(0,e.length).map(((e,r)=>{o+=e;const l=(e>=.1*a||n>=.09*a)&&a-o>=.15*a&&o>=.1*a;return n=l?0:n+=e,React$1.createElement("div",{key:`item-${r}`,className:"flex items-center justify-end",style:{width:`${e}%`}},React$1.createElement("span",{className:t$e(l?"block":"hidden","left-1/2 translate-x-1/2")},o))})),React$1.createElement("div",{className:t$e("absolute bottom-0 flex items-center",t$g.none.left)},"0"),React$1.createElement("div",{className:t$e("absolute bottom-0 flex items-center",t$g.none.right)},a))},g$1=React$1.forwardRef(((l,i)=>{const{values:m=[],colors:g=a$i,markerValue:b,showLabels:p=!0,tooltip:h,showAnimation:v=!1,className:x}=l,w=__rest$2(l,["values","colors","markerValue","showLabels","tooltip","showAnimation","className"]),E=((e,t,r)=>{if(void 0===e)return "";let l=0;for(let o=0;o<t.length;o++){const s=t[o],i=c$l(r[o],e$4.background).bgColor;if(l+=s,l>=e)return i}return ""})(b,m,g),{tooltipProps:N,getReferenceProps:k}=f$c();return React$1.createElement(React$1.Fragment,null,React$1.createElement(u$8,Object.assign({text:h},N)),React$1.createElement("div",Object.assign({ref:i,className:t$e(f$1("root"),x)},w),p?React$1.createElement(u,{values:m}):null,React$1.createElement("div",{className:t$e(f$1("barWrapper"),"relative w-full flex items-center",h$7.xs.height)},React$1.createElement("div",{className:t$e("flex-1 flex items-center h-full overflow-hidden rounded-tremor-full")},m.map(((e,r)=>{var l;const o=null!==(l=g[r])&&void 0!==l?l:"gray";return React$1.createElement("div",{key:`item-${r}`,className:t$e(f$1("categoryBar"),"h-full",c$l(o,e$4.background).bgColor),style:{width:`${e}%`}})}))),void 0!==b?React$1.createElement("div",Object.assign({ref:N.refs.setReference,className:t$e(f$1("markerWrapper"),"absolute right-1/2 -translate-x-1/2",h$7.lg.width),style:{left:`${b}%`,transition:v?"all 1s":""}},k),React$1.createElement("div",{className:t$e(f$1("marker"),"ring-2 mx-auto rounded-tremor-full","ring-tremor-brand-inverted","dark:ring-dark-tremor-brand-inverted",E,h$7.md.height,h$7.twoXs.width)})):null)))}));g$1.displayName="CategoryBar";
67146
67146
 
67147
67147
  const g={[e$5.Increase]:{bgColor:c$l(a$j.Emerald,e$4.background).bgColor},[e$5.ModerateIncrease]:{bgColor:c$l(a$j.Emerald,e$4.background).bgColor},[e$5.Decrease]:{bgColor:c$l(a$j.Rose,e$4.background).bgColor},[e$5.ModerateDecrease]:{bgColor:c$l(a$j.Rose,e$4.background).bgColor},[e$5.Unchanged]:{bgColor:c$l(a$j.Orange,e$4.background).bgColor}};
67148
67148
 
67149
- const c$2=$$1("DeltaBar"),d$3=React$1.forwardRef(((s,d)=>{const{value:f,isIncreasePositive:u=!0,showAnimation:b=!1,className:g$1,tooltip:p}=s,v=__rest$2(s,["value","isIncreasePositive","showAnimation","className","tooltip"]),h=r$n((e=>e>=0?e$5.Increase:e$5.Decrease)(f),u),{tooltipProps:j,getReferenceProps:w}=f$c();return React$1.createElement(React$1.Fragment,null,React$1.createElement(u$9,Object.assign({text:p},j)),React$1.createElement("div",Object.assign({ref:d,className:t$e(c$2("root"),"relative flex items-center w-full rounded-tremor-full","bg-tremor-background-subtle","dark:bg-dark-tremor-background-subtle",h$7.xs.height,g$1)},v),React$1.createElement("div",{className:"flex justify-end h-full w-1/2"},f<0?React$1.createElement("div",Object.assign({ref:j.refs.setReference,className:t$e(c$2("negativeDeltaBar"),"rounded-l-tremor-full",g[h].bgColor),style:{width:`${Math.abs(f)}%`,transition:b?"all 1s":""}},w)):null),React$1.createElement("div",{className:t$e(c$2("separator"),"ring-2 z-10 rounded-tremor-full","ring-tremor-brand-inverted bg-tremor-background-emphasis","dark:ring-dark-tremor-brand-inverted dark:bg-dark-tremor-background-emphasis",h$7.md.height,h$7.twoXs.width)}),React$1.createElement("div",{className:t$e(c$2("positiveDeltaBarWrapper"),"flex justify-start h-full w-1/2")},f>=0?React$1.createElement("div",Object.assign({ref:j.refs.setReference,className:t$e(c$2("positiveDeltaBar"),"rounded-r-tremor-full",g[h].bgColor),style:{width:`${Math.abs(f)}%`,transition:b?"all 1s":""}},w)):null)))}));d$3.displayName="DeltaBar";
67149
+ const c$2=$$2("DeltaBar"),d$2=React$1.forwardRef(((s,d)=>{const{value:f,isIncreasePositive:u=!0,showAnimation:b=!1,className:g$1,tooltip:p}=s,v=__rest$2(s,["value","isIncreasePositive","showAnimation","className","tooltip"]),h=r$n((e=>e>=0?e$5.Increase:e$5.Decrease)(f),u),{tooltipProps:j,getReferenceProps:w}=f$c();return React$1.createElement(React$1.Fragment,null,React$1.createElement(u$8,Object.assign({text:p},j)),React$1.createElement("div",Object.assign({ref:d,className:t$e(c$2("root"),"relative flex items-center w-full rounded-tremor-full","bg-tremor-background-subtle","dark:bg-dark-tremor-background-subtle",h$7.xs.height,g$1)},v),React$1.createElement("div",{className:"flex justify-end h-full w-1/2"},f<0?React$1.createElement("div",Object.assign({ref:j.refs.setReference,className:t$e(c$2("negativeDeltaBar"),"rounded-l-tremor-full",g[h].bgColor),style:{width:`${Math.abs(f)}%`,transition:b?"all 1s":""}},w)):null),React$1.createElement("div",{className:t$e(c$2("separator"),"ring-2 z-10 rounded-tremor-full","ring-tremor-brand-inverted bg-tremor-background-emphasis","dark:ring-dark-tremor-brand-inverted dark:bg-dark-tremor-background-emphasis",h$7.md.height,h$7.twoXs.width)}),React$1.createElement("div",{className:t$e(c$2("positiveDeltaBarWrapper"),"flex justify-start h-full w-1/2")},f>=0?React$1.createElement("div",Object.assign({ref:j.refs.setReference,className:t$e(c$2("positiveDeltaBar"),"rounded-r-tremor-full",g[h].bgColor),style:{width:`${Math.abs(f)}%`,transition:b?"all 1s":""}},w)):null)))}));d$2.displayName="DeltaBar";
67150
67150
 
67151
- const m=$$1("MarkerBar"),d$2=React$1.forwardRef(((l,d)=>{const{value:c,minValue:b,maxValue:g,markerTooltip:u,rangeTooltip:f,showAnimation:p=!1,color:k,className:h}=l,v=__rest$2(l,["value","minValue","maxValue","markerTooltip","rangeTooltip","showAnimation","color","className"]),{tooltipProps:j,getReferenceProps:w}=f$c(),{tooltipProps:x,getReferenceProps:E}=f$c();return React$1.createElement("div",Object.assign({ref:d,className:t$e(m("root"),"relative flex items-center w-full rounded-tremor-full","bg-tremor-background-subtle","dark:bg-dark-tremor-background-subtle",h$7.xs.height,h)},v),void 0!==b&&void 0!==g?React$1.createElement(React$1.Fragment,null,React$1.createElement(u$9,Object.assign({text:f},x)),React$1.createElement("div",Object.assign({ref:x.refs.setReference,className:t$e(m("rangeBar"),"absolute h-full rounded-tremor-full","bg-tremor-content-subtle","dark:bg-dark-tremor-content-subtle"),style:{left:`${b}%`,width:g-b+"%",transition:p?"all 1s":""}},E))):null,React$1.createElement(u$9,Object.assign({text:u},j)),React$1.createElement("div",Object.assign({ref:j.refs.setReference,className:t$e(m("markerWrapper"),"absolute right-1/2 -translate-x-1/2",h$7.lg.width),style:{left:`${c}%`,transition:p?"all 1s":""}},w),React$1.createElement("div",{className:t$e(m("marker"),"ring-2 mx-auto rounded-tremor-full","ring-tremor-brand-inverted","dark:ring-dark-tremor-brand-inverted",k?c$l(k,e$4.background).bgColor:"dark:bg-dark-tremor-brand bg-tremor-brand",h$7.md.height,h$7.twoXs.width)})))}));d$2.displayName="MarkerBar";
67151
+ const m=$$2("MarkerBar"),d$1=React$1.forwardRef(((l,d)=>{const{value:c,minValue:b,maxValue:g,markerTooltip:u,rangeTooltip:f,showAnimation:p=!1,color:k,className:h}=l,v=__rest$2(l,["value","minValue","maxValue","markerTooltip","rangeTooltip","showAnimation","color","className"]),{tooltipProps:j,getReferenceProps:w}=f$c(),{tooltipProps:x,getReferenceProps:E}=f$c();return React$1.createElement("div",Object.assign({ref:d,className:t$e(m("root"),"relative flex items-center w-full rounded-tremor-full","bg-tremor-background-subtle","dark:bg-dark-tremor-background-subtle",h$7.xs.height,h)},v),void 0!==b&&void 0!==g?React$1.createElement(React$1.Fragment,null,React$1.createElement(u$8,Object.assign({text:f},x)),React$1.createElement("div",Object.assign({ref:x.refs.setReference,className:t$e(m("rangeBar"),"absolute h-full rounded-tremor-full","bg-tremor-content-subtle","dark:bg-dark-tremor-content-subtle"),style:{left:`${b}%`,width:g-b+"%",transition:p?"all 1s":""}},E))):null,React$1.createElement(u$8,Object.assign({text:u},j)),React$1.createElement("div",Object.assign({ref:j.refs.setReference,className:t$e(m("markerWrapper"),"absolute right-1/2 -translate-x-1/2",h$7.lg.width),style:{left:`${c}%`,transition:p?"all 1s":""}},w),React$1.createElement("div",{className:t$e(m("marker"),"ring-2 mx-auto rounded-tremor-full","ring-tremor-brand-inverted","dark:ring-dark-tremor-brand-inverted",k?c$l(k,e$4.background).bgColor:"dark:bg-dark-tremor-brand bg-tremor-brand",h$7.md.height,h$7.twoXs.width)})))}));d$1.displayName="MarkerBar";
67152
67152
 
67153
- const c$1=$$1("ProgressBar"),p$1=React$1.forwardRef(((n,p)=>{const{value:d,label:b,color:f,tooltip:g,showAnimation:u=!1,className:h}=n,w=__rest$2(n,["value","label","color","tooltip","showAnimation","className"]),{tooltipProps:x,getReferenceProps:j}=f$c();return React$1.createElement(React$1.Fragment,null,React$1.createElement(u$9,Object.assign({text:g},x)),React$1.createElement("div",Object.assign({ref:p,className:t$e(c$1("root"),"flex items-center w-full",h)},w),React$1.createElement("div",Object.assign({ref:x.refs.setReference,className:t$e(c$1("progressBarWrapper"),"relative flex items-center w-full rounded-tremor-full bg-opacity-20",f?c$l(f,e$4.background).bgColor:"bg-tremor-brand-muted/50 dark:bg-dark-tremor-brand-muted",h$7.xs.height)},j),React$1.createElement("div",{className:t$e(c$1("progressBar"),"flex-col h-full rounded-tremor-full",f?c$l(f,e$4.background).bgColor:"bg-tremor-brand dark:bg-dark-tremor-brand"),style:{width:`${d}%`,transition:u?"all 1s":""}})),b?React$1.createElement("div",{className:t$e(c$1("labelWrapper"),"w-16 truncate text-right","text-tremor-content-emphasis","dark:text-dark-tremor-content-emphasis",t$g.sm.marginLeft)},React$1.createElement("p",{className:t$e(c$1("label"),"shrink-0 whitespace-nowrap truncate text-tremor-default")},b)):null))}));p$1.displayName="ProgressBar";
67153
+ const c$1=$$2("ProgressBar"),p$1=React$1.forwardRef(((n,p)=>{const{value:d,label:b,color:f,tooltip:g,showAnimation:u=!1,className:h}=n,w=__rest$2(n,["value","label","color","tooltip","showAnimation","className"]),{tooltipProps:x,getReferenceProps:j}=f$c();return React$1.createElement(React$1.Fragment,null,React$1.createElement(u$8,Object.assign({text:g},x)),React$1.createElement("div",Object.assign({ref:p,className:t$e(c$1("root"),"flex items-center w-full",h)},w),React$1.createElement("div",Object.assign({ref:x.refs.setReference,className:t$e(c$1("progressBarWrapper"),"relative flex items-center w-full rounded-tremor-full bg-opacity-20",f?c$l(f,e$4.background).bgColor:"bg-tremor-brand-muted/50 dark:bg-dark-tremor-brand-muted",h$7.xs.height)},j),React$1.createElement("div",{className:t$e(c$1("progressBar"),"flex-col h-full rounded-tremor-full",f?c$l(f,e$4.background).bgColor:"bg-tremor-brand dark:bg-dark-tremor-brand"),style:{width:`${d}%`,transition:u?"all 1s":""}})),b?React$1.createElement("div",{className:t$e(c$1("labelWrapper"),"w-16 truncate text-right","text-tremor-content-emphasis","dark:text-dark-tremor-content-emphasis",t$g.sm.marginLeft)},React$1.createElement("p",{className:t$e(c$1("label"),"shrink-0 whitespace-nowrap truncate text-tremor-default")},b)):null))}));p$1.displayName="ProgressBar";
67154
67154
 
67155
- const n$1=$$1("ProgressBar"),c={xs:{radius:15,strokeWidth:3},sm:{radius:19,strokeWidth:4},md:{radius:32,strokeWidth:6},lg:{radius:52,strokeWidth:8},xl:{radius:80,strokeWidth:10}};const d$1=React$1.forwardRef(((i,d)=>{const{value:m,size:k="md",className:u,showAnimation:f=!0,color:h,tooltip:p,radius:b,strokeWidth:g,children:x}=i,W=__rest$2(i,["value","size","className","showAnimation","color","tooltip","radius","strokeWidth","children"]),j=void 0===(v=m)?0:v>100?100:v;var v;const N=null!=b?b:c[k].radius,y=null!=g?g:c[k].strokeWidth,E=N-y/2,w=2*E*Math.PI,P=w-j/100*w,{tooltipProps:C,getReferenceProps:O}=f$c();return React$1.createElement(React$1.Fragment,null,React$1.createElement(u$9,Object.assign({text:p},C)),React$1.createElement("div",Object.assign({ref:d,className:t$e(n$1("root"),"flex flex-col items-center justify-center",u)},W),React$1.createElement("svg",Object.assign({ref:C.refs.setReference,width:2*N,height:2*N,viewBox:`0 0 ${2*N} ${2*N}`,className:"transform -rotate-90"},O),React$1.createElement("circle",{r:E,cx:N,cy:N,strokeWidth:y,fill:"transparent",stroke:"",strokeLinecap:"round",className:t$e("transition-colors ease-linear",h?`${c$l(h,e$4.background).strokeColor} opacity-20 dark:opacity-25`:"stroke-tremor-brand-muted/50 dark:stroke-dark-tremor-brand-muted")}),j>0?React$1.createElement("circle",{r:E,cx:N,cy:N,strokeWidth:y,strokeDasharray:w+" "+w,strokeDashoffset:P,fill:"transparent",stroke:"",strokeLinecap:"round",className:t$e("transition-colors ease-linear",h?c$l(h,e$4.background).strokeColor:"stroke-tremor-brand dark:stroke-dark-tremor-brand",f?"transition-all duration-300 ease-in-out":"")}):null),React$1.createElement("div",{className:t$e("absolute flex")},x)))}));d$1.displayName="ProgressCircle";
67155
+ const n$1=$$2("ProgressBar"),c={xs:{radius:15,strokeWidth:3},sm:{radius:19,strokeWidth:4},md:{radius:32,strokeWidth:6},lg:{radius:52,strokeWidth:8},xl:{radius:80,strokeWidth:10}};const d=React$1.forwardRef(((i,d)=>{const{value:m,size:k="md",className:u,showAnimation:f=!0,color:h,tooltip:p,radius:b,strokeWidth:g,children:x}=i,W=__rest$2(i,["value","size","className","showAnimation","color","tooltip","radius","strokeWidth","children"]),j=void 0===(v=m)?0:v>100?100:v;var v;const N=null!=b?b:c[k].radius,y=null!=g?g:c[k].strokeWidth,E=N-y/2,w=2*E*Math.PI,P=w-j/100*w,{tooltipProps:C,getReferenceProps:O}=f$c();return React$1.createElement(React$1.Fragment,null,React$1.createElement(u$8,Object.assign({text:p},C)),React$1.createElement("div",Object.assign({ref:d,className:t$e(n$1("root"),"flex flex-col items-center justify-center",u)},W),React$1.createElement("svg",Object.assign({ref:C.refs.setReference,width:2*N,height:2*N,viewBox:`0 0 ${2*N} ${2*N}`,className:"transform -rotate-90"},O),React$1.createElement("circle",{r:E,cx:N,cy:N,strokeWidth:y,fill:"transparent",stroke:"",strokeLinecap:"round",className:t$e("transition-colors ease-linear",h?`${c$l(h,e$4.background).strokeColor} opacity-20 dark:opacity-25`:"stroke-tremor-brand-muted/50 dark:stroke-dark-tremor-brand-muted")}),j>0?React$1.createElement("circle",{r:E,cx:N,cy:N,strokeWidth:y,strokeDasharray:w+" "+w,strokeDashoffset:P,fill:"transparent",stroke:"",strokeLinecap:"round",className:t$e("transition-colors ease-linear",h?c$l(h,e$4.background).strokeColor:"stroke-tremor-brand dark:stroke-dark-tremor-brand",f?"transition-all duration-300 ease-in-out":"")}):null),React$1.createElement("div",{className:t$e("absolute flex")},x)))}));d.displayName="ProgressCircle";
67156
67156
 
67157
- const n=$$1("Tracker"),p=React$1.forwardRef(((r,s)=>{const{color:p,tooltip:f}=r,d=__rest$2(r,["color","tooltip"]),{tooltipProps:u,getReferenceProps:b}=f$c();return React$1.createElement("div",Object.assign({ref:n$i([s,u.refs.setReference]),className:t$e(n("trackingBlock"),"w-full h-full rounded-tremor-small",c$l(null!=p?p:"gray",e$4.background).bgColor)},d,b),React$1.createElement(u$9,Object.assign({text:f},u)))}));p.displayName="TrackerBlock";const f=React$1.forwardRef(((t,l)=>{const{data:a=[],className:s}=t,i=__rest$2(t,["data","className"]);return React$1.createElement("div",Object.assign({ref:l,className:t$e(n("root"),"w-full flex items-center h-10",t$g.threeXs.spaceX,s)},i),a.map(((e,r)=>{var t;return React$1.createElement(p,{key:null!==(t=e.key)&&void 0!==t?t:r,color:e.color,tooltip:e.tooltip})})))}));f.displayName="Tracker";
67157
+ const n=$$2("Tracker"),p=React$1.forwardRef(((r,s)=>{const{color:p,tooltip:f}=r,d=__rest$2(r,["color","tooltip"]),{tooltipProps:u,getReferenceProps:b}=f$c();return React$1.createElement("div",Object.assign({ref:n$i([s,u.refs.setReference]),className:t$e(n("trackingBlock"),"w-full h-full rounded-tremor-small",c$l(null!=p?p:"gray",e$4.background).bgColor)},d,b),React$1.createElement(u$8,Object.assign({text:f},u)))}));p.displayName="TrackerBlock";const f=React$1.forwardRef(((t,l)=>{const{data:a=[],className:s}=t,i=__rest$2(t,["data","className"]);return React$1.createElement("div",Object.assign({ref:l,className:t$e(n("root"),"w-full flex items-center h-10",t$g.threeXs.spaceX,s)},i),a.map(((e,r)=>{var t;return React$1.createElement(p,{key:null!==(t=e.key)&&void 0!==t?t:r,color:e.color,tooltip:e.tooltip})})))}));f.displayName="Tracker";
67158
67158
 
67159
- function r(...t){return twMerge(clsx(t))}var Ra="https://api-dev.liberty.percyai.io/key_service/v1/jwt/generate",lo=async({clientKey:t})=>{try{return t?await(await fetch(Ra,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({clientKey:t})})).json():void 0}catch(e){console.error("Error requesting token:",e);return}},E=(t,e)=>t?.config?t.config.find(o=>o.name===e):{};var Ze=cva("inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),Re=React__namespace.forwardRef(({className:t,variant:e,size:o,asChild:a=!1,...n},s)=>React__namespace.createElement(a?$5e63c961fc1ce211$export$8c6ed5c666ac1360$1:"button",{className:r(Ze({variant:e,size:o,className:t})),ref:s,...n}));Re.displayName="Button";var Rt=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("div",{ref:o,className:r("rounded-xl border bg-card text-card-foreground shadow",t),...e}));Rt.displayName="Card";var bt=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("div",{ref:o,className:r("flex flex-col space-y-1.5 p-6",t),...e}));bt.displayName="CardHeader";var mo=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("h3",{ref:o,className:r("font-semibold leading-none tracking-tight",t),...e}));mo.displayName="CardTitle";var xa=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("p",{ref:o,className:r("text-sm text-muted-foreground",t),...e}));xa.displayName="CardDescription";var yt=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("div",{ref:o,className:r("p-6 pt-0",t),...e}));yt.displayName="CardContent";var Et=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("div",{ref:o,className:r("flex items-center p-6 pt-0",t),...e}));Et.displayName="CardFooter";var co=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($cddcb0b647441e34$export$be92b6f5f03c0fe9,{ref:o,className:r("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",t),...e}));co.displayName=$cddcb0b647441e34$export$be92b6f5f03c0fe9.displayName;var Ta=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($cddcb0b647441e34$export$3e431a229df88919,{ref:o,className:r("aspect-square h-full w-full",t),...e}));Ta.displayName=$cddcb0b647441e34$export$3e431a229df88919.displayName;var po=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($cddcb0b647441e34$export$fb8d7f40caaeea67,{ref:o,className:r("flex h-full w-full items-center justify-center rounded-full bg-muted",t),...e}));po.displayName=$cddcb0b647441e34$export$fb8d7f40caaeea67.displayName;var fo=React__namespace.forwardRef(({className:t,value:e,...o},a)=>React__namespace.createElement($67824d98245208a0$export$be92b6f5f03c0fe9,{ref:a,className:r("relative h-2 w-full overflow-hidden rounded-full bg-primary/20",t),...o},React__namespace.createElement($67824d98245208a0$export$adb584737d712b70,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(e||0)}%)`}})));fo.displayName=$67824d98245208a0$export$be92b6f5f03c0fe9.displayName;var Nt=React__namespace.forwardRef(({className:t,sideOffset:e=4,...o},a)=>React__namespace.createElement($a093c7e1ec25a057$export$7c6e2c02157bb7d2,{ref:a,sideOffset:e,className:r("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...o}));Nt.displayName=$a093c7e1ec25a057$export$7c6e2c02157bb7d2.displayName;var tr=({className:t,...e})=>React__namespace.createElement($5d3850c4d0b4e6c7$export$602eac185826482c$1,{className:r(t),...e});tr.displayName=$5d3850c4d0b4e6c7$export$602eac185826482c$1.displayName;var or=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$c6fdb837b070b4ff$1,{className:r("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...e,ref:o}));or.displayName=$5d3850c4d0b4e6c7$export$c6fdb837b070b4ff$1.displayName;var Ca=cva("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),_a=React__namespace.forwardRef(({side:t="right",className:e,children:o,...a},n)=>React__namespace.createElement(tr,null,React__namespace.createElement(or,null),React__namespace.createElement($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2$1,{ref:n,className:r(Ca({side:t}),e),...a},o,React__namespace.createElement($5d3850c4d0b4e6c7$export$f39c2d165cd861fe,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary"},React__namespace.createElement(Cross2Icon,{className:"h-4 w-4"}),React__namespace.createElement("span",{className:"sr-only"},"Close")))));_a.displayName=$5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2$1.displayName;var Sa=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$f99233281efd08a0,{ref:o,className:r("text-lg font-semibold text-foreground",t),...e}));Sa.displayName=$5d3850c4d0b4e6c7$export$f99233281efd08a0.displayName;var Ma=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$393edc798c47379d,{ref:o,className:r("text-sm text-muted-foreground",t),...e}));Ma.displayName=$5d3850c4d0b4e6c7$export$393edc798c47379d.displayName;var uo=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("div",{className:"w-full overflow-auto"},React__namespace.createElement("table",{ref:o,className:r("w-full caption-bottom text-sm",t),...e})));uo.displayName="Table";var go=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("thead",{ref:o,className:r("[&_tr]:border-b",t),...e}));go.displayName="TableHeader";var ho=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("tbody",{ref:o,className:r("[&_tr:last-child]:border-0",t),...e}));ho.displayName="TableBody";var vo=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("tfoot",{ref:o,className:r("bg-primary font-medium text-primary-foreground",t),...e}));vo.displayName="TableFooter";var Pt=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("tr",{ref:o,className:r("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",t),...e}));Pt.displayName="TableRow";var He=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("th",{ref:o,className:r("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",t),...e}));He.displayName="TableHead";var Ue=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("td",{ref:o,className:r("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",t),...e}));Ue.displayName="TableCell";var Ro=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("caption",{ref:o,className:r("mt-4 text-sm text-muted-foreground",t),...e}));Ro.displayName="TableCaption";var ka=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($1bf158f521e1b1b4$export$6d08773d2e66f8f2,{ref:o,className:r("border-b",t),...e}));ka.displayName="AccordionItem";var Oa=React__namespace.forwardRef(({className:t,children:e,...o},a)=>React__namespace.createElement($1bf158f521e1b1b4$export$8b251419efc915eb,{className:"flex"},React__namespace.createElement($1bf158f521e1b1b4$export$41fb9f06171c75f4,{ref:a,className:r("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",t),...o},e,React__namespace.createElement(ChevronDownIcon,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"}))));Oa.displayName=$1bf158f521e1b1b4$export$41fb9f06171c75f4.displayName;var Ha=React__namespace.forwardRef(({className:t,children:e,...o},a)=>React__namespace.createElement($1bf158f521e1b1b4$export$7c6e2c02157bb7d2,{ref:a,className:r("overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",t),...o},React__namespace.createElement("div",{className:"pb-4 pt-0"},e)));Ha.displayName=$1bf158f521e1b1b4$export$7c6e2c02157bb7d2.displayName;var Va=cva("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),bo=React__namespace.forwardRef(({className:t,variant:e,...o},a)=>React__namespace.createElement("div",{ref:a,role:"alert",className:r(Va({variant:e}),t),...o}));bo.displayName="Alert";var yo=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("h5",{ref:o,className:r("mb-1 font-medium leading-none tracking-tight",t),...e}));yo.displayName="AlertTitle";var Eo=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("div",{ref:o,className:r("text-sm [&_p]:leading-relaxed",t),...e}));Eo.displayName="AlertDescription";var rr=$905f4ae918aab1aa$export$be92b6f5f03c0fe9,ar=$905f4ae918aab1aa$export$41fb9f06171c75f4,ir=({className:t,...e})=>React__namespace.createElement($905f4ae918aab1aa$export$602eac185826482c,{className:r(t),...e});ir.displayName=$905f4ae918aab1aa$export$602eac185826482c.displayName;var nr=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($905f4ae918aab1aa$export$c6fdb837b070b4ff,{className:r("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...e,ref:o}));nr.displayName=$905f4ae918aab1aa$export$c6fdb837b070b4ff.displayName;var xo=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement(ir,null,React__namespace.createElement(nr,null),React__namespace.createElement($905f4ae918aab1aa$export$7c6e2c02157bb7d2,{ref:o,className:r("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg md:w-full",t),...e})));xo.displayName=$905f4ae918aab1aa$export$7c6e2c02157bb7d2.displayName;var To=({className:t,...e})=>React__namespace.createElement("div",{className:r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...e});To.displayName="AlertDialogFooter";var No=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($905f4ae918aab1aa$export$f99233281efd08a0,{ref:o,className:r("text-lg font-semibold",t),...e}));No.displayName=$905f4ae918aab1aa$export$f99233281efd08a0.displayName;var Ba=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($905f4ae918aab1aa$export$393edc798c47379d,{ref:o,className:r("text-sm text-muted-foreground",t),...e}));Ba.displayName=$905f4ae918aab1aa$export$393edc798c47379d.displayName;var Po=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($905f4ae918aab1aa$export$e19cd5f9376f8cee,{ref:o,className:r(Ze(),t),...e}));Po.displayName=$905f4ae918aab1aa$export$e19cd5f9376f8cee.displayName;var Ga=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($905f4ae918aab1aa$export$848c9b7ead0df967,{ref:o,className:r(Ze({variant:"outline"}),"mt-2 sm:mt-0",t),...e}));Ga.displayName=$905f4ae918aab1aa$export$848c9b7ead0df967.displayName;var Ao=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($e698a72e93240346$export$be92b6f5f03c0fe9,{ref:o,className:r("peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",t),...e},React__namespace.createElement($e698a72e93240346$export$adb584737d712b70,{className:r("flex items-center justify-center text-current")},React__namespace.createElement(CheckIcon$1,{className:"h-4 w-4"}))));Ao.displayName=$e698a72e93240346$export$be92b6f5f03c0fe9.displayName;var sr=({className:t,...e})=>React__namespace.createElement($5d3850c4d0b4e6c7$export$602eac185826482c$1,{className:r(t),...e});sr.displayName=$5d3850c4d0b4e6c7$export$602eac185826482c$1.displayName;var lr=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$c6fdb837b070b4ff$1,{ref:o,className:r("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...e}));lr.displayName=$5d3850c4d0b4e6c7$export$c6fdb837b070b4ff$1.displayName;var Xe=React__namespace.forwardRef(({className:t,children:e,...o},a)=>React__namespace.createElement(sr,null,React__namespace.createElement(lr,null),React__namespace.createElement($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2$1,{ref:a,className:r("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg md:w-full",t),...o},e,React__namespace.createElement($5d3850c4d0b4e6c7$export$f39c2d165cd861fe,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground"},React__namespace.createElement(Cross2Icon,{className:"h-4 w-4"}),React__namespace.createElement("span",{className:"sr-only"},"Close")))));Xe.displayName=$5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2$1.displayName;var _o=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$f99233281efd08a0,{ref:o,className:r("text-lg font-semibold leading-none tracking-tight",t),...e}));_o.displayName=$5d3850c4d0b4e6c7$export$f99233281efd08a0.displayName;var wo=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$393edc798c47379d,{ref:o,className:r("text-sm text-muted-foreground",t),...e}));wo.displayName=$5d3850c4d0b4e6c7$export$393edc798c47379d.displayName;var mr=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement(Le$1,{ref:o,className:r("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",t),...e}));mr.displayName=Le$1.displayName;var Ja=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":""},React__namespace.createElement(MagnifyingGlassIcon,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),React__namespace.createElement(Le$1.Input,{ref:o,className:r("flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",t),...e})));Ja.displayName=Le$1.Input.displayName;var Za=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement(Le$1.List,{ref:o,className:r("max-h-[300px] overflow-y-auto overflow-x-hidden",t),...e}));Za.displayName=Le$1.List.displayName;var Xa=React__namespace.forwardRef((t,e)=>React__namespace.createElement(Le$1.Empty,{ref:e,className:"py-6 text-center text-sm",...t}));Xa.displayName=Le$1.Empty.displayName;var Ka=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement(Le$1.Group,{ref:o,className:r("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",t),...e}));Ka.displayName=Le$1.Group.displayName;var ei=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement(Le$1.Separator,{ref:o,className:r("-mx-1 h-px bg-border",t),...e}));ei.displayName=Le$1.Separator.displayName;var ti=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement(Le$1.Item,{ref:o,className:r("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-accent aria-selected:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...e}));ti.displayName=Le$1.Item.displayName;var ni=React__namespace.forwardRef(({className:t,inset:e,children:o,...a},n)=>React__namespace.createElement($1b0217ee4a91d156$export$2ea8a7a591ac5eac,{ref:n,className:r("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",e&&"pl-8",t),...a},o,React__namespace.createElement(ChevronRightIcon,{className:"ml-auto h-4 w-4"})));ni.displayName=$1b0217ee4a91d156$export$2ea8a7a591ac5eac.displayName;var si=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($1b0217ee4a91d156$export$6d4de93b380beddf,{ref:o,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...e}));si.displayName=$1b0217ee4a91d156$export$6d4de93b380beddf.displayName;var li=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($1b0217ee4a91d156$export$602eac185826482c,null,React__namespace.createElement($1b0217ee4a91d156$export$7c6e2c02157bb7d2,{ref:o,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...e})));li.displayName=$1b0217ee4a91d156$export$7c6e2c02157bb7d2.displayName;var mi=React__namespace.forwardRef(({className:t,inset:e,...o},a)=>React__namespace.createElement($1b0217ee4a91d156$export$6d08773d2e66f8f2,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e&&"pl-8",t),...o}));mi.displayName=$1b0217ee4a91d156$export$6d08773d2e66f8f2.displayName;var ci=React__namespace.forwardRef(({className:t,children:e,checked:o,...a},n)=>React__namespace.createElement($1b0217ee4a91d156$export$16ce288f89fa631c,{ref:n,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),checked:o,...a},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($1b0217ee4a91d156$export$c3468e2714d175fa,null,React__namespace.createElement(CheckIcon$1,{className:"h-4 w-4"}))),e));ci.displayName=$1b0217ee4a91d156$export$16ce288f89fa631c.displayName;var di=React__namespace.forwardRef(({className:t,children:e,...o},a)=>React__namespace.createElement($1b0217ee4a91d156$export$371ab307eab489c0,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...o},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($1b0217ee4a91d156$export$c3468e2714d175fa,null,React__namespace.createElement(DotFilledIcon,{className:"h-4 w-4 fill-current"}))),e));di.displayName=$1b0217ee4a91d156$export$371ab307eab489c0.displayName;var pi=React__namespace.forwardRef(({className:t,inset:e,...o},a)=>React__namespace.createElement($1b0217ee4a91d156$export$b04be29aa201d4f5,{ref:a,className:r("px-2 py-1.5 text-sm font-semibold text-foreground",e&&"pl-8",t),...o}));pi.displayName=$1b0217ee4a91d156$export$b04be29aa201d4f5.displayName;var fi=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($1b0217ee4a91d156$export$1ff3c3f08ae963c0,{ref:o,className:r("-mx-1 my-1 h-px bg-border",t),...e}));fi.displayName=$1b0217ee4a91d156$export$1ff3c3f08ae963c0.displayName;var Ri=React__namespace.forwardRef(({className:t,inset:e,children:o,...a},n)=>React__namespace.createElement($d08ef79370b62062$export$2ea8a7a591ac5eac,{ref:n,className:r("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",e&&"pl-8",t),...a},o,React__namespace.createElement(ChevronRightIcon,{className:"ml-auto h-4 w-4"})));Ri.displayName=$d08ef79370b62062$export$2ea8a7a591ac5eac.displayName;var bi=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($d08ef79370b62062$export$6d4de93b380beddf,{ref:o,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...e}));bi.displayName=$d08ef79370b62062$export$6d4de93b380beddf.displayName;var Io=React__namespace.forwardRef(({className:t,sideOffset:e=4,...o},a)=>React__namespace.createElement($d08ef79370b62062$export$602eac185826482c,null,React__namespace.createElement($d08ef79370b62062$export$7c6e2c02157bb7d2,{ref:a,sideOffset:e,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...o})));Io.displayName=$d08ef79370b62062$export$7c6e2c02157bb7d2.displayName;var yi=React__namespace.forwardRef(({className:t,inset:e,...o},a)=>React__namespace.createElement($d08ef79370b62062$export$6d08773d2e66f8f2,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e&&"pl-8",t),...o}));yi.displayName=$d08ef79370b62062$export$6d08773d2e66f8f2.displayName;var Ei=React__namespace.forwardRef(({className:t,children:e,checked:o,...a},n)=>React__namespace.createElement($d08ef79370b62062$export$16ce288f89fa631c,{ref:n,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),checked:o,...a},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($d08ef79370b62062$export$c3468e2714d175fa,null,React__namespace.createElement(CheckIcon$1,{className:"h-4 w-4"}))),e));Ei.displayName=$d08ef79370b62062$export$16ce288f89fa631c.displayName;var xi=React__namespace.forwardRef(({className:t,children:e,...o},a)=>React__namespace.createElement($d08ef79370b62062$export$371ab307eab489c0,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...o},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($d08ef79370b62062$export$c3468e2714d175fa,null,React__namespace.createElement(DotFilledIcon,{className:"h-4 w-4 fill-current"}))),e));xi.displayName=$d08ef79370b62062$export$371ab307eab489c0.displayName;var Ti=React__namespace.forwardRef(({className:t,inset:e,...o},a)=>React__namespace.createElement($d08ef79370b62062$export$b04be29aa201d4f5,{ref:a,className:r("px-2 py-1.5 text-sm font-semibold",e&&"pl-8",t),...o}));Ti.displayName=$d08ef79370b62062$export$b04be29aa201d4f5.displayName;var Ni=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($d08ef79370b62062$export$1ff3c3f08ae963c0,{ref:o,className:r("-mx-1 my-1 h-px bg-muted",t),...e}));Ni.displayName=$d08ef79370b62062$export$1ff3c3f08ae963c0.displayName;var Li=cva("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Mo=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($b73a6c6685e72184$export$be92b6f5f03c0fe9,{ref:o,className:r(Li(),t),...e}));Mo.displayName=$b73a6c6685e72184$export$be92b6f5f03c0fe9.displayName;var fr=React__namespace.createContext({}),Yt=()=>{let t=React__namespace.useContext(fr),e=React__namespace.useContext(ur),{getFieldState:o,formState:a}=useFormContext(),n=o(t.name,a);if(!t)throw new Error("useFormField should be used within <FormField>");let{id:s}=e;return {id:s,name:t.name,formItemId:`${s}-form-item`,formDescriptionId:`${s}-form-item-description`,formMessageId:`${s}-form-item-message`,...n}},ur=React__namespace.createContext({}),xe=React__namespace.forwardRef(({className:t,...e},o)=>{let a=React__namespace.useId();return React__namespace.createElement(ur.Provider,{value:{id:a}},React__namespace.createElement("div",{ref:o,className:r("space-y-2",t),...e}))});xe.displayName="FormItem";var Ie=React__namespace.forwardRef(({className:t,...e},o)=>{let{error:a,formItemId:n}=Yt();return React__namespace.createElement(Mo,{ref:o,className:r(a&&"text-destructive",t),htmlFor:n,...e})});Ie.displayName="FormLabel";var Te=React__namespace.forwardRef(({...t},e)=>{let{error:o,formItemId:a,formDescriptionId:n,formMessageId:s}=Yt();return React__namespace.createElement($5e63c961fc1ce211$export$8c6ed5c666ac1360$1,{ref:e,id:a,"aria-describedby":o?`${n} ${s}`:`${n}`,"aria-invalid":!!o,...t})});Te.displayName="FormControl";var Si=React__namespace.forwardRef(({className:t,...e},o)=>{let{formDescriptionId:a}=Yt();return React__namespace.createElement("p",{ref:o,id:a,className:r("text-[0.8rem] text-muted-foreground",t),...e})});Si.displayName="FormDescription";var Fe=React__namespace.forwardRef(({className:t,children:e,...o},a)=>{let{error:n,formMessageId:s}=Yt(),p=n?String(n?.message):e;return p?React__namespace.createElement("p",{ref:a,id:s,className:r("text-[0.8rem] font-medium text-destructive",t),...o},p):null});Fe.displayName="FormMessage";var Ne=React__namespace.forwardRef(({className:t,type:e,...o},a)=>React__namespace.createElement("input",{type:e,className:r("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",t),ref:a,...o}));Ne.displayName="Input";var Oi=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($0520064cdfc1bd2d$export$be92b6f5f03c0fe9,{ref:o,className:r("flex h-9 items-center space-x-1 rounded-md border bg-background p-1 shadow-sm",t),...e}));Oi.displayName=$0520064cdfc1bd2d$export$be92b6f5f03c0fe9.displayName;var Hi=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($0520064cdfc1bd2d$export$41fb9f06171c75f4,{ref:o,className:r("flex cursor-default select-none items-center rounded-sm px-3 py-1 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t),...e}));Hi.displayName=$0520064cdfc1bd2d$export$41fb9f06171c75f4.displayName;var Ui=React__namespace.forwardRef(({className:t,inset:e,children:o,...a},n)=>React__namespace.createElement($0520064cdfc1bd2d$export$2ea8a7a591ac5eac,{ref:n,className:r("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",e&&"pl-8",t),...a},o,React__namespace.createElement(ChevronRightIcon,{className:"ml-auto h-4 w-4"})));Ui.displayName=$0520064cdfc1bd2d$export$2ea8a7a591ac5eac.displayName;var Vi=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($0520064cdfc1bd2d$export$6d4de93b380beddf,{ref:o,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...e}));Vi.displayName=$0520064cdfc1bd2d$export$6d4de93b380beddf.displayName;var Fi=React__namespace.forwardRef(({className:t,align:e="start",alignOffset:o=-4,sideOffset:a=8,...n},s)=>React__namespace.createElement($0520064cdfc1bd2d$export$602eac185826482c,null,React__namespace.createElement($0520064cdfc1bd2d$export$7c6e2c02157bb7d2,{ref:s,align:e,alignOffset:o,sideOffset:a,className:r("z-50 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...n})));Fi.displayName=$0520064cdfc1bd2d$export$7c6e2c02157bb7d2.displayName;var Bi=React__namespace.forwardRef(({className:t,inset:e,...o},a)=>React__namespace.createElement($0520064cdfc1bd2d$export$6d08773d2e66f8f2,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e&&"pl-8",t),...o}));Bi.displayName=$0520064cdfc1bd2d$export$6d08773d2e66f8f2.displayName;var Gi=React__namespace.forwardRef(({className:t,children:e,checked:o,...a},n)=>React__namespace.createElement($0520064cdfc1bd2d$export$16ce288f89fa631c,{ref:n,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),checked:o,...a},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($0520064cdfc1bd2d$export$c3468e2714d175fa,null,React__namespace.createElement(CheckIcon$1,{className:"h-4 w-4"}))),e));Gi.displayName=$0520064cdfc1bd2d$export$16ce288f89fa631c.displayName;var Yi=React__namespace.forwardRef(({className:t,children:e,...o},a)=>React__namespace.createElement($0520064cdfc1bd2d$export$371ab307eab489c0,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...o},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($0520064cdfc1bd2d$export$c3468e2714d175fa,null,React__namespace.createElement(DotFilledIcon,{className:"h-4 w-4 fill-current"}))),e));Yi.displayName=$0520064cdfc1bd2d$export$371ab307eab489c0.displayName;var $i=React__namespace.forwardRef(({className:t,inset:e,...o},a)=>React__namespace.createElement($0520064cdfc1bd2d$export$b04be29aa201d4f5,{ref:a,className:r("px-2 py-1.5 text-sm font-semibold",e&&"pl-8",t),...o}));$i.displayName=$0520064cdfc1bd2d$export$b04be29aa201d4f5.displayName;var zi=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($0520064cdfc1bd2d$export$1ff3c3f08ae963c0,{ref:o,className:r("-mx-1 my-1 h-px bg-muted",t),...e}));zi.displayName=$0520064cdfc1bd2d$export$1ff3c3f08ae963c0.displayName;var qi=React__namespace.forwardRef(({className:t,children:e,...o},a)=>React__namespace.createElement($322c88a641701f3b$export$be92b6f5f03c0fe9,{ref:a,className:r("relative z-10 flex max-w-max flex-1 items-center justify-center",t),...o},e,React__namespace.createElement(gr,null)));qi.displayName=$322c88a641701f3b$export$be92b6f5f03c0fe9.displayName;var Ji=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($322c88a641701f3b$export$54c2e3dc7acea9f5,{ref:o,className:r("group flex flex-1 list-none items-center justify-center space-x-1",t),...e}));Ji.displayName=$322c88a641701f3b$export$54c2e3dc7acea9f5.displayName;var Zi=cva("group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50"),Xi=React__namespace.forwardRef(({className:t,children:e,...o},a)=>React__namespace.createElement($322c88a641701f3b$export$41fb9f06171c75f4,{ref:a,className:r(Zi(),"group",t),...o},e," ",React__namespace.createElement(ChevronDownIcon,{className:"relative top-[1px] ml-1 h-3 w-3 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})));Xi.displayName=$322c88a641701f3b$export$41fb9f06171c75f4.displayName;var Ki=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($322c88a641701f3b$export$7c6e2c02157bb7d2,{ref:o,className:r("left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ",t),...e}));Ki.displayName=$322c88a641701f3b$export$7c6e2c02157bb7d2.displayName;var gr=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("div",{className:r("absolute left-0 top-full flex justify-center")},React__namespace.createElement($322c88a641701f3b$export$d5c6c08dc2d3ca7,{className:r("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",t),ref:o,...e})));gr.displayName=$322c88a641701f3b$export$d5c6c08dc2d3ca7.displayName;var en=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($322c88a641701f3b$export$adb584737d712b70,{ref:o,className:r("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",t),...e},React__namespace.createElement("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})));en.displayName=$322c88a641701f3b$export$adb584737d712b70.displayName;var tn=React__namespace.forwardRef(({className:t,align:e="center",sideOffset:o=4,...a},n)=>React__namespace.createElement($cb5cc270b50c6fcd$export$602eac185826482c,null,React__namespace.createElement($cb5cc270b50c6fcd$export$7c6e2c02157bb7d2,{ref:n,align:e,sideOffset:o,className:r("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...a})));tn.displayName=$cb5cc270b50c6fcd$export$7c6e2c02157bb7d2.displayName;var rn=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($f99a8c78507165f7$export$be92b6f5f03c0fe9,{className:r("grid gap-2",t),...e,ref:o}));rn.displayName=$f99a8c78507165f7$export$be92b6f5f03c0fe9.displayName;var an=React__namespace.forwardRef(({className:t,children:e,...o},a)=>React__namespace.createElement($f99a8c78507165f7$export$6d08773d2e66f8f2,{ref:a,className:r("aspect-square h-4 w-4 rounded-full border border-primary text-primary shadow focus:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",t),...o},React__namespace.createElement($f99a8c78507165f7$export$adb584737d712b70,{className:"flex items-center justify-center"},React__namespace.createElement(CheckIcon$1,{className:"h-3.5 w-3.5 fill-primary"}))));an.displayName=$f99a8c78507165f7$export$6d08773d2e66f8f2.displayName;var nn=React__namespace.forwardRef(({className:t,children:e,...o},a)=>React__namespace.createElement($57acba87d6e25586$export$be92b6f5f03c0fe9,{ref:a,className:r("relative overflow-hidden",t),...o},React__namespace.createElement($57acba87d6e25586$export$d5c6c08dc2d3ca7,{className:"h-full w-full rounded-[inherit]"},e),React__namespace.createElement(hr,null),React__namespace.createElement($57acba87d6e25586$export$ac61190d9fc311a9,null)));nn.displayName=$57acba87d6e25586$export$be92b6f5f03c0fe9.displayName;var hr=React__namespace.forwardRef(({className:t,orientation:e="vertical",...o},a)=>React__namespace.createElement($57acba87d6e25586$export$2fabd85d0eba3c57,{ref:a,orientation:e,className:r("flex touch-none select-none transition-colors",e==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",e==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",t),...o},React__namespace.createElement($57acba87d6e25586$export$9fba1154677d7cd2,{className:"relative flex-1 rounded-full bg-border"})));hr.displayName=$57acba87d6e25586$export$2fabd85d0eba3c57.displayName;var Ct=React__namespace.forwardRef(({className:t,children:e,...o},a)=>React__namespace.createElement($cc7e05a45900e73f$export$41fb9f06171c75f4,{ref:a,className:r("flex h-9 w-full items-center justify-between rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50",t),...o},e,React__namespace.createElement($cc7e05a45900e73f$export$f04a61298a47a40f,{asChild:!0},React__namespace.createElement(CaretSortIcon,{className:"h-4 w-4 opacity-50"}))));Ct.displayName=$cc7e05a45900e73f$export$41fb9f06171c75f4.displayName;var _t=React__namespace.forwardRef(({className:t,children:e,position:o="popper",...a},n)=>React__namespace.createElement($cc7e05a45900e73f$export$602eac185826482c,null,React__namespace.createElement($cc7e05a45900e73f$export$7c6e2c02157bb7d2,{ref:n,className:r("relative z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:o,...a},React__namespace.createElement($cc7e05a45900e73f$export$d5c6c08dc2d3ca7,{className:r("p-1",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]")},e))));_t.displayName=$cc7e05a45900e73f$export$7c6e2c02157bb7d2.displayName;var mn=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($cc7e05a45900e73f$export$b04be29aa201d4f5,{ref:o,className:r("px-2 py-1.5 text-sm font-semibold",t),...e}));mn.displayName=$cc7e05a45900e73f$export$b04be29aa201d4f5.displayName;var he=React__namespace.forwardRef(({className:t,children:e,...o},a)=>React__namespace.createElement($cc7e05a45900e73f$export$6d08773d2e66f8f2,{ref:a,className:r("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...o},React__namespace.createElement("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($cc7e05a45900e73f$export$c3468e2714d175fa,null,React__namespace.createElement(CheckIcon$1,{className:"h-4 w-4"}))),React__namespace.createElement($cc7e05a45900e73f$export$d6e5bf9c43ea9319,null,e)));he.displayName=$cc7e05a45900e73f$export$6d08773d2e66f8f2.displayName;var cn=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($cc7e05a45900e73f$export$1ff3c3f08ae963c0,{ref:o,className:r("-mx-1 my-1 h-px bg-muted",t),...e}));cn.displayName=$cc7e05a45900e73f$export$1ff3c3f08ae963c0.displayName;var dn=React__namespace.forwardRef(({className:t,orientation:e="horizontal",decorative:o=!0,...a},n)=>React__namespace.createElement($89eedd556c436f6a$export$be92b6f5f03c0fe9,{ref:n,decorative:o,orientation:e,className:r("shrink-0 bg-border",e==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",t),...a}));dn.displayName=$89eedd556c436f6a$export$be92b6f5f03c0fe9.displayName;var pn=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($faa2e61a3361514f$export$be92b6f5f03c0fe9,{ref:o,className:r("relative flex w-full touch-none select-none items-center",t),...e},React__namespace.createElement($faa2e61a3361514f$export$13921ac0cc260818,{className:"relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20"},React__namespace.createElement($faa2e61a3361514f$export$9a58ef0d7ad3278c,{className:"absolute h-full bg-primary"})),React__namespace.createElement($faa2e61a3361514f$export$6521433ed15a34db,{className:"block h-4 w-4 rounded-full border border-primary/50 bg-background shadow transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"})));pn.displayName=$faa2e61a3361514f$export$be92b6f5f03c0fe9.displayName;var fn=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($6be4966fd9bbc698$export$be92b6f5f03c0fe9,{className:r("peer inline-flex h-[20px] w-[36px] shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",t),...e,ref:o},React__namespace.createElement($6be4966fd9bbc698$export$6521433ed15a34db,{className:r("pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})));fn.displayName=$6be4966fd9bbc698$export$be92b6f5f03c0fe9.displayName;var un=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($69cb30bb0017df05$export$54c2e3dc7acea9f5,{ref:o,className:r("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",t),...e}));un.displayName=$69cb30bb0017df05$export$54c2e3dc7acea9f5.displayName;var gn=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($69cb30bb0017df05$export$41fb9f06171c75f4,{ref:o,className:r("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",t),...e}));gn.displayName=$69cb30bb0017df05$export$41fb9f06171c75f4.displayName;var hn=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($69cb30bb0017df05$export$7c6e2c02157bb7d2,{ref:o,className:r("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",t),...e}));hn.displayName=$69cb30bb0017df05$export$7c6e2c02157bb7d2.displayName;var ko=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("textarea",{className:r("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",t),ref:o,...e}));ko.displayName="Textarea";var Oo=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($054eb8030ebde76e$export$d5c6c08dc2d3ca7,{ref:o,className:r("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",t),...e}));Oo.displayName=$054eb8030ebde76e$export$d5c6c08dc2d3ca7.displayName;var bn=cva("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Ho=React__namespace.forwardRef(({className:t,variant:e,...o},a)=>React__namespace.createElement($054eb8030ebde76e$export$be92b6f5f03c0fe9,{ref:a,className:r(bn({variant:e}),t),...o}));Ho.displayName=$054eb8030ebde76e$export$be92b6f5f03c0fe9.displayName;var yn=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($054eb8030ebde76e$export$e19cd5f9376f8cee,{ref:o,className:r("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",t),...e}));yn.displayName=$054eb8030ebde76e$export$e19cd5f9376f8cee.displayName;var Uo=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($054eb8030ebde76e$export$f39c2d165cd861fe,{ref:o,className:r("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",t),"toast-close":"",...e},React__namespace.createElement(Cross2Icon,{className:"h-4 w-4"})));Uo.displayName=$054eb8030ebde76e$export$f39c2d165cd861fe.displayName;var Vo=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($054eb8030ebde76e$export$f99233281efd08a0,{ref:o,className:r("text-sm font-semibold [&+div]:text-xs",t),...e}));Vo.displayName=$054eb8030ebde76e$export$f99233281efd08a0.displayName;var Fo=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($054eb8030ebde76e$export$393edc798c47379d,{ref:o,className:r("text-sm opacity-90",t),...e}));Fo.displayName=$054eb8030ebde76e$export$393edc798c47379d.displayName;var Ln=cva("inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-3",sm:"h-8 px-2",lg:"h-10 px-3"}},defaultVariants:{variant:"default",size:"default"}}),Cn=React__namespace.forwardRef(({className:t,variant:e,size:o,...a},n)=>React__namespace.createElement($b3bbe2732c13b576$export$be92b6f5f03c0fe9,{ref:n,className:r(Ln({variant:e,size:o,className:t})),...a}));Cn.displayName=$b3bbe2732c13b576$export$be92b6f5f03c0fe9.displayName;var zo=(n=>(n.buyer="buyer",n.seller="seller",n.buyerSeller="buyer-seller",n.broker="broker",n))(zo||{});var d=class d{};d.ESTIMATES_ENDPOINT_URL="https://api-dev.liberty.percyai.io/property/v1/estimates",d.ESTIMATED_VALUES_HEADER_TITLE="Estimated Values",d.ESTIMATED_VALUES_DIALOG_TITLE="How estimated values work",d.ESTIMATED_VALUES_DIALOG_DESCRIPTION="The values generated here are based on automated computer modeling from public records and may not represent the true value of the home.",d.ESTIMATED_VALUES_BUTTON_DESCRIPTION="Contact Mortgage Consultant",d.FORM_TITLE="Learn more about my options",d.FORM_DESCRIPTION="Get more insights on how your property valuation",d.FORM_FIRST_NAME_LABEL="First Name *",d.FORM_FIRST_NAME_PLACEHOLDER="Enter First Name",d.FORM_EMAIL_ADDRESS_LABEL="Email Address *",d.FORM_EMAIL_ADDRESS_PLACEHOLDER="Enter Email Adress",d.FORM_LAST_NAME_LABEL="Last Name *",d.FORM_LAST_NAME_PLACEHOLDER="Enter Last Name",d.FORM_PHONE_NUMBER_LABEL="Phone Number *",d.FORM_PHONE_NUMBER_PLACEHOLDER="Enter Phone Number",d.FORM_USER_TYPE_LABEL="I am: *",d.FORM_USER_TYPE_PLACEHOLDER="Please tell us who you are.",d.FORM_AGENT_CHECK_BOX_DESCRIPTION="Are you currently working with a",d.FORM_AGENT_CHECK_BOX_AGENT_TYPE="Agent",d.FORM_AGENT_CHECK_BOX_BROKERAGE_NAME="Percy Realty",d.FORM_AGENT_NAME_PLACEHOLDER="Enter Agent's Name",d.FORM_ACTION_BUTTOM="Submit",d.FIRST_NAME_REQUIRED_VALIDATION_MESSAGE="First Name is required.",d.EMAIL_ADDRESS_REQUIRED_VALIDATION_MESSAGE="Email address is required.",d.EMAIL_ADDRESS_FORMAT_VALIDATION_MESSAGE="Email address format is wrong.",d.LAST_NAME_REQUIRED_VALIDATION_MESSAGE="Last Name is required.",d.PHONE_NUMBER_REQUIRED_VALIDATION_MESSAGE="Phone Number is required.",d.PHONE_NUMBER_FORMAT_VALIDATION_MESSAGE="Phone Number format is wrong.",d.IAM_REQUIRED_VALIDATION_MESSAGE="Please select an option.",d.HOME_ADDRESS_REQUIRED_VALIDATION_MESSAGE="Home Address is required.",d.ON_ERROR_OCCURRED="An error occurred while submitting the form. Please try again.",d.BUYER="A Buyer",d.SELLER="A Seller",d.BUYER_SELLER="A Buyer and Seller",d.BROKER="A Broker/Agent",d.PERIOD_1="Immediately",d.PERIOD_2="1 to 3 Months",d.PERIOD_3="3 to 6 Months",d.PERIOD_4="6 to 12 Months",d.PERIOD_5="12+ Months",d.DYNAMIC_VALUES_BUYER_MESSAGE_LABEL="Message",d.DYNAMIC_VALUES_BUYER_MESSAGE_PLACEHOLDER="Hello, I am interested in learning more about this property.",d.DYNAMIC_VALUES_BROKER_MESSAGE_PLACEHOLDER="Hello, I am interested in learning more about this buyer.",d.DYNAMIC_VALUES_SELLER_HOME_ADDRESS_LABEL="Home Address *",d.DYNAMIC_VALUES_SELLER_HOME_ADDRESS_PLACEHOLDER="Enter Home Address",d.DYNAMIC_VALUES_SELLER_APROXIMATE_VALUE_LABEL="Property's Approximate Value",d.DYNAMIC_VALUES_SELLER_TIME_FOR_SELLING_LABEL="Time Frame for Selling",d.DYNAMIC_VALUES_SELLER_TIME_FOR_SELLING_PLACEHOLDER="Please select a time frame",d.sellerBuyerSharedContent=[{label:d.DYNAMIC_VALUES_SELLER_HOME_ADDRESS_LABEL,type:"text",placeholder:d.DYNAMIC_VALUES_SELLER_HOME_ADDRESS_PLACEHOLDER},{label:d.DYNAMIC_VALUES_SELLER_APROXIMATE_VALUE_LABEL,type:"number",placeholder:""},{label:d.DYNAMIC_VALUES_SELLER_TIME_FOR_SELLING_LABEL,type:"select",placeholder:d.DYNAMIC_VALUES_SELLER_TIME_FOR_SELLING_PLACEHOLDER}],d.DYNAMIC_VALUES={buyer:[{label:d.DYNAMIC_VALUES_BUYER_MESSAGE_LABEL,type:"textarea",placeholder:d.DYNAMIC_VALUES_BUYER_MESSAGE_PLACEHOLDER}],seller:d.sellerBuyerSharedContent,"buyer-seller":d.sellerBuyerSharedContent,broker:[{label:d.DYNAMIC_VALUES_BUYER_MESSAGE_LABEL,type:"textarea",placeholder:d.DYNAMIC_VALUES_BROKER_MESSAGE_PLACEHOLDER}]};var u=d;var jn=nativeEnumType(zo,{required_error:u.IAM_REQUIRED_VALIDATION_MESSAGE});objectType({firstName:stringType().min(2,{message:u.FIRST_NAME_REQUIRED_VALIDATION_MESSAGE}),emailAdress:stringType({required_error:u.EMAIL_ADDRESS_REQUIRED_VALIDATION_MESSAGE}).email({message:u.EMAIL_ADDRESS_FORMAT_VALIDATION_MESSAGE}),lastName:stringType().min(2,{message:u.LAST_NAME_REQUIRED_VALIDATION_MESSAGE}),phoneNumber:stringType().min(2,{message:u.PHONE_NUMBER_REQUIRED_VALIDATION_MESSAGE}),iam:jn,agent:booleanType().optional(),agentName:stringType().optional(),dynamicValues:arrayType(objectType({homeAddress:stringType().min(2,{message:u.HOME_ADDRESS_REQUIRED_VALIDATION_MESSAGE}).optional(),value:stringType().optional()})).optional()});var i=class{static EQUITY_MORTGAGE_DETAILS_BANNER_DESCRIPTION(e,o,a,n,s){return `Public records show a ${e} year loan at ${o} for ${a} from ${n}, giving you an estimated loan balance of ${s}. All calculations on this report are based on these numbers, so we want to make sure we get this right!`}static HOW_CALCULATE_INFORMATION_DESCRIPTION(e,o,a,n){return `These numbers are all based on your ${a} year loan at ${e} for ${o} from ${n}.`}static PAY_LITTLE_EXTRA_DESCRIPTION(e,o,a,n){return `Based on your ${e} year loan at ${o} for ${a} from ${n}`}static PAY_LITTLE_EXTRA_EARLIER_MESSAGE(e){return `You would also be done with the loan and no longer making payments ${e} earlier!`}static REFINANCE_OPTIONS_LONG_TERM_MESSAGE(e){return `Long term ${e}`}static REFINANCE_OPTIONS_PAYMENT_PER_MONTH_DESCRIPTION(e,o){return `Payment may go ${e} by ${o}/mo`}static USING_YOUR_EQUITY_SUBTITLE(e){return `With your ${e} in equity, you could afford to`}static USING_EQUITY_BUY_NEW_HOME_DIALOG_HEADLINE(e,o){return `Using ${e} of your estimated equity, you could make a 20% down payment on a new house worth around ${o}.`}static USING_EQUITY_MONTHLY_PRINCIPAL_INTEREST(e,o){return `Your new monthly principal and interest payment on a 30-year mortgage at ${e} APR is estimated at ${o}/mo`}static USING_EQUITY_REMINDER(e,o){return `Reminder: You'll pay ${e}-${o} in fees and commissions when you sell your current home. This cost varies by agent, location, and company.`}static USING_EQUITY_SELL_CASH_HEADLINE(e){return `Are you ready to cash in on your equity? You could sell your home and pocket around ${e}.`}static USING_EQUITY_INVESMENT_PROPERTY_HEADLINE(e,o){return `You could use around ${e} of your equity as a 30% down payment on an investment home worth ${o}.`}static USING_EQUITY_EMERGENCY_FUND_DESCRIPTION_1(e,o){return `With your ${e} in equity, you could have about ${o} to work with depending on market rates, your current financial situation, home occupancy status, and refi goals. (And, it is smart to leave at least 25% of your equity in your home.)`}};i.ACTION_OK_BUTTON_LABEL="OK",i.DESCRIPTION_YEARS_LABEL="Years",i.YEAR=" year",i.PLURAL="s ",i.AND=" and ",i.MONTH=" month",i.RATE=" rate",i.HOME_GUIDE_URL="https://homeguide.com/costs/home-addition-cost",i.HOME_GUIDE="homeguide.com 2020",i.EL_ISSA="El Issa, 2019",i.EL_ISSA_URL="https://www.nerdwallet.com/blog/average-credit-card-debt-household/",i.TICAS="TICAS, Student Debt and the Class of 2018",i.TICAS_URL="https://ticas.org/wp-content/uploads/2019/09/classof2018.pdf",i.NO_DATA_AVAILABLE_LABEL="No Data Available",i.ACTION_BUTTON_BEST_OPTION_LABEL="Which option is best for me?",i.LEARN_MORE_LABEL="Learn more about this",i.EDIT_DETAILS_LABEL="Edit Details",i.WHY_PAY_MORE_LABEL="Why Pay More?",i.EARLY_LOAN_LABEL="Early Loan Payoff Information",i.ASK_AGENT_LABEL="Ask an Agent",i.CONFIGURATION_ERROR_LABEL="Configuration Error",i.CONFIGURATION_ERROR_KEY_EXPIRED_LABEL="Key is expired",i.EQUITY_MORTGAGE_DETAILS_HEADER_TITLE="Equity In Your Home",i.EQUITY_MORTGAGE_DETAILS_DESCRIPTION="Equity is your home's worth to you!",i.EQUITY_MORTGAGE_DETAILS_ALL_GOOD_BUTTON="All Good",i.EQUITY_MORTGAGE_DETAILS_BANNER_TITLE="Verify Your Mortgage Details",i.EQUITY_MORTGAGE_DETAILS_TITLE="Estimated Equity Today",i.EQUITY_MORTGAGE_DETAILS_HOW_CALCULATED="How is this calculated?",i.EQUITY_MORTGAGE_DETAILS_DISCLAIMER="Disclaimer",i.EDIT_MORTGAGE_DETAILS_FORM_TITLE="Edit Mortgage Info",i.EDIT_MORTGAGE_DETAILS_LOAN_START_DATE_LABEL="Loan Start Date",i.EDIT_MORTGAGE_DETAILS_LOAN_TERM_LABEL="Loan Term",i.EDIT_MORTGAGE_DETAILS_INTEREST_RATE_LABEL="Interest Rate",i.EDIT_MORTGAGE_DETAILS_ORIGINAL_LOAN_AMOUNT_LABEL="Original Loan Amount",i.EDIT_MORTGAGE_DETAILS_BALANCE_LABEL="Estimated Mortgage Balance",i.EDIT_MORTGAGE_DETAILS_DISCLAIMER_TEXT="This message is for information purposes only and is not an advertisement to extend customer credit as defined by Section 12 CFR 1026.2 Regulation Z. Program rates, terms, and conditions are subject to change at any time. All examples of potential mortgage products above are estimates for illustration purposes only. All programs and mortgage products are subject to borrower income, credit, and property approval. Not all borrowers will qualify. This is not an offer for extension of credit or a commitment to lend. Home valuations are estimates purchased from a third-party data provider. Actual appraised value at the time of a transaction may vary. Equal Housing Lender. Interest rates used are based on a reasonably current index and margin from the Freddie Mac Primary Mortgage Market Survey.",i.HOW_CALCULATE_TITLE="How Is My Net Worth Calculated?",i.HOW_CALCULATE_DESCRIPTION='Your net worth ("equity") is made up of two things.',i.HOW_CALCULATE_HOME_VALUE_LABEL="Home Value",i.HOW_CALCULATE_LOAN_BALANCE_LABEL="Loan Balance",i.HOW_CALCULATE_YOUR_NET_WORTH_LABEL="Your Net Worth",i.HOW_CALCULATE_INFORMATION_SUBTITLE="Where does this information come from?",i.HOW_CALCULATE_NOTE_DESCRIPTION="Note: Only the first lien mortgage and resale are used to calculate the balance of your loan.",i.PAY_LITTLE_EXTRA_HEADER_TITLE="Pay A Little Extra",i.PAY_LITTLE_EXTRA_SUBTITLE="How much more can you pay per month?",i.PAY_LITTLE_EXTRA_CALCULATION_IF_YOU_PAY="If you pay just ",i.PAY_LITTLE_EXTRA_CALCULATION_MORE=" more each month, you could save",i.PAY_LITTLE_EXTRA_CALCULATION_DESCRIPTION="in interest over the rest of your loan",i.PAY_LITTLE_EXTRA_INFO_DESCRIPTION="You would also be done with the loan and no longer making payments 10 years and 2 months earlier!",i.PAY_LITTLE_EXTRA_PAYING_EXTRA="Paying extra can be an easy way to save.",i.PAY_LITTLE_EXTRA_PAYING_EXTRA_DESCRIPTION="Your mortgage payment is typically defined as your principal and interest payment. When you pay extra on your principal balance, you can reduce the amount of your loan and save money on interest.",i.PAY_LITTLE_EXTRA_PAYING_EXTRA_BEST_PART="The best part is that there's no paperwork, fees or headaches.",i.PAY_LITTLE_EXTRA_PAYING_EXTRA_IMPORTANT_TIP="*Important Tip* ",i.PAY_LITTLE_EXTRA_PAYING_EXTRA_IMPORTANT_TIP_DESCRIPTION="contact your mortgage servicer to indicate your extra payment is for principal reduction (to ensure it is not accidentally applied to an extra payment, extra interest, or towards escrow).",i.PAY_LITTLE_EXTRA_LENGTH_LOAN_REMAIN_MESSAGE="The length of your loan would remain unchanged with this extra payment.",i.CONTACT_AGENT_TITLE="We Might Have The Perferct Buyer For Your Home",i.CONTACT_AGENT_DESCRIPTION="Click the button and we'll look though our buyer database for you.",i.REFINANCE_OPTIONS_HEADER_TITLE="Refinance Options",i.REFINANCE_OPTIONS_HEADER_SUBTITLE="With a refinance of your loan, you could save",i.REFINANCE_OPTIONS_LEARN_MORE_DESCRIPTION=`
67159
+ function r(...t){return twMerge(clsx(t))}var mn="https://api-dev.liberty.percyai.io/key_service/v1/jwt/generate",Sr=async({clientKey:t})=>{try{return t?await(await fetch(mn,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({clientKey:t})})).json():void 0}catch(e){console.error("Error requesting token:",e);return}},T=(t,e)=>t?.config?t.config.find(o=>o.name===e):{};var Yt=cva("inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),$=React__namespace.forwardRef(({className:t,variant:e,size:o,asChild:a=!1,...n},s)=>React__namespace.createElement(a?$5e63c961fc1ce211$export$8c6ed5c666ac1360$1:"button",{className:r(Yt({variant:e,size:o,className:t})),ref:s,...n}));$.displayName="Button";var Gt=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("div",{ref:o,className:r("rounded-xl border bg-card text-card-foreground shadow",t),...e}));Gt.displayName="Card";var qt=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("div",{ref:o,className:r("flex flex-col space-y-1.5 p-6",t),...e}));qt.displayName="CardHeader";var wr=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("h3",{ref:o,className:r("font-semibold leading-none tracking-tight",t),...e}));wr.displayName="CardTitle";var un=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("p",{ref:o,className:r("text-sm text-muted-foreground",t),...e}));un.displayName="CardDescription";var Wt=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("div",{ref:o,className:r("p-6 pt-0",t),...e}));Wt.displayName="CardContent";var Qt=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("div",{ref:o,className:r("flex items-center p-6 pt-0",t),...e}));Qt.displayName="CardFooter";var Dr=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($cddcb0b647441e34$export$be92b6f5f03c0fe9,{ref:o,className:r("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",t),...e}));Dr.displayName=$cddcb0b647441e34$export$be92b6f5f03c0fe9.displayName;var fn=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($cddcb0b647441e34$export$3e431a229df88919,{ref:o,className:r("aspect-square h-full w-full",t),...e}));fn.displayName=$cddcb0b647441e34$export$3e431a229df88919.displayName;var Mr=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($cddcb0b647441e34$export$fb8d7f40caaeea67,{ref:o,className:r("flex h-full w-full items-center justify-center rounded-full bg-muted",t),...e}));Mr.displayName=$cddcb0b647441e34$export$fb8d7f40caaeea67.displayName;var Or=React__namespace.forwardRef(({className:t,value:e,...o},a)=>React__namespace.createElement($67824d98245208a0$export$be92b6f5f03c0fe9,{ref:a,className:r("relative h-2 w-full overflow-hidden rounded-full bg-primary/20",t),...o},React__namespace.createElement($67824d98245208a0$export$adb584737d712b70,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(e||0)}%)`}})));Or.displayName=$67824d98245208a0$export$be92b6f5f03c0fe9.displayName;var zt=React__namespace.forwardRef(({className:t,sideOffset:e=4,...o},a)=>React__namespace.createElement($a093c7e1ec25a057$export$7c6e2c02157bb7d2,{ref:a,sideOffset:e,className:r("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...o}));zt.displayName=$a093c7e1ec25a057$export$7c6e2c02157bb7d2.displayName;var Ca=({className:t,...e})=>React__namespace.createElement($5d3850c4d0b4e6c7$export$602eac185826482c$1,{className:r(t),...e});Ca.displayName=$5d3850c4d0b4e6c7$export$602eac185826482c$1.displayName;var Sa=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$c6fdb837b070b4ff$1,{className:r("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...e,ref:o}));Sa.displayName=$5d3850c4d0b4e6c7$export$c6fdb837b070b4ff$1.displayName;var yn=cva("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),Tn=React__namespace.forwardRef(({side:t="right",className:e,children:o,...a},n)=>React__namespace.createElement(Ca,null,React__namespace.createElement(Sa,null),React__namespace.createElement($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2$1,{ref:n,className:r(yn({side:t}),e),...a},o,React__namespace.createElement($5d3850c4d0b4e6c7$export$f39c2d165cd861fe,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary"},React__namespace.createElement(Cross2Icon,{className:"h-4 w-4"}),React__namespace.createElement("span",{className:"sr-only"},"Close")))));Tn.displayName=$5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2$1.displayName;var Nn=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$f99233281efd08a0,{ref:o,className:r("text-lg font-semibold text-foreground",t),...e}));Nn.displayName=$5d3850c4d0b4e6c7$export$f99233281efd08a0.displayName;var vn=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$393edc798c47379d,{ref:o,className:r("text-sm text-muted-foreground",t),...e}));vn.displayName=$5d3850c4d0b4e6c7$export$393edc798c47379d.displayName;var kr=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("div",{className:"w-full overflow-auto"},React__namespace.createElement("table",{ref:o,className:r("w-full caption-bottom text-sm",t),...e})));kr.displayName="Table";var Ur=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("thead",{ref:o,className:r("[&_tr]:border-b",t),...e}));Ur.displayName="TableHeader";var Hr=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("tbody",{ref:o,className:r("[&_tr:last-child]:border-0",t),...e}));Hr.displayName="TableBody";var Br=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("tfoot",{ref:o,className:r("bg-primary font-medium text-primary-foreground",t),...e}));Br.displayName="TableFooter";var Po=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("tr",{ref:o,className:r("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",t),...e}));Po.displayName="TableRow";var Pt=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("th",{ref:o,className:r("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",t),...e}));Pt.displayName="TableHead";var It=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("td",{ref:o,className:r("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",t),...e}));It.displayName="TableCell";var Fr=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("caption",{ref:o,className:r("mt-4 text-sm text-muted-foreground",t),...e}));Fr.displayName="TableCaption";var An=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($1bf158f521e1b1b4$export$6d08773d2e66f8f2,{ref:o,className:r("border-b",t),...e}));An.displayName="AccordionItem";var Pn=React__namespace.forwardRef(({className:t,children:e,...o},a)=>React__namespace.createElement($1bf158f521e1b1b4$export$8b251419efc915eb,{className:"flex"},React__namespace.createElement($1bf158f521e1b1b4$export$41fb9f06171c75f4,{ref:a,className:r("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",t),...o},e,React__namespace.createElement(ChevronDownIcon,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"}))));Pn.displayName=$1bf158f521e1b1b4$export$41fb9f06171c75f4.displayName;var In=React__namespace.forwardRef(({className:t,children:e,...o},a)=>React__namespace.createElement($1bf158f521e1b1b4$export$7c6e2c02157bb7d2,{ref:a,className:r("overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",t),...o},React__namespace.createElement("div",{className:"pb-4 pt-0"},e)));In.displayName=$1bf158f521e1b1b4$export$7c6e2c02157bb7d2.displayName;var Cn=cva("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),$t=React__namespace.forwardRef(({className:t,variant:e,...o},a)=>React__namespace.createElement("div",{ref:a,role:"alert",className:r(Cn({variant:e}),t),...o}));$t.displayName="Alert";var jt=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("h5",{ref:o,className:r("mb-1 font-medium leading-none tracking-tight",t),...e}));jt.displayName="AlertTitle";var Xt=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("div",{ref:o,className:r("text-sm [&_p]:leading-relaxed",t),...e}));Xt.displayName="AlertDescription";var wa=$905f4ae918aab1aa$export$be92b6f5f03c0fe9,Da=$905f4ae918aab1aa$export$41fb9f06171c75f4,Ma=({className:t,...e})=>React__namespace.createElement($905f4ae918aab1aa$export$602eac185826482c,{className:r(t),...e});Ma.displayName=$905f4ae918aab1aa$export$602eac185826482c.displayName;var Oa=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($905f4ae918aab1aa$export$c6fdb837b070b4ff,{className:r("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...e,ref:o}));Oa.displayName=$905f4ae918aab1aa$export$c6fdb837b070b4ff.displayName;var Vr=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement(Ma,null,React__namespace.createElement(Oa,null),React__namespace.createElement($905f4ae918aab1aa$export$7c6e2c02157bb7d2,{ref:o,className:r("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg md:w-full",t),...e})));Vr.displayName=$905f4ae918aab1aa$export$7c6e2c02157bb7d2.displayName;var Yr=({className:t,...e})=>React__namespace.createElement("div",{className:r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...e});Yr.displayName="AlertDialogFooter";var Gr=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($905f4ae918aab1aa$export$f99233281efd08a0,{ref:o,className:r("text-lg font-semibold",t),...e}));Gr.displayName=$905f4ae918aab1aa$export$f99233281efd08a0.displayName;var wn=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($905f4ae918aab1aa$export$393edc798c47379d,{ref:o,className:r("text-sm text-muted-foreground",t),...e}));wn.displayName=$905f4ae918aab1aa$export$393edc798c47379d.displayName;var qr=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($905f4ae918aab1aa$export$e19cd5f9376f8cee,{ref:o,className:r(Yt(),t),...e}));qr.displayName=$905f4ae918aab1aa$export$e19cd5f9376f8cee.displayName;var Dn=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($905f4ae918aab1aa$export$848c9b7ead0df967,{ref:o,className:r(Yt({variant:"outline"}),"mt-2 sm:mt-0",t),...e}));Dn.displayName=$905f4ae918aab1aa$export$848c9b7ead0df967.displayName;var Wr=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($e698a72e93240346$export$be92b6f5f03c0fe9,{ref:o,className:r("peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",t),...e},React__namespace.createElement($e698a72e93240346$export$adb584737d712b70,{className:r("flex items-center justify-center text-current")},React__namespace.createElement(CheckIcon$1,{className:"h-4 w-4"}))));Wr.displayName=$e698a72e93240346$export$be92b6f5f03c0fe9.displayName;var ka=({className:t,...e})=>React__namespace.createElement($5d3850c4d0b4e6c7$export$602eac185826482c$1,{className:r(t),...e});ka.displayName=$5d3850c4d0b4e6c7$export$602eac185826482c$1.displayName;var Ua=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$c6fdb837b070b4ff$1,{ref:o,className:r("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...e}));Ua.displayName=$5d3850c4d0b4e6c7$export$c6fdb837b070b4ff$1.displayName;var Kt=React__namespace.forwardRef(({className:t,children:e,...o},a)=>React__namespace.createElement(ka,null,React__namespace.createElement(Ua,null),React__namespace.createElement($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2$1,{ref:a,className:r("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg md:w-full",t),...o},e,React__namespace.createElement($5d3850c4d0b4e6c7$export$f39c2d165cd861fe,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground"},React__namespace.createElement(Cross2Icon,{className:"h-4 w-4"}),React__namespace.createElement("span",{className:"sr-only"},"Close")))));Kt.displayName=$5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2$1.displayName;var $r=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$f99233281efd08a0,{ref:o,className:r("text-lg font-semibold leading-none tracking-tight",t),...e}));$r.displayName=$5d3850c4d0b4e6c7$export$f99233281efd08a0.displayName;var jr=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$393edc798c47379d,{ref:o,className:r("text-sm text-muted-foreground",t),...e}));jr.displayName=$5d3850c4d0b4e6c7$export$393edc798c47379d.displayName;var zo=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement(Le$1,{ref:o,className:r("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",t),...e}));zo.displayName=Le$1.displayName;var Xr=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":""},React__namespace.createElement(MagnifyingGlassIcon,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),React__namespace.createElement(Le$1.Input,{ref:o,className:r("flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",t),...e})));Xr.displayName=Le$1.Input.displayName;var Kr=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement(Le$1.List,{ref:o,className:r("max-h-[300px] overflow-y-auto overflow-x-hidden",t),...e}));Kr.displayName=Le$1.List.displayName;var Jr=React__namespace.forwardRef((t,e)=>React__namespace.createElement(Le$1.Empty,{ref:e,className:"py-6 text-center text-sm",...t}));Jr.displayName=Le$1.Empty.displayName;var Zr=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement(Le$1.Group,{ref:o,className:r("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",t),...e}));Zr.displayName=Le$1.Group.displayName;var Vn=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement(Le$1.Separator,{ref:o,className:r("-mx-1 h-px bg-border",t),...e}));Vn.displayName=Le$1.Separator.displayName;var ea=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement(Le$1.Item,{ref:o,className:r("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-accent aria-selected:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...e}));ea.displayName=Le$1.Item.displayName;var Qn=React__namespace.forwardRef(({className:t,inset:e,children:o,...a},n)=>React__namespace.createElement($1b0217ee4a91d156$export$2ea8a7a591ac5eac,{ref:n,className:r("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",e&&"pl-8",t),...a},o,React__namespace.createElement(ChevronRightIcon,{className:"ml-auto h-4 w-4"})));Qn.displayName=$1b0217ee4a91d156$export$2ea8a7a591ac5eac.displayName;var zn=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($1b0217ee4a91d156$export$6d4de93b380beddf,{ref:o,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...e}));zn.displayName=$1b0217ee4a91d156$export$6d4de93b380beddf.displayName;var $n=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($1b0217ee4a91d156$export$602eac185826482c,null,React__namespace.createElement($1b0217ee4a91d156$export$7c6e2c02157bb7d2,{ref:o,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...e})));$n.displayName=$1b0217ee4a91d156$export$7c6e2c02157bb7d2.displayName;var jn=React__namespace.forwardRef(({className:t,inset:e,...o},a)=>React__namespace.createElement($1b0217ee4a91d156$export$6d08773d2e66f8f2,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e&&"pl-8",t),...o}));jn.displayName=$1b0217ee4a91d156$export$6d08773d2e66f8f2.displayName;var Xn=React__namespace.forwardRef(({className:t,children:e,checked:o,...a},n)=>React__namespace.createElement($1b0217ee4a91d156$export$16ce288f89fa631c,{ref:n,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),checked:o,...a},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($1b0217ee4a91d156$export$c3468e2714d175fa,null,React__namespace.createElement(CheckIcon$1,{className:"h-4 w-4"}))),e));Xn.displayName=$1b0217ee4a91d156$export$16ce288f89fa631c.displayName;var Kn=React__namespace.forwardRef(({className:t,children:e,...o},a)=>React__namespace.createElement($1b0217ee4a91d156$export$371ab307eab489c0,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...o},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($1b0217ee4a91d156$export$c3468e2714d175fa,null,React__namespace.createElement(DotFilledIcon,{className:"h-4 w-4 fill-current"}))),e));Kn.displayName=$1b0217ee4a91d156$export$371ab307eab489c0.displayName;var Jn=React__namespace.forwardRef(({className:t,inset:e,...o},a)=>React__namespace.createElement($1b0217ee4a91d156$export$b04be29aa201d4f5,{ref:a,className:r("px-2 py-1.5 text-sm font-semibold text-foreground",e&&"pl-8",t),...o}));Jn.displayName=$1b0217ee4a91d156$export$b04be29aa201d4f5.displayName;var Zn=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($1b0217ee4a91d156$export$1ff3c3f08ae963c0,{ref:o,className:r("-mx-1 my-1 h-px bg-border",t),...e}));Zn.displayName=$1b0217ee4a91d156$export$1ff3c3f08ae963c0.displayName;var as=React__namespace.forwardRef(({className:t,inset:e,children:o,...a},n)=>React__namespace.createElement($d08ef79370b62062$export$2ea8a7a591ac5eac,{ref:n,className:r("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",e&&"pl-8",t),...a},o,React__namespace.createElement(ChevronRightIcon,{className:"ml-auto h-4 w-4"})));as.displayName=$d08ef79370b62062$export$2ea8a7a591ac5eac.displayName;var is=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($d08ef79370b62062$export$6d4de93b380beddf,{ref:o,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...e}));is.displayName=$d08ef79370b62062$export$6d4de93b380beddf.displayName;var ta=React__namespace.forwardRef(({className:t,sideOffset:e=4,...o},a)=>React__namespace.createElement($d08ef79370b62062$export$602eac185826482c,null,React__namespace.createElement($d08ef79370b62062$export$7c6e2c02157bb7d2,{ref:a,sideOffset:e,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...o})));ta.displayName=$d08ef79370b62062$export$7c6e2c02157bb7d2.displayName;var ns=React__namespace.forwardRef(({className:t,inset:e,...o},a)=>React__namespace.createElement($d08ef79370b62062$export$6d08773d2e66f8f2,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e&&"pl-8",t),...o}));ns.displayName=$d08ef79370b62062$export$6d08773d2e66f8f2.displayName;var ss=React__namespace.forwardRef(({className:t,children:e,checked:o,...a},n)=>React__namespace.createElement($d08ef79370b62062$export$16ce288f89fa631c,{ref:n,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),checked:o,...a},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($d08ef79370b62062$export$c3468e2714d175fa,null,React__namespace.createElement(CheckIcon$1,{className:"h-4 w-4"}))),e));ss.displayName=$d08ef79370b62062$export$16ce288f89fa631c.displayName;var ls=React__namespace.forwardRef(({className:t,children:e,...o},a)=>React__namespace.createElement($d08ef79370b62062$export$371ab307eab489c0,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...o},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($d08ef79370b62062$export$c3468e2714d175fa,null,React__namespace.createElement(DotFilledIcon,{className:"h-4 w-4 fill-current"}))),e));ls.displayName=$d08ef79370b62062$export$371ab307eab489c0.displayName;var ms=React__namespace.forwardRef(({className:t,inset:e,...o},a)=>React__namespace.createElement($d08ef79370b62062$export$b04be29aa201d4f5,{ref:a,className:r("px-2 py-1.5 text-sm font-semibold",e&&"pl-8",t),...o}));ms.displayName=$d08ef79370b62062$export$b04be29aa201d4f5.displayName;var cs=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($d08ef79370b62062$export$1ff3c3f08ae963c0,{ref:o,className:r("-mx-1 my-1 h-px bg-muted",t),...e}));cs.displayName=$d08ef79370b62062$export$1ff3c3f08ae963c0.displayName;var us=cva("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ra=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($b73a6c6685e72184$export$be92b6f5f03c0fe9,{ref:o,className:r(us(),t),...e}));ra.displayName=$b73a6c6685e72184$export$be92b6f5f03c0fe9.displayName;var Fa=React__namespace.createContext({}),Xo=()=>{let t=React__namespace.useContext(Fa),e=React__namespace.useContext(Va),{getFieldState:o,formState:a}=useFormContext(),n=o(t.name,a);if(!t)throw new Error("useFormField should be used within <FormField>");let{id:s}=e;return {id:s,name:t.name,formItemId:`${s}-form-item`,formDescriptionId:`${s}-form-item-description`,formMessageId:`${s}-form-item-message`,...n}},Va=React__namespace.createContext({}),xe=React__namespace.forwardRef(({className:t,...e},o)=>{let a=React__namespace.useId();return React__namespace.createElement(Va.Provider,{value:{id:a}},React__namespace.createElement("div",{ref:o,className:r("space-y-2",t),...e}))});xe.displayName="FormItem";var Pe=React__namespace.forwardRef(({className:t,...e},o)=>{let{error:a,formItemId:n}=Xo();return React__namespace.createElement(ra,{ref:o,className:r(a&&"text-destructive",t),htmlFor:n,...e})});Pe.displayName="FormLabel";var ye=React__namespace.forwardRef(({...t},e)=>{let{error:o,formItemId:a,formDescriptionId:n,formMessageId:s}=Xo();return React__namespace.createElement($5e63c961fc1ce211$export$8c6ed5c666ac1360$1,{ref:e,id:a,"aria-describedby":o?`${n} ${s}`:`${n}`,"aria-invalid":!!o,...t})});ye.displayName="FormControl";var xs=React__namespace.forwardRef(({className:t,...e},o)=>{let{formDescriptionId:a}=Xo();return React__namespace.createElement("p",{ref:o,id:a,className:r("text-[0.8rem] text-muted-foreground",t),...e})});xs.displayName="FormDescription";var Me=React__namespace.forwardRef(({className:t,children:e,...o},a)=>{let{error:n,formMessageId:s}=Xo(),c=n?String(n?.message):e;return c?React__namespace.createElement("p",{ref:a,id:s,className:r("text-[0.8rem] font-medium text-destructive",t),...o},c):null});Me.displayName="FormMessage";var Te=React__namespace.forwardRef(({className:t,type:e,...o},a)=>React__namespace.createElement("input",{type:e,className:r("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",t),ref:a,...o}));Te.displayName="Input";var bs=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($0520064cdfc1bd2d$export$be92b6f5f03c0fe9,{ref:o,className:r("flex h-9 items-center space-x-1 rounded-md border bg-background p-1 shadow-sm",t),...e}));bs.displayName=$0520064cdfc1bd2d$export$be92b6f5f03c0fe9.displayName;var Ns=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($0520064cdfc1bd2d$export$41fb9f06171c75f4,{ref:o,className:r("flex cursor-default select-none items-center rounded-sm px-3 py-1 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t),...e}));Ns.displayName=$0520064cdfc1bd2d$export$41fb9f06171c75f4.displayName;var vs=React__namespace.forwardRef(({className:t,inset:e,children:o,...a},n)=>React__namespace.createElement($0520064cdfc1bd2d$export$2ea8a7a591ac5eac,{ref:n,className:r("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",e&&"pl-8",t),...a},o,React__namespace.createElement(ChevronRightIcon,{className:"ml-auto h-4 w-4"})));vs.displayName=$0520064cdfc1bd2d$export$2ea8a7a591ac5eac.displayName;var _s=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($0520064cdfc1bd2d$export$6d4de93b380beddf,{ref:o,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...e}));_s.displayName=$0520064cdfc1bd2d$export$6d4de93b380beddf.displayName;var As=React__namespace.forwardRef(({className:t,align:e="start",alignOffset:o=-4,sideOffset:a=8,...n},s)=>React__namespace.createElement($0520064cdfc1bd2d$export$602eac185826482c,null,React__namespace.createElement($0520064cdfc1bd2d$export$7c6e2c02157bb7d2,{ref:s,align:e,alignOffset:o,sideOffset:a,className:r("z-50 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...n})));As.displayName=$0520064cdfc1bd2d$export$7c6e2c02157bb7d2.displayName;var Ps=React__namespace.forwardRef(({className:t,inset:e,...o},a)=>React__namespace.createElement($0520064cdfc1bd2d$export$6d08773d2e66f8f2,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e&&"pl-8",t),...o}));Ps.displayName=$0520064cdfc1bd2d$export$6d08773d2e66f8f2.displayName;var Is=React__namespace.forwardRef(({className:t,children:e,checked:o,...a},n)=>React__namespace.createElement($0520064cdfc1bd2d$export$16ce288f89fa631c,{ref:n,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),checked:o,...a},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($0520064cdfc1bd2d$export$c3468e2714d175fa,null,React__namespace.createElement(CheckIcon$1,{className:"h-4 w-4"}))),e));Is.displayName=$0520064cdfc1bd2d$export$16ce288f89fa631c.displayName;var Ls=React__namespace.forwardRef(({className:t,children:e,...o},a)=>React__namespace.createElement($0520064cdfc1bd2d$export$371ab307eab489c0,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...o},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($0520064cdfc1bd2d$export$c3468e2714d175fa,null,React__namespace.createElement(DotFilledIcon,{className:"h-4 w-4 fill-current"}))),e));Ls.displayName=$0520064cdfc1bd2d$export$371ab307eab489c0.displayName;var Cs=React__namespace.forwardRef(({className:t,inset:e,...o},a)=>React__namespace.createElement($0520064cdfc1bd2d$export$b04be29aa201d4f5,{ref:a,className:r("px-2 py-1.5 text-sm font-semibold",e&&"pl-8",t),...o}));Cs.displayName=$0520064cdfc1bd2d$export$b04be29aa201d4f5.displayName;var Ss=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($0520064cdfc1bd2d$export$1ff3c3f08ae963c0,{ref:o,className:r("-mx-1 my-1 h-px bg-muted",t),...e}));Ss.displayName=$0520064cdfc1bd2d$export$1ff3c3f08ae963c0.displayName;var Os=React__namespace.forwardRef(({className:t,children:e,...o},a)=>React__namespace.createElement($322c88a641701f3b$export$be92b6f5f03c0fe9,{ref:a,className:r("relative z-10 flex max-w-max flex-1 items-center justify-center",t),...o},e,React__namespace.createElement(Ya,null)));Os.displayName=$322c88a641701f3b$export$be92b6f5f03c0fe9.displayName;var ks=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($322c88a641701f3b$export$54c2e3dc7acea9f5,{ref:o,className:r("group flex flex-1 list-none items-center justify-center space-x-1",t),...e}));ks.displayName=$322c88a641701f3b$export$54c2e3dc7acea9f5.displayName;var Us=cva("group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50"),Hs=React__namespace.forwardRef(({className:t,children:e,...o},a)=>React__namespace.createElement($322c88a641701f3b$export$41fb9f06171c75f4,{ref:a,className:r(Us(),"group",t),...o},e," ",React__namespace.createElement(ChevronDownIcon,{className:"relative top-[1px] ml-1 h-3 w-3 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})));Hs.displayName=$322c88a641701f3b$export$41fb9f06171c75f4.displayName;var Bs=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($322c88a641701f3b$export$7c6e2c02157bb7d2,{ref:o,className:r("left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ",t),...e}));Bs.displayName=$322c88a641701f3b$export$7c6e2c02157bb7d2.displayName;var Ya=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("div",{className:r("absolute left-0 top-full flex justify-center")},React__namespace.createElement($322c88a641701f3b$export$d5c6c08dc2d3ca7,{className:r("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",t),ref:o,...e})));Ya.displayName=$322c88a641701f3b$export$d5c6c08dc2d3ca7.displayName;var Fs=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($322c88a641701f3b$export$adb584737d712b70,{ref:o,className:r("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",t),...e},React__namespace.createElement("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})));Fs.displayName=$322c88a641701f3b$export$adb584737d712b70.displayName;var Vs=React__namespace.forwardRef(({className:t,align:e="center",sideOffset:o=4,...a},n)=>React__namespace.createElement($cb5cc270b50c6fcd$export$602eac185826482c,null,React__namespace.createElement($cb5cc270b50c6fcd$export$7c6e2c02157bb7d2,{ref:n,align:e,sideOffset:o,className:r("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...a})));Vs.displayName=$cb5cc270b50c6fcd$export$7c6e2c02157bb7d2.displayName;var Gs=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($f99a8c78507165f7$export$be92b6f5f03c0fe9,{className:r("grid gap-2",t),...e,ref:o}));Gs.displayName=$f99a8c78507165f7$export$be92b6f5f03c0fe9.displayName;var qs=React__namespace.forwardRef(({className:t,children:e,...o},a)=>React__namespace.createElement($f99a8c78507165f7$export$6d08773d2e66f8f2,{ref:a,className:r("aspect-square h-4 w-4 rounded-full border border-primary text-primary shadow focus:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",t),...o},React__namespace.createElement($f99a8c78507165f7$export$adb584737d712b70,{className:"flex items-center justify-center"},React__namespace.createElement(CheckIcon$1,{className:"h-3.5 w-3.5 fill-primary"}))));qs.displayName=$f99a8c78507165f7$export$6d08773d2e66f8f2.displayName;var Ws=React__namespace.forwardRef(({className:t,children:e,...o},a)=>React__namespace.createElement($57acba87d6e25586$export$be92b6f5f03c0fe9,{ref:a,className:r("relative overflow-hidden",t),...o},React__namespace.createElement($57acba87d6e25586$export$d5c6c08dc2d3ca7,{className:"h-full w-full rounded-[inherit]"},e),React__namespace.createElement(Ga,null),React__namespace.createElement($57acba87d6e25586$export$ac61190d9fc311a9,null)));Ws.displayName=$57acba87d6e25586$export$be92b6f5f03c0fe9.displayName;var Ga=React__namespace.forwardRef(({className:t,orientation:e="vertical",...o},a)=>React__namespace.createElement($57acba87d6e25586$export$2fabd85d0eba3c57,{ref:a,orientation:e,className:r("flex touch-none select-none transition-colors",e==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",e==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",t),...o},React__namespace.createElement($57acba87d6e25586$export$9fba1154677d7cd2,{className:"relative flex-1 rounded-full bg-border"})));Ga.displayName=$57acba87d6e25586$export$2fabd85d0eba3c57.displayName;var Co=React__namespace.forwardRef(({className:t,children:e,...o},a)=>React__namespace.createElement($cc7e05a45900e73f$export$41fb9f06171c75f4,{ref:a,className:r("flex h-9 w-full items-center justify-between rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50",t),...o},e,React__namespace.createElement($cc7e05a45900e73f$export$f04a61298a47a40f,{asChild:!0},React__namespace.createElement(CaretSortIcon,{className:"h-4 w-4 opacity-50"}))));Co.displayName=$cc7e05a45900e73f$export$41fb9f06171c75f4.displayName;var So=React__namespace.forwardRef(({className:t,children:e,position:o="popper",...a},n)=>React__namespace.createElement($cc7e05a45900e73f$export$602eac185826482c,null,React__namespace.createElement($cc7e05a45900e73f$export$7c6e2c02157bb7d2,{ref:n,className:r("relative z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:o,...a},React__namespace.createElement($cc7e05a45900e73f$export$d5c6c08dc2d3ca7,{className:r("p-1",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]")},e))));So.displayName=$cc7e05a45900e73f$export$7c6e2c02157bb7d2.displayName;var $s=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($cc7e05a45900e73f$export$b04be29aa201d4f5,{ref:o,className:r("px-2 py-1.5 text-sm font-semibold",t),...e}));$s.displayName=$cc7e05a45900e73f$export$b04be29aa201d4f5.displayName;var ze=React__namespace.forwardRef(({className:t,children:e,...o},a)=>React__namespace.createElement($cc7e05a45900e73f$export$6d08773d2e66f8f2,{ref:a,className:r("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...o},React__namespace.createElement("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($cc7e05a45900e73f$export$c3468e2714d175fa,null,React__namespace.createElement(CheckIcon$1,{className:"h-4 w-4"}))),React__namespace.createElement($cc7e05a45900e73f$export$d6e5bf9c43ea9319,null,e)));ze.displayName=$cc7e05a45900e73f$export$6d08773d2e66f8f2.displayName;var js=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($cc7e05a45900e73f$export$1ff3c3f08ae963c0,{ref:o,className:r("-mx-1 my-1 h-px bg-muted",t),...e}));js.displayName=$cc7e05a45900e73f$export$1ff3c3f08ae963c0.displayName;var Xs=React__namespace.forwardRef(({className:t,orientation:e="horizontal",decorative:o=!0,...a},n)=>React__namespace.createElement($89eedd556c436f6a$export$be92b6f5f03c0fe9,{ref:n,decorative:o,orientation:e,className:r("shrink-0 bg-border",e==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",t),...a}));Xs.displayName=$89eedd556c436f6a$export$be92b6f5f03c0fe9.displayName;var ia=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($faa2e61a3361514f$export$be92b6f5f03c0fe9,{ref:o,className:r("relative flex w-full touch-none select-none items-center",t),...e},React__namespace.createElement($faa2e61a3361514f$export$13921ac0cc260818,{className:"relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20"},React__namespace.createElement($faa2e61a3361514f$export$9a58ef0d7ad3278c,{className:"absolute h-full bg-primary"})),React__namespace.createElement($faa2e61a3361514f$export$6521433ed15a34db,{className:"block h-4 w-4 rounded-full border border-primary/50 bg-background shadow transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"})));ia.displayName=$faa2e61a3361514f$export$be92b6f5f03c0fe9.displayName;var Ks=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($6be4966fd9bbc698$export$be92b6f5f03c0fe9,{className:r("peer inline-flex h-[20px] w-[36px] shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",t),...e,ref:o},React__namespace.createElement($6be4966fd9bbc698$export$6521433ed15a34db,{className:r("pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})));Ks.displayName=$6be4966fd9bbc698$export$be92b6f5f03c0fe9.displayName;var Js=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($69cb30bb0017df05$export$54c2e3dc7acea9f5,{ref:o,className:r("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",t),...e}));Js.displayName=$69cb30bb0017df05$export$54c2e3dc7acea9f5.displayName;var Zs=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($69cb30bb0017df05$export$41fb9f06171c75f4,{ref:o,className:r("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",t),...e}));Zs.displayName=$69cb30bb0017df05$export$41fb9f06171c75f4.displayName;var el=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($69cb30bb0017df05$export$7c6e2c02157bb7d2,{ref:o,className:r("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",t),...e}));el.displayName=$69cb30bb0017df05$export$7c6e2c02157bb7d2.displayName;var na=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement("textarea",{className:r("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",t),ref:o,...e}));na.displayName="Textarea";var sa=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($054eb8030ebde76e$export$d5c6c08dc2d3ca7,{ref:o,className:r("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",t),...e}));sa.displayName=$054eb8030ebde76e$export$d5c6c08dc2d3ca7.displayName;var rl=cva("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),la=React__namespace.forwardRef(({className:t,variant:e,...o},a)=>React__namespace.createElement($054eb8030ebde76e$export$be92b6f5f03c0fe9,{ref:a,className:r(rl({variant:e}),t),...o}));la.displayName=$054eb8030ebde76e$export$be92b6f5f03c0fe9.displayName;var al=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($054eb8030ebde76e$export$e19cd5f9376f8cee,{ref:o,className:r("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",t),...e}));al.displayName=$054eb8030ebde76e$export$e19cd5f9376f8cee.displayName;var ma=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($054eb8030ebde76e$export$f39c2d165cd861fe,{ref:o,className:r("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",t),"toast-close":"",...e},React__namespace.createElement(Cross2Icon,{className:"h-4 w-4"})));ma.displayName=$054eb8030ebde76e$export$f39c2d165cd861fe.displayName;var ca=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($054eb8030ebde76e$export$f99233281efd08a0,{ref:o,className:r("text-sm font-semibold [&+div]:text-xs",t),...e}));ca.displayName=$054eb8030ebde76e$export$f99233281efd08a0.displayName;var da=React__namespace.forwardRef(({className:t,...e},o)=>React__namespace.createElement($054eb8030ebde76e$export$393edc798c47379d,{ref:o,className:r("text-sm opacity-90",t),...e}));da.displayName=$054eb8030ebde76e$export$393edc798c47379d.displayName;var dl=cva("inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-3",sm:"h-8 px-2",lg:"h-10 px-3"}},defaultVariants:{variant:"default",size:"default"}}),pl=React__namespace.forwardRef(({className:t,variant:e,size:o,...a},n)=>React__namespace.createElement($b3bbe2732c13b576$export$be92b6f5f03c0fe9,{ref:n,className:r(dl({variant:e,size:o,className:t})),...a}));pl.displayName=$b3bbe2732c13b576$export$be92b6f5f03c0fe9.displayName;var ga=(n=>(n.buyer="buyer",n.seller="seller",n.buyerSeller="buyer-seller",n.broker="broker",n))(ga||{});var x=class x{};x.ESTIMATES_ENDPOINT_URL="https://api-dev.liberty.percyai.io/property/v1/estimates",x.ESTIMATED_VALUES_HEADER_TITLE="Estimated Values",x.ESTIMATED_VALUES_DIALOG_TITLE="How estimated values work",x.ESTIMATED_VALUES_DIALOG_DESCRIPTION="The values generated here are based on automated computer modeling from public records and may not represent the true value of the home.",x.ESTIMATED_VALUES_BUTTON_DESCRIPTION="Contact Mortgage Consultant",x.FORM_TITLE="Learn more about my options",x.FORM_DESCRIPTION="Get more insights on how your property valuation",x.FORM_FIRST_NAME_LABEL="First Name *",x.FORM_FIRST_NAME_PLACEHOLDER="Enter First Name",x.FORM_EMAIL_ADDRESS_LABEL="Email Address *",x.FORM_EMAIL_ADDRESS_PLACEHOLDER="Enter Email Adress",x.FORM_LAST_NAME_LABEL="Last Name *",x.FORM_LAST_NAME_PLACEHOLDER="Enter Last Name",x.FORM_PHONE_NUMBER_LABEL="Phone Number *",x.FORM_PHONE_NUMBER_PLACEHOLDER="Enter Phone Number",x.FORM_USER_TYPE_LABEL="I am: *",x.FORM_USER_TYPE_PLACEHOLDER="Please tell us who you are.",x.FORM_AGENT_CHECK_BOX_DESCRIPTION="Are you currently working with a",x.FORM_AGENT_CHECK_BOX_AGENT_TYPE="Agent",x.FORM_AGENT_CHECK_BOX_BROKERAGE_NAME="Percy Realty",x.FORM_AGENT_NAME_PLACEHOLDER="Enter Agent's Name",x.FORM_ACTION_BUTTOM="Submit",x.FIRST_NAME_REQUIRED_VALIDATION_MESSAGE="First Name is required.",x.EMAIL_ADDRESS_REQUIRED_VALIDATION_MESSAGE="Email address is required.",x.EMAIL_ADDRESS_FORMAT_VALIDATION_MESSAGE="Email address format is wrong.",x.LAST_NAME_REQUIRED_VALIDATION_MESSAGE="Last Name is required.",x.PHONE_NUMBER_REQUIRED_VALIDATION_MESSAGE="Phone Number is required.",x.PHONE_NUMBER_FORMAT_VALIDATION_MESSAGE="Phone Number format is wrong.",x.IAM_REQUIRED_VALIDATION_MESSAGE="Please select an option.",x.HOME_ADDRESS_REQUIRED_VALIDATION_MESSAGE="Home Address is required.",x.ON_ERROR_OCCURRED="An error occurred while submitting the form. Please try again.",x.BUYER="A Buyer",x.SELLER="A Seller",x.BUYER_SELLER="A Buyer and Seller",x.BROKER="A Broker/Agent",x.PERIOD_1="Immediately",x.PERIOD_2="1 to 3 Months",x.PERIOD_3="3 to 6 Months",x.PERIOD_4="6 to 12 Months",x.PERIOD_5="12+ Months",x.DYNAMIC_VALUES_BUYER_MESSAGE_LABEL="Message",x.DYNAMIC_VALUES_BUYER_MESSAGE_PLACEHOLDER="Hello, I am interested in learning more about this property.",x.DYNAMIC_VALUES_BROKER_MESSAGE_PLACEHOLDER="Hello, I am interested in learning more about this buyer.",x.DYNAMIC_VALUES_SELLER_HOME_ADDRESS_LABEL="Home Address *",x.DYNAMIC_VALUES_SELLER_HOME_ADDRESS_PLACEHOLDER="Enter Home Address",x.DYNAMIC_VALUES_SELLER_APROXIMATE_VALUE_LABEL="Property's Approximate Value",x.DYNAMIC_VALUES_SELLER_TIME_FOR_SELLING_LABEL="Time Frame for Selling",x.DYNAMIC_VALUES_SELLER_TIME_FOR_SELLING_PLACEHOLDER="Please select a time frame",x.sellerBuyerSharedContent=[{label:x.DYNAMIC_VALUES_SELLER_HOME_ADDRESS_LABEL,type:"text",placeholder:x.DYNAMIC_VALUES_SELLER_HOME_ADDRESS_PLACEHOLDER},{label:x.DYNAMIC_VALUES_SELLER_APROXIMATE_VALUE_LABEL,type:"number",placeholder:""},{label:x.DYNAMIC_VALUES_SELLER_TIME_FOR_SELLING_LABEL,type:"select",placeholder:x.DYNAMIC_VALUES_SELLER_TIME_FOR_SELLING_PLACEHOLDER}],x.DYNAMIC_VALUES={buyer:[{label:x.DYNAMIC_VALUES_BUYER_MESSAGE_LABEL,type:"textarea",placeholder:x.DYNAMIC_VALUES_BUYER_MESSAGE_PLACEHOLDER}],seller:x.sellerBuyerSharedContent,"buyer-seller":x.sellerBuyerSharedContent,broker:[{label:x.DYNAMIC_VALUES_BUYER_MESSAGE_LABEL,type:"textarea",placeholder:x.DYNAMIC_VALUES_BROKER_MESSAGE_PLACEHOLDER}]};var A=x;var Cl=nativeEnumType(ga,{required_error:A.IAM_REQUIRED_VALIDATION_MESSAGE});objectType({firstName:stringType().min(2,{message:A.FIRST_NAME_REQUIRED_VALIDATION_MESSAGE}),emailAdress:stringType({required_error:A.EMAIL_ADDRESS_REQUIRED_VALIDATION_MESSAGE}).email({message:A.EMAIL_ADDRESS_FORMAT_VALIDATION_MESSAGE}),lastName:stringType().min(2,{message:A.LAST_NAME_REQUIRED_VALIDATION_MESSAGE}),phoneNumber:stringType().min(2,{message:A.PHONE_NUMBER_REQUIRED_VALIDATION_MESSAGE}),iam:Cl,agent:booleanType().optional(),agentName:stringType().optional(),dynamicValues:arrayType(objectType({homeAddress:stringType().min(2,{message:A.HOME_ADDRESS_REQUIRED_VALIDATION_MESSAGE}).optional(),value:stringType().optional()})).optional()});var i=class{static EQUITY_MORTGAGE_DETAILS_BANNER_DESCRIPTION(e,o,a,n,s){return `Public records show a ${e} year loan at ${o} for ${a} from ${n}, giving you an estimated loan balance of ${s}. All calculations on this report are based on these numbers, so we want to make sure we get this right!`}static HOW_CALCULATE_INFORMATION_DESCRIPTION(e,o,a,n){return `These numbers are all based on your ${a} year loan at ${e} for ${o} from ${n}.`}static PAY_LITTLE_EXTRA_DESCRIPTION(e,o,a,n){return `Based on your ${e} year loan at ${o} for ${a} from ${n}`}static PAY_LITTLE_EXTRA_EARLIER_MESSAGE(e){return `You would also be done with the loan and no longer making payments ${e} earlier!`}static REFINANCE_OPTIONS_LONG_TERM_MESSAGE(e){return `Long term ${e}`}static REFINANCE_OPTIONS_PAYMENT_PER_MONTH_DESCRIPTION(e,o){return `Payment may go ${e} by ${o}/mo`}static USING_YOUR_EQUITY_SUBTITLE(e){return `With your ${e} in equity, you could afford to`}static USING_EQUITY_BUY_NEW_HOME_DIALOG_HEADLINE(e,o){return `Using ${e} of your estimated equity, you could make a 20% down payment on a new house worth around ${o}.`}static USING_EQUITY_MONTHLY_PRINCIPAL_INTEREST(e,o){return `Your new monthly principal and interest payment on a 30-year mortgage at ${e} APR is estimated at ${o}/mo`}static USING_EQUITY_REMINDER(e,o){return `Reminder: You'll pay ${e}-${o} in fees and commissions when you sell your current home. This cost varies by agent, location, and company.`}static USING_EQUITY_SELL_CASH_HEADLINE(e){return `Are you ready to cash in on your equity? You could sell your home and pocket around ${e}.`}static USING_EQUITY_INVESMENT_PROPERTY_HEADLINE(e,o){return `You could use around ${e} of your equity as a 30% down payment on an investment home worth ${o}.`}static USING_EQUITY_EMERGENCY_FUND_DESCRIPTION_1(e,o){return `With your ${e} in equity, you could have about ${o} to work with depending on market rates, your current financial situation, home occupancy status, and refi goals. (And, it is smart to leave at least 25% of your equity in your home.)`}};i.ACTION_OK_BUTTON_LABEL="OK",i.DESCRIPTION_YEARS_LABEL="Years",i.YEAR=" year",i.PLURAL="s ",i.AND=" and ",i.MONTH=" month",i.RATE=" rate",i.HOME_GUIDE_URL="https://homeguide.com/costs/home-addition-cost",i.HOME_GUIDE="homeguide.com 2020",i.EL_ISSA="El Issa, 2019",i.EL_ISSA_URL="https://www.nerdwallet.com/blog/average-credit-card-debt-household/",i.TICAS="TICAS, Student Debt and the Class of 2018",i.TICAS_URL="https://ticas.org/wp-content/uploads/2019/09/classof2018.pdf",i.NO_DATA_AVAILABLE_LABEL="No Data Available",i.ACTION_BUTTON_BEST_OPTION_LABEL="Which option is best for me?",i.LEARN_MORE_LABEL="Learn more about this",i.EDIT_DETAILS_LABEL="Edit Details",i.WHY_PAY_MORE_LABEL="Why Pay More?",i.EARLY_LOAN_LABEL="Early Loan Payoff Information",i.ASK_AGENT_LABEL="Ask an Agent",i.CONFIGURATION_ERROR_LABEL="Configuration Error",i.CONFIGURATION_ERROR_KEY_EXPIRED_LABEL="Key is expired",i.EQUITY_MORTGAGE_DETAILS_HEADER_TITLE="Equity In Your Home",i.EQUITY_MORTGAGE_DETAILS_DESCRIPTION="Equity is your home's worth to you!",i.EQUITY_MORTGAGE_DETAILS_ALL_GOOD_BUTTON="All Good",i.EQUITY_MORTGAGE_DETAILS_BANNER_TITLE="Verify Your Mortgage Details",i.EQUITY_MORTGAGE_DETAILS_TITLE="Estimated Equity Today",i.EQUITY_MORTGAGE_DETAILS_HOW_CALCULATED="How is this calculated?",i.EQUITY_MORTGAGE_DETAILS_DISCLAIMER="Disclaimer",i.EDIT_MORTGAGE_DETAILS_FORM_TITLE="Edit Mortgage Info",i.EDIT_MORTGAGE_DETAILS_LOAN_START_DATE_LABEL="Loan Start Date",i.EDIT_MORTGAGE_DETAILS_LOAN_TERM_LABEL="Loan Term",i.EDIT_MORTGAGE_DETAILS_INTEREST_RATE_LABEL="Interest Rate",i.EDIT_MORTGAGE_DETAILS_ORIGINAL_LOAN_AMOUNT_LABEL="Original Loan Amount",i.EDIT_MORTGAGE_DETAILS_BALANCE_LABEL="Estimated Mortgage Balance",i.EDIT_MORTGAGE_DETAILS_DISCLAIMER_TEXT="This message is for information purposes only and is not an advertisement to extend customer credit as defined by Section 12 CFR 1026.2 Regulation Z. Program rates, terms, and conditions are subject to change at any time. All examples of potential mortgage products above are estimates for illustration purposes only. All programs and mortgage products are subject to borrower income, credit, and property approval. Not all borrowers will qualify. This is not an offer for extension of credit or a commitment to lend. Home valuations are estimates purchased from a third-party data provider. Actual appraised value at the time of a transaction may vary. Equal Housing Lender. Interest rates used are based on a reasonably current index and margin from the Freddie Mac Primary Mortgage Market Survey.",i.HOW_CALCULATE_TITLE="How Is My Net Worth Calculated?",i.HOW_CALCULATE_DESCRIPTION='Your net worth ("equity") is made up of two things.',i.HOW_CALCULATE_HOME_VALUE_LABEL="Home Value",i.HOW_CALCULATE_LOAN_BALANCE_LABEL="Loan Balance",i.HOW_CALCULATE_YOUR_NET_WORTH_LABEL="Your Net Worth",i.HOW_CALCULATE_INFORMATION_SUBTITLE="Where does this information come from?",i.HOW_CALCULATE_NOTE_DESCRIPTION="Note: Only the first lien mortgage and resale are used to calculate the balance of your loan.",i.PAY_LITTLE_EXTRA_HEADER_TITLE="Pay A Little Extra",i.PAY_LITTLE_EXTRA_SUBTITLE="How much more can you pay per month?",i.PAY_LITTLE_EXTRA_CALCULATION_IF_YOU_PAY="If you pay just ",i.PAY_LITTLE_EXTRA_CALCULATION_MORE=" more each month, you could save",i.PAY_LITTLE_EXTRA_CALCULATION_DESCRIPTION="in interest over the rest of your loan",i.PAY_LITTLE_EXTRA_INFO_DESCRIPTION="You would also be done with the loan and no longer making payments 10 years and 2 months earlier!",i.PAY_LITTLE_EXTRA_PAYING_EXTRA="Paying extra can be an easy way to save.",i.PAY_LITTLE_EXTRA_PAYING_EXTRA_DESCRIPTION="Your mortgage payment is typically defined as your principal and interest payment. When you pay extra on your principal balance, you can reduce the amount of your loan and save money on interest.",i.PAY_LITTLE_EXTRA_PAYING_EXTRA_BEST_PART="The best part is that there's no paperwork, fees or headaches.",i.PAY_LITTLE_EXTRA_PAYING_EXTRA_IMPORTANT_TIP="*Important Tip* ",i.PAY_LITTLE_EXTRA_PAYING_EXTRA_IMPORTANT_TIP_DESCRIPTION="contact your mortgage servicer to indicate your extra payment is for principal reduction (to ensure it is not accidentally applied to an extra payment, extra interest, or towards escrow).",i.PAY_LITTLE_EXTRA_LENGTH_LOAN_REMAIN_MESSAGE="The length of your loan would remain unchanged with this extra payment.",i.CONTACT_AGENT_TITLE="We Might Have The Perferct Buyer For Your Home",i.CONTACT_AGENT_DESCRIPTION="Click the button and we'll look though our buyer database for you.",i.REFINANCE_OPTIONS_HEADER_TITLE="Refinance Options",i.REFINANCE_OPTIONS_HEADER_SUBTITLE="With a refinance of your loan, you could save",i.REFINANCE_OPTIONS_LEARN_MORE_DESCRIPTION=`
67160
67160
  All loans are subject to credit approval. Interest rates are subject to
67161
67161
  change daily and without notice. Current interest rates shown are
67162
67162
  indicative of market conditions and individual qualifications and will
@@ -67168,9 +67168,9 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
67168
67168
  nightly with the previous day's locks. Contact a loan officer for the
67169
67169
  most up-to-date rates with specific loan quote details, and check
67170
67170
  current market.
67171
- `,i.REFINANCE_OPTIONS_FIFTEEN_YEAR_FIXED_LABEL="15 Year Fixed",i.REFINANCE_OPTIONS_THIRTY_YEAR_FIXED_LABEL="30 Year Fixed",i.REFINANCE_OPTIONS_NO_SAVINGS_MESSAGE="No net loss or savings",i.REFINANCE_OPTIONS_LOSS_LABEL="loss",i.REFINANCE_OPTIONS_SAVINGS_LABEL="savings",i.REFINANCE_OPTIONS_PAYMENTS_NOCHANGE_MESSAGE="Payment will not change",i.REFINANCE_OPTIONS_NO_CHANGE_LABEL="No Change",i.REFINANCE_OPTIONS_GO_UP_LABEL="Go Up",i.REFINANCE_OPTIONS_GO_DOWN_LABEL="Go Down",i.REFINANCE_OPTIONS_UP_LABEL="up",i.REFINANCE_OPTIONS_DOWN_LABEL="down",i.USING_YOUR_EQUITY_HEADER_TITLE="Using Your Equity",i.USING_EQUITY_BUY_NEW_HOME="Buy a new home",i.USING_EQUITY_GET_MORE_SQUARE_FOOTAGE="Get more square footage, a larger yard, or switch neighborhoods - you have options!",i.USING_EQUITY_SELL_CASH_DESCRIPTION_1="You may be exempt from capital gains taxes if you've owned and lived in the home for at least two out of the last five years.",i.USING_EQUITY_SELL_CASH_DESCRIPTION_2="Up to $250,000 in profit may be tax-free for unmarried individuals and up to $500,000 for married couples.",i.USING_EQUITY_SELL_CASH_DESCRIPTION_3="You could also downsize into a cheaper home using a portion of your equity and save the rest.",i.USING_EQUITY_CONSULT_TAX_ADVISOR="Always consult a professional tax advisor to understand implications for your specific situation.",i.USING_EQUITY_RENTAL_INCOME="Possibly use rental income to cover some or all of your new mortgage payment.",i.USING_EQUITY_EXPENSES_DEDUCTED="Consult your professional tax advisor to see if expenses related to this property can be deducted.",i.USING_EQUITY_LANDLORD="Consider if you have time to be a landlord (or if you should hire a property manager).",i.USING_EQUITY_CONSULT_A_LOAN_OFFICER="Consult a loan officer",i.USING_EQUITY_BUY_INVESMENT_PROPERTY="Buy an investment property",i.USING_EQUITY_INVESMENT_PROPERTY="Investment Property",i.USING_EQUITY_SELL_CASH="Sell & pocket cash",i.USING_EQUITY_HOME_IMPROVEMENTS="Make home improvements",i.USING_EQUITY_LIVABLE_SPACE="Add more livable space",i.USING_EQUITY_EMERGENCY_FUND="Create emergency fund",i.USING_EQUITY_CREDIT_CARD_DEBT="Eliminate credit card debt",i.USING_EQUITY_VACATION="Splurge on a dream vacation",i.USING_EQUITY_STUDENT_LOANS="Pay down student loans",i.USING_EQUITY_HOME_INPROVEMENTS_HEADLINE="Renovations can make us happier in the place we call home and using equity is a great way to let your home pay for its own improvements. To ensure you're choosing a project that will yield a return on investment, consult a loan officer or real estate expert.",i.USING_EQUITY_HOME_INPROVEMENTS_TAX_DEDUCTIBLE="Equity used for home improvements is still tax-deductible in many cases. (Always consult a professional tax advisor)",i.USING_EQUITY_HOME_INPROVEMENTS_GARAGE_DOOR="The highest value improvements are garage door replacement (and other curb appeal projects), minor kitchen remodels, and universal bathroom remodels.",i.USING_EQUITY_HOME_INPROVEMENTS_GARAGE_SUNROOM="The lowest value improvements are sunroom, swimming pools, and bathroom additions.",i.USING_EQUITY_HOME_INPROVEMENTS_GARAGE_SOURCE="Source: HGTV.",i.USING_EQUITY_EMERGENCY_FUND_HEADLINE="During uncertain times, you still have some things within your control. Having access to 6-12 months of living expenses can prepare you for whatever happens next. ",i.USING_EQUITY_EMERGENCY_FUND_DESCRIPTION_2="A cash-out refi or second loan can give you easy access to cash for when you need it most.",i.USING_EQUITY_EMERGENCY_FUND_DESCRIPTION_3="Make sure to stay disciplined and only use the money for true emergencies.",i.USING_EQUITY_LIVABLE_SPACE_HEADLINE="The average cost to build a home addition or add a room is $48,000, with most homeowners spending between $22,500 and $74,000.",i.USING_EQUITY_LIVABLE_SPACE_DESCRIPTION_1='"The majority of additions add value and offer a 50% return on investment." ',i.USING_EQUITY_LIVABLE_SPACE_DESCRIPTION_2="If local ordinances allow it could be used as a rental.",i.USING_EQUITY_LIVABLE_SPACE_DESCRIPTION_3="Qualifies as a home improvement so equity interest is tax-deductible.",i.USING_EQUITY_STUDENT_LOANS_HEADLINE="Borrowers from the Class of 2018 owed an average of $29,200, a 2 percent increase from the average of $28,650 in 2017. Using equity to pay off your loans could be an option as long as you understand the associated risks. ",i.USING_EQUITY_STUDENT_LOANS_DESCRIPTION_1="Home equity rates are often (but not always) less than student loans.",i.USING_EQUITY_STUDENT_LOANS_DESCRIPTION_2="Paying off student loans is a great way to establish credit history.",i.USING_EQUITY_STUDENT_LOANS_DESCRIPTION_3="Equity lines and loans use your house as collateral and may disqualify you from many student debt forgiveness or cancellation programs.",i.USING_EQUITY_CREDIT_DEBT_HEADLINE="The average U.S. household with revolving credit card debt has an estimated balance of $6,849 as of September 2019 [2], costing an average of $1,162 in annual interest [3]. ",i.USING_EQUITY_CREDIT_DEBT_DESCRIPTION_1="Home equity rates are often substantially lower than those on credit cards",i.USING_EQUITY_CREDIT_DEBT_DESCRIPTION_2="You can consolidate multiple high-interest balances into a single monthly payment and potentially improve your monthly cash flow.",i.USING_EQUITY_CREDIT_DEBT_DESCRIPTION_3="Be disciplined and create a short-term plan to pay off this debt because your house is used as collateral.",i.USING_EQUITY_VACATION_HEADLINE="Using home equity on your dream vacation is not a wise financial decision. Focus your home equity on wealth building activities or paying down debt. If you really want that dream vacation to the Maldives, plan ahead and put some savings aside each month. Try these options instead:",i.LOAN_AMOUNT_CANNOT_EXCEED="The remaining loan amount cannot exceed the initial loan principal.",i.VALUE_GREATER_THAN_ZERO="The value must be greater than 0.",i.EXCELENT_INVESTMENT="Excellent Investment",i.MODERATE_INVESTMENT="Moderate Investment",i.POOR_INVESTMENT="Poor Investment",i.EXCELENT_INVESTMENT_DESCRIPTION="High potential, recommended for consideration.",i.MODERATE_INVESTMENT_DESCRIPTION="Average potential, consider with caution.",i.POOR_INVESTMENT_DESCRIPTION="Low potential, strongly advised to avoid.";function $e({children:t}){return React__namespace.createElement("div",{className:r("flex justify-center w-full")},t)}function Or({trigger:t,content:e,title:o,asChild:a=!1,actionButtomLabel:n=i.ACTION_OK_BUTTON_LABEL}){return React__namespace.createElement(rr,null,React__namespace.createElement(ar,{asChild:a},t),React__namespace.createElement(xo,{className:r("flex flex-col gap-2 p-6","h-screen lg:h-auto md:h-auto overflow-y-auto")},o&&React__namespace.createElement(No,null,o),e,React__namespace.createElement(To,null,React__namespace.createElement(Po,null,n))))}function Hr({title:t,infoTitle:e,icon:o,infoDescription:a,titleDescription:n,showInfo:s=!0}){let p=React__namespace.cloneElement(o,{className:"w-6 h-6"});return React__namespace.createElement("div",{className:r("flex flex-col items-start")},React__namespace.createElement("div",{className:r("flex flex-row items-center gap-1")},React__namespace.createElement("div",{className:r("flex flex-col items-center bg-slate-50 rounded-[100px] p-2")},p),React__namespace.createElement("h3",{className:r("font-semibold leading-8 text-xl md:text-2xl lg:text-2xl text-gray-700")},t),s&&React__namespace.createElement(Or,{asChild:!0,title:e,trigger:React__namespace.createElement(Info,{className:r("w-5 h-5 text-gray-400")}),content:a})),n&&React__namespace.createElement("p",{className:r("text-gray-400 ml-[50px] text-xs md:text-sm lg:text-sm")},n))}function ze({icon:t,infoDescription:e,title:o,titleDescription:a,infoTitle:n,actions:s,showInfo:p=!0}){return React__namespace.createElement("div",{className:r("flex flex-col md:flex-row lg:flex-row justify-between items-stretch py-3 shadow-sm ")},React__namespace.createElement(Hr,{title:o,titleDescription:a,infoTitle:n,icon:t,infoDescription:e,showInfo:p}),s&&s)}var We=({clientKey:t,apiKey:e})=>{let[o,a]=React__namespace.useState(!0),[n,s]=React__namespace.useState(),p=!!t;React__namespace.useEffect(()=>{async function l(){let c=await lo({clientKey:t});s(c);}!n?.token&&t&&l();},[n]);let m=React__namespace.useCallback(async l=>{let{url:c,requestInit:b}=l,{headers:I,...T}=b??{},S=n,U={"Content-Type":"application/json",...S?.token&&{Authorization:`Bearer ${S?.token}`},...e&&{"x-api-key":e},...I};try{if(p&&!n?.token||!p&&!e)return;a(!0),!n?.token&&t&&(S=await lo({clientKey:t}));let _=await(await fetch(c,{headers:U,...T})).json();return a(!1),S?.token&&s(S),_}catch(A){console.error(`Error requesting ${c}`,A);return}finally{a(!1);}},[n,t,e]);return {isLoading:o,tokens:n,request:m,isExternal:p}};var zr="AIzaSyCDNlq-LeVQGoubUXL_a8p6LYPXR5Bjs_Q";function as({apiKey:t,mapOptions:e,geoJsonLayerInput:o,markers:a,markersIcon:n,markerEvents:s}){let p=React__namespace.useRef(null),[m,l]=React__namespace.useState(null),[c,b]=React__namespace.useState(!1);React__namespace.useEffect(()=>{p.current&&new Loader({apiKey:t??zr}).importLibrary("maps").then(()=>{e.center||(e.center={lat:39.8283,lng:-98.5795}),p.current&&I(p.current,e);});},[]);let I=(A,_)=>{l(new window.google.maps.Map(A,{..._,zoomControlOptions:{position:google.maps.ControlPosition.TOP_RIGHT}})),o&&U(o),S(a),b(!0);},T=(A,_)=>{m&&(m.setCenter(A),m.setZoom(_));},S=(A,_,x)=>{if(!m||!A)return;let f=new google.maps.LatLngBounds;A.forEach((h,k)=>{f.extend(new google.maps.LatLng(h.lat,h.lng));let C=new google.maps.Marker({position:{lat:h.lat,lng:h.lng},map:m,icon:h.icon??n,label:h.label});s&&s(k,C);}),m.setCenter(f.getCenter()),m.setZoom(_??3),x&&new window.google.maps.Marker({position:f.getCenter(),map:m,icon:x});},U=({center:A,geoJson:_})=>{if(!m||!_)return;A&&(m.setCenter(A),new window.google.maps.Marker({position:A,map:m}));let x=new window.google.maps.Data;x.addGeoJson(_),x.setStyle(f=>({fillColor:f.getProperty("color")??"#FFFFCC",strokeWeight:1,fillOpacity:.5,strokeColor:"white"})),x.setMap(m);};return {mapRef:p,setGeojson:U,setMarkers:S,zoomHandler:T,isMapReady:c}}var ft=as;function ut({message:t=i.NO_DATA_AVAILABLE_LABEL,mapHeight:e="420px"}){let o="text-gray-500";return React.createElement("div",{className:"absolute top-0 left-0 w-full h-full rounded-lg flex flex-col justify-center items-center",style:{maxHeight:e,height:e,backgroundColor:"rgb(255 255 255 / 0.6)"}},React.createElement(XOctagon,{strokeWidth:.4,size:96,className:r(o)}),React.createElement("p",{className:r(o)},t))}var jr=["#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],Wr="https://api.liberty.percyai.io/location/v1/heatmap";function Qr(){return React__namespace.createElement("div",{className:r("absolute top-4 left-4 bg-white bg-opacity-70 p-2 shadow-lg flex flex-col")},React__namespace.createElement("div",{className:r("flex justify-between")},React__namespace.createElement("div",{className:r("text-left text-xs")},"Active"),React__namespace.createElement("div",{className:r("text-right text-xs")},"Very Active")),React__namespace.createElement("div",{className:r("flex flex-col items-center space-y-2")},React__namespace.createElement("div",{className:r("flex")},jr.map((t,e)=>React__namespace.createElement("div",{key:e,className:r("w-4 h-4"),style:{backgroundColor:t}})))))}function vf({zipcode:t,url:e=Wr,zoomLevel:o=10,zoomControl:a=!0,googleApiKey:n,clientKey:s,apiKey:p,height:m="420px"}){let[l,c]=React__namespace.useState(!1),{request:b,isLoading:I,tokens:T}=We({clientKey:s,apiKey:p}),S=React__namespace.useMemo(()=>({zoom:o,draggable:!1,scrollwheel:!1,fullscreenControl:!1,gestureHandling:"none",zoomControl:a,mapId:""}),[o,a]),{mapRef:U,setGeojson:A,isMapReady:_}=ft({mapOptions:S,apiKey:n});return React__namespace.useEffect(()=>{let x=!0;async function f(){let h=E(T?.meta,"color");if(t&&e&&x&&_){let k=new URL(e);k.searchParams.set("zipcode",t),h?.value&&k.searchParams.set("colors",h?.value);try{let C=await b({url:k.toString()});C?.data||c(!0),C&&x&&A(C.data);}catch(C){console.error("Error fetching heatmap data:",C);}}}return _&&f(),()=>{x=!1;}},[s,p,_]),React__namespace.createElement("div",{className:r("flex flex-col bg-white")},React__namespace.createElement(ze,{title:"Heat Map",infoDescription:"The best way to visualize the distribution of data in a geographical area.",infoTitle:"Heat Map",icon:React__namespace.createElement(MapPin,null)}),React__namespace.createElement($e,null,React__namespace.createElement("div",{className:r("w-full justify-center m-3 lg:m-8 md:m-8")},React__namespace.createElement("div",{className:r("relative rounded-lg overflow-hidden w-full",{"animate-pulse rounded-lg bg-primary/10":I}),style:{maxHeight:m,height:m}},React__namespace.createElement("div",{ref:U,className:r("w-full h-full")}),React__namespace.createElement(Qr,null),l&&React__namespace.createElement(ut,null)))))}format$1(new Date,"yyyy-MM-dd");format$1(new Date,"yyyy-MM-dd");
67171
+ `,i.REFINANCE_OPTIONS_FIFTEEN_YEAR_FIXED_LABEL="15 Year Fixed",i.REFINANCE_OPTIONS_THIRTY_YEAR_FIXED_LABEL="30 Year Fixed",i.REFINANCE_OPTIONS_NO_SAVINGS_MESSAGE="No net loss or savings",i.REFINANCE_OPTIONS_LOSS_LABEL="loss",i.REFINANCE_OPTIONS_SAVINGS_LABEL="savings",i.REFINANCE_OPTIONS_PAYMENTS_NOCHANGE_MESSAGE="Payment will not change",i.REFINANCE_OPTIONS_NO_CHANGE_LABEL="No Change",i.REFINANCE_OPTIONS_GO_UP_LABEL="Go Up",i.REFINANCE_OPTIONS_GO_DOWN_LABEL="Go Down",i.REFINANCE_OPTIONS_UP_LABEL="up",i.REFINANCE_OPTIONS_DOWN_LABEL="down",i.USING_YOUR_EQUITY_HEADER_TITLE="Using Your Equity",i.USING_EQUITY_BUY_NEW_HOME="Buy a new home",i.USING_EQUITY_GET_MORE_SQUARE_FOOTAGE="Get more square footage, a larger yard, or switch neighborhoods - you have options!",i.USING_EQUITY_SELL_CASH_DESCRIPTION_1="You may be exempt from capital gains taxes if you've owned and lived in the home for at least two out of the last five years.",i.USING_EQUITY_SELL_CASH_DESCRIPTION_2="Up to $250,000 in profit may be tax-free for unmarried individuals and up to $500,000 for married couples.",i.USING_EQUITY_SELL_CASH_DESCRIPTION_3="You could also downsize into a cheaper home using a portion of your equity and save the rest.",i.USING_EQUITY_CONSULT_TAX_ADVISOR="Always consult a professional tax advisor to understand implications for your specific situation.",i.USING_EQUITY_RENTAL_INCOME="Possibly use rental income to cover some or all of your new mortgage payment.",i.USING_EQUITY_EXPENSES_DEDUCTED="Consult your professional tax advisor to see if expenses related to this property can be deducted.",i.USING_EQUITY_LANDLORD="Consider if you have time to be a landlord (or if you should hire a property manager).",i.USING_EQUITY_CONSULT_A_LOAN_OFFICER="Consult a loan officer",i.USING_EQUITY_BUY_INVESMENT_PROPERTY="Buy an investment property",i.USING_EQUITY_INVESMENT_PROPERTY="Investment Property",i.USING_EQUITY_SELL_CASH="Sell & pocket cash",i.USING_EQUITY_HOME_IMPROVEMENTS="Make home improvements",i.USING_EQUITY_LIVABLE_SPACE="Add more livable space",i.USING_EQUITY_EMERGENCY_FUND="Create emergency fund",i.USING_EQUITY_CREDIT_CARD_DEBT="Eliminate credit card debt",i.USING_EQUITY_VACATION="Splurge on a dream vacation",i.USING_EQUITY_STUDENT_LOANS="Pay down student loans",i.USING_EQUITY_HOME_INPROVEMENTS_HEADLINE="Renovations can make us happier in the place we call home and using equity is a great way to let your home pay for its own improvements. To ensure you're choosing a project that will yield a return on investment, consult a loan officer or real estate expert.",i.USING_EQUITY_HOME_INPROVEMENTS_TAX_DEDUCTIBLE="Equity used for home improvements is still tax-deductible in many cases. (Always consult a professional tax advisor)",i.USING_EQUITY_HOME_INPROVEMENTS_GARAGE_DOOR="The highest value improvements are garage door replacement (and other curb appeal projects), minor kitchen remodels, and universal bathroom remodels.",i.USING_EQUITY_HOME_INPROVEMENTS_GARAGE_SUNROOM="The lowest value improvements are sunroom, swimming pools, and bathroom additions.",i.USING_EQUITY_HOME_INPROVEMENTS_GARAGE_SOURCE="Source: HGTV.",i.USING_EQUITY_EMERGENCY_FUND_HEADLINE="During uncertain times, you still have some things within your control. Having access to 6-12 months of living expenses can prepare you for whatever happens next. ",i.USING_EQUITY_EMERGENCY_FUND_DESCRIPTION_2="A cash-out refi or second loan can give you easy access to cash for when you need it most.",i.USING_EQUITY_EMERGENCY_FUND_DESCRIPTION_3="Make sure to stay disciplined and only use the money for true emergencies.",i.USING_EQUITY_LIVABLE_SPACE_HEADLINE="The average cost to build a home addition or add a room is $48,000, with most homeowners spending between $22,500 and $74,000.",i.USING_EQUITY_LIVABLE_SPACE_DESCRIPTION_1='"The majority of additions add value and offer a 50% return on investment." ',i.USING_EQUITY_LIVABLE_SPACE_DESCRIPTION_2="If local ordinances allow it could be used as a rental.",i.USING_EQUITY_LIVABLE_SPACE_DESCRIPTION_3="Qualifies as a home improvement so equity interest is tax-deductible.",i.USING_EQUITY_STUDENT_LOANS_HEADLINE="Borrowers from the Class of 2018 owed an average of $29,200, a 2 percent increase from the average of $28,650 in 2017. Using equity to pay off your loans could be an option as long as you understand the associated risks. ",i.USING_EQUITY_STUDENT_LOANS_DESCRIPTION_1="Home equity rates are often (but not always) less than student loans.",i.USING_EQUITY_STUDENT_LOANS_DESCRIPTION_2="Paying off student loans is a great way to establish credit history.",i.USING_EQUITY_STUDENT_LOANS_DESCRIPTION_3="Equity lines and loans use your house as collateral and may disqualify you from many student debt forgiveness or cancellation programs.",i.USING_EQUITY_CREDIT_DEBT_HEADLINE="The average U.S. household with revolving credit card debt has an estimated balance of $6,849 as of September 2019 [2], costing an average of $1,162 in annual interest [3]. ",i.USING_EQUITY_CREDIT_DEBT_DESCRIPTION_1="Home equity rates are often substantially lower than those on credit cards",i.USING_EQUITY_CREDIT_DEBT_DESCRIPTION_2="You can consolidate multiple high-interest balances into a single monthly payment and potentially improve your monthly cash flow.",i.USING_EQUITY_CREDIT_DEBT_DESCRIPTION_3="Be disciplined and create a short-term plan to pay off this debt because your house is used as collateral.",i.USING_EQUITY_VACATION_HEADLINE="Using home equity on your dream vacation is not a wise financial decision. Focus your home equity on wealth building activities or paying down debt. If you really want that dream vacation to the Maldives, plan ahead and put some savings aside each month. Try these options instead:",i.LOAN_AMOUNT_CANNOT_EXCEED="The remaining loan amount cannot exceed the initial loan principal.",i.VALUE_GREATER_THAN_ZERO="The value must be greater than 0.",i.EXCELENT_INVESTMENT="Excellent Investment",i.MODERATE_INVESTMENT="Moderate Investment",i.POOR_INVESTMENT="Poor Investment",i.EXCELENT_INVESTMENT_DESCRIPTION="High potential, recommended for consideration.",i.MODERATE_INVESTMENT_DESCRIPTION="Average potential, consider with caution.",i.POOR_INVESTMENT_DESCRIPTION="Low potential, strongly advised to avoid.";function be({children:t}){return React__namespace.createElement("div",{className:r("flex justify-center w-full")},t)}function st({trigger:t,content:e,title:o,asChild:a=!1,actionButtomLabel:n=i.ACTION_OK_BUTTON_LABEL}){return React__namespace.createElement(wa,null,React__namespace.createElement(Da,{asChild:a},t),React__namespace.createElement(Vr,{className:r("flex flex-col gap-2 p-6","h-screen lg:h-auto md:h-auto overflow-y-auto")},o&&React__namespace.createElement(Gr,null,o),e,React__namespace.createElement(Yr,null,React__namespace.createElement(qr,null,n))))}function si({title:t,infoTitle:e,icon:o,infoDescription:a,titleDescription:n,showInfo:s=!0}){let c=React__namespace.cloneElement(o,{className:"w-6 h-6"});return React__namespace.createElement("div",{className:r("flex flex-col items-start")},React__namespace.createElement("div",{className:r("flex flex-row items-center gap-1")},React__namespace.createElement("div",{className:r("flex flex-col items-center bg-slate-50 rounded-[100px] p-2")},c),React__namespace.createElement("h3",{className:r("font-semibold leading-8 text-xl md:text-2xl lg:text-2xl text-gray-700")},t),s&&React__namespace.createElement(st,{asChild:!0,title:e,trigger:React__namespace.createElement(Info,{className:r("w-5 h-5 text-gray-400")}),content:a})),n&&React__namespace.createElement("p",{className:r("text-gray-400 ml-[50px] text-xs md:text-sm lg:text-sm")},n))}function Ne({icon:t,infoDescription:e,title:o,titleDescription:a,infoTitle:n,actions:s,showInfo:c=!0,showActions:m=!1}){return React__namespace.createElement("div",{className:r("flex flex-col md:flex-row lg:flex-row justify-between items-stretch py-3 shadow-sm pr-1 ")},React__namespace.createElement(si,{title:o,titleDescription:a,infoTitle:n,icon:t,infoDescription:e,showInfo:c}),m&&s&&s)}var pe=({clientKey:t,apiKey:e,loadingInitialState:o="loading"})=>{let[a,n]=React__namespace.useState(()=>o==="loading"),[s,c]=React__namespace.useState(),m=!!t;React__namespace.useEffect(()=>{async function d(){let p=await Sr({clientKey:t});c(p);}!s?.token&&t&&d();},[s]);let l=React__namespace.useCallback(async d=>{let{url:p,requestInit:u}=d,{headers:f,...y}=u??{},N=s,R={"Content-Type":"application/json",...N?.token&&{Authorization:`Bearer ${N?.token}`},...e&&{"x-api-key":e},...f};try{if(m&&!s?.token||!m&&!e)return;n(!0),!s?.token&&t&&(N=await Sr({clientKey:t}));let E=await(await fetch(p,{headers:R,...y})).json();return n(!1),N?.token&&c(N),E}catch(v){console.error(`Error requesting ${p}`,v);return}finally{n(!1);}},[s,t,e]);return {isLoading:a,tokens:s,request:l,isExternal:m}};var gi="AIzaSyCDNlq-LeVQGoubUXL_a8p6LYPXR5Bjs_Q";function Gl({apiKey:t,mapOptions:e,geoJsonLayerInput:o,markers:a,markersIcon:n,markerEvents:s}){let c=React__namespace.useRef(null),[m,l]=React__namespace.useState(null),[d,p]=React__namespace.useState(!1);React__namespace.useEffect(()=>{c.current&&new Loader({apiKey:t??gi}).importLibrary("maps").then(()=>{e.center||(e.center={lat:39.8283,lng:-98.5795}),c.current&&u(c.current,e);});},[]);let u=(R,v)=>{l(new window.google.maps.Map(R,{...v,zoomControlOptions:{position:google.maps.ControlPosition.TOP_RIGHT}})),o&&N(o),y(a),p(!0);},f=(R,v)=>{m&&(m.setCenter(R),m.setZoom(v));},y=(R,v,E)=>{if(!m||!R)return;let g=new google.maps.LatLngBounds;R.forEach((h,P)=>{g.extend(new google.maps.LatLng(h.lat,h.lng));let _=new google.maps.Marker({position:{lat:h.lat,lng:h.lng},map:m,icon:h.icon??n,label:h.label});s&&s(P,_);}),m.setCenter(g.getCenter()),m.setZoom(v??3),E&&new window.google.maps.Marker({position:g.getCenter(),map:m,icon:E});},N=({center:R,geoJson:v})=>{if(!m||!v)return;R&&(m.setCenter(R),new window.google.maps.Marker({position:R,map:m}));let E=new window.google.maps.Data;E.addGeoJson(v),E.setStyle(g=>({fillColor:g.getProperty("color")??"#FFFFCC",strokeWeight:1,fillOpacity:.5,strokeColor:"white"})),E.setMap(m);};return {mapRef:c,setGeojson:N,setMarkers:y,zoomHandler:f,isMapReady:d}}var ho=Gl;function xo({message:t=i.NO_DATA_AVAILABLE_LABEL,mapHeight:e="420px"}){let o="text-gray-500";return React.createElement("div",{className:"absolute top-0 left-0 w-full h-full rounded-lg flex flex-col justify-center items-center",style:{maxHeight:e,height:e,backgroundColor:"rgb(255 255 255 / 0.6)"}},React.createElement(XOctagon,{strokeWidth:.4,size:96,className:r(o)}),React.createElement("p",{className:r(o)},t))}var Ei=["#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],hi="https://api.liberty.percyai.io/location/v1/heatmap";function xi(){return React__namespace.createElement("div",{className:r("absolute top-4 left-4 bg-white bg-opacity-70 p-2 shadow-lg flex flex-col")},React__namespace.createElement("div",{className:r("flex justify-between")},React__namespace.createElement("div",{className:r("text-left text-xs")},"Active"),React__namespace.createElement("div",{className:r("text-right text-xs")},"Very Active")),React__namespace.createElement("div",{className:r("flex flex-col items-center space-y-2")},React__namespace.createElement("div",{className:r("flex")},Ei.map((t,e)=>React__namespace.createElement("div",{key:e,className:r("w-4 h-4"),style:{backgroundColor:t}})))))}function Mg({zipcode:t,url:e=hi,zoomLevel:o=10,zoomControl:a=!0,googleApiKey:n,clientKey:s,apiKey:c,height:m="420px"}){let[l,d]=React__namespace.useState(!1),{request:p,isLoading:u,tokens:f,isExternal:y}=pe({clientKey:s,apiKey:c}),N=React__namespace.useMemo(()=>({zoom:o,draggable:!1,scrollwheel:!1,fullscreenControl:!1,gestureHandling:"none",zoomControl:a,mapId:""}),[o,a]),{mapRef:R,setGeojson:v,isMapReady:E}=ho({mapOptions:N,apiKey:n});return React__namespace.useEffect(()=>{let g=!0;async function h(){let P=T(f?.meta,"color");if(t&&e&&g&&E){let _=new URL(e);_.searchParams.set("zipcode",t),P?.value&&_.searchParams.set("colors",P?.value);try{let b=await p({url:_.toString()});(!y&&!b?.data||f&&y&&!b?.data)&&d(!0),b&&g&&v(b.data);}catch(b){console.error("Error fetching heatmap data:",b);}}}return E&&h(),()=>{g=!1;}},[s,c,f,E]),React__namespace.createElement("div",{className:r("flex flex-col bg-white")},React__namespace.createElement(Ne,{title:"Heat Map",infoDescription:"The best way to visualize the distribution of data in a geographical area.",infoTitle:"Heat Map",icon:React__namespace.createElement(MapPin,null)}),React__namespace.createElement(be,null,React__namespace.createElement("div",{className:r("w-full justify-center m-3 lg:m-8 md:m-8")},React__namespace.createElement("div",{className:r("relative rounded-lg overflow-hidden w-full",{"animate-pulse rounded-lg bg-primary/10":u}),style:{maxHeight:m,height:m}},React__namespace.createElement("div",{ref:R,className:r("w-full h-full")}),React__namespace.createElement(xi,null),l&&React__namespace.createElement(xo,null)))))}format$1(new Date,"yyyy-MM-dd");format$1(new Date,"yyyy-MM-dd");React$1.forwardRef(({linkTextColor:t="text-gray-500",icon:e,text:o},a)=>React$1.createElement("div",{ref:a,className:r("flex flex-row items-center gap-2")},e&&React$1.cloneElement(e,{className:r("h-4 w-4",t,e.props.className)}),React$1.createElement("p",{className:r("text-sm hover:cursor-pointer",t)},o)));
67172
67172
 
67173
- var t=p$b(vf,{props:{zipcode:"string",url:"string",zoomLevel:"number",zoomControl:"boolean",googleApiKey:"string",clientKey:"string",apiKey:"string"}});customElements&&customElements.define("heat-map",t);
67173
+ var t=p$b(Mg,{props:{zipcode:"string",url:"string",zoomLevel:"number",zoomControl:"boolean",googleApiKey:"string",clientKey:"string",apiKey:"string"}});customElements&&customElements.define("heat-map",t);
67174
67174
 
67175
67175
  }));
67176
67176
  //# sourceMappingURL=heatmap.js.map