@texturehq/edges 1.17.2 → 1.18.1

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.
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
- 'use strict';var reactAriaComponents=require('react-aria-components'),ir=require('react'),fileSaver=require('file-saver'),Hf=require('papaparse'),Zf=require('fuse.js'),reactVirtual=require('@tanstack/react-virtual'),jsxRuntime=require('react/jsx-runtime'),luxon=require('luxon'),tailwindMerge=require('tailwind-merge'),Gg=require('@phosphor-icons/react'),reactStately=require('react-stately'),lucideReact=require('lucide-react'),Kh=require('react-ace'),curve=require('@visx/curve'),shape=require('@visx/shape'),framerMotion=require('framer-motion'),axis=require('@visx/axis'),scale=require('@visx/scale'),d3Array=require('d3-array'),responsive=require('@visx/responsive'),zoom=require('@visx/zoom'),brush=require('@visx/brush'),pattern=require('@visx/pattern'),gradient=require('@visx/gradient'),o2=require('react-map-gl'),reactDom=require('react-dom'),m1=require('@tiptap/extension-link'),react=require('@tiptap/react'),menus=require('@tiptap/react/menus'),x1=require('@tiptap/starter-kit');var _documentCurrentScript=typeof document!=='undefined'?document.currentScript:null;function _interopDefault(e){return e&&e.__esModule?e:{default:e}}function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var ir__namespace=/*#__PURE__*/_interopNamespace(ir);var Hf__default=/*#__PURE__*/_interopDefault(Hf);var Zf__default=/*#__PURE__*/_interopDefault(Zf);var Gg__namespace=/*#__PURE__*/_interopNamespace(Gg);var Kh__default=/*#__PURE__*/_interopDefault(Kh);var o2__default=/*#__PURE__*/_interopDefault(o2);var m1__default=/*#__PURE__*/_interopDefault(m1);var x1__default=/*#__PURE__*/_interopDefault(x1);var Bf=Object.defineProperty;var Vf=(e,t,r)=>t in e?Bf(e,t,{enumerable:true,configurable:true,writable:true,value:r}):e[t]=r;var Zo=(e,t,r)=>Vf(e,typeof t!="symbol"?t+"":t,r);function Mt(e,t=false){let[r,o]=ir.useState(t);return ir.useEffect(()=>{if(typeof window>"u")return;let n=window.matchMedia(e);o(n.matches);let a=i=>{o(i.matches);};return n.addEventListener("change",a),()=>{n.removeEventListener("change",a);}},[e]),r}var Rr={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"};function bo(e="base"){let t=Mt(`(min-width: ${Rr.sm})`,e!=="base"),r=Mt(`(min-width: ${Rr.md})`,["md","lg","xl","2xl"].includes(e)),o=Mt(`(min-width: ${Rr.lg})`,["lg","xl","2xl"].includes(e)),n=Mt(`(min-width: ${Rr.xl})`,["xl","2xl"].includes(e)),a=Mt(`(min-width: ${Rr["2xl"]})`,e==="2xl"),i=!r,l=r,s="base";return a?s="2xl":n?s="xl":o?s="lg":r?s="md":t&&(s="sm"),{current:s,isSm:t,isMd:r,isLg:o,isXl:n,is2Xl:a,isMobile:i,isDesktop:l}}function ki(e,t,r=true){let o=e||"chart";if(r){let n=new Date().toISOString().replace(/[:.]/g,"-").slice(0,-5);return `${o}-${n}.${t}`}return `${o}.${t}`}async function Ti(e,t,r={},o){let n=Array.isArray(t[0])?t:[t];try{switch(e){case "csv":await Gf(n,r);break;case "svg":await Wf(o,r);break;case "png":await Uf(o,r);break;default:throw new Error(`Unsupported export type: ${e}`)}}catch(a){throw console.error("Export failed:",a),new Error(`Failed to export chart as ${e}: ${a instanceof Error?a.message:"Unknown error"}`)}}async function Gf(e,t){try{let r=new Map;e.forEach(s=>{s.forEach(c=>{let p=c.xValue.getTime();r.has(p)||r.set(p,c.xValue);});});let n=Array.from(r.values()).sort((s,c)=>s.getTime()-c.getTime()).map(s=>{let c={[t.xLabel||"Date"]:s.toLocaleString("en-US",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"})};return e.forEach((p,d)=>{let m=t.seriesLabels?.[d]||`Series ${d+1}`,u=p.find(g=>g.xValue.getTime()===s.getTime());c[m]=u?u.yValue:"",u?.category&&(c[`${m} Category`]=u.category);}),c}),a=Hf__default.default.unparse(n,{header:!0,skipEmptyLines:!0}),i=new Blob([a],{type:"text/csv;charset=utf-8;"}),l=ki(t.filename||"chart-data","csv",t.timestamp!==!1);fileSaver.saveAs(i,l);}catch(r){throw new Error(`CSV export failed: ${r instanceof Error?r.message:"Unknown error"}`)}}async function Wf(e,t){if(!e.current)throw new Error("SVG element not found");try{let o=e.current.cloneNode(!0);if(!o.querySelector("rect[data-background]")){let c=document.createElementNS("http://www.w3.org/2000/svg","rect");c.setAttribute("width",o.getAttribute("width")||"100%"),c.setAttribute("height",o.getAttribute("height")||"100%"),c.setAttribute("fill","white"),c.setAttribute("data-background","true"),o.insertBefore(c,o.firstChild);}let i=new XMLSerializer().serializeToString(o);i.includes("<?xml")||(i=`<?xml version="1.0" encoding="UTF-8"?>
2
- `+i),i.includes("xmlns=")||(i=i.replace("<svg",'<svg xmlns="http://www.w3.org/2000/svg"'));let l=new Blob([i],{type:"image/svg+xml;charset=utf-8"}),s=ki(t.filename||"chart","svg",t.timestamp!==!1);fileSaver.saveAs(l,s);}catch(r){throw new Error(`SVG export failed: ${r instanceof Error?r.message:"Unknown error"}`)}}async function Uf(e,t,r=2){if(!e.current)throw new Error("SVG element not found");let o="";try{let n=e.current,a=n.getBoundingClientRect(),i=n.cloneNode(!0);i.setAttribute("width",String(a.width)),i.setAttribute("height",String(a.height)),i.removeAttribute("transform");let l=i.getElementsByTagName("text");Array.from(l).forEach(m=>{m.style.fontFamily||(m.style.fontFamily="system-ui, -apple-system, sans-serif"),m.style.fontSize||(m.style.fontSize="12px");});let s=document.createElementNS("http://www.w3.org/2000/svg","rect");s.setAttribute("width",String(a.width)),s.setAttribute("height",String(a.height)),s.setAttribute("fill","white"),i.insertBefore(s,i.firstChild);let p=new XMLSerializer().serializeToString(i);p.includes("xmlns=")||(p=p.replace("<svg",'<svg xmlns="http://www.w3.org/2000/svg"'));let d=new Blob([p],{type:"image/svg+xml;charset=utf-8"});return o=URL.createObjectURL(d),new Promise((m,u)=>{let g=new Image,f=setTimeout(()=>{o&&URL.revokeObjectURL(o),u(new Error("Image loading timeout"));},1e4);g.onload=()=>{clearTimeout(f);try{let b=document.createElement("canvas");b.width=a.width*r,b.height=a.height*r;let x=b.getContext("2d");if(!x)throw new Error("Canvas context not available");x.imageSmoothingEnabled=!0,x.imageSmoothingQuality="high",x.scale(r,r),x.fillStyle="white",x.fillRect(0,0,a.width,a.height),x.drawImage(g,0,0,a.width,a.height),b.toBlob(y=>{if(y){let v=ki(t.filename||"chart","png",t.timestamp!==!1);fileSaver.saveAs(y,v),m();}else u(new Error("Failed to create PNG blob"));o&&URL.revokeObjectURL(o);},"image/png",1);}catch(b){o&&URL.revokeObjectURL(o),u(b);}},g.onerror=()=>{clearTimeout(f),o&&URL.revokeObjectURL(o),u(new Error("Failed to load SVG as image"));},g.src=o;})}catch(n){throw o&&URL.revokeObjectURL(o),new Error(`PNG export failed: ${n instanceof Error?n.message:"Unknown error"}`)}}function Kf(e){if(typeof window>"u")return false;switch(e){case "csv":return true;case "svg":return typeof XMLSerializer<"u";case "png":return typeof HTMLCanvasElement<"u"&&typeof HTMLCanvasElement.prototype.toBlob=="function";default:return false}}function Yf(e){return {csv:"CSV Spreadsheet",svg:"SVG Vector Image",png:"PNG Image"}[e]||"Unknown Format"}function lc({datasets:e,metadata:t,svgRef:r}){return ir.useCallback(async o=>{try{await Ti(o,e,t,r);}catch(n){throw console.error("Chart export failed:",n),n}},[e,t,r])}function Xo(e,t){return t.split(".").reduce((r,o)=>r?.[o],e)}function Xf(e,t){let r=Xo(e,t.field),o=t.value;switch(t.operator){case "eq":return r===o;case "neq":return r!==o;case "in":return Array.isArray(o)?o.includes(r):false;case "nin":return Array.isArray(o)?!o.includes(r):false;case "gt":return r instanceof Date&&typeof o=="string"?r>new Date(o):r>o;case "gte":return r instanceof Date&&typeof o=="string"?r>=new Date(o):r>=o;case "lt":return r instanceof Date&&typeof o=="string"?r<new Date(o):r<o;case "lte":return r instanceof Date&&typeof o=="string"?r<=new Date(o):r<=o;case "contains":return typeof r!="string"?false:r.toLowerCase().includes(String(o).toLowerCase());case "startsWith":return typeof r!="string"?false:r.toLowerCase().startsWith(String(o).toLowerCase());case "endsWith":return typeof r!="string"?false:r.toLowerCase().endsWith(String(o).toLowerCase());default:return false}}function cc(e,t){if(t.conditions.length===0)return true;let r=t.conditions.map(o=>"conditions"in o?cc(e,o):Xf(e,o));return t.logic==="AND"?r.every(Boolean):r.some(Boolean)}function qf(e,t){return !t||t.conditions.length===0?e:e.filter(r=>cc(r,t))}function jf(e,t,r){if(e==null&&t==null)return 0;if(e==null)return r==="asc"?1:-1;if(t==null)return r==="asc"?-1:1;if(e instanceof Date&&t instanceof Date){let o=e.getTime()-t.getTime();return r==="asc"?o:-o}if(typeof e=="string"&&typeof t=="string"){let o=e.toLowerCase().localeCompare(t.toLowerCase());return r==="asc"?o:-o}return e<t?r==="asc"?-1:1:e>t?r==="asc"?1:-1:0}function Qf(e,t){return t?[...e].sort((r,o)=>{let n=Xo(r,t.field),a=Xo(o,t.field);return jf(n,a,t.direction)}):e}function $f(e,t){if(!t||!t.query.trim())return e;let{query:r,fields:o,fuzzy:n=true,threshold:a=.3}=t;if(n)return new Zf__default.default(e,{keys:o,threshold:a,ignoreLocation:true,includeScore:true}).search(r).map(c=>c.item);let i=r.toLowerCase();return e.filter(l=>o.some(s=>{let c=Xo(l,s);return c==null?false:String(c).toLowerCase().includes(i)}))}function _f(e,t){let r={};for(let o of t){if(r[o.field]={},o.values)for(let n of o.values)r[o.field][String(n.value)]=0;for(let n of e){let a=Xo(n,o.field);if(a!=null)if(Array.isArray(a))for(let i of a){let l=String(i);r[o.field][l]=(r[o.field][l]||0)+1;}else {let i=String(a);r[o.field][i]=(r[o.field][i]||0)+1;}}}return r}function dc({data:e,filters:t,sort:r,search:o,facetConfigs:n=[]}){let a=$f(e,o||null);a=qf(a,t||null);let i=_f(a,n);return a=Qf(a,r||null),{data:a,facetCounts:i,resultCount:a.length}}function zn({data:e,filters:t,sort:r,search:o,facetConfigs:n=[]}){return ir.useMemo(()=>dc({data:e,filters:t,sort:r,search:o,facetConfigs:n}),[e,t,r,o,n])}function xo(e,t=300){let[r,o]=ir.useState(e);return ir.useEffect(()=>{let n=setTimeout(()=>o(e),t);return ()=>clearTimeout(n)},[e,t]),r}function On({filters:e,sort:t,search:r,onStateChange:o,searchDebounce:n=300}){let a=xo(r,n),i=ir.useRef(true);ir.useEffect(()=>{if(i.current){i.current=false;return}o({filters:e,sort:t,search:a});},[e,t,a,o]);}function uc(e){return e.mode==="client"?zn({data:e.data,filters:e.filters,sort:e.sort,search:e.search,facetConfigs:e.facetConfigs}):(On({filters:e.filters,sort:e.sort,search:e.search,onStateChange:e.onStateChange,searchDebounce:e.searchDebounce}),{data:e.data,facetCounts:e.facetCounts||{},resultCount:e.resultCount??e.data.length})}function mc(){let[e,t]=ir.useState({width:0,height:0}),r=ir.useRef(null),o=ir.useRef(void 0),n=ir.useCallback(a=>{if(r.current&&(r.current.disconnect(),r.current=null),o.current&&(cancelAnimationFrame(o.current),o.current=void 0),!a){t({width:0,height:0});return}let i=a.getBoundingClientRect();t({width:i.width,height:i.height}),r.current=new ResizeObserver(l=>{o.current&&cancelAnimationFrame(o.current),o.current=requestAnimationFrame(s=>{for(let c of l){let{width:p,height:d}=c.contentRect;t(m=>m.width!==p||m.height!==d?{width:p,height:d}:m);}});}),r.current.observe(a);},[]);return ir.useEffect(()=>()=>{o.current&&cancelAnimationFrame(o.current),r.current&&r.current.disconnect();},[]),{ref:n,width:e.width,height:e.height}}function cr({items:e,onLoadMore:t,hasMore:r,isLoading:o=false,loadingState:n,enableVirtualization:a,estimatedItemSize:i=50,overscan:l=5,scrollElement:s,loadMoreThreshold:c=100}){let p=ir.useRef(null),d=ir.useRef(null),m=ir.useRef(false),[u,g]=ir.useState(0);ir.useEffect(()=>{d.current&&(s||p.current)&&g(N=>N+1);},[s,e.length]);let f=n||(o?e.length===0?"loading":"loading-more":"idle"),b=f==="loading",x=f==="loading-more",y=a!==void 0?a:e.length>=100,v=reactVirtual.useVirtualizer({count:e.length,getScrollElement:()=>s||p.current,estimateSize:()=>i,overscan:l}),h=y?v:null,C=y?v.getVirtualItems():[];ir.useEffect(()=>{let N=d.current,k=s||p.current;if(!N||!k||!r||o||!t)return;let L=new IntersectionObserver(V=>{let[H]=V;H?.isIntersecting&&!m.current&&r&&t&&(m.current=true,Promise.resolve(t()).finally(()=>{m.current=false;}));},{root:k,rootMargin:`0px 0px ${c}px 0px`,threshold:0});return L.observe(N),()=>{L.disconnect();}},[r,o,t,s,c,u]);let S=ir.useCallback((N,k)=>{h?h.scrollToIndex(N,k):p.current&&p.current.children[N]?.scrollIntoView({behavior:"smooth",block:k?.align||"start"});},[h]),w=ir.useCallback(()=>{h?h.scrollToIndex(0,{align:"start"}):p.current&&p.current.scrollTo({top:0,behavior:"smooth"});},[h]);return {virtualizer:h,virtualItems:C,computedLoadingState:f,isInitialLoad:b,isLoadingMore:x,scrollRef:p,loadMoreRef:d,scrollToIndex:S,scrollToTop:w}}function Hn(e,t){let[r,o]=ir.useState(()=>{if(typeof window>"u")return t;try{let i=window.localStorage.getItem(e);return i?JSON.parse(i):t}catch(i){return console.error(`Error reading localStorage key "${e}":`,i),t}});ir.useEffect(()=>{if(!(typeof window>"u"))try{window.localStorage.setItem(e,JSON.stringify(r));}catch(i){console.error(`Error writing to localStorage key "${e}":`,i);}},[e,r]);let n=ir.useCallback(i=>{try{o(l=>i instanceof Function?i(l):i);}catch(l){console.error(`Error setting value for localStorage key "${e}":`,l);}},[e]),a=ir.useCallback(()=>{try{typeof window<"u"&&window.localStorage.removeItem(e),o(t);}catch(i){console.error(`Error removing localStorage key "${e}":`,i);}},[e,t]);return [r,n,a]}var Di=class{constructor(){Zo(this,"formatters",new Map);}register(t,r){this.formatters.set(t,r);}format(t,r,...o){let n=this.formatters.get(t);return n?n(r,...o):(console.warn(`No formatter registered for key: ${t}`),null)}has(t){return this.formatters.has(t)}keys(){return Array.from(this.formatters.keys())}unregister(t){this.formatters.delete(t);}clear(){this.formatters.clear();}},Y=new Di;var dr=(e,t="Yes",r="No")=>e==null?null:e?t:r,pg=e=>dr(e,"Enabled","Disabled"),mg=e=>dr(e,"On","Off"),fg=e=>dr(e,"Active","Inactive"),gg=e=>dr(e,"True","False"),bg=e=>dr(e,"\u2713","\u2717"),ur=e=>{if(e==null)return null;if(typeof e=="boolean")return e;if(typeof e=="string"){let t=e.toLowerCase().trim();return t==="true"||t==="yes"||t==="1"||t==="on"||t==="enabled"?true:t==="false"||t==="no"||t==="0"||t==="off"||t==="disabled"?false:null}return typeof e=="number"?e!==0:null},xc=(e,t)=>{if(t.hideWhenNull&&e==null)return null;if(e==null)return t.nullText??null;let r=ur(e);return r===null?t.nullText??null:dr(r,t.trueText??"Yes",t.falseText??"No")};Y.register("boolean",(e,t,r)=>{let o=ur(e);return o!==null?dr(o,typeof t=="string"?t:"Yes",typeof r=="string"?r:"No"):null});Y.register("yesNo",e=>{let t=ur(e);return t!==null?dr(t,"Yes","No"):null});Y.register("enabledDisabled",e=>{let t=ur(e);return t!==null?pg(t):null});Y.register("onOff",e=>{let t=ur(e);return t!==null?mg(t):null});Y.register("activeInactive",e=>{let t=ur(e);return t!==null?fg(t):null});Y.register("trueFalse",e=>{let t=ur(e);return t!==null?gg(t):null});Y.register("checkmark",e=>{let t=ur(e);return t!==null?bg(t):null});var _=e=>e==null,hc=(e,t=0)=>_(e)?null:`${e.toFixed(t)}%`,yc=(e,t=0)=>hc(e,t)??"\u2014",xg=e=>_(e)?null:Math.round(e).toString(),hg=(e,t=1)=>_(e)?null:e.toFixed(t),yg=(e,t,r=true)=>{if(_(e))return null;let o={useGrouping:r};return t!==void 0&&(o.minimumFractionDigits=t,o.maximumFractionDigits=t),new Intl.NumberFormat("en-US",o).format(e)},vg=(e,t="short")=>_(e)?null:new Intl.NumberFormat("en-US",{notation:"compact",compactDisplay:t}).format(e),Cg=(e,t=2)=>_(e)?null:e.toExponential(t),vc=(e,t="USD",r)=>{if(_(e))return null;let o={style:"currency",currency:t,currencyDisplay:r?.currencyDisplay??"symbol",useGrouping:r?.thousandsSeparator??true};return r?.minimumFractionDigits!==void 0&&(o.minimumFractionDigits=r.minimumFractionDigits),r?.maximumFractionDigits!==void 0&&(o.maximumFractionDigits=r.maximumFractionDigits),new Intl.NumberFormat("en-US",o).format(e)},Cc=(e,t)=>{if(t.hideWhenNull&&e==null||t.hideWhenZero&&e===0)return null;if(e==null)return t.nullText??null;let r=typeof e=="string"?parseFloat(e):Number(e);if(isNaN(r))return t.nullText??null;let o={useGrouping:t.thousandsSeparator??false};return t.decimals!==void 0&&(o.minimumFractionDigits=t.decimals,o.maximumFractionDigits=t.decimals),t.notation&&(o.notation=t.notation,t.notation==="compact"&&t.compactDisplay&&(o.compactDisplay=t.compactDisplay)),t.sign&&(o.signDisplay=t.sign),new Intl.NumberFormat("en-US",o).format(r)},Sc=(e,t)=>{if(t.hideWhenNull&&e==null||t.hideWhenZero&&e===0)return null;if(e==null)return t.nullText??null;let r=typeof e=="string"?parseFloat(e):Number(e);return isNaN(r)?t.nullText??null:vc(r,t.currency,t)};Y.register("percentage",(e,t)=>typeof e=="number"?hc(e,typeof t=="number"?t:0):null);Y.register("integer",e=>typeof e=="number"?xg(e):null);Y.register("float",(e,t)=>typeof e=="number"?hg(e,typeof t=="number"?t:1):null);Y.register("number",(e,t,r)=>{let o=typeof e=="string"?parseFloat(e):Number(e);return isNaN(o)?null:yg(o,typeof t=="number"?t:void 0,typeof r=="boolean"?r:true)});Y.register("compact",(e,t)=>typeof e=="number"?vg(e,t==="long"?"long":"short"):null);Y.register("scientific",(e,t)=>typeof e=="number"?Cg(e,typeof t=="number"?t:2):null);Y.register("currency",(e,t,r)=>typeof e=="number"?vc(e,typeof t=="string"?t:"USD",typeof r=="object"&&r!==null?r:{}):null);function uw(e,t=1){return _(e)?null:Math.abs(e)>=1e3?`${(e/1e3).toFixed(t)} MWh`:`${e.toFixed(t)} kWh`}function pw(e,t=1){return _(e)?null:Math.abs(e)>=1e3?`${(e/1e3).toFixed(t)} MW`:`${e.toFixed(t)} kW`}function Lt({value:e,formatter:t,emptyClassName:r="text-text-muted",emptyText:o="\u2014"}){if(e==null)return jsxRuntime.jsx("span",{className:r,children:o});if(typeof t=="function")return t(e);if(t&&typeof t=="object"){let n=Ar(e,t);return e instanceof Date&&n?jsxRuntime.jsx("time",{dateTime:e.toISOString(),title:e.toISOString(),children:n}):n||jsxRuntime.jsx("span",{className:r,children:o})}if(!t){if(typeof e=="string")return e;if(e instanceof Date){let n=Ar(e,{type:"date"});return jsxRuntime.jsx("time",{dateTime:e.toISOString(),title:e.toISOString(),children:n})}if(typeof e=="number")return Ar(e,{type:"number"});if(typeof e=="boolean")return Ar(e,{type:"boolean"})}return String(e)}function bw(e,t,r){return ir__namespace.default.useCallback(o=>Lt({value:o,formatter:e,emptyClassName:t,emptyText:r}),[e,t,r])}var Ri=(e,t=0)=>{if(_(e))return null;let r=e*1e3;return t===0?`${Math.round(r)} mA`:`${r.toFixed(t)} mA`},Wn=(e,t=1)=>_(e)?null:`${e.toFixed(t)} A`,Ai=(e,t=2)=>_(e)?null:`${(e/1e3).toFixed(t)} kA`,wg=(e,t)=>{if(_(e))return null;let r=Math.abs(e);return r>=1e3?Ai(e,t??2):r<1?Ri(e,t??0):Wn(e,t??1)},Mi=(e,t)=>{if(t.hideWhenNull&&e==null||t.hideWhenZero&&e===0)return null;if(e==null)return t.nullText??null;let r=typeof e=="string"?parseFloat(e):Number(e);if(isNaN(r))return t.nullText??null;let o=t.decimals;if(t.unit)switch(t.unit){case "kA":return Ai(r,o??2);case "mA":return Ri(r,o??0);case "A":return Wn(r,o??1)}return t.autoScale!==false?wg(r,o):Wn(r,o??1)};Y.register("current",Mi);var Cw=Ri,Sw=Wn,ww=Ai;var Mr=e=>{if(e==null)return null;if(e instanceof Date)return luxon.DateTime.fromJSDate(e);if(typeof e=="string"){let t=luxon.DateTime.fromISO(e);return t.isValid?t:null}if(typeof e=="number"){let t=luxon.DateTime.fromMillis(e);return t.isValid?t:null}return null},Ng=(e,t=false,r)=>{if(!e)return null;let o=Mr(e);if(!o)return "Invalid Date";let n=r?o.setZone(r):o;return t?n.toLocaleString(luxon.DateTime.DATETIME_SHORT):n.toLocaleString(luxon.DateTime.DATE_SHORT)},Un=e=>{if(!e)return null;let t=Mr(e);return t?t.toRelative():"Invalid Date"},kg=(e,t)=>{if(!e)return null;let r=Mr(e);return r?(t?r.setZone(t):r).toLocaleString(luxon.DateTime.DATETIME_MED_WITH_WEEKDAY):"Invalid Date"},Tg=e=>{if(!e)return null;let t=Mr(e);return t?t.toISO():null},Pg=(e,t,r)=>{if(!e)return null;let o=Mr(e);return o?(r?o.setZone(r):o).toFormat(t):"Invalid Date"},Pw=e=>{let t=Mr(e);return t?{year:t.year,month:t.month,day:t.day,weekday:t.weekday,hour:t.hour,minute:t.minute,second:t.second,millisecond:t.millisecond,weekdayShort:t.weekdayShort,weekdayLong:t.weekdayLong,monthShort:t.monthShort,monthLong:t.monthLong}:null},wc=(e,t)=>{if(t.hideWhenNull&&e==null)return null;if(e==null)return t.nullText??null;let r=Mr(e);if(!r)return t.nullText??"Invalid Date";let o=t.timezone?r.setZone(t.timezone):r;if(t.relative)return o.toRelative();if(t.format)return o.toFormat(t.format);if(t.dateStyle||t.timeStyle){let n={};if(t.dateStyle)switch(t.dateStyle){case "short":n.date=luxon.DateTime.DATE_SHORT;break;case "medium":n.date=luxon.DateTime.DATE_MED;break;case "long":n.date=luxon.DateTime.DATE_FULL;break;case "full":n.date=luxon.DateTime.DATE_HUGE;break}if(t.timeStyle)switch(t.timeStyle){case "short":n.time=luxon.DateTime.TIME_SIMPLE;break;case "medium":n.time=luxon.DateTime.TIME_WITH_SECONDS;break;case "long":case "full":n.time=luxon.DateTime.TIME_WITH_SHORT_OFFSET;break}if(n.date&&n.time)return o.toLocaleString({...n.date,...n.time});if(n.date)return o.toLocaleString(n.date);if(n.time)return o.toLocaleString(n.time)}return o.toLocaleString(luxon.DateTime.DATETIME_SHORT)};Y.register("date",(e,t,r)=>Ng(e,typeof t=="boolean"?t:false,typeof r=="string"?r:void 0));Y.register("relativeTime",e=>Un(e));Y.register("fullDateTime",(e,t)=>kg(e,typeof t=="string"?t:void 0));Y.register("isoString",e=>Tg(e));Y.register("customDateFormat",(e,t,r)=>typeof t=="string"?Pg(e,t,typeof r=="string"?r:void 0):null);var Li=(e,t=1)=>_(e)?null:`${e.toFixed(t)} m`,Dg=(e,t=1)=>_(e)?null:`${(e*100).toFixed(t)} cm`,Rg=(e,t=0)=>_(e)?null:`${(e*1e3).toFixed(t)} mm`,Fi=(e,t=1)=>_(e)?null:`${(e/1e3).toFixed(t)} km`,Ei=(e,t=0)=>_(e)?null:`${e.toFixed(t)} ft`,Ag=(e,t=1)=>_(e)?null:`${e.toFixed(t)} in`,Ii=(e,t=1)=>_(e)?null:`${e.toFixed(t)} mi`,Bi=(e,t=0)=>_(e)?null:`${e.toFixed(t)} yd`,Mw=(e,t=1)=>_(e)?null:`${e.toFixed(t)} nm`,Lw=e=>e*3.28084,Fw=e=>e/3.28084,Ew=e=>e*1.60934,Iw=e=>e/1.60934,Bw=e=>e/5280,Nc=e=>e*5280,Vw=e=>e/1609.34,zw=e=>e*1609.34,Ow=e=>e*.9144,Hw=e=>e/.9144,Gw=e=>e*2.54,Ww=e=>e/2.54,kc=(e,t=false,r=1)=>{if(_(e))return null;let o=Math.abs(e);return t?o>=1e3?Fi(e,r):o<.01?Rg(e,0):o<1?Dg(e,r):Li(e,r):o<.01?Ei(Nc(e),0):o<.1?Bi(Nc(e)/3,0):Ii(e,r)},Tc=(e,t)=>{if(t.hideWhenNull&&e==null||t.hideWhenZero&&e===0)return null;if(e==null)return t.nullText??null;let r=typeof e=="string"?parseFloat(e):Number(e);if(isNaN(r))return t.nullText??null;let o=t.decimals??1;if(t.autoScale){let n=t.unit==="m"||t.unit==="km";return kc(r,n,o)}switch(t.unit){case "km":return Fi(r,o);case "ft":return Ei(r,o);case "mi":return Ii(r,o);case "yd":return Bi(r,o);case "m":default:return Li(r,o)}};Y.register("miles",(e,t)=>typeof e=="number"?Ii(e,typeof t=="number"?t:1):null);Y.register("kilometers",(e,t)=>typeof e=="number"?Fi(e,typeof t=="number"?t:1):null);Y.register("meters",(e,t)=>typeof e=="number"?Li(e,typeof t=="number"?t:1):null);Y.register("feet",(e,t)=>typeof e=="number"?Ei(e,typeof t=="number"?t:0):null);Y.register("yards",(e,t)=>typeof e=="number"?Bi(e,typeof t=="number"?t:0):null);Y.register("inches",(e,t)=>typeof e=="number"?Ag(e,typeof t=="number"?t:1):null);Y.register("autoScaleDistance",(e,t,r)=>typeof e=="number"?kc(e,typeof t=="boolean"?t:false,typeof r=="number"?r:1):null);var Vi=(e,t=1)=>_(e)?null:`${e.toFixed(t)} Wh`,zi=(e,t=1)=>_(e)?null:`${(e/1e3).toFixed(t)} kWh`,Pc=(e,t=1)=>_(e)?null:`${(e/1e6).toFixed(t)} MWh`,Dc=(e,t=1)=>_(e)?null:`${(e/1e9).toFixed(t)} GWh`,Rc=(e,t=1)=>{if(_(e))return null;let r=Math.abs(e);return r>=1e9?Dc(e,t):r>=1e6?Pc(e,t):r>=1e3?zi(e,t):Vi(e,t)},Oi=(e,t)=>{if(t.hideWhenNull&&e==null||t.hideWhenZero&&e===0)return null;if(e==null)return t.nullText??null;let r=typeof e=="string"?parseFloat(e):Number(e);if(isNaN(r))return t.nullText??null;let o=t.decimals??1;if(t.unit)switch(t.unit){case "GWh":return Dc(r,o);case "MWh":return Pc(r,o);case "kWh":return zi(r,o);case "Wh":return Vi(r,o)}return t.autoScale!==false?Rc(r,o):Vi(r,o)};Y.register("kWh",e=>typeof e=="number"?zi(e):null);Y.register("autoScaleEnergy",(e,t)=>typeof e=="number"?Rc(e,typeof t=="number"?t:1):null);Y.register("energy",Oi);var Kn=e=>{if(!e)return null;let t=e.replace(/\D/g,"");return t.length===10?t.replace(/(\d{3})(\d{3})(\d{4})/,"($1) $2-$3"):t.length===11&&t.startsWith("1")?t.replace(/1(\d{3})(\d{3})(\d{4})/,"+1 ($1) $2-$3"):e},Hi=e=>{if(!e)return null;let t=e.replace(/[^\d+]/g,"");return t.startsWith("+")?t.length===12&&t.startsWith("+1")?t.replace(/\+1(\d{3})(\d{3})(\d{4})/,"+1 ($1) $2-$3"):t.length===13&&t.startsWith("+44")?t.replace(/\+44(\d{2})(\d{4})(\d{4})/,"+44 $1 $2 $3"):t.replace(/(\+\d{1,3})(\d{3,4})(\d{3,4})(\d{3,4})?/,"$1 $2 $3 $4").trim():Kn(e)},Ac=e=>e?e.startsWith("+")||e.length>11?Hi(e):Kn(e):null,Mc=(e,t)=>{if(t.hideWhenNull&&e==null)return null;if(e==null)return t.nullText??null;let r=String(e);if(t.international)return Hi(r);switch(t.country){case "US":case "CA":return Kn(r);default:return Ac(r)}};Y.register("phoneNumber",e=>typeof e=="string"?Ac(e):null);Y.register("usPhone",e=>typeof e=="string"?Kn(e):null);Y.register("internationalPhone",e=>typeof e=="string"?Hi(e):null);var Yn=(e,t=0)=>_(e)?null:t===0?`${Math.round(e)} W`:`${e.toFixed(t)} W`,Gi=(e,t=1)=>_(e)?null:`${(e/1e3).toFixed(t)} kW`,Wi=(e,t=1)=>_(e)?null:`${(e/1e6).toFixed(t)} MW`,Ui=(e,t=2)=>_(e)?null:`${(e/1e9).toFixed(t)} GW`,Mg=(e,t)=>{if(_(e))return null;let r=Math.abs(e);return r>=1e9?Ui(e,t??2):r>=1e6?Wi(e,t??1):r>=1e3?Gi(e,t??1):Yn(e,t??0)},Ki=(e,t)=>{if(t.hideWhenNull&&e==null||t.hideWhenZero&&e===0)return null;if(e==null)return t.nullText??null;let r=typeof e=="string"?parseFloat(e):Number(e);if(isNaN(r))return t.nullText??null;let o=t.decimals;if(t.unit)switch(t.unit){case "GW":return Ui(r,o??2);case "MW":return Wi(r,o??1);case "kW":return Gi(r,o??1);case "W":return Yn(r,o??0)}return t.autoScale!==false?Mg(r,o):Yn(r,o??0)};Y.register("power",Ki);var Qw=Yn,$w=Gi,_w=Wi,e5=Ui;var Yi=(e,t=1)=>_(e)?null:`${(e*1e3).toFixed(t)} m\u03A9`,Jn=(e,t=1)=>_(e)?null:`${e.toFixed(t)} \u03A9`,Lc=(e,t=1)=>_(e)?null:`${(e/1e3).toFixed(t)} k\u03A9`,Fc=(e,t=2)=>_(e)?null:`${(e/1e6).toFixed(t)} M\u03A9`,Lg=(e,t)=>{if(_(e))return null;let r=Math.abs(e);return r>=1e6?Fc(e,t??2):r>=1e3?Lc(e,t??1):r<1?Yi(e,t??1):Jn(e,t??1)},Ji=(e,t)=>{if(t.hideWhenNull&&e==null||t.hideWhenZero&&e===0)return null;if(e==null)return t.nullText??null;let r=typeof e=="string"?parseFloat(e):Number(e);if(isNaN(r))return t.nullText??null;let o=t.decimals;if(t.unit)switch(t.unit){case "M\u03A9":return Fc(r,o??2);case "k\u03A9":return Lc(r,o??1);case "m\u03A9":return Yi(r,o??1);case "\u03A9":return Jn(r,o??1)}return t.autoScale!==false?Lg(r,o):Jn(r,o??1)};Y.register("resistance",Ji);Y.register("ohms",e=>typeof e=="number"?Jn(e):null);Y.register("milliohms",e=>typeof e=="number"?Yi(e):null);var Ec=e=>{switch(e){case "FAHRENHEIT":return "F";case "CELSIUS":return "C";case "KELVIN":return "K";default:return "F"}},Ic=(e,t=0)=>_(e)?null:`${e.toFixed(t)}\xB0F`,Bc=(e,t=true,r=0)=>_(e)?null:`${(t?(e-32)*(5/9):e).toFixed(r)}\xB0C`,Vc=(e,t=true,r=0)=>_(e)?null:`${(t?(e-32)*(5/9)+273.15:e+273.15).toFixed(r)}K`,Fg=e=>e*9/5+32,Eg=e=>(e-32)*(5/9),s5=e=>e+273.15,Ig=e=>e-273.15,l5=e=>Eg(e)+273.15,c5=e=>Fg(Ig(e)),zc=(e,t="F",r=0)=>{if(_(e))return null;switch(typeof t=="string"&&t.length>1?Ec(t):t){case "C":return Bc(e,true,r);case "K":return Vc(e,true,r);case "F":default:return Ic(e,r)}},Oc=(e,t)=>{if(t.hideWhenNull&&e==null)return null;if(e==null)return t.nullText??null;let r=typeof e=="string"?parseFloat(e):Number(e);if(isNaN(r))return t.nullText??null;let o=t.decimals??0,n=t.unit??"F";if(t.showUnit===false)switch(typeof n=="string"&&n.length>1?Ec(n):n){case "C":return ((r-32)*.5555555555555556).toFixed(o);case "K":return ((r-32)*.5555555555555556+273.15).toFixed(o);case "F":default:return r.toFixed(o)}return zc(r,n,o)};Y.register("temperature",(e,t,r)=>typeof e=="number"?zc(e,typeof t=="string"?t:"F",typeof r=="number"?r:0):null);Y.register("fahrenheit",(e,t)=>typeof e=="number"?Ic(e,typeof t=="number"?t:0):null);Y.register("celsius",(e,t,r)=>typeof e=="number"?Bc(e,typeof t=="boolean"?t:true,typeof r=="number"?r:0):null);Y.register("kelvin",(e,t,r)=>typeof e=="number"?Vc(e,typeof t=="boolean"?t:true,typeof r=="number"?r:0):null);var Bg=(e,t)=>!!(t.hideWhenNull&&e==null||t.hideWhenZero&&e===0),Hc=e=>e?.toUpperCase()??"",Gc=e=>e?.toLowerCase()??"",Wc=e=>e?e.charAt(0).toUpperCase()+e.slice(1).toLowerCase():"",Uc=e=>{if(!e)return "";let t=new Set(["a","an","the","and","but","or","for","nor","on","at","of","to","with","in","as","by"]);return e.toLowerCase().split(/\s+/).map((r,o)=>t.has(r)&&o!==0?r:r.charAt(0).toUpperCase()+r.slice(1)).join(" ")},Kc=e=>e?e.split(/\s+/).map(t=>t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()).join(" "):"",Yc=e=>e?e.charAt(0).toUpperCase()+e.slice(1):"",Jc=e=>e?e.replace(/([A-Z])/g," $1").replace(/^./,t=>t.toUpperCase()).trim():"",Zc=e=>e?e.toLowerCase().split("_").map(t=>Yc(t)).join(" "):"",Vg=e=>e?e.includes("_")?Zc(e):e.toUpperCase()===e?Yc(e.toLowerCase()):Jc(e):"",Xc=(e,t=16)=>{if(!e)return "";if(t<5||e.length<=t)return e;let r=t-3,o=Math.ceil(r/2),n=Math.floor(r/2);return `${e.slice(0,o)}...${e.slice(-n)}`},qc=(e,t=8)=>e?e.length<=t?e:`...${e.slice(-t)}`:"",jc=(e,t=16,r="...")=>e?e.length<=t?e:e.slice(0,t)+r:"",zg=e=>{if(!e)return "";let t=e.toString(),r=t.slice(-4),o=t.length-4;return o>0?"*".repeat(o)+r:t},Qc=(e,t)=>{if(Bg(e,t))return null;if(e==null)return t.nullText??null;let r=String(e);if(t.transform&&(Array.isArray(t.transform)?t.transform:[t.transform]).forEach(n=>{switch(n){case "uppercase":r=Hc(r);break;case "lowercase":r=Gc(r);break;case "capitalize":r=Kc(r);break;case "titleCase":r=Uc(r);break;case "sentenceCase":r=Wc(r);break}}),t.truncate){let{length:o,position:n,ellipsis:a="..."}=t.truncate;switch(n){case "start":r=qc(r,o);break;case "middle":r=Xc(r,o);break;case "end":r=jc(r,o,a);break}}return r};Y.register("uppercase",e=>Hc(String(e)));Y.register("lowercase",e=>Gc(String(e)));Y.register("sentenceCase",e=>Wc(String(e)));Y.register("titleCase",e=>Uc(String(e)));Y.register("capitalize",e=>Kc(String(e)));Y.register("camelCaseToWords",e=>Jc(String(e)));Y.register("snakeCaseToWords",e=>Zc(String(e)));Y.register("enumToSentenceCase",e=>Vg(String(e)));Y.register("truncateMiddle",(e,t)=>Xc(String(e),typeof t=="number"?t:16));Y.register("truncateStart",(e,t)=>qc(String(e),typeof t=="number"?t:8));Y.register("truncateEnd",(e,t,r)=>jc(String(e),typeof t=="number"?t:16,typeof r=="string"?r:"..."));Y.register("secret",e=>zg(String(e)));var Zi=(e,t=0)=>{if(_(e))return null;let r=e*1e3;return t===0?`${Math.round(r)} mV`:`${r.toFixed(t)} mV`},Zn=(e,t=0)=>_(e)?null:t===0?`${Math.round(e)} V`:`${e.toFixed(t)} V`,Xi=(e,t=1)=>_(e)?null:`${(e/1e3).toFixed(t)} kV`,Og=(e,t)=>{if(_(e))return null;let r=Math.abs(e);return r>=1e3?Xi(e,t??1):r<1?Zi(e,t??0):Zn(e,t??0)},qi=(e,t)=>{if(t.hideWhenNull&&e==null||t.hideWhenZero&&e===0)return null;if(e==null)return t.nullText??null;let r=typeof e=="string"?parseFloat(e):Number(e);if(isNaN(r))return t.nullText??null;let o=t.decimals;if(t.unit)switch(t.unit){case "kV":return Xi(r,o??1);case "mV":return Zi(r,o??0);case "V":return Zn(r,o??0)}return t.autoScale!==false?Og(r,o):Zn(r,o??0)};Y.register("voltage",qi);var g5=Zi,b5=Zn,x5=Xi;var Hg=(e,t)=>{if(e==null)return t.nullText??null;if(t.hideWhenNull&&e===null)return null;let r=typeof e=="number"?e:Number(e);return Number.isNaN(r)?t.nullText??null:yc(r,t.decimals??0)},Ar=(e,t)=>{switch(t.type){case "text":return Qc(e,t);case "number":return Cc(e,t);case "percentage":return Hg(e,t);case "currency":return Sc(e,t);case "date":return wc(e,t);case "boolean":return xc(e,t);case "energy":return Oi(e,t);case "power":return Ki(e,t);case "voltage":return qi(e,t);case "current":return Mi(e,t);case "resistance":return Ji(e,t);case "temperature":return Oc(e,t);case "distance":return Tc(e,t);case "phone":return Mc(e,t);case "custom":{let r=t;return r.hideWhenNull&&e==null?null:e==null?r.nullText??null:r.formatter(e,r.options)}default:return e!=null?String(e):null}},M5=(e,t)=>({type:e,...t});var ho={xs:16,sm:20,md:24,lg:32,xl:40,"2xl":48},P=ir.memo(({name:e,size:t="md",color:r,weight:o="regular",className:n,ariaLabel:a,...i})=>{let l=Gg__namespace[e];if(!l)return process.env.NODE_ENV==="development"&&console.error(`Icon "${e}" not found in @phosphor-icons/react`),null;let s=typeof t=="string"&&t in ho?ho[t]:t,c=tailwindMerge.twMerge("inline-block flex-shrink-0",!r&&"text-current",n);return jsxRuntime.jsx(l,{...i,size:s,color:r,weight:o,className:c,"aria-label":a||`${e} icon`,"data-testid":`icon-${e}`})});P.displayName="Icon";var ed=ir.memo(({variant:e="subtle",shape:t="square",containerSize:r,containerClassName:o,size:n="md",className:a,name:i,color:l,weight:s,ariaLabel:c,ref:p,...d})=>{let m=typeof n=="string"&&n in ho?ho[n]:n,u=r?typeof r=="string"&&r in ho?ho[r]:r:m*1.75,g=tailwindMerge.twMerge("inline-flex items-center justify-center flex-shrink-0",t==="circle"?"rounded-full":"rounded-lg",e==="subtle"&&"bg-gray-100 dark:bg-gray-800",e==="solid"&&"bg-brand text-white",e==="outline"&&"border-2 border-current",o);return jsxRuntime.jsx("div",{className:g,style:{width:u,height:u},children:jsxRuntime.jsx(P,{...d,name:i,size:n,color:l,weight:s,className:a,ariaLabel:c})})});ed.displayName="IconWithContainer";function ot({transparent:e=false,className:t,children:r,...o}){return jsxRuntime.jsx(reactAriaComponents.ModalOverlay,{...o,className:reactAriaComponents.composeRenderProps(t,(n,a)=>tailwindMerge.twMerge("fixed inset-0 z-50",e?"bg-transparent":["bg-gradient-to-br from-black/40 via-black/30 to-black/40","backdrop-blur-sm","supports-[backdrop-filter]:bg-black/25"].join(" "),a.isEntering&&["animate-in fade-in","duration-300 ease-out"].join(" "),a.isExiting&&["animate-out fade-out","duration-200 ease-in"].join(" "),n)),children:r})}function $g({isEntering:e,isExiting:t,className:r="",disableGroup:o=false}){let n=[!o&&"group","bg-background-surface","forced-colors:bg-[Canvas]","shadow-lg","rounded-[var(--control-border-radius)]","bg-clip-padding","border","border-border-default","outline-none"].filter(Boolean).join(" "),a=e?["animate-in","fade-in","placement-bottom:slide-in-from-top-1","placement-top:slide-in-from-bottom-1","placement-left:slide-in-from-right-1","placement-right:slide-in-from-left-1","ease-out","duration-200"].join(" "):"",i=t?["animate-out","fade-out","placement-bottom:slide-out-to-top-1","placement-top:slide-out-to-bottom-1","placement-left:slide-out-to-right-1","placement-right:slide-out-to-left-1","ease-in","duration-150"].join(" "):"";return [n,a,i,r].filter(Boolean).join(" ")}function We({children:e,showArrow:t=false,withBackdrop:r=false,className:o,isDismissable:n=true,disableGroup:a=false,...i}){let s=reactAriaComponents.useSlottedContext(reactAriaComponents.PopoverContext)?.trigger==="SubmenuTrigger",c=t?12:8;c=s?c-6:c;let p=jsxRuntime.jsxs(reactAriaComponents.Popover,{offset:c,...i,className:reactAriaComponents.composeRenderProps(o,(d,m)=>$g({...m,className:d,disableGroup:a})),children:[t&&jsxRuntime.jsx(reactAriaComponents.OverlayArrow,{children:jsxRuntime.jsx("svg",{width:12,height:12,viewBox:"0 0 12 12",className:"block fill-background-surface stroke-border-default stroke-1 group-placement-left:-rotate-90 group-placement-right:rotate-90 group-placement-bottom:rotate-180 forced-colors:fill-[Canvas] forced-colors:stroke-[ButtonBorder]",children:jsxRuntime.jsx("path",{d:"M0 0 L6 6 L12 0"})})}),e]});return r?jsxRuntime.jsx(ot,{isDismissable:n,children:jsxRuntime.jsx(reactAriaComponents.Modal,{isDismissable:n,children:p})}):p}function Xn({children:e,items:t,className:r,align:o="left",textAlign:n="left",size:a="md",onAction:i,header:l,footer:s}){return jsxRuntime.jsx("div",{className:r,children:jsxRuntime.jsxs(reactAriaComponents.MenuTrigger,{children:[e,jsxRuntime.jsx(We,{className:tailwindMerge.twMerge("w-fit min-w-[180px] overflow-auto rounded-[var(--control-border-radius)] border border-border-default","bg-background-surface p-1 shadow-lg","animate-in fade-in zoom-in-97","duration-200 ease-out","data-[exiting]:animate-out data-[exiting]:fade-out data-[exiting]:zoom-out-97","data-[exiting]:duration-150 data-[exiting]:ease-in",o==="right"?"origin-top-right":"origin-top-left"),placement:o==="right"?"bottom end":"bottom start",children:jsxRuntime.jsxs("div",{className:"flex min-w-[180px] flex-col gap-1",children:[l?jsxRuntime.jsx("div",{className:"px-3 pb-2 pt-3",children:l}):null,jsxRuntime.jsx(reactAriaComponents.Menu,{className:"outline-none",children:t.map(c=>jsxRuntime.jsx(ob,{id:c.id,onAction:()=>c.onAction?.()||i?.(c),textAlign:n,size:a,iconName:c.iconName,isDisabled:c.disabled,variant:c.variant,"data-testid":c.testId,children:c.name},c.id))}),s?jsxRuntime.jsx("div",{className:"px-3 pb-3 pt-2",children:s}):null]})})]})})}function ob({textAlign:e="left",iconName:t,size:r="md",isDisabled:o,children:n,variant:a="default",...i}){let l={sm:"px-3 py-1.5 text-sm",md:"px-4 py-2 text-base"},s={default:"text-text-body hover:bg-background-hover data-[focused]:bg-background-hover data-[focus-visible]:ring-2 data-[focus-visible]:ring-action-default data-[focus-visible]:ring-inset",destructive:"text-feedback-error-text hover:bg-feedback-error-background data-[focused]:bg-feedback-error-background data-[focus-visible]:ring-2 data-[focus-visible]:ring-feedback-error-border data-[focus-visible]:ring-inset"};return jsxRuntime.jsxs(reactAriaComponents.MenuItem,{...i,isDisabled:o,className:tailwindMerge.twMerge("group box-border flex w-full cursor-pointer items-center rounded-sm outline-none transition-colors",l[r],s[a],e==="right"?"justify-end":"justify-start",o&&"pointer-events-none opacity-50"),children:[t&&e==="left"&&jsxRuntime.jsx(P,{name:t,size:r==="sm"?16:20,className:"mr-2 flex-shrink-0"}),jsxRuntime.jsx("span",{className:"flex-1",children:n}),t&&e==="right"&&jsxRuntime.jsx(P,{name:t,size:r==="sm"?16:20,className:"ml-2 flex-shrink-0"})]})}var qn=({className:e,size:t=24,color:r="text-action-brand"})=>jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("inline-block animate-spin rounded-full border-2 border-solid border-current border-r-transparent",r,e),style:{width:t,height:t},role:"status","aria-label":"loading",children:jsxRuntime.jsx("span",{className:"sr-only",children:"Loading..."})});function ut({state:e,message:t,className:r,customIndicator:o}){if(e!=="loading-more")return null;let n=jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("flex items-center justify-center gap-2 py-4","text-text-muted",r),"aria-label":t||"Loading",children:[jsxRuntime.jsx(qn,{size:20,color:"text-text-muted"}),t&&jsxRuntime.jsx("span",{className:"text-sm","aria-hidden":"true",children:t})]});return o||n}var F=({width:e,height:t,variant:r="rect",animation:o="pulse",gradient:n=false,flex:a=false,stack:i,responsive:l,delay:s=0,adjustAnimationSpeedBasedOnWidth:c=false,ariaLabel:p,className:d,"data-testid":m})=>{let[u,g]=ir.useState(s===0);if(ir.useEffect(()=>{if(s>0){let C=setTimeout(()=>g(true),s);return ()=>clearTimeout(C)}},[s]),!u)return null;let f=n?"bg-gradient-to-r from-[var(--color-skeleton-base)] via-[var(--color-skeleton-highlight)] to-[var(--color-skeleton-base)]":"bg-[var(--color-skeleton-base)]",b=c&&e?(()=>{let C=typeof e=="number"?e:parseFloat(String(e));return isNaN(C)?"":`animation-duration-[${Math.max(.8,C/100)}s]`})():"",x=o==="pulse"?`animate-pulse ${b}`:o==="wave"?`relative overflow-hidden before:absolute before:inset-0 before:bg-gradient-to-r before:from-transparent before:via-[var(--color-skeleton-wave)] before:to-transparent before:animate-wave ${b}`:"",y="rounded-sm";r==="circle"&&(y="rounded-full"),r==="text"&&(y="h-4 w-full rounded-sm");let v=a?"flex-1 min-w-0":"",h=l?Object.entries(l).map(([C,S])=>`${C}:w-[${S}]`).join(" "):"";return i?jsxRuntime.jsx("div",{className:"space-y-2","data-testid":m,children:i.map((C,S)=>jsxRuntime.jsx("div",{className:tailwindMerge.twMerge(f,x,y,v,h,d),style:{width:C,height:t}},S))}):jsxRuntime.jsx("div",{className:tailwindMerge.twMerge(f,x,y,v,h,d),style:{width:e,height:t},role:"presentation","aria-hidden":!p,"aria-label":p??void 0,"data-testid":m})},ad=({count:e=1,children:t,className:r,"data-testid":o})=>jsxRuntime.jsx("div",{className:r,"data-testid":o,children:Array.from({length:e}).map((n,a)=>jsxRuntime.jsx("div",{children:t},a))});var Qo=new Map,ze=(e,t="#000000")=>{if(typeof window>"u")return t;let r=e.startsWith("var(")?e.slice(4,-1):e.startsWith("--")?e:`--${e}`;if(!e.startsWith("--")&&!e.startsWith("var(")&&!r.startsWith("--color-")&&(r=`--color-${r.slice(2)}`),Qo.has(r))return Qo.get(r);try{let o=document.body||document.documentElement,a=getComputedStyle(o).getPropertyValue(r).trim();if(a)return Qo.set(r,a),a;let i=document.createElement("div");i.style.color=`var(${r})`,document.body.appendChild(i);let l=getComputedStyle(i).color;return document.body.removeChild(i),l&&l!=="rgb(0, 0, 0)"?(Qo.set(r,l),l):t}catch(o){return console.warn(`Failed to resolve color for ${e}:`,o),t}},yo=()=>{Qo.clear();},$o=()=>{let e=[];for(let t=1;t<=6;t++){let r=ze(`--color-viz-categorical-${t}`);r&&e.push(r);}return e.length===0?id():e},id=()=>["#444ae1","#10b981","#f59e0b","#ef4444","#8b5cf6","#06b6d4","#ec4899","#f97316","#14b8a6","#6366f1"],$i=()=>ze("--color-viz-default","#444ae1"),cb=(e,t)=>{let r={},o=$o();return e.forEach((n,a)=>{t&&t[n]?r[n]=t[n]:r[n]=o[a%o.length];}),r};var sd=e=>{let t=e.match(/\d+/g);if(!t||t.length<3)return true;let[r,o,n]=t.map(Number);return (.299*r+.587*o+.114*n)/255>.5},db=e=>sd(e)?ze("--text-body","#333333"):ze("--neutral-white","#ffffff"),ld=(e,t)=>{if(!e||typeof e!="object")return console.warn("[Colors] Invalid GeoJSON data provided to extractUniqueValues"),[];if(!("type"in e)||e.type!=="FeatureCollection"&&e.type!=="Feature")return console.warn("[Colors] Data is not valid GeoJSON (missing type or invalid type)"),[];let r=new Set,o="features"in e?e.features:[e];if(!Array.isArray(o)||o.length===0)return console.warn("[Colors] No features found in GeoJSON data"),[];let n=0;return o.forEach(a=>{if(!(!a||typeof a!="object")&&a.properties&&t in a.properties){n++;let i=a.properties[t];i!=null&&r.add(i);}}),n===0&&console.warn(`[Colors] Property "${t}" not found on any features. Available properties: ${o[0]?.properties?Object.keys(o[0].properties).join(", "):"none"}`),Array.from(r).sort()},cd=e=>{let t=$o(),r={};return e.forEach((o,n)=>{r[o]=t[n%t.length];}),r};var _i=(e,t)=>{if(!e||typeof e!="object")return console.warn("[Colors] Invalid GeoJSON data provided to extractNumericValues"),[];if(!("type"in e)||e.type!=="FeatureCollection"&&e.type!=="Feature")return console.warn("[Colors] Data is not valid GeoJSON (missing type or invalid type)"),[];let r="features"in e?e.features:[e];if(!Array.isArray(r)||r.length===0)return console.warn("[Colors] No features found in GeoJSON data"),[];let o=new Set,n=0;return r.forEach(a=>{if(!(!a||typeof a!="object")&&a.properties&&t in a.properties){n++;let i=a.properties[t];typeof i=="number"&&!isNaN(i)&&o.add(i);}}),n===0&&console.warn(`[Colors] Property "${t}" not found on any features. Available properties: ${r[0]?.properties?Object.keys(r[0].properties).join(", "):"none"}`),Array.from(o).sort((a,i)=>a-i)},es=e=>e.length===0?(console.warn("[Colors] Cannot calculate bounds from empty array"),{min:0,max:1}):{min:e[0],max:e[e.length-1]},dd=(e,t)=>{if(typeof t=="number")return t;if(e.length===0)return console.warn("[Colors] Cannot calculate center from empty array, defaulting to 0"),0;if(t==="median"){let r=Math.floor(e.length/2);return e.length%2===0?(e[r-1]+e[r])/2:e[r]}return e.reduce((r,o)=>r+o,0)/e.length},ud=(e="viridis")=>{let t=`viz-sequential-${e}`,r=[];for(let o=1;o<=10;o++){let n=`${t}-${o}`,a=ze(n);r.push(a);}return r},pd=(e="redYellowBlue")=>{let o=`viz-diverging-${{orangeYellowSeafoam:"orange-yellow-seafoam",redYellowBlue:"red-yellow-blue",redBlue:"red-blue"}[e]||e}`,n=[];for(let a=1;a<=10;a++){let i=`${o}-${a}`,l=ze(i);n.push(l);}return n};var rs=ir.createContext({colorMode:"light",isDarkTheme:false,toggleTheme:()=>{}}),pt=()=>ir.useContext(rs);function ts(){if(typeof window>"u")return "light";let e=localStorage.getItem("theme");return e==="dark"||e==="light"?e:document.body.classList.contains("theme-dark")||document.documentElement.classList.contains("theme-dark")||window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}var fd=({children:e})=>{let[t,r]=ir.useState(ts),o=t==="dark";ir.useEffect(()=>{yo();let a=()=>{let d=ts();d!==t&&r(d);};a();let i=setTimeout(a,100),l=window.matchMedia("(prefers-color-scheme: dark)"),s=d=>{localStorage.getItem("theme")||(yo(),r(d.matches?"dark":"light"));},c=()=>{let d=ts();d!==t&&(yo(),r(d));};l.addEventListener("change",s);let p=new MutationObserver(c);return p.observe(document.body,{attributes:true,attributeFilter:["class"]}),p.observe(document.documentElement,{attributes:true,attributeFilter:["class"]}),()=>{clearTimeout(i),l.removeEventListener("change",s),p.disconnect();}},[t]);let n=ir.useCallback(()=>{r(a=>{let i=a==="light"?"dark":"light";return localStorage.setItem("theme",i),i==="dark"?document.body.classList.add("theme-dark"):document.body.classList.remove("theme-dark"),yo(),i});},[]);return jsxRuntime.jsx(rs.Provider,{value:{colorMode:t,isDarkTheme:o,toggleTheme:n},children:e})};function gd(e){let t=(e.end.getTime()-e.start.getTime())/36e5;if(t<=72)return a=>new Intl.DateTimeFormat("en",{month:"short",day:"numeric",hour:"numeric",minute:"2-digit"}).format(a);if(t<=720)return a=>new Intl.DateTimeFormat("en",{month:"short",day:"numeric"}).format(a);let r=e.start.getFullYear(),o=e.end.getFullYear(),n=r!==o;return a=>new Intl.DateTimeFormat("en",{month:"short",day:"numeric",...n&&{year:"numeric"}}).format(a)}function bd(e){let t=(e.end.getTime()-e.start.getTime())/36e5;if(t<=24)return a=>new Intl.DateTimeFormat("en",{hour:"numeric",minute:"2-digit"}).format(a);if(t<=48)return a=>new Intl.DateTimeFormat("en",{month:"short",day:"numeric",hour:"numeric"}).format(a);if(t<=720)return a=>new Intl.DateTimeFormat("en",{month:"short",day:"numeric"}).format(a);let r=e.start.getFullYear(),o=e.end.getFullYear(),n=r!==o;return a=>new Intl.DateTimeFormat("en",{month:"short",day:"numeric",...n&&{year:"numeric"}}).format(a)}function Se(e=false){return `${e?"outline outline-1 outline-border-input focus:outline-2 focus:outline-action-default focus:outline-offset-0 invalid:outline-2 invalid:outline-feedback-error-border group-invalid:outline-2 group-invalid:outline-feedback-error-border forced-colors:focus:outline-[Highlight] forced-colors:focus:outline-2 forced-colors:focus:outline-offset-2":"outline-none focus-visible:outline focus-visible:outline-2 focus-visible:outline-action-default focus-visible:outline-offset-0 invalid:outline-2 invalid:outline-feedback-error-border group-invalid:outline-2 group-invalid:outline-feedback-error-border forced-colors:focus:outline-[Highlight] forced-colors:focus:outline-2 forced-colors:focus:outline-offset-2"}`}function de(e,t){return reactAriaComponents.composeRenderProps(e,r=>tailwindMerge.twMerge(t,r))}var vo=ir.createContext({variant:"timeline",size:"md"});function yd(){return ir.useContext(vo)}function jn(e){return ir.isValidElement(e)&&e.type===_n}function wb(e){return ir.isValidElement(e)&&e.type===$n}function ns({variant:e="timeline",size:t="md",className:r,children:o,items:n,renderItem:a,isLoading:i=false,loadingState:l,error:s=null,renderLoadingSkeleton:c,loadingSkeletonCount:p=5,emptyMessage:d="No activity found.",onLoadMore:m,hasMore:u=false,enableVirtualization:g,estimatedItemSize:f,loadingIndicator:b,height:x,maxHeight:y,...v}){let h=ir.useRef(null),{isMobile:C}=bo(),S=C?"stacked":e,w=n!==void 0&&a!==void 0,{scrollRef:N,loadMoreRef:k,virtualizer:L,virtualItems:V,isLoadingMore:H,computedLoadingState:K}=cr({items:n||[],onLoadMore:w?m:void 0,hasMore:w?u:false,isLoading:i,loadingState:l,enableVirtualization:w?g:false,estimatedItemSize:f||(S==="stacked"?120:150),overscan:5}),B=w&&N?N:h,J=ir.useMemo(()=>({variant:S,size:t}),[S,t]),j=S==="timeline"?t==="sm"?"gap-4":"gap-6":"gap-0",$=S==="stacked"?"divide-y divide-border-subtle rounded-lg border border-border-subtle bg-background-surface":"",A={};if(w&&m&&(x?(A.height=typeof x=="number"?`${x}px`:x,A.overflowY="auto"):y?(A.maxHeight=typeof y=="number"?`${y}px`:y,A.overflowY="auto"):(A.height="600px",A.overflowY="auto")),w){let X=K==="loading"||i&&(!n||n.length===0);if(X){let E=c?jsxRuntime.jsx(jsxRuntime.Fragment,{children:Array.from({length:p}).map((W,G)=>jsxRuntime.jsx("div",{children:c()},`skeleton-${G}`))}):jsxRuntime.jsx(jsxRuntime.Fragment,{children:Array.from({length:p}).map((W,G)=>jsxRuntime.jsxs("div",{className:S==="timeline"?"grid grid-cols-[3rem_1fr] gap-4":"px-4 py-4",children:[S==="timeline"&&jsxRuntime.jsx("div",{className:"flex flex-col items-center pt-3",children:jsxRuntime.jsx(F,{width:24,height:24,variant:"circle"})}),jsxRuntime.jsxs("div",{className:"flex flex-col gap-2",children:[jsxRuntime.jsx(F,{width:"60%",height:16}),jsxRuntime.jsx(F,{width:"80%",height:14})]})]},`skeleton-${G}`))});return jsxRuntime.jsx(vo.Provider,{value:J,children:jsxRuntime.jsx("div",{ref:B,"data-slot":"feed","data-variant":S,className:tailwindMerge.twMerge("flex flex-col",j,$,r),style:A,...v,children:E})})}if(s)return jsxRuntime.jsx(vo.Provider,{value:J,children:jsxRuntime.jsx("div",{ref:B,"data-slot":"feed","data-variant":S,className:tailwindMerge.twMerge("flex flex-col",j,$,r),style:A,...v,children:jsxRuntime.jsx("div",{className:"p-4 text-center text-action-destructive",children:s})})});if(!n||n.length===0)return jsxRuntime.jsx(vo.Provider,{value:J,children:jsxRuntime.jsx("div",{ref:B,"data-slot":"feed","data-variant":S,className:tailwindMerge.twMerge("flex flex-col",j,$,r),style:A,...v,children:jsxRuntime.jsx("div",{className:"p-4 text-center text-text-muted",children:d})})});let D=L?V?.map(E=>({virtualItem:E,item:n[E.index],index:E.index}))||[]:n.map((E,W)=>({item:E,index:W,virtualItem:null}));return jsxRuntime.jsx(vo.Provider,{value:J,children:jsxRuntime.jsxs("div",{ref:B,"data-slot":"feed","data-variant":S,className:tailwindMerge.twMerge("flex flex-col",j,$,r),style:{...A,position:L?"relative":void 0},...v,children:[L?jsxRuntime.jsxs("div",{style:{height:`${L.getTotalSize()}px`,position:"relative"},children:[D.map(({item:E,index:W,virtualItem:G})=>{if(!E||!G)return null;let O=a(E,W),te=S==="timeline"&&ir.isValidElement(O)&&jn(O)?ir.cloneElement(O,{showConnector:W!==n.length-1}):O;return jsxRuntime.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",transform:`translateY(${G.start}px)`},"data-index":G.index,ref:L.measureElement,children:te},`item-${W}`)}),H&&jsxRuntime.jsx("div",{style:{position:"absolute",top:`${L.getTotalSize()}px`,left:0,width:"100%"},children:b||jsxRuntime.jsx(ut,{state:"loading-more"})})]}):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[D.map(({item:E,index:W})=>{let G=a(E,W);if(S==="timeline"&&ir.isValidElement(G)&&jn(G)){let O=W===n.length-1;return jsxRuntime.jsx("div",{children:ir.cloneElement(G,{showConnector:!O})},`item-${W}`)}return jsxRuntime.jsx("div",{children:G},`item-${W}`)}),H&&(b||jsxRuntime.jsx(ut,{state:"loading-more"}))]}),m&&u&&!X&&jsxRuntime.jsx("div",{ref:k,style:L?{position:"absolute",top:`${L.getTotalSize()}px`,left:0,width:"100%",height:1}:{height:1,width:"100%"}})]})})}let M=ir.Children.toArray(o),z=M.map((X,D)=>{if(jn(X)){let E=X.props.showConnector??(S==="timeline"&&D<M.length-1),W=S==="timeline"&&D>0;return ir.cloneElement(X,{showConnector:E,showIncomingConnector:W})}if(wb(X)){let E=D===M.length-1;return ir.cloneElement(X,{__isLastGroup:E,__isFirstGroup:D===0})}return X});return jsxRuntime.jsx(vo.Provider,{value:J,children:jsxRuntime.jsx("div",{"data-slot":"feed","data-variant":S,className:tailwindMerge.twMerge("flex flex-col",j,$,r),...v,children:z})})}ns.displayName="ActivityFeed";function $n(e){let{variant:t,size:r}=yd(),{title:o,description:n,actions:a,children:i,className:l,__isLastGroup:s=false,__isFirstGroup:c=false,...p}=e,d=ir.Children.toArray(i),m=d.map((f,b)=>{if(jn(f)){let x=f.props.showConnector??(t==="timeline"&&!(s&&b===d.length-1));return ir.cloneElement(f,{showConnector:x,showIncomingConnector:t==="timeline"&&!(c&&b===0)})}return f}),u=t==="timeline"?"pl-[3rem]":r==="sm"?"px-3":"px-4",g=r==="sm"?"gap-3":"gap-4";return jsxRuntime.jsxs("section",{"data-slot":"group",className:tailwindMerge.twMerge("flex flex-col",l),...p,children:[(o||n||a)&&jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("mb-2 flex flex-wrap items-end justify-between gap-2",u),children:[jsxRuntime.jsxs("div",{className:"flex min-w-0 flex-col gap-1",children:[o&&jsxRuntime.jsx("span",{className:"text-xs font-semibold uppercase tracking-wide text-text-muted",children:o}),n&&jsxRuntime.jsx("span",{className:"text-sm text-text-muted",children:n})]}),a&&jsxRuntime.jsx("div",{className:"flex flex-shrink-0 items-center gap-2",children:a})]}),jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex flex-col",g),children:m})]})}$n.displayName="ActivityFeedGroup";var xd={neutral:"bg-background-muted text-text-muted border-border-muted",brand:"bg-background-muted text-action-brand border-action-brand/30",success:"bg-background-muted text-feedback-success-text border-feedback-success-border/40",warning:"bg-background-muted text-feedback-warning-text border-feedback-warning-border/40",danger:"bg-background-muted text-feedback-error-text border-feedback-error-border/40",info:"bg-background-muted text-feedback-info-text border-feedback-info-border/40"},Nb={neutral:"bg-background-subtle",brand:"bg-action-brand/5",success:"bg-feedback-success-background",warning:"bg-feedback-warning-background",danger:"bg-feedback-error-background",info:"bg-feedback-info-background"},kb={neutral:"border-border-muted",brand:"border-action-brand",success:"border-feedback-success-border",warning:"border-feedback-warning-border",danger:"border-feedback-error-border",info:"border-feedback-info-border"};function _n(e){let{variant:t,size:r}=yd(),{title:o,description:n,timestamp:a,meta:i,media:l,actions:s,visual:c,icon:p,iconWeight:d,tone:m="neutral",surface:u,isHighlighted:g=false,showConnector:f=true,hideIndicator:b=false,interactive:x,className:y,children:v,onKeyDown:h,showIncomingConnector:C,...S}=e,w=c??(p?jsxRuntime.jsx(P,{name:p,weight:d||"fill",className:"h-4 w-4"}):null),N=u??(t==="stacked"?"minimal":"subtle"),k=r==="sm"?"gap-2":"gap-3",L="text-xs text-text-subtle",V=r==="sm"?"text-sm":"text-[15px]",H="text-xs text-text-muted",K=x??typeof S.onClick=="function",B=D=>{if(!K){h?.(D);return}D.key===" "?D.preventDefault():D.key==="Enter"&&(D.preventDefault(),D.currentTarget.click()),h?.(D);},J=D=>{K&&D.key===" "&&(D.preventDefault(),D.currentTarget.click());},j=K?tailwindMerge.twMerge("group cursor-pointer",Se()):void 0,A=jsxRuntime.jsxs("div",{"data-slot":"connector",className:tailwindMerge.twMerge("relative flex h-full flex-col items-center",N==="minimal"?r==="sm"?"pt-2":"pt-3":r==="sm"?"pt-3":"pt-4"),children:[jsxRuntime.jsx("span",{"data-slot":"indicator",className:tailwindMerge.twMerge("relative z-10 flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-full border text-sm font-medium shadow-sm ring-2 ring-background-surface",xd[m]),children:w}),t==="timeline"&&f&&jsxRuntime.jsx("span",{"data-slot":"separator",className:"absolute top-[2rem] left-1/2 w-0 border-l-2 border-dotted -translate-x-1/2 h-[calc(100%+2.5rem)] border-border-muted"})]}),M=g?tailwindMerge.twMerge(Nb[m],N==="minimal"?"rounded-md border border-border-muted":kb[m]):"";if(t==="stacked")return jsxRuntime.jsxs("div",{"data-slot":"item","data-variant":"stacked",role:K?"button":void 0,tabIndex:K?0:void 0,className:tailwindMerge.twMerge("flex flex-col",r==="sm"?"px-3 py-3":"px-4 py-4",{minimal:"",subtle:"bg-background-subtle",solid:"bg-background-muted"}[N],M,j,K?"transition-colors hover:bg-background-subtle/80":"",y),onKeyDown:B,onKeyUp:J,...S,children:[jsxRuntime.jsxs("div",{className:"flex items-center gap-3",children:[!b&&jsxRuntime.jsx("span",{"data-slot":"indicator",className:tailwindMerge.twMerge("flex h-6 w-6 flex-shrink-0 items-center justify-center rounded-full border text-sm font-medium shadow-sm ring-2 ring-background-surface",xd[m]),children:w}),jsxRuntime.jsx("div",{"data-slot":"title",className:"min-w-0 flex-1 text-sm font-semibold text-text-body",children:o})]}),jsxRuntime.jsxs("div",{"data-slot":"content",className:tailwindMerge.twMerge("mt-3 flex flex-col",k),children:[n&&jsxRuntime.jsx("div",{"data-slot":"description",className:tailwindMerge.twMerge("text-text-muted",V),children:n}),i&&jsxRuntime.jsx("div",{className:H,children:i}),l&&jsxRuntime.jsx("div",{className:"flex flex-col gap-2 text-sm text-text-muted",children:l}),v,s&&jsxRuntime.jsx("div",{className:"flex flex-wrap gap-2 pt-1",children:s}),a&&jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("-mt-1.5",L),children:a})]})]});let z=N==="minimal"?r==="sm"?"py-2":"py-3":r==="sm"?"p-3":"p-4",X={minimal:"",subtle:"rounded-md border border-border-subtle bg-background-surface",solid:"rounded-md bg-background-muted shadow-sm"};return jsxRuntime.jsxs("div",{"data-slot":"item","data-variant":"timeline",role:K?"button":void 0,tabIndex:K?0:void 0,className:tailwindMerge.twMerge("group relative grid items-start gap-4 grid-cols-[3rem_1fr]",j,y),onKeyDown:B,onKeyUp:J,...S,children:[b?jsxRuntime.jsx("div",{}):A,jsxRuntime.jsxs("div",{"data-slot":"content",className:tailwindMerge.twMerge("min-w-0 flex flex-col",k,z,X[N],M,K?"transition-colors group-hover:bg-background-subtle/70":""),children:[jsxRuntime.jsxs("div",{className:"flex items-center justify-between gap-3",children:[jsxRuntime.jsx("div",{"data-slot":"title",className:"min-w-0 flex-1 text-sm font-semibold text-text-body",children:o}),a&&jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex-shrink-0",L),children:a})]}),n&&jsxRuntime.jsx("div",{"data-slot":"description",className:tailwindMerge.twMerge("text-text-muted",V),children:n}),i&&jsxRuntime.jsx("div",{className:H,children:i}),l&&jsxRuntime.jsx("div",{className:"flex flex-col gap-2 text-sm text-text-muted",children:l}),v,s&&jsxRuntime.jsx("div",{className:"flex flex-wrap gap-2 pt-2",children:s})]})]})}_n.displayName="ActivityItem";var ue={sm:{text:"text-[length:var(--control-text-sm)]",height:"h-[var(--control-sm-height)]",padding:"px-[var(--control-padding-sm)]",paddingY:"py-[var(--control-gap-sm)]",gap:"gap-[var(--control-gap-sm)]"},md:{text:"text-[length:var(--control-text-md)]",height:"h-[var(--control-md-height)]",padding:"px-[var(--control-padding-md)]",paddingY:"py-[var(--control-gap-md)]",gap:"gap-[var(--control-gap-md)]"},lg:{text:"text-[length:var(--control-text-lg)]",height:"h-[var(--control-lg-height)]",padding:"px-[var(--control-padding-lg)]",paddingY:"py-[var(--control-gap-lg)]",gap:"gap-[var(--control-gap-lg)]"},xl:{text:"text-[length:var(--control-text-xl)]",height:"h-[var(--control-xl-height)]",padding:"px-[var(--control-padding-xl)]",paddingY:"py-[var(--control-gap-xl)]",gap:"gap-[var(--control-gap-xl)]"}};var Db="flex font-medium justify-center items-center gap-2 text-center transition rounded-[var(--control-border-radius)] whitespace-nowrap box-border",Rb={default:"bg-action-default text-[color:var(--color-action-default-text)] hover:bg-action-default-hover forced-colors:bg-[ButtonText] forced-colors:text-[ButtonFace] border-2 border-transparent",brand:"bg-action-brand text-[color:var(--color-action-brand-text)] hover:bg-action-brand-hover forced-colors:bg-[ButtonText] forced-colors:text-[ButtonFace] border-2 border-transparent",secondary:"bg-transparent text-text-body border-2 border-border-muted hover:bg-text-body/5 forced-colors:border-[ButtonBorder] forced-colors:bg-[ButtonFace] forced-colors:text-[ButtonText]",ghost:"border-none text-text-body hover:bg-text-body/5 forced-colors:text-[ButtonText] forced-colors:hover:bg-[ButtonFace]",destructive:"bg-transparent text-feedback-error-text border-2 border-border-muted hover:bg-feedback-error-background/50 forced-colors:border-[ButtonBorder] forced-colors:bg-[ButtonFace] forced-colors:text-[Mark]",link:"!text-action-brand hover:text-action-brand/90 hover:underline hover:decoration-2 hover:underline-offset-4",icon:"border-none text-text-body hover:bg-background-hover hover:text-text-heading forced-colors:text-[ButtonText] forced-colors:hover:bg-[ButtonFace] p-1 flex-shrink-0 rounded-[var(--control-border-radius)]",unstyled:"bg-transparent"},Cd={full:"w-full",default:"w-fit"},Ab="opacity-control-hover cursor-not-allowed pointer-events-none grayscale",Mb="opacity-100 cursor-pointer",Lb={"top-right":"-right-2 -top-2","top-left":"-left-2 -top-2","bottom-right":"-right-2 -bottom-2","bottom-left":"-left-2 -bottom-2"},Fb={primary:"bg-action-brand text-white",destructive:"bg-action-destructive text-white"};function Eb(e){return e?e==="primary"?"brand":e:"default"}function Ib(e){let{variant:t="default",size:r="md",isDisabled:o,fullWidth:n=false,isLoading:a=false}=e,i=Eb(t),l=i==="unstyled"?"":`${Db} ${Rb[i]}`;i!=="unstyled"&&(l+=` ${ue[r].text} ${ue[r].height} ${ue[r].padding} ${ue[r].gap}`),o||a?l+=` ${Ab}`:l+=` ${Mb}`,n?l+=` ${Cd.full}`:l+=` ${Cd.default}`;let s=i==="brand"?"focus-visible:outline-action-brand":void 0;return [l,Se(),s].filter(Boolean).join(" ")}function q(e){let{icon:t,children:r,isLoading:o=false,loadingText:n,loadingIndicator:a,size:i="md",iconPosition:l="left",iconWeight:s,href:c,className:p,badgeNumber:d,badgeVariant:m="primary",badgePosition:u="top-right",style:g,target:f,rel:b,...x}=e,y=t?jsxRuntime.jsx(P,{name:t,className:`icon-[--control-icon-size-${i}]`,weight:s}):null,v=jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[l==="left"&&y,typeof r=="function"?null:r,l==="right"&&y]}),h=jsxRuntime.jsxs("div",{className:"relative inline-flex items-center justify-center",children:[jsxRuntime.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:a||jsxRuntime.jsx(P,{name:"CircleNotch",className:`animate-spin icon-[--control-icon-size-${i}]`,"aria-hidden":"true"})}),jsxRuntime.jsx("div",{className:"invisible","aria-hidden":"true",children:v}),n&&jsxRuntime.jsx("span",{className:"sr-only",role:"status","aria-live":"polite",children:n})]}),C=(d??0)>0,S=tailwindMerge.twMerge(Ib(e),p),w=c?{href:c,target:f,rel:b,...x}:{};if(c){let{onPress:k,onPressStart:L,onPressEnd:V,onPressChange:H,onPressUp:K,onAuxClick:B,onContextMenu:J,onDoubleClick:j,...$}=x;Object.assign(w,$);}let N=c?jsxRuntime.jsx(reactAriaComponents.Link,{...w,...o&&{"aria-busy":true},style:C?void 0:g,className:S,children:o?h:typeof r=="function"?(function(k){return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[l==="left"&&y,r(k),l==="right"&&y]})}):v}):jsxRuntime.jsx(reactAriaComponents.Button,{...x,...o&&{"aria-busy":true},style:C?void 0:g,className:S,children:o?h:typeof r=="function"?(function(k){return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[l==="left"&&y,r(k),l==="right"&&y]})}):v});return C?jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("relative flex",p),style:g,children:[N,jsxRuntime.jsx("span",{className:`absolute ${Lb[u]} flex h-5 w-5 items-center justify-center rounded-full ${Fb[m]} text-xs font-medium`,"aria-label":`${d} items`,children:d})]}):N}function mr({primaryAction:e,secondaryAction:t,footerContent:r}){let o=e||t;return !o&&!r?null:jsxRuntime.jsxs("div",{className:"flex h-28 w-full flex-col items-center justify-center border-t p-4",children:[r&&jsxRuntime.jsx("div",{className:"flex h-10 justify-center",children:r}),o&&jsxRuntime.jsxs("div",{className:"flex h-full w-full items-center justify-between gap-4",children:[t&&jsxRuntime.jsx(q,{size:t.size||"lg",fullWidth:true,variant:t.variant||"secondary",onPress:t.onPress,isLoading:t.isLoading,isDisabled:t.isDisabled,children:t.label}),e&&jsxRuntime.jsx(q,{size:e.size||"lg",fullWidth:true,variant:e.variant||"brand",onPress:e.onPress,isLoading:e.isLoading,isDisabled:e.isDisabled,children:e.label})]})]})}var Vb={xs:"text-lg font-semibold",sm:"text-xl font-semibold",md:"text-2xl font-semibold",lg:"text-3xl font-semibold",xl:"text-4xl font-semibold"},zb={page:"h-16 leading-[62px]"};function mt({tag:e="h1",size:t="lg",height:r,className:o="",children:n}){let a=Vb[t],i=r?zb[r]:"";return jsxRuntime.jsx(e,{className:tailwindMerge.twMerge(a,i,o),children:n})}var Je=({title:e,onClose:t,hideCloseIcon:r=false,titleAlign:o="left",hasBackArrow:n=false,onBack:a,headerContent:i})=>jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("relative flex h-16 w-full items-center justify-between border-b px-4",e&&"border-b",o==="center"?"justify-center":""),children:[n&&jsxRuntime.jsx(q,{variant:"icon",onPress:a,className:"absolute left-4","aria-label":"Go back",children:jsxRuntime.jsx(P,{name:"CaretLeft","data-testid":"back-arrow"})}),i||jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[e&&jsxRuntime.jsx(mt,{size:"xs",children:e}),t&&!r&&jsxRuntime.jsx(q,{variant:"icon",onPress:t,"aria-label":"Close dialog",children:jsxRuntime.jsx(P,{name:"X","data-testid":"close-button"})})]})]});var Wb={outlined:"bg-background-surface border border-border-default",elevated:"bg-background-surface border-0 shadow-md",filled:"bg-background-muted border-0",ghost:"bg-transparent border-0 shadow-none"},Ub="rounded-lg",ss={square:"aspect-square",video:"aspect-video",wide:"aspect-[2/1]",auto:""},Kb={start:"justify-start",end:"justify-end",center:"justify-center",between:"justify-between"};function Et({variant:e="outlined",className:t,children:r,isLoading:o=false}){return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("w-full overflow-hidden",Wb[e],Ub,t),"data-testid":"card",children:o?jsxRuntime.jsx(F,{width:"100%",height:"100%",className:"rounded-none"}):r})}function ls({title:e,subtitle:t,actions:r,className:o,isLoading:n=false}){return n?jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("p-6 pb-4",o),children:[jsxRuntime.jsxs("div",{className:"flex justify-between items-start mb-1",children:[jsxRuntime.jsx(F,{width:120,height:20}),jsxRuntime.jsx(F,{width:24,height:24})]}),t&&jsxRuntime.jsx(F,{width:200,height:16})]}):!e&&!t&&!r?null:jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("p-6 pb-4",o),children:jsxRuntime.jsxs("div",{className:"flex justify-between items-start gap-4",children:[jsxRuntime.jsxs("div",{className:"min-w-0 flex-1",children:[e&&jsxRuntime.jsx("div",{className:"mb-1",children:typeof e=="string"?jsxRuntime.jsx(mt,{tag:"h3",size:"sm",className:"text-text-heading",children:e}):e}),t&&jsxRuntime.jsx("div",{className:"text-sm text-text-muted",children:t})]}),r&&jsxRuntime.jsx("div",{className:"flex-shrink-0",children:r})]})})}function cs({src:e,alt:t,aspectRatio:r="auto",className:o,children:n,isLoading:a=false}){return a?jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("bg-background-muted",ss[r],o),children:jsxRuntime.jsx(F,{width:"100%",height:"100%"})}):n?jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("overflow-hidden",ss[r],o),children:n}):e?jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("overflow-hidden",ss[r],o),children:jsxRuntime.jsx("img",{src:e,alt:t||"",className:"w-full h-full object-cover",loading:"lazy"})}):null}function ds({className:e,children:t,isLoading:r=false}){let n=e?.match(/p(?:t|b|l|r|x|y)?-(?:\d+(?:\.\d+)?|px|\[.+?\])/)?"":"px-6 py-4";return r?jsxRuntime.jsx("div",{className:tailwindMerge.twMerge(n,e),children:jsxRuntime.jsxs("div",{className:"space-y-2",children:[jsxRuntime.jsx(F,{width:"100%",height:16}),jsxRuntime.jsx(F,{width:"80%",height:16}),jsxRuntime.jsx(F,{width:"60%",height:16})]})}):t?jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("px-6 py-4 text-text-body",e),children:t}):null}function us({className:e,children:t,align:r="end",isLoading:o=false}){return o?jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("px-6 py-4 flex gap-2 justify-end",e),children:[jsxRuntime.jsx(F,{width:80,height:32}),jsxRuntime.jsx(F,{width:60,height:32})]}):t?jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("px-6 py-4 flex items-center gap-2",Kb[r],e),children:t}):null}Et.Header=ls;Et.Media=cs;Et.Content=ds;Et.Footer=us;var St=class extends ir.Component{constructor(){super(...arguments);Zo(this,"state",{hasError:false});Zo(this,"handleRetry",()=>{this.setState({hasError:false,error:void 0}),typeof window<"u"&&window.location.reload();});}static getDerivedStateFromError(r){return {hasError:true,error:r}}componentDidCatch(r,o){console.error("Error Boundary caught an error:",r,o);}render(){return this.state.hasError?this.props.fallback?this.props.fallback:jsxRuntime.jsxs(Et,{children:[this.props.title&&jsxRuntime.jsx(Et.Header,{title:this.props.title}),jsxRuntime.jsx(Et.Content,{children:jsxRuntime.jsxs("div",{className:"flex flex-col items-center justify-center gap-4","data-testid":"error-boundary",children:[jsxRuntime.jsx("p",{className:"text-red-500",children:this.state.error?.message||"Something went wrong"}),jsxRuntime.jsx("button",{className:"rounded bg-blue-500 px-4 py-2 text-white hover:bg-blue-600",onClick:this.handleRetry,children:"Retry"})]})})]}):this.props.children}};function Lr({children:e,title:t,headerContent:r,titleAlign:o="left",hideCloseIcon:n=false,hasBackArrow:a=false,onBack:i,isOpen:l,onClose:s,isDismissable:c=true,transparentOverlay:p=false,primaryAction:d,secondaryAction:m,footerContent:u,maxHeight:g="80vh",height:f,maxWidth:b="640px",contentPadding:x=true,showHandle:y=true,animationVariant:v="scale",className:h}){let[C,S]=ir.useState(false);if(ir.useEffect(()=>{if(l){let k=setTimeout(()=>{S(true),setTimeout(()=>S(false),600);},400);return ()=>clearTimeout(k)}},[l]),!l)return null;let w=t||r,N=d||m||u;return jsxRuntime.jsx(St,{children:jsxRuntime.jsx(ot,{isOpen:l,onOpenChange:k=>{k||s?.();},isDismissable:c,transparent:p,className:"flex items-end justify-center p-0 sm:p-4",children:jsxRuntime.jsx(reactAriaComponents.Modal,{className:"w-full max-w-full p-0 sm:p-2",isDismissable:c,children:jsxRuntime.jsxs(reactAriaComponents.Dialog,{className:tailwindMerge.twMerge("relative flex w-full flex-col overflow-hidden","bg-background-surface","shadow-2xl shadow-black/30 dark:shadow-black/60","border-t border-x border-border-default/40","origin-bottom",v==="scale"?"animate-[tray-enter-scale_400ms_cubic-bezier(0.32,0.72,0,1)]":"animate-[tray-enter_400ms_cubic-bezier(0.32,0.72,0,1)]",v==="scale"?"data-[exiting]:animate-[tray-exit-scale_250ms_cubic-bezier(0.32,0,0.67,0)]":"data-[exiting]:animate-[tray-exit_250ms_cubic-bezier(0.32,0,0.67,0)]",h),style:{maxWidth:b,...f?{height:f}:{maxHeight:g}},children:[y&&jsxRuntime.jsx("div",{className:"absolute top-2 left-1/2 -translate-x-1/2 z-10 flex justify-center",children:jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("h-1 w-12 rounded-full bg-border-muted transition-all duration-300","hover:bg-border-default hover:w-16",C&&"animate-[handle-wiggle_0.6s_ease-in-out]")})}),w&&(a?jsxRuntime.jsx(Je,{title:t,headerContent:r,titleAlign:o,hideCloseIcon:n||!s,hasBackArrow:true,onBack:i??(()=>{}),onClose:s||(()=>{})}):jsxRuntime.jsx(Je,{title:t,headerContent:r,titleAlign:o,hideCloseIcon:n||!s,onClose:s||(()=>{})})),jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex-1 min-h-0 overflow-y-auto overscroll-contain",x?"p-4":"p-0"),children:e}),N&&jsxRuntime.jsx(mr,{primaryAction:d,secondaryAction:m,footerContent:u})]})})})})}Lr.displayName="Tray";function fr({isOpen:e,onClose:t,title:r,headerContent:o,titleAlign:n="left",hideCloseIcon:a=false,hasBackArrow:i=false,onBack:l,children:s,primaryAction:c,secondaryAction:p,footerContent:d,transparentOverlay:m=false,maxWidth:u="600px",minWidth:g="400px",maxHeight:f="85vh",height:b,mobileMaxHeight:x="90vh",mobileHeight:y,contentPadding:v=true,className:h}){if(e===false)return null;let C=r||o,S=c||p||d,w=e!==void 0;return Mt("(max-width: 767px)")?w?jsxRuntime.jsx(Lr,{isOpen:e,onClose:t,title:r,headerContent:o,titleAlign:n,hideCloseIcon:a,hasBackArrow:i,onBack:l,primaryAction:c,secondaryAction:p,footerContent:d,transparentOverlay:m,maxHeight:x,height:y,maxWidth:u,contentPadding:v,showHandle:true,animationVariant:"scale",className:h,children:s}):jsxRuntime.jsx(St,{children:jsxRuntime.jsx(ot,{isDismissable:true,transparent:m,className:"flex items-end justify-center",children:jsxRuntime.jsx(reactAriaComponents.Modal,{className:"w-full max-w-fit p-0",children:jsxRuntime.jsxs(reactAriaComponents.Dialog,{className:tailwindMerge.twMerge("relative flex w-full flex-col","bg-background-surface dark:bg-gray-800","shadow-2xl shadow-black/20","border-t border-x border-border-default/40","max-h-[90vh]","rounded-none","overflow-hidden","animate-in slide-in-from-bottom","duration-300 ease-out","data-[exiting]:animate-out data-[exiting]:slide-out-to-bottom","data-[exiting]:duration-200 data-[exiting]:ease-in",h),style:{maxWidth:u,...y?{height:y}:{maxHeight:x}},children:[jsxRuntime.jsx("div",{className:"flex justify-center pt-2",children:jsxRuntime.jsx("div",{className:"h-1.5 w-12 rounded-full bg-border-muted"})}),C&&(i?jsxRuntime.jsx(Je,{title:r,headerContent:o,titleAlign:n,hideCloseIcon:a||!t,hasBackArrow:true,onBack:l,onClose:t||(()=>{})}):jsxRuntime.jsx(Je,{title:r,headerContent:o,titleAlign:n,hideCloseIcon:a||!t,onClose:t||(()=>{})})),jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex-1 min-h-0 overflow-y-auto overscroll-contain",v?"p-4":"p-0"),children:s}),S&&jsxRuntime.jsx(mr,{primaryAction:c,secondaryAction:p,footerContent:d})]})})})}):jsxRuntime.jsx(St,{children:jsxRuntime.jsx(ot,{...w?{isOpen:e,onOpenChange:k=>{!k&&t&&t();}}:{},isDismissable:true,transparent:m,className:"flex items-center justify-center",children:jsxRuntime.jsx(reactAriaComponents.Modal,{className:"w-full p-4",style:{maxWidth:u},children:jsxRuntime.jsxs(reactAriaComponents.Dialog,{className:tailwindMerge.twMerge("relative flex w-full flex-col","bg-background-surface dark:bg-gray-800","shadow-2xl shadow-black/20","border border-border-default/50","rounded-md","overflow-hidden","animate-in fade-in zoom-in-96 slide-in-from-bottom-2","duration-300 ease-out","data-[exiting]:animate-out data-[exiting]:fade-out data-[exiting]:zoom-out-95","data-[exiting]:duration-200 data-[exiting]:ease-in",h),style:{minWidth:g,...b?{height:b}:{maxHeight:f}},children:[C&&(i?jsxRuntime.jsx(Je,{title:r,headerContent:o,titleAlign:n,hideCloseIcon:a||!t,hasBackArrow:true,onBack:l,onClose:t||(()=>{})}):jsxRuntime.jsx(Je,{title:r,headerContent:o,titleAlign:n,hideCloseIcon:a||!t,onClose:t||(()=>{})})),jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex-1 min-h-0 overflow-y-auto",v?"p-6":"p-0"),children:s}),S&&jsxRuntime.jsx(mr,{primaryAction:c,secondaryAction:p,footerContent:d})]})})})})}function Rd({isOpen:e,onClose:t,title:r,message:o,confirmLabel:n="OK",confirmVariant:a="primary",maxWidth:i="400px",minWidth:l="320px"}){return jsxRuntime.jsx(fr,{isOpen:e,onClose:t,title:r,maxWidth:i,minWidth:l,primaryAction:{label:n,onPress:t,variant:a},children:jsxRuntime.jsx("div",{className:"text-text-body",children:o})})}var ra=({className:e,showWordmark:t=true,width:r,fill:o})=>{let n,a;if(o?o.startsWith("fill-")?a=o:n=o:e?a=e:n="var(--color-text-body)",t){let s=r||270,c=s/270*80;return jsxRuntime.jsxs("svg",{width:s,height:c,viewBox:"0 0 270 80",xmlns:"http://www.w3.org/2000/svg",className:a,style:n?{fill:n}:void 0,children:[jsxRuntime.jsxs("g",{clipPath:"url(#clip0_796_283)",children:[jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.223654 20.2934C0.417233 19.8234 0.873598 19.517 1.37984 19.517H20.5909C21.282 19.517 21.8422 20.0798 21.8422 20.774V40.049C21.8422 40.5572 21.5375 41.0155 21.0702 41.2102C20.6028 41.405 20.0647 41.2977 19.7067 40.9385L0.495628 21.6635C0.137428 21.3041 0.030075 20.7633 0.223654 20.2934ZM4.40349 22.0311L19.3396 37.017V22.0311H4.40349Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M38.6458 20.2934C38.8394 19.8234 39.2958 19.517 39.802 19.517H59.013C59.7041 19.517 60.2642 20.0798 60.2642 20.774V40.049C60.2642 40.5572 59.9597 41.0155 59.4923 41.2102C59.025 41.405 58.4867 41.2977 58.1289 40.9385L38.9178 21.6635C38.5595 21.3041 38.4522 20.7633 38.6458 20.2934ZM42.8255 22.0311L57.7618 37.017V22.0311H42.8255Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.4347 58.8447C19.6283 58.3747 20.0847 58.0685 20.5909 58.0685H39.802C40.493 58.0685 41.0532 58.6312 41.0532 59.3255V78.6005C41.0532 79.1087 40.7486 79.567 40.2813 79.7617C39.8139 79.9562 39.2757 79.849 38.9178 79.49L19.7067 60.215C19.3485 59.8555 19.2411 59.3147 19.4347 58.8447ZM23.6146 60.5825L38.5508 75.5682V60.5825H23.6146Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.3227 58.1643C39.79 57.9695 40.3283 58.0768 40.6861 58.436L59.8972 77.711C60.2555 78.0703 60.3628 78.6113 60.1692 79.081C59.9756 79.551 59.5192 79.8575 59.013 79.8575H39.802C39.1109 79.8575 38.5508 79.2948 38.5508 78.6005V59.3255C38.5508 58.8173 38.8554 58.359 39.3227 58.1643ZM41.0532 62.3575V77.3433H55.9893L41.0532 62.3575Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.3227 19.6129C39.79 19.4182 40.3283 19.5254 40.6861 19.8846L59.8972 39.1595C60.2555 39.519 60.3628 40.0598 60.1692 40.5298C59.9756 40.9995 59.5192 41.306 59.013 41.306H39.802C39.1109 41.306 38.5508 40.7433 38.5508 40.049V20.7741C38.5508 20.2658 38.8554 19.8075 39.3227 19.6129ZM41.0532 23.8061V38.792H55.9893L41.0532 23.8061Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.3227 38.8885C39.79 38.694 40.3283 38.8012 40.6861 39.1602L59.8972 58.4352C60.2555 58.7945 60.3628 59.3355 60.1692 59.8055C59.9756 60.2752 59.5192 60.5817 59.013 60.5817H39.802C39.1109 60.5817 38.5508 60.019 38.5508 59.3247V40.0497C38.5508 39.5415 38.8554 39.0832 39.3227 38.8885ZM41.0532 43.0817V58.0675H55.9893L41.0532 43.0817Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M38.6458 39.569C38.8394 39.0992 39.2958 38.7927 39.802 38.7927H59.013C59.7041 38.7927 60.2642 39.3555 60.2642 40.0497V59.3247C60.2642 59.833 59.9597 60.2912 59.4923 60.486C59.025 60.6805 58.4867 60.5732 58.1289 60.2142L38.9178 40.9392C38.5595 40.5797 38.4522 40.039 38.6458 39.569ZM42.8255 41.3067L57.7618 56.2927V41.3067H42.8255Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M38.6458 58.8447C38.8394 58.3747 39.2958 58.0685 39.802 58.0685H59.013C59.7041 58.0685 60.2642 58.6312 60.2642 59.3255V78.6005C60.2642 79.1087 59.9597 79.567 59.4923 79.7617C59.025 79.9562 58.4867 79.849 58.1289 79.49L38.9178 60.215C38.5595 59.8555 38.4522 59.3147 38.6458 58.8447ZM42.8255 60.5825L57.7618 75.5682V60.5825H42.8255Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M58.5338 19.6129C59.0011 19.4182 59.5394 19.5254 59.8972 19.8846L79.1083 39.1595C79.4666 39.519 79.5739 40.0598 79.3803 40.5298C79.1867 40.9995 78.7303 41.306 78.2241 41.306H59.013C58.322 41.306 57.7618 40.7433 57.7618 40.049V20.7741C57.7618 20.2658 58.0664 19.8075 58.5338 19.6129ZM60.2643 23.8061V38.792H75.2006L60.2643 23.8061Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M58.5338 0.338803C59.0011 0.144135 59.5394 0.251385 59.8972 0.610565L79.1083 19.8855C79.4666 20.2449 79.5739 20.7857 79.3803 21.2556C79.1867 21.7256 78.7303 22.032 78.2241 22.032H59.013C58.322 22.032 57.7618 21.4692 57.7618 20.775V1.50003C57.7618 0.99174 58.0664 0.533468 58.5338 0.338803ZM60.2643 4.53208V19.5179H75.2006L60.2643 4.53208Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M57.8569 20.2934C58.0505 19.8234 58.5069 19.517 59.013 19.517H78.2241C78.9151 19.517 79.4753 20.0798 79.4753 20.774V40.049C79.4753 40.5572 79.1707 41.0155 78.7034 41.2102C78.236 41.405 77.6978 41.2977 77.3399 40.9385L58.1289 21.6635C57.7705 21.3041 57.6633 20.7633 57.8569 20.2934ZM62.0365 22.0311L76.9729 37.017V22.0311H62.0365Z"}),jsxRuntime.jsx("path",{d:"M269.838 49.4457H249.005C249.266 51.801 250.162 53.6985 251.695 55.1377C253.225 56.577 255.134 57.2967 257.416 57.2967C259.307 57.2967 260.887 56.8715 262.159 56.021C263.463 55.1377 264.408 53.9927 264.996 52.5862H269.251C268.502 54.9415 267.084 56.937 264.996 58.5725C262.943 60.208 260.414 61.026 257.416 61.026C255.069 61.026 252.917 60.4697 250.961 59.3575C249.037 58.2127 247.504 56.6587 246.363 54.696C245.255 52.7332 244.7 50.558 244.7 48.17C244.7 45.782 245.255 43.6067 246.363 41.644C247.504 39.6812 249.037 38.1437 250.961 37.0315C252.917 35.8867 255.069 35.3142 257.416 35.3142C259.73 35.3142 261.833 35.8702 263.724 36.9825C265.615 38.0947 267.098 39.6485 268.176 41.644C269.283 43.6395 269.838 45.913 269.838 48.4645V49.4457ZM257.416 39.0432C255.263 39.0432 253.439 39.6812 251.939 40.957C250.47 42.2327 249.542 43.9337 249.152 46.06H265.583C265.192 43.9992 264.262 42.3145 262.796 41.006C261.36 39.6975 259.568 39.0432 257.416 39.0432Z"}),jsxRuntime.jsx("path",{d:"M228.356 60.5352V35.8049H232.219V39.7794H232.464C233.05 38.5689 233.963 37.5712 235.202 36.7862C236.474 35.9684 237.974 35.5594 239.701 35.5594H243.125V39.4359H239.701C237.517 39.4359 235.757 40.1554 234.42 41.5949C233.083 43.0342 232.414 44.9152 232.414 47.2377V60.5352H228.356Z"}),jsxRuntime.jsx("path",{d:"M208.607 61.0259C205.64 61.0259 203.326 60.1262 201.663 58.3272C200 56.4952 199.169 53.8947 199.169 50.5252V35.8047H203.228V49.8874C203.228 52.2427 203.766 54.0744 204.842 55.3829C205.95 56.6587 207.532 57.2967 209.586 57.2967C211.02 57.2967 212.308 56.9694 213.449 56.3152C214.623 55.6284 215.536 54.6959 216.188 53.5184C216.84 52.3407 217.166 50.9997 217.166 49.4949V35.8047H221.225V60.5352H217.313V56.5607H217.068C216.286 57.9019 215.161 58.9814 213.694 59.7992C212.226 60.6169 210.531 61.0259 208.607 61.0259Z"}),jsxRuntime.jsx("path",{d:"M186.736 39.534V56.806H194.756V60.5352H182.677V39.534H177.199V35.8047H182.677V29.5732H186.736V35.8047H193.24V39.534H186.736Z"}),jsxRuntime.jsx("path",{d:"M156.585 60.5352H151.988L158.394 48.0227L152.33 35.8047H156.976L162.062 46.0599H165.388L170.474 35.8047H175.022L168.958 48.0227L175.365 60.5352H170.67L165.29 49.7892H162.013L156.585 60.5352Z"}),jsxRuntime.jsx("path",{d:"M150.138 49.1315H129.304C129.565 51.4867 130.461 53.3842 131.994 54.8235C133.526 56.2627 135.433 56.9825 137.715 56.9825C139.606 56.9825 141.188 56.5572 142.459 55.7067C143.763 54.8235 144.709 53.6785 145.296 52.272H149.551C148.801 54.6272 147.382 56.6227 145.296 58.2582C143.242 59.8937 140.715 60.7118 137.715 60.7118C135.368 60.7118 133.216 60.1555 131.26 59.0432C129.336 57.8985 127.804 56.3445 126.663 54.3817C125.554 52.419 125 50.2437 125 47.8557C125 45.4677 125.554 43.2925 126.663 41.3298C127.804 39.367 129.336 37.8295 131.26 36.7173C133.216 35.5725 135.368 35 137.715 35C140.03 35 142.133 35.556 144.024 36.6682C145.915 37.7805 147.399 39.3342 148.475 41.3298C149.583 43.3252 150.138 45.5987 150.138 48.1502V49.1315ZM137.715 38.729C135.564 38.729 133.738 39.367 132.238 40.6427C130.771 41.9185 129.842 43.6195 129.45 45.7458H145.883C145.491 43.685 144.562 42.0002 143.095 40.6917C141.661 39.3832 139.867 38.729 137.715 38.729Z"}),jsxRuntime.jsx("path",{d:"M116.961 60.5353H112.559V30.4072H101.164V26.1875H128.307V30.4072H116.961V60.5353Z"})]}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsx("clipPath",{id:"clip0_796_283",children:jsxRuntime.jsx("rect",{width:"270",height:"80",fill:"white"})})})]})}let i=r||80;return jsxRuntime.jsxs("svg",{width:i,height:i,viewBox:"0 0 80 80",xmlns:"http://www.w3.org/2000/svg",className:a,style:n?{fill:n}:void 0,children:[jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.223654 20.2934C0.417233 19.8234 0.873598 19.517 1.37984 19.517H20.5909C21.282 19.517 21.8422 20.0798 21.8422 20.774V40.049C21.8422 40.5572 21.5375 41.0155 21.0702 41.2102C20.6028 41.405 20.0647 41.2977 19.7067 40.9385L0.495628 21.6635C0.137428 21.3041 0.030075 20.7633 0.223654 20.2934ZM4.40349 22.0311L19.3396 37.017V22.0311H4.40349Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M38.6458 20.2934C38.8394 19.8234 39.2958 19.517 39.802 19.517H59.013C59.7041 19.517 60.2642 20.0798 60.2642 20.774V40.049C60.2642 40.5572 59.9597 41.0155 59.4923 41.2102C59.025 41.405 58.4867 41.2977 58.1289 40.9385L38.9178 21.6635C38.5595 21.3041 38.4522 20.7633 38.6458 20.2934ZM42.8255 22.0311L57.7618 37.017V22.0311H42.8255Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.4347 58.8447C19.6283 58.3747 20.0847 58.0685 20.5909 58.0685H39.802C40.493 58.0685 41.0532 58.6312 41.0532 59.3255V78.6005C41.0532 79.1087 40.7486 79.567 40.2813 79.7617C39.8139 79.9562 39.2757 79.849 38.9178 79.49L19.7067 60.215C19.3485 59.8555 19.2411 59.3147 19.4347 58.8447ZM23.6146 60.5825L38.5508 75.5682V60.5825H23.6146Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.3227 58.1643C39.79 57.9695 40.3283 58.0768 40.6861 58.436L59.8972 77.711C60.2555 78.0703 60.3628 78.6113 60.1692 79.081C59.9756 79.551 59.5192 79.8575 59.013 79.8575H39.802C39.1109 79.8575 38.5508 79.2948 38.5508 78.6005V59.3255C38.5508 58.8173 38.8554 58.359 39.3227 58.1643ZM41.0532 62.3575V77.3433H55.9893L41.0532 62.3575Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.3227 19.6129C39.79 19.4182 40.3283 19.5254 40.6861 19.8846L59.8972 39.1595C60.2555 39.519 60.3628 40.0598 60.1692 40.5298C59.9756 40.9995 59.5192 41.306 59.013 41.306H39.802C39.1109 41.306 38.5508 40.7433 38.5508 40.049V20.7741C38.5508 20.2658 38.8554 19.8075 39.3227 19.6129ZM41.0532 23.8061V38.792H55.9893L41.0532 23.8061Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.3227 38.8885C39.79 38.694 40.3283 38.8012 40.6861 39.1602L59.8972 58.4352C60.2555 58.7945 60.3628 59.3355 60.1692 59.8055C59.9756 60.2752 59.5192 60.5817 59.013 60.5817H39.802C39.1109 60.5817 38.5508 60.019 38.5508 59.3247V40.0497C38.5508 39.5415 38.8554 39.0832 39.3227 38.8885ZM41.0532 43.0817V58.0675H55.9893L41.0532 43.0817Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M38.6458 39.569C38.8394 39.0992 39.2958 38.7927 39.802 38.7927H59.013C59.7041 38.7927 60.2642 39.3555 60.2642 40.0497V59.3247C60.2642 59.833 59.9597 60.2912 59.4923 60.486C59.025 60.6805 58.4867 60.5732 58.1289 60.2142L38.9178 40.9392C38.5595 40.5797 38.4522 40.039 38.6458 39.569ZM42.8255 41.3067L57.7618 56.2927V41.3067H42.8255Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M38.6458 58.8447C38.8394 58.3747 39.2958 58.0685 39.802 58.0685H59.013C59.7041 58.0685 60.2642 58.6312 60.2642 59.3255V78.6005C60.2642 79.1087 59.9597 79.567 59.4923 79.7617C59.025 79.9562 58.4867 79.849 58.1289 79.49L38.9178 60.215C38.5595 59.8555 38.4522 59.3147 38.6458 58.8447ZM42.8255 60.5825L57.7618 75.5682V60.5825H42.8255Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M58.5338 19.6129C59.0011 19.4182 59.5394 19.5254 59.8972 19.8846L79.1083 39.1595C79.4666 39.519 79.5739 40.0598 79.3803 40.5298C79.1867 40.9995 78.7303 41.306 78.2241 41.306H59.013C58.322 41.306 57.7618 40.7433 57.7618 40.049V20.7741C57.7618 20.2658 58.0664 19.8075 58.5338 19.6129ZM60.2643 23.8061V38.792H75.2006L60.2643 23.8061Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M58.5338 0.338803C59.0011 0.144135 59.5394 0.251385 59.8972 0.610565L79.1083 19.8855C79.4666 20.2449 79.5739 20.7857 79.3803 21.2556C79.1867 21.7256 78.7303 22.032 78.2241 22.032H59.013C58.322 22.032 57.7618 21.4692 57.7618 20.775V1.50003C57.7618 0.99174 58.0664 0.533468 58.5338 0.338803ZM60.2643 4.53208V19.5179H75.2006L60.2643 4.53208Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M57.8569 20.2934C58.0505 19.8234 58.5069 19.517 59.013 19.517H78.2241C78.9151 19.517 79.4753 20.0798 79.4753 20.774V40.049C79.4753 40.5572 79.1707 41.0155 78.7034 41.2102C78.236 41.405 77.6978 41.2977 77.3399 40.9385L58.1289 21.6635C57.7705 21.3041 57.6633 20.7633 57.8569 20.2934ZM62.0365 22.0311L76.9729 37.017V22.0311H62.0365Z"})]})};var oa=({topItems:e=[],bottomItems:t=[],bottomContent:r,logo:o,showLogo:n=true,linkComponent:a="a",className:i="",mobileMenuId:l="app-mobile-menu",sidebarCollapseId:s="app-sidebar-collapse"})=>{let c=u=>u.length>0&&"items"in u[0],p=u=>c(u)?u:[{id:"default-section",items:u}],d=(u,g,f)=>jsxRuntime.jsxs("div",{className:"space-y-0.5",children:[u.title&&jsxRuntime.jsx("div",{className:"px-6 py-1 text-xs font-medium text-text-subtle uppercase tracking-wider","data-collapse-hide":"",children:u.title}),jsxRuntime.jsx("div",{className:"space-y-0.5",children:u.items.map(b=>m(b))}),g<f-1&&jsxRuntime.jsx("div",{className:"border-b border-border-subtle mx-6 my-2","data-collapse-hide":""})]},u.id),m=(u,g=false)=>{if(u.children&&u.children.length>0){let x=`category-${u.id}`;return jsxRuntime.jsxs("div",{className:"group/category",children:[jsxRuntime.jsx("input",{type:"checkbox",id:x,className:"peer/category hidden",defaultChecked:u.isExpanded,"aria-hidden":"true"}),jsxRuntime.jsxs("label",{htmlFor:x,className:"flex items-center gap-3 px-6 py-1 text-text-body hover:bg-background-hover hover:text-text-heading cursor-pointer transition-all duration-200","data-collapse-center":"",children:[u.icon&&jsxRuntime.jsx("span",{className:"flex-shrink-0 w-4 h-4 flex items-center justify-center transition-all duration-200","data-collapse-icon":"",children:u.icon}),jsxRuntime.jsx("span",{className:"transition-all duration-200","data-collapse-hide":"",children:u.label}),jsxRuntime.jsx("span",{className:"flex-1","data-collapse-hide":""}),jsxRuntime.jsx("svg",{className:"w-4 h-4 transform transition-transform duration-200 peer-checked/category:rotate-180 ml-auto",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","data-collapse-hide":"",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),jsxRuntime.jsx("div",{className:"hidden peer-checked/category:block bg-background-subtle border-l-2 border-border-subtle ml-6","data-collapse-hide-category":"",children:u.children.map(y=>m(y,true))})]},u.id)}let f={href:u.href||"#",className:`flex items-center gap-3 transition-all duration-200 hover:bg-background-hover ${g?"pl-8 pr-6 py-1 text-sm":"px-6 py-1"} ${u.isActive?"bg-action-brand/10 text-action-brand border-l-2 border-action-brand":"text-text-body hover:text-text-heading"}`,"aria-current":u.isActive?"page":void 0,"data-collapse-center":g?void 0:""},b=jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[u.icon&&!g&&jsxRuntime.jsx("span",{className:"flex-shrink-0 w-4 h-4 flex items-center justify-center transition-all duration-200","data-collapse-icon":"",children:u.icon}),jsxRuntime.jsx("span",{className:"transition-all duration-200","data-collapse-hide":"",children:u.label})]});return a==="a"?jsxRuntime.jsx("a",{...f,children:b},u.id):jsxRuntime.jsx(a,{...f,children:b},u.id)};return jsxRuntime.jsxs("div",{className:`flex flex-col h-full ${i}`,children:[jsxRuntime.jsxs("div",{className:"flex items-center justify-between h-[60px] px-6 border-b border-border-default",children:[n&&jsxRuntime.jsx("div",{className:"transition-all duration-200","data-collapse-hide":"",children:o||jsxRuntime.jsx(ra,{showWordmark:true,width:120})}),jsxRuntime.jsx("label",{htmlFor:s,className:"hidden md:flex items-center justify-center w-8 h-8 rounded hover:bg-background-hover cursor-pointer transition-all duration-200","aria-label":"Toggle sidebar","data-collapse-toggle":"",children:jsxRuntime.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"})})}),jsxRuntime.jsx("label",{htmlFor:l,className:"md:hidden flex items-center justify-center w-8 h-8 rounded hover:bg-background-hover cursor-pointer transition-colors","aria-label":"Close menu",children:jsxRuntime.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),jsxRuntime.jsxs("nav",{className:"flex-1 flex flex-col overflow-hidden",children:[e&&e.length>0&&jsxRuntime.jsx("div",{className:"flex-1 overflow-y-auto py-2 scrollbar-hide",children:p(e).map((u,g,f)=>d(u,g,f.length))}),t&&t.length>0&&jsxRuntime.jsx("div",{className:"flex-shrink-0 border-t bg-background-muted/30",children:jsxRuntime.jsx("div",{className:"mt-2 pb-2 space-y-0.5",children:t.map(u=>m(u))})}),r&&jsxRuntime.jsx("div",{className:"flex-shrink-0 border-t border-border-default",children:jsxRuntime.jsx("div",{"data-collapse-hide":"",children:r})})]})]})};var rn=({rightContent:e,showMobileMenu:t=true,avatar:r,showColorModeSwitcher:o=false,toggleTheme:n,isDarkThemeEnabled:a=false,actions:i,className:l="",mobileMenuId:s="app-mobile-menu"})=>jsxRuntime.jsx("header",{className:`h-[60px] bg-background-surface border-b ${l}`,children:jsxRuntime.jsxs("div",{className:"flex h-full items-center justify-between",children:[jsxRuntime.jsx("div",{className:"flex items-center h-full",children:t&&jsxRuntime.jsx("label",{htmlFor:s,className:"md:hidden cursor-pointer","aria-label":"Open menu",children:jsxRuntime.jsx("div",{className:"flex h-full w-14 flex-col items-center justify-center border-r hover:bg-background-hover transition-colors",children:jsxRuntime.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"})})})})}),jsxRuntime.jsxs("div",{className:"flex items-center gap-4 px-4",children:[e,o&&n&&jsxRuntime.jsx("button",{type:"button",onClick:n,className:"flex items-center justify-center w-8 h-8 rounded hover:bg-background-hover transition-colors","aria-label":a?"Switch to light mode":"Switch to dark mode",children:a?jsxRuntime.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"})}):jsxRuntime.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"})})}),i,r&&jsxRuntime.jsx("div",{className:"flex items-center",children:r})]})]})});function Md({sideNav:e,topNav:t,children:r,contentPaddingX:o,contentPaddingY:n,showSidebarBorder:a=true,mainClassName:i,enableJsEnhancements:l=false}){let s="app-mobile-menu",c="app-sidebar-collapse";return jsxRuntime.jsxs("div",{className:"min-h-[100dvh] bg-background text-text-body relative",children:[jsxRuntime.jsx("input",{type:"checkbox",id:c,className:"sr-only peer/sidebar","aria-hidden":"true"}),jsxRuntime.jsx("a",{href:"#app-content",className:"sr-only focus:not-sr-only focus:absolute focus:left-4 focus:top-4 z-50 rounded px-3 py-2 bg-background-surface shadow",children:"Skip to content"}),jsxRuntime.jsx(rn,{...t,mobileMenuId:s,className:["sticky top-0 flex-shrink-0 z-30 md:hidden",t?.className].filter(Boolean).join(" ")}),jsxRuntime.jsxs("div",{className:"flex w-full h-[calc(100dvh-60px)] md:h-[100dvh] relative overflow-hidden",children:[jsxRuntime.jsx("input",{type:"checkbox",id:s,className:"sr-only peer/mobile","aria-hidden":"true"}),jsxRuntime.jsx("label",{htmlFor:s,className:"fixed inset-0 bg-black/50 z-40 opacity-0 pointer-events-none peer-checked/mobile:opacity-100 peer-checked/mobile:pointer-events-auto transition-opacity md:hidden","aria-label":"Close menu"}),jsxRuntime.jsx("aside",{id:"app-sidebar",className:["bg-background-surface","border-r border-border-default","transition-all duration-300 ease-in-out","fixed md:relative","left-0 top-0 bottom-0","z-50","w-80 md:w-64","h-[100dvh] md:h-full","-translate-x-full","peer-checked/mobile:translate-x-0","md:translate-x-0",a?"":"!border-r-0",e?.className||""].filter(Boolean).join(" "),children:jsxRuntime.jsx(oa,{...e,mobileMenuId:s,sidebarCollapseId:c,className:"h-full"})}),jsxRuntime.jsxs("div",{className:"flex-1 flex flex-col h-full overflow-hidden",children:[jsxRuntime.jsx("div",{className:"sticky top-0 flex-shrink-0 hidden md:block z-20",children:jsxRuntime.jsx(rn,{...t,className:t?.className})}),jsxRuntime.jsx("main",{id:"app-content",className:["flex-1 overflow-y-auto bg-background-body",o,n,i||""].join(" "),role:"main",children:r})]})]}),jsxRuntime.jsx("style",{dangerouslySetInnerHTML:{__html:`
1
+ 'use strict';var reactAriaComponents=require('react-aria-components'),pr=require('react'),fileSaver=require('file-saver'),Dg=require('papaparse'),Ig=require('fuse.js'),reactVirtual=require('@tanstack/react-virtual'),jsxRuntime=require('react/jsx-runtime'),luxon=require('luxon'),tailwindMerge=require('tailwind-merge'),Rb=require('@phosphor-icons/react'),reactStately=require('react-stately'),lucideReact=require('lucide-react'),Ly=require('react-ace'),reactColorful=require('react-colorful'),curve=require('@visx/curve'),shape=require('@visx/shape'),framerMotion=require('framer-motion'),axis=require('@visx/axis'),scale=require('@visx/scale'),d3Array=require('d3-array'),responsive=require('@visx/responsive'),zoom=require('@visx/zoom'),brush=require('@visx/brush'),pattern=require('@visx/pattern'),gradient=require('@visx/gradient'),m1=require('react-map-gl'),reactDom=require('react-dom'),wS=require('@tiptap/extension-link'),react=require('@tiptap/react'),menus=require('@tiptap/react/menus'),PS=require('@tiptap/starter-kit');var _documentCurrentScript=typeof document!=='undefined'?document.currentScript:null;function _interopDefault(e){return e&&e.__esModule?e:{default:e}}function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var pr__namespace=/*#__PURE__*/_interopNamespace(pr);var Dg__default=/*#__PURE__*/_interopDefault(Dg);var Ig__default=/*#__PURE__*/_interopDefault(Ig);var Rb__namespace=/*#__PURE__*/_interopNamespace(Rb);var Ly__default=/*#__PURE__*/_interopDefault(Ly);var m1__default=/*#__PURE__*/_interopDefault(m1);var wS__default=/*#__PURE__*/_interopDefault(wS);var PS__default=/*#__PURE__*/_interopDefault(PS);var Ng=Object.defineProperty;var kg=(e,t,r)=>t in e?Ng(e,t,{enumerable:true,configurable:true,writable:true,value:r}):e[t]=r;var nn=(e,t,r)=>kg(e,typeof t!="symbol"?t+"":t,r);function Vt(e,t=false){let[r,o]=pr.useState(t);return pr.useEffect(()=>{if(typeof window>"u")return;let n=window.matchMedia(e);o(n.matches);let a=i=>{o(i.matches);};return n.addEventListener("change",a),()=>{n.removeEventListener("change",a);}},[e]),r}var zr={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"};function To(e="base"){let t=Vt(`(min-width: ${zr.sm})`,e!=="base"),r=Vt(`(min-width: ${zr.md})`,["md","lg","xl","2xl"].includes(e)),o=Vt(`(min-width: ${zr.lg})`,["lg","xl","2xl"].includes(e)),n=Vt(`(min-width: ${zr.xl})`,["xl","2xl"].includes(e)),a=Vt(`(min-width: ${zr["2xl"]})`,e==="2xl"),i=!r,s=r,l="base";return a?l="2xl":n?l="xl":o?l="lg":r?l="md":t&&(l="sm"),{current:l,isSm:t,isMd:r,isLg:o,isXl:n,is2Xl:a,isMobile:i,isDesktop:s}}function Ji(e,t,r=true){let o=e||"chart";if(r){let n=new Date().toISOString().replace(/[:.]/g,"-").slice(0,-5);return `${o}-${n}.${t}`}return `${o}.${t}`}async function Zi(e,t,r={},o){let n=Array.isArray(t[0])?t:[t];try{switch(e){case "csv":await Rg(n,r);break;case "svg":await Ag(o,r);break;case "png":await Mg(o,r);break;default:throw new Error(`Unsupported export type: ${e}`)}}catch(a){throw console.error("Export failed:",a),new Error(`Failed to export chart as ${e}: ${a instanceof Error?a.message:"Unknown error"}`)}}async function Rg(e,t){try{let r=new Map;e.forEach(l=>{l.forEach(c=>{let p=c.xValue.getTime();r.has(p)||r.set(p,c.xValue);});});let n=Array.from(r.values()).sort((l,c)=>l.getTime()-c.getTime()).map(l=>{let c={[t.xLabel||"Date"]:l.toLocaleString("en-US",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"})};return e.forEach((p,d)=>{let m=t.seriesLabels?.[d]||`Series ${d+1}`,u=p.find(g=>g.xValue.getTime()===l.getTime());c[m]=u?u.yValue:"",u?.category&&(c[`${m} Category`]=u.category);}),c}),a=Dg__default.default.unparse(n,{header:!0,skipEmptyLines:!0}),i=new Blob([a],{type:"text/csv;charset=utf-8;"}),s=Ji(t.filename||"chart-data","csv",t.timestamp!==!1);fileSaver.saveAs(i,s);}catch(r){throw new Error(`CSV export failed: ${r instanceof Error?r.message:"Unknown error"}`)}}async function Ag(e,t){if(!e.current)throw new Error("SVG element not found");try{let o=e.current.cloneNode(!0);if(!o.querySelector("rect[data-background]")){let c=document.createElementNS("http://www.w3.org/2000/svg","rect");c.setAttribute("width",o.getAttribute("width")||"100%"),c.setAttribute("height",o.getAttribute("height")||"100%"),c.setAttribute("fill","white"),c.setAttribute("data-background","true"),o.insertBefore(c,o.firstChild);}let i=new XMLSerializer().serializeToString(o);i.includes("<?xml")||(i=`<?xml version="1.0" encoding="UTF-8"?>
2
+ `+i),i.includes("xmlns=")||(i=i.replace("<svg",'<svg xmlns="http://www.w3.org/2000/svg"'));let s=new Blob([i],{type:"image/svg+xml;charset=utf-8"}),l=Ji(t.filename||"chart","svg",t.timestamp!==!1);fileSaver.saveAs(s,l);}catch(r){throw new Error(`SVG export failed: ${r instanceof Error?r.message:"Unknown error"}`)}}async function Mg(e,t,r=2){if(!e.current)throw new Error("SVG element not found");let o="";try{let n=e.current,a=n.getBoundingClientRect(),i=n.cloneNode(!0);i.setAttribute("width",String(a.width)),i.setAttribute("height",String(a.height)),i.removeAttribute("transform");let s=i.getElementsByTagName("text");Array.from(s).forEach(m=>{m.style.fontFamily||(m.style.fontFamily="system-ui, -apple-system, sans-serif"),m.style.fontSize||(m.style.fontSize="12px");});let l=document.createElementNS("http://www.w3.org/2000/svg","rect");l.setAttribute("width",String(a.width)),l.setAttribute("height",String(a.height)),l.setAttribute("fill","white"),i.insertBefore(l,i.firstChild);let p=new XMLSerializer().serializeToString(i);p.includes("xmlns=")||(p=p.replace("<svg",'<svg xmlns="http://www.w3.org/2000/svg"'));let d=new Blob([p],{type:"image/svg+xml;charset=utf-8"});return o=URL.createObjectURL(d),new Promise((m,u)=>{let g=new Image,f=setTimeout(()=>{o&&URL.revokeObjectURL(o),u(new Error("Image loading timeout"));},1e4);g.onload=()=>{clearTimeout(f);try{let b=document.createElement("canvas");b.width=a.width*r,b.height=a.height*r;let x=b.getContext("2d");if(!x)throw new Error("Canvas context not available");x.imageSmoothingEnabled=!0,x.imageSmoothingQuality="high",x.scale(r,r),x.fillStyle="white",x.fillRect(0,0,a.width,a.height),x.drawImage(g,0,0,a.width,a.height),b.toBlob(h=>{if(h){let v=Ji(t.filename||"chart","png",t.timestamp!==!1);fileSaver.saveAs(h,v),m();}else u(new Error("Failed to create PNG blob"));o&&URL.revokeObjectURL(o);},"image/png",1);}catch(b){o&&URL.revokeObjectURL(o),u(b);}},g.onerror=()=>{clearTimeout(f),o&&URL.revokeObjectURL(o),u(new Error("Failed to load SVG as image"));},g.src=o;})}catch(n){throw o&&URL.revokeObjectURL(o),new Error(`PNG export failed: ${n instanceof Error?n.message:"Unknown error"}`)}}function Lg(e){if(typeof window>"u")return false;switch(e){case "csv":return true;case "svg":return typeof XMLSerializer<"u";case "png":return typeof HTMLCanvasElement<"u"&&typeof HTMLCanvasElement.prototype.toBlob=="function";default:return false}}function Fg(e){return {csv:"CSV Spreadsheet",svg:"SVG Vector Image",png:"PNG Image"}[e]||"Unknown Format"}function Vc({datasets:e,metadata:t,svgRef:r}){return pr.useCallback(async o=>{try{await Zi(o,e,t,r);}catch(n){throw console.error("Chart export failed:",n),n}},[e,t,r])}function an(e,t){return t.split(".").reduce((r,o)=>r?.[o],e)}function Bg(e,t){let r=an(e,t.field),o=t.value;switch(t.operator){case "eq":return r===o;case "neq":return r!==o;case "in":return Array.isArray(o)?o.includes(r):false;case "nin":return Array.isArray(o)?!o.includes(r):false;case "gt":return r instanceof Date&&typeof o=="string"?r>new Date(o):r>o;case "gte":return r instanceof Date&&typeof o=="string"?r>=new Date(o):r>=o;case "lt":return r instanceof Date&&typeof o=="string"?r<new Date(o):r<o;case "lte":return r instanceof Date&&typeof o=="string"?r<=new Date(o):r<=o;case "contains":return typeof r!="string"?false:r.toLowerCase().includes(String(o).toLowerCase());case "startsWith":return typeof r!="string"?false:r.toLowerCase().startsWith(String(o).toLowerCase());case "endsWith":return typeof r!="string"?false:r.toLowerCase().endsWith(String(o).toLowerCase());default:return false}}function Oc(e,t){if(t.conditions.length===0)return true;let r=t.conditions.map(o=>"conditions"in o?Oc(e,o):Bg(e,o));return t.logic==="AND"?r.every(Boolean):r.some(Boolean)}function zg(e,t){return !t||t.conditions.length===0?e:e.filter(r=>Oc(r,t))}function Vg(e,t,r){if(e==null&&t==null)return 0;if(e==null)return r==="asc"?1:-1;if(t==null)return r==="asc"?-1:1;if(e instanceof Date&&t instanceof Date){let o=e.getTime()-t.getTime();return r==="asc"?o:-o}if(typeof e=="string"&&typeof t=="string"){let o=e.toLowerCase().localeCompare(t.toLowerCase());return r==="asc"?o:-o}return e<t?r==="asc"?-1:1:e>t?r==="asc"?1:-1:0}function Og(e,t){return t?[...e].sort((r,o)=>{let n=an(r,t.field),a=an(o,t.field);return Vg(n,a,t.direction)}):e}function Hg(e,t){if(!t||!t.query.trim())return e;let{query:r,fields:o,fuzzy:n=true,threshold:a=.3}=t;if(n)return new Ig__default.default(e,{keys:o,threshold:a,ignoreLocation:true,includeScore:true}).search(r).map(c=>c.item);let i=r.toLowerCase();return e.filter(s=>o.some(l=>{let c=an(s,l);return c==null?false:String(c).toLowerCase().includes(i)}))}function Wg(e,t){let r={};for(let o of t){if(r[o.field]={},o.values)for(let n of o.values)r[o.field][String(n.value)]=0;for(let n of e){let a=an(n,o.field);if(a!=null)if(Array.isArray(a))for(let i of a){let s=String(i);r[o.field][s]=(r[o.field][s]||0)+1;}else {let i=String(a);r[o.field][i]=(r[o.field][i]||0)+1;}}}return r}function Hc({data:e,filters:t,sort:r,search:o,facetConfigs:n=[]}){let a=Hg(e,o||null);a=zg(a,t||null);let i=Wg(a,n);return a=Og(a,r||null),{data:a,facetCounts:i,resultCount:a.length}}function ea({data:e,filters:t,sort:r,search:o,facetConfigs:n=[]}){return pr.useMemo(()=>Hc({data:e,filters:t,sort:r,search:o,facetConfigs:n}),[e,t,r,o,n])}function Po(e,t=300){let[r,o]=pr.useState(e);return pr.useEffect(()=>{let n=setTimeout(()=>o(e),t);return ()=>clearTimeout(n)},[e,t]),r}function ta({filters:e,sort:t,search:r,onStateChange:o,searchDebounce:n=300}){let a=Po(r,n),i=pr.useRef(true);pr.useEffect(()=>{if(i.current){i.current=false;return}o({filters:e,sort:t,search:a});},[e,t,a,o]);}function Wc(e){return e.mode==="client"?ea({data:e.data,filters:e.filters,sort:e.sort,search:e.search,facetConfigs:e.facetConfigs}):(ta({filters:e.filters,sort:e.sort,search:e.search,onStateChange:e.onStateChange,searchDebounce:e.searchDebounce}),{data:e.data,facetCounts:e.facetCounts||{},resultCount:e.resultCount??e.data.length})}function Uc(){let[e,t]=pr.useState({width:0,height:0}),r=pr.useRef(null),o=pr.useRef(void 0),n=pr.useCallback(a=>{if(r.current&&(r.current.disconnect(),r.current=null),o.current&&(cancelAnimationFrame(o.current),o.current=void 0),!a){t({width:0,height:0});return}let i=a.getBoundingClientRect();t({width:i.width,height:i.height}),r.current=new ResizeObserver(s=>{o.current&&cancelAnimationFrame(o.current),o.current=requestAnimationFrame(l=>{for(let c of s){let{width:p,height:d}=c.contentRect;t(m=>m.width!==p||m.height!==d?{width:p,height:d}:m);}});}),r.current.observe(a);},[]);return pr.useEffect(()=>()=>{o.current&&cancelAnimationFrame(o.current),r.current&&r.current.disconnect();},[]),{ref:n,width:e.width,height:e.height}}function br({items:e,onLoadMore:t,hasMore:r,isLoading:o=false,loadingState:n,enableVirtualization:a,estimatedItemSize:i=50,overscan:s=5,scrollElement:l,loadMoreThreshold:c=100}){let p=pr.useRef(null),d=pr.useRef(null),m=pr.useRef(false),[u,g]=pr.useState(0);pr.useEffect(()=>{d.current&&(l||p.current)&&g(A=>A+1);},[l,e.length]);let f=n||(o?e.length===0?"loading":"loading-more":"idle"),b=f==="loading",x=f==="loading-more",h=a!==void 0?a:e.length>=100,v=reactVirtual.useVirtualizer({count:e.length,getScrollElement:()=>l||p.current,estimateSize:()=>i,overscan:s}),y=h?v:null,C=h?v.getVirtualItems():[];pr.useEffect(()=>{let A=d.current,N=l||p.current;if(!A||!N||!r||o||!t)return;let D=new IntersectionObserver(E=>{let[W]=E;W?.isIntersecting&&!m.current&&r&&t&&(m.current=true,Promise.resolve(t()).finally(()=>{m.current=false;}));},{root:N,rootMargin:`0px 0px ${c}px 0px`,threshold:0});return D.observe(A),()=>{D.disconnect();}},[r,o,t,l,c,u]);let S=pr.useCallback((A,N)=>{y?y.scrollToIndex(A,N):p.current&&p.current.children[A]?.scrollIntoView({behavior:"smooth",block:N?.align||"start"});},[y]),w=pr.useCallback(()=>{y?y.scrollToIndex(0,{align:"start"}):p.current&&p.current.scrollTo({top:0,behavior:"smooth"});},[y]);return {virtualizer:y,virtualItems:C,computedLoadingState:f,isInitialLoad:b,isLoadingMore:x,scrollRef:p,loadMoreRef:d,scrollToIndex:S,scrollToTop:w}}function ra(e,t){let[r,o]=pr.useState(()=>{if(typeof window>"u")return t;try{let i=window.localStorage.getItem(e);return i?JSON.parse(i):t}catch(i){return console.error(`Error reading localStorage key "${e}":`,i),t}});pr.useEffect(()=>{if(!(typeof window>"u"))try{window.localStorage.setItem(e,JSON.stringify(r));}catch(i){console.error(`Error writing to localStorage key "${e}":`,i);}},[e,r]);let n=pr.useCallback(i=>{try{o(s=>i instanceof Function?i(s):i);}catch(s){console.error(`Error setting value for localStorage key "${e}":`,s);}},[e]),a=pr.useCallback(()=>{try{typeof window<"u"&&window.localStorage.removeItem(e),o(t);}catch(i){console.error(`Error removing localStorage key "${e}":`,i);}},[e,t]);return [r,n,a]}var qi=class{constructor(){nn(this,"formatters",new Map);}register(t,r){this.formatters.set(t,r);}format(t,r,...o){let n=this.formatters.get(t);return n?n(r,...o):(console.warn(`No formatter registered for key: ${t}`),null)}has(t){return this.formatters.has(t)}keys(){return Array.from(this.formatters.keys())}unregister(t){this.formatters.delete(t);}clear(){this.formatters.clear();}},X=new qi;var xr=(e,t="Yes",r="No")=>e==null?null:e?t:r,eb=e=>xr(e,"Enabled","Disabled"),tb=e=>xr(e,"On","Off"),rb=e=>xr(e,"Active","Inactive"),ob=e=>xr(e,"True","False"),nb=e=>xr(e,"\u2713","\u2717"),hr=e=>{if(e==null)return null;if(typeof e=="boolean")return e;if(typeof e=="string"){let t=e.toLowerCase().trim();return t==="true"||t==="yes"||t==="1"||t==="on"||t==="enabled"?true:t==="false"||t==="no"||t==="0"||t==="off"||t==="disabled"?false:null}return typeof e=="number"?e!==0:null},Zc=(e,t)=>{if(t.hideWhenNull&&e==null)return null;if(e==null)return t.nullText??null;let r=hr(e);return r===null?t.nullText??null:xr(r,t.trueText??"Yes",t.falseText??"No")};X.register("boolean",(e,t,r)=>{let o=hr(e);return o!==null?xr(o,typeof t=="string"?t:"Yes",typeof r=="string"?r:"No"):null});X.register("yesNo",e=>{let t=hr(e);return t!==null?xr(t,"Yes","No"):null});X.register("enabledDisabled",e=>{let t=hr(e);return t!==null?eb(t):null});X.register("onOff",e=>{let t=hr(e);return t!==null?tb(t):null});X.register("activeInactive",e=>{let t=hr(e);return t!==null?rb(t):null});X.register("trueFalse",e=>{let t=hr(e);return t!==null?ob(t):null});X.register("checkmark",e=>{let t=hr(e);return t!==null?nb(t):null});var $=e=>e==null,Xc=(e,t=0)=>$(e)?null:`${e.toFixed(t)}%`,qc=(e,t=0)=>Xc(e,t)??"\u2014",ab=e=>$(e)?null:Math.round(e).toString(),ib=(e,t=1)=>$(e)?null:e.toFixed(t),sb=(e,t,r=true)=>{if($(e))return null;let o={useGrouping:r};return t!==void 0&&(o.minimumFractionDigits=t,o.maximumFractionDigits=t),new Intl.NumberFormat("en-US",o).format(e)},lb=(e,t="short")=>$(e)?null:new Intl.NumberFormat("en-US",{notation:"compact",compactDisplay:t}).format(e),cb=(e,t=2)=>$(e)?null:e.toExponential(t),jc=(e,t="USD",r)=>{if($(e))return null;let o={style:"currency",currency:t,currencyDisplay:r?.currencyDisplay??"symbol",useGrouping:r?.thousandsSeparator??true};return r?.minimumFractionDigits!==void 0&&(o.minimumFractionDigits=r.minimumFractionDigits),r?.maximumFractionDigits!==void 0&&(o.maximumFractionDigits=r.maximumFractionDigits),new Intl.NumberFormat("en-US",o).format(e)},Qc=(e,t)=>{if(t.hideWhenNull&&e==null||t.hideWhenZero&&e===0)return null;if(e==null)return t.nullText??null;let r=typeof e=="string"?parseFloat(e):Number(e);if(isNaN(r))return t.nullText??null;let o={useGrouping:t.thousandsSeparator??false};return t.decimals!==void 0&&(o.minimumFractionDigits=t.decimals,o.maximumFractionDigits=t.decimals),t.notation&&(o.notation=t.notation,t.notation==="compact"&&t.compactDisplay&&(o.compactDisplay=t.compactDisplay)),t.sign&&(o.signDisplay=t.sign),new Intl.NumberFormat("en-US",o).format(r)},$c=(e,t)=>{if(t.hideWhenNull&&e==null||t.hideWhenZero&&e===0)return null;if(e==null)return t.nullText??null;let r=typeof e=="string"?parseFloat(e):Number(e);return isNaN(r)?t.nullText??null:jc(r,t.currency,t)};X.register("percentage",(e,t)=>typeof e=="number"?Xc(e,typeof t=="number"?t:0):null);X.register("integer",e=>typeof e=="number"?ab(e):null);X.register("float",(e,t)=>typeof e=="number"?ib(e,typeof t=="number"?t:1):null);X.register("number",(e,t,r)=>{let o=typeof e=="string"?parseFloat(e):Number(e);return isNaN(o)?null:sb(o,typeof t=="number"?t:void 0,typeof r=="boolean"?r:true)});X.register("compact",(e,t)=>typeof e=="number"?lb(e,t==="long"?"long":"short"):null);X.register("scientific",(e,t)=>typeof e=="number"?cb(e,typeof t=="number"?t:2):null);X.register("currency",(e,t,r)=>typeof e=="number"?jc(e,typeof t=="string"?t:"USD",typeof r=="object"&&r!==null?r:{}):null);function CN(e,t=1){return $(e)?null:Math.abs(e)>=1e3?`${(e/1e3).toFixed(t)} MWh`:`${e.toFixed(t)} kWh`}function SN(e,t=1){return $(e)?null:Math.abs(e)>=1e3?`${(e/1e3).toFixed(t)} MW`:`${e.toFixed(t)} kW`}function Ot({value:e,formatter:t,emptyClassName:r="text-text-muted",emptyText:o="\u2014"}){if(e==null)return jsxRuntime.jsx("span",{className:r,children:o});if(typeof t=="function")return t(e);if(t&&typeof t=="object"){let n=Vr(e,t);return e instanceof Date&&n?jsxRuntime.jsx("time",{dateTime:e.toISOString(),title:e.toISOString(),children:n}):n||jsxRuntime.jsx("span",{className:r,children:o})}if(!t){if(typeof e=="string")return e;if(e instanceof Date){let n=Vr(e,{type:"date"});return jsxRuntime.jsx("time",{dateTime:e.toISOString(),title:e.toISOString(),children:n})}if(typeof e=="number")return Vr(e,{type:"number"});if(typeof e=="boolean")return Vr(e,{type:"boolean"})}return String(e)}function TN(e,t,r){return pr__namespace.default.useCallback(o=>Ot({value:o,formatter:e,emptyClassName:t,emptyText:r}),[e,t,r])}var ji=(e,t=0)=>{if($(e))return null;let r=e*1e3;return t===0?`${Math.round(r)} mA`:`${r.toFixed(t)} mA`},na=(e,t=1)=>$(e)?null:`${e.toFixed(t)} A`,Qi=(e,t=2)=>$(e)?null:`${(e/1e3).toFixed(t)} kA`,ub=(e,t)=>{if($(e))return null;let r=Math.abs(e);return r>=1e3?Qi(e,t??2):r<1?ji(e,t??0):na(e,t??1)},$i=(e,t)=>{if(t.hideWhenNull&&e==null||t.hideWhenZero&&e===0)return null;if(e==null)return t.nullText??null;let r=typeof e=="string"?parseFloat(e):Number(e);if(isNaN(r))return t.nullText??null;let o=t.decimals;if(t.unit)switch(t.unit){case "kA":return Qi(r,o??2);case "mA":return ji(r,o??0);case "A":return na(r,o??1)}return t.autoScale!==false?ub(r,o):na(r,o??1)};X.register("current",$i);var MN=ji,LN=na,FN=Qi;var Or=e=>{if(e==null)return null;if(e instanceof Date)return luxon.DateTime.fromJSDate(e);if(typeof e=="string"){let t=luxon.DateTime.fromISO(e);return t.isValid?t:null}if(typeof e=="number"){let t=luxon.DateTime.fromMillis(e);return t.isValid?t:null}return null},pb=(e,t=false,r)=>{if(!e)return null;let o=Or(e);if(!o)return "Invalid Date";let n=r?o.setZone(r):o;return t?n.toLocaleString(luxon.DateTime.DATETIME_SHORT):n.toLocaleString(luxon.DateTime.DATE_SHORT)},aa=e=>{if(!e)return null;let t=Or(e);return t?t.toRelative():"Invalid Date"},mb=(e,t)=>{if(!e)return null;let r=Or(e);return r?(t?r.setZone(t):r).toLocaleString(luxon.DateTime.DATETIME_MED_WITH_WEEKDAY):"Invalid Date"},fb=e=>{if(!e)return null;let t=Or(e);return t?t.toISO():null},gb=(e,t,r)=>{if(!e)return null;let o=Or(e);return o?(r?o.setZone(r):o).toFormat(t):"Invalid Date"},zN=e=>{let t=Or(e);return t?{year:t.year,month:t.month,day:t.day,weekday:t.weekday,hour:t.hour,minute:t.minute,second:t.second,millisecond:t.millisecond,weekdayShort:t.weekdayShort,weekdayLong:t.weekdayLong,monthShort:t.monthShort,monthLong:t.monthLong}:null},_c=(e,t)=>{if(t.hideWhenNull&&e==null)return null;if(e==null)return t.nullText??null;let r=Or(e);if(!r)return t.nullText??"Invalid Date";let o=t.timezone?r.setZone(t.timezone):r;if(t.relative)return o.toRelative();if(t.format)return o.toFormat(t.format);if(t.dateStyle||t.timeStyle){let n={};if(t.dateStyle)switch(t.dateStyle){case "short":n.date=luxon.DateTime.DATE_SHORT;break;case "medium":n.date=luxon.DateTime.DATE_MED;break;case "long":n.date=luxon.DateTime.DATE_FULL;break;case "full":n.date=luxon.DateTime.DATE_HUGE;break}if(t.timeStyle)switch(t.timeStyle){case "short":n.time=luxon.DateTime.TIME_SIMPLE;break;case "medium":n.time=luxon.DateTime.TIME_WITH_SECONDS;break;case "long":case "full":n.time=luxon.DateTime.TIME_WITH_SHORT_OFFSET;break}if(n.date&&n.time)return o.toLocaleString({...n.date,...n.time});if(n.date)return o.toLocaleString(n.date);if(n.time)return o.toLocaleString(n.time)}return o.toLocaleString(luxon.DateTime.DATETIME_SHORT)};X.register("date",(e,t,r)=>pb(e,typeof t=="boolean"?t:false,typeof r=="string"?r:void 0));X.register("relativeTime",e=>aa(e));X.register("fullDateTime",(e,t)=>mb(e,typeof t=="string"?t:void 0));X.register("isoString",e=>fb(e));X.register("customDateFormat",(e,t,r)=>typeof t=="string"?gb(e,t,typeof r=="string"?r:void 0):null);var _i=(e,t=1)=>$(e)?null:`${e.toFixed(t)} m`,bb=(e,t=1)=>$(e)?null:`${(e*100).toFixed(t)} cm`,xb=(e,t=0)=>$(e)?null:`${(e*1e3).toFixed(t)} mm`,es=(e,t=1)=>$(e)?null:`${(e/1e3).toFixed(t)} km`,ts=(e,t=0)=>$(e)?null:`${e.toFixed(t)} ft`,hb=(e,t=1)=>$(e)?null:`${e.toFixed(t)} in`,rs=(e,t=1)=>$(e)?null:`${e.toFixed(t)} mi`,os=(e,t=0)=>$(e)?null:`${e.toFixed(t)} yd`,WN=(e,t=1)=>$(e)?null:`${e.toFixed(t)} nm`,GN=e=>e*3.28084,UN=e=>e/3.28084,KN=e=>e*1.60934,YN=e=>e/1.60934,JN=e=>e/5280,ed=e=>e*5280,ZN=e=>e/1609.34,XN=e=>e*1609.34,qN=e=>e*.9144,jN=e=>e/.9144,QN=e=>e*2.54,$N=e=>e/2.54,td=(e,t=false,r=1)=>{if($(e))return null;let o=Math.abs(e);return t?o>=1e3?es(e,r):o<.01?xb(e,0):o<1?bb(e,r):_i(e,r):o<.01?ts(ed(e),0):o<.1?os(ed(e)/3,0):rs(e,r)},rd=(e,t)=>{if(t.hideWhenNull&&e==null||t.hideWhenZero&&e===0)return null;if(e==null)return t.nullText??null;let r=typeof e=="string"?parseFloat(e):Number(e);if(isNaN(r))return t.nullText??null;let o=t.decimals??1;if(t.autoScale){let n=t.unit==="m"||t.unit==="km";return td(r,n,o)}switch(t.unit){case "km":return es(r,o);case "ft":return ts(r,o);case "mi":return rs(r,o);case "yd":return os(r,o);case "m":default:return _i(r,o)}};X.register("miles",(e,t)=>typeof e=="number"?rs(e,typeof t=="number"?t:1):null);X.register("kilometers",(e,t)=>typeof e=="number"?es(e,typeof t=="number"?t:1):null);X.register("meters",(e,t)=>typeof e=="number"?_i(e,typeof t=="number"?t:1):null);X.register("feet",(e,t)=>typeof e=="number"?ts(e,typeof t=="number"?t:0):null);X.register("yards",(e,t)=>typeof e=="number"?os(e,typeof t=="number"?t:0):null);X.register("inches",(e,t)=>typeof e=="number"?hb(e,typeof t=="number"?t:1):null);X.register("autoScaleDistance",(e,t,r)=>typeof e=="number"?td(e,typeof t=="boolean"?t:false,typeof r=="number"?r:1):null);var ns=(e,t=1)=>$(e)?null:`${e.toFixed(t)} Wh`,as=(e,t=1)=>$(e)?null:`${(e/1e3).toFixed(t)} kWh`,od=(e,t=1)=>$(e)?null:`${(e/1e6).toFixed(t)} MWh`,nd=(e,t=1)=>$(e)?null:`${(e/1e9).toFixed(t)} GWh`,ad=(e,t=1)=>{if($(e))return null;let r=Math.abs(e);return r>=1e9?nd(e,t):r>=1e6?od(e,t):r>=1e3?as(e,t):ns(e,t)},is=(e,t)=>{if(t.hideWhenNull&&e==null||t.hideWhenZero&&e===0)return null;if(e==null)return t.nullText??null;let r=typeof e=="string"?parseFloat(e):Number(e);if(isNaN(r))return t.nullText??null;let o=t.decimals??1;if(t.unit)switch(t.unit){case "GWh":return nd(r,o);case "MWh":return od(r,o);case "kWh":return as(r,o);case "Wh":return ns(r,o)}return t.autoScale!==false?ad(r,o):ns(r,o)};X.register("kWh",e=>typeof e=="number"?as(e):null);X.register("autoScaleEnergy",(e,t)=>typeof e=="number"?ad(e,typeof t=="number"?t:1):null);X.register("energy",is);var ia=e=>{if(!e)return null;let t=e.replace(/\D/g,"");return t.length===10?t.replace(/(\d{3})(\d{3})(\d{4})/,"($1) $2-$3"):t.length===11&&t.startsWith("1")?t.replace(/1(\d{3})(\d{3})(\d{4})/,"+1 ($1) $2-$3"):e},ss=e=>{if(!e)return null;let t=e.replace(/[^\d+]/g,"");return t.startsWith("+")?t.length===12&&t.startsWith("+1")?t.replace(/\+1(\d{3})(\d{3})(\d{4})/,"+1 ($1) $2-$3"):t.length===13&&t.startsWith("+44")?t.replace(/\+44(\d{2})(\d{4})(\d{4})/,"+44 $1 $2 $3"):t.replace(/(\+\d{1,3})(\d{3,4})(\d{3,4})(\d{3,4})?/,"$1 $2 $3 $4").trim():ia(e)},id=e=>e?e.startsWith("+")||e.length>11?ss(e):ia(e):null,sd=(e,t)=>{if(t.hideWhenNull&&e==null)return null;if(e==null)return t.nullText??null;let r=String(e);if(t.international)return ss(r);switch(t.country){case "US":case "CA":return ia(r);default:return id(r)}};X.register("phoneNumber",e=>typeof e=="string"?id(e):null);X.register("usPhone",e=>typeof e=="string"?ia(e):null);X.register("internationalPhone",e=>typeof e=="string"?ss(e):null);var sa=(e,t=0)=>$(e)?null:t===0?`${Math.round(e)} W`:`${e.toFixed(t)} W`,ls=(e,t=1)=>$(e)?null:`${(e/1e3).toFixed(t)} kW`,cs=(e,t=1)=>$(e)?null:`${(e/1e6).toFixed(t)} MW`,ds=(e,t=2)=>$(e)?null:`${(e/1e9).toFixed(t)} GW`,yb=(e,t)=>{if($(e))return null;let r=Math.abs(e);return r>=1e9?ds(e,t??2):r>=1e6?cs(e,t??1):r>=1e3?ls(e,t??1):sa(e,t??0)},us=(e,t)=>{if(t.hideWhenNull&&e==null||t.hideWhenZero&&e===0)return null;if(e==null)return t.nullText??null;let r=typeof e=="string"?parseFloat(e):Number(e);if(isNaN(r))return t.nullText??null;let o=t.decimals;if(t.unit)switch(t.unit){case "GW":return ds(r,o??2);case "MW":return cs(r,o??1);case "kW":return ls(r,o??1);case "W":return sa(r,o??0)}return t.autoScale!==false?yb(r,o):sa(r,o??0)};X.register("power",us);var s5=sa,l5=ls,c5=cs,d5=ds;var ps=(e,t=1)=>$(e)?null:`${(e*1e3).toFixed(t)} m\u03A9`,la=(e,t=1)=>$(e)?null:`${e.toFixed(t)} \u03A9`,ld=(e,t=1)=>$(e)?null:`${(e/1e3).toFixed(t)} k\u03A9`,cd=(e,t=2)=>$(e)?null:`${(e/1e6).toFixed(t)} M\u03A9`,vb=(e,t)=>{if($(e))return null;let r=Math.abs(e);return r>=1e6?cd(e,t??2):r>=1e3?ld(e,t??1):r<1?ps(e,t??1):la(e,t??1)},ms=(e,t)=>{if(t.hideWhenNull&&e==null||t.hideWhenZero&&e===0)return null;if(e==null)return t.nullText??null;let r=typeof e=="string"?parseFloat(e):Number(e);if(isNaN(r))return t.nullText??null;let o=t.decimals;if(t.unit)switch(t.unit){case "M\u03A9":return cd(r,o??2);case "k\u03A9":return ld(r,o??1);case "m\u03A9":return ps(r,o??1);case "\u03A9":return la(r,o??1)}return t.autoScale!==false?vb(r,o):la(r,o??1)};X.register("resistance",ms);X.register("ohms",e=>typeof e=="number"?la(e):null);X.register("milliohms",e=>typeof e=="number"?ps(e):null);var dd=e=>{switch(e){case "FAHRENHEIT":return "F";case "CELSIUS":return "C";case "KELVIN":return "K";default:return "F"}},ud=(e,t=0)=>$(e)?null:`${e.toFixed(t)}\xB0F`,pd=(e,t=true,r=0)=>$(e)?null:`${(t?(e-32)*(5/9):e).toFixed(r)}\xB0C`,md=(e,t=true,r=0)=>$(e)?null:`${(t?(e-32)*(5/9)+273.15:e+273.15).toFixed(r)}K`,Cb=e=>e*9/5+32,Sb=e=>(e-32)*(5/9),x5=e=>e+273.15,wb=e=>e-273.15,h5=e=>Sb(e)+273.15,y5=e=>Cb(wb(e)),fd=(e,t="F",r=0)=>{if($(e))return null;switch(typeof t=="string"&&t.length>1?dd(t):t){case "C":return pd(e,true,r);case "K":return md(e,true,r);case "F":default:return ud(e,r)}},gd=(e,t)=>{if(t.hideWhenNull&&e==null)return null;if(e==null)return t.nullText??null;let r=typeof e=="string"?parseFloat(e):Number(e);if(isNaN(r))return t.nullText??null;let o=t.decimals??0,n=t.unit??"F";if(t.showUnit===false)switch(typeof n=="string"&&n.length>1?dd(n):n){case "C":return ((r-32)*.5555555555555556).toFixed(o);case "K":return ((r-32)*.5555555555555556+273.15).toFixed(o);case "F":default:return r.toFixed(o)}return fd(r,n,o)};X.register("temperature",(e,t,r)=>typeof e=="number"?fd(e,typeof t=="string"?t:"F",typeof r=="number"?r:0):null);X.register("fahrenheit",(e,t)=>typeof e=="number"?ud(e,typeof t=="number"?t:0):null);X.register("celsius",(e,t,r)=>typeof e=="number"?pd(e,typeof t=="boolean"?t:true,typeof r=="number"?r:0):null);X.register("kelvin",(e,t,r)=>typeof e=="number"?md(e,typeof t=="boolean"?t:true,typeof r=="number"?r:0):null);var Nb=(e,t)=>!!(t.hideWhenNull&&e==null||t.hideWhenZero&&e===0),bd=e=>e?.toUpperCase()??"",xd=e=>e?.toLowerCase()??"",hd=e=>e?e.charAt(0).toUpperCase()+e.slice(1).toLowerCase():"",yd=e=>{if(!e)return "";let t=new Set(["a","an","the","and","but","or","for","nor","on","at","of","to","with","in","as","by"]);return e.toLowerCase().split(/\s+/).map((r,o)=>t.has(r)&&o!==0?r:r.charAt(0).toUpperCase()+r.slice(1)).join(" ")},vd=e=>e?e.split(/\s+/).map(t=>t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()).join(" "):"",Cd=e=>e?e.charAt(0).toUpperCase()+e.slice(1):"",Sd=e=>e?e.replace(/([A-Z])/g," $1").replace(/^./,t=>t.toUpperCase()).trim():"",wd=e=>e?e.toLowerCase().split("_").map(t=>Cd(t)).join(" "):"",kb=e=>e?e.includes("_")?wd(e):e.toUpperCase()===e?Cd(e.toLowerCase()):Sd(e):"",Nd=(e,t=16)=>{if(!e)return "";if(t<5||e.length<=t)return e;let r=t-3,o=Math.ceil(r/2),n=Math.floor(r/2);return `${e.slice(0,o)}...${e.slice(-n)}`},kd=(e,t=8)=>e?e.length<=t?e:`...${e.slice(-t)}`:"",Td=(e,t=16,r="...")=>e?e.length<=t?e:e.slice(0,t)+r:"",Tb=e=>{if(!e)return "";let t=e.toString(),r=t.slice(-4),o=t.length-4;return o>0?"*".repeat(o)+r:t},Pd=(e,t)=>{if(Nb(e,t))return null;if(e==null)return t.nullText??null;let r=String(e);if(t.transform&&(Array.isArray(t.transform)?t.transform:[t.transform]).forEach(n=>{switch(n){case "uppercase":r=bd(r);break;case "lowercase":r=xd(r);break;case "capitalize":r=vd(r);break;case "titleCase":r=yd(r);break;case "sentenceCase":r=hd(r);break}}),t.truncate){let{length:o,position:n,ellipsis:a="..."}=t.truncate;switch(n){case "start":r=kd(r,o);break;case "middle":r=Nd(r,o);break;case "end":r=Td(r,o,a);break}}return r};X.register("uppercase",e=>bd(String(e)));X.register("lowercase",e=>xd(String(e)));X.register("sentenceCase",e=>hd(String(e)));X.register("titleCase",e=>yd(String(e)));X.register("capitalize",e=>vd(String(e)));X.register("camelCaseToWords",e=>Sd(String(e)));X.register("snakeCaseToWords",e=>wd(String(e)));X.register("enumToSentenceCase",e=>kb(String(e)));X.register("truncateMiddle",(e,t)=>Nd(String(e),typeof t=="number"?t:16));X.register("truncateStart",(e,t)=>kd(String(e),typeof t=="number"?t:8));X.register("truncateEnd",(e,t,r)=>Td(String(e),typeof t=="number"?t:16,typeof r=="string"?r:"..."));X.register("secret",e=>Tb(String(e)));var fs=(e,t=0)=>{if($(e))return null;let r=e*1e3;return t===0?`${Math.round(r)} mV`:`${r.toFixed(t)} mV`},ca=(e,t=0)=>$(e)?null:t===0?`${Math.round(e)} V`:`${e.toFixed(t)} V`,gs=(e,t=1)=>$(e)?null:`${(e/1e3).toFixed(t)} kV`,Pb=(e,t)=>{if($(e))return null;let r=Math.abs(e);return r>=1e3?gs(e,t??1):r<1?fs(e,t??0):ca(e,t??0)},bs=(e,t)=>{if(t.hideWhenNull&&e==null||t.hideWhenZero&&e===0)return null;if(e==null)return t.nullText??null;let r=typeof e=="string"?parseFloat(e):Number(e);if(isNaN(r))return t.nullText??null;let o=t.decimals;if(t.unit)switch(t.unit){case "kV":return gs(r,o??1);case "mV":return fs(r,o??0);case "V":return ca(r,o??0)}return t.autoScale!==false?Pb(r,o):ca(r,o??0)};X.register("voltage",bs);var k5=fs,T5=ca,P5=gs;var Db=(e,t)=>{if(e==null)return t.nullText??null;if(t.hideWhenNull&&e===null)return null;let r=typeof e=="number"?e:Number(e);return Number.isNaN(r)?t.nullText??null:qc(r,t.decimals??0)},Vr=(e,t)=>{switch(t.type){case "text":return Pd(e,t);case "number":return Qc(e,t);case "percentage":return Db(e,t);case "currency":return $c(e,t);case "date":return _c(e,t);case "boolean":return Zc(e,t);case "energy":return is(e,t);case "power":return us(e,t);case "voltage":return bs(e,t);case "current":return $i(e,t);case "resistance":return ms(e,t);case "temperature":return gd(e,t);case "distance":return rd(e,t);case "phone":return sd(e,t);case "custom":{let r=t;return r.hideWhenNull&&e==null?null:e==null?r.nullText??null:r.formatter(e,r.options)}default:return e!=null?String(e):null}},W5=(e,t)=>({type:e,...t});var Do={xs:16,sm:20,md:24,lg:32,xl:40,"2xl":48},k=pr.memo(({name:e,size:t="md",color:r,weight:o="regular",className:n,ariaLabel:a,...i})=>{let s=Rb__namespace[e];if(!s)return process.env.NODE_ENV==="development"&&console.error(`Icon "${e}" not found in @phosphor-icons/react`),null;let l=typeof t=="string"&&t in Do?Do[t]:t,c=tailwindMerge.twMerge("inline-block flex-shrink-0",!r&&"text-current",n);return jsxRuntime.jsx(s,{...i,size:l,color:r,weight:o,className:c,"aria-label":a||`${e} icon`,"data-testid":`icon-${e}`})});k.displayName="Icon";var Ad=pr.memo(({variant:e="subtle",shape:t="square",containerSize:r,containerClassName:o,size:n="md",className:a,name:i,color:s,weight:l,ariaLabel:c,ref:p,...d})=>{let m=typeof n=="string"&&n in Do?Do[n]:n,u=r?typeof r=="string"&&r in Do?Do[r]:r:m*1.75,g=tailwindMerge.twMerge("inline-flex items-center justify-center flex-shrink-0",t==="circle"?"rounded-full":"rounded-lg",e==="subtle"&&"bg-gray-100 dark:bg-gray-800",e==="solid"&&"bg-brand text-white",e==="outline"&&"border-2 border-current",o);return jsxRuntime.jsx("div",{className:g,style:{width:u,height:u},children:jsxRuntime.jsx(k,{...d,name:i,size:n,color:s,weight:l,className:a,ariaLabel:c})})});Ad.displayName="IconWithContainer";function ut({transparent:e=false,className:t,children:r,...o}){return jsxRuntime.jsx(reactAriaComponents.ModalOverlay,{...o,className:reactAriaComponents.composeRenderProps(t,(n,a)=>tailwindMerge.twMerge("fixed inset-0 z-50",e?"bg-transparent":["bg-gradient-to-br from-black/20 via-black/15 to-black/20","backdrop-blur-[2px]","supports-[backdrop-filter]:bg-black/15"].join(" "),a.isEntering&&["animate-in fade-in","duration-300 ease-out"].join(" "),a.isExiting&&["animate-out fade-out","duration-200 ease-in"].join(" "),n)),children:r})}function Hb({isEntering:e,isExiting:t,className:r="",disableGroup:o=false}){let n=[!o&&"group","bg-background-surface","forced-colors:bg-[Canvas]","shadow-lg","rounded-[var(--control-border-radius)]","bg-clip-padding","border","border-border-default","outline-none"].filter(Boolean).join(" "),a=e?["animate-in","fade-in","placement-bottom:slide-in-from-top-1","placement-top:slide-in-from-bottom-1","placement-left:slide-in-from-right-1","placement-right:slide-in-from-left-1","ease-out","duration-200"].join(" "):"",i=t?["animate-out","fade-out","placement-bottom:slide-out-to-top-1","placement-top:slide-out-to-bottom-1","placement-left:slide-out-to-right-1","placement-right:slide-out-to-left-1","ease-in","duration-150"].join(" "):"";return [n,a,i,r].filter(Boolean).join(" ")}function Fe({children:e,showArrow:t=false,withBackdrop:r=false,className:o,isDismissable:n=true,disableGroup:a=false,...i}){let l=reactAriaComponents.useSlottedContext(reactAriaComponents.PopoverContext)?.trigger==="SubmenuTrigger",c=t?12:8;c=l?c-6:c;let p=jsxRuntime.jsxs(reactAriaComponents.Popover,{offset:c,...i,className:reactAriaComponents.composeRenderProps(o,(d,m)=>Hb({...m,className:d,disableGroup:a})),children:[t&&jsxRuntime.jsx(reactAriaComponents.OverlayArrow,{children:jsxRuntime.jsx("svg",{width:12,height:12,viewBox:"0 0 12 12",className:"block fill-background-surface stroke-border-default stroke-1 group-placement-left:-rotate-90 group-placement-right:rotate-90 group-placement-bottom:rotate-180 forced-colors:fill-[Canvas] forced-colors:stroke-[ButtonBorder]",children:jsxRuntime.jsx("path",{d:"M0 0 L6 6 L12 0"})})}),e]});return r?jsxRuntime.jsx(ut,{isDismissable:n,children:jsxRuntime.jsx(reactAriaComponents.Modal,{isDismissable:n,children:p})}):p}function da({children:e,items:t,className:r,align:o="left",textAlign:n="left",size:a="md",onAction:i,header:s,footer:l}){return jsxRuntime.jsx("div",{className:r,children:jsxRuntime.jsxs(reactAriaComponents.MenuTrigger,{children:[e,jsxRuntime.jsx(Fe,{className:tailwindMerge.twMerge("w-fit min-w-[180px] overflow-auto rounded-[var(--control-border-radius)] border border-border-default","bg-background-surface p-1 shadow-lg","animate-in fade-in zoom-in-97","duration-200 ease-out","data-[exiting]:animate-out data-[exiting]:fade-out data-[exiting]:zoom-out-97","data-[exiting]:duration-150 data-[exiting]:ease-in",o==="right"?"origin-top-right":"origin-top-left"),placement:o==="right"?"bottom end":"bottom start",children:jsxRuntime.jsxs("div",{className:"flex min-w-[180px] flex-col gap-1",children:[s?jsxRuntime.jsx("div",{className:"px-3 pb-2 pt-3",children:s}):null,jsxRuntime.jsx(reactAriaComponents.Menu,{className:"outline-none",children:t.map(c=>jsxRuntime.jsx(Yb,{id:c.id,onAction:()=>c.onAction?.()||i?.(c),textAlign:n,size:a,iconName:c.iconName,isDisabled:c.disabled,variant:c.variant,"data-testid":c.testId,children:c.name},c.id))}),l?jsxRuntime.jsx("div",{className:"px-3 pb-3 pt-2",children:l}):null]})})]})})}function Yb({textAlign:e="left",iconName:t,size:r="md",isDisabled:o,children:n,variant:a="default",...i}){let s={sm:"px-3 py-1.5 text-sm",md:"px-4 py-2 text-base"},l={default:"text-text-body hover:bg-background-hover data-[focused]:bg-background-hover data-[focus-visible]:ring-2 data-[focus-visible]:ring-action-default data-[focus-visible]:ring-inset",destructive:"text-feedback-error-text hover:bg-feedback-error-background data-[focused]:bg-feedback-error-background data-[focus-visible]:ring-2 data-[focus-visible]:ring-feedback-error-border data-[focus-visible]:ring-inset"};return jsxRuntime.jsxs(reactAriaComponents.MenuItem,{...i,isDisabled:o,className:tailwindMerge.twMerge("group box-border flex w-full cursor-pointer items-center rounded-sm outline-none transition-colors",s[r],l[a],e==="right"?"justify-end":"justify-start",o&&"pointer-events-none opacity-50"),children:[t&&e==="left"&&jsxRuntime.jsx(k,{name:t,size:r==="sm"?16:20,className:"mr-2 flex-shrink-0"}),jsxRuntime.jsx("span",{className:"flex-1",children:n}),t&&e==="right"&&jsxRuntime.jsx(k,{name:t,size:r==="sm"?16:20,className:"ml-2 flex-shrink-0"})]})}var ua=({className:e,size:t=24,color:r="text-action-brand"})=>jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("inline-block animate-spin rounded-full border-2 border-solid border-current border-r-transparent",r,e),style:{width:t,height:t},role:"status","aria-label":"loading",children:jsxRuntime.jsx("span",{className:"sr-only",children:"Loading..."})});function yt({state:e,message:t,className:r,customIndicator:o}){if(e!=="loading-more")return null;let n=jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("flex items-center justify-center gap-2 py-4","text-text-muted",r),"aria-label":t||"Loading",children:[jsxRuntime.jsx(ua,{size:20,color:"text-text-muted"}),t&&jsxRuntime.jsx("span",{className:"text-sm","aria-hidden":"true",children:t})]});return o||n}var P=({width:e,height:t,variant:r="rect",animation:o="pulse",gradient:n=false,flex:a=false,stack:i,responsive:s,delay:l=0,adjustAnimationSpeedBasedOnWidth:c=false,ariaLabel:p,className:d,"data-testid":m})=>{let[u,g]=pr.useState(l===0);if(pr.useEffect(()=>{if(l>0){let C=setTimeout(()=>g(true),l);return ()=>clearTimeout(C)}},[l]),!u)return null;let f=n?"bg-gradient-to-r from-[var(--color-skeleton-base)] via-[var(--color-skeleton-highlight)] to-[var(--color-skeleton-base)]":"bg-[var(--color-skeleton-base)]",b=c&&e?(()=>{let C=typeof e=="number"?e:parseFloat(String(e));return isNaN(C)?"":`animation-duration-[${Math.max(.8,C/100)}s]`})():"",x=o==="pulse"?`animate-pulse ${b}`:o==="wave"?`relative overflow-hidden before:absolute before:inset-0 before:bg-gradient-to-r before:from-transparent before:via-[var(--color-skeleton-wave)] before:to-transparent before:animate-wave ${b}`:"",h="rounded-sm";r==="circle"&&(h="rounded-full"),r==="text"&&(h="h-4 w-full rounded-sm");let v=a?"flex-1 min-w-0":"",y=s?Object.entries(s).map(([C,S])=>`${C}:w-[${S}]`).join(" "):"";return i?jsxRuntime.jsx("div",{className:"space-y-2","data-testid":m,children:i.map((C,S)=>jsxRuntime.jsx("div",{className:tailwindMerge.twMerge(f,x,h,v,y,d),style:{width:C,height:t}},S))}):jsxRuntime.jsx("div",{className:tailwindMerge.twMerge(f,x,h,v,y,d),style:{width:e,height:t},role:"presentation","aria-hidden":!p,"aria-label":p??void 0,"data-testid":m})},Id=({count:e=1,children:t,className:r,"data-testid":o})=>jsxRuntime.jsx("div",{className:r,"data-testid":o,children:Array.from({length:e}).map((n,a)=>jsxRuntime.jsx("div",{children:t},a))});var cn=new Map,Ke=(e,t="#000000")=>{if(typeof window>"u")return t;let r=e.startsWith("var(")?e.slice(4,-1):e.startsWith("--")?e:`--${e}`;if(!e.startsWith("--")&&!e.startsWith("var(")&&!r.startsWith("--color-")&&(r=`--color-${r.slice(2)}`),cn.has(r))return cn.get(r);try{let o=document.body||document.documentElement,a=getComputedStyle(o).getPropertyValue(r).trim();if(a)return cn.set(r,a),a;let i=document.createElement("div");i.style.color=`var(${r})`,document.body.appendChild(i);let s=getComputedStyle(i).color;return document.body.removeChild(i),s&&s!=="rgb(0, 0, 0)"?(cn.set(r,s),s):t}catch(o){return console.warn(`Failed to resolve color for ${e}:`,o),t}},Ro=()=>{cn.clear();},dn=()=>{let e=[];for(let t=1;t<=6;t++){let r=Ke(`--color-viz-categorical-${t}`);r&&e.push(r);}return e.length===0?Bd():e},Bd=()=>["#444ae1","#10b981","#f59e0b","#ef4444","#8b5cf6","#06b6d4","#ec4899","#f97316","#14b8a6","#6366f1"],ys=()=>Ke("--color-viz-default","#444ae1"),Qb=(e,t)=>{let r={},o=dn();return e.forEach((n,a)=>{t&&t[n]?r[n]=t[n]:r[n]=o[a%o.length];}),r};var zd=e=>{let t=e.match(/\d+/g);if(!t||t.length<3)return true;let[r,o,n]=t.map(Number);return (.299*r+.587*o+.114*n)/255>.5},$b=e=>zd(e)?Ke("--text-body","#333333"):Ke("--neutral-white","#ffffff"),Vd=(e,t)=>{if(!e||typeof e!="object")return console.warn("[Colors] Invalid GeoJSON data provided to extractUniqueValues"),[];if(!("type"in e)||e.type!=="FeatureCollection"&&e.type!=="Feature")return console.warn("[Colors] Data is not valid GeoJSON (missing type or invalid type)"),[];let r=new Set,o="features"in e?e.features:[e];if(!Array.isArray(o)||o.length===0)return console.warn("[Colors] No features found in GeoJSON data"),[];let n=0;return o.forEach(a=>{if(!(!a||typeof a!="object")&&a.properties&&t in a.properties){n++;let i=a.properties[t];i!=null&&r.add(i);}}),n===0&&console.warn(`[Colors] Property "${t}" not found on any features. Available properties: ${o[0]?.properties?Object.keys(o[0].properties).join(", "):"none"}`),Array.from(r).sort()},Od=e=>{let t=dn(),r={};return e.forEach((o,n)=>{r[o]=t[n%t.length];}),r};var vs=(e,t)=>{if(!e||typeof e!="object")return console.warn("[Colors] Invalid GeoJSON data provided to extractNumericValues"),[];if(!("type"in e)||e.type!=="FeatureCollection"&&e.type!=="Feature")return console.warn("[Colors] Data is not valid GeoJSON (missing type or invalid type)"),[];let r="features"in e?e.features:[e];if(!Array.isArray(r)||r.length===0)return console.warn("[Colors] No features found in GeoJSON data"),[];let o=new Set,n=0;return r.forEach(a=>{if(!(!a||typeof a!="object")&&a.properties&&t in a.properties){n++;let i=a.properties[t];typeof i=="number"&&!isNaN(i)&&o.add(i);}}),n===0&&console.warn(`[Colors] Property "${t}" not found on any features. Available properties: ${r[0]?.properties?Object.keys(r[0].properties).join(", "):"none"}`),Array.from(o).sort((a,i)=>a-i)},Cs=e=>e.length===0?(console.warn("[Colors] Cannot calculate bounds from empty array"),{min:0,max:1}):{min:e[0],max:e[e.length-1]},Hd=(e,t)=>{if(typeof t=="number")return t;if(e.length===0)return console.warn("[Colors] Cannot calculate center from empty array, defaulting to 0"),0;if(t==="median"){let r=Math.floor(e.length/2);return e.length%2===0?(e[r-1]+e[r])/2:e[r]}return e.reduce((r,o)=>r+o,0)/e.length},Ss=(e="viridis")=>{let o=`viz-sequential-${{redYellowGreen:"red-yellow-green"}[e]||e}`,n=[];for(let a=1;a<=10;a++){let i=`${o}-${a}`,s=Ke(i);n.push(s);}return n},ws=(e="redYellowBlue")=>{let o=`viz-diverging-${{orangeYellowSeafoam:"orange-yellow-seafoam",redYellowBlue:"red-yellow-blue",redBlue:"red-blue"}[e]||e}`,n=[];for(let a=1;a<=10;a++){let i=`${o}-${a}`,s=Ke(i);n.push(s);}return n},un=(e,t,r,o="viridis")=>{let n=Ss(o);if(e<=t)return n[0];if(e>=r)return n[n.length-1];if(t===r)return n[Math.floor(n.length/2)];let i=(e-t)/(r-t)*(n.length-1),s=Math.floor(i);return n[s]},pn=(e,t,r,o,n="redYellowBlue")=>{let a=ws(n),i=4;if(e<=t)return a[0];if(e>=r)return a[a.length-1];if(e===o||t===r)return a[i];if(e<o){let l=(e-t)/(o-t)*i,c=Math.floor(l);return a[Math.min(c,i)]}else {let s=(e-o)/(r-o),l=i+s*(a.length-1-i),c=Math.floor(l);return a[Math.min(c,a.length-1)]}};var ks=pr.createContext({colorMode:"light",isDarkTheme:false,toggleTheme:()=>{}}),vt=()=>pr.useContext(ks);function Ns(){if(typeof window>"u")return "light";let e=localStorage.getItem("theme");return e==="dark"||e==="light"?e:document.body.classList.contains("theme-dark")||document.documentElement.classList.contains("theme-dark")||window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}var Gd=({children:e})=>{let[t,r]=pr.useState(Ns),o=t==="dark";pr.useEffect(()=>{Ro();let a=()=>{let d=Ns();d!==t&&r(d);};a();let i=setTimeout(a,100),s=window.matchMedia("(prefers-color-scheme: dark)"),l=d=>{localStorage.getItem("theme")||(Ro(),r(d.matches?"dark":"light"));},c=()=>{let d=Ns();d!==t&&(Ro(),r(d));};s.addEventListener("change",l);let p=new MutationObserver(c);return p.observe(document.body,{attributes:true,attributeFilter:["class"]}),p.observe(document.documentElement,{attributes:true,attributeFilter:["class"]}),()=>{clearTimeout(i),s.removeEventListener("change",l),p.disconnect();}},[t]);let n=pr.useCallback(()=>{r(a=>{let i=a==="light"?"dark":"light";return localStorage.setItem("theme",i),i==="dark"?document.body.classList.add("theme-dark"):document.body.classList.remove("theme-dark"),Ro(),i});},[]);return jsxRuntime.jsx(ks.Provider,{value:{colorMode:t,isDarkTheme:o,toggleTheme:n},children:e})};function Ud(e){let t=(e.end.getTime()-e.start.getTime())/36e5;if(t<=72)return a=>new Intl.DateTimeFormat("en",{month:"short",day:"numeric",hour:"numeric",minute:"2-digit"}).format(a);if(t<=720)return a=>new Intl.DateTimeFormat("en",{month:"short",day:"numeric"}).format(a);let r=e.start.getFullYear(),o=e.end.getFullYear(),n=r!==o;return a=>new Intl.DateTimeFormat("en",{month:"short",day:"numeric",...n&&{year:"numeric"}}).format(a)}function Kd(e){let t=(e.end.getTime()-e.start.getTime())/36e5;if(t<=24)return a=>new Intl.DateTimeFormat("en",{hour:"numeric",minute:"2-digit"}).format(a);if(t<=48)return a=>new Intl.DateTimeFormat("en",{month:"short",day:"numeric",hour:"numeric"}).format(a);if(t<=720)return a=>new Intl.DateTimeFormat("en",{month:"short",day:"numeric"}).format(a);let r=e.start.getFullYear(),o=e.end.getFullYear(),n=r!==o;return a=>new Intl.DateTimeFormat("en",{month:"short",day:"numeric",...n&&{year:"numeric"}}).format(a)}function ke(e=false){return `${e?"outline outline-1 outline-border-input focus:outline-2 focus:outline-action-default focus:outline-offset-0 invalid:outline-2 invalid:outline-feedback-error-border group-invalid:outline-2 group-invalid:outline-feedback-error-border forced-colors:focus:outline-[Highlight] forced-colors:focus:outline-2 forced-colors:focus:outline-offset-2":"outline-none focus-visible:outline focus-visible:outline-2 focus-visible:outline-action-default focus-visible:outline-offset-0 invalid:outline-2 invalid:outline-feedback-error-border group-invalid:outline-2 group-invalid:outline-feedback-error-border forced-colors:focus:outline-[Highlight] forced-colors:focus:outline-2 forced-colors:focus:outline-offset-2"}`}function se(e,t){return reactAriaComponents.composeRenderProps(e,r=>tailwindMerge.twMerge(t,r))}var Ao=pr.createContext({variant:"timeline",size:"md"});function Zd(){return pr.useContext(Ao)}function pa(e){return pr.isValidElement(e)&&e.type===ga}function ux(e){return pr.isValidElement(e)&&e.type===fa}function Ps({variant:e="timeline",size:t="md",className:r,children:o,items:n,renderItem:a,isLoading:i=false,loadingState:s,error:l=null,renderLoadingSkeleton:c,loadingSkeletonCount:p=5,emptyMessage:d="No activity found.",onLoadMore:m,hasMore:u=false,enableVirtualization:g,estimatedItemSize:f,loadingIndicator:b,height:x,maxHeight:h,...v}){let y=pr.useRef(null),{isMobile:C}=To(),S=C?"stacked":e,w=n!==void 0&&a!==void 0,{scrollRef:A,loadMoreRef:N,virtualizer:D,virtualItems:E,isLoadingMore:W,computedLoadingState:Z}=br({items:n||[],onLoadMore:w?m:void 0,hasMore:w?u:false,isLoading:i,loadingState:s,enableVirtualization:w?g:false,estimatedItemSize:f||(S==="stacked"?120:150),overscan:5}),B=w&&A?A:y,G=pr.useMemo(()=>({variant:S,size:t}),[S,t]),U=S==="timeline"?t==="sm"?"gap-4":"gap-6":"gap-0",ee=S==="stacked"?"divide-y divide-border-subtle rounded-lg border border-border-subtle bg-background-surface":"",L={};if(w&&m&&(x?(L.height=typeof x=="number"?`${x}px`:x,L.overflowY="auto"):h?(L.maxHeight=typeof h=="number"?`${h}px`:h,L.overflowY="auto"):(L.height="600px",L.overflowY="auto")),w){let O=Z==="loading"||i&&(!n||n.length===0);if(O){let I=c?jsxRuntime.jsx(jsxRuntime.Fragment,{children:Array.from({length:p}).map((K,Y)=>jsxRuntime.jsx("div",{children:c()},`skeleton-${Y}`))}):jsxRuntime.jsx(jsxRuntime.Fragment,{children:Array.from({length:p}).map((K,Y)=>jsxRuntime.jsxs("div",{className:S==="timeline"?"grid grid-cols-[3rem_1fr] gap-4":"px-4 py-4",children:[S==="timeline"&&jsxRuntime.jsx("div",{className:"flex flex-col items-center pt-3",children:jsxRuntime.jsx(P,{width:24,height:24,variant:"circle"})}),jsxRuntime.jsxs("div",{className:"flex flex-col gap-2",children:[jsxRuntime.jsx(P,{width:"60%",height:16}),jsxRuntime.jsx(P,{width:"80%",height:14})]})]},`skeleton-${Y}`))});return jsxRuntime.jsx(Ao.Provider,{value:G,children:jsxRuntime.jsx("div",{ref:B,"data-slot":"feed","data-variant":S,className:tailwindMerge.twMerge("flex flex-col",U,ee,r),style:L,...v,children:I})})}if(l)return jsxRuntime.jsx(Ao.Provider,{value:G,children:jsxRuntime.jsx("div",{ref:B,"data-slot":"feed","data-variant":S,className:tailwindMerge.twMerge("flex flex-col",U,ee,r),style:L,...v,children:jsxRuntime.jsx("div",{className:"p-4 text-center text-action-destructive",children:l})})});if(!n||n.length===0)return jsxRuntime.jsx(Ao.Provider,{value:G,children:jsxRuntime.jsx("div",{ref:B,"data-slot":"feed","data-variant":S,className:tailwindMerge.twMerge("flex flex-col",U,ee,r),style:L,...v,children:jsxRuntime.jsx("div",{className:"p-4 text-center text-text-muted",children:d})})});let R=D?E?.map(I=>({virtualItem:I,item:n[I.index],index:I.index}))||[]:n.map((I,K)=>({item:I,index:K,virtualItem:null}));return jsxRuntime.jsx(Ao.Provider,{value:G,children:jsxRuntime.jsxs("div",{ref:B,"data-slot":"feed","data-variant":S,className:tailwindMerge.twMerge("flex flex-col",U,ee,r),style:{...L,position:D?"relative":void 0},...v,children:[D?jsxRuntime.jsxs("div",{style:{height:`${D.getTotalSize()}px`,position:"relative"},children:[R.map(({item:I,index:K,virtualItem:Y})=>{if(!I||!Y)return null;let H=a(I,K),te=S==="timeline"&&pr.isValidElement(H)&&pa(H)?pr.cloneElement(H,{showConnector:K!==n.length-1}):H;return jsxRuntime.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",transform:`translateY(${Y.start}px)`},"data-index":Y.index,ref:D.measureElement,children:te},`item-${K}`)}),W&&jsxRuntime.jsx("div",{style:{position:"absolute",top:`${D.getTotalSize()}px`,left:0,width:"100%"},children:b||jsxRuntime.jsx(yt,{state:"loading-more"})})]}):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[R.map(({item:I,index:K})=>{let Y=a(I,K);if(S==="timeline"&&pr.isValidElement(Y)&&pa(Y)){let H=K===n.length-1;return jsxRuntime.jsx("div",{children:pr.cloneElement(Y,{showConnector:!H})},`item-${K}`)}return jsxRuntime.jsx("div",{children:Y},`item-${K}`)}),W&&(b||jsxRuntime.jsx(yt,{state:"loading-more"}))]}),m&&u&&!O&&jsxRuntime.jsx("div",{ref:N,style:D?{position:"absolute",top:`${D.getTotalSize()}px`,left:0,width:"100%",height:1}:{height:1,width:"100%"}})]})})}let F=pr.Children.toArray(o),V=F.map((O,R)=>{if(pa(O)){let I=O.props.showConnector??(S==="timeline"&&R<F.length-1),K=S==="timeline"&&R>0;return pr.cloneElement(O,{showConnector:I,showIncomingConnector:K})}if(ux(O)){let I=R===F.length-1;return pr.cloneElement(O,{__isLastGroup:I,__isFirstGroup:R===0})}return O});return jsxRuntime.jsx(Ao.Provider,{value:G,children:jsxRuntime.jsx("div",{"data-slot":"feed","data-variant":S,className:tailwindMerge.twMerge("flex flex-col",U,ee,r),...v,children:V})})}Ps.displayName="ActivityFeed";function fa(e){let{variant:t,size:r}=Zd(),{title:o,description:n,actions:a,children:i,className:s,__isLastGroup:l=false,__isFirstGroup:c=false,...p}=e,d=pr.Children.toArray(i),m=d.map((f,b)=>{if(pa(f)){let x=f.props.showConnector??(t==="timeline"&&!(l&&b===d.length-1));return pr.cloneElement(f,{showConnector:x,showIncomingConnector:t==="timeline"&&!(c&&b===0)})}return f}),u=t==="timeline"?"pl-[3rem]":r==="sm"?"px-3":"px-4",g=r==="sm"?"gap-3":"gap-4";return jsxRuntime.jsxs("section",{"data-slot":"group",className:tailwindMerge.twMerge("flex flex-col",s),...p,children:[(o||n||a)&&jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("mb-2 flex flex-wrap items-end justify-between gap-2",u),children:[jsxRuntime.jsxs("div",{className:"flex min-w-0 flex-col gap-1",children:[o&&jsxRuntime.jsx("span",{className:"text-xs font-semibold uppercase tracking-wide text-text-muted",children:o}),n&&jsxRuntime.jsx("span",{className:"text-sm text-text-muted",children:n})]}),a&&jsxRuntime.jsx("div",{className:"flex flex-shrink-0 items-center gap-2",children:a})]}),jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex flex-col",g),children:m})]})}fa.displayName="ActivityFeedGroup";var Yd={neutral:"bg-background-muted text-text-muted border-border-muted",brand:"bg-background-muted text-action-brand border-action-brand/30",success:"bg-background-muted text-feedback-success-text border-feedback-success-border/40",warning:"bg-background-muted text-feedback-warning-text border-feedback-warning-border/40",danger:"bg-background-muted text-feedback-error-text border-feedback-error-border/40",info:"bg-background-muted text-feedback-info-text border-feedback-info-border/40"},px={neutral:"bg-background-subtle",brand:"bg-action-brand/5",success:"bg-feedback-success-background",warning:"bg-feedback-warning-background",danger:"bg-feedback-error-background",info:"bg-feedback-info-background"},mx={neutral:"border-border-muted",brand:"border-action-brand",success:"border-feedback-success-border",warning:"border-feedback-warning-border",danger:"border-feedback-error-border",info:"border-feedback-info-border"};function ga(e){let{variant:t,size:r}=Zd(),{title:o,description:n,timestamp:a,meta:i,media:s,actions:l,visual:c,icon:p,iconWeight:d,tone:m="neutral",surface:u,isHighlighted:g=false,showConnector:f=true,hideIndicator:b=false,interactive:x,className:h,children:v,onKeyDown:y,showIncomingConnector:C,...S}=e,w=c??(p?jsxRuntime.jsx(k,{name:p,weight:d||"fill",className:"h-4 w-4"}):null),A=u??(t==="stacked"?"minimal":"subtle"),N=r==="sm"?"gap-2":"gap-3",D="text-xs text-text-subtle",E=r==="sm"?"text-sm":"text-[15px]",W="text-xs text-text-muted",Z=x??typeof S.onClick=="function",B=R=>{if(!Z){y?.(R);return}R.key===" "?R.preventDefault():R.key==="Enter"&&(R.preventDefault(),R.currentTarget.click()),y?.(R);},G=R=>{Z&&R.key===" "&&(R.preventDefault(),R.currentTarget.click());},U=Z?tailwindMerge.twMerge("group cursor-pointer",ke()):void 0,L=jsxRuntime.jsxs("div",{"data-slot":"connector",className:tailwindMerge.twMerge("relative flex h-full flex-col items-center",A==="minimal"?r==="sm"?"pt-2":"pt-3":r==="sm"?"pt-3":"pt-4"),children:[jsxRuntime.jsx("span",{"data-slot":"indicator",className:tailwindMerge.twMerge("relative z-10 flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-full border text-sm font-medium shadow-sm ring-2 ring-background-surface",Yd[m]),children:w}),t==="timeline"&&f&&jsxRuntime.jsx("span",{"data-slot":"separator",className:"absolute top-[2rem] left-1/2 w-0 border-l-2 border-dotted -translate-x-1/2 h-[calc(100%+2.5rem)] border-border-muted"})]}),F=g?tailwindMerge.twMerge(px[m],A==="minimal"?"rounded-md border border-border-muted":mx[m]):"";if(t==="stacked")return jsxRuntime.jsxs("div",{"data-slot":"item","data-variant":"stacked",role:Z?"button":void 0,tabIndex:Z?0:void 0,className:tailwindMerge.twMerge("flex flex-col",r==="sm"?"px-3 py-3":"px-4 py-4",{minimal:"",subtle:"bg-background-subtle",solid:"bg-background-muted"}[A],F,U,Z?"transition-colors hover:bg-background-subtle/80":"",h),onKeyDown:B,onKeyUp:G,...S,children:[jsxRuntime.jsxs("div",{className:"flex items-center gap-3",children:[!b&&jsxRuntime.jsx("span",{"data-slot":"indicator",className:tailwindMerge.twMerge("flex h-6 w-6 flex-shrink-0 items-center justify-center rounded-full border text-sm font-medium shadow-sm ring-2 ring-background-surface",Yd[m]),children:w}),jsxRuntime.jsx("div",{"data-slot":"title",className:"min-w-0 flex-1 text-sm font-semibold text-text-body",children:o})]}),jsxRuntime.jsxs("div",{"data-slot":"content",className:tailwindMerge.twMerge("mt-3 flex flex-col",N),children:[n&&jsxRuntime.jsx("div",{"data-slot":"description",className:tailwindMerge.twMerge("text-text-muted",E),children:n}),i&&jsxRuntime.jsx("div",{className:W,children:i}),s&&jsxRuntime.jsx("div",{className:"flex flex-col gap-2 text-sm text-text-muted",children:s}),v,l&&jsxRuntime.jsx("div",{className:"flex flex-wrap gap-2 pt-1",children:l}),a&&jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("-mt-1.5",D),children:a})]})]});let V=A==="minimal"?r==="sm"?"py-2":"py-3":r==="sm"?"p-3":"p-4",O={minimal:"",subtle:"rounded-md border border-border-subtle bg-background-surface",solid:"rounded-md bg-background-muted shadow-sm"};return jsxRuntime.jsxs("div",{"data-slot":"item","data-variant":"timeline",role:Z?"button":void 0,tabIndex:Z?0:void 0,className:tailwindMerge.twMerge("group relative grid items-start gap-4 grid-cols-[3rem_1fr]",U,h),onKeyDown:B,onKeyUp:G,...S,children:[b?jsxRuntime.jsx("div",{}):L,jsxRuntime.jsxs("div",{"data-slot":"content",className:tailwindMerge.twMerge("min-w-0 flex flex-col",N,V,O[A],F,Z?"transition-colors group-hover:bg-background-subtle/70":""),children:[jsxRuntime.jsxs("div",{className:"flex items-center justify-between gap-3",children:[jsxRuntime.jsx("div",{"data-slot":"title",className:"min-w-0 flex-1 text-sm font-semibold text-text-body",children:o}),a&&jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex-shrink-0",D),children:a})]}),n&&jsxRuntime.jsx("div",{"data-slot":"description",className:tailwindMerge.twMerge("text-text-muted",E),children:n}),i&&jsxRuntime.jsx("div",{className:W,children:i}),s&&jsxRuntime.jsx("div",{className:"flex flex-col gap-2 text-sm text-text-muted",children:s}),v,l&&jsxRuntime.jsx("div",{className:"flex flex-wrap gap-2 pt-2",children:l})]})]})}ga.displayName="ActivityItem";var ce={sm:{text:"text-[length:var(--control-text-sm)]",height:"h-[var(--control-sm-height)]",padding:"px-[var(--control-padding-sm)]",paddingY:"py-[var(--control-gap-sm)]",gap:"gap-[var(--control-gap-sm)]"},md:{text:"text-[length:var(--control-text-md)]",height:"h-[var(--control-md-height)]",padding:"px-[var(--control-padding-md)]",paddingY:"py-[var(--control-gap-md)]",gap:"gap-[var(--control-gap-md)]"},lg:{text:"text-[length:var(--control-text-lg)]",height:"h-[var(--control-lg-height)]",padding:"px-[var(--control-padding-lg)]",paddingY:"py-[var(--control-gap-lg)]",gap:"gap-[var(--control-gap-lg)]"},xl:{text:"text-[length:var(--control-text-xl)]",height:"h-[var(--control-xl-height)]",padding:"px-[var(--control-padding-xl)]",paddingY:"py-[var(--control-gap-xl)]",gap:"gap-[var(--control-gap-xl)]"}};var bx="flex font-medium justify-center items-center gap-2 text-center transition rounded-[var(--control-border-radius)] whitespace-nowrap box-border",xx={default:"bg-action-default text-[color:var(--color-action-default-text)] hover:bg-action-default-hover forced-colors:bg-[ButtonText] forced-colors:text-[ButtonFace] border-2 border-transparent",brand:"bg-action-brand text-[color:var(--color-action-brand-text)] hover:bg-action-brand-hover forced-colors:bg-[ButtonText] forced-colors:text-[ButtonFace] border-2 border-transparent",secondary:"bg-transparent text-text-body border-2 border-border-muted hover:bg-text-body/5 forced-colors:border-[ButtonBorder] forced-colors:bg-[ButtonFace] forced-colors:text-[ButtonText]",ghost:"border-none text-text-body hover:bg-text-body/5 forced-colors:text-[ButtonText] forced-colors:hover:bg-[ButtonFace]",destructive:"bg-transparent text-feedback-error-text border-2 border-border-muted hover:bg-feedback-error-background/50 forced-colors:border-[ButtonBorder] forced-colors:bg-[ButtonFace] forced-colors:text-[Mark]",link:"!text-action-brand hover:text-action-brand/90 hover:underline hover:decoration-2 hover:underline-offset-4",icon:"border-none text-text-body hover:bg-background-hover hover:text-text-heading forced-colors:text-[ButtonText] forced-colors:hover:bg-[ButtonFace] p-1 flex-shrink-0 rounded-[var(--control-border-radius)]",unstyled:"bg-transparent"},qd={full:"w-full",default:"w-fit"},hx="opacity-50 cursor-not-allowed pointer-events-none",yx="opacity-100 cursor-pointer",vx={"top-right":"-right-2 -top-2","top-left":"-left-2 -top-2","bottom-right":"-right-2 -bottom-2","bottom-left":"-left-2 -bottom-2"},Cx={primary:"bg-action-brand text-white",destructive:"bg-action-destructive text-white"};function Sx(e){return e?e==="primary"?"brand":e:"default"}function wx(e){let{variant:t="default",size:r="md",isDisabled:o,fullWidth:n=false,isLoading:a=false}=e,i=Sx(t),s=i==="unstyled"?"":`${bx} ${xx[i]}`;i!=="unstyled"&&(s+=` ${ce[r].text} ${ce[r].height} ${ce[r].padding} ${ce[r].gap}`),o||a?s+=` ${hx}`:s+=` ${yx}`,n?s+=` ${qd.full}`:s+=` ${qd.default}`;let l=i==="brand"?"focus-visible:outline-action-brand":void 0;return [s,ke(),l].filter(Boolean).join(" ")}function j(e){let{icon:t,children:r,isLoading:o=false,loadingText:n,loadingIndicator:a,size:i="md",iconPosition:s="left",iconWeight:l,href:c,className:p,badgeNumber:d,badgeVariant:m="primary",badgePosition:u="top-right",style:g,target:f,rel:b,...x}=e,h=t?jsxRuntime.jsx(k,{name:t,size:i,weight:l}):null,v=jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[s==="left"&&h,typeof r=="function"?null:r,s==="right"&&h]}),y=jsxRuntime.jsxs("div",{className:"relative inline-flex items-center justify-center",children:[jsxRuntime.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:a||jsxRuntime.jsx(k,{name:"CircleNotch",size:i,className:"animate-spin","aria-hidden":"true"})}),jsxRuntime.jsx("div",{className:"invisible","aria-hidden":"true",children:v}),n&&jsxRuntime.jsx("span",{className:"sr-only",role:"status","aria-live":"polite",children:n})]}),C=(d??0)>0,S=tailwindMerge.twMerge(wx(e),p),w=c?{href:c,target:f,rel:b,...x}:{};if(c){let{onPress:N,onPressStart:D,onPressEnd:E,onPressChange:W,onPressUp:Z,onAuxClick:B,onContextMenu:G,onDoubleClick:U,...ee}=x;Object.assign(w,ee);}let A=c?jsxRuntime.jsx(reactAriaComponents.Link,{...w,...o&&{"aria-busy":true},style:C?void 0:g,className:S,children:o?y:typeof r=="function"?(function(N){return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[s==="left"&&h,r(N),s==="right"&&h]})}):v}):jsxRuntime.jsx(reactAriaComponents.Button,{...x,...o&&{"aria-busy":true},style:C?void 0:g,className:S,children:o?y:typeof r=="function"?(function(N){return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[s==="left"&&h,r(N),s==="right"&&h]})}):v});return C?jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("relative flex",p),style:g,children:[A,jsxRuntime.jsx("span",{className:`absolute ${vx[u]} flex h-5 w-5 items-center justify-center rounded-full ${Cx[m]} text-xs font-medium`,"aria-label":`${d} items`,children:d})]}):A}function vr({primaryAction:e,secondaryAction:t,footerContent:r}){let o=e||t;return !o&&!r?null:jsxRuntime.jsxs("div",{className:"flex h-28 w-full flex-col items-center justify-center border-t p-4",children:[r&&jsxRuntime.jsx("div",{className:"flex h-10 justify-center",children:r}),o&&jsxRuntime.jsxs("div",{className:"flex h-full w-full items-center justify-between gap-4",children:[t&&jsxRuntime.jsx(j,{size:t.size||"lg",fullWidth:true,variant:t.variant||"secondary",onPress:t.onPress,isLoading:t.isLoading,isDisabled:t.isDisabled,children:t.label}),e&&jsxRuntime.jsx(j,{size:e.size||"lg",fullWidth:true,variant:e.variant||"brand",onPress:e.onPress,isLoading:e.isLoading,isDisabled:e.isDisabled,children:e.label})]})]})}var kx={xs:"text-lg font-semibold",sm:"text-xl font-semibold",md:"text-2xl font-semibold",lg:"text-3xl font-semibold",xl:"text-4xl font-semibold"},Tx={page:"h-16 leading-[62px]"};function Ct({tag:e="h1",size:t="lg",height:r,className:o="",children:n}){let a=kx[t],i=r?Tx[r]:"";return jsxRuntime.jsx(e,{className:tailwindMerge.twMerge(a,i,o),children:n})}var Qe=({title:e,onClose:t,hideCloseIcon:r=false,titleAlign:o="left",hasBackArrow:n=false,onBack:a,headerContent:i})=>jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("relative flex h-16 w-full items-center justify-between border-b px-4",e&&"border-b",o==="center"?"justify-center":""),children:[n&&jsxRuntime.jsx(j,{variant:"icon",onPress:a,className:"absolute left-4","aria-label":"Go back",children:jsxRuntime.jsx(k,{name:"CaretLeft","data-testid":"back-arrow"})}),i||jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[e&&jsxRuntime.jsx(Ct,{size:"xs",children:e}),t&&!r&&jsxRuntime.jsx(j,{variant:"icon",onPress:t,"aria-label":"Close dialog",children:jsxRuntime.jsx(k,{name:"X","data-testid":"close-button"})})]})]});var Ax={outlined:"bg-background-surface border border-border-default",elevated:"bg-background-surface border-0 shadow-md",filled:"bg-background-muted border-0",ghost:"bg-transparent border-0 shadow-none"},Mx="rounded-lg",As={square:"aspect-square",video:"aspect-video",wide:"aspect-[2/1]",auto:""},Lx={start:"justify-start",end:"justify-end",center:"justify-center",between:"justify-between"};function be({variant:e="outlined",className:t,children:r,isLoading:o=false}){return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("w-full overflow-hidden",Ax[e],Mx,t),"data-testid":"card",children:o?jsxRuntime.jsx(P,{width:"100%",height:"100%",className:"rounded-none"}):r})}function Ms({title:e,subtitle:t,actions:r,className:o,isLoading:n=false}){return n?jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("p-6 pb-4",o),children:[jsxRuntime.jsxs("div",{className:"flex justify-between items-start mb-1",children:[jsxRuntime.jsx(P,{width:120,height:20}),jsxRuntime.jsx(P,{width:24,height:24})]}),t&&jsxRuntime.jsx(P,{width:200,height:16})]}):!e&&!t&&!r?null:jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("p-6 pb-4",o),children:jsxRuntime.jsxs("div",{className:"flex justify-between items-start gap-4",children:[jsxRuntime.jsxs("div",{className:"min-w-0 flex-1",children:[e&&jsxRuntime.jsx("div",{className:"mb-1",children:typeof e=="string"?jsxRuntime.jsx(Ct,{tag:"h3",size:"sm",className:"text-text-heading",children:e}):e}),t&&jsxRuntime.jsx("div",{className:"text-sm text-text-muted",children:t})]}),r&&jsxRuntime.jsx("div",{className:"flex-shrink-0",children:r})]})})}function Ls({src:e,alt:t,aspectRatio:r="auto",className:o,children:n,isLoading:a=false}){return a?jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("bg-background-muted",As[r],o),children:jsxRuntime.jsx(P,{width:"100%",height:"100%"})}):n?jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("overflow-hidden",As[r],o),children:n}):e?jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("overflow-hidden",As[r],o),children:jsxRuntime.jsx("img",{src:e,alt:t||"",className:"w-full h-full object-cover",loading:"lazy"})}):null}function Fs({className:e,children:t,isLoading:r=false}){let n=e?.match(/p(?:t|b|l|r|x|y)?-(?:\d+(?:\.\d+)?|px|\[.+?\])/)?"":"px-6 py-4";return r?jsxRuntime.jsx("div",{className:tailwindMerge.twMerge(n,e),children:jsxRuntime.jsxs("div",{className:"space-y-2",children:[jsxRuntime.jsx(P,{width:"100%",height:16}),jsxRuntime.jsx(P,{width:"80%",height:16}),jsxRuntime.jsx(P,{width:"60%",height:16})]})}):t?jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("px-6 py-4 text-text-body",e),children:t}):null}function Es({className:e,children:t,align:r="end",isLoading:o=false}){return o?jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("px-6 py-4 flex gap-2 justify-end",e),children:[jsxRuntime.jsx(P,{width:80,height:32}),jsxRuntime.jsx(P,{width:60,height:32})]}):t?jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("px-6 py-4 flex items-center gap-2",Lx[r],e),children:t}):null}be.Header=Ms;be.Media=Ls;be.Content=Fs;be.Footer=Es;var Mt=class extends pr.Component{constructor(){super(...arguments);nn(this,"state",{hasError:false});nn(this,"handleRetry",()=>{this.setState({hasError:false,error:void 0}),typeof window<"u"&&window.location.reload();});}static getDerivedStateFromError(r){return {hasError:true,error:r}}componentDidCatch(r,o){console.error("Error Boundary caught an error:",r,o);}render(){return this.state.hasError?this.props.fallback?this.props.fallback:jsxRuntime.jsxs(be,{children:[this.props.title&&jsxRuntime.jsx(be.Header,{title:this.props.title}),jsxRuntime.jsx(be.Content,{children:jsxRuntime.jsxs("div",{className:"flex flex-col items-center justify-center gap-4","data-testid":"error-boundary",children:[jsxRuntime.jsx("p",{className:"text-red-500",children:this.state.error?.message||"Something went wrong"}),jsxRuntime.jsx("button",{className:"rounded bg-blue-500 px-4 py-2 text-white hover:bg-blue-600",onClick:this.handleRetry,children:"Retry"})]})})]}):this.props.children}};function Hr({children:e,title:t,headerContent:r,titleAlign:o="left",hideCloseIcon:n=false,hasBackArrow:a=false,onBack:i,isOpen:s,onClose:l,isDismissable:c=true,transparentOverlay:p=false,primaryAction:d,secondaryAction:m,footerContent:u,maxHeight:g="80vh",height:f,maxWidth:b="640px",contentPadding:x=true,showHandle:h=true,animationVariant:v="scale",className:y}){let[C,S]=pr.useState(false);if(pr.useEffect(()=>{if(s){let N=setTimeout(()=>{S(true),setTimeout(()=>S(false),600);},400);return ()=>clearTimeout(N)}},[s]),!s)return null;let w=t||r,A=d||m||u;return jsxRuntime.jsx(Mt,{children:jsxRuntime.jsx(ut,{isOpen:s,onOpenChange:N=>{N||l?.();},isDismissable:c,transparent:p,className:"flex items-end justify-center p-0 sm:p-4",children:jsxRuntime.jsx(reactAriaComponents.Modal,{className:"w-full max-w-full p-0 sm:p-2",isDismissable:c,children:jsxRuntime.jsxs(reactAriaComponents.Dialog,{className:tailwindMerge.twMerge("relative flex w-full flex-col overflow-hidden","bg-background-surface","shadow-2xl shadow-black/30 dark:shadow-black/60","border-t border-x border-border-default/40","origin-bottom",v==="scale"?"animate-[tray-enter-scale_400ms_cubic-bezier(0.32,0.72,0,1)]":"animate-[tray-enter_400ms_cubic-bezier(0.32,0.72,0,1)]",v==="scale"?"data-[exiting]:animate-[tray-exit-scale_250ms_cubic-bezier(0.32,0,0.67,0)]":"data-[exiting]:animate-[tray-exit_250ms_cubic-bezier(0.32,0,0.67,0)]",y),style:{maxWidth:b,...f?{height:f}:{maxHeight:g}},children:[h&&jsxRuntime.jsx("div",{className:"absolute top-2 left-1/2 -translate-x-1/2 z-10 flex justify-center",children:jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("h-1 w-12 rounded-full bg-border-muted transition-all duration-300","hover:bg-border-default hover:w-16",C&&"animate-[handle-wiggle_0.6s_ease-in-out]")})}),w&&(a?jsxRuntime.jsx(Qe,{title:t,headerContent:r,titleAlign:o,hideCloseIcon:n||!l,hasBackArrow:true,onBack:i??(()=>{}),onClose:l||(()=>{})}):jsxRuntime.jsx(Qe,{title:t,headerContent:r,titleAlign:o,hideCloseIcon:n||!l,onClose:l||(()=>{})})),jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex-1 min-h-0 overflow-y-auto overscroll-contain",x?"p-4":"p-0"),children:e}),A&&jsxRuntime.jsx(vr,{primaryAction:d,secondaryAction:m,footerContent:u})]})})})})}Hr.displayName="Tray";function Cr({isOpen:e,onClose:t,title:r,headerContent:o,titleAlign:n="left",hideCloseIcon:a=false,hasBackArrow:i=false,onBack:s,children:l,primaryAction:c,secondaryAction:p,footerContent:d,transparentOverlay:m=false,maxWidth:u="600px",minWidth:g="400px",maxHeight:f="85vh",height:b,mobileMaxHeight:x="90vh",mobileHeight:h,contentPadding:v=true,className:y}){if(e===false)return null;let C=r||o,S=c||p||d,w=e!==void 0;return Vt("(max-width: 767px)")?w?jsxRuntime.jsx(Hr,{isOpen:e,onClose:t,title:r,headerContent:o,titleAlign:n,hideCloseIcon:a,hasBackArrow:i,onBack:s,primaryAction:c,secondaryAction:p,footerContent:d,transparentOverlay:m,maxHeight:x,height:h,maxWidth:u,contentPadding:v,showHandle:true,animationVariant:"scale",className:y,children:l}):jsxRuntime.jsx(Mt,{children:jsxRuntime.jsx(ut,{isDismissable:true,transparent:m,className:"flex items-end justify-center",children:jsxRuntime.jsx(reactAriaComponents.Modal,{className:"w-full max-w-fit p-0",children:jsxRuntime.jsxs(reactAriaComponents.Dialog,{className:tailwindMerge.twMerge("relative flex w-full flex-col","bg-background-surface dark:bg-gray-800","shadow-2xl shadow-black/20","border-t border-x border-border-default/40","max-h-[90vh]","rounded-none","overflow-hidden","animate-in slide-in-from-bottom","duration-300 ease-out","data-[exiting]:animate-out data-[exiting]:slide-out-to-bottom","data-[exiting]:duration-200 data-[exiting]:ease-in",y),style:{maxWidth:u,...h?{height:h}:{maxHeight:x}},children:[jsxRuntime.jsx("div",{className:"flex justify-center pt-2",children:jsxRuntime.jsx("div",{className:"h-1.5 w-12 rounded-full bg-border-muted"})}),C&&(i?jsxRuntime.jsx(Qe,{title:r,headerContent:o,titleAlign:n,hideCloseIcon:a||!t,hasBackArrow:true,onBack:s,onClose:t||(()=>{})}):jsxRuntime.jsx(Qe,{title:r,headerContent:o,titleAlign:n,hideCloseIcon:a||!t,onClose:t||(()=>{})})),jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex-1 min-h-0 overflow-y-auto overscroll-contain",v?"p-4":"p-0"),children:l}),S&&jsxRuntime.jsx(vr,{primaryAction:c,secondaryAction:p,footerContent:d})]})})})}):jsxRuntime.jsx(Mt,{children:jsxRuntime.jsx(ut,{...w?{isOpen:e,onOpenChange:N=>{!N&&t&&t();}}:{},isDismissable:true,transparent:m,className:"flex items-center justify-center",children:jsxRuntime.jsx(reactAriaComponents.Modal,{className:"w-full p-4",style:{maxWidth:u},children:jsxRuntime.jsxs(reactAriaComponents.Dialog,{className:tailwindMerge.twMerge("relative flex w-full flex-col","bg-background-surface dark:bg-gray-800","shadow-2xl shadow-black/20","border border-border-default/50","rounded-md","overflow-hidden","animate-in fade-in zoom-in-96 slide-in-from-bottom-2","duration-300 ease-out","data-[exiting]:animate-out data-[exiting]:fade-out data-[exiting]:zoom-out-95","data-[exiting]:duration-200 data-[exiting]:ease-in",y),style:{minWidth:g,...b?{height:b}:{maxHeight:f}},children:[C&&(i?jsxRuntime.jsx(Qe,{title:r,headerContent:o,titleAlign:n,hideCloseIcon:a||!t,hasBackArrow:true,onBack:s,onClose:t||(()=>{})}):jsxRuntime.jsx(Qe,{title:r,headerContent:o,titleAlign:n,hideCloseIcon:a||!t,onClose:t||(()=>{})})),jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex-1 min-h-0 overflow-y-auto",v?"p-6":"p-0"),children:l}),S&&jsxRuntime.jsx(vr,{primaryAction:c,secondaryAction:p,footerContent:d})]})})})})}function ou({isOpen:e,onClose:t,title:r,message:o,confirmLabel:n="OK",confirmVariant:a="primary",maxWidth:i="400px",minWidth:s="320px"}){return jsxRuntime.jsx(Cr,{isOpen:e,onClose:t,title:r,maxWidth:i,minWidth:s,primaryAction:{label:n,onPress:t,variant:a},children:jsxRuntime.jsx("div",{className:"text-text-body",children:o})})}var ha=({className:e,showWordmark:t=true,width:r,fill:o})=>{let n,a;if(o?o.startsWith("fill-")?a=o:n=o:e?a=e:n="var(--color-text-body)",t){let l=r||270,c=l/270*80;return jsxRuntime.jsxs("svg",{width:l,height:c,viewBox:"0 0 270 80",xmlns:"http://www.w3.org/2000/svg",className:a,style:n?{fill:n}:void 0,children:[jsxRuntime.jsxs("g",{clipPath:"url(#clip0_796_283)",children:[jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.223654 20.2934C0.417233 19.8234 0.873598 19.517 1.37984 19.517H20.5909C21.282 19.517 21.8422 20.0798 21.8422 20.774V40.049C21.8422 40.5572 21.5375 41.0155 21.0702 41.2102C20.6028 41.405 20.0647 41.2977 19.7067 40.9385L0.495628 21.6635C0.137428 21.3041 0.030075 20.7633 0.223654 20.2934ZM4.40349 22.0311L19.3396 37.017V22.0311H4.40349Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M38.6458 20.2934C38.8394 19.8234 39.2958 19.517 39.802 19.517H59.013C59.7041 19.517 60.2642 20.0798 60.2642 20.774V40.049C60.2642 40.5572 59.9597 41.0155 59.4923 41.2102C59.025 41.405 58.4867 41.2977 58.1289 40.9385L38.9178 21.6635C38.5595 21.3041 38.4522 20.7633 38.6458 20.2934ZM42.8255 22.0311L57.7618 37.017V22.0311H42.8255Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.4347 58.8447C19.6283 58.3747 20.0847 58.0685 20.5909 58.0685H39.802C40.493 58.0685 41.0532 58.6312 41.0532 59.3255V78.6005C41.0532 79.1087 40.7486 79.567 40.2813 79.7617C39.8139 79.9562 39.2757 79.849 38.9178 79.49L19.7067 60.215C19.3485 59.8555 19.2411 59.3147 19.4347 58.8447ZM23.6146 60.5825L38.5508 75.5682V60.5825H23.6146Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.3227 58.1643C39.79 57.9695 40.3283 58.0768 40.6861 58.436L59.8972 77.711C60.2555 78.0703 60.3628 78.6113 60.1692 79.081C59.9756 79.551 59.5192 79.8575 59.013 79.8575H39.802C39.1109 79.8575 38.5508 79.2948 38.5508 78.6005V59.3255C38.5508 58.8173 38.8554 58.359 39.3227 58.1643ZM41.0532 62.3575V77.3433H55.9893L41.0532 62.3575Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.3227 19.6129C39.79 19.4182 40.3283 19.5254 40.6861 19.8846L59.8972 39.1595C60.2555 39.519 60.3628 40.0598 60.1692 40.5298C59.9756 40.9995 59.5192 41.306 59.013 41.306H39.802C39.1109 41.306 38.5508 40.7433 38.5508 40.049V20.7741C38.5508 20.2658 38.8554 19.8075 39.3227 19.6129ZM41.0532 23.8061V38.792H55.9893L41.0532 23.8061Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.3227 38.8885C39.79 38.694 40.3283 38.8012 40.6861 39.1602L59.8972 58.4352C60.2555 58.7945 60.3628 59.3355 60.1692 59.8055C59.9756 60.2752 59.5192 60.5817 59.013 60.5817H39.802C39.1109 60.5817 38.5508 60.019 38.5508 59.3247V40.0497C38.5508 39.5415 38.8554 39.0832 39.3227 38.8885ZM41.0532 43.0817V58.0675H55.9893L41.0532 43.0817Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M38.6458 39.569C38.8394 39.0992 39.2958 38.7927 39.802 38.7927H59.013C59.7041 38.7927 60.2642 39.3555 60.2642 40.0497V59.3247C60.2642 59.833 59.9597 60.2912 59.4923 60.486C59.025 60.6805 58.4867 60.5732 58.1289 60.2142L38.9178 40.9392C38.5595 40.5797 38.4522 40.039 38.6458 39.569ZM42.8255 41.3067L57.7618 56.2927V41.3067H42.8255Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M38.6458 58.8447C38.8394 58.3747 39.2958 58.0685 39.802 58.0685H59.013C59.7041 58.0685 60.2642 58.6312 60.2642 59.3255V78.6005C60.2642 79.1087 59.9597 79.567 59.4923 79.7617C59.025 79.9562 58.4867 79.849 58.1289 79.49L38.9178 60.215C38.5595 59.8555 38.4522 59.3147 38.6458 58.8447ZM42.8255 60.5825L57.7618 75.5682V60.5825H42.8255Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M58.5338 19.6129C59.0011 19.4182 59.5394 19.5254 59.8972 19.8846L79.1083 39.1595C79.4666 39.519 79.5739 40.0598 79.3803 40.5298C79.1867 40.9995 78.7303 41.306 78.2241 41.306H59.013C58.322 41.306 57.7618 40.7433 57.7618 40.049V20.7741C57.7618 20.2658 58.0664 19.8075 58.5338 19.6129ZM60.2643 23.8061V38.792H75.2006L60.2643 23.8061Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M58.5338 0.338803C59.0011 0.144135 59.5394 0.251385 59.8972 0.610565L79.1083 19.8855C79.4666 20.2449 79.5739 20.7857 79.3803 21.2556C79.1867 21.7256 78.7303 22.032 78.2241 22.032H59.013C58.322 22.032 57.7618 21.4692 57.7618 20.775V1.50003C57.7618 0.99174 58.0664 0.533468 58.5338 0.338803ZM60.2643 4.53208V19.5179H75.2006L60.2643 4.53208Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M57.8569 20.2934C58.0505 19.8234 58.5069 19.517 59.013 19.517H78.2241C78.9151 19.517 79.4753 20.0798 79.4753 20.774V40.049C79.4753 40.5572 79.1707 41.0155 78.7034 41.2102C78.236 41.405 77.6978 41.2977 77.3399 40.9385L58.1289 21.6635C57.7705 21.3041 57.6633 20.7633 57.8569 20.2934ZM62.0365 22.0311L76.9729 37.017V22.0311H62.0365Z"}),jsxRuntime.jsx("path",{d:"M269.838 49.4457H249.005C249.266 51.801 250.162 53.6985 251.695 55.1377C253.225 56.577 255.134 57.2967 257.416 57.2967C259.307 57.2967 260.887 56.8715 262.159 56.021C263.463 55.1377 264.408 53.9927 264.996 52.5862H269.251C268.502 54.9415 267.084 56.937 264.996 58.5725C262.943 60.208 260.414 61.026 257.416 61.026C255.069 61.026 252.917 60.4697 250.961 59.3575C249.037 58.2127 247.504 56.6587 246.363 54.696C245.255 52.7332 244.7 50.558 244.7 48.17C244.7 45.782 245.255 43.6067 246.363 41.644C247.504 39.6812 249.037 38.1437 250.961 37.0315C252.917 35.8867 255.069 35.3142 257.416 35.3142C259.73 35.3142 261.833 35.8702 263.724 36.9825C265.615 38.0947 267.098 39.6485 268.176 41.644C269.283 43.6395 269.838 45.913 269.838 48.4645V49.4457ZM257.416 39.0432C255.263 39.0432 253.439 39.6812 251.939 40.957C250.47 42.2327 249.542 43.9337 249.152 46.06H265.583C265.192 43.9992 264.262 42.3145 262.796 41.006C261.36 39.6975 259.568 39.0432 257.416 39.0432Z"}),jsxRuntime.jsx("path",{d:"M228.356 60.5352V35.8049H232.219V39.7794H232.464C233.05 38.5689 233.963 37.5712 235.202 36.7862C236.474 35.9684 237.974 35.5594 239.701 35.5594H243.125V39.4359H239.701C237.517 39.4359 235.757 40.1554 234.42 41.5949C233.083 43.0342 232.414 44.9152 232.414 47.2377V60.5352H228.356Z"}),jsxRuntime.jsx("path",{d:"M208.607 61.0259C205.64 61.0259 203.326 60.1262 201.663 58.3272C200 56.4952 199.169 53.8947 199.169 50.5252V35.8047H203.228V49.8874C203.228 52.2427 203.766 54.0744 204.842 55.3829C205.95 56.6587 207.532 57.2967 209.586 57.2967C211.02 57.2967 212.308 56.9694 213.449 56.3152C214.623 55.6284 215.536 54.6959 216.188 53.5184C216.84 52.3407 217.166 50.9997 217.166 49.4949V35.8047H221.225V60.5352H217.313V56.5607H217.068C216.286 57.9019 215.161 58.9814 213.694 59.7992C212.226 60.6169 210.531 61.0259 208.607 61.0259Z"}),jsxRuntime.jsx("path",{d:"M186.736 39.534V56.806H194.756V60.5352H182.677V39.534H177.199V35.8047H182.677V29.5732H186.736V35.8047H193.24V39.534H186.736Z"}),jsxRuntime.jsx("path",{d:"M156.585 60.5352H151.988L158.394 48.0227L152.33 35.8047H156.976L162.062 46.0599H165.388L170.474 35.8047H175.022L168.958 48.0227L175.365 60.5352H170.67L165.29 49.7892H162.013L156.585 60.5352Z"}),jsxRuntime.jsx("path",{d:"M150.138 49.1315H129.304C129.565 51.4867 130.461 53.3842 131.994 54.8235C133.526 56.2627 135.433 56.9825 137.715 56.9825C139.606 56.9825 141.188 56.5572 142.459 55.7067C143.763 54.8235 144.709 53.6785 145.296 52.272H149.551C148.801 54.6272 147.382 56.6227 145.296 58.2582C143.242 59.8937 140.715 60.7118 137.715 60.7118C135.368 60.7118 133.216 60.1555 131.26 59.0432C129.336 57.8985 127.804 56.3445 126.663 54.3817C125.554 52.419 125 50.2437 125 47.8557C125 45.4677 125.554 43.2925 126.663 41.3298C127.804 39.367 129.336 37.8295 131.26 36.7173C133.216 35.5725 135.368 35 137.715 35C140.03 35 142.133 35.556 144.024 36.6682C145.915 37.7805 147.399 39.3342 148.475 41.3298C149.583 43.3252 150.138 45.5987 150.138 48.1502V49.1315ZM137.715 38.729C135.564 38.729 133.738 39.367 132.238 40.6427C130.771 41.9185 129.842 43.6195 129.45 45.7458H145.883C145.491 43.685 144.562 42.0002 143.095 40.6917C141.661 39.3832 139.867 38.729 137.715 38.729Z"}),jsxRuntime.jsx("path",{d:"M116.961 60.5353H112.559V30.4072H101.164V26.1875H128.307V30.4072H116.961V60.5353Z"})]}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsx("clipPath",{id:"clip0_796_283",children:jsxRuntime.jsx("rect",{width:"270",height:"80",fill:"white"})})})]})}let i=r||80;return jsxRuntime.jsxs("svg",{width:i,height:i,viewBox:"0 0 80 80",xmlns:"http://www.w3.org/2000/svg",className:a,style:n?{fill:n}:void 0,children:[jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.223654 20.2934C0.417233 19.8234 0.873598 19.517 1.37984 19.517H20.5909C21.282 19.517 21.8422 20.0798 21.8422 20.774V40.049C21.8422 40.5572 21.5375 41.0155 21.0702 41.2102C20.6028 41.405 20.0647 41.2977 19.7067 40.9385L0.495628 21.6635C0.137428 21.3041 0.030075 20.7633 0.223654 20.2934ZM4.40349 22.0311L19.3396 37.017V22.0311H4.40349Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M38.6458 20.2934C38.8394 19.8234 39.2958 19.517 39.802 19.517H59.013C59.7041 19.517 60.2642 20.0798 60.2642 20.774V40.049C60.2642 40.5572 59.9597 41.0155 59.4923 41.2102C59.025 41.405 58.4867 41.2977 58.1289 40.9385L38.9178 21.6635C38.5595 21.3041 38.4522 20.7633 38.6458 20.2934ZM42.8255 22.0311L57.7618 37.017V22.0311H42.8255Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.4347 58.8447C19.6283 58.3747 20.0847 58.0685 20.5909 58.0685H39.802C40.493 58.0685 41.0532 58.6312 41.0532 59.3255V78.6005C41.0532 79.1087 40.7486 79.567 40.2813 79.7617C39.8139 79.9562 39.2757 79.849 38.9178 79.49L19.7067 60.215C19.3485 59.8555 19.2411 59.3147 19.4347 58.8447ZM23.6146 60.5825L38.5508 75.5682V60.5825H23.6146Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.3227 58.1643C39.79 57.9695 40.3283 58.0768 40.6861 58.436L59.8972 77.711C60.2555 78.0703 60.3628 78.6113 60.1692 79.081C59.9756 79.551 59.5192 79.8575 59.013 79.8575H39.802C39.1109 79.8575 38.5508 79.2948 38.5508 78.6005V59.3255C38.5508 58.8173 38.8554 58.359 39.3227 58.1643ZM41.0532 62.3575V77.3433H55.9893L41.0532 62.3575Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.3227 19.6129C39.79 19.4182 40.3283 19.5254 40.6861 19.8846L59.8972 39.1595C60.2555 39.519 60.3628 40.0598 60.1692 40.5298C59.9756 40.9995 59.5192 41.306 59.013 41.306H39.802C39.1109 41.306 38.5508 40.7433 38.5508 40.049V20.7741C38.5508 20.2658 38.8554 19.8075 39.3227 19.6129ZM41.0532 23.8061V38.792H55.9893L41.0532 23.8061Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.3227 38.8885C39.79 38.694 40.3283 38.8012 40.6861 39.1602L59.8972 58.4352C60.2555 58.7945 60.3628 59.3355 60.1692 59.8055C59.9756 60.2752 59.5192 60.5817 59.013 60.5817H39.802C39.1109 60.5817 38.5508 60.019 38.5508 59.3247V40.0497C38.5508 39.5415 38.8554 39.0832 39.3227 38.8885ZM41.0532 43.0817V58.0675H55.9893L41.0532 43.0817Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M38.6458 39.569C38.8394 39.0992 39.2958 38.7927 39.802 38.7927H59.013C59.7041 38.7927 60.2642 39.3555 60.2642 40.0497V59.3247C60.2642 59.833 59.9597 60.2912 59.4923 60.486C59.025 60.6805 58.4867 60.5732 58.1289 60.2142L38.9178 40.9392C38.5595 40.5797 38.4522 40.039 38.6458 39.569ZM42.8255 41.3067L57.7618 56.2927V41.3067H42.8255Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M38.6458 58.8447C38.8394 58.3747 39.2958 58.0685 39.802 58.0685H59.013C59.7041 58.0685 60.2642 58.6312 60.2642 59.3255V78.6005C60.2642 79.1087 59.9597 79.567 59.4923 79.7617C59.025 79.9562 58.4867 79.849 58.1289 79.49L38.9178 60.215C38.5595 59.8555 38.4522 59.3147 38.6458 58.8447ZM42.8255 60.5825L57.7618 75.5682V60.5825H42.8255Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M58.5338 19.6129C59.0011 19.4182 59.5394 19.5254 59.8972 19.8846L79.1083 39.1595C79.4666 39.519 79.5739 40.0598 79.3803 40.5298C79.1867 40.9995 78.7303 41.306 78.2241 41.306H59.013C58.322 41.306 57.7618 40.7433 57.7618 40.049V20.7741C57.7618 20.2658 58.0664 19.8075 58.5338 19.6129ZM60.2643 23.8061V38.792H75.2006L60.2643 23.8061Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M58.5338 0.338803C59.0011 0.144135 59.5394 0.251385 59.8972 0.610565L79.1083 19.8855C79.4666 20.2449 79.5739 20.7857 79.3803 21.2556C79.1867 21.7256 78.7303 22.032 78.2241 22.032H59.013C58.322 22.032 57.7618 21.4692 57.7618 20.775V1.50003C57.7618 0.99174 58.0664 0.533468 58.5338 0.338803ZM60.2643 4.53208V19.5179H75.2006L60.2643 4.53208Z"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M57.8569 20.2934C58.0505 19.8234 58.5069 19.517 59.013 19.517H78.2241C78.9151 19.517 79.4753 20.0798 79.4753 20.774V40.049C79.4753 40.5572 79.1707 41.0155 78.7034 41.2102C78.236 41.405 77.6978 41.2977 77.3399 40.9385L58.1289 21.6635C57.7705 21.3041 57.6633 20.7633 57.8569 20.2934ZM62.0365 22.0311L76.9729 37.017V22.0311H62.0365Z"})]})};var ya=({topItems:e=[],bottomItems:t=[],bottomContent:r,logo:o,showLogo:n=true,linkComponent:a="a",className:i="",mobileMenuId:s="app-mobile-menu",sidebarCollapseId:l="app-sidebar-collapse"})=>{let c=u=>u.length>0&&"items"in u[0],p=u=>c(u)?u:[{id:"default-section",items:u}],d=(u,g,f)=>jsxRuntime.jsxs("div",{className:"space-y-0.5",children:[u.title&&jsxRuntime.jsx("div",{className:"px-6 py-1 text-xs font-medium text-text-subtle uppercase tracking-wider","data-collapse-hide":"",children:u.title}),jsxRuntime.jsx("div",{className:"space-y-0.5",children:u.items.map(b=>m(b))}),g<f-1&&jsxRuntime.jsx("div",{className:"border-b border-border-subtle mx-6 my-2","data-collapse-hide":""})]},u.id),m=(u,g=false)=>{if(u.children&&u.children.length>0){let x=`category-${u.id}`;return jsxRuntime.jsxs("div",{className:"group/category",children:[jsxRuntime.jsx("input",{type:"checkbox",id:x,className:"peer/category hidden",defaultChecked:u.isExpanded,"aria-hidden":"true"}),jsxRuntime.jsxs("label",{htmlFor:x,className:"flex items-center gap-3 px-6 py-1 text-text-body hover:bg-background-hover hover:text-text-heading cursor-pointer transition-all duration-200","data-collapse-center":"",children:[u.icon&&jsxRuntime.jsx("span",{className:"flex-shrink-0 w-4 h-4 flex items-center justify-center transition-all duration-200","data-collapse-icon":"",children:u.icon}),jsxRuntime.jsx("span",{className:"transition-all duration-200","data-collapse-hide":"",children:u.label}),jsxRuntime.jsx("span",{className:"flex-1","data-collapse-hide":""}),jsxRuntime.jsx("svg",{className:"w-4 h-4 transform transition-transform duration-200 peer-checked/category:rotate-180 ml-auto",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","data-collapse-hide":"",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),jsxRuntime.jsx("div",{className:"hidden peer-checked/category:block bg-background-subtle border-l-2 border-border-subtle ml-6","data-collapse-hide-category":"",children:u.children.map(h=>m(h,true))})]},u.id)}let f={href:u.href||"#",className:`flex items-center gap-3 transition-all duration-200 hover:bg-background-hover ${g?"pl-8 pr-6 py-1 text-sm":"px-6 py-1"} ${u.isActive?"bg-action-brand/10 text-action-brand border-l-2 border-action-brand":"text-text-body hover:text-text-heading"}`,"aria-current":u.isActive?"page":void 0,"data-collapse-center":g?void 0:""},b=jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[u.icon&&!g&&jsxRuntime.jsx("span",{className:"flex-shrink-0 w-4 h-4 flex items-center justify-center transition-all duration-200","data-collapse-icon":"",children:u.icon}),jsxRuntime.jsx("span",{className:"transition-all duration-200","data-collapse-hide":"",children:u.label})]});return a==="a"?jsxRuntime.jsx("a",{...f,children:b},u.id):jsxRuntime.jsx(a,{...f,children:b},u.id)};return jsxRuntime.jsxs("div",{className:`flex flex-col h-full ${i}`,children:[jsxRuntime.jsxs("div",{className:"flex items-center justify-between h-[60px] px-6 border-b border-border-default",children:[n&&jsxRuntime.jsx("div",{className:"transition-all duration-200","data-collapse-hide":"",children:o||jsxRuntime.jsx(ha,{showWordmark:true,width:120})}),jsxRuntime.jsx("label",{htmlFor:l,className:"hidden md:flex items-center justify-center w-8 h-8 rounded hover:bg-background-hover cursor-pointer transition-all duration-200","aria-label":"Toggle sidebar","data-collapse-toggle":"",children:jsxRuntime.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"})})}),jsxRuntime.jsx("label",{htmlFor:s,className:"md:hidden flex items-center justify-center w-8 h-8 rounded hover:bg-background-hover cursor-pointer transition-colors","aria-label":"Close menu",children:jsxRuntime.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),jsxRuntime.jsxs("nav",{className:"flex-1 flex flex-col overflow-hidden",children:[e&&e.length>0&&jsxRuntime.jsx("div",{className:"flex-1 overflow-y-auto py-2 scrollbar-hide",children:p(e).map((u,g,f)=>d(u,g,f.length))}),t&&t.length>0&&jsxRuntime.jsx("div",{className:"flex-shrink-0 border-t bg-background-muted/30",children:jsxRuntime.jsx("div",{className:"mt-2 pb-2 space-y-0.5",children:t.map(u=>m(u))})}),r&&jsxRuntime.jsx("div",{className:"flex-shrink-0 border-t border-border-default",children:jsxRuntime.jsx("div",{"data-collapse-hide":"",children:r})})]})]})};var bn=({rightContent:e,showMobileMenu:t=true,avatar:r,showColorModeSwitcher:o=false,toggleTheme:n,isDarkThemeEnabled:a=false,actions:i,className:s="",mobileMenuId:l="app-mobile-menu"})=>jsxRuntime.jsx("header",{className:`h-[60px] bg-background-surface border-b ${s}`,children:jsxRuntime.jsxs("div",{className:"flex h-full items-center justify-between",children:[jsxRuntime.jsx("div",{className:"flex items-center h-full",children:t&&jsxRuntime.jsx("label",{htmlFor:l,className:"md:hidden cursor-pointer","aria-label":"Open menu",children:jsxRuntime.jsx("div",{className:"flex h-full w-14 flex-col items-center justify-center border-r hover:bg-background-hover transition-colors",children:jsxRuntime.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"})})})})}),jsxRuntime.jsxs("div",{className:"flex items-center gap-4 px-4",children:[e,o&&n&&jsxRuntime.jsx("button",{type:"button",onClick:n,className:"flex items-center justify-center w-8 h-8 rounded hover:bg-background-hover transition-colors","aria-label":a?"Switch to light mode":"Switch to dark mode",children:a?jsxRuntime.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"})}):jsxRuntime.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"})})}),i,r&&jsxRuntime.jsx("div",{className:"flex items-center",children:r})]})]})});function au({sideNav:e,topNav:t,children:r,contentPaddingX:o,contentPaddingY:n,showSidebarBorder:a=true,mainClassName:i,enableJsEnhancements:s=false}){let l="app-mobile-menu",c="app-sidebar-collapse";return jsxRuntime.jsxs("div",{className:"min-h-[100dvh] bg-background text-text-body relative",children:[jsxRuntime.jsx("input",{type:"checkbox",id:c,className:"sr-only peer/sidebar","aria-hidden":"true"}),jsxRuntime.jsx("a",{href:"#app-content",className:"sr-only focus:not-sr-only focus:absolute focus:left-4 focus:top-4 z-50 rounded px-3 py-2 bg-background-surface shadow",children:"Skip to content"}),jsxRuntime.jsx(bn,{...t,mobileMenuId:l,className:["sticky top-0 flex-shrink-0 z-30 md:hidden",t?.className].filter(Boolean).join(" ")}),jsxRuntime.jsxs("div",{className:"flex w-full h-[calc(100dvh-60px)] md:h-[100dvh] relative overflow-hidden",children:[jsxRuntime.jsx("input",{type:"checkbox",id:l,className:"sr-only peer/mobile","aria-hidden":"true"}),jsxRuntime.jsx("label",{htmlFor:l,className:"fixed inset-0 bg-black/50 z-40 opacity-0 pointer-events-none peer-checked/mobile:opacity-100 peer-checked/mobile:pointer-events-auto transition-opacity md:hidden","aria-label":"Close menu"}),jsxRuntime.jsx("aside",{id:"app-sidebar",className:["bg-background-surface","border-r border-border-default","transition-all duration-300 ease-in-out","fixed md:relative","left-0 top-0 bottom-0","z-50","w-80 md:w-64","h-[100dvh] md:h-full","-translate-x-full","peer-checked/mobile:translate-x-0","md:translate-x-0",a?"":"!border-r-0",e?.className||""].filter(Boolean).join(" "),children:jsxRuntime.jsx(ya,{...e,mobileMenuId:l,sidebarCollapseId:c,className:"h-full"})}),jsxRuntime.jsxs("div",{className:"flex-1 flex flex-col h-full overflow-hidden",children:[jsxRuntime.jsx("div",{className:"sticky top-0 flex-shrink-0 hidden md:block z-20",children:jsxRuntime.jsx(bn,{...t,className:t?.className})}),jsxRuntime.jsx("main",{id:"app-content",className:["flex-1 overflow-y-auto bg-background-body",o,n,i||""].join(" "),role:"main",children:r})]})]}),jsxRuntime.jsx("style",{dangerouslySetInnerHTML:{__html:`
3
3
  @media (min-width: 768px) {
4
4
  /* Collapse sidebar width */
5
5
  #${c}:checked ~ * #app-sidebar {
@@ -41,12 +41,12 @@
41
41
  display: none;
42
42
  }
43
43
  }
44
- `}}),l&&jsxRuntime.jsx("script",{dangerouslySetInnerHTML:{__html:`
44
+ `}}),s&&jsxRuntime.jsx("script",{dangerouslySetInnerHTML:{__html:`
45
45
  (function() {
46
46
  // Close mobile menu on Escape key
47
47
  document.addEventListener('keydown', function(e) {
48
48
  if (e.key === 'Escape') {
49
- var menuToggle = document.getElementById('${s}');
49
+ var menuToggle = document.getElementById('${l}');
50
50
  if (menuToggle) menuToggle.checked = false;
51
51
  }
52
52
  });
@@ -67,19 +67,19 @@
67
67
  }
68
68
 
69
69
  // Prevent body scroll when mobile menu is open
70
- var mobileToggle = document.getElementById('${s}');
70
+ var mobileToggle = document.getElementById('${l}');
71
71
  if (mobileToggle) {
72
72
  mobileToggle.addEventListener('change', function() {
73
73
  document.body.style.overflow = this.checked ? 'hidden' : '';
74
74
  });
75
75
  }
76
76
  })();
77
- `}})]})}var na={prefix:String(Math.round(Math.random()*1e10)),current:0},Ld=ir__namespace.default.createContext(na),ex=ir__namespace.default.createContext(false);var tx=!!(typeof window<"u"&&window.document&&window.document.createElement),gs=new WeakMap;function rx(e=false){let t=ir.useContext(Ld),r=ir.useRef(null);if(r.current===null&&!e){var o,n;let a=(n=ir__namespace.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||n===void 0||(o=n.ReactCurrentOwner)===null||o===void 0?void 0:o.current;if(a){let i=gs.get(a);i==null?gs.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==i.state&&(t.current=i.id,gs.delete(a));}r.current=++t.current;}return r.current}function ox(e){let t=ir.useContext(Ld);t===na&&!tx&&process.env.NODE_ENV!=="production"&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let r=rx(!!e),o=t===na&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${o}-${r}`}function nx(e){let t=ir__namespace.default.useId(),[r]=ir.useState(aa()),o=r||process.env.NODE_ENV==="test"?"react-aria":`react-aria${na.prefix}`;return e||`${o}-${t}`}typeof ir__namespace.default.useId=="function"?nx:ox;function ix(){return false}function sx(){return true}function lx(e){return ()=>{}}function aa(){return typeof ir__namespace.default.useSyncExternalStore=="function"?ir__namespace.default.useSyncExternalStore(lx,ix,sx):ir.useContext(ex)}function Fd(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function ia(e,t,r){Fd(e,t),t.set(e,r);}var cx=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),dx=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function xs(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize(),o=typeof r.getTextInfo=="function"?r.getTextInfo():r.textInfo;if(o)return o.direction==="rtl";if(r.script)return cx.has(r.script)}let t=e.split("-")[0];return dx.has(t)}var mx=Symbol.for("react-aria.i18n.locale");function Id(){let e=typeof window<"u"&&window[mx]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e]);}catch{e="en-US";}return {locale:e,direction:xs(e)?"rtl":"ltr"}}var hs=Id(),on=new Set;function Ed(){hs=Id();for(let e of on)e(hs);}function Bd(){let e=aa(),[t,r]=ir.useState(hs);return ir.useEffect(()=>(on.size===0&&window.addEventListener("languagechange",Ed),on.add(r),()=>{on.delete(r),on.size===0&&window.removeEventListener("languagechange",Ed);}),[]),e?{locale:"en-US",direction:"ltr"}:t}var bx=ir__namespace.default.createContext(null);function ys(){let e=Bd();return ir.useContext(bx)||e}function sa(e,t){return e-t*Math.floor(e/t)}var Vd=1721426;function la(e,t,r,o){t=da(e,t);let n=t-1,a=-2;return r<=2?a=0:ca(t)&&(a=-1),Vd-1+365*n+Math.floor(n/4)-Math.floor(n/100)+Math.floor(n/400)+Math.floor((367*r-362)/12+a+o)}function ca(e){return e%4===0&&(e%100!==0||e%400===0)}function da(e,t){return e==="BC"?1-t:t}function xx(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}var hx={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]},bt=class{fromJulianDay(t){let r=t,o=r-Vd,n=Math.floor(o/146097),a=sa(o,146097),i=Math.floor(a/36524),l=sa(a,36524),s=Math.floor(l/1461),c=sa(l,1461),p=Math.floor(c/365),d=n*400+i*100+s*4+p+(i!==4&&p!==4?1:0),[m,u]=xx(d),g=r-la(m,u,1,1),f=2;r<la(m,u,3,1)?f=0:ca(u)&&(f=1);let b=Math.floor(((g+f)*12+373)/367),x=r-la(m,u,b,1)+1;return new Ir(m,u,b,x)}toJulianDay(t){return la(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return hx[ca(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return ca(t.year)?366:365}getYearsInEra(t){return 9999}getEras(){return ["BC","AD"]}isInverseEra(t){return t.era==="BC"}balanceDate(t){t.year<=0&&(t.era=t.era==="BC"?"AD":"BC",t.year=1-t.year);}constructor(){this.identifier="gregory";}};function Cs(e,t){var r,o,n,a;return (a=(n=(r=e.isEqual)===null||r===void 0?void 0:r.call(e,t))!==null&&n!==void 0?n:(o=t.isEqual)===null||o===void 0?void 0:o.call(t,e))!==null&&a!==void 0?a:e.identifier===t.identifier}function Ss(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function Od(e,t){return zd(e)-zd(t)}function zd(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}var vs=null;function Br(){return vs==null&&(vs=new Intl.DateTimeFormat().resolvedOptions().timeZone),vs}function gr(e){e=nt(e,new bt);let t=da(e.era,e.year);return Wd(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function Wd(e,t,r,o,n,a,i){let l=new Date;return l.setUTCHours(o,n,a,i),l.setUTCFullYear(e,t-1,r),l.getTime()}function ws(e,t){if(t==="UTC")return 0;if(e>0&&t===Br())return new Date(e).getTimezoneOffset()*-6e4;let{year:r,month:o,day:n,hour:a,minute:i,second:l}=Ud(e,t);return Wd(r,o,n,a,i,l,0)-Math.floor(e/1e3)*1e3}var Hd=new Map;function Ud(e,t){let r=Hd.get(t);r||(r=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:false,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),Hd.set(t,r));let o=r.formatToParts(new Date(e)),n={};for(let a of o)a.type!=="literal"&&(n[a.type]=a.value);return {year:n.era==="BC"||n.era==="B"?-n.year+1:+n.year,month:+n.month,day:+n.day,hour:n.hour==="24"?0:+n.hour,minute:+n.minute,second:+n.second}}var Gd=864e5;function yx(e,t,r,o){return (r===o?[r]:[r,o]).filter(a=>vx(e,t,a))}function vx(e,t,r){let o=Ud(r,t);return e.year===o.year&&e.month===o.month&&e.day===o.day&&e.hour===o.hour&&e.minute===o.minute&&e.second===o.second}function wt(e,t,r="compatible"){let o=It(e);if(t==="UTC")return gr(o);if(t===Br()&&r==="compatible"){o=nt(o,new bt);let s=new Date,c=da(o.era,o.year);return s.setFullYear(c,o.month-1,o.day),s.setHours(o.hour,o.minute,o.second,o.millisecond),s.getTime()}let n=gr(o),a=ws(n-Gd,t),i=ws(n+Gd,t),l=yx(o,t,n-a,n-i);if(l.length===1)return l[0];if(l.length>1)switch(r){case "compatible":case "earlier":return l[0];case "later":return l[l.length-1];case "reject":throw new RangeError("Multiple possible absolute times found")}switch(r){case "earlier":return Math.min(n-a,n-i);case "compatible":case "later":return Math.max(n-a,n-i);case "reject":throw new RangeError("No such absolute time found")}}function Ns(e,t,r="compatible"){return new Date(wt(e,t,r))}function xt(e,t){let r=ws(e,t),o=new Date(e+r),n=o.getUTCFullYear(),a=o.getUTCMonth()+1,i=o.getUTCDate(),l=o.getUTCHours(),s=o.getUTCMinutes(),c=o.getUTCSeconds(),p=o.getUTCMilliseconds();return new So(n<1?"BC":"AD",n<1?-n+1:n,a,i,t,r,l,s,c,p)}function ua(e,t){return xt(e.getTime(),t)}function It(e,t){let r=0,o=0,n=0,a=0;if("timeZone"in e)({hour:r,minute:o,second:n,millisecond:a}=e);else if("hour"in e&&true)return e;return new nn(e.calendar,e.era,e.year,e.month,e.day,r,o,n,a)}function nt(e,t){if(Cs(e.calendar,t))return e;let r=t.fromJulianDay(e.calendar.toJulianDay(e)),o=e.copy();return o.calendar=t,o.era=r.era,o.year=r.year,o.month=r.month,o.day=r.day,_t(o),o}function ks(e,t,r){if(e instanceof So)return e.timeZone===t?e:Ts(e,t);let o=wt(e,t,r);return xt(o,t)}function Kd(e){let t=gr(e)-e.offset;return new Date(t)}function Ts(e,t){let r=gr(e)-e.offset;return nt(xt(r,t),e.calendar)}var an=36e5;function ln(e,t){let r=e.copy(),o="hour"in r?Nx(r,t):0;Ps(r,t.years||0),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,e),r.month+=t.months||0,Ds(r),Yd(r),r.day+=(t.weeks||0)*7,r.day+=t.days||0,r.day+=o,Sx(r),r.calendar.balanceDate&&r.calendar.balanceDate(r),r.year<1&&(r.year=1,r.month=1,r.day=1);let n=r.calendar.getYearsInEra(r);if(r.year>n){var a,i;let s=(a=(i=r.calendar).isInverseEra)===null||a===void 0?void 0:a.call(i,r);r.year=n,r.month=s?1:r.calendar.getMonthsInYear(r),r.day=s?1:r.calendar.getDaysInMonth(r);}r.month<1&&(r.month=1,r.day=1);let l=r.calendar.getMonthsInYear(r);return r.month>l&&(r.month=l,r.day=r.calendar.getDaysInMonth(r)),r.day=Math.max(1,Math.min(r.calendar.getDaysInMonth(r),r.day)),r}function Ps(e,t){var r,o;!((r=(o=e.calendar).isInverseEra)===null||r===void 0)&&r.call(o,e)&&(t=-t),e.year+=t;}function Ds(e){for(;e.month<1;)Ps(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,Ps(e,1);}function Sx(e){for(;e.day<1;)e.month--,Ds(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,Ds(e);}function Yd(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day));}function _t(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),Yd(e);}function Jd(e){let t={};for(let r in e)typeof e[r]=="number"&&(t[r]=-e[r]);return t}function Rs(e,t){return ln(e,Jd(t))}function ma(e,t){let r=e.copy();return t.era!=null&&(r.era=t.era),t.year!=null&&(r.year=t.year),t.month!=null&&(r.month=t.month),t.day!=null&&(r.day=t.day),_t(r),r}function sn(e,t){let r=e.copy();return t.hour!=null&&(r.hour=t.hour),t.minute!=null&&(r.minute=t.minute),t.second!=null&&(r.second=t.second),t.millisecond!=null&&(r.millisecond=t.millisecond),Zd(r),r}function wx(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=pa(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=pa(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=pa(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=pa(e.hour,24),t}function Zd(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23));}function pa(e,t){let r=e%t;return r<0&&(r+=t),r}function Nx(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,wx(e)}function fa(e,t,r,o){let n=e.copy();switch(t){case "era":{let l=e.calendar.getEras(),s=l.indexOf(e.era);if(s<0)throw new Error("Invalid era: "+e.era);s=er(s,r,0,l.length-1,o?.round),n.era=l[s],_t(n);break}case "year":var a,i;!((a=(i=n.calendar).isInverseEra)===null||a===void 0)&&a.call(i,n)&&(r=-r),n.year=er(e.year,r,-1/0,9999,o?.round),n.year===-1/0&&(n.year=1),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,e);break;case "month":n.month=er(e.month,r,1,e.calendar.getMonthsInYear(e),o?.round);break;case "day":n.day=er(e.day,r,1,e.calendar.getDaysInMonth(e),o?.round);break;default:throw new Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(n),_t(n),n}function As(e,t,r,o){let n=e.copy();switch(t){case "hour":{let a=e.hour,i=0,l=23;if(o?.hourCycle===12){let s=a>=12;i=s?12:0,l=s?23:11;}n.hour=er(a,r,i,l,o?.round);break}case "minute":n.minute=er(e.minute,r,0,59,o?.round);break;case "second":n.second=er(e.second,r,0,59,o?.round);break;case "millisecond":n.millisecond=er(e.millisecond,r,0,999,o?.round);break;default:throw new Error("Unsupported field "+t)}return n}function er(e,t,r,o,n=false){if(n){e+=Math.sign(t),e<r&&(e=o);let a=Math.abs(t);t>0?e=Math.ceil(e/a)*a:e=Math.floor(e/a)*a,e>o&&(e=r);}else e+=t,e<r?e=o-(r-e-1):e>o&&(e=r+(e-o-1));return e}function Ms(e,t){let r;if(t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.weeks!=null&&t.weeks!==0||t.days!=null&&t.days!==0){let n=ln(It(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});r=wt(n,e.timeZone);}else r=gr(e)-e.offset;r+=t.milliseconds||0,r+=(t.seconds||0)*1e3,r+=(t.minutes||0)*6e4,r+=(t.hours||0)*36e5;let o=xt(r,e.timeZone);return nt(o,e.calendar)}function Xd(e,t){return Ms(e,Jd(t))}function qd(e,t,r,o){switch(t){case "hour":{let n=0,a=23;if(o?.hourCycle===12){let g=e.hour>=12;n=g?12:0,a=g?23:11;}let i=It(e),l=nt(sn(i,{hour:n}),new bt),s=[wt(l,e.timeZone,"earlier"),wt(l,e.timeZone,"later")].filter(g=>xt(g,e.timeZone).day===l.day)[0],c=nt(sn(i,{hour:a}),new bt),p=[wt(c,e.timeZone,"earlier"),wt(c,e.timeZone,"later")].filter(g=>xt(g,e.timeZone).day===c.day).pop(),d=gr(e)-e.offset,m=Math.floor(d/an),u=d%an;return d=er(m,r,Math.floor(s/an),Math.floor(p/an),o?.round)*an+u,nt(xt(d,e.timeZone),e.calendar)}case "minute":case "second":case "millisecond":return As(e,t,r,o);case "era":case "year":case "month":case "day":{let n=fa(It(e),t,r,o),a=wt(n,e.timeZone);return nt(xt(a,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function jd(e,t,r){let o=It(e),n=sn(ma(o,t),t);if(n.compare(o)===0)return e;let a=wt(n,e.timeZone,r);return nt(xt(a,e.timeZone),e.calendar)}var kx=/^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})$/;function Fs(e){let t=e.match(kx);if(!t)throw new Error("Invalid ISO 8601 date string: "+e);let r=new Ir(Ls(t[1],0,9999),Ls(t[2],1,12),1);return r.day=Ls(t[3],1,r.calendar.getDaysInMonth(r)),r}function Ls(e,t,r){let o=Number(e);if(o<t||o>r)throw new RangeError(`Value out of range: ${t} <= ${o} <= ${r}`);return o}function Qd(e){return `${String(e.hour).padStart(2,"0")}:${String(e.minute).padStart(2,"0")}:${String(e.second).padStart(2,"0")}${e.millisecond?String(e.millisecond/1e3).slice(1):""}`}function Es(e){let t=nt(e,new bt),r;return t.era==="BC"?r=t.year===1?"0000":"-"+String(Math.abs(1-t.year)).padStart(6,"00"):r=String(t.year).padStart(4,"0"),`${r}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function Is(e){return `${Es(e)}T${Qd(e)}`}function Px(e){let t=Math.sign(e)<0?"-":"+";e=Math.abs(e);let r=Math.floor(e/36e5),o=Math.floor(e%36e5/6e4),n=Math.floor(e%36e5%6e4/1e3),a=`${t}${String(r).padStart(2,"0")}:${String(o).padStart(2,"0")}`;return n!==0&&(a+=`:${String(n).padStart(2,"0")}`),a}function $d(e){return `${Is(e)}${Px(e.offset)}[${e.timeZone}]`}function Bs(e){let t=typeof e[0]=="object"?e.shift():new bt,r;if(typeof e[0]=="string")r=e.shift();else {let i=t.getEras();r=i[i.length-1];}let o=e.shift(),n=e.shift(),a=e.shift();return [t,r,o,n,a]}var Dx=new WeakMap,Ir=class e{copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day):new e(this.calendar,this.year,this.month,this.day)}add(t){return ln(this,t)}subtract(t){return Rs(this,t)}set(t){return ma(this,t)}cycle(t,r,o){return fa(this,t,r,o)}toDate(t){return Ns(this,t)}toString(){return Es(this)}compare(t){return Ss(this,t)}constructor(...t){ia(this,Dx,{writable:true,value:void 0});let[r,o,n,a,i]=Bs(t);this.calendar=r,this.era=o,this.year=n,this.month=a,this.day=i,_t(this);}};var Rx=new WeakMap,nn=class e{copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new e(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return ln(this,t)}subtract(t){return Rs(this,t)}set(t){return ma(sn(this,t),t)}cycle(t,r,o){switch(t){case "era":case "year":case "month":case "day":return fa(this,t,r,o);default:return As(this,t,r,o)}}toDate(t,r){return Ns(this,t,r)}toString(){return Is(this)}compare(t){let r=Ss(this,t);return r===0?Od(this,It(t)):r}constructor(...t){ia(this,Rx,{writable:true,value:void 0});let[r,o,n,a,i]=Bs(t);this.calendar=r,this.era=o,this.year=n,this.month=a,this.day=i,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,_t(this);}},Ax=new WeakMap,So=class e{copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new e(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return Ms(this,t)}subtract(t){return Xd(this,t)}set(t,r){return jd(this,t,r)}cycle(t,r,o){return qd(this,t,r,o)}toDate(){return Kd(this)}toString(){return $d(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-ks(t,this.timeZone).toDate().getTime()}constructor(...t){ia(this,Ax,{writable:true,value:void 0});let[r,o,n,a,i]=Bs(t),l=t.shift(),s=t.shift();this.calendar=r,this.era=o,this.year=n,this.month=a,this.day=i,this.timeZone=l,this.offset=s,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,_t(this);}};var Vs=new Map;function zs(e){let{locale:t}=ys(),r=t+(e?Object.entries(e).sort((n,a)=>n[0]<a[0]?-1:1).join():"");if(Vs.has(r))return Vs.get(r);let o=new Intl.Collator(t,e);return Vs.set(r,o),o}function ga(e){let t=zs({usage:"search",...e}),r=ir.useCallback((a,i)=>i.length===0?true:(a=a.normalize("NFC"),i=i.normalize("NFC"),t.compare(a.slice(0,i.length),i)===0),[t]),o=ir.useCallback((a,i)=>i.length===0?true:(a=a.normalize("NFC"),i=i.normalize("NFC"),t.compare(a.slice(-i.length),i)===0),[t]),n=ir.useCallback((a,i)=>{if(i.length===0)return true;a=a.normalize("NFC"),i=i.normalize("NFC");let l=0,s=i.length;for(;l+s<=a.length;l++){let c=a.slice(l,l+s);if(t.compare(i,c)===0)return true}return false},[t]);return ir.useMemo(()=>({startsWith:r,endsWith:o,contains:n}),[r,o,n])}function Vt(){let[e,t]=ir__namespace.default.useState(false),r=ir__namespace.default.useCallback((n,a)=>{t(true),a?.(n);},[]),o=ir__namespace.default.useCallback((n,a)=>{t(false),a?.(n);},[]);return {isFocused:e,handleFocus:r,handleBlur:o}}function br({children:e,className:t}){return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("relative w-full",t),children:e})}function _d({onClick:e,size:t="md",className:r}){return jsxRuntime.jsx("button",{type:"button",onClick:o=>{o.preventDefault(),o.stopPropagation(),e();},className:tailwindMerge.twMerge("absolute right-2 top-1/2 -translate-y-1/2 transform text-text-muted hover:text-text-body",r),"aria-label":"Clear input",onMouseDown:o=>{o.preventDefault(),o.stopPropagation();},children:jsxRuntime.jsx(P,{name:"X",size:t==="sm"?16:20})})}function ba(e){let{isInvalid:t,isDisabled:r,isFocused:o}=e,n="border rounded-[var(--control-border-radius)] !outline-none ";return r?`${n} border-border-muted`:t&&o?`${n} border-feedback-error-border shadow-[inset_0_0_0_1px_var(--color-feedback-error-border)]`:t?`${n} border-feedback-error-border`:o?`${n} border-border-focus shadow-[inset_0_0_0_1px_var(--color-border-focus)]`:`${n} border-border-default`}function xa(e){return e.isDisabled?"bg-background-muted":e.transparent?"bg-transparent":"bg-background-input"}function Nt(e){let{isInvalid:t,isDisabled:r,isFocused:o,transparent:n,size:a="md",className:i}=e;return tailwindMerge.twMerge("w-full",ba({isInvalid:t,isDisabled:r,isFocused:o}),xa({transparent:n,isDisabled:r}),ue[a].text,ue[a].height,ue[a].padding,i)}function cn(e){let{size:t="md",isFocusWithin:r,isInvalid:o,isDisabled:n,transparent:a,className:i}=e;return tailwindMerge.twMerge("group flex items-center rounded-[var(--control-border-radius)] overflow-hidden",xa({transparent:a,isDisabled:n}),ue[t].height,ba({isFocused:r,isInvalid:o,isDisabled:n}),i)}function ve({children:e,size:t="md",tooltip:r,isRequired:o,className:n,htmlFor:a}){return jsxRuntime.jsxs("label",{htmlFor:a,className:tailwindMerge.twMerge(ue[t].text,"!text-text-caption flex items-center gap-1",n),children:[e,o&&jsxRuntime.jsx("span",{children:"*"}),r&&jsxRuntime.jsx("span",{className:"text-text-muted",children:jsxRuntime.jsx(P,{name:"Info",size:t==="sm"?16:20})})]})}function we({size:e="md",className:t,children:r,...o}){return jsxRuntime.jsx("div",{...o,className:tailwindMerge.twMerge("leading-[2.25] text-text-muted",ue[e].text,t),children:r})}function be({children:e,size:t="md",className:r}){return jsxRuntime.jsx("div",{role:"alert",className:tailwindMerge.twMerge(ue[t].text,"text-feedback-error-text",r),children:e})}function eu({size:e="md",isInvalid:t,isDisabled:r,isFocused:o,transparent:n,className:a,...i}){return jsxRuntime.jsx("input",{className:Nt({isInvalid:t,isDisabled:r,isFocused:o,transparent:n,size:e,className:a}),...i})}function ha(e){let{children:t,...r}=e;return jsxRuntime.jsx("div",{...r,className:cn(e),children:typeof t=="function"?t(e):t})}function Ex({children:e,...t}){return jsxRuntime.jsx(reactAriaComponents.ListBox,{...t,className:de(t.className,"outline-0"),children:e})}var iu=ir.createContext("md");function su(){return ir.useContext(iu)}function Gx(e="md"){return `flex-1 text-start data-[placeholder]:text-text-placeholder overflow-hidden text-ellipsis whitespace-nowrap ${ue[e].text}`}function Wx(){let e=ir__namespace.default.useCallback((r,o)=>{o?.(r);},[]),t=ir__namespace.default.useCallback((r,o)=>{o?.(r);},[]);return {handleFocus:e,handleBlur:t}}function zr({label:e,description:t,errorMessage:r,children:o,items:n,renderItem:a,size:i="md",selectedKey:l,defaultSelectedKey:s,onSelectionChange:c,placeholder:p,showErrors:d=false,tooltip:m,isRequired:u,transparent:g,placement:f="bottom start",shouldFlip:b=true,menuWidth:x="match",...y}){let[v,h]=ir.useState(null),[C,S]=ir.useState(null),w=l??v??s,{handleFocus:N,handleBlur:k}=Wx(),L=K=>{c&&K!==null&&c(K),c||h(K);},V=ir.useRef(null),H=ir.useRef(null);return jsxRuntime.jsx(reactAriaComponents.Select,{...y,selectedKey:w,defaultSelectedKey:s,onSelectionChange:L,placeholder:p,className:de(y.className,"group flex w-full flex-col"),ref:V,onOpenChange:K=>{K&&H.current?S(H.current.offsetWidth):K||V.current?.blur();},children:({isDisabled:K,isInvalid:B,isOpen:J})=>jsxRuntime.jsxs("div",{className:"flex flex-col",children:[e&&jsxRuntime.jsx(ve,{size:i,tooltip:m,isRequired:u,children:e}),jsxRuntime.jsx(br,{children:jsxRuntime.jsx("div",{ref:H,children:jsxRuntime.jsxs(q,{variant:"unstyled",className:tailwindMerge.twMerge(Nt({isInvalid:B||d&&!!r,isDisabled:K,isFocused:J,transparent:g,size:i}),"flex items-center text-start gap-4 cursor-pointer pl-[var(--control-padding-sm)]"),onFocus:j=>N(j,y.onFocus),onBlur:j=>k(j,y.onBlur),"data-open":J,children:[jsxRuntime.jsx(reactAriaComponents.SelectValue,{className:Gx(i)}),jsxRuntime.jsx(P,{name:"CaretDown","aria-hidden":true,className:tailwindMerge.twMerge("h-4 w-4 text-text-body group-disabled:text-gray-200 forced-colors:text-[ButtonText] transition-transform",J&&"rotate-180")})]})})}),t&&jsxRuntime.jsx(we,{size:i,className:"mt-3",children:t}),d&&jsxRuntime.jsx(be,{size:i,className:"mt-3 text-feedback-error-text",children:typeof r=="function"&&y.validationResult?r(y.validationResult):typeof r=="string"?r:null}),jsxRuntime.jsx(We,{className:"bg-background-input shadow-xl border border-border-input/20 backdrop-blur-sm rounded-[var(--control-border-radius)]",style:{width:x==="match"&&C?`${C}px`:void 0,minWidth:x==="auto"&&C?`${C}px`:void 0,maxWidth:x==="auto"?"min(600px, 90vw)":void 0},placement:f,shouldFlip:b,children:jsxRuntime.jsx(iu.Provider,{value:i,children:jsxRuntime.jsx(reactAriaComponents.ListBox,{items:n,className:"w-full max-h-[300px] overflow-auto bg-background-input p-0 outline-0",children:a&&n?j=>jsxRuntime.jsx(zt,{id:j.id,textValue:j.label,size:i,children:jsxRuntime.jsx("span",{className:"overflow-hidden text-ellipsis whitespace-nowrap min-w-0 flex-1",children:a(j)})},j.id):o})})})]})})}function zt({size:e,className:t,...r}){let o=su(),n=e??o;return jsxRuntime.jsx(reactAriaComponents.ListBoxItem,{...r,className:tailwindMerge.twMerge("flex cursor-default items-center gap-2 rounded-sm px-3 outline-none text-text-body data-[focused]:bg-background-hover data-[focus-visible]:ring-2 data-[focus-visible]:ring-action-default data-[focus-visible]:ring-inset data-[selected]:bg-background-selected data-[selected]:font-medium overflow-hidden",ue[n].paddingY,ue[n].text,t)})}var eh={sm:"h-4 w-4",md:"h-5 w-5",lg:"h-6 w-6",xl:"h-7 w-7"},th={sm:"pl-7",md:"pl-9",lg:"pl-10",xl:"pl-12"},lu={sm:"py-1",md:"py-2",lg:"py-3",xl:"py-4"};function rh(){let e=ir__namespace.default.useContext(reactAriaComponents.ComboBoxStateContext);return jsxRuntime.jsx(reactAriaComponents.Button,{slot:null,className:"clear-button","aria-label":"Clear",onPress:()=>e?.setSelectedKey(null),children:"\u2715"})}var Us=(e,t,r)=>{if(e==null||e==="")return "";let n=(r?r.flatMap(a=>a.items):t||[]).find(a=>a.id===e);return n?n.name:""};async function oh(e,t,r){try{let o=e.url.replace("{q}",t),n=new URLSearchParams;e.extraParams&&Object.entries(e.extraParams).forEach(([s,c])=>{n.append(s,c.toString());});let a=`${o}${n.toString()?"?"+n.toString():""}`,i=await fetch(a,{method:"GET",headers:e.headers,signal:r});if(!i.ok)throw new Error(`HTTP error! status: ${i.status}`);let l=await i.json();return {items:e.transformResponse(l)}}catch(o){console.error("Error in REST request:",o);let n=o instanceof Error?o.message:"Unknown error occurred";return {items:[],error:n}}}async function nh(e,t,r){try{let o=e.graphqlQuery.replace(`$${e.variableKey||"filter"}`,`"${t}"`),n=await fetch(e.url,{method:"POST",headers:{"Content-Type":"application/json",...e.headers},body:JSON.stringify({query:o}),signal:r});if(!n.ok)throw new Error(`HTTP error! status: ${n.status}`);let a=await n.json();if(a.errors)throw new Error(a.errors[0]?.message||"GraphQL error occurred");return e.responsePath&&(a=e.responsePath.split(".").reduce((i,l)=>i?.[l],a)),{items:e.transformResponse(a)}}catch(o){console.error("Error in GraphQL request:",o);let n=o instanceof Error?o.message:"Unknown error occurred";return {items:[],error:n}}}function ya({label:e,staticItems:t=[],sections:r,selectedKey:o,defaultSelectedKey:n,onSelectionChange:a,requestConfig:i,defaultFilter:l,placeholder:s,errorMessage:c,description:p,size:d="md",tooltip:m,isRequired:u,isDisabled:g,isInvalid:f,validationResult:b,showErrors:x=true,renderItem:y,renderLeftIcon:v,renderSection:h,autoFocus:C=false}){let S=ir__namespace.default.useRef(null),[w,N]=ir__namespace.default.useState(),[k,L]=ir.useState(()=>Us(o||n,t,r)),[V,H]=ir.useState(false),K=xo(k),{contains:B}=ga({sensitivity:"base"}),[J,j]=ir.useState(),$=ue[d].text,A=ue[d].height,M=null;ir.useEffect(()=>{C&&H(true);},[C]),ir.useEffect(()=>{let D=()=>{S.current&&N(S.current.offsetWidth);};return D(),window.addEventListener("resize",D),()=>window.removeEventListener("resize",D)},[]),ir.useEffect(()=>{M&&M.setFilterText(K);},[K,M]),i&&(M=reactStately.useAsyncList({async load({signal:D,filterText:E=""}){if(!i.url||i.shouldLoad&&!i.shouldLoad(E))return {items:[]};try{let W;return i.requestType==="GraphQL"?W=await nh(i,E,D):W=await oh(i,E,D),j(W.error),{items:W.items}}catch(W){return console.error("Error loading items:",W),j(W instanceof Error?W.message:"Unknown error occurred"),{items:[]}}},initialFilterText:""})),K===""&&(M=null);let z=D=>{let E=Us(D,t,r);L(E),a&&a(D);},X=D=>{L(D);let E=Us(o,t,r);o!=null&&D!==E&&a&&a(null);};return jsxRuntime.jsx(reactAriaComponents.ComboBox,{onSelectionChange:z,selectedKey:o||void 0,defaultSelectedKey:n||void 0,defaultItems:r?r.flatMap(D=>D.items):t,items:M?M.items:void 0,className:de("group flex flex-col","w-full"),menuTrigger:"focus",isDisabled:g,isInvalid:f||!!c,inputValue:k,onInputChange:X,autoFocus:C,defaultFilter:l||B,"aria-label":e||s||"Autocomplete",children:D=>jsxRuntime.jsxs("div",{className:"flex flex-col",children:[e&&jsxRuntime.jsx(ve,{size:d,tooltip:m,isRequired:u,children:e}),jsxRuntime.jsxs(reactAriaComponents.Group,{ref:S,className:cn({size:d,isInvalid:f||!!c,isDisabled:g,isFocusWithin:V||D.isOpen,className:"w-full cursor-pointer"}),"aria-label":e||s||"Autocomplete",style:{position:"relative"},children:[v?jsxRuntime.jsx("div",{className:"absolute left-3",children:v(!!M?.isLoading)}):jsxRuntime.jsx(P,{name:"MagnifyingGlass",className:`${eh[d]} absolute left-3 text-inherit`}),jsxRuntime.jsx(reactAriaComponents.Input,{className:`flex-1 min-w-0 border-none pr-3 outline-0 placeholder:text-text-placeholder ${th[d]} ${$} ${A} ${g?"bg-background-muted":"bg-background-input"}`,placeholder:s,disabled:g,onFocus:()=>H(true),onBlur:()=>H(false)}),k&&!g&&jsxRuntime.jsx(rh,{}),jsxRuntime.jsx(reactAriaComponents.Button,{className:`px-2 text-text-body ${$} ${A} ${g?"bg-background-muted":"bg-background-input"}`,"aria-label":"Toggle menu",isDisabled:g,children:({isPressed:E})=>jsxRuntime.jsx(P,{name:E?"CaretUp":"CaretDown",className:"h-4 w-4"})})]}),p&&jsxRuntime.jsx(we,{size:d,children:p}),x&&J&&jsxRuntime.jsx(be,{size:d,className:"text-feedback-error-text",children:J}),x&&typeof c=="string"&&jsxRuntime.jsx(be,{size:d,className:"text-feedback-error-text",children:c}),x&&typeof c=="function"&&b&&jsxRuntime.jsx(be,{size:d,className:"text-feedback-error-text",children:c(b)}),jsxRuntime.jsx(We,{className:"bg-background-input shadow-xl border border-border-input/20 backdrop-blur-sm ring-1 ring-black/5 rounded-[var(--control-border-radius)]",style:{minWidth:w?`${w}px`:void 0},children:jsxRuntime.jsx(reactAriaComponents.ListBox,{className:`max-h-[300px] overflow-auto bg-background-input outline-none ${$}`,children:r?r.map(E=>{let W=E.items.map(G=>jsxRuntime.jsx(zt,{id:G.id,textValue:G.name,size:d,className:`flex cursor-default items-center gap-2 px-3 ${lu[d]} text-text-body outline-none data-[focused]:bg-background-hover data-[selected]:bg-background-selected data-[selected]:font-medium`,children:y?y(G):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[G.name,jsxRuntime.jsx(P,{name:"X",className:"ml-auto h-4 w-4 text-text-muted opacity-0 data-[focused]:opacity-100 data-[selected]:opacity-100"})]})},G.id));return h?h(E,W):jsxRuntime.jsxs(reactAriaComponents.ListBoxSection,{children:[jsxRuntime.jsx(reactAriaComponents.Header,{className:"px-3 py-1 text-sm font-bold text-text-muted",children:E.name}),W]},E.name)}):E=>jsxRuntime.jsx(zt,{id:E.id,textValue:E.name,size:d,className:`flex cursor-default items-center gap-2 px-3 ${lu[d]} text-text-body outline-none data-[focused]:bg-background-hover data-[selected]:bg-background-selected data-[selected]:font-medium`,children:y?y(E):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[E.name,jsxRuntime.jsx(P,{name:"X",className:"ml-auto h-4 w-4 text-text-muted opacity-0 data-[focused]:opacity-100 data-[selected]:opacity-100"})]})},E.id)})})]})})}function un({src:e,alt:t,firstName:r,lastName:o,fullName:n,onClick:a,size:i="md",shape:l="circle",variant:s="user",className:c,status:p,bordered:d=false}){let m={xs:"h-6 w-6 text-xs",sm:"h-8 w-8 text-sm",md:"h-10 w-10 text-base",lg:"h-12 w-12 text-lg",xl:"h-16 w-16 text-xl"},u={xs:"h-1.5 w-1.5",sm:"h-2 w-2",md:"h-2.5 w-2.5",lg:"h-3 w-3",xl:"h-4 w-4"},g={xs:"bottom-0 right-0",sm:"bottom-0 right-0",md:"bottom-0 right-0",lg:"bottom-0.5 right-0.5",xl:"bottom-1 right-1"},f={online:"bg-feedback-success-background border-feedback-success-border",offline:"bg-text-muted border-border-muted",away:"bg-feedback-warning-background border-feedback-warning-border",busy:"bg-feedback-error-background border-feedback-error-border"},b={user:"bg-action-brand/10 text-action-brand",team:"bg-feedback-info-background text-feedback-info-text",organization:"bg-feedback-success-background text-feedback-success-text"},x=l==="circle"?"rounded-full":"rounded-md",y=tailwindMerge.twMerge("relative inline-flex items-center justify-center overflow-hidden transition-opacity outline-none",m[i],x,a&&"cursor-pointer hover:opacity-80",d&&"ring-2 ring-background-surface",c),h=(()=>{if(r||o){let w=r?.[0]||"",N=o?.[0]||"";return (w+N).toUpperCase()}if(n){let w=n.split(" "),N=w[0]?.[0]||"",k=w[w.length-1]?.[0]||"";return N===k?N.toUpperCase():(N+k).toUpperCase()}return ""})(),C=()=>{let w={xs:14,sm:16,md:20,lg:24,xl:32}[i];switch(s){case "team":return jsxRuntime.jsx(lucideReact.Users,{size:w});case "organization":return jsxRuntime.jsx(lucideReact.Building2,{size:w});default:return jsxRuntime.jsx(lucideReact.User,{size:w})}},S=()=>e?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("img",{src:e,alt:t||n||"Avatar",className:"h-full w-full object-cover",style:{fontSize:0}}),jsxRuntime.jsx("div",{className:"absolute inset-0 flex items-center justify-center -z-10",children:h?jsxRuntime.jsx("span",{className:"font-semibold",children:h}):C()})]}):h?jsxRuntime.jsx("span",{className:"font-semibold",children:h}):C();return jsxRuntime.jsxs("div",{className:"relative inline-block",children:[jsxRuntime.jsx("div",{className:tailwindMerge.twMerge(y,e?"":b[s]),onClick:a,role:a?"button":void 0,tabIndex:a?0:void 0,children:S()}),p&&jsxRuntime.jsx("span",{className:tailwindMerge.twMerge("absolute border-2 border-background-surface",x,u[i],g[i],f[p]),"aria-label":`Status: ${p}`})]})}var ch={default:"bg-feedback-info-background text-feedback-info-text",success:"bg-feedback-success-background text-feedback-success-text",error:"bg-feedback-error-background text-feedback-error-text",warning:"bg-feedback-warning-background text-feedback-warning-text",info:"bg-feedback-info-background text-feedback-info-text",primary:"bg-action-brand/10 text-action-brand",secondary:"bg-action-default/10 text-action-default",neutral:"bg-background-muted text-text-muted",charging:"bg-state-charging text-state-charging-text",discharging:"bg-state-discharging text-state-discharging-text",heat:"bg-state-heat text-state-heat-text",cool:"bg-state-cool text-state-cool-text",eco:"bg-state-eco text-state-eco-text",auto:"bg-state-auto text-state-auto-text",on:"bg-state-on text-state-on-text",off:"bg-state-off text-state-off-text",idle:"bg-state-idle text-state-idle-text",unknown:"bg-state-unknown text-state-unknown-text",importing:"bg-state-importing text-state-importing-text",exporting:"bg-state-exporting text-state-exporting-text"},dh={sm:"px-2.5 py-1.5 text-xs",md:"px-3.5 py-2 text-sm",lg:"px-4 py-2.5 text-base"},uh={pill:"rounded-full",rounded:"rounded-lg",square:"rounded-sm"},ph={sm:"w-1.5 h-1.5",md:"w-2 h-2",lg:"w-2.5 h-2.5"};function Ee({children:e,variant:t="default",size:r="sm",shape:o="square",dot:n=false,dotPosition:a="left",dotPulse:i=false,className:l}){let s=n&&jsxRuntime.jsx("span",{className:tailwindMerge.twMerge("rounded-full bg-current opacity-75",ph[r],i&&"animate-pulse"),"aria-hidden":"true"});return jsxRuntime.jsxs("span",{className:tailwindMerge.twMerge("inline-flex items-center gap-1.5 font-medium",dh[r],uh[o],ch[t],l),children:[n&&a==="left"&&s,e,n&&a==="right"&&s]})}var kt=({href:e,children:t,className:r="",external:o=false,title:n,variant:a="default",onClick:i,asButton:l=false,onPress:s,showArrow:c=false})=>{let p=o?{target:"_blank",rel:"noopener noreferrer"}:{},u=`hover:underline hover:decoration-1 hover:underline-offset-4 hover:decoration-current cursor-pointer ${{default:"text-action-primary hover:text-action-primary-hover visited:text-action-primary",brand:"text-action-brand hover:text-action-brand-hover visited:text-action-brand",muted:"text-text-muted hover:text-text-muted visited:text-text-muted",unstyled:""}[a]} ${r}`,g=jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[t,c&&jsxRuntime.jsxs("span",{children:["\xA0","\u2192"]})]});return l?jsxRuntime.jsx("button",{type:"button",className:u,onClick:s,title:n,children:g}):jsxRuntime.jsx("a",{href:e||"#",className:u,...p,title:n,onClick:i,children:g})};function va(e){let{children:t,maxWidth:r=600,className:o,...n}=e,{ref:a,width:i}=mc(),[l,s]=ir__namespace.default.useState(false),[c,p]=ir__namespace.default.useState(false),d=ir__namespace.default.useRef(false),m=ir__namespace.default.useMemo(()=>t&&!e.items&&typeof t!="function"?ir__namespace.default.Children.toArray(t):null,[t,e.items]);if(ir__namespace.default.useEffect(()=>{m&&m.length>=4&&i>0&&!d.current?(d.current=true,s(i>r),p(true)):(!m||m&&m.length<4)&&p(true);let u=setTimeout(()=>{c||p(true);},100);return ()=>clearTimeout(u)},[i,r,m,c]),m&&l&&m.length>=4){let u=m[0],g=m.slice(1,-2),f=m.slice(-2),b=g.map(x=>{if(ir__namespace.default.isValidElement(x)){let y=x.props;if(typeof y.children=="string")return {label:y.children,href:y.href}}return {label:"..."}});return jsxRuntime.jsxs(reactAriaComponents.Breadcrumbs,{...n,ref:a,className:tailwindMerge.twMerge("flex gap-2",c?"opacity-100":"opacity-0",o),children:[u,jsxRuntime.jsx(bh,{items:b}),f]})}return jsxRuntime.jsx(reactAriaComponents.Breadcrumbs,{...n,ref:a,className:tailwindMerge.twMerge("flex gap-2",c?"opacity-100":"opacity-0",o),children:t})}function bh({items:e}){let t=e.map((r,o)=>({id:`breadcrumb-${o}`,name:r.label,href:r.href}));return jsxRuntime.jsx(reactAriaComponents.Breadcrumb,{className:"flex items-center gap-2",children:jsxRuntime.jsxs("span",{className:"flex items-center gap-2",children:[jsxRuntime.jsx(Xn,{items:t,align:"left",size:"sm",children:jsxRuntime.jsx(q,{variant:"icon",size:"sm",icon:"DotsThree","aria-label":"Show hidden breadcrumbs",className:"px-0.5"})}),jsxRuntime.jsx(lucideReact.ChevronRight,{className:"h-4 w-4 text-text-muted"})]})})}function Ca(e){let{className:t,children:r,href:o,...n}=e;return jsxRuntime.jsx(reactAriaComponents.Breadcrumb,{className:de(t,"flex items-center gap-2"),...n,children:a=>{let i=a.isCurrent;return jsxRuntime.jsx(jsxRuntime.Fragment,{children:i?jsxRuntime.jsx("span",{className:"font-semibold text-text-body",children:typeof r=="function"?r(a):r}):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(kt,{variant:"muted",href:o,children:typeof r=="function"?r(a):r}),jsxRuntime.jsx(lucideReact.ChevronRight,{className:"h-4 w-4 text-text-muted"})]})})}})}function Th({isSelected:e,isDisabled:t}){let r=[Se,"w-9 h-9 text-base cursor-default rounded-full flex items-center justify-center forced-color-adjust-none"];return t?r.push("text-gray-300 dark:text-zinc-600 forced-colors:text-[GrayText]"):e?r.push("bg-blue-600 invalid:bg-red-600 text-white forced-colors:bg-[Highlight] forced-colors:invalid:bg-[Mark] forced-colors:text-[HighlightText]"):r.push("text-zinc-900 dark:text-zinc-200 hover:bg-gray-100 dark:hover:bg-zinc-700 pressed:bg-gray-200 dark:pressed:bg-zinc-600"),r.join(" ")}function wo({errorMessage:e,...t}){return jsxRuntime.jsxs(reactAriaComponents.Calendar,{...t,children:[jsxRuntime.jsx(Sa,{}),jsxRuntime.jsxs(reactAriaComponents.CalendarGrid,{className:"border-separate [border-spacing:0] [&_td]:p-0 [&_td]:!border-0",children:[jsxRuntime.jsx(wa,{}),jsxRuntime.jsx(reactAriaComponents.CalendarGridBody,{children:r=>jsxRuntime.jsx(reactAriaComponents.CalendarCell,{date:r,className:({isSelected:o,isDisabled:n})=>`${Th({isSelected:o,isDisabled:n})} border-0`})})]}),e&&jsxRuntime.jsx(reactAriaComponents.Text,{slot:"errorMessage",className:"text-sm text-red-600",children:e})]})}function Sa(){let{direction:e}=reactAriaComponents.useLocale(),t=18;return jsxRuntime.jsxs("header",{className:"flex w-full items-center gap-1 px-1 pb-4",children:[jsxRuntime.jsx(q,{variant:"icon",slot:"previous",className:"pl-0",children:e==="rtl"?jsxRuntime.jsx(P,{name:"CaretRight","aria-hidden":true,size:t}):jsxRuntime.jsx(P,{name:"CaretLeft","aria-hidden":true,size:t})}),jsxRuntime.jsx(reactAriaComponents.Heading,{className:"text-md mx-2 flex-1 text-center font-semibold text-zinc-900 dark:text-zinc-200"}),jsxRuntime.jsx(q,{variant:"icon",slot:"next",className:"pr-0",children:e==="rtl"?jsxRuntime.jsx(P,{name:"CaretLeft","aria-hidden":true,size:t}):jsxRuntime.jsx(P,{name:"CaretRight","aria-hidden":true,size:t})})]})}function wa(){return jsxRuntime.jsx(reactAriaComponents.CalendarGridHeader,{children:e=>jsxRuntime.jsx(reactAriaComponents.CalendarHeaderCell,{className:"text-xs font-semibold text-text-caption",children:e})})}function Xs(e){return jsxRuntime.jsxs(reactAriaComponents.CheckboxGroup,{...e,className:de(e.className,"flex flex-col gap-2"),children:[jsxRuntime.jsx(ve,{children:e.label}),e.children,e.description&&jsxRuntime.jsx(we,{children:e.description}),jsxRuntime.jsx(be,{children:typeof e.errorMessage=="function"?void 0:e.errorMessage})]})}function Lh({isDisabled:e}){return `flex gap-2 items-center group text-sm transition ${e?"text-text-disabled":"text-text-caption"}`}function Fh({isSelected:e,isInvalid:t,isDisabled:r,isIndeterminate:o,variant:n="default"}){let a="w-5 h-5 flex-shrink-0 rounded-[var(--control-border-radius)] flex items-center justify-center border-2 transition ring-offset-2 focus:ring-2",i=n==="brand"?"focus:ring-action-brand":"focus:ring-action-default",l="";if(r)l="border-border-muted bg-background-muted";else if(t)l="border-feedback-error-border bg-feedback-error-background";else if(e||o){let s=n==="brand"?"action-brand":"action-default";l=`bg-${s} border-${s} hover:bg-${s}-hover hover:border-${s}-hover`;}else l="bg-background-input border-border-input hover:border-border-focus";return `${a} ${i} ${l}`}var vu="w-4 h-4 text-text-onPrimary group-disabled:text-text-disabled";function Gr(e){let{children:t,variant:r="default",...o}=e;return jsxRuntime.jsx(reactAriaComponents.Checkbox,{...o,className:reactAriaComponents.composeRenderProps(e.className,(n,a)=>`${Lh(a)} ${n||""}`),children:n=>{let{isSelected:a,isIndeterminate:i,...l}=n,s=jsxRuntime.jsx("div",{className:Fh({isSelected:a,isIndeterminate:i,variant:r,...l}),children:i?jsxRuntime.jsx(lucideReact.Minus,{"aria-hidden":true,className:vu}):a?jsxRuntime.jsx(lucideReact.Check,{"aria-hidden":true,className:vu}):null});return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[s,typeof t=="function"?t(n):t]})}})}var Bh={default:"bg-background-muted text-action-default border border-border-muted hover:bg-background-hover",brand:"bg-action-brand/10 text-action-brand border border-action-brand/20 hover:bg-action-brand/15",secondary:"bg-background-input text-text-body border border-border-input hover:bg-background-hover"},Vh={sm:"px-2 py-1 gap-1",md:"px-3 py-1.5 gap-1.5",lg:"px-3 py-2 gap-2",xl:"px-4 py-2.5 gap-2"},zh="opacity-75 cursor-not-allowed pointer-events-none";function Su(e){let{variant:t,size:r,isDisabled:o,isClickable:n,className:a}=e;return tailwindMerge.twMerge("inline-flex items-center justify-center rounded-full font-medium transition-colors","whitespace-nowrap select-none",Vh[r],ue[r].text,Bh[t],n&&!o&&"cursor-pointer",o&&zh,a)}function xr({children:e,onRemove:t,size:r="md",variant:o="default",isRemovable:n=true,isDisabled:a=false,className:i,onClick:l}){let s=!!l&&!a,c=n&&t&&!a,p=u=>{u.stopPropagation(),u.preventDefault(),t&&!a&&t();},d=()=>{l&&!a&&l();},m=jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("span",{className:"truncate",children:e}),c&&jsxRuntime.jsx("button",{type:"button",onClick:p,className:"flex-shrink-0 rounded-full p-0.5 hover:bg-black/10 transition-colors cursor-pointer","aria-label":"Remove",tabIndex:-1,children:jsxRuntime.jsx(P,{name:"X",size:r==="sm"?12:r==="md"?14:16,className:"text-current opacity-70 hover:opacity-100"})})]});return s?jsxRuntime.jsx("button",{type:"button",onClick:d,className:Su({variant:o,size:r,isDisabled:a,isClickable:s,className:i}),disabled:a,children:m}):jsxRuntime.jsx("span",{className:Su({variant:o,size:r,isDisabled:a,isClickable:s,className:i}),children:m})}var Jh={json:()=>import('ace-builds/src-noconflict/mode-json'),javascript:()=>import('ace-builds/src-noconflict/mode-javascript'),typescript:()=>import('ace-builds/src-noconflict/mode-typescript'),html:()=>import('ace-builds/src-noconflict/mode-html'),css:()=>import('ace-builds/src-noconflict/mode-css'),markdown:()=>import('ace-builds/src-noconflict/mode-markdown'),yaml:()=>import('ace-builds/src-noconflict/mode-yaml'),xml:()=>import('ace-builds/src-noconflict/mode-xml'),python:()=>import('ace-builds/src-noconflict/mode-python'),sql:()=>import('ace-builds/src-noconflict/mode-sql')},Zh={github:()=>import('ace-builds/src-noconflict/theme-github'),github_dark:()=>import('ace-builds/src-noconflict/theme-github_dark')},Xh={"ext-language-tools":()=>import('ace-builds/src-noconflict/ext-language_tools')},mn=new Set;async function qs(e,t){mn.has(e)||(await t(),mn.add(e));}async function qh(e,t,r){await Promise.all([qs(`language:${e}`,Jh[e]),qs(`theme:${t}`,Zh[t]),r?qs("extension:language-tools",Xh["ext-language-tools"]):void 0]);}function Nu(e,t,r){let o=mn.has(`language:${e}`)&&mn.has(`theme:${t}`);return r?o&&mn.has("extension:language-tools"):o}function ku({value:e,readOnly:t=false,onChange:r,language:o="json",theme:n="github_dark",height:a,width:i="100%",className:l,lineHeight:s=19,minLines:c=3,maxLines:p=50,showLineNumbers:d=true,showGutter:m=true,fontSize:u=14,wrapEnabled:g=false}){let f=ir.useRef(null),[b,x]=ir.useState(()=>Nu(o,n,!t)),y=ir.useMemo(()=>{if(a)return a;let v=(e.match(/\n/g)||[]).length+1;return `${Math.max(c,Math.min(v,p))*s+10}px`},[e,a,s,c,p]);return ir.useEffect(()=>{let v=false,h=!t;return Nu(o,n,h)?(x(true),()=>{v=true;}):(x(false),qh(o,n,h).then(()=>{v||x(true);}).catch(C=>{v||x(true),console.error("Failed to load Ace editor resources",C);}),()=>{v=true;})},[o,t,n]),ir.useEffect(()=>{b&&f.current?.editor&&f.current.editor.resize();},[y,b]),jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("overflow-hidden rounded-md border border-border-input",l),style:{width:i,height:y},children:b?jsxRuntime.jsx(Kh__default.default,{ref:f,mode:o,theme:n,value:e,onChange:r,readOnly:t,width:"100%",height:"100%",fontSize:u,showPrintMargin:false,showGutter:m,highlightActiveLine:!t,setOptions:{useWorker:true,showLineNumbers:d,tabSize:2,enableBasicAutocompletion:!t,enableLiveAutocompletion:!t,enableSnippets:!t,showFoldWidgets:true,wrap:g},editorProps:{$blockScrolling:true}}):jsxRuntime.jsx("div",{className:"flex h-full w-full items-center justify-center bg-surface-muted text-foreground-muted",children:"Loading editor\u2026"})})}var Pu=ir__namespace.createContext({variant:"contained",density:"comfortable",showDividers:true}),Du=ir__namespace.createContext(null),ey={contained:"rounded-lg border border-border-default bg-background-surface overflow-hidden",bordered:"rounded-lg border border-border-default bg-background-surface",plain:"bg-transparent"},Tu={true:"divide-y divide-border-default",false:"gap-3"},ty={comfortable:"px-5 py-3",compact:"px-4 py-2.5"},ry={comfortable:"px-5 pt-0",compact:"px-4 pt-0"},oy={comfortable:"h-5 w-5",compact:"h-4 w-4"};function _s(){return ir__namespace.useContext(Pu)}function ny(e){let t=ir__namespace.useContext(Du);if(!t)throw new Error(`${e} must be used within a <CollapseItem>`);return t}function ay({variant:e,showDividers:t,className:r}){let o="group/collapse-item w-full transition-colors",n={contained:"bg-background-surface",bordered:"bg-background-surface",plain:"bg-transparent"},a=t?"":"rounded-lg border border-border-default bg-background-surface overflow-hidden";return tailwindMerge.twMerge(o,n[e],a,r)}function iy({isDisabled:e,isPressed:t,density:r,variant:o,showDividers:n,className:a}){let i="group/collapse-header flex w-full items-start gap-4 text-left transition-colors duration-150",l=e?"cursor-not-allowed text-text-disabled":"cursor-pointer text-text-body",s=t&&!e?"bg-background-hover":"",c=ty[r];return tailwindMerge.twMerge(i,Se(),c,l,s,o==="plain"&&n?"px-0":"",a)}function sy({density:e,showDividers:t,className:r}){let o="text-text-body",n=ry[e];return tailwindMerge.twMerge(o,n,t?"":"rounded-b-lg",r)}function Ru({variant:e="contained",density:t="comfortable",showDividers:r=true,className:o,...n}){let a=ir__namespace.useMemo(()=>({variant:e,density:t,showDividers:r}),[e,t,r]),i=tailwindMerge.twMerge("flex w-full flex-col",ey[e],r?Tu.true:Tu.false,e==="plain"&&r?"border-y border-border-default/60":"");return jsxRuntime.jsx(Pu.Provider,{value:a,children:jsxRuntime.jsx(reactAriaComponents.DisclosureGroup,{...n,className:de(o,i)})})}function el({className:e,children:t,...r}){let{variant:o,showDividers:n}=_s();return jsxRuntime.jsx(reactAriaComponents.Disclosure,{...r,className:reactAriaComponents.composeRenderProps(e,a=>ay({variant:o,showDividers:n,className:a})),children:a=>jsxRuntime.jsx(Du.Provider,{value:a,children:t})})}el.displayName="CollapseItem";function tl({title:e,description:t,startContent:r,endContent:o,indicator:n,indicatorPosition:a="end",showIndicator:i=true,keepIndicatorSpace:l=false,children:s,className:c,...p}){let d=ny("CollapseHeader"),{density:m,variant:u,showDividers:g}=_s(),f=oy[m];return jsxRuntime.jsx(reactAriaComponents.Button,{...p,slot:"trigger","data-expanded":d.isExpanded?"true":void 0,className:reactAriaComponents.composeRenderProps(c,(b,x)=>iy({isDisabled:x.isDisabled??false,isPressed:x.isPressed??false,density:m,variant:u,showDividers:g,className:b})),children:b=>{let x=b.isDisabled??false,y=i?typeof n=="function"?n({isExpanded:d.isExpanded,isDisabled:x}):n??jsxRuntime.jsx(P,{name:"CaretDown",size:m==="compact"?"sm":"md",weight:"bold","aria-hidden":"true",className:tailwindMerge.twMerge("text-text-muted transition-transform duration-200",d.isExpanded?"rotate-180":"rotate-0")}):null,v=y?jsxRuntime.jsx("span",{className:tailwindMerge.twMerge("flex flex-shrink-0 items-center justify-center text-text-muted",f),"aria-hidden":"true",children:y}):l?jsxRuntime.jsx("span",{className:tailwindMerge.twMerge("flex flex-shrink-0 items-center justify-center",f),"aria-hidden":"true"}):null;return jsxRuntime.jsxs("div",{className:"flex w-full items-center gap-4",children:[a==="start"&&v,r&&jsxRuntime.jsx("div",{className:"flex flex-shrink-0 items-center text-text-muted",children:r}),jsxRuntime.jsxs("div",{className:"flex min-w-0 flex-1 items-start gap-3",children:[s??jsxRuntime.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-1 text-left",children:[e&&jsxRuntime.jsx("span",{className:"truncate font-medium text-text-heading",children:e}),t&&jsxRuntime.jsx("span",{className:"text-sm text-text-muted",children:t})]}),o&&jsxRuntime.jsx("div",{className:"flex flex-shrink-0 items-center text-sm text-text-muted",children:o})]}),a==="end"&&v]})}})}tl.displayName="CollapseHeader";function rl({className:e,children:t,...r}){let{density:o,showDividers:n}=_s();return jsxRuntime.jsx(reactAriaComponents.DisclosurePanel,{...r,className:reactAriaComponents.composeRenderProps(e,a=>sy({density:o,showDividers:n,className:a})),children:t})}rl.displayName="CollapseContent";function Mu({isOpen:e,onClose:t,onConfirm:r,title:o,message:n,confirmLabel:a="Confirm",cancelLabel:i="Cancel",confirmVariant:l,isDestructive:s=false,isLoading:c=false,maxWidth:p="500px",minWidth:d="400px"}){return jsxRuntime.jsx(fr,{isOpen:e,onClose:t,title:o,maxWidth:p,minWidth:d,primaryAction:{label:a,onPress:()=>{r();},variant:l??(s?"destructive":"primary"),isLoading:c},secondaryAction:{label:i,onPress:t,variant:"secondary",isDisabled:c},children:jsxRuntime.jsx("div",{className:"text-text-body",children:n})})}function Lu({isConnected:e,connectedAt:t,disconnectedAt:r,showTimestamp:o=false,isLoading:n,size:a="sm",shape:i="pill",...l}){if(n)return jsxRuntime.jsx(F,{className:"inline-flex h-6 w-24"});let s=e?"Connected":"Disconnected",c=e?"success":"neutral",p=null;if(o){if(e&&t)p=Un(t);else if(!e&&r){let d=Un(r);p=d?`Offline ${d}`:null;}}return jsxRuntime.jsxs("div",{className:"inline-flex flex-col gap-1",children:[jsxRuntime.jsx(Ee,{variant:c,size:a,shape:i,dot:e,dotPulse:e,...l,children:s}),p&&jsxRuntime.jsx("span",{className:"text-xs text-text-muted",children:p})]})}function Na({firstName:e,lastName:t,email:r,avatarUrl:o,layout:n="stacked",size:a="md",href:i,LinkComponent:l,linkVariant:s="unstyled",emphasis:c="normal",showEmail:p=false,isLoading:d=false,className:m}){let g={xs:{avatarSize:"xs",gap:"gap-1.5",textSize:"text-xs",secondaryTextSize:"text-xs",skeletonAvatar:24,skeletonText:80,skeletonSecondary:60},sm:{avatarSize:"sm",gap:"gap-2",textSize:"text-sm",secondaryTextSize:"text-xs",skeletonAvatar:32,skeletonText:96,skeletonSecondary:72},md:{avatarSize:"md",gap:"gap-3",textSize:"text-base",secondaryTextSize:"text-sm",skeletonAvatar:40,skeletonText:128,skeletonSecondary:96},lg:{avatarSize:"lg",gap:"gap-3",textSize:"text-lg",secondaryTextSize:"text-base",skeletonAvatar:48,skeletonText:160,skeletonSecondary:120}}[a],f=`${e} ${t}`.trim(),x={strong:"font-semibold text-text-body",high:"font-semibold text-text-body",normal:"text-text-body",low:"text-text-muted"}[c],y=({children:v,className:h})=>i?l?jsxRuntime.jsx(l,{href:i,className:h,children:v}):jsxRuntime.jsx(kt,{href:i,variant:s,className:tailwindMerge.twMerge("hover:underline",h),asButton:false,children:v}):jsxRuntime.jsx("span",{className:h,children:v});return d?n==="inline"?jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("flex items-center",g.gap,m),children:[jsxRuntime.jsx(F,{width:g.skeletonAvatar,height:g.skeletonAvatar,className:"flex-shrink-0 rounded-full"}),jsxRuntime.jsx(F,{width:g.skeletonText,height:g.skeletonAvatar*.5})]}):jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("flex items-center",g.gap,m),children:[jsxRuntime.jsx(F,{width:g.skeletonAvatar,height:g.skeletonAvatar,className:"flex-shrink-0 rounded-full"}),jsxRuntime.jsxs("div",{className:"flex flex-col gap-1",children:[jsxRuntime.jsx(F,{width:g.skeletonText,height:16}),p&&jsxRuntime.jsx(F,{width:g.skeletonSecondary,height:12})]})]}):n==="inline"?jsxRuntime.jsxs(y,{className:tailwindMerge.twMerge("flex items-center",g.gap,i&&"hover:bg-background-hover transition-colors",m),children:[jsxRuntime.jsx(un,{firstName:e,lastName:t,src:o,size:g.avatarSize,variant:"user",shape:"circle",className:"flex-shrink-0"}),jsxRuntime.jsx("span",{className:tailwindMerge.twMerge("leading-normal truncate hover:text-text-body",x,g.textSize,i&&"hover:underline hover:decoration-1 hover:underline-offset-4"),children:f})]}):jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("flex items-center justify-start",g.gap,m),children:[jsxRuntime.jsx(un,{firstName:e,lastName:t,src:o,size:g.avatarSize,variant:"user",shape:"square",className:"flex-shrink-0"}),jsxRuntime.jsxs("div",{className:"flex flex-col items-start min-w-0",children:[jsxRuntime.jsx(y,{className:tailwindMerge.twMerge("leading-normal truncate hover:text-text-body",x,g.textSize,i&&"hover:underline hover:decoration-1 hover:underline-offset-4"),children:f}),p&&r&&jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("text-text-caption leading-normal truncate",g.secondaryTextSize),children:r})]})]})}var my=({isEntering:e,isExiting:t,className:r})=>["max-w-[200px] group bg-slate-700 dark:bg-slate-600 border border-slate-800 dark:border-white/10 shadow-[inset_0_1px_0_0_theme(colors.gray.600)] dark:shadow-none text-white text-sm rounded-lg drop-shadow-lg will-change-transform px-3 py-1",e?"animate-in fade-in placement-bottom:slide-in-from-top-0.5 placement-top:slide-in-from-bottom-0.5 placement-left:slide-in-from-right-0.5 placement-right:slide-in-from-left-0.5 ease-out duration-200":"",t?"animate-out fade-out placement-bottom:slide-out-to-top-0.5 placement-top:slide-out-to-bottom-0.5 placement-left:slide-out-to-right-0.5 placement-right:slide-out-to-left-0.5 ease-in duration-150":"",r].filter(Boolean).join(" ");function fn({children:e,content:t,...r}){return jsxRuntime.jsxs(reactAriaComponents.TooltipTrigger,{delay:200,children:[e,jsxRuntime.jsxs(reactAriaComponents.Tooltip,{...r,offset:10,className:reactAriaComponents.composeRenderProps(r.className,(o,n)=>my({...n,className:o})),children:[jsxRuntime.jsx(reactAriaComponents.OverlayArrow,{children:jsxRuntime.jsx("svg",{width:8,height:8,viewBox:"0 0 8 8",className:"fill-slate-700 stroke-gray-800 group-placement-left:-rotate-90 group-placement-right:rotate-90 group-placement-bottom:rotate-180 dark:fill-slate-600 dark:stroke-white/10 forced-colors:fill-[Canvas] forced-colors:stroke-[ButtonBorder]",children:jsxRuntime.jsx("path",{d:"M0 0 L4 4 L8 0"})})}),t]})]})}function ka({value:e,children:t,className:r,size:o="sm"}){let[n,a]=ir.useState(false),s=jsxRuntime.jsx(q,{variant:"icon",size:o,onPress:()=>{let c=e||(typeof t=="string"?t:"");navigator.clipboard.writeText(c),a(true),setTimeout(()=>{a(false);},2e3);},className:"!px-2",children:jsxRuntime.jsx(P,{name:"Copy",size:o==="sm"?14:16})});return jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("flex items-center gap-1",r),children:[t,n?jsxRuntime.jsx(fn,{content:"Copied!",children:s}):s]})}var Eu={duration:.5,ease:"easeInOut"},ko=ir.createContext(null),rr=()=>{let e=ir.useContext(ko);if(!e)throw new Error("useChartContext must be used within a ChartContextProvider");return e};var gn=({data:e,color:t="var(--color-viz-default)"})=>{let r=ir.useId(),o=ir.useId(),{xScale:n,yScale:a,animationSettings:i}=rr(),l=n.range(),s=a.range();return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs("defs",{children:[jsxRuntime.jsxs("linearGradient",{id:r,x1:"0%",y1:"0%",x2:"0%",y2:"100%",children:[jsxRuntime.jsx("stop",{offset:"50%",stopColor:t,stopOpacity:.1}),jsxRuntime.jsx("stop",{offset:"100%",stopColor:t,stopOpacity:0})]}),jsxRuntime.jsx("clipPath",{id:o,children:jsxRuntime.jsx("rect",{x:l[0],y:s[1],width:l[1]-l[0],height:s[0]-s[1]})})]}),jsxRuntime.jsx("g",{clipPath:`url(#${o})`,children:jsxRuntime.jsxs(framerMotion.motion.g,{initial:{scaleY:0},animate:{scaleY:1},transition:{duration:i.duration,ease:i.ease},style:{transformOrigin:`0 ${s[0]}px`,transformBox:"fill-box",isolation:"isolate"},children:[jsxRuntime.jsx(shape.AreaClosed,{data:e,x:c=>n(c.xValue),y:c=>a(c.yValue),yScale:a,fill:`url(#${r})`,curve:curve.curveLinear}),jsxRuntime.jsx(shape.LinePath,{data:e,x:c=>n(c.xValue),y:c=>a(c.yValue),stroke:t,strokeWidth:3,curve:curve.curveLinear})]})})]})};var Po=({data:e,color:t="var(--color-viz-default)",opacity:r=1,categoryColors:o={}})=>{let{xScale:n,yScale:a,animationSettings:i}=rr(),l=ir.useId(),s=n.range(),c=a.range(),p=[...e].sort((u,g)=>u.xValue.getTime()-g.xValue.getTime()),d=p.length>1?p[1].xValue.getTime()-p[0].xValue.getTime():15*6e4,m=Math.abs(n(new Date(p[0].xValue.getTime()+d))-n(p[0].xValue));return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("defs",{children:jsxRuntime.jsx("clipPath",{id:l,children:jsxRuntime.jsx("rect",{x:s[0],y:c[1],width:s[1]-s[0],height:c[0]-c[1]})})}),jsxRuntime.jsx("g",{clipPath:`url(#${l})`,children:jsxRuntime.jsx(framerMotion.motion.g,{initial:{scaleY:0},animate:{scaleY:1},transition:{duration:i.duration,ease:i.ease},style:{transformOrigin:`0 ${c[0]}px`,transformBox:"fill-box",isolation:"isolate"},children:p.map((u,g)=>{let f=n(u.xValue),b=a(u.yValue),x=c[0]-b,y=p[g+1],v=y?Math.abs(n(y.xValue)-f):m,h=u.category&&o[u.category]?o[u.category]:t;return jsxRuntime.jsx(shape.Bar,{x:f-v/2,y:b,width:v,height:x,fill:h,opacity:r,rx:1},u.xValue.getTime())})})})]})};var oe={top:0,right:0,bottom:50,left:60};function Do(e={type:"number"}){let t=i=>{if(i==null)return "-";let l=Lt({value:i,formatter:e});if(l===null)return "-";if(typeof l=="string")return l;if(typeof l=="number")return l.toString();if(typeof l=="object"&&l!==null&&"props"in l){let s=p=>{if(p==null)return "";if(typeof p=="string")return p;if(typeof p=="number")return p.toString();if(typeof p=="object"&&"props"in p){let d=p.props;if(d?.children)return Array.isArray(d.children)?d.children.map(s).join(""):s(d.children)}return ""};return s(l)||i.toString()}return i.toString()},r=i=>{if(i==null)return "-";if(typeof e=="string"){let l=Lt({value:i,formatter:e});return l===null?"-":String(l)}if(typeof e=="object"&&e.type)switch(e.type){case "energy":case "power":case "voltage":case "current":case "resistance":case "temperature":case "distance":return t(i);case "currency":return t(i);default:return t(i)}return t(i)},o,n,a;if(typeof e=="object"&&e.type)switch(e.type){case "number":"min"in e&&(o=e.min),"max"in e&&(n=e.max);break}return {format:t,tickFormat:r,min:o,max:n,tickInterval:a}}var il=(e,t)=>{let r=d3Array.extent(e,o=>o.xValue);return scale.scaleTime({range:[oe.left,t-oe.right],domain:r,nice:true})},sl=(e,t,r)=>{let o=Do(r),n=d3Array.min(e,s=>s.yValue)||0,a=d3Array.max(e,s=>s.yValue)||0,i=o.min!==void 0?o.min:n>=0?0:n*1.1,l=o.max!==void 0?o.max:a<=0?0:a*1.1;return scale.scaleLinear({range:[t-oe.bottom,oe.top],domain:[i,l],nice:true})};var Fy=({top:e,scale:t,width:r})=>{let o=t.domain(),n=bd({start:o[0],end:o[1]});return jsxRuntime.jsx(axis.Axis,{orientation:"bottom",top:e,scale:t,numTicks:Math.min(6,Math.floor(r/100)),tickFormat:a=>n(a),stroke:"var(--color-border-muted)",tickStroke:"var(--color-border-muted)",tickLabelProps:()=>({fill:"var(--color-text-caption)",fontSize:12,textAnchor:"middle"})})},Ey=({left:e,scale:t,yFormatter:r})=>{let o=Do(r);return jsxRuntime.jsx(axis.Axis,{orientation:"left",left:e,scale:t,numTicks:5,tickFormat:n=>(o.tickFormat||o.format)(n),stroke:"var(--color-border-muted)",tickStroke:"var(--color-border-muted)",tickLabelProps:()=>({fill:"var(--color-text-caption)",fontSize:12,textAnchor:"end",dy:"0.33em"})})},bn={Bottom:Fy,Left:Ey};var Vy=({items:e})=>e.length===0?null:jsxRuntime.jsx("div",{className:"flex items-center gap-4",children:e.map(t=>jsxRuntime.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntime.jsx("div",{className:"h-3 w-3",style:{backgroundColor:t.fill,borderRadius:"1px"}}),jsxRuntime.jsx("span",{className:"text-sm text-text-caption",children:t.category})]},t.category))}),Pa=({items:e,onExport:t,marginLeft:r=0,marginRight:o=0,isZoomed:n=false,onResetZoom:a})=>{let[i,l]=ir__namespace.default.useState(false),[s,c]=ir__namespace.default.useState(null),p=ir__namespace.default.useCallback(async d=>{let m=d;l(true),c(m);try{await t(m);}catch(u){console.error("Export failed:",u);}finally{l(false),c(null);}},[t]);return jsxRuntime.jsxs("div",{className:"mt-4 flex items-center justify-between overflow-y-hidden",style:{paddingLeft:`${r}px`,paddingRight:`${o}px`},children:[jsxRuntime.jsx(Vy,{items:e}),jsxRuntime.jsxs("div",{className:"flex items-center gap-2",children:[n&&a&&jsxRuntime.jsxs(q,{variant:"secondary",size:"sm",onPress:a,children:[jsxRuntime.jsx(P,{name:"ArrowsOut",size:16}),"Reset Zoom"]}),jsxRuntime.jsxs(reactAriaComponents.DialogTrigger,{children:[jsxRuntime.jsxs(q,{variant:"secondary",size:"sm",isDisabled:i,children:[jsxRuntime.jsx(P,{name:"Export",size:16}),i?"Exporting...":"Export"]}),jsxRuntime.jsx(We,{placement:"top end",className:"min-w-48 p-1 bg-white dark:bg-gray-800 rounded-lg shadow-xl ring-1 ring-gray-200 dark:ring-gray-700",children:jsxRuntime.jsxs(reactAriaComponents.Menu,{onAction:p,className:"outline-none",children:[jsxRuntime.jsx(reactAriaComponents.MenuItem,{id:"csv",className:"flex items-center gap-2 px-3 py-2 text-sm text-gray-700 hover:bg-gray-100 dark:text-gray-300 dark:hover:bg-gray-700 rounded cursor-pointer outline-none",isDisabled:i,children:jsxRuntime.jsxs("span",{className:"flex items-center gap-2",children:[jsxRuntime.jsx(P,{name:"List",size:14}),s==="csv"?"Exporting...":"Export as CSV"]})}),jsxRuntime.jsx(reactAriaComponents.MenuItem,{id:"svg",className:"flex items-center gap-2 px-3 py-2 text-sm text-gray-700 hover:bg-gray-100 dark:text-gray-300 dark:hover:bg-gray-700 rounded cursor-pointer outline-none",isDisabled:i,children:jsxRuntime.jsxs("span",{className:"flex items-center gap-2",children:[jsxRuntime.jsx(P,{name:"Code",size:14}),s==="svg"?"Exporting...":"Export as SVG"]})}),jsxRuntime.jsx(reactAriaComponents.MenuItem,{id:"png",className:"flex items-center gap-2 px-3 py-2 text-sm text-gray-700 hover:bg-gray-100 dark:text-gray-300 dark:hover:bg-gray-700 rounded cursor-pointer outline-none",isDisabled:i,children:jsxRuntime.jsxs("span",{className:"flex items-center gap-2",children:[jsxRuntime.jsx(P,{name:"DownloadSimple",size:14}),s==="png"?"Exporting...":"Export as PNG"]})})]})})]})]})]})};var ct={top:10,bottom:15,left:oe.left,right:oe.right},dl=({data:e,seriesMetadata:t,width:r,height:o,onBrushChange:n,brushRegion:a})=>{let i=ir.useRef(null),l=ir.useRef(false),s=ir.useMemo(()=>e.flat(),[e]),c=r-ct.left-ct.right,p=ir.useMemo(()=>{if(s.length===0)return scale.scaleTime({domain:[new Date,new Date],range:[0,c]});let f=new Date(Math.min(...s.map(x=>x.xValue.getTime()))),b=new Date(Math.max(...s.map(x=>x.xValue.getTime())));return scale.scaleTime({domain:[f,b],range:[0,c]})},[s,c]),d=ir.useMemo(()=>{let f=s.length>0?Math.max(0,...s.map(b=>b.yValue)):1;return scale.scaleLinear({domain:[0,f],range:[o-ct.bottom,ct.top]})},[s,o]),m=f=>{if(l.current)return;if(!f){n(null);return}let{x0:b,x1:x}=f;if(b===x)return;let y=new Date(b),v=new Date(x);if(!(Number.isNaN(y.getTime())||Number.isNaN(v.getTime()))){if(s.length>0){let h=Math.min(...s.map(k=>k.xValue.getTime())),C=Math.max(...s.map(k=>k.xValue.getTime())),w=(C-h)*.05;if(Math.abs(y.getTime()-h)<w&&Math.abs(v.getTime()-C)<w){n(null);return}}n([y,v]);}},u=ir.useMemo(()=>{if(s.length!==0)return {start:{x:0,y:ct.top},end:{x:c,y:o-ct.bottom}}},[c,o,s]);ir.useEffect(()=>{if(!i.current||s.length===0)return;let f=i.current.state;if(f?.isBrushing||f?.activeHandle)return;let b=Math.min(...s.map(S=>S.xValue.getTime())),x=Math.max(...s.map(S=>S.xValue.getTime())),y=a?a[0]:new Date(b),v=a?a[1]:new Date(x),h=i.current.state?.extent;if(h){let S=p.invert(h.x0),w=p.invert(h.x1),N=Math.abs(S.getTime()-y.getTime()),k=Math.abs(w.getTime()-v.getTime());if(N<1e3&&k<1e3)return}l.current=true;let C=S=>{let w=i.current.getExtent({x:p(y),y:ct.top},{x:p(v),y:o-ct.bottom});return {...S,start:{y:w.y0,x:w.x0},end:{y:w.y1,x:w.x1},extent:w}};i.current.updateBrush(C),setTimeout(()=>{l.current=false;},50);},[a,p,o,s]);let g={fill:"url(#brush_pattern)",fillOpacity:.15,stroke:"var(--color-border-focus)",strokeWidth:1.5,strokeOpacity:.3};return jsxRuntime.jsx("div",{className:"mt-2",children:jsxRuntime.jsxs("svg",{width:r,height:o,children:[jsxRuntime.jsx(pattern.PatternLines,{id:"brush_pattern",height:8,width:8,stroke:"var(--color-text-muted)",strokeWidth:1,orientation:["diagonal"]}),jsxRuntime.jsxs("g",{transform:`translate(${ct.left}, 0)`,children:[e.map((f,b)=>jsxRuntime.jsx(shape.LinePath,{data:f,x:x=>p(x.xValue),y:x=>d(x.yValue),stroke:t[b]?.color||"var(--color-gray-500)",strokeWidth:1.5,opacity:.8},`brush-series-${b}`)),jsxRuntime.jsx(brush.Brush,{xScale:p,yScale:d,width:c,height:o-ct.top-ct.bottom,margin:{top:ct.top,bottom:ct.bottom,left:0,right:0},handleSize:8,innerRef:i,resizeTriggerAreas:["left","right"],brushDirection:"horizontal",initialBrushPosition:u,onChange:m,onClick:()=>n(null),selectedBoxStyle:g,useWindowMoveEvents:true})]})]})})};function Uu(e){switch(e){case "command":return ze("--color-action-primary","#3b82f6");case "success":return ze("--color-feedback-success","#10b981");case "warning":return ze("--color-feedback-warning","#f59e0b");case "error":return ze("--color-feedback-error","#ef4444");case "alert":return ze("--color-feedback-warning","#f59e0b");case "info":default:return ze("--color-action-secondary","#6b7280")}}function Aa({events:e,color:t,showLabels:r=false}){let o=ir.useContext(ko),[n,a]=ir.useState(null);if(!o)return console.warn("ChartEventMarkers must be used within a ChartContainer"),null;let{xScale:i,yScale:l,height:s,tooltip:c,datasets:p,seriesMetadata:d,seriesTypes:m,categoryColors:u}=o,g=e.filter(x=>{let y=i(x.timestamp);return y>=oe.left&&y<=i.range()[1]}),f=ir.useCallback((x,y)=>{a(y);let v=i(x.timestamp),h=v>(i.range()[1]-oe.right-oe.left)/2+oe.left,C=[];p&&d&&p.forEach((S,w)=>{if(S.length===0)return;let N=d3Array.bisector(K=>K.xValue).left,k=N(S,x.timestamp),L=S[k-1],V=S[k],H;if(!L)H=V;else if(!V)H=L;else {let K=Math.abs(x.timestamp.getTime()-L.xValue.getTime()),B=Math.abs(x.timestamp.getTime()-V.xValue.getTime());H=K<B?L:V;}H&&d[w]&&C.push({label:d[w].label,value:H.yValue,color:d[w].color,type:m?.[w]||"line",...H.category&&{category:H.category,categoryColor:u?.[H.category]}});}),C.push({label:x.label,value:0,color:t||Uu(x.type),type:"event"}),c.show({xValue:x.timestamp,series:C,x:v,y:C.length>1&&typeof C[0].value=="number"?l(C[0].value):s/2,position:h?"left":"right",isEvent:true,eventMetadata:x.metadata});},[i,l,s,c,t,p,d,m,u]),b=ir.useCallback(()=>{a(null),c.hide();},[c]);return g.length===0?null:jsxRuntime.jsx("g",{className:"chart-event-markers","data-testid":"chart-event-markers",children:g.map((x,y)=>{let v=i(x.timestamp),h=t||Uu(x.type),C=n===y;return jsxRuntime.jsxs("g",{children:[jsxRuntime.jsx("line",{x1:v,y1:oe.top,x2:v,y2:s-oe.bottom,stroke:h,strokeWidth:C?3:2,strokeDasharray:"4 4",strokeOpacity:C?.9:.6,pointerEvents:"none"}),jsxRuntime.jsx("circle",{cx:v,cy:oe.top,r:C?5:4,fill:h,stroke:"var(--color-background-surface)",strokeWidth:2,pointerEvents:"none"}),jsxRuntime.jsx("circle",{cx:v,cy:s-oe.bottom,r:C?5:4,fill:h,stroke:"var(--color-background-surface)",strokeWidth:2,pointerEvents:"none"}),r&&jsxRuntime.jsx("text",{x:v,y:oe.top-8,textAnchor:"middle",fill:"var(--color-text-caption)",fontSize:11,fontWeight:500,pointerEvents:"none",children:x.label}),jsxRuntime.jsx("rect",{x:v-10,y:oe.top,width:20,height:s-oe.top-oe.bottom,fill:"transparent",style:{cursor:"pointer"},onMouseEnter:()=>f(x,y),onMouseLeave:b})]},`${x.timestamp.getTime()}-${y}`)})})}var Ma=({data:e,formatter:t})=>{if(!e)return null;let{categoryLabels:r,xScale:o}=rr(),n=Do(t),a=ir__namespace.default.useRef(null),[i,l]=ir__namespace.default.useState({x:0,y:0,translate:"translate(-50%, -100%)"});ir__namespace.default.useEffect(()=>{if(!a.current)return;let m=a.current.getBoundingClientRect(),u=window.innerHeight,g=window.innerWidth,f=e.x,b=e.y,x=e.position==="left"?"translate(calc(-100% - 16px), -50%)":"translate(16px, -50%)";e.position==="left"&&f-m.width-16<0?x="translate(16px, -50%)":e.position==="right"&&f+m.width+16>g&&(x="translate(calc(-100% - 16px), -50%)"),b-m.height/2<0?b=m.height/2:b+m.height/2>u&&(b=u-m.height/2),l({x:f,y:b,translate:x});},[e.x,e.y,e.position]);let s=o.domain(),p=s.length===2&&s.every(d=>d instanceof Date)?gd({start:s[0],end:s[1]}):()=>String(e.xValue);return jsxRuntime.jsx(framerMotion.AnimatePresence,{children:jsxRuntime.jsxs(framerMotion.motion.div,{ref:a,role:"tooltip","aria-live":"polite",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},"data-testid":"tooltip",className:"pointer-events-none absolute z-50 rounded-lg bg-white p-4 text-sm shadow-xl ring-1 ring-gray-200 dark:bg-gray-800 dark:ring-gray-700 whitespace-nowrap",style:{left:i.x,top:i.y,transform:i.translate},children:[jsxRuntime.jsx("time",{className:"mb-1 font-medium text-gray-900 dark:text-gray-100",children:p(e.xValue)}),e.isEvent?jsxRuntime.jsxs("div",{className:"space-y-2",children:[e.series.length>1&&jsxRuntime.jsx("ul",{className:"list-none p-0 border-b border-gray-200 dark:border-gray-700 pb-2",children:e.series.slice(0,-1).map(d=>jsxRuntime.jsxs("li",{className:"py-0.5",children:[jsxRuntime.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntime.jsxs("span",{className:"font-medium text-gray-700 dark:text-gray-300",children:[d.label,":"]}),jsxRuntime.jsx("span",{className:"text-gray-600 dark:text-gray-400",children:n.format(d.value)})]}),d.category&&jsxRuntime.jsxs("div",{className:"mt-0.5 flex items-center gap-2",children:[jsxRuntime.jsx("div",{className:"h-3 w-3",style:{backgroundColor:d.categoryColor||d.color,borderRadius:"1px"}}),jsxRuntime.jsx("span",{className:"text-sm text-gray-600 dark:text-gray-400",children:r?.[d.category]||d.category})]})]},d.label))}),(()=>{let d=e.series[e.series.length-1];return jsxRuntime.jsxs("div",{children:[jsxRuntime.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntime.jsx("div",{className:"h-2 w-2 rounded-full",style:{backgroundColor:d.color}}),jsxRuntime.jsx("span",{className:"font-medium text-gray-900 dark:text-gray-100",children:d.label})]}),e.eventMetadata&&Object.keys(e.eventMetadata).length>0&&jsxRuntime.jsx("div",{className:"ml-4 mt-1 space-y-0.5 text-xs text-gray-600 dark:text-gray-400",children:Object.entries(e.eventMetadata).map(([m,u])=>jsxRuntime.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntime.jsxs("span",{className:"capitalize",children:[m,":"]}),jsxRuntime.jsx("span",{className:"font-medium",children:u})]},m))})]})})()]}):jsxRuntime.jsx("ul",{className:"list-none p-0",children:e.series.map(d=>jsxRuntime.jsxs("li",{className:"py-0.5",children:[jsxRuntime.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntime.jsxs("span",{className:"font-medium text-gray-700 dark:text-gray-300",children:[d.label,":"]}),jsxRuntime.jsx("span",{className:"text-gray-600 dark:text-gray-400",children:n.format(d.value)})]}),d.category&&jsxRuntime.jsxs("div",{className:"mt-0.5 flex items-center gap-2",children:[jsxRuntime.jsx("div",{className:"h-3 w-3",style:{backgroundColor:d.categoryColor||d.color,borderRadius:"1px"}}),jsxRuntime.jsx("span",{className:"text-sm text-gray-600 dark:text-gray-400",children:r?.[d.category]||d.category})]})]},d.label))})]})})};var xn=({data:e,color:t="var(--color-viz-default)",strokeWidth:r=3,strokeDasharray:o})=>{let{xScale:n,yScale:a,animationSettings:i}=rr(),l=a.range();return jsxRuntime.jsx(framerMotion.motion.g,{initial:{scaleY:0},animate:{scaleY:1},transition:{duration:i.duration,ease:i.ease},style:{transformOrigin:`0 ${l[0]}px`,transformBox:"fill-box",isolation:"isolate"},children:jsxRuntime.jsx(shape.LinePath,{data:e,x:s=>n(s.xValue),y:s=>a(s.yValue),stroke:t,strokeWidth:r,strokeDasharray:o,strokeLinecap:"round",curve:curve.curveLinear})})};var Xu=e=>e.type===gn||e.type===xn||e.type===Po,a0=e=>e.type===Aa,i0=d3Array.bisector(e=>e.xValue).left,s0=()=>jsxRuntime.jsx("div",{className:"flex h-full items-center justify-center",children:jsxRuntime.jsx("p",{className:"text-gray-500",children:"No data available"})}),l0=()=>jsxRuntime.jsxs("div",{className:"flex h-full flex-col gap-4 p-4",children:[jsxRuntime.jsx(F,{className:"h-full w-full"}),jsxRuntime.jsxs("div",{className:"flex gap-4",children:[jsxRuntime.jsx(F,{className:"h-4 w-24"}),jsxRuntime.jsx(F,{className:"h-4 w-24"})]})]}),c0=({parentWidth:e,parentHeight:t,yFormatter:r={type:"number"},isLoading:o=false,enableZoom:n=false,enableBrush:a=false,brushHeight:i=60,onZoomChange:l,children:s})=>{let[c,p]=ir.useState(null),[d,m]=ir.useState(null),u=ir.useRef(null),g=ir.useRef(0),f=ir.useRef(""),b=ir.useRef(null),x=ir.useMemo(()=>$o(),[]),y=ir.useMemo(()=>$i(),[]),{datasets:v,seriesMetadata:h,categoryInfo:C,categoryColors:S,categoryLabels:w,hasBarSeries:N,firstBarSeriesIndex:k,seriesTypes:L}=ir.useMemo(()=>{let me=ir.Children.toArray(s).filter(Q=>ir.isValidElement(Q)&&Xu(Q)),Ne=me.filter(Q=>Q.props.data).length,ke=me.some(Q=>Q.type===Po),ye=[],Be=[],Ge=[],R=null,T=null,ee=null;me.forEach((Q,xe)=>{let ce=Q.props;if(!ce.data)return;ye.push(ce.data);let go=("color"in ce&&ce.color?ce.color:void 0)||(Ne===1?y:x[xe%x.length]);Be.push({label:"label"in ce&&ce.label||`Series ${ye.length}`,color:go});let Ve=Q.type===gn?"area":Q.type===xn?"line":"bar";Ge.push(Ve),"categoryColors"in ce&&ce.categoryColors&&(R=ce.categoryColors),"categoryLabels"in ce&&ce.categoryLabels&&(T=ce.categoryLabels),Q.type===Po&&ee===null&&(ee=ye.length-1);});let ae=null;if(R){let Q=new Set;ye.forEach(xe=>{xe.forEach(ce=>{ce.category&&Q.add(ce.category);});}),ae=Array.from(Q).map(xe=>({label:T?.[xe]||xe,color:R[xe]||"#6b7280"}));}return {datasets:ye,seriesMetadata:Be,categoryInfo:ae,categoryColors:R,categoryLabels:T,hasBarSeries:ke,firstBarSeriesIndex:ee,seriesTypes:Ge}},[s,y,x]),V=e,H=a?i+8:0,K=t-60-24-H,B=Math.max(100,K),J=ir.useMemo(()=>v.flat(),[v]),j=ir.useMemo(()=>{if(J.length===0)return null;let U=[...J].sort((me,Ne)=>me.xValue.getTime()-Ne.xValue.getTime());return [U[0].xValue,U[U.length-1].xValue]},[J]),$=d||j,A=ir.useMemo(()=>$?v.map(me=>me.filter(Ne=>Ne.xValue>=$[0]&&Ne.xValue<=$[1])):v,[v,$]);ir.useEffect(()=>{l&&l(d);},[d,l]);let M=ir.useCallback(U=>{if(!j)return;let{scaleX:me,translateX:Ne}=U,ke=V-oe.left-oe.right,[ye,Be]=j,Ge=Be.getTime()-ye.getTime();if(Ge<=0){m(null);return}let R=-Ne,T=R+ke,ee=ke*me/Ge,ae=R/ee,Q=T/ee,xe=new Date(ye.getTime()+ae),ce=new Date(ye.getTime()+Q),rt=Math.abs(xe.getTime()-ye.getTime()),go=Math.abs(ce.getTime()-Be.getTime()),Ve=Ge*.02;rt<Ve&&go<Ve?m(null):m([xe,ce]);},[j,V]),z=ir.useMemo(()=>$?scale.scaleTime({domain:$,range:[oe.left,V-oe.right]}):il(J,V),[$,J,V]),X=ir.useMemo(()=>A.flat(),[A]),D=ir.useMemo(()=>sl(X,B,r),[X,B,r]),E=ir.useCallback(U=>{let{left:me}=u.current?.getBoundingClientRect()||{left:0},Ne=U.clientX-me;if(U.timeStamp-(g.current||0)<16)return;g.current=U.timeStamp;let ke=z.invert(Ne),ye=v.map((R,T)=>{if(!R||R.length===0)return null;let ee=i0(R,ke,1);if(ee===0)return {point:R[0],datasetIndex:T};if(ee>=R.length)return {point:R[R.length-1],datasetIndex:T};let ae=R[ee-1],Q=R[ee];if(!ae||!Q)return null;let xe=Math.abs(ae.xValue.getTime()-ke.getTime()),ce=Math.abs(Q.xValue.getTime()-ke.getTime());return {point:xe<ce?ae:Q,datasetIndex:T}}).filter(R=>R!==null&&h[R.datasetIndex]!==void 0).map(({point:R,datasetIndex:T})=>({label:h[T].label,value:R.yValue,color:h[T].color,point:R,type:L[T]}));if(ye.length===0){p(null);return}let Be=z(ye[0].point.xValue),Ge=Be>(V-oe.right-oe.left)/2+oe.left;p({xValue:ye[0].point.xValue,series:ye.map(({label:R,value:T,color:ee,point:ae,type:Q})=>({label:R,value:T,color:ee,type:Q,category:ae.category,categoryColor:ae.category&&S?S[ae.category]:void 0})),x:Be,y:D(ye[0].value),position:Ge?"left":"right"});},[v,A,h,L,z,D,V,S]),W=()=>{p(null);},G=ir.useCallback(()=>{m(null),b.current&&b.current.reset();},[]),O=ir.useCallback(U=>{if(m(U),b.current&&j){let[me,Ne]=j,ke=Ne.getTime()-me.getTime();if(ke<=0){b.current.reset();return}if(!U)b.current.reset();else {let[ye,Be]=U,Ge=Be.getTime()-ye.getTime();if(Ge<=0){b.current.reset();return}let R=ke/Ge,T=V-oe.left-oe.right,ae=-((ye.getTime()-me.getTime())/ke)*T*R;b.current.setTransformMatrix({scaleX:R,scaleY:1,translateX:ae,translateY:0,skewX:0,skewY:0});}}},[j,V]),te={width:V,height:B,xScale:z,yScale:D,yFormatter:r,animationSettings:Eu,tooltip:{data:c,show:p,hide:()=>p(null)},datasets:A,seriesMetadata:h,seriesTypes:L,categoryColors:S||void 0,categoryLabels:w||void 0},I=ir.Children.toArray(s),Z=0,ne=[],Ke=[];I.forEach(U=>{if(!ir.isValidElement(U)){ne.push(U);return}if(a0(U))Ke.push(U);else if(Xu(U)){let me=Z;Z++;let Ne=U.props;ne.push(ir__namespace.default.cloneElement(U,{...Ne,data:A[me]||Ne.data,color:h[me]?.color}));}else ne.push(U);});let Ce=(C||h).map(U=>({category:U.label,fill:U.color})),Me=lc({datasets:v,metadata:{xLabel:"Date",yLabel:"Value",seriesLabels:h.map(U=>U.label),timestamp:true},svgRef:u});if(o)return jsxRuntime.jsx(l0,{});if(v.length===0)return jsxRuntime.jsx(s0,{});let jt=jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("title",{children:"Data chart visualization"}),jsxRuntime.jsx("g",{children:D.ticks(5).map(U=>jsxRuntime.jsx(shape.Line,{from:{x:oe.left,y:D(U)},to:{x:V-oe.right,y:D(U)},stroke:"var(--color-border-muted)",strokeWidth:1},`grid-line-${U}`))}),ne,jsxRuntime.jsx(bn.Bottom,{top:B-oe.bottom,scale:z,width:V-oe.left-oe.right}),jsxRuntime.jsx(bn.Left,{left:oe.left,scale:D,yFormatter:r}),c&&!c.isEvent&&jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[N&&k!==null?(()=>{let U=A[k]??[];if(U.length===0)return null;let me=[...U].sort((ee,ae)=>ee.xValue.getTime()-ae.xValue.getTime()),Ne=me.findIndex(ee=>ee.xValue.getTime()===c.xValue.getTime()),ke=me[Ne+1],ye=me.length>1&&ke?ke.xValue.getTime()-c.xValue.getTime():15*6e4,Be=Math.abs(z(new Date(c.xValue.getTime()+ye))-z(c.xValue)),R=z(c.xValue)-Be/2,T=D.range();return jsxRuntime.jsx("rect",{x:R,y:T[1],width:Be,height:T[0]-T[1],className:"fill-background-muted",opacity:.5,pointerEvents:"none",style:{transition:"all 100ms ease-out"}})})():null,c.series.filter(U=>U.type!=="bar").map(U=>jsxRuntime.jsxs("g",{children:[jsxRuntime.jsx("circle",{cx:z(c.xValue),cy:D(U.value),r:8,fill:"white",stroke:U.color,strokeWidth:2,style:{transition:"all 100ms ease-out"}}),jsxRuntime.jsx("circle",{cx:z(c.xValue),cy:D(U.value),r:4,fill:U.color,style:{transition:"all 100ms ease-out"}})]},`highlight-${U.label}`))]}),jsxRuntime.jsx("rect",{x:oe.left,y:oe.top,width:V-oe.left-oe.right,height:B-oe.top-oe.bottom,fill:"transparent",style:{cursor:n?"grab":"crosshair"},onMouseMove:E,onMouseLeave:W}),Ke]});return jsxRuntime.jsx("div",{className:"relative flex h-full flex-col pb-6",children:jsxRuntime.jsxs(ko.Provider,{value:te,children:[n?jsxRuntime.jsx(zoom.Zoom,{width:V,height:B,scaleXMin:1,scaleXMax:20,scaleYMin:1,scaleYMax:1,constrain:U=>{let{scaleX:me,translateX:Ne}=U,ke=Math.max(1,Math.min(20,me)),ye=1,Be=V-oe.left-oe.right,Ge=0,R=Be*(1-ke),T=Math.max(R,Math.min(Ge,Ne));return {...U,scaleX:ke,scaleY:ye,translateX:T,translateY:0}},children:U=>{if(b.current=U,U.transformMatrix){let{scaleX:me,translateX:Ne}=U.transformMatrix,ke=`${me.toFixed(4)}-${Ne.toFixed(2)}`;ke!==f.current&&(f.current=ke,setTimeout(()=>{M(U.transformMatrix);},0));}return jsxRuntime.jsx("svg",{width:V,height:B,className:"overflow-visible",ref:me=>{u.current=me,U.containerRef.current!==me&&(U.containerRef.current=me);},role:"img","aria-label":"Data chart",style:{cursor:U.isDragging?"grabbing":"grab",touchAction:"none"},onMouseDown:U.dragStart,onMouseMove:U.dragMove,onMouseUp:U.dragEnd,onMouseLeave:()=>{U.isDragging&&U.dragEnd();},onTouchStart:U.dragStart,onTouchMove:U.dragMove,onTouchEnd:U.dragEnd,children:jt})}}):jsxRuntime.jsx("svg",{width:V,height:B,className:"overflow-visible",ref:u,role:"img","aria-label":"Data chart",children:jt}),jsxRuntime.jsx(Ma,{data:c,formatter:r}),a&&j&&jsxRuntime.jsx(dl,{data:v,seriesMetadata:h,width:V,height:i,onBrushChange:O,brushRegion:d}),jsxRuntime.jsx(Pa,{onExport:Me,items:Ce,marginLeft:32,marginRight:oe.right,isZoomed:d!==null,onResetZoom:G})]})})},ju=responsive.withParentSize(c0);var g0=e=>e.toLocaleString(),b0=e=>`${Math.round(e*100)}%`,ep=({data:e,width:t=800,height:r=400,padding:o=0,barGap:n=30,formatValue:a=g0,formatPercentage:i=b0,color:l,showScale:s=true,showOverallConversion:c=true,overallConversionLabel:p="Overall Conversion:",activeStageId:d,onStageClick:m,onStageHover:u,className:g,style:f,"aria-label":b="Funnel chart"})=>{let[x,y]=ir.useState(null),[v,h]=ir.useState(t),C=ir.useRef(null),S=d??x,w=ir.useId(),N=l||"var(--color-viz-default)";ir.useEffect(()=>{if(!C.current)return;let B=new ResizeObserver(J=>{for(let j of J)h(j.contentRect.width);});return B.observe(C.current),()=>{B.disconnect();}},[]);let{layout:k,overallConversion:L}=ir.useMemo(()=>{if(e.length===0)return {layout:[],overallConversion:0};let B=e[0].value,J=c?60:0,j=r-o*2-J,$=(e.length-1)*n,A=(j-$)/e.length,M=e.map((X,D)=>{let E=o+J+D*(A+n),W=B===0?0:X.value/B,G=W,O=D===0?null:e[D-1].value,te=O==null||O===0?0:1-X.value/O;return {stage:X,index:D,y:E,barHeight:A,widthPercent:W,conversionRate:G,dropOff:te}}),z=B===0?0:e[e.length-1].value/B;return {layout:M,overallConversion:z,maxValue:B}},[e,v,r,o,n,s,c]);if(e.length===0)return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex h-full min-h-[280px] w-full items-center justify-center rounded-lg border border-dashed border-gray-300 bg-background-surface text-sm font-medium text-text-muted dark:border-gray-700",g),style:{width:t,height:r,...f},children:"No funnel data available"});let V=s?60:0,H=o+V,K=v-o*2-V;return jsxRuntime.jsx("div",{ref:C,className:tailwindMerge.twMerge("relative w-full overflow-hidden rounded-lg bg-background-surface",g),style:{height:r,...f},"aria-label":b,role:"img",children:jsxRuntime.jsxs("svg",{width:"100%",height:r,className:"relative",children:[jsxRuntime.jsxs("defs",{children:[jsxRuntime.jsx(gradient.LinearGradient,{id:`${w}-bar`,from:N,to:N,toOpacity:.85}),jsxRuntime.jsx(gradient.LinearGradient,{id:`${w}-bg`,from:N,to:N,fromOpacity:.01,toOpacity:.15,x1:"0",y1:"0",x2:"1",y2:"0"})]}),c&&jsxRuntime.jsxs("text",{x:H,y:o+20,className:"fill-text-body text-sm font-medium",children:[jsxRuntime.jsx("tspan",{className:"fill-text-muted",children:p})," ",i(L)]}),s&&jsxRuntime.jsx("g",{children:k.map(B=>{let J=B.y+B.barHeight/2;return jsxRuntime.jsx("text",{x:o+V-12,y:J,textAnchor:"end",dominantBaseline:"middle",className:"fill-text-caption text-xs",children:i(B.conversionRate)},B.stage.id)})}),k.map(B=>{let J=S===B.stage.id,j=K*B.widthPercent;return jsxRuntime.jsxs("g",{children:[jsxRuntime.jsx("rect",{x:H,y:B.y,width:K,height:B.barHeight,fill:`url(#${w}-bg)`,rx:4}),jsxRuntime.jsx(framerMotion.motion.rect,{x:H,y:B.y,width:j,height:B.barHeight,fill:`url(#${w}-bar)`,rx:4,initial:{width:0},animate:{width:j},transition:{duration:.6,delay:B.index*.1,ease:"easeOut"},opacity:J||S==null?1:.5,style:{cursor:m||u?"pointer":"default",transition:"opacity 150ms ease"},onMouseEnter:()=>{y(B.stage.id),u?.(B.stage);},onMouseLeave:()=>{y(null),u?.(null);},onClick:()=>m?.(B.stage)}),jsxRuntime.jsx("rect",{x:H+10,y:B.y+B.barHeight/2-10,width:70,height:20,className:"fill-background-surface stroke-border-default",strokeWidth:1,rx:4,style:{pointerEvents:"none"}}),jsxRuntime.jsx("text",{x:H+16,y:B.y+B.barHeight/2+4,className:"fill-text-heading text-xs font-semibold",style:{pointerEvents:"none"},children:a(B.stage.value)}),jsxRuntime.jsxs("text",{x:H,y:B.y-8,className:"fill-text-muted text-xs",style:{pointerEvents:"none"},children:[jsxRuntime.jsx("tspan",{children:B.index+1})," ",B.stage.label]}),B.stage.secondaryValue&&jsxRuntime.jsx("text",{x:H+16,y:B.y-24,className:"fill-text-muted text-xs",style:{pointerEvents:"none"},children:B.stage.secondaryValue}),B.index>0&&B.dropOff>0&&jsxRuntime.jsxs("text",{x:H+K,y:B.y-8,textAnchor:"end",className:"fill-text-muted text-xs",children:[i(B.dropOff)," drop"]}),B.stage.annotation&&jsxRuntime.jsxs("g",{children:[jsxRuntime.jsx("rect",{x:H+j+8,y:B.y+8,width:60,height:24,rx:3,className:"fill-background-muted"}),jsxRuntime.jsx("text",{x:H+j+16,y:B.y+20,className:"fill-text-caption text-xs font-medium",children:B.stage.annotation})]})]},B.stage.id)})]})})};function x0(e,t,r){return {field:e,operator:t,value:r}}function h0(e,t="AND"){return {logic:t,conditions:e}}function hn(){return {logic:"AND",conditions:[]}}function tp(e){return !e||e.conditions.length===0?true:e.conditions.every(t=>"conditions"in t?tp(t):false)}function y0(e,t){if(!e)return [];let r=new Map(t?.map(i=>[i.field,i])),o=new Map;function n(i){if("conditions"in i)i.conditions.forEach(l=>n(l));else {let l=o.get(i.field)||[];l.push(i),o.set(i.field,l);}}e.conditions.forEach(i=>n(i));let a=[];for(let[i,l]of o.entries()){let s=r.get(i),c=s?.label||i,p=[],d=[],m=[];for(let u of l)u.operator==="in"&&Array.isArray(u.value)?p.push(...u.value):u.operator==="eq"?typeof u.value!="boolean"&&!Array.isArray(u.value)?p.push(u.value):m.push(u):["gte","gt","lte","lt"].includes(u.operator)?d.push({operator:u.operator,value:typeof u.value=="boolean"||Array.isArray(u.value)?String(u.value):u.value}):m.push(u);if(p.length>0){let g=Array.from(new Set(p)).map(f=>s?.values?.find(x=>String(x.value)===String(f))?.label??f);a.push({id:`${i}-in`,label:c,value:g.join(", ")});}if(d.length>0){let u=d.find(f=>f.operator==="gte"||f.operator==="gt"),g=d.find(f=>f.operator==="lte"||f.operator==="lt");if(u&&g){let f=u.operator==="gte"?"\u2265":">",b=g.operator==="lte"?"\u2264":"<";a.push({id:`${i}-range`,label:c,value:`${f} ${u.value} and ${b} ${g.value}`});}else for(let f of d){let b;f.operator==="gte"?b="\u2265":f.operator==="gt"?b=">":f.operator==="lte"?b="\u2264":b="<",a.push({id:`${i}-${f.operator}`,label:c,value:`${b} ${f.value}`});}}for(let u of m){let g;u.operator==="neq"?g=`\u2260 ${u.value}`:u.operator==="contains"?g=`contains "${u.value}"`:u.operator==="startsWith"?g=`starts with "${u.value}"`:u.operator==="endsWith"?g=`ends with "${u.value}"`:g=String(u.value),a.push({id:`${i}-${u.operator}`,label:c,value:g});}}return a}function vr(e,t){let r=e||hn();return {...r,conditions:[...r.conditions,t]}}function Yr(e,t){if(!e)return hn();let r=e.conditions.filter(o=>"conditions"in o?Yr(o,t).conditions.length>0:o.field!==t);return {...e,conditions:r}}function pl(e){if(!e)return [];let t=new Set;function r(o){"conditions"in o?o.conditions.forEach(r):t.add(o.field);}return e.conditions.forEach(r),Array.from(t)}function yn({count:e,label:t="results",isLoading:r=false,className:o=""}){if(r)return jsxRuntime.jsx("div",{className:`flex items-center ${o}`,children:jsxRuntime.jsx(F,{width:80,height:16})});let n=t.endsWith("s")?t.slice(0,-1):t,a=e===1?n:t;return jsxRuntime.jsxs("div",{className:`text-sm text-text-muted whitespace-nowrap ${o}`,children:[e.toLocaleString()," ",a]})}var N0=e=>{let t=Nt({isInvalid:e.isInvalid,isDisabled:e.isDisabled,isFocused:e.isFocused,transparent:e.transparent,size:e.size}),r=[e.showSearchIcon?"pl-8":"pl-3",e.isClearable&&e.hasValue||e.isPassword?"pr-8":"pr-3"].join(" ");return tailwindMerge.twMerge(t,r,e.className)};function Mo({label:e,description:t,errorMessage:r,size:o="md",tooltip:n,isRequired:a,transparent:i,showSearchIcon:l,isClearable:s,onClear:c,type:p,validationResult:d,...m}){let[u,g]=ir__namespace.default.useState(false),{isFocused:f,handleFocus:b,handleBlur:x}=Vt(),y=p==="password";return jsxRuntime.jsx(reactAriaComponents.TextField,{...m,isRequired:a,className:de(m.className,"group flex flex-col"),children:({isDisabled:v,isInvalid:h})=>jsxRuntime.jsxs("div",{className:"flex flex-col",children:[e&&jsxRuntime.jsx(ve,{size:o,tooltip:n,isRequired:a,children:e}),jsxRuntime.jsxs(br,{children:[l&&jsxRuntime.jsx("div",{className:"pointer-events-none absolute left-2 top-1/2 -translate-y-[calc(50%+1px)] transform",children:jsxRuntime.jsx(P,{name:"MagnifyingGlass",className:"h-4 w-4 text-text-muted"})}),jsxRuntime.jsx(eu,{size:o,disabled:v,type:y?u?"text":"password":p,value:m.value,defaultValue:m.defaultValue,placeholder:m.placeholder,onFocus:C=>b(C,m.onFocus),onBlur:C=>x(C,m.onBlur),onChange:C=>m.onChange?.(C.target.value),className:N0({isInvalid:h,isDisabled:v,isFocused:f,size:o,transparent:i,showSearchIcon:l,isClearable:s,hasValue:!!m.value,isPassword:y,className:typeof m.className=="string"?m.className:void 0})}),s&&m.value&&!v&&jsxRuntime.jsx(_d,{onClick:()=>{c?c():m.onChange&&m.onChange("");},size:o}),y&&!v&&jsxRuntime.jsx("button",{type:"button",onClick:()=>g(!u),className:"absolute right-3 top-1/2 -translate-y-1/2 transform text-text-muted hover:text-text-body","aria-label":u?"Hide password":"Show password",onMouseDown:C=>{C.preventDefault(),C.stopPropagation();},children:jsxRuntime.jsx(P,{name:u?"EyeSlash":"Eye",size:o==="sm"?16:20,className:"text-text-body"})})]}),t&&jsxRuntime.jsx(we,{size:o,className:"mt-3",children:t}),typeof r=="string"&&jsxRuntime.jsx(be,{size:o,className:"mt-1",children:r}),typeof r=="function"&&d&&jsxRuntime.jsx(be,{size:o,className:"mt-1",children:r(d)})]})})}function Jr({value:e,onChange:t,onClear:r,placeholder:o="Search...",size:n="sm",className:a=""}){return jsxRuntime.jsx("div",{className:`flex-1 min-w-0 sm:max-w-sm ${a}`,children:jsxRuntime.jsx(Mo,{value:e,onChange:t,placeholder:o,showSearchIcon:true,isClearable:!!e&&!!r,onClear:r,size:n,"aria-label":o})})}function Cn({value:e,options:t,onChange:r,direction:o,onDirectionChange:n,showLabel:a=true,size:i="sm",className:l=""}){let s=o!==void 0&&n!==void 0;return jsxRuntime.jsxs("div",{className:`flex items-center gap-2 ${l}`,children:[a&&jsxRuntime.jsx("span",{className:"text-sm text-text-muted whitespace-nowrap",children:"Sort by:"}),jsxRuntime.jsx(zr,{selectedKey:e,onSelectionChange:c=>r(c),size:i,className:"min-w-32",items:t.map(c=>({id:c.value,label:c.label,value:c.value})),renderItem:c=>c.label,"aria-label":"Sort by"}),s&&jsxRuntime.jsx(q,{variant:"ghost",size:i,onClick:()=>n(o==="asc"?"desc":"asc"),"aria-label":`Sort ${o==="asc"?"descending":"ascending"}`,className:"p-1.5",children:o==="asc"?jsxRuntime.jsx(lucideReact.ArrowUp,{className:"w-4 h-4"}):jsxRuntime.jsx(lucideReact.ArrowDown,{className:"w-4 h-4"})})]})}function ap({search:e,searchMobileMode:t="expanded",filters:r=[],onRemoveFilter:o,onClearAllFilters:n,onManageFilters:a,maxVisibleFilterChips:i=3,sort:l,resultsCount:s,sticky:c,stickyTop:p="0",zIndex:d=10,className:m="",style:u}){let g=r.length>0;if(!(e||g||a||l||s))return null;let b=c?"sticky bg-background-surface":"",x=c?{top:p,zIndex:d}:{};return jsxRuntime.jsxs("div",{className:`@container flex flex-col gap-3 bg-background-surface py-3 border-b border-border-default ${b} ${m}`,style:{...u,...x},children:[jsxRuntime.jsxs("div",{className:"hidden @[640px]:flex @[640px]:items-center @[640px]:justify-between @[640px]:gap-4",children:[jsxRuntime.jsxs("div",{className:"flex items-center gap-3 flex-1 min-w-0",children:[s&&jsxRuntime.jsx(yn,{count:s.count,label:s.label,isLoading:s.isLoading}),s&&l&&jsxRuntime.jsx("div",{className:"h-4 w-px bg-border-default"}),l&&jsxRuntime.jsx(Cn,{value:l.value,options:l.options,onChange:l.onChange,showLabel:l.showLabel,direction:l.direction,onDirectionChange:l.onDirectionChange}),g&&o&&jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[r.slice(0,i).map(y=>jsxRuntime.jsxs(xr,{variant:"brand",size:"sm",onRemove:()=>o(y.id),isRemovable:true,children:[y.label,": ",y.value]},y.id)),r.length>i&&a&&jsxRuntime.jsxs(q,{variant:"ghost",size:"sm",onClick:a,className:"text-text-muted hover:text-text-body whitespace-nowrap",children:["+",r.length-i," more"]}),n&&jsxRuntime.jsx(q,{variant:"ghost",size:"sm",onClick:n,className:"text-text-muted hover:text-text-body whitespace-nowrap",children:"Clear all"})]})]}),jsxRuntime.jsxs("div",{className:"flex items-center gap-3 flex-shrink-0",children:[e&&jsxRuntime.jsx("div",{className:"w-64",children:jsxRuntime.jsx(Jr,{value:e.value,onChange:e.onChange,onClear:e.onClear,placeholder:e.placeholder})}),a&&jsxRuntime.jsx(q,{variant:"secondary",size:"sm",icon:"Sliders",badgeNumber:r.length>0?r.length:void 0,onClick:a,children:"Filters"})]})]}),jsxRuntime.jsxs("div",{className:"@[640px]:hidden",children:[jsxRuntime.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[e&&jsxRuntime.jsx("div",{className:"flex-1",children:jsxRuntime.jsx(Jr,{value:e.value,onChange:e.onChange,onClear:e.onClear,placeholder:e.placeholder})}),a&&jsxRuntime.jsx(q,{variant:"secondary",size:"sm",icon:"Sliders",badgeNumber:r.length>0?r.length:void 0,onClick:a,"aria-label":`Filters${r.length>0?` (${r.length} active)`:""}`})]}),jsxRuntime.jsxs("div",{className:"flex items-center justify-between gap-3",children:[s&&jsxRuntime.jsx(yn,{count:s.count,label:s.label,isLoading:s.isLoading}),l&&jsxRuntime.jsx(Cn,{value:l.value,options:l.options,onChange:l.onChange,showLabel:l.showLabel,direction:l.direction,onDirectionChange:l.onDirectionChange})]})]})]})}function ip({filters:e,onRemove:t,onClearAll:r,onManageFilters:o,maxVisibleChips:n=3,mode:a="chips",showManageButton:i=true,size:l="sm",className:s=""}){let c=e.length>0,p=e.slice(0,n),d=Math.max(0,e.length-n),m=d>0,u=a==="button"&&!!o,g=a==="chips"&&i&&!!o;if(!c&&!u&&!g)return null;let f=u&&jsxRuntime.jsxs(q,{variant:"secondary",size:l,onClick:o,className:"whitespace-nowrap",children:[e.length," ",e.length===1?"filter":"filters"]}),b=jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[g&&jsxRuntime.jsx(q,{variant:"secondary",size:l,icon:"Sliders",onClick:o,className:"whitespace-nowrap",children:"Filters"}),c&&p.map(y=>jsxRuntime.jsxs(xr,{variant:"secondary",size:l,onRemove:()=>t(y.id),isRemovable:true,children:[y.label,": ",y.value]},y.id)),c&&m&&o&&jsxRuntime.jsxs(q,{variant:"ghost",size:l,onClick:o,className:"text-text-muted hover:text-text-body whitespace-nowrap",children:["+",d," more"]}),c&&r&&jsxRuntime.jsx(q,{variant:"ghost",size:l,onClick:r,className:"text-text-muted hover:text-text-body whitespace-nowrap",children:"Clear all"})]}),x=a==="button"?f:b;return jsxRuntime.jsx("div",{className:`flex flex-wrap items-center gap-2 ${s}`,children:x})}function sp({label:e,description:t,errorMessage:r,showCalendar:o=false,...n}){let[a,i]=ir.useState(false),l=s=>{n.onChange&&s&&n.onChange(s),i(false);};return jsxRuntime.jsxs(reactAriaComponents.DateField,{...n,className:de(n.className,"flex flex-col gap-1"),children:[e&&jsxRuntime.jsx(ve,{children:e}),o?jsxRuntime.jsxs(ha,{className:"w-auto min-w-[208px]",children:[jsxRuntime.jsx(Lo,{className:"min-w-[150px] flex-1"}),jsxRuntime.jsxs(reactAriaComponents.DialogTrigger,{isOpen:a,onOpenChange:i,children:[jsxRuntime.jsx(q,{variant:"icon",className:"mr-1 w-6 rounded outline-offset-0",children:jsxRuntime.jsx(lucideReact.CalendarIcon,{"aria-hidden":true,className:"h-4 w-4"})}),jsxRuntime.jsx(reactAriaComponents.Popover,{children:jsxRuntime.jsx(reactAriaComponents.Dialog,{className:"p-4",children:jsxRuntime.jsx(wo,{value:n.value,onChange:l,minValue:n.minValue,maxValue:n.maxValue,isDisabled:n.isDisabled,isReadOnly:n.isReadOnly,isDateUnavailable:n.isDateUnavailable})})})]})]}):jsxRuntime.jsx(Lo,{}),t&&jsxRuntime.jsx(we,{children:t}),typeof r=="string"?jsxRuntime.jsx(be,{children:r}):null]})}function z0({isPlaceholder:e,isDisabled:t}){return ["inline box-content px-0.5 -my-0.5 rounded outline-none tabular-nums text-center transition-colors",e?"text-text-muted italic":"text-text-body",t?"text-text-disabled cursor-not-allowed":"cursor-text","hover:bg-text-body/5","data-[focused]:!outline-[1.5px] data-[focused]:!outline-[var(--control-focus-ring-color)] data-[focused]:![--tw-outline-style:solid]"].filter(Boolean).join(" ")}function Lo(e){return jsxRuntime.jsx(reactAriaComponents.DateInput,{className:t=>cn({...t,className:typeof e.className=="string"?e.className:"min-w-[150px] px-2 py-1.5 text-sm flex items-center gap-0.5"}),...e,children:t=>jsxRuntime.jsx(reactAriaComponents.DateSegment,{segment:t,className:z0({isPlaceholder:t.isPlaceholder,isDisabled:!t.isEditable})})})}function K0({selectionState:e,isDisabled:t}){let r=`${Se} w-full h-full flex items-center justify-center rounded-sm forced-color-adjust-none font-semibold`,o={none:"text-text-body group-hover:bg-background-muted group-pressed:bg-background-muted",middle:["bg-gray-100 dark:bg-zinc-700 group-hover:bg-gray-200 dark:group-hover:bg-zinc-600 forced-colors:group-hover:bg-[Highlight]","group-invalid:group-hover:bg-red-200 forced-colors:group-invalid:group-hover:bg-[Mark]","group-pressed:bg-gray-200 dark:group-pressed:bg-zinc-600 forced-colors:group-pressed:bg-[Highlight] forced-colors:text-[HighlightText]","group-invalid:group-pressed:bg-red-300 forced-colors:group-invalid:group-pressed:bg-[Mark]"].join(" "),cap:"bg-zinc-900 dark:bg-zinc-100 text-white dark:text-zinc-900 group-invalid:bg-red-600 forced-colors:bg-[Highlight] forced-colors:group-invalid:bg-[Mark] forced-colors:text-white"},n=t?"text-textFaint dark:text-zinc-600 forced-colors:text-textFaint font-light":"";return [r,o[e],n].filter(Boolean).join(" ")}function Eo({errorMessage:e,...t}){return jsxRuntime.jsxs(reactAriaComponents.RangeCalendar,{...t,children:[jsxRuntime.jsx(Sa,{}),jsxRuntime.jsxs(reactAriaComponents.CalendarGrid,{className:"w-full border-separate [border-spacing:0] [&_td]:p-0 [&_td]:!border-0",children:[jsxRuntime.jsx(wa,{}),jsxRuntime.jsx(reactAriaComponents.CalendarGridBody,{children:r=>jsxRuntime.jsx(reactAriaComponents.CalendarCell,{date:r,className:"selection-start:rounded-s-full selection-end:rounded-e-full [td:last-child_&]:rounded-e-end group h-9 w-9 cursor-default text-sm border-0 outside-month:text-gray-300 invalid:selected:bg-red-100 forced-colors:selected:bg-[Highlight] forced-colors:selected:text-white forced-colors:invalid:selected:bg-[Mark] [td:first-child_&]:rounded-s-full [&]:border-0",children:({formattedDate:o,isSelected:n,isSelectionStart:a,isSelectionEnd:i,isFocusVisible:l,isDisabled:s})=>jsxRuntime.jsx("span",{className:K0({selectionState:n&&(a||i)?"cap":n?"middle":"none",isDisabled:s}),children:o})})})]}),e&&jsxRuntime.jsx(reactAriaComponents.Text,{slot:"errorMessage",className:"text-sm text-red-600",children:e})]})}function Ia({label:e,description:t,errorMessage:r,...o}){return jsxRuntime.jsxs(reactAriaComponents.DateRangePicker,{...o,className:de(o.className,"group flex flex-col gap-1"),children:[e&&jsxRuntime.jsx(ve,{children:e}),jsxRuntime.jsxs(ha,{className:"w-auto min-w-[208px]",children:[jsxRuntime.jsx(Lo,{slot:"start",className:"px-2 py-1.5 text-sm"}),jsxRuntime.jsx("span",{"aria-hidden":"true",className:"text-gray-800 group-disabled:text-gray-200 dark:text-zinc-200 group-disabled:dark:text-zinc-600 forced-colors:text-[ButtonText] group-disabled:forced-colors:text-[GrayText]",children:"\u2013"}),jsxRuntime.jsx(Lo,{slot:"end",className:"flex-1 px-2 py-1.5 text-sm"}),jsxRuntime.jsx(q,{variant:"icon",className:"mr-1 w-6 rounded outline-offset-0",children:jsxRuntime.jsx(lucideReact.CalendarIcon,{"aria-hidden":true,className:"h-4 w-4"})})]}),t&&jsxRuntime.jsx(we,{children:t}),typeof r=="string"?jsxRuntime.jsx(be,{children:r}):null,jsxRuntime.jsx(We,{children:jsxRuntime.jsx(Eo,{})})]})}var $0=e=>{let t=Nt({isInvalid:e.isInvalid,isDisabled:e.isDisabled,isFocused:e.isFocused,transparent:e.transparent,size:e.size});return tailwindMerge.twMerge(t,"pr-9","[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none",e.className)};function Sn({label:e,description:t,errorMessage:r,size:o="md",tooltip:n,isRequired:a,transparent:i,validationResult:l,...s}){let c=ir.useId(),{isFocused:p,handleFocus:d,handleBlur:m}=Vt();return jsxRuntime.jsx(reactAriaComponents.NumberField,{...s,id:c,isRequired:a,className:de(s.className,"group flex flex-col gap-1"),step:s.step??1,onChange:u=>{typeof u=="number"&&(s.maxValue!=null&&u>s.maxValue?s.onChange?.(s.maxValue):s.minValue!=null&&u<s.minValue?s.onChange?.(s.minValue):s.onChange?.(u));},isInvalid:!!r||typeof s.value=="number"&&(s.maxValue!=null&&s.value>s.maxValue||s.minValue!=null&&s.value<s.minValue),children:({isDisabled:u,isInvalid:g})=>jsxRuntime.jsxs("div",{className:"flex flex-col",children:[e&&jsxRuntime.jsx(ve,{size:o,tooltip:n,isRequired:a,htmlFor:c,children:e}),jsxRuntime.jsx("div",{className:"relative",children:jsxRuntime.jsxs(reactAriaComponents.Group,{className:"relative",children:[jsxRuntime.jsx(reactAriaComponents.Input,{onFocus:b=>d(b,s.onFocus),onBlur:b=>m(b,s.onBlur),className:$0({isInvalid:g||!!r,isDisabled:u,isFocused:p,transparent:i,size:o,className:typeof s.className=="string"?s.className:void 0})}),jsxRuntime.jsxs("div",{className:"absolute inset-y-[2px] right-[2px] flex flex-col divide-y divide-border-default border-l border-border-default overflow-hidden rounded-r-[calc(var(--control-border-radius)-2px)]",children:[jsxRuntime.jsx(reactAriaComponents.Button,{slot:"increment",isDisabled:u,className:"flex h-1/2 w-7 items-center justify-center bg-background-input hover:bg-background-input-hover active:bg-background-input-active disabled:cursor-not-allowed disabled:opacity-50",children:jsxRuntime.jsx(P,{name:"CaretUp",size:14})}),jsxRuntime.jsx(reactAriaComponents.Button,{slot:"decrement",isDisabled:u,className:"flex h-1/2 w-7 items-center justify-center bg-background-input hover:bg-background-input-hover active:bg-background-input-active disabled:cursor-not-allowed disabled:opacity-50",children:jsxRuntime.jsx(P,{name:"CaretDown",size:14})})]})]})}),t&&jsxRuntime.jsx(we,{size:o,className:"mt-3",children:t}),r&&jsxRuntime.jsx(be,{size:o,className:"mt-3",children:typeof r=="function"?r(l):r})]})})}var xl={sm:{track:"h-4 w-7",handle:"h-3.5 w-3.5",text:"text-xs"},md:{track:"h-5 w-9",handle:"h-4 w-4",text:"text-sm"},lg:{track:"h-6 w-11",handle:"h-5 w-5",text:"text-base"},xl:{track:"h-7 w-14",handle:"h-6 w-6",text:"text-lg"}};function ev({isSelected:e,isDisabled:t,variant:r="default",size:o="md"}){let n="flex px-px items-center shrink-0 cursor-default rounded-full transition duration-200 ease-in-out shadow-inner border border-transparent",a=xl[o].track,i=Se,l=r==="brand"?"focus-visible:outline-action-brand":"focus-visible:outline-action-default",s="";return e?r==="brand"?s="bg-action-brand forced-colors:!bg-[Highlight] group-pressed:bg-action-brand-hover":s="bg-action-default forced-colors:!bg-[Highlight] group-pressed:bg-action-default-hover":s="bg-gray-400 dark:bg-zinc-400 group-pressed:bg-gray-500 dark:group-pressed:bg-zinc-300",[n,a,i,l,s,t?"bg-gray-200 dark:bg-zinc-700 forced-colors:group-selected:!bg-[GrayText] forced-colors:border-[GrayText]":""].filter(Boolean).join(" ")}function tv({isSelected:e,isDisabled:t,size:r="md"}){let o="transform rounded-full bg-white dark:bg-zinc-900 outline-none shadow transition duration-200 ease-in-out",n=xl[r].handle;return [o,n,e?"translate-x-[100%]":"translate-x-0",t?"forced-colors:outline-[GrayText]":""].filter(Boolean).join(" ")}function Ba({children:e,variant:t="default",size:r="md",...o}){return jsxRuntime.jsx(reactAriaComponents.Switch,{...o,className:de(o.className,`group flex items-center gap-2 ${xl[r].text} text-gray-800 transition disabled:text-gray-300 dark:text-zinc-200 dark:disabled:text-zinc-600 forced-colors:disabled:text-[GrayText]`),children:n=>jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("div",{className:ev({...n,variant:t,size:r}),children:jsxRuntime.jsx("span",{className:tv({...n,size:r})})}),e]})})}function pp({isOpen:e,onClose:t,facetConfigs:r,facetCounts:o={},currentFilters:n,onApply:a,onClear:i,title:l="Filters"}){let[s,c]=ir.useState(n),[p,d]=ir.useState({});ir.useEffect(()=>{e&&(c(n),d({}));},[e,n]);let m=()=>{a(s),t();},u=()=>{let h=hn();c(h),i?i():a(h),t();},g=h=>{if(!s)return [];if(!pl(s).includes(h))return [];let S=[];function w(N){if(N)for(let k of N.conditions)"conditions"in k?w(k):k.field===h&&k.operator==="in"&&Array.isArray(k.value)&&S.push(...k.value.map(String));}return w(s),S},f=(h,C,S)=>{let w=Yr(s,h);C!==void 0&&(w=vr(w,{field:h,operator:"gte",value:C})),S!==void 0&&(w=vr(w,{field:h,operator:"lte",value:S})),c(w);},b=h=>{if(!s)return;let C;function S(w){if(w)for(let N of w.conditions)"conditions"in N?S(N):N.field===h&&N.operator==="eq"&&typeof N.value=="boolean"&&(C=N.value);}return S(s),C},x=(h,C)=>{let S=Yr(s,h);C!==void 0&&(S=vr(S,{field:h,operator:"eq",value:C})),c(S);},y=(h,C,S)=>{let w=Yr(s,h);C&&(w=vr(w,{field:h,operator:"gte",value:C.toString()})),S&&(w=vr(w,{field:h,operator:"lte",value:S.toString()})),c(w);},v=h=>{let C=o[h.field]||{},S=p[h.field]||"",w=[];if(h.values?w=h.values.map(k=>({value:String(k.value),label:k.label,count:C[String(k.value)]})):w=Object.entries(C).map(([k,L])=>({value:k,label:k,count:L})),S){let k=S.toLowerCase();w=w.filter(L=>L.label.toLowerCase().includes(k));}w.sort((k,L)=>k.count!==void 0&&L.count!==void 0&&L.count!==k.count?L.count-k.count:k.label.localeCompare(L.label));let N=h.type||"string";if(N==="string"||!h.type){let k=g(h.field);return jsxRuntime.jsxs("div",{className:"space-y-3",children:[jsxRuntime.jsx("div",{className:"font-medium text-text-body",children:h.label}),w.length>10&&jsxRuntime.jsx(Jr,{value:S,onChange:L=>d(V=>({...V,[h.field]:L})),onClear:()=>d(L=>({...L,[h.field]:""})),placeholder:`Search ${h.label.toLowerCase()}...`,size:"sm"}),jsxRuntime.jsx(Xs,{value:k,onChange:L=>{let V=Yr(s,h.field);L.length>0&&(V=vr(V,{field:h.field,operator:"in",value:L})),c(V);},children:w.slice(0,50).map(L=>jsxRuntime.jsx(Gr,{value:L.value,children:jsxRuntime.jsxs("span",{className:"text-sm text-text-body",children:[L.label,L.count!==void 0&&jsxRuntime.jsxs("span",{className:"ml-2 text-text-muted",children:["(",L.count,")"]})]})},L.value))}),w.length>50&&jsxRuntime.jsxs("div",{className:"text-sm text-text-muted",children:["Showing first 50 of ",w.length," options. Use search to narrow down."]})]})}if(N==="number"){let k,L,V=H=>{if(H)for(let K of H.conditions)"conditions"in K?V(K):K.field===h.field&&(K.operator==="gte"&&typeof K.value=="number"&&(k=K.value),K.operator==="lte"&&typeof K.value=="number"&&(L=K.value));};return V(s),jsxRuntime.jsxs("div",{className:"space-y-3",children:[jsxRuntime.jsx("div",{className:"font-medium text-text-body",children:h.label}),jsxRuntime.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[jsxRuntime.jsx(Sn,{label:"Min",value:k,onChange:H=>f(h.field,H,L)}),jsxRuntime.jsx(Sn,{label:"Max",value:L,onChange:H=>f(h.field,k,H)})]})]})}if(N==="boolean"){let k=b(h.field);return jsxRuntime.jsx("div",{className:"space-y-3",children:jsxRuntime.jsxs("div",{className:"flex items-center justify-between",children:[jsxRuntime.jsx("span",{className:"font-medium text-text-body",children:h.label}),jsxRuntime.jsx(Ba,{size:"lg",isSelected:k??false,onChange:L=>x(h.field,L?true:void 0),children:k?"Yes":"No"})]})})}return N==="date"?jsxRuntime.jsxs("div",{className:"space-y-3",children:[jsxRuntime.jsx("div",{className:"font-medium text-text-body",children:h.label}),jsxRuntime.jsx(Ia,{label:"Date Range",onChange:k=>{k?y(h.field,k.start,k.end):y(h.field,void 0,void 0);}})]}):null};return jsxRuntime.jsx(fr,{isOpen:e,onClose:t,title:l,primaryAction:{label:"Apply",onPress:m,variant:"default"},secondaryAction:{label:"Clear all",onPress:u},maxWidth:"500px",children:jsxRuntime.jsxs("div",{className:"space-y-6",children:[r.length===0&&jsxRuntime.jsx("div",{className:"text-text-muted",children:"No filters available"}),r.map((h,C)=>jsxRuntime.jsxs("div",{children:[v(h),C<r.length-1&&jsxRuntime.jsx("div",{className:"mt-6 border-t border-border-muted"})]},h.field))]})})}function hl(e="left"){switch(e){case "center":return "justify-center text-center";case "right":return "justify-end text-right";default:return "justify-start text-left"}}function vt(e="normal",t){return tailwindMerge.twMerge({strong:"font-semibold text-text-body",high:"font-semibold text-text-body",normal:"text-text-body",low:"text-text-muted"}[e],t&&"hover:text-action-brand cursor-pointer transition-colors")}function fe(e="left",t){return tailwindMerge.twMerge("flex items-center gap-1",hl(e),t)}function za(e,t="\u2014"){return e==null||e===""?t:String(e)}var Cr={xs:"h-4 w-12",sm:"h-4 w-20",md:"h-4 w-24",lg:"h-4 w-32",xl:"h-4 w-40"};function Ct(e="normal"){return {strong:Cr.lg,high:Cr.lg,normal:Cr.md,low:Cr.sm}[e]}function le(e,t){return typeof e=="function"?e(t):e}function mp(e="neutral",t="sm"){return tailwindMerge.twMerge("inline-flex items-center rounded-full font-medium",t==="sm"?"px-2 py-0.5 text-xs":"px-2.5 py-1 text-sm",{success:"bg-green-100 text-green-800",error:"bg-red-100 text-red-800",warning:"bg-yellow-100 text-yellow-800",info:"bg-blue-100 text-blue-800",neutral:"bg-gray-100 text-gray-800"}[e])}function fp(e){return e?"success":"neutral"}function Oa(e,t=false){return t?e>0?"text-green-600":e<0?"text-red-600":"text-text-body":"text-text-body"}function yl(e="hover",t="default"){let r={default:"text-action-primary hover:text-action-primary-hover visited:text-action-primary",brand:"text-action-brand hover:text-action-brand-hover visited:text-action-brand",muted:"text-text-muted hover:text-text-muted visited:text-text-muted",unstyled:""},o={visible:"underline underline-offset-4 decoration-1 cursor-pointer",hover:"hover:underline hover:underline-offset-4 hover:decoration-1 cursor-pointer transition-colors",none:"cursor-pointer"},n=r[t],a=o[e]||"";return `${n} ${a}`.trim()}function Kt(e,t,r,o="hover",n="default",a,i){if(!t)return e;let l=typeof t=="function"&&r?t(r):t,s=yl(o,n);return jsxRuntime.jsx("a",{href:l,className:tailwindMerge.twMerge(s,a==="strong"||a==="high"?"font-semibold":"",i),onClick:p=>{p.metaKey||p.ctrlKey;},children:e})}function gp({row:e,context:t,actions:r,align:o="right",size:n="sm"}){let{isLoading:a}=t;if(a)return jsxRuntime.jsx(F,{className:Cr.sm});let i=r.filter(s=>!le(s.hidden,e));if(i.length===0)return null;let l=fe(o);return jsxRuntime.jsx("div",{className:l,children:i.map(s=>{let c=le(s.disabled,e);return s.variant==="icon"||!s.label?jsxRuntime.jsx(q,{variant:"icon",size:n,onPress:()=>{s.onClick(e);},isDisabled:c,"aria-label":s.label||s.id,children:jsxRuntime.jsx(P,{name:s.icon||"DotsThree",size:n==="sm"?16:20})},s.id):jsxRuntime.jsxs(q,{variant:s.variant||"secondary",size:n,onPress:()=>{s.onClick(e);},isDisabled:c,children:[s.icon&&jsxRuntime.jsx(P,{name:s.icon,size:n==="sm"?14:16}),s.label]},s.id)})})}function bp({value:e,context:t,format:r="icon",trueText:o="Yes",falseText:n="No",trueIcon:a="Check",falseIcon:i="X",showFalse:l=true,align:s="center",emphasis:c="normal",className:p}){let{isLoading:d}=t;if(d)return jsxRuntime.jsx(F,{className:Ct(c)});let m=!!e;if(!m&&!l)return jsxRuntime.jsx("div",{className:fe(s,p)});let u=fe(s,p);switch(r){case "icon":return jsxRuntime.jsx("div",{className:u,children:jsxRuntime.jsx(P,{name:m?a:i,size:16,className:m?"text-green-600":"text-gray-400"})});case "text":return jsxRuntime.jsx("div",{className:u,children:jsxRuntime.jsx("span",{className:vt(c),children:m?o:n})});case "badge":return jsxRuntime.jsx("div",{className:u,children:jsxRuntime.jsx(Ee,{variant:m?"success":"neutral",size:"sm",children:m?o:n})});default:return null}}function hp({row:e,context:t,firstName:r,lastName:o,email:n,avatarUrl:a,layout:i="stacked",size:l="sm",href:s,LinkComponent:c,linkVariant:p="default",showEmail:d=false,emphasis:m="normal",align:u="left",className:g}){let{isLoading:f}=t,b=le(r,e),x=le(o,e),y=le(n,e),v=le(a,e),h=le(s,e),C=fe(u,g);return jsxRuntime.jsx("div",{className:C,children:jsxRuntime.jsx(Na,{firstName:b,lastName:x,email:y,avatarUrl:v,layout:i,size:l,href:h,LinkComponent:c,linkVariant:p,showEmail:d,emphasis:m,isLoading:f})})}function yp({value:e,row:t,context:r,format:o="date",customFormat:n,emptyText:a="\u2014",align:i="left",emphasis:l="normal",href:s,linkBehavior:c="hover",className:p}){let{isLoading:d}=r;if(d)return jsxRuntime.jsx(F,{className:Ct(l)});if(!e)return jsxRuntime.jsx("div",{className:fe(i,"text-text-muted"),children:a});let m=e instanceof Date?e:new Date(e);if(isNaN(m.getTime()))return jsxRuntime.jsx("div",{className:fe(i,"text-text-muted"),children:a});let u;switch(o){case "date":u=m.toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"});break;case "time":u=m.toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit"});break;case "datetime":u=m.toLocaleString("en-US",{year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"});break;case "relative":u=lv(m);break;case "custom":u=n?m.toLocaleString("en-US",n):m.toISOString();break;default:u=m.toLocaleDateString();}let g=fe(i,tailwindMerge.twMerge(vt(l),p)),f=le(s,t);return f?jsxRuntime.jsx("div",{className:g,children:Kt(u,f,t,c)}):jsxRuntime.jsx("div",{className:g,children:u})}function lv(e){let r=new Date().getTime()-e.getTime(),o=Math.floor(r/1e3),n=Math.floor(o/60),a=Math.floor(n/60),i=Math.floor(a/24);return o<60?"just now":n<60?`${n} minute${n!==1?"s":""} ago`:a<24?`${a} hour${a!==1?"s":""} ago`:i<7?`${i} day${i!==1?"s":""} ago`:e.toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"})}function Ha({manufacturer:e,model:t,deviceType:r,logoUrl:o,layout:n="stacked",size:a="md",href:i,LinkComponent:l,linkVariant:s="unstyled",showDeviceTypeIcon:c=true,showLogo:p=true,emphasis:d="normal",isLoading:m=false,className:u}){let[g,f]=ir.useState(false),x={xs:{iconSize:20,logoSize:"w-5 h-5",gap:"gap-1.5",textSize:"text-xs",secondaryTextSize:"text-xs",iconInTextSize:12,skeletonIcon:20,skeletonText:80,skeletonSecondary:60},sm:{iconSize:24,logoSize:"w-6 h-6",gap:"gap-2",textSize:"text-sm",secondaryTextSize:"text-xs",iconInTextSize:14,skeletonIcon:24,skeletonText:96,skeletonSecondary:72},md:{iconSize:32,logoSize:"w-9 h-9",gap:"gap-3",textSize:"text-base",secondaryTextSize:"text-sm",iconInTextSize:16,skeletonIcon:36,skeletonText:128,skeletonSecondary:96},lg:{iconSize:40,logoSize:"w-10 h-10",gap:"gap-3",textSize:"text-lg",secondaryTextSize:"text-base",iconInTextSize:18,skeletonIcon:40,skeletonText:160,skeletonSecondary:120}}[a],y=o&&!g&&p,h={strong:"font-semibold text-text-body",high:"font-semibold text-text-body",normal:"text-text-body",low:"text-text-muted"}[d],C=({children:S,className:w})=>i?l?jsxRuntime.jsx(l,{href:i,className:w,children:S}):jsxRuntime.jsx(kt,{href:i,variant:s,className:tailwindMerge.twMerge("hover:underline",w),asButton:false,children:S}):jsxRuntime.jsx("span",{className:w,children:S});if(m)return n==="inline"?jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("flex items-center",x.gap,u),children:[jsxRuntime.jsx(F,{width:x.skeletonIcon,height:x.skeletonIcon,className:"flex-shrink-0 rounded"}),jsxRuntime.jsx(F,{width:x.skeletonText,height:x.skeletonIcon*.6})]}):jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("flex items-center",x.gap,u),children:[jsxRuntime.jsx(F,{width:x.skeletonIcon,height:x.skeletonIcon,className:"flex-shrink-0"}),jsxRuntime.jsxs("div",{className:"flex flex-col gap-1",children:[jsxRuntime.jsx(F,{width:x.skeletonText,height:16}),jsxRuntime.jsx(F,{width:x.skeletonSecondary,height:12})]})]});if(n==="inline"){let S=`${e} ${t}`;return jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("flex items-center",x.gap,u),children:[jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex-shrink-0 flex items-center justify-center rounded border border-border-muted",x.logoSize),children:y?jsxRuntime.jsx("img",{src:o,alt:`${e} logo`,className:"w-full h-full object-contain",onError:()=>f(true)}):jsxRuntime.jsx(P,{name:vl(r),size:x.iconSize*.6,className:"text-text-muted"})}),jsxRuntime.jsx(C,{className:tailwindMerge.twMerge("truncate leading-normal hover:text-text-body",h,x.textSize,i&&"hover:underline hover:decoration-1 hover:underline-offset-4"),children:S})]})}return jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("flex items-center justify-start",x.gap,u),children:[p&&jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex-shrink-0 flex items-center justify-center rounded border border-border-muted",x.logoSize),children:y?jsxRuntime.jsx("img",{src:o,alt:`${e} logo`,className:"w-full h-full object-contain",onError:()=>f(true)}):jsxRuntime.jsx(P,{name:vl(r),size:x.iconSize*.6,className:"text-text-muted"})}),jsxRuntime.jsxs("div",{className:"flex flex-col items-start min-w-0",children:[jsxRuntime.jsx(C,{className:tailwindMerge.twMerge("truncate leading-normal hover:text-text-body",h,x.textSize,i&&"hover:underline hover:decoration-1 hover:underline-offset-4"),children:e}),jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("flex items-center gap-1.5 text-text-muted leading-normal",x.secondaryTextSize),children:[c&&jsxRuntime.jsx(P,{name:vl(r),size:x.iconInTextSize,className:"flex-shrink-0"}),jsxRuntime.jsx("span",{className:"truncate",children:t})]})]})]})}function vl(e){switch(e){case "battery":return "BatteryHigh";case "charger":return "ChargingStation";case "inverter":return "Power";case "thermostat":return "ThermometerSimple";case "vehicle":return "CarSimple";default:return "DeviceMobile"}}function Cp({row:e,context:t,manufacturer:r,model:o,deviceType:n,logoUrl:a,layout:i="stacked",size:l="sm",href:s,LinkComponent:c,linkVariant:p="default",showDeviceTypeIcon:d=true,showLogo:m=true,emphasis:u="normal",align:g="left",className:f}){let{isLoading:b}=t,x=le(r,e),y=le(o,e),v=le(n,e),h=le(a,e),C=le(s,e),S=fe(g,f);return jsxRuntime.jsx("div",{className:S,children:jsxRuntime.jsx(Ha,{manufacturer:x,model:y,deviceType:v,logoUrl:h,layout:i,size:l,href:C,LinkComponent:c,linkVariant:p,showDeviceTypeIcon:d,showLogo:m,emphasis:u,isLoading:b})})}var kA={charging:"percentage",discharging:"percentage",on:"kW",idle:void 0,off:void 0,heat:"temperature",cool:"temperature",auto:"temperature",eco:"temperature",unknown:void 0},dv=["charging","discharging","heat","cool","on"],uv={unknown:"Unknown",on:"On",off:"Off",idle:"Idle",charging:"Charging",discharging:"Discharging",heat:"Heating",eco:"Eco Mode",cool:"Cooling",auto:"Auto"};function Cl(e){return dv.includes(e)}function Sl(e){return uv[e]}function Xr({state:e,label:t,icon:r,isLoading:o,size:n="sm",shape:a="pill",dot:i,dotPulse:l,fixedWidth:s,className:c,...p}){if(o)return jsxRuntime.jsx(F,{className:"inline-flex h-6 w-20"});let d=t??Sl(e),m=Cl(e);return jsxRuntime.jsxs(Ee,{variant:e,size:n,shape:a,dot:i??m,dotPulse:l??m,className:s?`w-28 justify-center ${c||""}`:c,...p,children:[r&&jsxRuntime.jsx(P,{name:r,size:n==="sm"?12:n==="md"?14:16}),d]})}var mv={importing:"Importing",exporting:"Exporting"};function wp(e){return mv[e]}function Ga({state:e,label:t,showIcon:r=false,isLoading:o,size:n="sm",shape:a="pill",fixedWidth:i,className:l,...s}){if(o)return jsxRuntime.jsx(F,{className:"inline-flex h-6 w-24"});let c=t??wp(e),p=r?e==="exporting"?"ArrowUp":"ArrowDown":void 0;return jsxRuntime.jsxs(Ee,{variant:e,size:n,shape:a,className:i?`w-28 justify-center ${l||""}`:l,...s,children:[p&&jsxRuntime.jsx(P,{name:p,size:n==="sm"?12:n==="md"?14:16}),c]})}function Wa({state:e,stateLabel:t,metric:r,metricFormatter:o,secondaryState:n,layout:a="horizontal",isLoading:i,size:l="sm",shape:s="pill",icon:c,fixedWidth:p,className:d}){if(i)return jsxRuntime.jsx(F,{className:tailwindMerge.twMerge("inline-flex h-6 w-32",d)});let m=r!=null&&o?Ar(r,o):null,u=a==="horizontal",g=o&&!m;return jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("inline-flex items-center",u?"gap-2":"flex-col gap-1",d),children:[(m||g)&&jsxRuntime.jsx("span",{className:tailwindMerge.twMerge("font-medium inline-block",m?"text-text-body":"text-text-caption",l==="sm"&&"text-xs min-w-12",l==="md"&&"text-sm min-w-14",l==="lg"&&"text-base min-w-16"),children:m||"\u2014"}),jsxRuntime.jsx(Xr,{state:e,label:t,icon:c,size:l,shape:s,fixedWidth:p}),n&&jsxRuntime.jsx(jsxRuntime.Fragment,{children:n==="importing"||n==="exporting"?jsxRuntime.jsx(Ga,{state:n,size:l,shape:s,fixedWidth:p}):jsxRuntime.jsx(Xr,{state:n,size:l,shape:s,fixedWidth:p})})]})}function kp({value:e,row:t,context:r,metric:o,metricFormatter:n,secondaryState:a,size:i="sm",shape:l="pill",label:s,icon:c,fixedWidth:p=true,align:d="left",className:m}){let{isLoading:u}=r;if(u)return jsxRuntime.jsx(F,{className:"inline-flex h-6 w-32"});if(!e)return jsxRuntime.jsx("div",{className:fe(d,m),children:jsxRuntime.jsx("span",{className:"text-text-muted",children:"\u2014"})});let g=le(o,t),f=le(a,t),b=typeof s=="function"?s(e,t):s,x=fe(d,m);return g!=null||n?jsxRuntime.jsx("div",{className:tailwindMerge.twMerge(x),children:jsxRuntime.jsx(Wa,{state:e,stateLabel:b,metric:g,metricFormatter:n,secondaryState:f||void 0,size:i,shape:l,icon:c,fixedWidth:p,layout:"horizontal"})}):jsxRuntime.jsx("div",{className:x,children:jsxRuntime.jsx(Xr,{state:e,label:b,icon:c,size:i,shape:l,fixedWidth:p})})}function Pp({value:e,row:t,context:r,formatter:o,align:n="left",emphasis:a="normal",href:i,linkBehavior:l="hover",className:s,emptyText:c="\u2014",emptyClassName:p="text-text-muted"}){let{isLoading:d}=r;if(d)return jsxRuntime.jsx(F,{className:Ct(a)});let m=Lt({value:e,formatter:o,emptyText:c,emptyClassName:p}),u=vt(a),g=fe(n,tailwindMerge.twMerge(u,s)),f=jsxRuntime.jsx("div",{className:g,children:m}),b=le(i,t);return b?Kt(f,b,t,l):f}function Dp({value:e,row:t,context:r,format:o="number",decimals:n=0,prefix:a,suffix:i,emptyText:l="\u2014",align:s="right",emphasis:c="normal",href:p,linkBehavior:d="hover",showPositiveSign:m=false,colorCode:u=false,className:g}){let{isLoading:f}=r;if(f)return jsxRuntime.jsx(F,{className:Ct(c)});if(e==null||isNaN(Number(e)))return jsxRuntime.jsx("div",{className:fe(s,"text-text-muted"),children:l});let b=Number(e),x;switch(o){case "currency":x=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:n,maximumFractionDigits:n}).format(b);break;case "percent":x=new Intl.NumberFormat("en-US",{style:"percent",minimumFractionDigits:n,maximumFractionDigits:n}).format(b/100);break;case "compact":x=new Intl.NumberFormat("en-US",{notation:"compact",minimumFractionDigits:n>0?1:0,maximumFractionDigits:n}).format(b);break;default:x=new Intl.NumberFormat("en-US",{minimumFractionDigits:n,maximumFractionDigits:n}).format(b);}let v=`${m&&b>0?"+":""}${x}`,h=u?Oa(b,true):vt(c),C=fe(s,tailwindMerge.twMerge(h,g)),S=jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[a&&jsxRuntime.jsx("span",{className:"text-text-muted",children:a}),jsxRuntime.jsx("span",{children:v}),i&&jsxRuntime.jsx("span",{className:"text-text-muted",children:i})]}),w=le(p,t);return w?jsxRuntime.jsx("div",{className:C,children:Kt(S,w,t,d)}):jsxRuntime.jsx("div",{className:C,children:S})}function Rp({row:e,context:t,isSelected:r=false,onSelect:o,isDisabled:n=false,align:a="center"}){let{isLoading:i}=t;if(i)return jsxRuntime.jsx("div",{className:fe(a),children:jsxRuntime.jsx(F,{className:"h-4 w-4 rounded"})});let l=le(n,e),s=fe(a);return jsxRuntime.jsx("div",{className:s,children:jsxRuntime.jsx(Gr,{isSelected:r,onChange:c=>{o?.(e,c);},isDisabled:l,"aria-label":"Select row"})})}function Ka({streetAddress:e,city:t,state:r,postalCode:o,layout:n="stacked",size:a="md",href:i,LinkComponent:l,linkVariant:s="unstyled",emphasis:c="normal",isLoading:p=false,className:d}){let u={xs:{iconSize:16,gap:"gap-1.5",textSize:"text-xs",secondaryTextSize:"text-xs",skeletonIcon:16,skeletonText:80,skeletonSecondary:60},sm:{iconSize:20,gap:"gap-2",textSize:"text-sm",secondaryTextSize:"text-xs",skeletonIcon:20,skeletonText:96,skeletonSecondary:72},md:{iconSize:24,gap:"gap-3",textSize:"text-base",secondaryTextSize:"text-sm",skeletonIcon:24,skeletonText:128,skeletonSecondary:96},lg:{iconSize:28,gap:"gap-3",textSize:"text-lg",secondaryTextSize:"text-base",skeletonIcon:28,skeletonText:160,skeletonSecondary:120}}[a],f={strong:"font-semibold text-text-body",high:"font-semibold text-text-body",normal:"text-text-body",low:"text-text-muted"}[c],b=[];t&&b.push(t),r&&o?b.push(`${r} ${o}`):r?b.push(r):o&&b.push(o);let x=b.join(", "),y=({children:v,className:h})=>i?l?jsxRuntime.jsx(l,{href:i,className:h,children:v}):jsxRuntime.jsx(kt,{href:i,variant:s,className:tailwindMerge.twMerge("hover:underline",h),asButton:false,children:v}):jsxRuntime.jsx("span",{className:h,children:v});return p?n==="inline"?jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("flex items-center",u.gap,d),children:[jsxRuntime.jsx(F,{width:u.skeletonIcon,height:u.skeletonIcon,className:"flex-shrink-0 rounded"}),jsxRuntime.jsx(F,{width:u.skeletonText,height:u.skeletonIcon*.8})]}):jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("flex items-center",u.gap,d),children:[jsxRuntime.jsx(F,{width:u.skeletonIcon,height:u.skeletonIcon,className:"flex-shrink-0 rounded"}),jsxRuntime.jsxs("div",{className:"flex flex-col gap-1",children:[jsxRuntime.jsx(F,{width:u.skeletonText,height:16}),jsxRuntime.jsx(F,{width:u.skeletonSecondary,height:12})]})]}):n==="inline"?jsxRuntime.jsxs(y,{className:tailwindMerge.twMerge("flex items-center",u.gap,i&&"hover:bg-background-hover transition-colors",d),children:[jsxRuntime.jsx(P,{name:"MapPin",size:u.iconSize,className:"text-text-muted flex-shrink-0"}),jsxRuntime.jsx("span",{className:tailwindMerge.twMerge("leading-normal truncate hover:text-text-body",f,u.textSize,i&&"hover:underline hover:decoration-1 hover:underline-offset-4"),children:e})]}):jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("flex items-center justify-start",u.gap,d),children:[jsxRuntime.jsx(P,{name:"MapPin",size:u.iconSize,className:"text-text-muted flex-shrink-0"}),jsxRuntime.jsxs("div",{className:"flex flex-col items-start min-w-0",children:[jsxRuntime.jsx(y,{className:tailwindMerge.twMerge("leading-normal truncate hover:text-text-body",f,u.textSize,i&&"hover:underline hover:decoration-1 hover:underline-offset-4"),children:e}),x&&jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("text-text-caption leading-normal truncate",u.secondaryTextSize),children:x})]})]})}function Mp({row:e,context:t,streetAddress:r,city:o,state:n,postalCode:a,layout:i="stacked",size:l="sm",href:s,LinkComponent:c,linkVariant:p="default",emphasis:d="normal",align:m="left",className:u}){let{isLoading:g}=t,f=le(r,e),b=le(o,e),x=le(n,e),y=le(a,e),v=le(s,e),h=fe(m,u);return jsxRuntime.jsx("div",{className:h,children:jsxRuntime.jsx(Ka,{streetAddress:f,city:b,state:x,postalCode:y,layout:i,size:l,href:v,LinkComponent:c,linkVariant:p,emphasis:d,isLoading:g})})}function Lp({value:e,row:t,context:r,prefix:o,suffix:n,emptyText:a="\u2014",href:i,linkBehavior:l="hover",linkVariant:s="default",emphasis:c="normal",truncate:p=true,align:d="left",className:m}){let{isLoading:u}=r;if(u)return jsxRuntime.jsx(F,{className:Ct(c)});let g=za(e,a),f=le(i,t),b=jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[o&&jsxRuntime.jsx("span",{className:"text-text-muted",children:o}),jsxRuntime.jsx("span",{className:p?"truncate":"",children:g}),n&&jsxRuntime.jsx("span",{className:"text-text-muted",children:n})]});if(f){let y=fe(d,m);return jsxRuntime.jsx("div",{className:y,children:Kt(b,f,t,l,s,c)})}let x=fe(d,tailwindMerge.twMerge(vt(c),m));return jsxRuntime.jsx("div",{className:x,children:b})}var kv={sm:"sm:hidden",md:"md:hidden",lg:"lg:hidden",xl:"xl:hidden"},Tv={sm:"hidden sm:grid",md:"hidden md:grid",lg:"hidden lg:grid",xl:"hidden xl:grid"};function Ya(e,t){return t.accessor?typeof t.accessor=="function"?t.accessor(e):e[t.accessor]:null}function Ja(e,t,r,o){if(r.cell){let n=r.cell,a=typeof r.cellProps=="function"?r.cellProps(e,t):r.cellProps;return jsxRuntime.jsx(n,{value:e,row:t,context:o,...a})}return r.render?r.render(e,t,o):e?.toString()??"\u2014"}function Xa({row:e,columns:t,density:r,isLoading:o,onClick:n}){let a=t.filter(d=>d.mobile!==false).map(d=>{let m=d.mobile===false?null:d.mobile;return {...d,mobilePriority:m?.priority??2,mobileFormat:m?.format??"secondary",showLabel:m?.label??m?.format==="secondary",icon:m?.icon}}).sort((d,m)=>d.mobilePriority-m.mobilePriority),i=a.filter(d=>d.mobilePriority===1||d.mobileFormat==="primary"),l=a.filter(d=>d.mobilePriority===2&&d.mobileFormat!=="primary"),s=a.filter(d=>d.mobileFormat==="badge"),c={isLoading:!!o,rowIndex:0,columnIndex:0,density:r};return jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("border-b border-border-default bg-background-surface transition-colors",n&&"cursor-pointer hover:bg-background-hover active:bg-background-pressed",{compact:"px-3 py-2",default:"px-4 py-3",relaxed:"px-4 py-4"}[r]),onClick:n,role:n?"button":void 0,tabIndex:n?0:void 0,children:[i.length>0&&jsxRuntime.jsxs("div",{className:"mb-2 flex items-start justify-between",children:[jsxRuntime.jsx("div",{className:"flex-1",children:i.map(d=>{let m=Ya(e,d);return jsxRuntime.jsx("div",{className:"font-medium text-text-body [&>*]:!justify-start [&>*]:!text-left",children:Ja(m,e,d,c)},d.id)})}),s.length>0&&jsxRuntime.jsx("div",{className:"ml-2 flex flex-wrap gap-1",children:s.map(d=>{let m=Ya(e,d);return jsxRuntime.jsx("div",{className:"inline-flex",children:Ja(m,e,d,c)},d.id)})})]}),l.length>0&&jsxRuntime.jsx("div",{className:"space-y-1",children:l.map(d=>{let m=Ya(e,d),u=d.showLabel&&d.label;return jsxRuntime.jsxs("div",{className:"flex items-center text-sm text-text-muted",children:[d.icon&&jsxRuntime.jsx(P,{name:d.icon,className:"mr-1.5 h-4 w-4 flex-shrink-0"}),u&&jsxRuntime.jsxs("span",{className:"mr-1 font-medium",children:[d.label,":"]}),jsxRuntime.jsx("span",{className:"truncate [&>*]:!justify-start [&>*]:!text-left",children:Ja(m,e,d,c)})]},d.id)})})]})}function qa({row:e,columns:t,density:r,isLoading:o,onClick:n}){let a=t.filter(s=>s.mobile!==false),i={isLoading:!!o,rowIndex:0,columnIndex:0,density:r};return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("border-b border-border-default bg-background-surface transition-colors",n&&"cursor-pointer hover:bg-background-hover active:bg-background-pressed",{compact:"px-3 py-2",default:"px-4 py-3",relaxed:"px-4 py-4"}[r]),onClick:n,role:n?"button":void 0,tabIndex:n?0:void 0,children:jsxRuntime.jsx("div",{className:"space-y-2",children:a.map((s,c)=>{let p=Ya(e,s),d=c===0;return jsxRuntime.jsxs("div",{children:[!d&&jsxRuntime.jsx("div",{className:"text-xs text-text-muted",children:s.label}),jsxRuntime.jsx("div",{className:tailwindMerge.twMerge(d?"font-medium text-text-body":"text-sm text-text-body","[&>*]:!justify-start [&>*]:!text-left"),children:Ja(p,e,s,i)})]},s.id)})})})}function Fp(e="md"){return {mobile:kv[e],desktop:Tv[e]}}function Ep({density:e}){return jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("border-b border-border-default bg-background-surface",{compact:"px-3 py-2",default:"px-4 py-3",relaxed:"px-4 py-4"}[e]),children:[jsxRuntime.jsx("div",{className:"mb-2 h-5 w-3/4 animate-pulse rounded bg-background-muted"}),jsxRuntime.jsxs("div",{className:"space-y-1",children:[jsxRuntime.jsx("div",{className:"h-4 w-1/2 animate-pulse rounded bg-background-muted"}),jsxRuntime.jsx("div",{className:"h-4 w-2/3 animate-pulse rounded bg-background-muted"})]})]})}var kl={compact:"py-1.5 px-3 text-sm",default:"py-3 px-4 text-sm",relaxed:"py-4 px-4 text-base"},Tl={left:"text-left justify-start",center:"text-center justify-center",right:"text-right justify-end"},Rv={full:"w-full",auto:"w-auto inline-block",contained:"w-full max-w-6xl mx-auto"},Av={auto:"table-auto",fixed:"table-fixed",responsive:"table-auto"};function Pl(e){let t={};return e.width!==void 0&&(t.width=typeof e.width=="number"?`${e.width}px`:e.width),e.minWidth!==void 0&&(t.minWidth=typeof e.minWidth=="number"?`${e.minWidth}px`:e.minWidth),e.maxWidth!==void 0&&(t.maxWidth=typeof e.maxWidth=="number"?`${e.maxWidth}px`:e.maxWidth),e.flex!==void 0&&(t.flex=`${e.flex} 1 0`),t}function Mv(e,t){return t.accessor?typeof t.accessor=="function"?t.accessor(e):e[t.accessor]:null}function Lv({column:e,sortConfig:t,onSort:r,stickyHeader:o,density:n="default"}){let a=t?.columnId===e.id,i=a?t.direction:null;return jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("flex items-center gap-1 border-b border-border-default bg-background-surface font-medium text-text-muted",kl[n],Tl[e.align||"left"],o&&"sticky top-0 z-10",e.sortable&&"cursor-pointer hover:bg-background-hover"),onClick:()=>e.sortable&&r(e.id),role:"columnheader","aria-sort":a?i==="asc"?"ascending":"descending":"none",style:Pl(e),children:[jsxRuntime.jsx("span",{className:"truncate",children:e.label}),e.sortable&&jsxRuntime.jsx("div",{className:"flex flex-col",children:jsxRuntime.jsx(P,{name:i==="asc"?"CaretUp":i==="desc"?"CaretDown":"CaretUp",size:12,className:a?"text-text-body":"text-text-muted opacity-50"})})]})}function Fv({column:e,row:t,rowIndex:r,columnIndex:o,isHovered:n,density:a="default",className:i}){let l=Mv(t,e),s={isLoading:false,isHovered:n,rowIndex:r,columnIndex:o,density:a},c;if(e.cell){let p=e.cell,d=typeof e.cellProps=="function"?e.cellProps(l,t):e.cellProps;c=jsxRuntime.jsx(p,{value:l,row:t,context:s,...d});}else e.render?c=e.render(l,t,s):c=jsxRuntime.jsx("span",{className:"truncate",children:l?.toString()??""});return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex items-center border-b border-border-default",kl[a],Tl[e.align||"left"],i),role:"cell",style:Pl(e),children:c})}function Ev({column:e,rowIndex:t,columnIndex:r,density:o="default"}){let n={isLoading:true,rowIndex:t,columnIndex:r,density:o},a;if(e.cell){let i=e.cell,l=typeof e.cellProps=="function"?e.cellProps(null,{}):e.cellProps;a=jsxRuntime.jsx(i,{value:null,row:{},context:n,...l});}else e.render?a=e.render(null,{},n):a=jsxRuntime.jsx(F,{className:"h-4 w-full max-w-[200px]"});return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex items-center border-b border-border-default",kl[o],Tl[e.align||"left"]),role:"cell",style:Pl(e),children:a})}function Ip({columns:e,row:t,rowIndex:r,density:o="default",onClick:n}){let[a,i]=ir.useState(false),l=ir.useCallback(()=>{n&&n(t);},[n,t]);return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("contents group",n&&"cursor-pointer"),role:"row",onClick:l,onMouseEnter:()=>i(true),onMouseLeave:()=>i(false),children:e.map((s,c)=>jsxRuntime.jsx(Fv,{column:s,row:t,rowIndex:r,columnIndex:c,isHovered:a,density:o,className:n?"group-hover:bg-background-hover":""},s.id))})}function Bp({columns:e,rowIndex:t,density:r="default"}){return jsxRuntime.jsx("div",{className:"contents",role:"row",children:e.map((o,n)=>jsxRuntime.jsx(Ev,{column:o,rowIndex:t,columnIndex:n,density:r},o.id))})}function Op({columns:e,data:t,className:r,density:o="default",width:n="full",height:a,maxHeight:i,layout:l="auto",mobileRenderer:s="auto",customMobileRowRender:c,mobileBreakpoint:p="md",isLoading:d=false,loadingState:m,loadingRowCount:u=5,onLoadMore:g,hasMore:f=false,enableVirtualization:b,estimatedRowHeight:x,loadingIndicator:y,stickyHeader:v=false,onRowClick:h,getRowId:C,hideHeader:S=false,onSort:w,"aria-label":N}){let[k,L]=ir.useState(null),V=ir.useRef(null),H=g?cr({items:t,onLoadMore:g,hasMore:f,isLoading:d,loadingState:m,enableVirtualization:b,estimatedItemSize:x||(o==="compact"?40:o==="relaxed"?60:48),overscan:5}):null,K=H?.scrollRef??V,{loadMoreRef:B,virtualizer:J,virtualItems:j,isLoadingMore:$,computedLoadingState:A}=H||{},M=ir.useMemo(()=>e.map(I=>{if(I.width)return typeof I.width=="number"?`${I.width}px`:I.width;if(I.flex)return `${I.flex}fr`;if(I.minWidth&&I.maxWidth){let Z=typeof I.minWidth=="number"?`${I.minWidth}px`:I.minWidth,ne=typeof I.maxWidth=="number"?`${I.maxWidth}px`:I.maxWidth;return `minmax(${Z}, ${ne})`}return I.minWidth?`minmax(${typeof I.minWidth=="number"?`${I.minWidth}px`:I.minWidth}, 1fr)`:I.maxWidth?`minmax(0, ${typeof I.maxWidth=="number"?`${I.maxWidth}px`:I.maxWidth})`:"1fr"}).join(" "),[e]),z=ir.useCallback(I=>{if(!e.find(Ke=>Ke.id===I)?.sortable)return;let ne=null;k?.columnId===I?k.direction==="asc"?ne={columnId:I,direction:"desc"}:ne=null:ne={columnId:I,direction:"asc"},L(ne),w?.(ne);},[e,k,w]),X=A==="loading"||d&&t.length===0,D={};a?(D.height=typeof a=="number"?`${a}px`:a,D.overflowY="auto"):i?(D.maxHeight=typeof i=="number"?`${i}px`:i,D.overflowY="auto"):g&&(D.height="600px",D.overflowY="auto");let E=tailwindMerge.twMerge(Rv[n],!g&&(l==="responsive"?"overflow-x-auto":"overflow-auto"),r),W=Fp(p),G=s!=="none",O=(I,Z)=>G?s==="custom"&&c?c(I,Z):jsxRuntime.jsx(s==="cards"?qa:Xa,{row:I,columns:e,density:o,isLoading:d,onClick:h?()=>h(I):void 0}):null,te=J?j?.map(I=>({virtualItem:I,row:t[I.index],index:I.index}))||[]:t.map((I,Z)=>({row:I,index:Z,virtualItem:null}));return jsxRuntime.jsxs("div",{ref:K,className:E,style:{...D,position:J?"relative":void 0},children:[jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("grid border-separate border-spacing-0",Av[l],n==="auto"?"inline-grid w-auto":"w-full",G&&W.desktop),role:"table","aria-label":N,style:{gridTemplateColumns:M},children:[!S&&jsxRuntime.jsx("div",{className:"contents",role:"rowgroup",children:e.map(I=>jsxRuntime.jsx(Lv,{column:I,sortConfig:k,onSort:z,stickyHeader:v,density:o},I.id))}),J?jsxRuntime.jsx("div",{className:"col-span-full",style:{gridColumn:"1 / -1",height:`${J.getTotalSize()}px`,position:"relative"},role:"rowgroup",children:X?Array.from({length:u}).map((I,Z)=>jsxRuntime.jsx("div",{className:"contents",children:jsxRuntime.jsx(Bp,{columns:e,rowIndex:Z,density:o})},`loading-${Z}`)):t.length>0?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[te.map(({row:I,index:Z,virtualItem:ne})=>{if(!I||!ne)return null;let Ke=C?C(I):`row-${Z}`;return jsxRuntime.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",display:"grid",gridTemplateColumns:M,transform:`translateY(${ne.start}px)`},"data-index":ne.index,ref:J.measureElement,children:jsxRuntime.jsx(Ip,{columns:e,row:I,rowIndex:Z,density:o,onClick:h})},Ke)}),$&&jsxRuntime.jsx("div",{style:{position:"absolute",top:`${J.getTotalSize()}px`,left:0,width:"100%"},children:y||jsxRuntime.jsx(ut,{state:"loading-more"})})]}):jsxRuntime.jsx("div",{className:"py-12 text-center text-text-muted",children:"No data available"})}):jsxRuntime.jsx("div",{className:"contents",role:"rowgroup",children:X?Array.from({length:u}).map((I,Z)=>jsxRuntime.jsx(Bp,{columns:e,rowIndex:Z,density:o},`loading-${Z}`)):t.length>0?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[te.map(({row:I,index:Z})=>{if(!I)return null;let ne=C?C(I):`row-${Z}`;return jsxRuntime.jsx(Ip,{columns:e,row:I,rowIndex:Z,density:o,onClick:h},ne)}),$&&jsxRuntime.jsx("div",{className:"col-span-full",style:{gridColumn:"1 / -1"},children:y||jsxRuntime.jsx(ut,{state:"loading-more"})})]}):jsxRuntime.jsx("div",{className:"col-span-full py-12 text-center text-text-muted",role:"row",children:jsxRuntime.jsx("div",{role:"cell",children:"No data available"})})})]}),G&&jsxRuntime.jsx("div",{className:W.mobile,children:X?Array.from({length:u}).map((I,Z)=>jsxRuntime.jsx(Ep,{density:o},`mobile-loading-${Z}`)):t.length>0?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[te.map(({row:I,index:Z})=>{if(!I)return null;let ne=C?C(I):`mobile-row-${Z}`;return jsxRuntime.jsx("div",{children:O(I,Z)},ne)}),$&&(y||jsxRuntime.jsx(ut,{state:"loading-more"}))]}):jsxRuntime.jsx("div",{className:"py-12 text-center text-text-muted",children:"No data available"})}),g&&f&&!X&&(J?jsxRuntime.jsx("div",{ref:B,style:{position:"absolute",top:`${J.getTotalSize()}px`,left:0,width:"100%",height:1}}):jsxRuntime.jsx("div",{ref:B,className:"h-px w-full"}))]})}function Gp({status:e,alertCount:t,showCount:r=false,isLoading:o,size:n="sm",shape:a="pill",...i}){if(o)return jsxRuntime.jsx(F,{className:"inline-flex h-6 w-20"});let l={healthy:"success",warning:"warning",error:"error",unknown:"neutral"},s={healthy:"Healthy",warning:"Warning",error:"Error",unknown:"Unknown"},c=e==="warning"||e==="error",p=r&&t?`${s[e]} (${t})`:s[e];return jsxRuntime.jsx(Ee,{variant:l[e],size:n,shape:a,dot:c,dotPulse:c,...i,children:p})}var Bv={battery:"BatteryHigh",charger:"ChargingStation",thermostat:"ThermometerSimple",inverter:"Lightning",vehicle:"Car",meter:"Gauge",gateway:"WifiHigh",other:"Cube",unknown:"Question"},Vv={battery:"Battery",charger:"Charger",thermostat:"Thermostat",inverter:"Inverter",vehicle:"Vehicle",meter:"Meter",gateway:"Gateway",other:"Other",unknown:"Unknown"};function Up({deviceType:e,size:t="md",showLabel:r=false,className:o}){let n=Bv[e],a=Vv[e];return jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("inline-flex items-center",r?"flex-col gap-1":"gap-0",o),children:[jsxRuntime.jsx(P,{name:n,size:t}),r&&jsxRuntime.jsx("span",{className:"text-xs text-text-muted",children:a})]})}function Dl({children:e,title:t,headerContent:r,titleAlign:o="left",hideCloseIcon:n=false,hasBackArrow:a=false,onBack:i,isOpen:l,slideInFrom:s="right",transparentOverlay:c=false,onClose:p,className:d,primaryAction:m,secondaryAction:u,footerContent:g,contentPadding:f=true,maxWidth:b="400px"}){let[x,y]=ir.useState(false);if(ir.useEffect(()=>{if(l){let C=setTimeout(()=>y(true),10);return ()=>clearTimeout(C)}else y(false);},[l]),!l)return null;let v=t||r,h=m||u||g;return jsxRuntime.jsx(St,{children:jsxRuntime.jsx(ot,{isOpen:l,onOpenChange:C=>!C&&p?.(),isDismissable:true,transparent:c,children:jsxRuntime.jsx(reactAriaComponents.Modal,{className:"flex justify-end",isDismissable:true,children:jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("fixed bottom-0 top-0 z-50 flex w-full flex-col bg-background-surface shadow-xl duration-300 h-full min-h-0 overflow-hidden dark:bg-gray-800",x?s==="right"?"animate-in slide-in-from-right":"animate-in slide-in-from-left":"",d),style:{[s==="right"?"right":"left"]:0,maxWidth:b,transform:x?void 0:s==="right"?"translateX(100%)":"translateX(-100%)"},children:[v&&(a?jsxRuntime.jsx(Je,{title:t,headerContent:r,titleAlign:o,hideCloseIcon:n,hasBackArrow:true,onBack:i,onClose:p||(()=>{})}):jsxRuntime.jsx(Je,{title:t,headerContent:r,titleAlign:o,hideCloseIcon:n,onClose:p||(()=>{})})),jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex-1 overflow-y-auto overscroll-contain",f?"p-6":"p-0"),children:e}),h&&jsxRuntime.jsx(mr,{primaryAction:m,secondaryAction:u,footerContent:g})]})})})})}Dl.displayName="Drawer";var Uv={sm:"gap-4 px-6 py-8",md:"gap-5 px-8 py-12",lg:"gap-6 px-10 py-16"},Kv={sm:"xs",md:"sm",lg:"md"},Yv={sm:"text-sm leading-5",md:"text-sm leading-5",lg:"text-base leading-6"},Jv={sm:"h-10 w-10",md:"h-12 w-12",lg:"h-16 w-16"},Zv={sm:20,md:24,lg:32},Xv={center:"items-center text-center [&_.empty-state-actions]:justify-center [&_.empty-state-actions]:text-center",start:"items-start text-left [&_.empty-state-actions]:justify-start [&_.empty-state-actions]:text-left"};function Jp({icon:e,title:t,description:r,primaryAction:o,secondaryAction:n,actions:a,size:i="md",alignment:l="center",fullHeight:s=false,className:c}){let p=i==="sm"?"sm":"md",d=()=>a?jsxRuntime.jsx("div",{className:"empty-state-actions mt-2 flex flex-wrap items-center gap-3",children:a}):o||n?jsxRuntime.jsxs("div",{className:"empty-state-actions mt-2 flex flex-col gap-3",children:[o&&(o.href?jsxRuntime.jsx(q,{variant:"secondary",size:p,onPress:o.onPress,isDisabled:o.isDisabled,isLoading:o.isLoading,href:o.href,children:o.label}):jsxRuntime.jsx(q,{variant:"secondary",size:p,onPress:o.onPress,isDisabled:o.isDisabled,isLoading:o.isLoading,children:o.label})),n&&jsxRuntime.jsx(kt,{href:n.href||"#",variant:"muted",onPress:n.onPress,className:"text-sm",children:n.label})]}):null;return jsxRuntime.jsxs("section",{"data-testid":"empty-state",role:"status","aria-live":"polite",className:tailwindMerge.twMerge("flex w-full flex-col rounded-xl text-text-body",Uv[i],Xv[l],s?"min-h-[320px] justify-center":"",c),children:[e&&jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex items-center justify-center rounded-full border border-border-muted bg-background-muted text-text-muted",Jv[i]),children:jsxRuntime.jsx(P,{name:e,size:Zv[i]})}),jsxRuntime.jsx(mt,{size:Kv[i],tag:"h2",className:"text-text-muted leading-tight",children:t}),r&&jsxRuntime.jsx("p",{className:tailwindMerge.twMerge("max-w-xs text-text-muted whitespace-pre-line",Yv[i]),children:r}),d()]})}function Zp({status:e,programName:t,isLoading:r,size:o="sm",shape:n="pill",...a}){if(r)return jsxRuntime.jsx(F,{className:"inline-flex h-6 w-20"});let i={enrolled:"success",eligible:"info",pending:"warning",not_eligible:"neutral",opted_out:"neutral"},l={enrolled:"Enrolled",eligible:"Eligible",pending:"Pending",not_eligible:"Not Eligible",opted_out:"Opted Out"},s=jsxRuntime.jsx(Ee,{variant:i[e],size:o,shape:n,...a,children:l[e]});return t?jsxRuntime.jsx(fn,{content:t,children:s}):s}function qp({value:e,onChange:t,onUrlChange:r,accept:o="image/*",maxSize:n,isDisabled:a=false,onUpload:i,className:l,showPreview:s=true,placeholder:c="Drop files here or click to browse"}){let[p,d]=ir.useState(false),[m,u]=ir.useState(false),[g,f]=ir.useState(null),[b,x]=ir.useState(e),y=ir.useRef(null),v=async S=>{if(f(null),n&&S.size>n){f(`File size must be less than ${(n/1024/1024).toFixed(2)}MB`);return}if(s&&S.type.startsWith("image/")){let w=new FileReader;w.onloadend=()=>{x(w.result);},w.readAsDataURL(S);}if(i){u(true);try{let w=await i(S);x(w),r?.(w);}catch(w){f("Failed to upload file"),console.error("Upload error:",w);}finally{u(false);}}t?.(S,b);},h=S=>{let w=S.items;if(w.length>0){let N=w[0];if(N.kind==="file"){let k=N.getAsFile();k&&v(k);}}d(false);},C=()=>{x(void 0),f(null),t?.(null),r?.(""),y.current&&(y.current.value="");};return jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("w-full",l),children:[jsxRuntime.jsxs(reactAriaComponents.DropZone,{className:tailwindMerge.twMerge("relative flex min-h-[200px] w-full flex-col items-center justify-center rounded-lg border-2 border-dashed transition-colors",p?"border-action-brand bg-action-brand/5":"border-border-muted hover:border-border-default",a&&"pointer-events-none opacity-50",g&&"border-feedback-error-border bg-feedback-error-background/50"),onDrop:h,onDropEnter:()=>d(true),onDropExit:()=>d(false),children:[b?jsxRuntime.jsxs("div",{className:"relative flex h-full w-full items-center justify-center p-4",children:[s&&b.startsWith("data:image")?jsxRuntime.jsx("img",{src:b,alt:"Preview",className:"max-h-48 max-w-full rounded-md object-contain"}):jsxRuntime.jsxs("div",{className:"flex flex-col items-center gap-2",children:[jsxRuntime.jsx(lucideReact.Image,{className:"h-12 w-12 text-text-muted"}),jsxRuntime.jsx("span",{className:"text-sm text-text-muted",children:"File uploaded"})]}),!a&&jsxRuntime.jsx(q,{variant:"icon",size:"sm",onPress:C,className:"absolute right-2 top-2 bg-background-surface shadow-md",children:jsxRuntime.jsx(lucideReact.X,{className:"h-4 w-4"})})]}):jsxRuntime.jsxs("div",{className:"flex flex-col items-center gap-4 p-6",children:[jsxRuntime.jsx(lucideReact.Upload,{className:"h-12 w-12 text-text-muted"}),jsxRuntime.jsxs("div",{className:"text-center",children:[jsxRuntime.jsx("p",{className:"text-sm text-text-body",children:c}),jsxRuntime.jsx("p",{className:"mt-1 text-xs text-text-muted",children:o==="image/*"?"PNG, JPG, GIF up to 10MB":`Accepts ${o}`})]}),jsxRuntime.jsx(reactAriaComponents.FileTrigger,{acceptedFileTypes:o.split(","),onSelect:S=>{let w=Array.from(S||[]);w.length>0&&v(w[0]);},children:jsxRuntime.jsx(q,{variant:"secondary",size:"sm",isDisabled:a,children:"Choose File"})})]}),m&&jsxRuntime.jsx("div",{className:"absolute inset-0 flex items-center justify-center rounded-lg bg-background-surface/80",children:jsxRuntime.jsxs("div",{className:"flex flex-col items-center gap-2",children:[jsxRuntime.jsx("div",{className:"h-8 w-8 animate-spin rounded-full border-2 border-action-brand border-t-transparent"}),jsxRuntime.jsx("span",{className:"text-sm text-text-muted",children:"Uploading..."})]})})]}),g&&jsxRuntime.jsx("p",{className:"mt-2 text-sm text-feedback-error-text",children:g})]})}function Qp({version:e,isLatest:t,updateAvailable:r,isLoading:o,size:n="sm",shape:a="rounded",...i}){if(o)return jsxRuntime.jsx(F,{className:"inline-flex h-6 w-16"});let l="neutral",s=e;return t?l="success":r&&(l="warning",s=`${e} (Update)`),jsxRuntime.jsx(Ee,{variant:l,size:n,shape:a,...i,children:s})}function $p(e){return jsxRuntime.jsx(reactAriaComponents.Form,{...e,className:tailwindMerge.twMerge("flex flex-col gap-4",e.className)})}var nC={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",none:"grid-cols-none"},aC={sm:{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",none:"sm:grid-cols-none"},md:{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",none:"md:grid-cols-none"},lg:{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",none:"lg:grid-cols-none"},xl:{1:"xl:grid-cols-1",2:"xl:grid-cols-2",3:"xl:grid-cols-3",4:"xl:grid-cols-4",5:"xl:grid-cols-5",6:"xl:grid-cols-6",7:"xl:grid-cols-7",8:"xl:grid-cols-8",9:"xl:grid-cols-9",10:"xl:grid-cols-10",11:"xl:grid-cols-11",12:"xl:grid-cols-12",none:"xl:grid-cols-none"},"2xl":{1:"2xl:grid-cols-1",2:"2xl:grid-cols-2",3:"2xl:grid-cols-3",4:"2xl:grid-cols-4",5:"2xl:grid-cols-5",6:"2xl:grid-cols-6",7:"2xl:grid-cols-7",8:"2xl:grid-cols-8",9:"2xl:grid-cols-9",10:"2xl:grid-cols-10",11:"2xl:grid-cols-11",12:"2xl:grid-cols-12",none:"2xl:grid-cols-none"}},iC={none:"gap-0",xs:"gap-x-2 gap-y-1",sm:"gap-x-3 gap-y-2",md:"gap-x-4 gap-y-3",lg:"gap-x-6 gap-y-4",xl:"gap-x-8 gap-y-6","2xl":"gap-x-12 gap-y-8"},sC={none:"gap-x-0",xs:"gap-x-2",sm:"gap-x-3",md:"gap-x-4",lg:"gap-x-6",xl:"gap-x-8","2xl":"gap-x-12"},lC={none:"gap-y-0",xs:"gap-y-1",sm:"gap-y-2",md:"gap-y-3",lg:"gap-y-4",xl:"gap-y-6","2xl":"gap-y-8"},cC={start:"items-start",center:"items-center",end:"items-end",stretch:"items-stretch",baseline:"items-baseline"},dC={start:"justify-start",center:"justify-center",end:"justify-end",between:"justify-between",around:"justify-around",evenly:"justify-evenly"},uC={row:"grid-flow-row",col:"grid-flow-col",dense:"grid-flow-dense","row-dense":"grid-flow-row-dense","col-dense":"grid-flow-col-dense"},pC={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",full:"col-span-full",auto:"col-auto"},mC={sm:{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",full:"sm:col-span-full",auto:"sm:col-auto"},md:{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",full:"md:col-span-full",auto:"md:col-auto"},lg:{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",full:"lg:col-span-full",auto:"lg:col-auto"},xl:{1:"xl:col-span-1",2:"xl:col-span-2",3:"xl:col-span-3",4:"xl:col-span-4",5:"xl:col-span-5",6:"xl:col-span-6",7:"xl:col-span-7",8:"xl:col-span-8",9:"xl:col-span-9",10:"xl:col-span-10",11:"xl:col-span-11",12:"xl:col-span-12",full:"xl:col-span-full",auto:"xl:col-auto"},"2xl":{1:"2xl:col-span-1",2:"2xl:col-span-2",3:"2xl:col-span-3",4:"2xl:col-span-4",5:"2xl:col-span-5",6:"2xl:col-span-6",7:"2xl:col-span-7",8:"2xl:col-span-8",9:"2xl:col-span-9",10:"2xl:col-span-10",11:"2xl:col-span-11",12:"2xl:col-span-12",full:"2xl:col-span-full",auto:"2xl:col-auto"}};function em(e,t,r){if(!e)return "";if(typeof e!="object")return t[e]||"";let o=[];return "base"in e&&e.base!==void 0&&o.push(t[e.base]),Object.entries(r).forEach(([n,a])=>{let i=e[n];i!==void 0&&o.push(a[i]);}),o.join(" ")}function Ml({cols:e=1,gap:t="md",gapX:r,gapY:o,align:n="stretch",justify:a="start",flow:i="row",autoFit:l,autoFill:s,className:c,children:p}){let d=tailwindMerge.twMerge("grid",l||s?"":em(e,nC,aC),!r&&!o&&iC[t],r&&sC[r],o&&lC[o],cC[n],dC[a],uC[i],c),m={};return l?m.gridTemplateColumns=`repeat(auto-fit, minmax(${l}, 1fr))`:s&&(m.gridTemplateColumns=`repeat(auto-fill, minmax(${s}, 1fr))`),jsxRuntime.jsx("div",{className:d,style:m,children:p})}function tm({span:e,className:t,children:r}){let o=tailwindMerge.twMerge(em(e,pC,mC),t);return jsxRuntime.jsx("div",{className:o,children:r})}Ml.Item=tm;function fC(e,t){return Lt({value:e,formatter:t,emptyClassName:"text-text-muted",emptyText:"\u2014"})}function gC(e,t="upIsGood"){if(e===0)return "text-text-muted";let r=e>0;return t==="upIsGood"?r?"text-feedback-success":"text-feedback-error":r?"text-feedback-error":"text-feedback-success"}function bC({points:e,className:t,ariaLabel:r}){let i=e.map(u=>typeof u.y=="number"?u.y:0);if(i.length===0)return null;let l=Math.min(...i),c=Math.max(...i)-l,p=u=>c===0?20/2:18-(u-l)/c*16,d=60/Math.max(e.length-1,1),m=e.map((u,g)=>{let f=2+g*d,b=p(typeof u.y=="number"?u.y:0);return `${g===0?"M":"L"} ${f} ${b}`}).join(" ");return jsxRuntime.jsx("svg",{width:64,height:20,role:"img","aria-label":r,className:tailwindMerge.twMerge("overflow-visible",t),children:jsxRuntime.jsx("path",{d:m,fill:"none",strokeWidth:"1.5",className:"stroke-border-muted"})})}function om({label:e,value:t,formatter:r,delta:o,deltaPeriodLabel:n,deltaIntent:a="upIsGood",trend:i,status:l,helpText:s,size:c="md",orientation:p="vertical",loading:d,empty:m,error:u,onClick:g,className:f,renderValue:b,renderDelta:x,renderTrend:y}){let h={sm:{label:"text-xs",value:"text-base",delta:"text-xs",gap:"gap-1"},md:{label:"text-sm",value:"text-xl",delta:"text-sm",gap:"gap-2"},lg:{label:"text-base",value:"text-2xl",delta:"text-base",gap:"gap-3"}}[c],C=d?jsxRuntime.jsx(F,{className:"h-7 w-20"}):m?jsxRuntime.jsx("span",{className:"text-text-muted",children:"\u2014"}):u?jsxRuntime.jsx("span",{className:"text-feedback-error text-sm",children:typeof u=="string"?u:"Error"}):b?b(t):fC(t,r),S=x?x(o):o!==void 0&&!d&&!m&&!u?jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge(h.delta,gC(o,a),"flex items-center gap-1"),children:[o>0&&jsxRuntime.jsx(P,{name:"ArrowUp",size:12}),o<0&&jsxRuntime.jsx(P,{name:"ArrowDown",size:12}),o===0&&jsxRuntime.jsx(P,{name:"Minus",size:12}),jsxRuntime.jsxs("span",{children:[o>0?"+":"",Math.abs(o).toFixed(1),"%"]}),n&&jsxRuntime.jsxs("span",{className:"text-text-muted",children:["\xB7 ",n]})]}):d&&o!==void 0?jsxRuntime.jsx(F,{className:"h-4 w-24"}):null,w=y?y(i):i&&i.length>0&&!d&&!u?jsxRuntime.jsx(bC,{points:i,ariaLabel:`${e} trend`,className:m?"opacity-30":""}):d&&i!==void 0?jsxRuntime.jsx(F,{className:"h-5 w-16"}):null;return jsxRuntime.jsxs("section",{className:tailwindMerge.twMerge("flex min-w-0",p==="horizontal"?`items-center ${h.gap}`:`flex-col ${h.gap}`,g&&"cursor-pointer hover:bg-background-muted rounded-lg px-3 py-2 -mx-3 -my-2 transition-colors",f),"aria-labelledby":`kpi-${e}`,onClick:g,children:[jsxRuntime.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntime.jsx("h3",{id:`kpi-${e}`,className:tailwindMerge.twMerge(h.label,"font-medium text-text-caption truncate"),children:d?jsxRuntime.jsx(F,{className:"h-4 w-24"}):e}),s&&!d&&jsxRuntime.jsx(P,{name:"Question",size:12,className:"text-text-muted cursor-help","aria-label":"Help"})]}),jsxRuntime.jsxs("div",{className:"flex items-baseline gap-2",children:[jsxRuntime.jsx("output",{className:tailwindMerge.twMerge(h.value,"font-semibold",u?"text-feedback-error":"text-text-heading"),"aria-label":`Value: ${C}`,children:C}),l&&!d&&!u&&jsxRuntime.jsx(Ee,{variant:l.tone||"neutral",size:"sm",children:l.value})]}),(S||w)&&jsxRuntime.jsxs("div",{className:"flex items-center gap-3",children:[S,w]})]})}var xC={xs:"gap-2",sm:"gap-3",md:"gap-4",lg:"gap-6",xl:"gap-8"},hC={start:"items-start",center:"items-center",stretch:"items-stretch"};function yC(e){if(typeof e=="number")return `grid-cols-${e}`;let t=[];return e.base!==void 0&&t.push(`grid-cols-${e.base}`),e.sm!==void 0&&t.push(`sm:grid-cols-${e.sm}`),e.md!==void 0&&t.push(`md:grid-cols-${e.md}`),e.lg!==void 0&&t.push(`lg:grid-cols-${e.lg}`),e.xl!==void 0&&t.push(`xl:grid-cols-${e.xl}`),e["2xl"]!==void 0&&t.push(`2xl:grid-cols-${e["2xl"]}`),t.join(" ")}function Fl({children:e,cols:t={base:1,sm:2,md:3,lg:4},gap:r="md",align:o="stretch",equalizeHeights:n=true,header:a,loading:i,className:l}){let s=i?ir__namespace.default.Children.map(e,c=>ir__namespace.default.isValidElement(c)&&c.type&&typeof c.type!="string"&&"displayName"in c.type?ir__namespace.default.cloneElement(c,{loading:true}):c):e;return jsxRuntime.jsxs("section",{className:tailwindMerge.twMerge("w-full",l),"aria-label":"Key metrics",children:[a&&jsxRuntime.jsx("div",{className:"mb-4",children:a}),jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("grid",yC(t),xC[r],hC[o],n&&"auto-rows-fr","w-full"),children:s})]})}Fl.displayName="KpiGroup";function lm({items:e,renderItem:t,selectedId:r,onSelect:o,onHoverChange:n,isLoading:a=false,loadingState:i,error:l=null,renderLoadingSkeleton:s,loadingSkeletonCount:c=5,emptyMessage:p="No results found.",variant:d="relaxed",showDividers:m=true,onLoadMore:u,hasMore:g=false,enableVirtualization:f,estimatedItemSize:b=60,loadingIndicator:x,"aria-label":y,className:v="",style:h}){let[C,S]=ir.useState(null),w=ir.useRef(null),N=ir.useRef(new Map),{scrollRef:k,loadMoreRef:L,virtualizer:V,virtualItems:H,isLoadingMore:K,computedLoadingState:B}=cr({items:e,onLoadMore:u,hasMore:g,isLoading:a,loadingState:i,enableVirtualization:f,estimatedItemSize:b,overscan:5}),J=k??w,j=ir.useCallback((O,te)=>{o?.(O,te);},[o]),$=ir.useCallback((O,te)=>{S(O),n?.(O,te);},[n]),A=ir.useCallback((O,te)=>{let I=O?.id;return typeof I=="string"&&I?I:`item-${te}`},[]),M=ir.useCallback(O=>{if(!J.current||e.length===0)return;let te=document.activeElement,I=e.findIndex((Ce,Me)=>{let jt=A(Ce,Me),U=N.current.get(jt);return U&&(U===te||U.contains(te))}),Z=I;switch(O.key){case "ArrowDown":O.preventDefault(),Z=I===-1?0:Math.min(I+1,e.length-1);break;case "ArrowUp":O.preventDefault(),Z=I===-1?0:Math.max(I-1,0);break;case "Home":O.preventDefault(),Z=0;break;case "End":O.preventDefault(),Z=e.length-1;break;default:return}let ne=A(e[Z],Z);N.current.get(ne)?.focus();},[e,A,J]),z=["flex flex-col","bg-background-surface","focus:outline-none focus:ring-2 focus:ring-border-focus focus:ring-offset-2"],X={dense:"gap-0",relaxed:"gap-0"},D=m?"divide-y divide-border-muted":"",E=[...z,X[d],D,v].filter(Boolean).join(" ");if(B==="loading"||a&&e.length===0){let O=s?jsxRuntime.jsx(jsxRuntime.Fragment,{children:Array.from({length:c}).map((te,I)=>jsxRuntime.jsx("div",{children:s()},`skeleton-${I}`))}):jsxRuntime.jsx(ad,{count:c,className:"space-y-0",children:jsxRuntime.jsxs("div",{className:"flex items-center gap-3 px-4 py-3",children:[jsxRuntime.jsx(F,{width:16,height:16,variant:"circle"}),jsxRuntime.jsxs("div",{className:"flex-1 space-y-2",children:[jsxRuntime.jsx(F,{width:"75%",height:16}),jsxRuntime.jsx(F,{width:"50%",height:14})]}),jsxRuntime.jsx(F,{width:60,height:20})]})});return jsxRuntime.jsx("div",{ref:J,className:E,style:h,role:"listbox","aria-label":y,"aria-busy":"true","aria-live":"polite",children:O})}if(l)return jsxRuntime.jsx("div",{ref:J,className:E,style:h,role:"listbox","aria-label":y,"aria-live":"polite",children:jsxRuntime.jsx("div",{className:"p-4 text-center text-action-destructive",children:l})});if(e.length===0)return jsxRuntime.jsx("div",{ref:J,className:E,style:h,role:"listbox","aria-label":y,"aria-live":"polite",children:jsxRuntime.jsx("div",{className:"p-4 text-center text-text-muted",children:p})});let G=V?H?.map(O=>({virtualItem:O,item:e[O.index],index:O.index}))||[]:e.map((O,te)=>({item:O,index:te,virtualItem:null}));return jsxRuntime.jsxs("div",{ref:J,className:E,style:{...h,...u&&{overflow:"auto",height:h?.height||"600px"}},role:"listbox","aria-label":y,"aria-live":"polite",onKeyDown:M,tabIndex:0,children:[V&&jsxRuntime.jsxs("div",{style:{height:`${V.getTotalSize()}px`,width:"100%",position:"relative"},children:[G.map(({virtualItem:O,item:te,index:I})=>{if(!O)return null;let Z=A(te,I),ne=r===Z,Ke=C===Z,Ce={id:Z,role:"option","aria-selected":ne,"aria-current":ne?"page":void 0,tabIndex:ne||r==null&&I===0?0:-1,onClick:Me=>j(Me,te),onMouseEnter:Me=>$(Me,te),onMouseLeave:Me=>$(null),onFocus:Me=>$(Me,te),onBlur:Me=>$(null),ref:Me=>{Me?N.current.set(Z,Me):N.current.delete(Z);}};return jsxRuntime.jsx("div",{"data-index":O.index,ref:V.measureElement,style:{position:"absolute",top:0,left:0,width:"100%",transform:`translateY(${O.start}px)`},children:t({item:te,index:I,isSelected:ne,isHovered:Ke,rowProps:Ce})},Z)}),u&&g&&jsxRuntime.jsx("div",{ref:L,style:{position:"absolute",top:`${V.getTotalSize()}px`,left:0,width:"100%",height:1,pointerEvents:"none"}}),K&&jsxRuntime.jsx("div",{style:{position:"absolute",top:`${V.getTotalSize()}px`,left:0,width:"100%"},children:x||jsxRuntime.jsx(ut,{state:"loading-more"})})]}),!V&&jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[G.map(({item:O,index:te})=>{let I=A(O,te),Z=r===I,ne=C===I,Ke={id:I,role:"option","aria-selected":Z,"aria-current":Z?"page":void 0,tabIndex:Z||r==null&&te===0?0:-1,onClick:Ce=>j(Ce,O),onMouseEnter:Ce=>$(Ce,O),onMouseLeave:Ce=>$(null),onFocus:Ce=>$(Ce,O),onBlur:Ce=>$(null),ref:Ce=>{Ce?N.current.set(I,Ce):N.current.delete(I);}};return jsxRuntime.jsx("div",{children:t({item:O,index:te,isSelected:Z,isHovered:ne,rowProps:Ke})},I)}),u&&g&&jsxRuntime.jsx("div",{ref:L,style:{height:1}}),K&&(x||jsxRuntime.jsx(ut,{state:"loading-more"}))]})]})}function dm({id:e,title:t,subtitle:r,meta:o,leading:n,trailing:a,isSelected:i=false,isHovered:l=false,disabled:s=false,href:c,size:p="md",onClick:d,onMouseEnter:m,onMouseLeave:u,className:g="",style:f}){let b=()=>{!s&&d&&d(e);},x=()=>{!s&&m&&m(e);},y=()=>{!s&&u&&u(e);},h={sm:{container:"px-3 py-2 gap-2",title:"text-sm leading-tight",subtitle:"text-xs leading-tight",meta:"text-xs leading-tight",subtitleSpacing:"mt-1",metaSpacing:"mt-1"},md:{container:"px-4 py-3 gap-3",title:"text-base leading-tight",subtitle:"text-sm leading-tight",meta:"text-sm leading-tight",subtitleSpacing:"mt-1",metaSpacing:"mt-1"},lg:{container:"px-4 py-4 gap-3",title:"text-lg leading-tight",subtitle:"text-base leading-tight",meta:"text-sm leading-tight",subtitleSpacing:"mt-1",metaSpacing:"mt-1"},xl:{container:"px-5 py-5 gap-4",title:"text-xl leading-tight",subtitle:"text-base leading-tight",meta:"text-base leading-tight",subtitleSpacing:"mt-1.5",metaSpacing:"mt-1.5"}}[p],C=["flex items-center w-full text-left transition-all duration-200 ease-in-out",h.container,"border-l-2 border-l-transparent","rounded-sm",Se()],S=[l&&!i&&"bg-background-hover",i&&"bg-action-default/5 border-l-action-default shadow-sm",s&&"opacity-50 cursor-not-allowed",!s&&!i&&"hover:bg-background-hover"],w=[...C,...S,g].filter(Boolean).join(" "),N=jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[n&&jsxRuntime.jsx("div",{className:"flex-shrink-0 flex items-center justify-center",children:n}),jsxRuntime.jsx("div",{className:"flex-1 min-w-0",children:jsxRuntime.jsx("div",{className:"flex items-start justify-between gap-2",children:jsxRuntime.jsxs("div",{className:"flex-1 min-w-0",children:[jsxRuntime.jsx("div",{className:`text-text-body font-medium truncate ${h.title}`,title:typeof t=="string"?t:void 0,children:t}),r&&jsxRuntime.jsx("div",{className:`text-text-caption truncate ${h.subtitle} ${h.subtitleSpacing}`,title:typeof r=="string"?r:void 0,children:r}),o&&jsxRuntime.jsx("div",{className:`text-text-muted ${h.meta} ${h.metaSpacing}`,children:o})]})})}),a&&jsxRuntime.jsx("div",{className:"flex-shrink-0",children:a})]});return c?jsxRuntime.jsx("a",{href:c,className:w,style:f,onMouseEnter:x,onMouseLeave:y,"aria-selected":i,"aria-current":i?"page":void 0,tabIndex:s?-1:0,children:N}):jsxRuntime.jsx("button",{type:"button",className:w,style:f,onClick:b,onMouseEnter:x,onMouseLeave:y,disabled:s,"aria-selected":i,tabIndex:s?-1:0,children:N})}function um({header:e,children:t,footer:r,width:o="md",tone:n="neutral",elevation:a="sm",showDivider:i=true,"aria-label":l,"aria-labelledby":s,className:c="",style:p}){let d={sm:"w-64",md:"w-80",lg:"w-96",xl:"w-[28rem]","2xl":"w-[32rem]",auto:"w-auto"},m={neutral:"bg-background-surface",subtle:"bg-background-subtle",brand:"bg-background-brand"},u={none:"",sm:"shadow-sm",md:"shadow-md"},g=tailwindMerge.twMerge("flex flex-col h-full",d[o],m[n],u[a],i&&"border-r border-border-muted",c);return jsxRuntime.jsxs("div",{className:g,style:p,role:"complementary","aria-label":l,"aria-labelledby":s,children:[e&&jsxRuntime.jsx("div",{className:"flex-shrink-0 sticky top-0 z-10 bg-inherit border-b border-border-muted",children:e}),jsxRuntime.jsx("div",{className:"flex-1 overflow-y-auto overflow-x-hidden",children:t}),r&&jsxRuntime.jsx("div",{className:"flex-shrink-0 border-t border-border-muted bg-inherit",children:r})]})}var Il=[{type:"navigation",position:"bottom-right",showCompass:true,showGeolocate:true,showResetZoom:true}];var pm="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJcAAACXCAYAAAAYn8l5AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABtCSURBVHgB7Z2Jkty0GoV7hlz2HcIeSPGkPCmELRC2sO8kN5+L03XmR7IlW3LbSZ+qrp7pdtuydPTvki9u3Lhx/7ASLi4uDvfv973cvXv3Dn/++efh2rVrx2vyAo899tjwThu8Hfo+1d5SLLkv2vXzzz8fnnvuucPff/99eFhw7bAi/vnnn8Pl5eWVz3IDOHewGKgnnnjiCoEgHH///vvvh8cff3z4nrbE63lb+LvFQHMe2jR2P7p2bNMe4f24Grk02LkOjC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V91hAQDS0eIgtArWU3vewVLXA0yoopUDTc2EZI7fBKeaQkH7gdmvMEgw11AkbR5N6amqujqnCAkYbl8gHs4wFShtxY9vm9oFqdwubeWeqKTznacNJ/CbCpqTjwKTE7jMs3QHaRzUkyvCvTdKQmzuGyfyqHEKJkOQJmBwazq0Nl88X77Dk09SoHR6YU2RxMUSDP8fw6bxvv7AnkLrBK/29eNS5r4U+x8EA6nBlsj0ETm9gjUO7p5DqPDOkOIptbQgNDeH/unQWDz/ZdA0zBOJ/f1sXQI6QyPqxtnMII3/NEh9kJGEBI+zqmyVwLXglLm+u3o6W6t8oiBZc1pwpF3Z/Tq1kX1oKDcglalt0Mq5G+Zzha8dbY+rvA7Erz2Jf1VQQm9t9zxzU0kLlDp2uX9IwZVZxyO2G19y9ieD165lH9Fosk8DI5sufSSLSZBQSF3maHFuDcVGsLHjqrgKZLUX5JqjGehdg3ULYhq7fAkpy5voaGxxtFgmygtNBJMSfalN4Ghq0DVGhNw+TbZUJBvl6KdlImJXLsphrcJtyi/rBx7bNiPF3drqCfiaI7S/0yAfzPgdNJKqQ+lwh1XfSmYClPT+R2b/03chQhh/fQH7Dav+EOO2oojEn8WdyuYzZbw6+e/WpX6eGYK0xR3BJhumCL/0lYS1EWShiFKXp4HOjIdwcvzNzjuNg4uobmh3lmZNljg+RHIokP7iJ+//S9/0JF4UWgALQSUifcPn+AvCxKcp8u7vR5XAiSC3WYDByQWZ1myzFUtOgbu577+f5ZPq/B5Pf+nAAAAAElFTkSuQmCC";function xm(e="top-right"){switch(e){case "top-left":return "absolute top-4 left-4 z-10";case "top-right":return "absolute top-4 right-4 z-10";case "bottom-left":return "absolute bottom-4 left-4 z-10";case "bottom-right":return "absolute bottom-4 right-4 z-10";default:return "absolute top-4 right-4 z-10"}}var TC="h-12 w-12 md:h-10 md:w-10 p-0 bg-background-surface hover:bg-background-hover shadow-lg border border-border";function hm(e){return tailwindMerge.twMerge(TC,e)}function kr({position:e="top-right",className:t,style:r,children:o}){return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge(xm(e),t),style:r,children:o})}function Dt({icon:e,iconSize:t=24,onPress:r,isDisabled:o=false,className:n,iconClassName:a="text-text-primary",variant:i="secondary",isActive:l=false,ariaLabel:s,iconWeight:c="regular",...p}){let d=tailwindMerge.twMerge(hm(),l&&"bg-action-brand hover:bg-action-brand-hover border-action-brand",n),m=tailwindMerge.twMerge(a,l&&"text-text-onPrimary");return jsxRuntime.jsx(q,{...p,className:d,onPress:r,variant:i,size:"sm",isDisabled:o,"aria-label":s,"aria-pressed":l||void 0,type:"button",children:jsxRuntime.jsx(P,{name:e,size:t,className:m,weight:c})})}var LC=e=>[{id:"streets",name:"Streets",description:"Standard street map with traffic data",preview:e?gm:bm},{id:"satellite",name:"Satellite",description:"Aerial imagery with street labels",preview:fm},{id:"neutral",name:"Neutral",description:"Clean design with light/dark variants",preview:e?pm:mm}];function FC({type:e,color:t}){let r="inline-block",o=t?{backgroundColor:t}:{};switch(e){case "dot":return jsxRuntime.jsx("span",{className:`${r} h-3 w-3 rounded-full border border-border`,style:o});case "line":return jsxRuntime.jsx("span",{className:`${r} h-0.5 w-6 rounded-full`,style:o});case "polygon":return jsxRuntime.jsx("span",{className:`${r} h-3 w-4 rounded-sm border border-border`,style:o});case "pin":return jsxRuntime.jsx("span",{className:`${r} h-3 w-3 rounded-full rounded-bl-none border border-border transform rotate-45`,style:o});default:return null}}function Cm({position:e="bottom-left",className:t,style:r,currentMapType:o="streets",onMapTypeChange:n,layers:a=[],onLayerToggle:i}){let{isDarkTheme:l}=pt(),{isMobile:s}=bo(),[c,p]=ir.useState(false),d=LC(l),m=f=>{n?.(f);},u=a.filter(f=>f.legend),g=jsxRuntime.jsxs("div",{className:s?"space-y-6 pb-6":"space-y-6",children:[jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("div",{className:"text-sm font-semibold text-text-body mb-3",children:"Map type"}),jsxRuntime.jsx("div",{className:"grid grid-cols-3 gap-3",children:d.map(f=>jsxRuntime.jsxs("button",{type:"button",onClick:()=>m(f.id),className:"flex flex-col items-center space-y-2 p-3 rounded-lg text-center hover:bg-background-muted transition-colors border border-transparent "+(o===f.id?"bg-background-muted border-border":"hover:border-border"),children:[jsxRuntime.jsx("div",{className:"w-12 h-12 rounded-lg overflow-hidden bg-background-surface "+(o===f.id?"border-2 border-action-default":"border border-border-default"),children:jsxRuntime.jsx("img",{src:f.preview,alt:`${f.name} map preview`,className:"w-full h-full object-cover"})}),jsxRuntime.jsx("div",{className:"text-sm "+(o===f.id?"font-bold text-text-body":"font-normal text-text-muted"),children:f.name})]},f.id))})]}),u.length>0&&jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("div",{className:"text-sm font-semibold text-text-body mb-3",children:"Map details"}),jsxRuntime.jsx("div",{className:"space-y-2",children:u.map(f=>jsxRuntime.jsx(Gr,{isSelected:f.visible!==false,onChange:()=>i?.(f.id),children:jsxRuntime.jsxs("div",{className:"flex items-center gap-2",children:[f.legend&&jsxRuntime.jsx(FC,{type:f.legend.swatch,color:f.legend.color}),jsxRuntime.jsx("span",{className:"text-sm text-text-body",children:f.legend?.label})]})},f.id))})]})]});return jsxRuntime.jsx(kr,{position:e,className:t,style:r,children:jsxRuntime.jsx("div",{className:"relative",children:s?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(Dt,{icon:"Stack",ariaLabel:"Map layers and settings",onPress:()=>p(true)}),jsxRuntime.jsx(Lr,{isOpen:c,onClose:()=>p(false),title:"Map layers",animationVariant:"scale",children:g})]}):jsxRuntime.jsxs(reactAriaComponents.DialogTrigger,{children:[jsxRuntime.jsx(Dt,{icon:"Stack",ariaLabel:"Map layers and settings"}),jsxRuntime.jsx(We,{placement:"top start",children:jsxRuntime.jsx(reactAriaComponents.Dialog,{"aria-label":"Map layers and settings",className:"p-4 min-w-80 bg-background-surface border border-border rounded-lg shadow-xl focus:outline-none focus:ring-0",children:g})})]})})})}function wm({position:e="top-right",className:t,style:r,onToggle:o,isActive:n=false}){return jsxRuntime.jsx(kr,{position:e,className:tailwindMerge.twMerge("md:hidden",t),style:r,children:jsxRuntime.jsx(Dt,{icon:"ListDashes",onPress:o,isActive:n,ariaLabel:n?"Hide list view":"Show list view"})})}var VC={sm:"gap-2",md:"gap-4",lg:"gap-6"};function $a({position:e="top-right",className:t,style:r,children:o,orientation:n="vertical",spacing:a="md"}){return jsxRuntime.jsx(kr,{position:e,style:r,children:jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex",n==="vertical"?"flex-col":"flex-row",VC[a],t),children:o})})}function km({mapRef:e,position:t="bottom-right",className:r,style:o,showCompass:n=true,showGeolocate:a=true,showResetZoom:i=true,onResetZoom:l,onCompassClick:s,onGeolocateClick:c}){let[p,d]=ir.useState(false),m=ir.useRef(true);ir.useEffect(()=>()=>{m.current=false;},[]);let u=()=>{s?s():e.current&&e.current.easeTo({bearing:0,duration:500});},g=async()=>{if(!p)if(c)c();else {if(!navigator.geolocation){console.warn("Geolocation is not supported by this browser.");return}if(navigator.permissions?.query)try{if((await navigator.permissions.query({name:"geolocation"})).state==="denied"){console.warn("Geolocation permission was previously denied. Please enable location services in your browser settings.");return}}catch{}d(true),navigator.geolocation.getCurrentPosition(v=>{if(!m.current)return;let{latitude:h,longitude:C}=v.coords;e.current&&e.current.flyTo({center:[C,h],zoom:15,duration:2e3}),d(false);},v=>{if(m.current){switch(console.warn("Geolocation error:",{code:v.code,message:v.message,PERMISSION_DENIED:v.PERMISSION_DENIED,POSITION_UNAVAILABLE:v.POSITION_UNAVAILABLE,TIMEOUT:v.TIMEOUT}),v.code){case v.PERMISSION_DENIED:console.warn("Location access denied. Please enable location services in your browser settings.");break;case v.POSITION_UNAVAILABLE:console.warn("Location information unavailable.");break;case v.TIMEOUT:console.warn("Location request timed out.");break;default:console.warn("Error getting location:",v.message);break}d(false);}},{enableHighAccuracy:true,timeout:1e4,maximumAge:0});}};if(!n&&!a&&!i)return null;let f=!i&&n,b=!i&&!n&&a,x=!a&&n;return jsxRuntime.jsxs($a,{position:t,className:r,style:o,spacing:"sm",children:[i&&jsxRuntime.jsx(Dt,{icon:"ArrowsOut",onPress:l,ariaLabel:"Reset zoom to show all points",className:tailwindMerge.twMerge(!(!a&&!n&&i)&&"rounded-b-none",n&&"border-b-0")}),n&&jsxRuntime.jsx(Dt,{icon:"Compass",onPress:u,ariaLabel:"Reset map orientation",className:tailwindMerge.twMerge(!f&&"rounded-t-none border-t-0",!x&&"rounded-b-none border-b-0")}),a&&jsxRuntime.jsx(Dt,{icon:p?"Spinner":"NavigationArrow",onPress:g,isDisabled:p,ariaLabel:"Go to my location",iconClassName:tailwindMerge.twMerge("text-text-primary",p&&"animate-spin"),className:tailwindMerge.twMerge(!b&&"rounded-t-none border-t-0",!b&&n&&"lg:rounded-t lg:border-t")})]})}function Rm({position:e="top-left",className:t,style:r,onSearch:o,placeholder:n="Search places...",showSearchInput:a=true}){let[i,l]=ir.useState(false),[s,c]=ir.useState(""),p=()=>{a?l(!i):o&&o("");},d=u=>{u.preventDefault(),o&&s.trim()&&(o(s.trim()),l(false));},m=u=>{u.key==="Escape"&&l(false);};return jsxRuntime.jsx(kr,{position:e,className:t,style:r,children:jsxRuntime.jsxs("div",{className:"relative",children:[jsxRuntime.jsx(Dt,{icon:"MagnifyingGlass",onPress:p,ariaLabel:"Search"}),i&&a&&jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("absolute top-12 left-0 min-w-64","bg-background-surface border border-border rounded-lg shadow-xl p-3"),children:jsxRuntime.jsx("form",{onSubmit:d,children:jsxRuntime.jsxs("div",{className:"flex items-center space-x-2",children:[jsxRuntime.jsx("input",{type:"text",value:s,onChange:u=>c(u.target.value),onKeyDown:m,placeholder:n,className:tailwindMerge.twMerge("flex-1 px-3 py-2 text-sm rounded border","bg-background border-border text-text-primary placeholder-text-muted","focus:outline-none focus:ring-2 focus:ring-action-brand"),autoFocus:true}),jsxRuntime.jsx(q,{type:"submit",variant:"brand",size:"sm",className:"px-3 py-2",children:"Search"})]})})})]})})}var WC={navigation:"bottom-right",layers:"bottom-left",search:"top-left",list:"top-right",custom:"top-right"};function Vl(e){return e.position??WC[e.type]}function Am(e,t,r){let o=Vl(e),n=e.id??`${e.type}-${t}`;switch(e.type){case "navigation":{let i=e.showResetZoom!==false&&r.showResetButton;return jsxRuntime.jsx(km,{mapRef:r.mapRef,position:o,showCompass:e.showCompass,showGeolocate:e.showGeolocate,showResetZoom:i,onResetZoom:e.onResetZoom,onCompassClick:e.onCompassClick,onGeolocateClick:e.onGeolocateClick,style:e.style,className:e.className},n)}case "layers":return jsxRuntime.jsx(Cm,{position:o,currentMapType:e.currentMapType,onMapTypeChange:e.onMapTypeChange,layers:e.layers??r.layers,onLayerToggle:e.onLayerToggle,style:e.style,className:e.className},n);case "search":return jsxRuntime.jsx(Rm,{position:o,onSearch:e.onSearch,placeholder:e.placeholder,showSearchInput:e.showSearchInput,style:e.style,className:e.className},n);case "list":return jsxRuntime.jsx(wm,{position:o,onToggle:e.onToggle,isActive:e.isActive,style:e.style,className:e.className},n);case "custom":return jsxRuntime.jsx("div",{children:e.render(r)},n);default:return null}}function zl(e,t){let r=e.reduce((n,a,i)=>{let l=Vl(a);return n[l]||(n[l]=[]),n[l].push({control:a,index:i}),n},{}),o=[];for(let[n,a]of Object.entries(r)){if(a.length===1){o.push(Am(a[0].control,a[0].index,t));continue}o.push(jsxRuntime.jsx($a,{position:n,spacing:"sm",children:a.map(({control:i,index:l})=>Am(i,l,t))},`group-${n}`));}return o}function ei(){if(typeof process<"u"){if(process.env?.MAPBOX_ACCESS_TOKEN)return process.env.MAPBOX_ACCESS_TOKEN;if(process.env?.NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN)return process.env.NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN}if(typeof ({ url: (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index.cjs', document.baseURI).href)) })<"u"){let e=({ url: (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index.cjs', document.baseURI).href)) });if(e.env?.VITE_MAPBOX_ACCESS_TOKEN)return e.env.VITE_MAPBOX_ACCESS_TOKEN}throw new Error("Mapbox access token not found. Set MAPBOX_ACCESS_TOKEN, NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN, or VITE_MAPBOX_ACCESS_TOKEN in your environment.")}var Ol={vector:e=>({kind:"vector",...e}),geojson:e=>({kind:"geojson",...e}),customPins:e=>({kind:"customPins",...e}),raster:e=>({kind:"raster",...e}),clusteredVector:e=>({kind:"clusteredVector",...e})};function Hl(e){return e.kind==="vector"}function Gl(e){return e.kind==="geojson"}function Wl(e){return e.kind==="customPins"}function Ul(e){return e.kind==="raster"}function Pn(e,t="streets"){let r=[...e].sort((o,n)=>(o.z??0)-(n.z??0));return jsxRuntime.jsx(jsxRuntime.Fragment,{children:r.map(o=>{if(!o.visible&&o.visible!==void 0)return null;switch(o.kind){case "vector":return jsxRuntime.jsx(KC,{spec:o,mapType:t},o.id);case "geojson":return jsxRuntime.jsx(JC,{spec:o,mapType:t},o.id);case "customPins":return jsxRuntime.jsx(ZC,{spec:o,mapType:t},o.id);case "raster":return jsxRuntime.jsx(XC,{spec:o},o.id);case "clusteredVector":return jsxRuntime.jsx(YC,{spec:o,mapType:t},o.id);default:return console.warn("[Layers] Unknown layer kind:",o.kind),null}})})}function KC({spec:e,mapType:t}){let{colorMode:r}=pt(),o=ir.useMemo(()=>Fm(e.style,e.renderAs,r,t),[e.style,e.renderAs,r,t]),n=ir.useMemo(()=>({visibility:e.visible===false?"none":"visible"}),[e.visible]),a={id:e.id,type:Lm(e.renderAs),"source-layer":e.sourceLayer,paint:o,layout:n};e.filter!==void 0&&(a.filter=e.filter),e.minZoom!==void 0&&(a.minzoom=e.minZoom),e.maxZoom!==void 0&&(a.maxzoom=e.maxZoom);let i=e.tileset.startsWith("mapbox://"),l={id:`${e.id}-source`,type:"vector"};return i?l.url=e.tileset:(l.tiles=[e.tileset],l.minzoom=0,l.maxzoom=22),jsxRuntime.jsx(o2.Source,{...l,children:jsxRuntime.jsx(o2.Layer,{...a})})}function YC({spec:e}){let{colorMode:t,isDarkTheme:r}=pt(),o=1.25,n=9,a=3,i=n*1.4,l=.2,s=[0,5],c=ir.useMemo(()=>r?{clusters:e.clusterStyle?.color?Rt(e.clusterStyle.color):"#000000",shadow:e.clusterStyle?.shadowColor||"rgba(0, 0, 0, 0.5)",point:{fill:e.pointStyle?.color?Rt(e.pointStyle.color):"#000000",stroke:e.pointStyle?.borderColor||"#ffffff",shadow:"rgba(0, 0, 0, 0.5)"},text:{onCluster:"#ffffff"},selected:{fill:e.selectedStyle?.color?Rt(e.selectedStyle.color):"#444ae1"}}:{clusters:e.clusterStyle?.color?Rt(e.clusterStyle.color):"#000000",shadow:e.clusterStyle?.shadowColor||"rgba(0, 0, 0, 0.3)",point:{fill:e.pointStyle?.color?Rt(e.pointStyle.color):"#000000",stroke:e.pointStyle?.borderColor||"#ffffff",shadow:"rgba(0, 0, 0, 0.3)"},text:{onCluster:"#ffffff"},selected:{fill:e.selectedStyle?.color?Rt(e.selectedStyle.color):"#444ae1"}},[r,t,e.clusterStyle,e.pointStyle,e.selectedStyle]),p=ir.useMemo(()=>e.clusterStyle?.sizes?e.clusterStyle.sizes.map(({threshold:b,radius:x})=>({threshold:b,radius:x,color:c.clusters})):[{threshold:30,radius:20,color:c.clusters},{threshold:50,radius:30,color:c.clusters},{threshold:100,radius:40,color:c.clusters}],[e.clusterStyle?.sizes,c.clusters]),d=b=>["step",["get","point_count"],b[0].radius,...b.flatMap(({threshold:x,radius:y})=>[x,y])],m=b=>["step",["get","point_count"],b[0].radius*o,...b.flatMap(({threshold:x,radius:y})=>[x,y*o])],u=e.tileset.startsWith("mapbox://"),g={id:`${e.id}-source`,type:"vector"};u?g.url=e.tileset:(g.tiles=[e.tileset],g.minzoom=0,g.maxzoom=22);let f=ir.useMemo(()=>{let b=e.pointStyle?.radius??n,x=e.pointStyle?.borderWidth??a,y=e.selectedStyle?.radius??n*1.5,v=h=>{let C={...h};return e.minZoom!==void 0&&(C.minzoom=e.minZoom),e.maxZoom!==void 0&&(C.maxzoom=e.maxZoom),C};return [v({id:`${e.id}-cluster-shadows`,type:"circle","source-layer":e.sourceLayer,filter:["==",["get","cluster"],true],paint:{"circle-radius":m(p),"circle-color":c.shadow,"circle-blur":.5,"circle-translate":[0,8]}}),v({id:`${e.id}-points-shadow`,type:"circle","source-layer":e.sourceLayer,filter:["all",["!=",["get","cluster"],true],["!=",["get","id"],e.selectedId||"selected"]],paint:{"circle-radius":i,"circle-color":c.point.shadow,"circle-blur":l,"circle-translate":s}}),v({id:`${e.id}-clusters`,type:"circle","source-layer":e.sourceLayer,filter:["==",["get","cluster"],true],paint:{"circle-radius":d(p),"circle-color":["step",["get","point_count"],p[0].color,...p.flatMap(({threshold:h,color:C})=>[h,C])]}}),v({id:`${e.id}-cluster-count`,type:"symbol","source-layer":e.sourceLayer,filter:["==",["get","cluster"],true],layout:{"text-field":["case",["has","point_count_abbreviated"],["get","point_count_abbreviated"],["to-string",["get","point_count"]]],"text-font":["DIN Offc Pro Medium","Arial Unicode MS Bold"],"text-size":14,"text-offset":[0,.1]},paint:{"text-color":c.text.onCluster}}),v({id:`${e.id}-points`,type:"circle","source-layer":e.sourceLayer,filter:["all",["!=",["get","cluster"],true],["!=",["get","id"],e.selectedId||"selected"]],paint:{"circle-radius":b,"circle-color":c.point.fill,"circle-stroke-width":x,"circle-stroke-color":c.point.stroke}}),v({id:`${e.id}-selected-point`,type:"circle","source-layer":e.sourceLayer,filter:["==",["get","id"],e.selectedId||"selected"],paint:{"circle-radius":y,"circle-color":c.selected.fill,"circle-stroke-width":x,"circle-stroke-color":"#ffffff"}})]},[e.id,e.sourceLayer,e.selectedId,e.minZoom,e.maxZoom,e.pointStyle,e.selectedStyle,p,c,n,a,i,l]);return jsxRuntime.jsx(o2.Source,{...g,children:f.map(b=>jsxRuntime.jsx(o2.Layer,{...b},b.id))})}function JC({spec:e,mapType:t}){let{colorMode:r}=pt(),o=ir.useMemo(()=>typeof e.data=="string"?null:e.data,[e.data]),n=ir.useMemo(()=>Fm(e.style,e.renderAs,r,t,o),[e.style,e.renderAs,r,t,o]),a=ir.useMemo(()=>({visibility:e.visible===false?"none":"visible"}),[e.visible]),i=ir.useMemo(()=>(typeof e.data=="string",e.data),[e.data]),l={id:`${e.id}-source`,type:"geojson",data:i};e.cluster?.enabled&&(l.cluster=true,l.clusterRadius=e.cluster.radius??50,l.clusterMaxZoom=e.cluster.maxZoom??14);let s={id:e.id,type:Lm(e.renderAs),paint:n,layout:a};return e.minZoom!==void 0&&(s.minzoom=e.minZoom),e.maxZoom!==void 0&&(s.maxzoom=e.maxZoom),jsxRuntime.jsx(o2.Source,{...l,children:jsxRuntime.jsx(o2.Layer,{...s})})}function ZC({spec:e,mapType:t}){let r=e.pin;return jsxRuntime.jsx(jsxRuntime.Fragment,{children:e.data.map((o,n)=>{let[a,i]=e.getPosition(o),l=e.pinProps?e.pinProps(o):{};return jsxRuntime.jsx(o2.Marker,{longitude:a,latitude:i,anchor:"bottom",children:jsxRuntime.jsx(r,{...l})},`${e.id}-${n}`)})})}function XC({spec:e}){let t=ir.useMemo(()=>{if(!e.style)return {};let n={};return e.style.opacity!==void 0&&(n["raster-opacity"]=e.style.opacity),e.style.brightnessMin!==void 0&&(n["raster-brightness-min"]=e.style.brightnessMin),e.style.brightnessMax!==void 0&&(n["raster-brightness-max"]=e.style.brightnessMax),e.style.contrast!==void 0&&(n["raster-contrast"]=e.style.contrast),e.style.saturation!==void 0&&(n["raster-saturation"]=e.style.saturation),e.style.hueRotate!==void 0&&(n["raster-hue-rotate"]=e.style.hueRotate),e.style.fadeDuration!==void 0&&(n["raster-fade-duration"]=e.style.fadeDuration),n},[e.style]),r={id:`${e.id}-source`,type:"raster",tiles:[e.tileset]};e.tileSize&&(r.tileSize=e.tileSize);let o={id:e.id,type:"raster",paint:t};return e.minZoom!==void 0&&(o.minzoom=e.minZoom),e.maxZoom!==void 0&&(o.maxzoom=e.maxZoom),jsxRuntime.jsx(o2.Source,{...r,children:jsxRuntime.jsx(o2.Layer,{...o})})}var Tr="#666";function Lm(e){switch(e){case "line":return "line";case "fill":return "fill";case "circle":return "circle";case "symbol":return "symbol";case "heatmap":return "heatmap";default:return "circle"}}function Fm(e,t,r,o,n){if(!e)return {};let a={};if(e.color){let i=Rt(e.color,r,n);switch(t){case "line":a["line-color"]=i;break;case "fill":a["fill-color"]=i;break;case "circle":a["circle-color"]=i;break}}if(e.width&&t==="line"&&(a["line-width"]=Mm(e.width)),e.radius&&t==="circle"&&(a["circle-radius"]=Mm(e.radius)),e.opacity!==void 0)switch(t){case "line":a["line-opacity"]=e.opacity;break;case "fill":a["fill-opacity"]=e.opacity;break;case "circle":a["circle-opacity"]=e.opacity;break}if(e.fillOpacity!==void 0&&t==="fill"&&(a["fill-opacity"]=e.fillOpacity),t==="fill"&&e.borderWidth&&(a["fill-outline-color"]=e.borderColor?Rt(e.borderColor,r,n):Rt(e.color||"#000",r,n)),t==="circle"&&e.borderWidth){a["circle-stroke-width"]=e.borderWidth;let i=e.borderColor?Rt(e.borderColor,r,n):ze(`map-${o}-border`,"#ffffff");a["circle-stroke-color"]=i;}return a}function qC(e,t){let r=e.by,o=e.mapping,n=["match",["get",r]];for(let[a,i]of Object.entries(o))n.push(a),n.push(Rt(i));return n.push(Tr),n}function jC(e,t){let r=ld(t,e);r.length>20&&console.warn(`[Layers] Categorical auto-assignment found ${r.length} unique values for property "${e}". The 6-color palette will repeat ${Math.ceil(r.length/6)} times. Consider using explicit color mapping or reducing categories.`);let o=cd(r),n=["match",["get",e]];for(let[a,i]of Object.entries(o))n.push(a),n.push(i);return n.push(Tr),n}function QC(e,t="viridis",r,o){let n=_i(r,e),a;if(o&&o!=="auto")a=o;else {if(a=es(n),n.length===0)return console.warn(`[Layers] No numeric values found for property "${e}"`),Tr;console.log(`[Layers] Auto-calculated sequential scale for "${e}": ${a.min} to ${a.max}`);}let i=ud(t),l=["interpolate",["linear"],["get",e]];return i.forEach((s,c)=>{let p=c/(i.length-1),d=a.min+p*(a.max-a.min);l.push(d,s);}),l}function $C(e,t="redYellowBlue",r,o,n){let a=_i(r,e),i=dd(a,o),l;if(n&&n!=="auto")l=n;else {if(l=es(a),a.length===0)return console.warn(`[Layers] No numeric values found for property "${e}"`),Tr;console.log(`[Layers] Auto-calculated diverging scale for "${e}": ${l.min} \u2190 ${i} \u2192 ${l.max}`);}let s=pd(t),c=4,p=["interpolate",["linear"],["get",e]];for(let d=0;d<=c;d++){let m=d/c,u=l.min+m*(i-l.min);p.push(u,s[d]);}for(let d=c+1;d<s.length;d++){let m=(d-c)/(s.length-1-c),u=i+m*(l.max-i);p.push(u,s[d]);}return p}function Rt(e,t,r){if(typeof e=="string")return e;if("token"in e)return ze(e.token)||e.token;if("hex"in e)return e.hex;if("by"in e){if("palette"in e){if(e.palette==="categorical")return r?jC(e.by,r):(console.warn("[Layers] Categorical auto-assignment requires GeoJSON data (not URL-based data)"),Tr);if(e.palette==="sequential")return r?QC(e.by,e.scheme,r,e.scale):(console.warn("[Layers] Sequential palette requires GeoJSON data (not URL-based data)"),Tr);if(e.palette==="diverging")return r?$C(e.by,e.scheme,r,e.center,e.scale):(console.warn("[Layers] Diverging palette requires GeoJSON data (not URL-based data)"),Tr)}if("mapping"in e)return qC(e)}return Tr}function Mm(e){return typeof e=="number"?e:"byZoom"in e?["interpolate",["linear"],["zoom"],...e.byZoom.flatMap(([t,r])=>[t,r])]:e}var oi=null;function ni(){return typeof window>"u"||process.env.NODE_ENV==="test"?Promise.resolve():(oi||(oi=import('mapbox-gl/dist/mapbox-gl.css').then(()=>{}).catch(e=>{console.error("Failed to load Mapbox CSS",e),oi=null;})),oi)}function ai(){return jsxRuntime.jsx("div",{className:"absolute inset-0 z-50 bg-background-surface/90 backdrop-blur-sm","data-testid":"map-loading-overlay",children:jsxRuntime.jsx("div",{className:"absolute inset-0 opacity-20",children:jsxRuntime.jsx("div",{className:"h-full w-full",style:{backgroundImage:`
77
+ `}})]})}var va={prefix:String(Math.round(Math.random()*1e10)),current:0},iu=pr__namespace.default.createContext(va),Gx=pr__namespace.default.createContext(false);var Ux=!!(typeof window<"u"&&window.document&&window.document.createElement),Vs=new WeakMap;function Kx(e=false){let t=pr.useContext(iu),r=pr.useRef(null);if(r.current===null&&!e){var o,n;let a=(n=pr__namespace.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||n===void 0||(o=n.ReactCurrentOwner)===null||o===void 0?void 0:o.current;if(a){let i=Vs.get(a);i==null?Vs.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==i.state&&(t.current=i.id,Vs.delete(a));}r.current=++t.current;}return r.current}function Yx(e){let t=pr.useContext(iu);t===va&&!Ux&&process.env.NODE_ENV!=="production"&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let r=Kx(!!e),o=t===va&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${o}-${r}`}function Jx(e){let t=pr__namespace.default.useId(),[r]=pr.useState(Ca()),o=r||process.env.NODE_ENV==="test"?"react-aria":`react-aria${va.prefix}`;return e||`${o}-${t}`}typeof pr__namespace.default.useId=="function"?Jx:Yx;function Xx(){return false}function qx(){return true}function jx(e){return ()=>{}}function Ca(){return typeof pr__namespace.default.useSyncExternalStore=="function"?pr__namespace.default.useSyncExternalStore(jx,Xx,qx):pr.useContext(Gx)}function su(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Sa(e,t,r){su(e,t),t.set(e,r);}var Qx=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),$x=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function Hs(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize(),o=typeof r.getTextInfo=="function"?r.getTextInfo():r.textInfo;if(o)return o.direction==="rtl";if(r.script)return Qx.has(r.script)}let t=e.split("-")[0];return $x.has(t)}var th=Symbol.for("react-aria.i18n.locale");function cu(){let e=typeof window<"u"&&window[th]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e]);}catch{e="en-US";}return {locale:e,direction:Hs(e)?"rtl":"ltr"}}var Ws=cu(),xn=new Set;function lu(){Ws=cu();for(let e of xn)e(Ws);}function du(){let e=Ca(),[t,r]=pr.useState(Ws);return pr.useEffect(()=>(xn.size===0&&window.addEventListener("languagechange",lu),xn.add(r),()=>{xn.delete(r),xn.size===0&&window.removeEventListener("languagechange",lu);}),[]),e?{locale:"en-US",direction:"ltr"}:t}var nh=pr__namespace.default.createContext(null);function Gs(){let e=du();return pr.useContext(nh)||e}function wa(e,t){return e-t*Math.floor(e/t)}var uu=1721426;function Na(e,t,r,o){t=Ta(e,t);let n=t-1,a=-2;return r<=2?a=0:ka(t)&&(a=-1),uu-1+365*n+Math.floor(n/4)-Math.floor(n/100)+Math.floor(n/400)+Math.floor((367*r-362)/12+a+o)}function ka(e){return e%4===0&&(e%100!==0||e%400===0)}function Ta(e,t){return e==="BC"?1-t:t}function ah(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}var ih={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]},Nt=class{fromJulianDay(t){let r=t,o=r-uu,n=Math.floor(o/146097),a=wa(o,146097),i=Math.floor(a/36524),s=wa(a,36524),l=Math.floor(s/1461),c=wa(s,1461),p=Math.floor(c/365),d=n*400+i*100+l*4+p+(i!==4&&p!==4?1:0),[m,u]=ah(d),g=r-Na(m,u,1,1),f=2;r<Na(m,u,3,1)?f=0:ka(u)&&(f=1);let b=Math.floor(((g+f)*12+373)/367),x=r-Na(m,u,b,1)+1;return new Ur(m,u,b,x)}toJulianDay(t){return Na(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return ih[ka(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return ka(t.year)?366:365}getYearsInEra(t){return 9999}getEras(){return ["BC","AD"]}isInverseEra(t){return t.era==="BC"}balanceDate(t){t.year<=0&&(t.era=t.era==="BC"?"AD":"BC",t.year=1-t.year);}constructor(){this.identifier="gregory";}};function Ks(e,t){var r,o,n,a;return (a=(n=(r=e.isEqual)===null||r===void 0?void 0:r.call(e,t))!==null&&n!==void 0?n:(o=t.isEqual)===null||o===void 0?void 0:o.call(t,e))!==null&&a!==void 0?a:e.identifier===t.identifier}function Ys(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function mu(e,t){return pu(e)-pu(t)}function pu(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}var Us=null;function Kr(){return Us==null&&(Us=new Intl.DateTimeFormat().resolvedOptions().timeZone),Us}function Sr(e){e=pt(e,new Nt);let t=Ta(e.era,e.year);return bu(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function bu(e,t,r,o,n,a,i){let s=new Date;return s.setUTCHours(o,n,a,i),s.setUTCFullYear(e,t-1,r),s.getTime()}function Js(e,t){if(t==="UTC")return 0;if(e>0&&t===Kr())return new Date(e).getTimezoneOffset()*-6e4;let{year:r,month:o,day:n,hour:a,minute:i,second:s}=xu(e,t);return bu(r,o,n,a,i,s,0)-Math.floor(e/1e3)*1e3}var fu=new Map;function xu(e,t){let r=fu.get(t);r||(r=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:false,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),fu.set(t,r));let o=r.formatToParts(new Date(e)),n={};for(let a of o)a.type!=="literal"&&(n[a.type]=a.value);return {year:n.era==="BC"||n.era==="B"?-n.year+1:+n.year,month:+n.month,day:+n.day,hour:n.hour==="24"?0:+n.hour,minute:+n.minute,second:+n.second}}var gu=864e5;function sh(e,t,r,o){return (r===o?[r]:[r,o]).filter(a=>lh(e,t,a))}function lh(e,t,r){let o=xu(r,t);return e.year===o.year&&e.month===o.month&&e.day===o.day&&e.hour===o.hour&&e.minute===o.minute&&e.second===o.second}function Lt(e,t,r="compatible"){let o=Wt(e);if(t==="UTC")return Sr(o);if(t===Kr()&&r==="compatible"){o=pt(o,new Nt);let l=new Date,c=Ta(o.era,o.year);return l.setFullYear(c,o.month-1,o.day),l.setHours(o.hour,o.minute,o.second,o.millisecond),l.getTime()}let n=Sr(o),a=Js(n-gu,t),i=Js(n+gu,t),s=sh(o,t,n-a,n-i);if(s.length===1)return s[0];if(s.length>1)switch(r){case "compatible":case "earlier":return s[0];case "later":return s[s.length-1];case "reject":throw new RangeError("Multiple possible absolute times found")}switch(r){case "earlier":return Math.min(n-a,n-i);case "compatible":case "later":return Math.max(n-a,n-i);case "reject":throw new RangeError("No such absolute time found")}}function Zs(e,t,r="compatible"){return new Date(Lt(e,t,r))}function kt(e,t){let r=Js(e,t),o=new Date(e+r),n=o.getUTCFullYear(),a=o.getUTCMonth()+1,i=o.getUTCDate(),s=o.getUTCHours(),l=o.getUTCMinutes(),c=o.getUTCSeconds(),p=o.getUTCMilliseconds();return new Lo(n<1?"BC":"AD",n<1?-n+1:n,a,i,t,r,s,l,c,p)}function Pa(e,t){return kt(e.getTime(),t)}function Wt(e,t){let r=0,o=0,n=0,a=0;if("timeZone"in e)({hour:r,minute:o,second:n,millisecond:a}=e);else if("hour"in e&&true)return e;return new hn(e.calendar,e.era,e.year,e.month,e.day,r,o,n,a)}function pt(e,t){if(Ks(e.calendar,t))return e;let r=t.fromJulianDay(e.calendar.toJulianDay(e)),o=e.copy();return o.calendar=t,o.era=r.era,o.year=r.year,o.month=r.month,o.day=r.day,ar(o),o}function Xs(e,t,r){if(e instanceof Lo)return e.timeZone===t?e:qs(e,t);let o=Lt(e,t,r);return kt(o,t)}function hu(e){let t=Sr(e)-e.offset;return new Date(t)}function qs(e,t){let r=Sr(e)-e.offset;return pt(kt(r,t),e.calendar)}var yn=36e5;function Cn(e,t){let r=e.copy(),o="hour"in r?ph(r,t):0;js(r,t.years||0),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,e),r.month+=t.months||0,Qs(r),yu(r),r.day+=(t.weeks||0)*7,r.day+=t.days||0,r.day+=o,dh(r),r.calendar.balanceDate&&r.calendar.balanceDate(r),r.year<1&&(r.year=1,r.month=1,r.day=1);let n=r.calendar.getYearsInEra(r);if(r.year>n){var a,i;let l=(a=(i=r.calendar).isInverseEra)===null||a===void 0?void 0:a.call(i,r);r.year=n,r.month=l?1:r.calendar.getMonthsInYear(r),r.day=l?1:r.calendar.getDaysInMonth(r);}r.month<1&&(r.month=1,r.day=1);let s=r.calendar.getMonthsInYear(r);return r.month>s&&(r.month=s,r.day=r.calendar.getDaysInMonth(r)),r.day=Math.max(1,Math.min(r.calendar.getDaysInMonth(r),r.day)),r}function js(e,t){var r,o;!((r=(o=e.calendar).isInverseEra)===null||r===void 0)&&r.call(o,e)&&(t=-t),e.year+=t;}function Qs(e){for(;e.month<1;)js(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,js(e,1);}function dh(e){for(;e.day<1;)e.month--,Qs(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,Qs(e);}function yu(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day));}function ar(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),yu(e);}function vu(e){let t={};for(let r in e)typeof e[r]=="number"&&(t[r]=-e[r]);return t}function $s(e,t){return Cn(e,vu(t))}function Ra(e,t){let r=e.copy();return t.era!=null&&(r.era=t.era),t.year!=null&&(r.year=t.year),t.month!=null&&(r.month=t.month),t.day!=null&&(r.day=t.day),ar(r),r}function vn(e,t){let r=e.copy();return t.hour!=null&&(r.hour=t.hour),t.minute!=null&&(r.minute=t.minute),t.second!=null&&(r.second=t.second),t.millisecond!=null&&(r.millisecond=t.millisecond),Cu(r),r}function uh(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=Da(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=Da(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=Da(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=Da(e.hour,24),t}function Cu(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23));}function Da(e,t){let r=e%t;return r<0&&(r+=t),r}function ph(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,uh(e)}function Aa(e,t,r,o){let n=e.copy();switch(t){case "era":{let s=e.calendar.getEras(),l=s.indexOf(e.era);if(l<0)throw new Error("Invalid era: "+e.era);l=ir(l,r,0,s.length-1,o?.round),n.era=s[l],ar(n);break}case "year":var a,i;!((a=(i=n.calendar).isInverseEra)===null||a===void 0)&&a.call(i,n)&&(r=-r),n.year=ir(e.year,r,-1/0,9999,o?.round),n.year===-1/0&&(n.year=1),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,e);break;case "month":n.month=ir(e.month,r,1,e.calendar.getMonthsInYear(e),o?.round);break;case "day":n.day=ir(e.day,r,1,e.calendar.getDaysInMonth(e),o?.round);break;default:throw new Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(n),ar(n),n}function _s(e,t,r,o){let n=e.copy();switch(t){case "hour":{let a=e.hour,i=0,s=23;if(o?.hourCycle===12){let l=a>=12;i=l?12:0,s=l?23:11;}n.hour=ir(a,r,i,s,o?.round);break}case "minute":n.minute=ir(e.minute,r,0,59,o?.round);break;case "second":n.second=ir(e.second,r,0,59,o?.round);break;case "millisecond":n.millisecond=ir(e.millisecond,r,0,999,o?.round);break;default:throw new Error("Unsupported field "+t)}return n}function ir(e,t,r,o,n=false){if(n){e+=Math.sign(t),e<r&&(e=o);let a=Math.abs(t);t>0?e=Math.ceil(e/a)*a:e=Math.floor(e/a)*a,e>o&&(e=r);}else e+=t,e<r?e=o-(r-e-1):e>o&&(e=r+(e-o-1));return e}function el(e,t){let r;if(t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.weeks!=null&&t.weeks!==0||t.days!=null&&t.days!==0){let n=Cn(Wt(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});r=Lt(n,e.timeZone);}else r=Sr(e)-e.offset;r+=t.milliseconds||0,r+=(t.seconds||0)*1e3,r+=(t.minutes||0)*6e4,r+=(t.hours||0)*36e5;let o=kt(r,e.timeZone);return pt(o,e.calendar)}function Su(e,t){return el(e,vu(t))}function wu(e,t,r,o){switch(t){case "hour":{let n=0,a=23;if(o?.hourCycle===12){let g=e.hour>=12;n=g?12:0,a=g?23:11;}let i=Wt(e),s=pt(vn(i,{hour:n}),new Nt),l=[Lt(s,e.timeZone,"earlier"),Lt(s,e.timeZone,"later")].filter(g=>kt(g,e.timeZone).day===s.day)[0],c=pt(vn(i,{hour:a}),new Nt),p=[Lt(c,e.timeZone,"earlier"),Lt(c,e.timeZone,"later")].filter(g=>kt(g,e.timeZone).day===c.day).pop(),d=Sr(e)-e.offset,m=Math.floor(d/yn),u=d%yn;return d=ir(m,r,Math.floor(l/yn),Math.floor(p/yn),o?.round)*yn+u,pt(kt(d,e.timeZone),e.calendar)}case "minute":case "second":case "millisecond":return _s(e,t,r,o);case "era":case "year":case "month":case "day":{let n=Aa(Wt(e),t,r,o),a=Lt(n,e.timeZone);return pt(kt(a,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function Nu(e,t,r){let o=Wt(e),n=vn(Ra(o,t),t);if(n.compare(o)===0)return e;let a=Lt(n,e.timeZone,r);return pt(kt(a,e.timeZone),e.calendar)}var mh=/^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})$/;function rl(e){let t=e.match(mh);if(!t)throw new Error("Invalid ISO 8601 date string: "+e);let r=new Ur(tl(t[1],0,9999),tl(t[2],1,12),1);return r.day=tl(t[3],1,r.calendar.getDaysInMonth(r)),r}function tl(e,t,r){let o=Number(e);if(o<t||o>r)throw new RangeError(`Value out of range: ${t} <= ${o} <= ${r}`);return o}function ku(e){return `${String(e.hour).padStart(2,"0")}:${String(e.minute).padStart(2,"0")}:${String(e.second).padStart(2,"0")}${e.millisecond?String(e.millisecond/1e3).slice(1):""}`}function ol(e){let t=pt(e,new Nt),r;return t.era==="BC"?r=t.year===1?"0000":"-"+String(Math.abs(1-t.year)).padStart(6,"00"):r=String(t.year).padStart(4,"0"),`${r}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function nl(e){return `${ol(e)}T${ku(e)}`}function gh(e){let t=Math.sign(e)<0?"-":"+";e=Math.abs(e);let r=Math.floor(e/36e5),o=Math.floor(e%36e5/6e4),n=Math.floor(e%36e5%6e4/1e3),a=`${t}${String(r).padStart(2,"0")}:${String(o).padStart(2,"0")}`;return n!==0&&(a+=`:${String(n).padStart(2,"0")}`),a}function Tu(e){return `${nl(e)}${gh(e.offset)}[${e.timeZone}]`}function al(e){let t=typeof e[0]=="object"?e.shift():new Nt,r;if(typeof e[0]=="string")r=e.shift();else {let i=t.getEras();r=i[i.length-1];}let o=e.shift(),n=e.shift(),a=e.shift();return [t,r,o,n,a]}var bh=new WeakMap,Ur=class e{copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day):new e(this.calendar,this.year,this.month,this.day)}add(t){return Cn(this,t)}subtract(t){return $s(this,t)}set(t){return Ra(this,t)}cycle(t,r,o){return Aa(this,t,r,o)}toDate(t){return Zs(this,t)}toString(){return ol(this)}compare(t){return Ys(this,t)}constructor(...t){Sa(this,bh,{writable:true,value:void 0});let[r,o,n,a,i]=al(t);this.calendar=r,this.era=o,this.year=n,this.month=a,this.day=i,ar(this);}};var xh=new WeakMap,hn=class e{copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new e(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return Cn(this,t)}subtract(t){return $s(this,t)}set(t){return Ra(vn(this,t),t)}cycle(t,r,o){switch(t){case "era":case "year":case "month":case "day":return Aa(this,t,r,o);default:return _s(this,t,r,o)}}toDate(t,r){return Zs(this,t,r)}toString(){return nl(this)}compare(t){let r=Ys(this,t);return r===0?mu(this,Wt(t)):r}constructor(...t){Sa(this,xh,{writable:true,value:void 0});let[r,o,n,a,i]=al(t);this.calendar=r,this.era=o,this.year=n,this.month=a,this.day=i,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,ar(this);}},hh=new WeakMap,Lo=class e{copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new e(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return el(this,t)}subtract(t){return Su(this,t)}set(t,r){return Nu(this,t,r)}cycle(t,r,o){return wu(this,t,r,o)}toDate(){return hu(this)}toString(){return Tu(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-Xs(t,this.timeZone).toDate().getTime()}constructor(...t){Sa(this,hh,{writable:true,value:void 0});let[r,o,n,a,i]=al(t),s=t.shift(),l=t.shift();this.calendar=r,this.era=o,this.year=n,this.month=a,this.day=i,this.timeZone=s,this.offset=l,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,ar(this);}};var il=new Map;function sl(e){let{locale:t}=Gs(),r=t+(e?Object.entries(e).sort((n,a)=>n[0]<a[0]?-1:1).join():"");if(il.has(r))return il.get(r);let o=new Intl.Collator(t,e);return il.set(r,o),o}function Ma(e){let t=sl({usage:"search",...e}),r=pr.useCallback((a,i)=>i.length===0?true:(a=a.normalize("NFC"),i=i.normalize("NFC"),t.compare(a.slice(0,i.length),i)===0),[t]),o=pr.useCallback((a,i)=>i.length===0?true:(a=a.normalize("NFC"),i=i.normalize("NFC"),t.compare(a.slice(-i.length),i)===0),[t]),n=pr.useCallback((a,i)=>{if(i.length===0)return true;a=a.normalize("NFC"),i=i.normalize("NFC");let s=0,l=i.length;for(;s+l<=a.length;s++){let c=a.slice(s,s+l);if(t.compare(i,c)===0)return true}return false},[t]);return pr.useMemo(()=>({startsWith:r,endsWith:o,contains:n}),[r,o,n])}function Tt(){let[e,t]=pr__namespace.default.useState(false),r=pr__namespace.default.useCallback((n,a)=>{t(true),a?.(n);},[]),o=pr__namespace.default.useCallback((n,a)=>{t(false),a?.(n);},[]);return {isFocused:e,handleFocus:r,handleBlur:o}}function Ut({children:e,className:t}){return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("relative w-full",t),children:e})}function Pu({onClick:e,size:t="md",className:r}){return jsxRuntime.jsx("button",{type:"button",onClick:o=>{o.preventDefault(),o.stopPropagation(),e();},className:tailwindMerge.twMerge("absolute right-2 top-1/2 -translate-y-1/2 transform text-text-muted hover:text-text-body",r),"aria-label":"Clear input",onMouseDown:o=>{o.preventDefault(),o.stopPropagation();},children:jsxRuntime.jsx(k,{name:"X",size:t==="sm"?16:20})})}function La(e){let{isInvalid:t,isDisabled:r,isFocused:o}=e,n="border rounded-[var(--control-border-radius)] !outline-none ";return r?`${n} border-border-muted`:t&&o?`${n} border-feedback-error-border shadow-[inset_0_0_0_1px_var(--color-feedback-error-border)]`:t?`${n} border-feedback-error-border`:o?`${n} border-border-focus shadow-[inset_0_0_0_1px_var(--color-border-focus)]`:`${n} border-border-default`}function Fa(e){return e.isDisabled?"bg-background-muted":e.transparent?"bg-transparent":"bg-background-input"}function mt(e){let{isInvalid:t,isDisabled:r,isFocused:o,transparent:n,size:a="md",className:i}=e;return tailwindMerge.twMerge("w-full",La({isInvalid:t,isDisabled:r,isFocused:o}),Fa({transparent:n,isDisabled:r}),ce[a].text,ce[a].height,ce[a].padding,i)}function Sn(e){let{size:t="md",isFocusWithin:r,isInvalid:o,isDisabled:n,transparent:a,className:i}=e;return tailwindMerge.twMerge("group flex items-center rounded-[var(--control-border-radius)] overflow-hidden",Fa({transparent:a,isDisabled:n}),ce[t].height,La({isFocused:r,isInvalid:o,isDisabled:n}),i)}function ye({children:e,size:t="md",tooltip:r,isRequired:o,className:n,htmlFor:a}){return jsxRuntime.jsxs("label",{htmlFor:a,className:tailwindMerge.twMerge(ce[t].text,"!text-text-caption flex items-center gap-1",n),children:[e,o&&jsxRuntime.jsx("span",{children:"*"}),r&&jsxRuntime.jsx("span",{className:"text-text-muted",children:jsxRuntime.jsx(k,{name:"Info",size:t==="sm"?16:20})})]})}function Ce({size:e="md",className:t,children:r,...o}){return jsxRuntime.jsx("div",{...o,className:tailwindMerge.twMerge("leading-[2.25] text-text-muted",ce[e].text,t),children:r})}function fe({children:e,size:t="md",className:r}){return jsxRuntime.jsx("div",{role:"alert",className:tailwindMerge.twMerge(ce[t].text,"text-feedback-error-text",r),children:e})}function Ea({size:e="md",isInvalid:t,isDisabled:r,isFocused:o,transparent:n,className:a,...i}){return jsxRuntime.jsx("input",{className:mt({isInvalid:t,isDisabled:r,isFocused:o,transparent:n,size:e,className:a}),...i})}function Ia(e){let{children:t,...r}=e;return jsxRuntime.jsx("div",{...r,className:Sn(e),children:typeof t=="function"?t(e):t})}function Sh({children:e,...t}){return jsxRuntime.jsx(reactAriaComponents.ListBox,{...t,className:se(t.className,"outline-0"),children:e})}var Fu=pr.createContext("md");function Eu(){return pr.useContext(Fu)}function Rh(e="md"){return `flex-1 text-start data-[placeholder]:text-text-placeholder overflow-hidden text-ellipsis whitespace-nowrap ${ce[e].text}`}function Ah(){let e=pr__namespace.default.useCallback((r,o)=>{o?.(r);},[]),t=pr__namespace.default.useCallback((r,o)=>{o?.(r);},[]);return {handleFocus:e,handleBlur:t}}function Jr({label:e,description:t,errorMessage:r,children:o,items:n,renderItem:a,size:i="md",selectedKey:s,defaultSelectedKey:l,onSelectionChange:c,placeholder:p,showErrors:d=false,tooltip:m,isRequired:u,transparent:g,placement:f="bottom start",shouldFlip:b=true,menuWidth:x="match",...h}){let[v,y]=pr.useState(null),[C,S]=pr.useState(null),w=s??v??l,{handleFocus:A,handleBlur:N}=Ah(),D=Z=>{c&&Z!==null&&c(Z),c||y(Z);},E=pr.useRef(null),W=pr.useRef(null);return jsxRuntime.jsx(reactAriaComponents.Select,{...h,selectedKey:w,defaultSelectedKey:l,onSelectionChange:D,placeholder:p,className:se(h.className,"group flex w-full flex-col"),ref:E,onOpenChange:Z=>{Z&&W.current?S(W.current.offsetWidth):Z||E.current?.blur();},children:({isDisabled:Z,isInvalid:B,isOpen:G})=>jsxRuntime.jsxs("div",{className:"flex flex-col",children:[e&&jsxRuntime.jsx(ye,{size:i,tooltip:m,isRequired:u,children:e}),jsxRuntime.jsx(Ut,{children:jsxRuntime.jsx("div",{ref:W,children:jsxRuntime.jsxs(j,{variant:"unstyled",className:tailwindMerge.twMerge(mt({isInvalid:B||d&&!!r,isDisabled:Z,isFocused:G,transparent:g,size:i}),"flex items-center text-start gap-4 cursor-pointer pl-[var(--control-padding-sm)]"),onFocus:U=>A(U,h.onFocus),onBlur:U=>N(U,h.onBlur),"data-open":G,children:[jsxRuntime.jsx(reactAriaComponents.SelectValue,{className:Rh(i)}),jsxRuntime.jsx(k,{name:"CaretDown","aria-hidden":true,className:tailwindMerge.twMerge("h-4 w-4 text-text-body group-disabled:text-gray-200 forced-colors:text-[ButtonText] transition-transform",G&&"rotate-180")})]})})}),t&&jsxRuntime.jsx(Ce,{size:i,className:"mt-3",children:t}),d&&jsxRuntime.jsx(fe,{size:i,className:"mt-3 text-feedback-error-text",children:typeof r=="function"&&h.validationResult?r(h.validationResult):typeof r=="string"?r:null}),jsxRuntime.jsx(Fe,{className:"bg-background-input shadow-xl border border-border-input/20 backdrop-blur-sm rounded-[var(--control-border-radius)]",style:{width:x==="match"&&C?`${C}px`:void 0,minWidth:x==="auto"&&C?`${C}px`:void 0,maxWidth:x==="auto"?"min(600px, 90vw)":void 0},placement:f,shouldFlip:b,children:jsxRuntime.jsx(Fu.Provider,{value:i,children:jsxRuntime.jsx(reactAriaComponents.ListBox,{items:n,className:"w-full max-h-[300px] overflow-auto bg-background-input p-0 outline-0",children:a&&n?U=>jsxRuntime.jsx(Kt,{id:U.id,textValue:U.label,size:i,children:jsxRuntime.jsx("span",{className:"overflow-hidden text-ellipsis whitespace-nowrap min-w-0 flex-1",children:a(U)})},U.id):o})})})]})})}function Kt({size:e,className:t,...r}){let o=Eu(),n=e??o;return jsxRuntime.jsx(reactAriaComponents.ListBoxItem,{...r,className:tailwindMerge.twMerge("flex cursor-default items-center gap-2 rounded-sm px-3 outline-none text-text-body data-[focused]:bg-background-hover data-[focus-visible]:ring-2 data-[focus-visible]:ring-action-default data-[focus-visible]:ring-inset data-[selected]:bg-background-selected data-[selected]:font-medium overflow-hidden",ce[n].paddingY,ce[n].text,t)})}var Gh={sm:"h-4 w-4",md:"h-5 w-5",lg:"h-6 w-6",xl:"h-7 w-7"},Uh={sm:"pl-7",md:"pl-9",lg:"pl-10",xl:"pl-12"},Iu={sm:"py-1",md:"py-2",lg:"py-3",xl:"py-4"};function Kh(){let e=pr__namespace.default.useContext(reactAriaComponents.ComboBoxStateContext);return jsxRuntime.jsx(reactAriaComponents.Button,{slot:null,className:"clear-button","aria-label":"Clear",onPress:()=>e?.setSelectedKey(null),children:"\u2715"})}var pl=(e,t,r)=>{if(e==null||e==="")return "";let n=(r?r.flatMap(a=>a.items):t||[]).find(a=>a.id===e);return n?n.name:""};async function Yh(e,t,r){try{let o=e.url.replace("{q}",t),n=new URLSearchParams;e.extraParams&&Object.entries(e.extraParams).forEach(([l,c])=>{n.append(l,c.toString());});let a=`${o}${n.toString()?"?"+n.toString():""}`,i=await fetch(a,{method:"GET",headers:e.headers,signal:r});if(!i.ok)throw new Error(`HTTP error! status: ${i.status}`);let s=await i.json();return {items:e.transformResponse(s)}}catch(o){console.error("Error in REST request:",o);let n=o instanceof Error?o.message:"Unknown error occurred";return {items:[],error:n}}}async function Jh(e,t,r){try{let o=e.graphqlQuery.replace(`$${e.variableKey||"filter"}`,`"${t}"`),n=await fetch(e.url,{method:"POST",headers:{"Content-Type":"application/json",...e.headers},body:JSON.stringify({query:o}),signal:r});if(!n.ok)throw new Error(`HTTP error! status: ${n.status}`);let a=await n.json();if(a.errors)throw new Error(a.errors[0]?.message||"GraphQL error occurred");return e.responsePath&&(a=e.responsePath.split(".").reduce((i,s)=>i?.[s],a)),{items:e.transformResponse(a)}}catch(o){console.error("Error in GraphQL request:",o);let n=o instanceof Error?o.message:"Unknown error occurred";return {items:[],error:n}}}function Ba({label:e,staticItems:t=[],sections:r,selectedKey:o,defaultSelectedKey:n,onSelectionChange:a,requestConfig:i,defaultFilter:s,placeholder:l,errorMessage:c,description:p,size:d="md",tooltip:m,isRequired:u,isDisabled:g,isInvalid:f,validationResult:b,showErrors:x=true,renderItem:h,renderLeftIcon:v,renderSection:y,autoFocus:C=false}){let S=pr__namespace.default.useRef(null),[w,A]=pr__namespace.default.useState(),[N,D]=pr.useState(()=>pl(o||n,t,r)),[E,W]=pr.useState(false),Z=Po(N),{contains:B}=Ma({sensitivity:"base"}),[G,U]=pr.useState(),ee=ce[d].text,L=ce[d].height,F=null;pr.useEffect(()=>{C&&W(true);},[C]),pr.useEffect(()=>{let R=()=>{S.current&&A(S.current.offsetWidth);};return R(),window.addEventListener("resize",R),()=>window.removeEventListener("resize",R)},[]),pr.useEffect(()=>{F&&F.setFilterText(Z);},[Z,F]),i&&(F=reactStately.useAsyncList({async load({signal:R,filterText:I=""}){if(!i.url||i.shouldLoad&&!i.shouldLoad(I))return {items:[]};try{let K;return i.requestType==="GraphQL"?K=await Jh(i,I,R):K=await Yh(i,I,R),U(K.error),{items:K.items}}catch(K){return console.error("Error loading items:",K),U(K instanceof Error?K.message:"Unknown error occurred"),{items:[]}}},initialFilterText:""})),Z===""&&(F=null);let V=R=>{let I=pl(R,t,r);D(I),a&&a(R);},O=R=>{D(R);let I=pl(o,t,r);o!=null&&R!==I&&a&&a(null);};return jsxRuntime.jsx(reactAriaComponents.ComboBox,{onSelectionChange:V,selectedKey:o||void 0,defaultSelectedKey:n||void 0,defaultItems:r?r.flatMap(R=>R.items):t,items:F?F.items:void 0,className:se("group flex flex-col","w-full"),menuTrigger:"focus",isDisabled:g,isInvalid:f||!!c,inputValue:N,onInputChange:O,autoFocus:C,defaultFilter:s||B,"aria-label":e||l||"Autocomplete",children:R=>jsxRuntime.jsxs("div",{className:"flex flex-col",children:[e&&jsxRuntime.jsx(ye,{size:d,tooltip:m,isRequired:u,children:e}),jsxRuntime.jsxs(reactAriaComponents.Group,{ref:S,className:Sn({size:d,isInvalid:f||!!c,isDisabled:g,isFocusWithin:E||R.isOpen,className:"w-full cursor-pointer"}),"aria-label":e||l||"Autocomplete",style:{position:"relative"},children:[v?jsxRuntime.jsx("div",{className:"absolute left-3",children:v(!!F?.isLoading)}):jsxRuntime.jsx(k,{name:"MagnifyingGlass",className:`${Gh[d]} absolute left-3 text-inherit`}),jsxRuntime.jsx(reactAriaComponents.Input,{className:`flex-1 min-w-0 border-none pr-3 outline-0 placeholder:text-text-placeholder ${Uh[d]} ${ee} ${L} ${g?"bg-background-muted":"bg-background-input"}`,placeholder:l,disabled:g,onFocus:()=>W(true),onBlur:()=>W(false)}),N&&!g&&jsxRuntime.jsx(Kh,{}),jsxRuntime.jsx(reactAriaComponents.Button,{className:`px-2 text-text-body ${ee} ${L} ${g?"bg-background-muted":"bg-background-input"}`,"aria-label":"Toggle menu",isDisabled:g,children:({isPressed:I})=>jsxRuntime.jsx(k,{name:I?"CaretUp":"CaretDown",className:"h-4 w-4"})})]}),p&&jsxRuntime.jsx(Ce,{size:d,children:p}),x&&G&&jsxRuntime.jsx(fe,{size:d,className:"text-feedback-error-text",children:G}),x&&typeof c=="string"&&jsxRuntime.jsx(fe,{size:d,className:"text-feedback-error-text",children:c}),x&&typeof c=="function"&&b&&jsxRuntime.jsx(fe,{size:d,className:"text-feedback-error-text",children:c(b)}),jsxRuntime.jsx(Fe,{className:"bg-background-input shadow-xl border border-border-input/20 backdrop-blur-sm ring-1 ring-black/5 rounded-[var(--control-border-radius)]",style:{minWidth:w?`${w}px`:void 0},children:jsxRuntime.jsx(reactAriaComponents.ListBox,{className:`max-h-[300px] overflow-auto bg-background-input outline-none ${ee}`,children:r?r.map(I=>{let K=I.items.map(Y=>jsxRuntime.jsx(Kt,{id:Y.id,textValue:Y.name,size:d,className:`flex cursor-default items-center gap-2 px-3 ${Iu[d]} text-text-body outline-none data-[focused]:bg-background-hover data-[selected]:bg-background-selected data-[selected]:font-medium`,children:h?h(Y):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[Y.name,jsxRuntime.jsx(k,{name:"X",className:"ml-auto h-4 w-4 text-text-muted opacity-0 data-[focused]:opacity-100 data-[selected]:opacity-100"})]})},Y.id));return y?y(I,K):jsxRuntime.jsxs(reactAriaComponents.ListBoxSection,{children:[jsxRuntime.jsx(reactAriaComponents.Header,{className:"px-3 py-1 text-sm font-bold text-text-muted",children:I.name}),K]},I.name)}):I=>jsxRuntime.jsx(Kt,{id:I.id,textValue:I.name,size:d,className:`flex cursor-default items-center gap-2 px-3 ${Iu[d]} text-text-body outline-none data-[focused]:bg-background-hover data-[selected]:bg-background-selected data-[selected]:font-medium`,children:h?h(I):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[I.name,jsxRuntime.jsx(k,{name:"X",className:"ml-auto h-4 w-4 text-text-muted opacity-0 data-[focused]:opacity-100 data-[selected]:opacity-100"})]})},I.id)})})]})})}function lr({src:e,alt:t,firstName:r,lastName:o,fullName:n,onClick:a,size:i="md",shape:s="circle",variant:l="user",className:c,status:p,bordered:d=false}){let m={xs:"h-6 w-6 text-xs",sm:"h-8 w-8 text-sm",md:"h-10 w-10 text-base",lg:"h-12 w-12 text-lg",xl:"h-16 w-16 text-xl"},u={xs:"h-1.5 w-1.5",sm:"h-2 w-2",md:"h-2.5 w-2.5",lg:"h-3 w-3",xl:"h-4 w-4"},g={xs:"bottom-0 right-0",sm:"bottom-0 right-0",md:"bottom-0 right-0",lg:"bottom-0.5 right-0.5",xl:"bottom-1 right-1"},f={online:"bg-feedback-success-background border-feedback-success-border",offline:"bg-text-muted border-border-muted",away:"bg-feedback-warning-background border-feedback-warning-border",busy:"bg-feedback-error-background border-feedback-error-border"},b={user:"bg-action-brand/10 text-action-brand",team:"bg-feedback-info-background text-feedback-info-text",organization:"bg-feedback-success-background text-feedback-success-text"},x=s==="circle"?"rounded-full":"rounded-md",h=tailwindMerge.twMerge("relative inline-flex items-center justify-center overflow-hidden transition-opacity outline-none",m[i],x,a&&"cursor-pointer hover:opacity-80",d&&"ring-2 ring-background-surface",c),y=(()=>{if(r||o){let w=r?.[0]||"",A=o?.[0]||"";return (w+A).toUpperCase()}if(n){let w=n.split(" "),A=w[0]?.[0]||"",N=w[w.length-1]?.[0]||"";return A===N?A.toUpperCase():(A+N).toUpperCase()}return ""})(),C=()=>{let w={xs:14,sm:16,md:20,lg:24,xl:32}[i];switch(l){case "team":return jsxRuntime.jsx(lucideReact.Users,{size:w});case "organization":return jsxRuntime.jsx(lucideReact.Building2,{size:w});default:return jsxRuntime.jsx(lucideReact.User,{size:w})}},S=()=>e?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("img",{src:e,alt:t||n||"Avatar",className:"h-full w-full object-cover",style:{fontSize:0}}),jsxRuntime.jsx("div",{className:"absolute inset-0 flex items-center justify-center -z-10",children:y?jsxRuntime.jsx("span",{className:"font-semibold",children:y}):C()})]}):y?jsxRuntime.jsx("span",{className:"font-semibold",children:y}):C();return jsxRuntime.jsxs("div",{className:"relative inline-block",children:[jsxRuntime.jsx("div",{"data-avatar":true,className:tailwindMerge.twMerge(h,e?"":b[l]),onClick:a,role:a?"button":void 0,tabIndex:a?0:void 0,children:S()}),p&&jsxRuntime.jsx("span",{className:tailwindMerge.twMerge("absolute border-2 border-background-surface",x,u[i],g[i],f[p]),"aria-label":`Status: ${p}`})]})}var Qh={default:"bg-feedback-info-background text-feedback-info-text",success:"bg-feedback-success-background text-feedback-success-text",error:"bg-feedback-error-background text-feedback-error-text",warning:"bg-feedback-warning-background text-feedback-warning-text",info:"bg-feedback-info-background text-feedback-info-text",primary:"bg-action-brand/10 text-action-brand",secondary:"bg-action-default/10 text-action-default",neutral:"bg-background-muted text-text-muted",charging:"bg-state-charging text-state-charging-text",discharging:"bg-state-discharging text-state-discharging-text",heat:"bg-state-heat text-state-heat-text",cool:"bg-state-cool text-state-cool-text",eco:"bg-state-eco text-state-eco-text",auto:"bg-state-auto text-state-auto-text",on:"bg-state-on text-state-on-text",off:"bg-state-off text-state-off-text",idle:"bg-state-idle text-state-idle-text",unknown:"bg-state-unknown text-state-unknown-text",importing:"bg-state-importing text-state-importing-text",exporting:"bg-state-exporting text-state-exporting-text"},$h={sm:"px-2.5 py-1.5 text-xs",md:"px-3.5 py-2 text-sm",lg:"px-4 py-2.5 text-base"},_h={pill:"rounded-full",rounded:"rounded-lg",square:"rounded-sm"},ey={sm:"w-1.5 h-1.5",md:"w-2 h-2",lg:"w-2.5 h-2.5"};function Ie({children:e,variant:t="default",size:r="sm",shape:o="square",dot:n=false,dotPosition:a="left",dotPulse:i=false,className:s}){let l=n&&jsxRuntime.jsx("span",{className:tailwindMerge.twMerge("rounded-full bg-current opacity-75",ey[r],i&&"animate-pulse"),"aria-hidden":"true"});return jsxRuntime.jsxs("span",{className:tailwindMerge.twMerge("inline-flex items-center gap-1.5 font-medium",$h[r],_h[o],Qh[t],s),children:[n&&a==="left"&&l,e,n&&a==="right"&&l]})}var Je=({href:e,children:t,className:r="",external:o=false,title:n,variant:a="default",onClick:i,asButton:s=false,onPress:l,showArrow:c=false})=>{let p=o?{target:"_blank",rel:"noopener noreferrer"}:{},u=`hover:underline hover:decoration-1 hover:underline-offset-4 hover:decoration-current cursor-pointer ${{default:"text-action-primary hover:text-action-primary-hover visited:text-action-primary",brand:"text-action-brand hover:text-action-brand-hover visited:text-action-brand",muted:"text-text-muted hover:text-text-muted visited:text-text-muted",unstyled:""}[a]} ${r}`,g=jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[t,c&&jsxRuntime.jsxs("span",{children:["\xA0","\u2192"]})]});return s?jsxRuntime.jsx("button",{type:"button",className:u,onClick:l,title:n,children:g}):jsxRuntime.jsx("a",{href:e||"#",className:u,...p,title:n,onClick:i,children:g})};function za(e){let{children:t,maxWidth:r=600,className:o,...n}=e,{ref:a,width:i}=Uc(),[s,l]=pr__namespace.default.useState(false),[c,p]=pr__namespace.default.useState(false),d=pr__namespace.default.useRef(false),m=pr__namespace.default.useMemo(()=>t&&!e.items&&typeof t!="function"?pr__namespace.default.Children.toArray(t):null,[t,e.items]);if(pr__namespace.default.useEffect(()=>{m&&m.length>=4&&i>0&&!d.current?(d.current=true,l(i>r),p(true)):(!m||m&&m.length<4)&&p(true);let u=setTimeout(()=>{c||p(true);},100);return ()=>clearTimeout(u)},[i,r,m,c]),m&&s&&m.length>=4){let u=m[0],g=m.slice(1,-2),f=m.slice(-2),b=g.map(x=>{if(pr__namespace.default.isValidElement(x)){let h=x.props;if(typeof h.children=="string")return {label:h.children,href:h.href}}return {label:"..."}});return jsxRuntime.jsxs(reactAriaComponents.Breadcrumbs,{...n,ref:a,className:tailwindMerge.twMerge("flex gap-2",c?"opacity-100":"opacity-0",o),children:[u,jsxRuntime.jsx(ny,{items:b}),f]})}return jsxRuntime.jsx(reactAriaComponents.Breadcrumbs,{...n,ref:a,className:tailwindMerge.twMerge("flex gap-2",c?"opacity-100":"opacity-0",o),children:t})}function ny({items:e}){let t=e.map((r,o)=>({id:`breadcrumb-${o}`,name:r.label,href:r.href}));return jsxRuntime.jsx(reactAriaComponents.Breadcrumb,{className:"flex items-center gap-2",children:jsxRuntime.jsxs("span",{className:"flex items-center gap-2",children:[jsxRuntime.jsx(da,{items:t,align:"left",size:"sm",children:jsxRuntime.jsx(j,{variant:"icon",size:"sm",icon:"DotsThree","aria-label":"Show hidden breadcrumbs",className:"px-0.5"})}),jsxRuntime.jsx(lucideReact.ChevronRight,{className:"h-4 w-4 text-text-muted"})]})})}function Va(e){let{className:t,children:r,href:o,...n}=e;return jsxRuntime.jsx(reactAriaComponents.Breadcrumb,{className:se(t,"flex items-center gap-2"),...n,children:a=>{let i=a.isCurrent;return jsxRuntime.jsx(jsxRuntime.Fragment,{children:i?jsxRuntime.jsx("span",{className:"max-w-[200px] truncate font-semibold text-text-body sm:max-w-none",children:typeof r=="function"?r(a):r}):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(Je,{variant:"muted",href:o,className:"max-w-[150px] truncate sm:max-w-[300px] md:max-w-none",children:typeof r=="function"?r(a):r}),jsxRuntime.jsx(lucideReact.ChevronRight,{className:"h-4 w-4 shrink-0 text-text-muted"})]})})}})}function fy({isSelected:e,isDisabled:t}){let r=[ke,"w-9 h-9 text-base cursor-default rounded-full flex items-center justify-center forced-color-adjust-none"];return t?r.push("text-gray-300 dark:text-zinc-600 forced-colors:text-[GrayText]"):e?r.push("bg-blue-600 invalid:bg-red-600 text-white forced-colors:bg-[Highlight] forced-colors:invalid:bg-[Mark] forced-colors:text-[HighlightText]"):r.push("text-zinc-900 dark:text-zinc-200 hover:bg-gray-100 dark:hover:bg-zinc-700 pressed:bg-gray-200 dark:pressed:bg-zinc-600"),r.join(" ")}function Fo({errorMessage:e,...t}){return jsxRuntime.jsxs(reactAriaComponents.Calendar,{...t,children:[jsxRuntime.jsx(Oa,{}),jsxRuntime.jsxs(reactAriaComponents.CalendarGrid,{className:"border-separate [border-spacing:0] [&_td]:p-0 [&_td]:!border-0",children:[jsxRuntime.jsx(Ha,{}),jsxRuntime.jsx(reactAriaComponents.CalendarGridBody,{children:r=>jsxRuntime.jsx(reactAriaComponents.CalendarCell,{date:r,className:({isSelected:o,isDisabled:n})=>`${fy({isSelected:o,isDisabled:n})} border-0`})})]}),e&&jsxRuntime.jsx(reactAriaComponents.Text,{slot:"errorMessage",className:"text-sm text-red-600",children:e})]})}function Oa(){let{direction:e}=reactAriaComponents.useLocale(),t=18;return jsxRuntime.jsxs("header",{className:"flex w-full items-center gap-1 px-1 pb-4",children:[jsxRuntime.jsx(j,{variant:"icon",slot:"previous",className:"pl-0",children:e==="rtl"?jsxRuntime.jsx(k,{name:"CaretRight","aria-hidden":true,size:t}):jsxRuntime.jsx(k,{name:"CaretLeft","aria-hidden":true,size:t})}),jsxRuntime.jsx(reactAriaComponents.Heading,{className:"text-md mx-2 flex-1 text-center font-semibold text-zinc-900 dark:text-zinc-200"}),jsxRuntime.jsx(j,{variant:"icon",slot:"next",className:"pr-0",children:e==="rtl"?jsxRuntime.jsx(k,{name:"CaretLeft","aria-hidden":true,size:t}):jsxRuntime.jsx(k,{name:"CaretRight","aria-hidden":true,size:t})})]})}function Ha(){return jsxRuntime.jsx(reactAriaComponents.CalendarGridHeader,{children:e=>jsxRuntime.jsx(reactAriaComponents.CalendarHeaderCell,{className:"text-xs font-semibold text-text-caption",children:e})})}function xl(e){return jsxRuntime.jsxs(reactAriaComponents.CheckboxGroup,{...e,className:se(e.className,"flex flex-col gap-2"),children:[jsxRuntime.jsx(ye,{children:e.label}),e.children,e.description&&jsxRuntime.jsx(Ce,{children:e.description}),jsxRuntime.jsx(fe,{children:typeof e.errorMessage=="function"?void 0:e.errorMessage})]})}function vy({isDisabled:e}){return `flex gap-2 items-center group text-sm transition ${e?"text-text-disabled":"text-text-caption"}`}function Cy({isSelected:e,isInvalid:t,isDisabled:r,isIndeterminate:o,variant:n="default"}){let a="w-5 h-5 flex-shrink-0 rounded-[var(--control-border-radius)] flex items-center justify-center border-2 transition ring-offset-2 focus:ring-2",i=n==="brand"?"focus:ring-action-brand":"focus:ring-action-default",s="";if(r)s="border-border-muted bg-background-muted";else if(t)s="border-feedback-error-border bg-feedback-error-background";else if(e||o){let l=n==="brand"?"action-brand":"action-default";s=`bg-${l} border-${l} hover:bg-${l}-hover hover:border-${l}-hover`;}else s="bg-background-input border-border-input hover:border-border-focus";return `${a} ${i} ${s}`}var Zu="w-4 h-4 text-text-onPrimary group-disabled:text-text-disabled";function qr(e){let{children:t,variant:r="default",...o}=e;return jsxRuntime.jsx(reactAriaComponents.Checkbox,{...o,className:reactAriaComponents.composeRenderProps(e.className,(n,a)=>`${vy(a)} ${n||""}`),children:n=>{let{isSelected:a,isIndeterminate:i,...s}=n,l=jsxRuntime.jsx("div",{className:Cy({isSelected:a,isIndeterminate:i,variant:r,...s}),children:i?jsxRuntime.jsx(lucideReact.Minus,{"aria-hidden":true,className:Zu}):a?jsxRuntime.jsx(lucideReact.Check,{"aria-hidden":true,className:Zu}):null});return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[l,typeof t=="function"?t(n):t]})}})}var Ny={default:"bg-background-muted text-action-default border border-border-muted hover:bg-background-hover",brand:"bg-action-brand/10 text-action-brand border border-action-brand/20 hover:bg-action-brand/15",secondary:"bg-background-input text-text-body border border-border-input hover:bg-background-hover"},ky={sm:"px-2 py-1 gap-1",md:"px-3 py-1.5 gap-1.5",lg:"px-3 py-2 gap-2",xl:"px-4 py-2.5 gap-2"},Ty="opacity-75 cursor-not-allowed pointer-events-none";function qu(e){let{variant:t,size:r,isDisabled:o,isClickable:n,className:a}=e;return tailwindMerge.twMerge("inline-flex items-center justify-center rounded-full font-medium transition-colors","whitespace-nowrap select-none",ky[r],ce[r].text,Ny[t],n&&!o&&"cursor-pointer",o&&Ty,a)}function wr({children:e,onRemove:t,size:r="md",variant:o="default",isRemovable:n=true,isDisabled:a=false,className:i,onClick:s}){let l=!!s&&!a,c=n&&t&&!a,p=u=>{u.stopPropagation(),u.preventDefault(),t&&!a&&t();},d=()=>{s&&!a&&s();},m=jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("span",{className:"truncate",children:e}),c&&jsxRuntime.jsx("button",{type:"button",onClick:p,className:"flex-shrink-0 rounded-full p-0.5 hover:bg-black/10 transition-colors cursor-pointer","aria-label":"Remove",tabIndex:-1,children:jsxRuntime.jsx(k,{name:"X",size:r==="sm"?12:r==="md"?14:16,className:"text-current opacity-70 hover:opacity-100"})})]});return l?jsxRuntime.jsx("button",{type:"button",onClick:d,className:qu({variant:o,size:r,isDisabled:a,isClickable:l,className:i}),disabled:a,children:m}):jsxRuntime.jsx("span",{className:qu({variant:o,size:r,isDisabled:a,isClickable:l,className:i}),children:m})}var Ey={json:()=>import('ace-builds/src-noconflict/mode-json'),javascript:()=>import('ace-builds/src-noconflict/mode-javascript'),typescript:()=>import('ace-builds/src-noconflict/mode-typescript'),html:()=>import('ace-builds/src-noconflict/mode-html'),css:()=>import('ace-builds/src-noconflict/mode-css'),markdown:()=>import('ace-builds/src-noconflict/mode-markdown'),yaml:()=>import('ace-builds/src-noconflict/mode-yaml'),xml:()=>import('ace-builds/src-noconflict/mode-xml'),python:()=>import('ace-builds/src-noconflict/mode-python'),sql:()=>import('ace-builds/src-noconflict/mode-sql')},Iy={github:()=>import('ace-builds/src-noconflict/theme-github'),github_dark:()=>import('ace-builds/src-noconflict/theme-github_dark')},By={"ext-language-tools":()=>import('ace-builds/src-noconflict/ext-language_tools')},kn=new Set;async function hl(e,t){kn.has(e)||(await t(),kn.add(e));}async function zy(e,t,r){await Promise.all([hl(`language:${e}`,Ey[e]),hl(`theme:${t}`,Iy[t]),r?hl("extension:language-tools",By["ext-language-tools"]):void 0]);}function Qu(e,t,r){let o=kn.has(`language:${e}`)&&kn.has(`theme:${t}`);return r?o&&kn.has("extension:language-tools"):o}function $u({value:e,readOnly:t=false,onChange:r,language:o="json",theme:n="github_dark",height:a,width:i="100%",className:s,lineHeight:l=19,minLines:c=3,maxLines:p=50,showLineNumbers:d=true,showGutter:m=true,fontSize:u=14,wrapEnabled:g=false}){let f=pr.useRef(null),[b,x]=pr.useState(()=>Qu(o,n,!t)),h=pr.useMemo(()=>{if(a)return a;let v=(e.match(/\n/g)||[]).length+1;return `${Math.max(c,Math.min(v,p))*l+10}px`},[e,a,l,c,p]);return pr.useEffect(()=>{let v=false,y=!t;return Qu(o,n,y)?(x(true),()=>{v=true;}):(x(false),zy(o,n,y).then(()=>{v||x(true);}).catch(C=>{v||x(true),console.error("Failed to load Ace editor resources",C);}),()=>{v=true;})},[o,t,n]),pr.useEffect(()=>{b&&f.current?.editor&&f.current.editor.resize();},[h,b]),jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("overflow-hidden rounded-md border border-border-input",s),style:{width:i,height:h},children:b?jsxRuntime.jsx(Ly__default.default,{ref:f,mode:o,theme:n,value:e,onChange:r,readOnly:t,width:"100%",height:"100%",fontSize:u,showPrintMargin:false,showGutter:m,highlightActiveLine:!t,setOptions:{useWorker:true,showLineNumbers:d,tabSize:2,enableBasicAutocompletion:!t,enableLiveAutocompletion:!t,enableSnippets:!t,showFoldWidgets:true,wrap:g},editorProps:{$blockScrolling:true}}):jsxRuntime.jsx("div",{className:"flex h-full w-full items-center justify-center bg-surface-muted text-foreground-muted",children:"Loading editor\u2026"})})}var ep=pr__namespace.createContext({variant:"contained",density:"comfortable",showDividers:true}),tp=pr__namespace.createContext(null),Gy={contained:"rounded-lg border border-border-default bg-background-surface overflow-hidden",bordered:"rounded-lg border border-border-default bg-background-surface",plain:"bg-transparent"},_u={true:"divide-y divide-border-default",false:"gap-3"},Uy={comfortable:"px-5 py-3",compact:"px-4 py-2.5"},Ky={comfortable:"px-5 pt-0",compact:"px-4 pt-0"},Yy={comfortable:"h-5 w-5",compact:"h-4 w-4"};function Sl(){return pr__namespace.useContext(ep)}function Jy(e){let t=pr__namespace.useContext(tp);if(!t)throw new Error(`${e} must be used within a <CollapseItem>`);return t}function Zy({variant:e,showDividers:t,className:r}){let o="group/collapse-item w-full transition-colors",n={contained:"bg-background-surface",bordered:"bg-background-surface",plain:"bg-transparent"},a=t?"":"rounded-lg border border-border-default bg-background-surface overflow-hidden";return tailwindMerge.twMerge(o,n[e],a,r)}function Xy({isDisabled:e,isPressed:t,density:r,variant:o,showDividers:n,className:a}){let i="group/collapse-header flex w-full items-start gap-4 text-left transition-colors duration-150",s=e?"cursor-not-allowed text-text-disabled":"cursor-pointer text-text-body",l=t&&!e?"bg-background-hover":"",c=Uy[r];return tailwindMerge.twMerge(i,ke(),c,s,l,o==="plain"&&n?"px-0":"",a)}function qy({density:e,showDividers:t,className:r}){let o="text-text-body",n=Ky[e];return tailwindMerge.twMerge(o,n,t?"":"rounded-b-lg",r)}function rp({variant:e="contained",density:t="comfortable",showDividers:r=true,className:o,...n}){let a=pr__namespace.useMemo(()=>({variant:e,density:t,showDividers:r}),[e,t,r]),i=tailwindMerge.twMerge("flex w-full flex-col",Gy[e],r?_u.true:_u.false,e==="plain"&&r?"border-y border-border-default/60":"");return jsxRuntime.jsx(ep.Provider,{value:a,children:jsxRuntime.jsx(reactAriaComponents.DisclosureGroup,{...n,className:se(o,i)})})}function wl({className:e,children:t,...r}){let{variant:o,showDividers:n}=Sl();return jsxRuntime.jsx(reactAriaComponents.Disclosure,{...r,className:reactAriaComponents.composeRenderProps(e,a=>Zy({variant:o,showDividers:n,className:a})),children:a=>jsxRuntime.jsx(tp.Provider,{value:a,children:t})})}wl.displayName="CollapseItem";function Nl({title:e,description:t,startContent:r,endContent:o,indicator:n,indicatorPosition:a="end",showIndicator:i=true,keepIndicatorSpace:s=false,children:l,className:c,...p}){let d=Jy("CollapseHeader"),{density:m,variant:u,showDividers:g}=Sl(),f=Yy[m];return jsxRuntime.jsx(reactAriaComponents.Button,{...p,slot:"trigger","data-expanded":d.isExpanded?"true":void 0,className:reactAriaComponents.composeRenderProps(c,(b,x)=>Xy({isDisabled:x.isDisabled??false,isPressed:x.isPressed??false,density:m,variant:u,showDividers:g,className:b})),children:b=>{let x=b.isDisabled??false,h=i?typeof n=="function"?n({isExpanded:d.isExpanded,isDisabled:x}):n??jsxRuntime.jsx(k,{name:"CaretDown",size:m==="compact"?"sm":"md",weight:"bold","aria-hidden":"true",className:tailwindMerge.twMerge("text-text-muted transition-transform duration-200",d.isExpanded?"rotate-180":"rotate-0")}):null,v=h?jsxRuntime.jsx("span",{className:tailwindMerge.twMerge("flex flex-shrink-0 items-center justify-center text-text-muted",f),"aria-hidden":"true",children:h}):s?jsxRuntime.jsx("span",{className:tailwindMerge.twMerge("flex flex-shrink-0 items-center justify-center",f),"aria-hidden":"true"}):null;return jsxRuntime.jsxs("div",{className:"flex w-full items-center gap-4",children:[a==="start"&&v,r&&jsxRuntime.jsx("div",{className:"flex flex-shrink-0 items-center text-text-muted",children:r}),jsxRuntime.jsxs("div",{className:"flex min-w-0 flex-1 items-start gap-3",children:[l??jsxRuntime.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-1 text-left",children:[e&&jsxRuntime.jsx("span",{className:"truncate font-medium text-text-heading",children:e}),t&&jsxRuntime.jsx("span",{className:"text-sm text-text-muted",children:t})]}),o&&jsxRuntime.jsx("div",{className:"flex flex-shrink-0 items-center text-sm text-text-muted",children:o})]}),a==="end"&&v]})}})}Nl.displayName="CollapseHeader";function kl({className:e,children:t,...r}){let{density:o,showDividers:n}=Sl();return jsxRuntime.jsx(reactAriaComponents.DisclosurePanel,{...r,className:reactAriaComponents.composeRenderProps(e,a=>qy({density:o,showDividers:n,className:a})),children:t})}kl.displayName="CollapseContent";function Eo(e){if(!e)return false;let t=e.startsWith("#")?e.slice(1):e;return /^[0-9A-Fa-f]{3}$|^[0-9A-Fa-f]{6}$/.test(t)}function Pl(e){if(!e)return "";let t=e.startsWith("#")?e.slice(1):e;return t.length===3&&(t=t.split("").map(r=>r+r).join("")),`#${t.toUpperCase()}`}function _y({label:e,description:t,errorMessage:r,size:o="md",tooltip:n,isRequired:a,transparent:i,className:s,validationResult:l,value:c,defaultValue:p,onChange:d,placeholder:m="#000000",showColorSwatch:u=true,...g}){let[f,b]=pr.useState(p||""),[x,h]=pr.useState(c||p||""),[v,y]=pr.useState(false),[C,S]=pr.useState(null),{isFocused:w,handleFocus:A,handleBlur:N}=Tt(),D=c!==void 0?c:f;pr.useEffect(()=>{c!==void 0&&h(c);},[c]);let E=D?!Eo(D):false,W=pr.useCallback(G=>{if(h(G),Eo(G)){let U=Pl(G);d?d(U):b(U);}else G===""&&(d?d(""):b(""));},[d]),Z=pr.useCallback(G=>{let U=Pl(G);h(U),d?d(U):b(U);},[d]),B=pr.useCallback(G=>{if(Eo(x)){let U=Pl(x);h(U),d&&U!==D?d(U):!d&&U!==f&&b(U);}N(G,g.onBlur);},[x,D,f,d,N,g.onBlur]);return jsxRuntime.jsx(reactAriaComponents.TextField,{...g,isRequired:a,className:se(s,"group flex flex-col"),children:({isDisabled:G})=>jsxRuntime.jsxs("div",{className:"flex flex-col",children:[e&&jsxRuntime.jsx(ye,{size:o,tooltip:n,isRequired:a,children:e}),jsxRuntime.jsx(Ut,{children:jsxRuntime.jsxs("div",{className:"flex gap-2",children:[jsxRuntime.jsxs("div",{className:"flex-1 relative",children:[jsxRuntime.jsx(Ea,{size:o,disabled:G,type:"text",value:x,placeholder:m,onFocus:U=>A(U,g.onFocus),onBlur:B,onChange:U=>W(U.target.value),className:tailwindMerge.twMerge(mt({isInvalid:E,isDisabled:G,isFocused:w,size:o,transparent:i}),u?"pr-12":"pr-3","pl-3")}),u&&jsxRuntime.jsx("div",{className:"absolute right-3 top-1/2 -translate-y-1/2 pointer-events-none",style:{width:ce[o].height},children:jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("w-6 h-6 rounded border shadow-sm",Eo(D)?"border-border-default":"border-border-default bg-background-muted"),style:Eo(D)?{backgroundColor:D}:void 0,"aria-hidden":"true",children:!Eo(D)&&jsxRuntime.jsx("div",{className:"w-full h-full flex items-center justify-center",children:jsxRuntime.jsx("div",{className:"w-3 h-3 rounded-full border-2 border-border-muted"})})})})]}),jsxRuntime.jsx("div",{ref:S,children:jsxRuntime.jsx(j,{variant:"secondary",size:o,icon:"Palette",onPress:()=>y(!v),isDisabled:G,className:"flex-shrink-0",children:"Pick"})})]})}),t&&jsxRuntime.jsx(Ce,{size:o,className:"mt-3",children:t}),typeof r=="string"&&jsxRuntime.jsx(fe,{size:o,className:"mt-1",children:r}),typeof r=="function"&&l&&jsxRuntime.jsx(fe,{size:o,className:"mt-1",children:r(l)}),v&&C&&jsxRuntime.jsx(Fe,{triggerRef:{current:C},isOpen:v,onOpenChange:y,placement:"bottom end",className:"bg-background-input shadow-xl border border-border-input/20 backdrop-blur-sm rounded-lg p-4",children:jsxRuntime.jsxs("div",{className:"flex flex-col gap-4",children:[jsxRuntime.jsx(reactColorful.HexColorPicker,{color:D||"#000000",onChange:Z,style:{width:"200px",height:"200px"}}),jsxRuntime.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntime.jsx("div",{className:"w-10 h-10 rounded border border-border-default shadow-sm flex-shrink-0",style:{backgroundColor:D||"#000000"}}),jsxRuntime.jsx("div",{className:"flex-1 text-text-body text-[length:var(--control-text-sm)] font-mono",children:D||"#000000"})]})]})})]})})}function ap({isOpen:e,onClose:t,onConfirm:r,title:o,message:n,confirmLabel:a="Confirm",cancelLabel:i="Cancel",confirmVariant:s,isDestructive:l=false,isLoading:c=false,maxWidth:p="500px",minWidth:d="400px"}){return jsxRuntime.jsx(Cr,{isOpen:e,onClose:t,title:o,maxWidth:p,minWidth:d,primaryAction:{label:a,onPress:()=>{r();},variant:s??(l?"destructive":"primary"),isLoading:c},secondaryAction:{label:i,onPress:t,variant:"secondary",isDisabled:c},children:jsxRuntime.jsx("div",{className:"text-text-body",children:n})})}function ip({isConnected:e,connectedAt:t,disconnectedAt:r,showTimestamp:o=false,isLoading:n,size:a="sm",shape:i="pill",...s}){if(n)return jsxRuntime.jsx(P,{className:"inline-flex h-6 w-24"});let l=e?"Connected":"Disconnected",c=e?"success":"neutral",p=null;if(o){if(e&&t)p=aa(t);else if(!e&&r){let d=aa(r);p=d?`Offline ${d}`:null;}}return jsxRuntime.jsxs("div",{className:"inline-flex flex-col gap-1",children:[jsxRuntime.jsx(Ie,{variant:c,size:a,shape:i,dot:e,dotPulse:e,...s,children:l}),p&&jsxRuntime.jsx("span",{className:"text-xs text-text-muted",children:p})]})}function sp({firstName:e,lastName:t,email:r,phone:o,avatarUrl:n,href:a,LinkComponent:i,variant:s="outlined",showEmail:l=true,showPhone:c=false,isLoading:p=false,className:d,contentClassName:m}){let u=`${e} ${t}`.trim(),g=({children:f,className:b})=>a?i?jsxRuntime.jsx(i,{href:a,className:b,children:f}):jsxRuntime.jsx(Je,{href:a,variant:"unstyled",className:tailwindMerge.twMerge("hover:underline",b),asButton:false,children:f}):jsxRuntime.jsx("span",{className:b,children:f});return p?jsxRuntime.jsx(be,{variant:s,className:d,children:jsxRuntime.jsx(be.Content,{children:jsxRuntime.jsxs("div",{className:"flex items-center gap-4",children:[jsxRuntime.jsx(P,{width:56,height:56,className:"rounded flex-shrink-0"}),jsxRuntime.jsxs("div",{className:"flex-1 space-y-2",children:[jsxRuntime.jsx(P,{width:"70%",height:20}),jsxRuntime.jsx(P,{width:"100%",height:16})]})]})})}):jsxRuntime.jsx(be,{variant:s,className:tailwindMerge.twMerge("group/card",d),children:jsxRuntime.jsx(be.Content,{className:tailwindMerge.twMerge(a&&"cursor-pointer",m),children:jsxRuntime.jsxs("div",{className:"flex items-center gap-4 relative",children:[jsxRuntime.jsx(lr,{firstName:e,lastName:t,src:n,size:"xl",variant:"user",shape:"square",className:"flex-shrink-0"}),jsxRuntime.jsxs("div",{className:"flex-1 min-w-0",children:[a&&jsxRuntime.jsx(g,{className:"after:absolute after:inset-0",children:jsxRuntime.jsx("span",{className:"sr-only",children:u})}),jsxRuntime.jsx("span",{className:"text-lg font-semibold leading-tight text-text-heading block mb-1.5 group-hover/card:text-text-brand transition-colors",children:u}),jsxRuntime.jsxs("div",{className:"space-y-0.5",children:[l&&r&&jsxRuntime.jsxs("div",{className:"flex items-center gap-2.5 text-text-body",children:[jsxRuntime.jsx(k,{name:"Envelope",size:16,className:"text-text-muted flex-shrink-0"}),jsxRuntime.jsx("span",{className:"text-sm leading-relaxed truncate",children:r})]}),c&&o&&jsxRuntime.jsxs("div",{className:"flex items-center gap-2.5 text-text-body",children:[jsxRuntime.jsx(k,{name:"Phone",size:16,className:"text-text-muted flex-shrink-0"}),jsxRuntime.jsx("span",{className:"text-sm leading-relaxed truncate",children:o})]})]})]})]})})})}function Ga({firstName:e,lastName:t,email:r,avatarUrl:o,layout:n="stacked",size:a="md",href:i,LinkComponent:s,linkVariant:l="unstyled",emphasis:c="normal",showEmail:p=false,isLoading:d=false,className:m}){let g={xs:{avatarSize:"xs",gap:"gap-1.5",textSize:"text-xs",secondaryTextSize:"text-xs",skeletonAvatar:24,skeletonText:80,skeletonSecondary:60},sm:{avatarSize:"sm",gap:"gap-2",textSize:"text-sm",secondaryTextSize:"text-xs",skeletonAvatar:32,skeletonText:96,skeletonSecondary:72},md:{avatarSize:"md",gap:"gap-3",textSize:"text-base",secondaryTextSize:"text-sm",skeletonAvatar:40,skeletonText:128,skeletonSecondary:96},lg:{avatarSize:"lg",gap:"gap-3",textSize:"text-lg",secondaryTextSize:"text-base",skeletonAvatar:48,skeletonText:160,skeletonSecondary:120}}[a],f=`${e} ${t}`.trim(),x={strong:"font-semibold text-text-body",high:"font-semibold text-text-body",normal:"text-text-body",low:"text-text-muted"}[c],h=({children:v,className:y})=>i?s?jsxRuntime.jsx(s,{href:i,className:y,children:v}):jsxRuntime.jsx(Je,{href:i,variant:l,className:tailwindMerge.twMerge("hover:underline",y),asButton:false,children:v}):jsxRuntime.jsx("span",{className:y,children:v});return d?n==="inline"?jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("flex items-center",g.gap,m),children:[jsxRuntime.jsx(P,{width:g.skeletonAvatar,height:g.skeletonAvatar,className:"flex-shrink-0 rounded-full"}),jsxRuntime.jsx(P,{width:g.skeletonText,height:g.skeletonAvatar*.5})]}):jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("flex items-center",g.gap,m),children:[jsxRuntime.jsx(P,{width:g.skeletonAvatar,height:g.skeletonAvatar,className:"flex-shrink-0 rounded-full"}),jsxRuntime.jsxs("div",{className:"flex flex-col gap-1",children:[jsxRuntime.jsx(P,{width:g.skeletonText,height:16}),p&&jsxRuntime.jsx(P,{width:g.skeletonSecondary,height:12})]})]}):n==="inline"?jsxRuntime.jsxs(h,{className:tailwindMerge.twMerge("flex items-center",g.gap,i&&"hover:bg-background-hover transition-colors",m),children:[jsxRuntime.jsx(lr,{firstName:e,lastName:t,src:o,size:g.avatarSize,variant:"user",shape:"circle",className:"flex-shrink-0"}),jsxRuntime.jsx("span",{className:tailwindMerge.twMerge("leading-normal truncate hover:text-text-body",x,g.textSize,i&&"hover:underline hover:decoration-1 hover:underline-offset-4"),children:f})]}):jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("flex items-center justify-start",g.gap,m),children:[jsxRuntime.jsx(lr,{firstName:e,lastName:t,src:o,size:g.avatarSize,variant:"user",shape:"square",className:"flex-shrink-0"}),jsxRuntime.jsxs("div",{className:"flex flex-col items-start min-w-0",children:[jsxRuntime.jsx(h,{className:tailwindMerge.twMerge("leading-normal truncate hover:text-text-body",x,g.textSize,i&&"hover:underline hover:decoration-1 hover:underline-offset-4"),children:f}),p&&r&&jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("text-text-caption leading-normal truncate",g.secondaryTextSize),children:r})]})]})}var a0=({isEntering:e,isExiting:t,className:r})=>["max-w-[200px] group bg-slate-700 dark:bg-slate-600 border border-slate-800 dark:border-white/10 shadow-[inset_0_1px_0_0_theme(colors.gray.600)] dark:shadow-none text-white text-sm rounded-lg drop-shadow-lg will-change-transform px-3 py-1",e?"animate-in fade-in placement-bottom:slide-in-from-top-0.5 placement-top:slide-in-from-bottom-0.5 placement-left:slide-in-from-right-0.5 placement-right:slide-in-from-left-0.5 ease-out duration-200":"",t?"animate-out fade-out placement-bottom:slide-out-to-top-0.5 placement-top:slide-out-to-bottom-0.5 placement-left:slide-out-to-right-0.5 placement-right:slide-out-to-left-0.5 ease-in duration-150":"",r].filter(Boolean).join(" ");function Pn({children:e,content:t,...r}){return jsxRuntime.jsxs(reactAriaComponents.TooltipTrigger,{delay:200,children:[e,jsxRuntime.jsxs(reactAriaComponents.Tooltip,{...r,offset:10,className:reactAriaComponents.composeRenderProps(r.className,(o,n)=>a0({...n,className:o})),children:[jsxRuntime.jsx(reactAriaComponents.OverlayArrow,{children:jsxRuntime.jsx("svg",{width:8,height:8,viewBox:"0 0 8 8",className:"fill-slate-700 stroke-gray-800 group-placement-left:-rotate-90 group-placement-right:rotate-90 group-placement-bottom:rotate-180 dark:fill-slate-600 dark:stroke-white/10 forced-colors:fill-[Canvas] forced-colors:stroke-[ButtonBorder]",children:jsxRuntime.jsx("path",{d:"M0 0 L4 4 L8 0"})})}),t]})]})}function Ua({value:e,children:t,className:r,size:o="sm"}){let[n,a]=pr.useState(false),l=jsxRuntime.jsx(j,{variant:"icon",size:o,onPress:()=>{let c=e||(typeof t=="string"?t:"");navigator.clipboard.writeText(c),a(true),setTimeout(()=>{a(false);},2e3);},className:"!px-2",children:jsxRuntime.jsx(k,{name:"Copy",size:o==="sm"?14:16})});return jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("flex items-center gap-1",r),children:[t,n?jsxRuntime.jsx(Pn,{content:"Copied!",children:l}):l]})}var cp={duration:.5,ease:"easeInOut"},Bo=pr.createContext(null),cr=()=>{let e=pr.useContext(Bo);if(!e)throw new Error("useChartContext must be used within a ChartContextProvider");return e};var Dn=({data:e,color:t="var(--color-viz-default)"})=>{let r=pr.useId(),o=pr.useId(),{xScale:n,yScale:a,animationSettings:i}=cr(),s=n.range(),l=a.range();return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs("defs",{children:[jsxRuntime.jsxs("linearGradient",{id:r,x1:"0%",y1:"0%",x2:"0%",y2:"100%",children:[jsxRuntime.jsx("stop",{offset:"50%",stopColor:t,stopOpacity:.1}),jsxRuntime.jsx("stop",{offset:"100%",stopColor:t,stopOpacity:0})]}),jsxRuntime.jsx("clipPath",{id:o,children:jsxRuntime.jsx("rect",{x:s[0],y:l[1],width:s[1]-s[0],height:l[0]-l[1]})})]}),jsxRuntime.jsx("g",{clipPath:`url(#${o})`,children:jsxRuntime.jsxs(framerMotion.motion.g,{initial:{scaleY:0},animate:{scaleY:1},transition:{duration:i.duration,ease:i.ease},style:{transformOrigin:`0 ${l[0]}px`,transformBox:"fill-box",isolation:"isolate"},children:[jsxRuntime.jsx(shape.AreaClosed,{data:e,x:c=>n(c.xValue),y:c=>a(c.yValue),yScale:a,fill:`url(#${r})`,curve:curve.curveLinear}),jsxRuntime.jsx(shape.LinePath,{data:e,x:c=>n(c.xValue),y:c=>a(c.yValue),stroke:t,strokeWidth:3,curve:curve.curveLinear})]})})]})};var Vo=({data:e,color:t="var(--color-viz-default)",opacity:r=1,categoryColors:o={}})=>{let{xScale:n,yScale:a,animationSettings:i}=cr(),s=pr.useId(),l=n.range(),c=a.range(),p=[...e].sort((u,g)=>u.xValue.getTime()-g.xValue.getTime()),d=p.length>1?p[1].xValue.getTime()-p[0].xValue.getTime():15*6e4,m=Math.abs(n(new Date(p[0].xValue.getTime()+d))-n(p[0].xValue));return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("defs",{children:jsxRuntime.jsx("clipPath",{id:s,children:jsxRuntime.jsx("rect",{x:l[0],y:c[1],width:l[1]-l[0],height:c[0]-c[1]})})}),jsxRuntime.jsx("g",{clipPath:`url(#${s})`,children:jsxRuntime.jsx(framerMotion.motion.g,{initial:{scaleY:0},animate:{scaleY:1},transition:{duration:i.duration,ease:i.ease},style:{transformOrigin:`0 ${c[0]}px`,transformBox:"fill-box",isolation:"isolate"},children:p.map((u,g)=>{let f=n(u.xValue),b=a(u.yValue),x=c[0]-b,h=p[g+1],v=h?Math.abs(n(h.xValue)-f):m,y=u.category&&o[u.category]?o[u.category]:t;return jsxRuntime.jsx(shape.Bar,{x:f-v/2,y:b,width:v,height:x,fill:y,opacity:r,rx:1},u.xValue.getTime())})})})]})};var De={top:0,right:0,bottom:50,left:60};function Tr(e={type:"number"}){let t=i=>{if(i==null)return "-";let s=Ot({value:i,formatter:e});if(s===null)return "-";if(typeof s=="string")return s;if(typeof s=="number")return s.toString();if(typeof s=="object"&&s!==null&&"props"in s){let l=p=>{if(p==null)return "";if(typeof p=="string")return p;if(typeof p=="number")return p.toString();if(typeof p=="object"&&"props"in p){let d=p.props;if(d?.children)return Array.isArray(d.children)?d.children.map(l).join(""):l(d.children)}return ""};return l(s)||i.toString()}return i.toString()},r=i=>{if(i==null)return "-";if(typeof e=="string"){let s=Ot({value:i,formatter:e});return s===null?"-":String(s)}if(typeof e=="object"&&e.type)switch(e.type){case "energy":case "power":case "voltage":case "current":case "resistance":case "temperature":case "distance":return t(i);case "currency":return t(i);default:return t(i)}return t(i)},o,n,a;if(typeof e=="object"&&e.type)switch(e.type){case "number":"min"in e&&(o=e.min),"max"in e&&(n=e.max);break}return {format:t,tickFormat:r,min:o,max:n,tickInterval:a}}var Ll=(e,t)=>{let r=d3Array.extent(e,o=>o.xValue);return scale.scaleTime({range:[De.left,t-De.right],domain:r,nice:true})},Fl=(e,t,r)=>{let o=Tr(r),n=d3Array.min(e,l=>l.yValue)||0,a=d3Array.max(e,l=>l.yValue)||0,i=o.min!==void 0?o.min:n>=0?0:n*1.1,s=o.max!==void 0?o.max:a<=0?0:a*1.1;return scale.scaleLinear({range:[t-De.bottom,De.top],domain:[i,s],nice:true})};var k0=({top:e,scale:t,width:r})=>{let o=t.domain(),n=Kd({start:o[0],end:o[1]});return jsxRuntime.jsx(axis.Axis,{orientation:"bottom",top:e,scale:t,numTicks:Math.min(6,Math.floor(r/100)),tickFormat:a=>n(a),stroke:"var(--color-border-muted)",tickStroke:"var(--color-border-muted)",tickLabelProps:(a,i,s)=>({fill:"var(--color-text-caption)",fontSize:12,textAnchor:i===0?"start":i===s.length-1?"end":"middle"})})},T0=({left:e,scale:t,yFormatter:r})=>{let o=Tr(r);return jsxRuntime.jsx(axis.Axis,{orientation:"left",left:e,scale:t,numTicks:5,tickFormat:n=>(o.tickFormat||o.format)(n),stroke:"var(--color-border-muted)",tickStroke:"var(--color-border-muted)",tickLabelProps:()=>({fill:"var(--color-text-caption)",fontSize:12,textAnchor:"end",dy:"0.33em"})})},Rn={Bottom:k0,Left:T0};var R0=({items:e})=>e.length===0?null:jsxRuntime.jsx("div",{className:"flex items-center gap-4",children:e.map(t=>jsxRuntime.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntime.jsx("div",{className:"h-3 w-3",style:{backgroundColor:t.fill,borderRadius:"1px"}}),jsxRuntime.jsx("span",{className:"text-sm text-text-caption",children:t.category})]},t.category))}),Ya=({items:e,onExport:t,marginLeft:r=0,marginRight:o=0,isZoomed:n=false,onResetZoom:a})=>{let[i,s]=pr__namespace.default.useState(false),[l,c]=pr__namespace.default.useState(null),p=pr__namespace.default.useCallback(async d=>{let m=d;s(true),c(m);try{await t(m);}catch(u){console.error("Export failed:",u);}finally{s(false),c(null);}},[t]);return jsxRuntime.jsxs("div",{className:"mt-4 flex items-center justify-between overflow-y-hidden",style:{paddingLeft:`${r}px`,paddingRight:`${o}px`},children:[jsxRuntime.jsx(R0,{items:e}),jsxRuntime.jsxs("div",{className:"flex items-center gap-2",children:[n&&a&&jsxRuntime.jsxs(j,{variant:"secondary",size:"sm",onPress:a,children:[jsxRuntime.jsx(k,{name:"ArrowsOut",size:16}),"Reset Zoom"]}),jsxRuntime.jsxs(reactAriaComponents.DialogTrigger,{children:[jsxRuntime.jsxs(j,{variant:"secondary",size:"sm",isDisabled:i,children:[jsxRuntime.jsx(k,{name:"Export",size:16}),i?"Exporting...":"Export"]}),jsxRuntime.jsx(Fe,{placement:"top end",className:"min-w-48 p-1 bg-white dark:bg-gray-800 rounded-lg shadow-xl ring-1 ring-gray-200 dark:ring-gray-700",children:jsxRuntime.jsxs(reactAriaComponents.Menu,{onAction:p,className:"outline-none",children:[jsxRuntime.jsx(reactAriaComponents.MenuItem,{id:"csv",className:"flex items-center gap-2 px-3 py-2 text-sm text-gray-700 hover:bg-gray-100 dark:text-gray-300 dark:hover:bg-gray-700 rounded cursor-pointer outline-none",isDisabled:i,children:jsxRuntime.jsxs("span",{className:"flex items-center gap-2",children:[jsxRuntime.jsx(k,{name:"List",size:14}),l==="csv"?"Exporting...":"Export as CSV"]})}),jsxRuntime.jsx(reactAriaComponents.MenuItem,{id:"svg",className:"flex items-center gap-2 px-3 py-2 text-sm text-gray-700 hover:bg-gray-100 dark:text-gray-300 dark:hover:bg-gray-700 rounded cursor-pointer outline-none",isDisabled:i,children:jsxRuntime.jsxs("span",{className:"flex items-center gap-2",children:[jsxRuntime.jsx(k,{name:"Code",size:14}),l==="svg"?"Exporting...":"Export as SVG"]})}),jsxRuntime.jsx(reactAriaComponents.MenuItem,{id:"png",className:"flex items-center gap-2 px-3 py-2 text-sm text-gray-700 hover:bg-gray-100 dark:text-gray-300 dark:hover:bg-gray-700 rounded cursor-pointer outline-none",isDisabled:i,children:jsxRuntime.jsxs("span",{className:"flex items-center gap-2",children:[jsxRuntime.jsx(k,{name:"DownloadSimple",size:14}),l==="png"?"Exporting...":"Export as PNG"]})})]})})]})]})]})};function A0(e,t=12,r="system-ui"){if(typeof window>"u"||typeof document>"u")return e.length*(t*.6);let o=document.createElement("canvas"),n=null;try{n=o.getContext("2d");}catch{return e.length*(t*.6)}return n?(n.font=`${t}px ${r}`,n.measureText(e).width):e.length*(t*.6)}function fp(e,t=12,r="system-ui"){return e.length===0?0:Math.max(...e.map(o=>A0(o,t,r)))}var Bl=({data:e,seriesMetadata:t,width:r,height:o,onBrushChange:n,brushRegion:a,margin:i=De})=>{let s=pr.useRef(null),l=pr.useRef(false),c=pr.useMemo(()=>e.flat(),[e]),p=pr.useMemo(()=>({top:10,bottom:15,left:i.left,right:i.right}),[i]),d=r-p.left-p.right,m=pr.useMemo(()=>{if(c.length===0)return scale.scaleTime({domain:[new Date,new Date],range:[0,d]});let x=new Date(Math.min(...c.map(v=>v.xValue.getTime()))),h=new Date(Math.max(...c.map(v=>v.xValue.getTime())));return scale.scaleTime({domain:[x,h],range:[0,d]})},[c,d]),u=pr.useMemo(()=>{let x=c.length>0?Math.max(0,...c.map(h=>h.yValue)):1;return scale.scaleLinear({domain:[0,x],range:[o-p.bottom,p.top]})},[c,o]),g=x=>{if(l.current)return;if(!x){n(null);return}let{x0:h,x1:v}=x;if(h===v)return;let y=new Date(h),C=new Date(v);if(!(Number.isNaN(y.getTime())||Number.isNaN(C.getTime()))){if(c.length>0){let S=Math.min(...c.map(E=>E.xValue.getTime())),w=Math.max(...c.map(E=>E.xValue.getTime())),N=(w-S)*.05;if(Math.abs(y.getTime()-S)<N&&Math.abs(C.getTime()-w)<N){n(null);return}}n([y,C]);}},f=pr.useMemo(()=>{if(c.length!==0)return {start:{x:0,y:p.top},end:{x:d,y:o-p.bottom}}},[d,o,c]);pr.useEffect(()=>{if(!s.current||c.length===0)return;let x=s.current.state;if(x?.isBrushing||x?.activeHandle)return;let h=Math.min(...c.map(A=>A.xValue.getTime())),v=Math.max(...c.map(A=>A.xValue.getTime())),y=a?a[0]:new Date(h),C=a?a[1]:new Date(v),S=s.current.state?.extent;if(S){let A=m.invert(S.x0),N=m.invert(S.x1),D=Math.abs(A.getTime()-y.getTime()),E=Math.abs(N.getTime()-C.getTime());if(D<1e3&&E<1e3)return}l.current=true;let w=A=>{let N=s.current.getExtent({x:m(y),y:p.top},{x:m(C),y:o-p.bottom});return {...A,start:{y:N.y0,x:N.x0},end:{y:N.y1,x:N.x1},extent:N}};s.current.updateBrush(w),setTimeout(()=>{l.current=false;},50);},[a,m,o,c]);let b={fill:"url(#brush_pattern)",fillOpacity:.15,stroke:"var(--color-border-focus)",strokeWidth:1.5,strokeOpacity:.3};return jsxRuntime.jsx("div",{className:"mt-2",children:jsxRuntime.jsxs("svg",{width:r,height:o,children:[jsxRuntime.jsx(pattern.PatternLines,{id:"brush_pattern",height:8,width:8,stroke:"var(--color-text-muted)",strokeWidth:1,orientation:["diagonal"]}),jsxRuntime.jsxs("g",{transform:`translate(${p.left}, 0)`,children:[e.map((x,h)=>jsxRuntime.jsx(shape.LinePath,{data:x,x:v=>m(v.xValue),y:v=>u(v.yValue),stroke:t[h]?.color||"var(--color-gray-500)",strokeWidth:1.5,opacity:.8},`brush-series-${h}`)),jsxRuntime.jsx(brush.Brush,{xScale:m,yScale:u,width:d,height:o-p.top-p.bottom,margin:{top:p.top,bottom:p.bottom,left:0,right:0},handleSize:8,innerRef:s,resizeTriggerAreas:["left","right"],brushDirection:"horizontal",initialBrushPosition:f,onChange:g,onClick:()=>n(null),selectedBoxStyle:b,useWindowMoveEvents:true})]})]})})};function yp(e){switch(e){case "command":return Ke("--color-action-primary","#3b82f6");case "success":return Ke("--color-feedback-success","#10b981");case "warning":return Ke("--color-feedback-warning","#f59e0b");case "error":return Ke("--color-feedback-error","#ef4444");case "alert":return Ke("--color-feedback-warning","#f59e0b");case "info":default:return Ke("--color-action-secondary","#6b7280")}}function Za({events:e,color:t,showLabels:r=false}){let o=pr.useContext(Bo),[n,a]=pr.useState(null);if(!o)return console.warn("ChartEventMarkers must be used within a ChartContainer"),null;let{xScale:i,yScale:s,height:l,tooltip:c,datasets:p,seriesMetadata:d,seriesTypes:m,categoryColors:u}=o,g=e.filter(x=>{let h=i(x.timestamp);return h>=De.left&&h<=i.range()[1]}),f=pr.useCallback((x,h)=>{a(h);let v=i(x.timestamp),y=v>(i.range()[1]-De.right-De.left)/2+De.left,C=[];p&&d&&p.forEach((S,w)=>{if(S.length===0)return;let A=d3Array.bisector(Z=>Z.xValue).left,N=A(S,x.timestamp),D=S[N-1],E=S[N],W;if(!D)W=E;else if(!E)W=D;else {let Z=Math.abs(x.timestamp.getTime()-D.xValue.getTime()),B=Math.abs(x.timestamp.getTime()-E.xValue.getTime());W=Z<B?D:E;}W&&d[w]&&C.push({label:d[w].label,value:W.yValue,color:d[w].color,type:m?.[w]||"line",...W.category&&{category:W.category,categoryColor:u?.[W.category]}});}),C.push({label:x.label,value:0,color:t||yp(x.type),type:"event"}),c.show({xValue:x.timestamp,series:C,x:v,y:C.length>1&&typeof C[0].value=="number"?s(C[0].value):l/2,position:y?"left":"right",isEvent:true,eventMetadata:x.metadata});},[i,s,l,c,t,p,d,m,u]),b=pr.useCallback(()=>{a(null),c.hide();},[c]);return g.length===0?null:jsxRuntime.jsx("g",{className:"chart-event-markers","data-testid":"chart-event-markers",children:g.map((x,h)=>{let v=i(x.timestamp),y=t||yp(x.type),C=n===h;return jsxRuntime.jsxs("g",{children:[jsxRuntime.jsx("line",{x1:v,y1:De.top,x2:v,y2:l-De.bottom,stroke:y,strokeWidth:C?3:2,strokeDasharray:"4 4",strokeOpacity:C?.9:.6,pointerEvents:"none"}),jsxRuntime.jsx("circle",{cx:v,cy:De.top,r:C?5:4,fill:y,stroke:"var(--color-background-surface)",strokeWidth:2,pointerEvents:"none"}),jsxRuntime.jsx("circle",{cx:v,cy:l-De.bottom,r:C?5:4,fill:y,stroke:"var(--color-background-surface)",strokeWidth:2,pointerEvents:"none"}),r&&jsxRuntime.jsx("text",{x:v,y:De.top-8,textAnchor:"middle",fill:"var(--color-text-caption)",fontSize:11,fontWeight:500,pointerEvents:"none",children:x.label}),jsxRuntime.jsx("rect",{x:v-10,y:De.top,width:20,height:l-De.top-De.bottom,fill:"transparent",style:{cursor:"pointer"},onMouseEnter:()=>f(x,h),onMouseLeave:b})]},`${x.timestamp.getTime()}-${h}`)})})}var Xa=({data:e,formatter:t})=>{if(!e)return null;let{categoryLabels:r,xScale:o}=cr(),n=Tr(t),a=pr__namespace.default.useRef(null),[i,s]=pr__namespace.default.useState({x:0,y:0,translate:"translate(-50%, -100%)"});pr__namespace.default.useEffect(()=>{if(!a.current)return;let m=a.current.getBoundingClientRect(),u=window.innerHeight,g=window.innerWidth,f=e.x,b=e.y,x=e.position==="left"?"translate(calc(-100% - 16px), -50%)":"translate(16px, -50%)";e.position==="left"&&f-m.width-16<0?x="translate(16px, -50%)":e.position==="right"&&f+m.width+16>g&&(x="translate(calc(-100% - 16px), -50%)"),b-m.height/2<0?b=m.height/2:b+m.height/2>u&&(b=u-m.height/2),s({x:f,y:b,translate:x});},[e.x,e.y,e.position]);let l=o.domain(),p=l.length===2&&l.every(d=>d instanceof Date)?Ud({start:l[0],end:l[1]}):()=>String(e.xValue);return jsxRuntime.jsx(framerMotion.AnimatePresence,{children:jsxRuntime.jsxs(framerMotion.motion.div,{ref:a,role:"tooltip","aria-live":"polite",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},"data-testid":"tooltip",className:"pointer-events-none absolute z-50 rounded-lg bg-white p-4 text-sm shadow-xl ring-1 ring-gray-200 dark:bg-gray-800 dark:ring-gray-700 whitespace-nowrap",style:{left:i.x,top:i.y,transform:i.translate},children:[jsxRuntime.jsx("time",{className:"mb-1 font-medium text-gray-900 dark:text-gray-100",children:p(e.xValue)}),e.isEvent?jsxRuntime.jsxs("div",{className:"space-y-2",children:[e.series.length>1&&jsxRuntime.jsx("ul",{className:"list-none p-0 border-b border-gray-200 dark:border-gray-700 pb-2",children:e.series.slice(0,-1).map(d=>jsxRuntime.jsxs("li",{className:"py-0.5",children:[jsxRuntime.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntime.jsxs("span",{className:"font-medium text-gray-700 dark:text-gray-300",children:[d.label,":"]}),jsxRuntime.jsx("span",{className:"text-gray-600 dark:text-gray-400",children:n.format(d.value)})]}),d.category&&jsxRuntime.jsxs("div",{className:"mt-0.5 flex items-center gap-2",children:[jsxRuntime.jsx("div",{className:"h-3 w-3",style:{backgroundColor:d.categoryColor||d.color,borderRadius:"1px"}}),jsxRuntime.jsx("span",{className:"text-sm text-gray-600 dark:text-gray-400",children:r?.[d.category]||d.category})]})]},d.label))}),(()=>{let d=e.series[e.series.length-1];return jsxRuntime.jsxs("div",{children:[jsxRuntime.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntime.jsx("div",{className:"h-2 w-2 rounded-full",style:{backgroundColor:d.color}}),jsxRuntime.jsx("span",{className:"font-medium text-gray-900 dark:text-gray-100",children:d.label})]}),e.eventMetadata&&Object.keys(e.eventMetadata).length>0&&jsxRuntime.jsx("div",{className:"ml-4 mt-1 space-y-0.5 text-xs text-gray-600 dark:text-gray-400",children:Object.entries(e.eventMetadata).map(([m,u])=>jsxRuntime.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntime.jsxs("span",{className:"capitalize",children:[m,":"]}),jsxRuntime.jsx("span",{className:"font-medium",children:u})]},m))})]})})()]}):jsxRuntime.jsx("ul",{className:"list-none p-0",children:e.series.map(d=>jsxRuntime.jsxs("li",{className:"py-0.5",children:[jsxRuntime.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntime.jsxs("span",{className:"font-medium text-gray-700 dark:text-gray-300",children:[d.label,":"]}),jsxRuntime.jsx("span",{className:"text-gray-600 dark:text-gray-400",children:n.format(d.value)})]}),d.category&&jsxRuntime.jsxs("div",{className:"mt-0.5 flex items-center gap-2",children:[jsxRuntime.jsx("div",{className:"h-3 w-3",style:{backgroundColor:d.categoryColor||d.color,borderRadius:"1px"}}),jsxRuntime.jsx("span",{className:"text-sm text-gray-600 dark:text-gray-400",children:r?.[d.category]||d.category})]})]},d.label))})]})})};var Mn=({data:e,color:t="var(--color-viz-default)",strokeWidth:r=3,strokeDasharray:o})=>{let{xScale:n,yScale:a,animationSettings:i}=cr(),s=a.range();return jsxRuntime.jsx(framerMotion.motion.g,{initial:{scaleY:0},animate:{scaleY:1},transition:{duration:i.duration,ease:i.ease},style:{transformOrigin:`0 ${s[0]}px`,transformBox:"fill-box",isolation:"isolate"},children:jsxRuntime.jsx(shape.LinePath,{data:e,x:l=>n(l.xValue),y:l=>a(l.yValue),stroke:t,strokeWidth:r,strokeDasharray:o,strokeLinecap:"round",curve:curve.curveLinear})})};var Np=e=>e.type===Dn||e.type===Mn||e.type===Vo,$0=e=>e.type===Za,_0=d3Array.bisector(e=>e.xValue).left,ev=()=>jsxRuntime.jsx("div",{className:"flex h-full items-center justify-center",children:jsxRuntime.jsx("p",{className:"text-gray-500",children:"No data available"})}),tv=()=>jsxRuntime.jsxs("div",{className:"flex h-full flex-col gap-4 p-4",children:[jsxRuntime.jsx(P,{className:"h-full w-full"}),jsxRuntime.jsxs("div",{className:"flex gap-4",children:[jsxRuntime.jsx(P,{className:"h-4 w-24"}),jsxRuntime.jsx(P,{className:"h-4 w-24"})]})]}),rv=({parentWidth:e,parentHeight:t,yFormatter:r={type:"number"},isLoading:o=false,enableZoom:n=false,enableBrush:a=false,brushHeight:i=60,onZoomChange:s,children:l})=>{let[c,p]=pr.useState(null),[d,m]=pr.useState(null),u=pr.useRef(null),g=pr.useRef(0),f=pr.useRef(""),b=pr.useRef(null),x=pr.useMemo(()=>dn(),[]),h=pr.useMemo(()=>ys(),[]),{datasets:v,seriesMetadata:y,categoryInfo:C,categoryColors:S,categoryLabels:w,hasBarSeries:A,firstBarSeriesIndex:N,seriesTypes:D}=pr.useMemo(()=>{let pe=pr.Children.toArray(l).filter(Q=>pr.isValidElement(Q)&&Np(Q)),Ne=pe.filter(Q=>Q.props.data).length,Se=pe.some(Q=>Q.type===Vo),xe=[],Be=[],Oe=[],M=null,T=null,_=null;pe.forEach((Q,he)=>{let de=Q.props;if(!de.data)return;xe.push(de.data);let ko=("color"in de&&de.color?de.color:void 0)||(Ne===1?h:x[he%x.length]);Be.push({label:"label"in de&&de.label||`Series ${xe.length}`,color:ko});let Ue=Q.type===Dn?"area":Q.type===Mn?"line":"bar";Oe.push(Ue),"categoryColors"in de&&de.categoryColors&&(M=de.categoryColors),"categoryLabels"in de&&de.categoryLabels&&(T=de.categoryLabels),Q.type===Vo&&_===null&&(_=xe.length-1);});let ae=null;if(M){let Q=new Set;xe.forEach(he=>{he.forEach(de=>{de.category&&Q.add(de.category);});}),ae=Array.from(Q).map(he=>({label:T?.[he]||he,color:M[he]||"#6b7280"}));}return {datasets:xe,seriesMetadata:Be,categoryInfo:ae,categoryColors:M,categoryLabels:T,hasBarSeries:Se,firstBarSeriesIndex:_,seriesTypes:Oe}},[l,h,x]),E=e,W=a?i+8:0,Z=t-60-24-W,B=Math.max(100,Z),G=pr.useMemo(()=>v.flat(),[v]),U=pr.useMemo(()=>{if(G.length===0)return null;let J=[...G].sort((pe,Ne)=>pe.xValue.getTime()-Ne.xValue.getTime());return [J[0].xValue,J[J.length-1].xValue]},[G]),ee=d||U,L=pr.useMemo(()=>ee?v.map(pe=>pe.filter(Ne=>Ne.xValue>=ee[0]&&Ne.xValue<=ee[1])):v,[v,ee]);pr.useEffect(()=>{s&&s(d);},[d,s]);let F=pr.useMemo(()=>L.flat(),[L]),V=pr.useMemo(()=>Fl(F,B,r),[F,B,r]),O=pr.useMemo(()=>{let J=Tr(r),pe=J.tickFormat||J.format,Se=V.ticks(5).map(Oe=>pe(Oe)),xe=fp(Se,12,"system-ui"),Be=Math.ceil(xe)+16;return {...De,left:Math.max(Be,30)}},[V,r]),R=pr.useMemo(()=>ee?scale.scaleTime({domain:ee,range:[O.left,E-O.right]}):Ll(G,E),[ee,G,E,O]),I=pr.useCallback(J=>{if(!U)return;let{scaleX:pe,translateX:Ne}=J,Se=E-O.left-O.right,[xe,Be]=U,Oe=Be.getTime()-xe.getTime();if(Oe<=0){m(null);return}let M=-Ne,T=M+Se,_=Se*pe/Oe,ae=M/_,Q=T/_,he=new Date(xe.getTime()+ae),de=new Date(xe.getTime()+Q),dt=Math.abs(he.getTime()-xe.getTime()),ko=Math.abs(de.getTime()-Be.getTime()),Ue=Oe*.02;dt<Ue&&ko<Ue?m(null):m([he,de]);},[U,E,O]),K=pr.useCallback(J=>{let{left:pe}=u.current?.getBoundingClientRect()||{left:0},Ne=J.clientX-pe;if(J.timeStamp-(g.current||0)<16)return;g.current=J.timeStamp;let Se=R.invert(Ne),xe=v.map((M,T)=>{if(!M||M.length===0)return null;let _=_0(M,Se,1);if(_===0)return {point:M[0],datasetIndex:T};if(_>=M.length)return {point:M[M.length-1],datasetIndex:T};let ae=M[_-1],Q=M[_];if(!ae||!Q)return null;let he=Math.abs(ae.xValue.getTime()-Se.getTime()),de=Math.abs(Q.xValue.getTime()-Se.getTime());return {point:he<de?ae:Q,datasetIndex:T}}).filter(M=>M!==null&&y[M.datasetIndex]!==void 0).map(({point:M,datasetIndex:T})=>({label:y[T].label,value:M.yValue,color:y[T].color,point:M,type:D[T]}));if(xe.length===0){p(null);return}let Be=R(xe[0].point.xValue),Oe=Be>(E-O.right-O.left)/2+O.left;p({xValue:xe[0].point.xValue,series:xe.map(({label:M,value:T,color:_,point:ae,type:Q})=>({label:M,value:T,color:_,type:Q,category:ae.category,categoryColor:ae.category&&S?S[ae.category]:void 0})),x:Be,y:V(xe[0].value),position:Oe?"left":"right"});},[v,L,y,D,R,V,E,S,O]),Y=()=>{p(null);},H=pr.useCallback(()=>{m(null),b.current&&b.current.reset();},[]),te=pr.useCallback(J=>{if(m(J),b.current&&U){let[pe,Ne]=U,Se=Ne.getTime()-pe.getTime();if(Se<=0){b.current.reset();return}if(!J)b.current.reset();else {let[xe,Be]=J,Oe=Be.getTime()-xe.getTime();if(Oe<=0){b.current.reset();return}let M=Se/Oe,T=E-O.left-O.right,ae=-((xe.getTime()-pe.getTime())/Se)*T*M;b.current.setTransformMatrix({scaleX:M,scaleY:1,translateX:ae,translateY:0,skewX:0,skewY:0});}}},[U,E,O]),z={width:E,height:B,xScale:R,yScale:V,yFormatter:r,animationSettings:cp,tooltip:{data:c,show:p,hide:()=>p(null)},datasets:L,seriesMetadata:y,seriesTypes:D,categoryColors:S||void 0,categoryLabels:w||void 0},q=pr.Children.toArray(l),oe=0,Ge=[],Re=[];q.forEach(J=>{if(!pr.isValidElement(J)){Ge.push(J);return}if($0(J))Re.push(J);else if(Np(J)){let pe=oe;oe++;let Ne=J.props;Ge.push(pr__namespace.default.cloneElement(J,{...Ne,data:L[pe]||Ne.data,color:y[pe]?.color}));}else Ge.push(J);});let Ae=(C||y).map(J=>({category:J.label,fill:J.color})),gr=Vc({datasets:v,metadata:{xLabel:"Date",yLabel:"Value",seriesLabels:y.map(J=>J.label),timestamp:true},svgRef:u});if(o)return jsxRuntime.jsx(tv,{});if(v.length===0)return jsxRuntime.jsx(ev,{});let At=jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("title",{children:"Data chart visualization"}),jsxRuntime.jsx("g",{children:V.ticks(5).map(J=>jsxRuntime.jsx(shape.Line,{from:{x:O.left,y:V(J)},to:{x:E-O.right,y:V(J)},stroke:"var(--color-border-muted)",strokeWidth:1},`grid-line-${J}`))}),Ge,jsxRuntime.jsx(Rn.Bottom,{top:B-O.bottom,scale:R,width:E-O.left-O.right}),jsxRuntime.jsx(Rn.Left,{left:O.left,scale:V,yFormatter:r}),c&&!c.isEvent&&jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[A&&N!==null?(()=>{let J=L[N]??[];if(J.length===0)return null;let pe=[...J].sort((_,ae)=>_.xValue.getTime()-ae.xValue.getTime()),Ne=pe.findIndex(_=>_.xValue.getTime()===c.xValue.getTime()),Se=pe[Ne+1],xe=pe.length>1&&Se?Se.xValue.getTime()-c.xValue.getTime():15*6e4,Be=Math.abs(R(new Date(c.xValue.getTime()+xe))-R(c.xValue)),M=R(c.xValue)-Be/2,T=V.range();return jsxRuntime.jsx("rect",{x:M,y:T[1],width:Be,height:T[0]-T[1],className:"fill-background-muted",opacity:.5,pointerEvents:"none",style:{transition:"all 100ms ease-out"}})})():null,c.series.filter(J=>J.type!=="bar").map(J=>jsxRuntime.jsxs("g",{children:[jsxRuntime.jsx("circle",{cx:R(c.xValue),cy:V(J.value),r:8,fill:"white",stroke:J.color,strokeWidth:2,style:{transition:"all 100ms ease-out"}}),jsxRuntime.jsx("circle",{cx:R(c.xValue),cy:V(J.value),r:4,fill:J.color,style:{transition:"all 100ms ease-out"}})]},`highlight-${J.label}`))]}),jsxRuntime.jsx("rect",{x:O.left,y:O.top,width:E-O.left-O.right,height:B-O.top-O.bottom,fill:"transparent",style:{cursor:n?"grab":"crosshair"},onMouseMove:K,onMouseLeave:Y}),Re]});return jsxRuntime.jsx("div",{className:"relative flex h-full flex-col pb-6",children:jsxRuntime.jsxs(Bo.Provider,{value:z,children:[n?jsxRuntime.jsx(zoom.Zoom,{width:E,height:B,scaleXMin:1,scaleXMax:20,scaleYMin:1,scaleYMax:1,constrain:J=>{let{scaleX:pe,translateX:Ne}=J,Se=Math.max(1,Math.min(20,pe)),xe=1,Be=E-O.left-O.right,Oe=0,M=Be*(1-Se),T=Math.max(M,Math.min(Oe,Ne));return {...J,scaleX:Se,scaleY:xe,translateX:T,translateY:0}},children:J=>{if(b.current=J,J.transformMatrix){let{scaleX:pe,translateX:Ne}=J.transformMatrix,Se=`${pe.toFixed(4)}-${Ne.toFixed(2)}`;Se!==f.current&&(f.current=Se,setTimeout(()=>{I(J.transformMatrix);},0));}return jsxRuntime.jsx("svg",{width:E,height:B,className:"overflow-visible",ref:pe=>{u.current=pe,J.containerRef.current!==pe&&(J.containerRef.current=pe);},role:"img","aria-label":"Data chart",style:{cursor:J.isDragging?"grabbing":"grab",touchAction:"none"},onMouseDown:J.dragStart,onMouseMove:J.dragMove,onMouseUp:J.dragEnd,onMouseLeave:()=>{J.isDragging&&J.dragEnd();},onTouchStart:J.dragStart,onTouchMove:J.dragMove,onTouchEnd:J.dragEnd,children:At})}}):jsxRuntime.jsx("svg",{width:E,height:B,className:"overflow-visible",ref:u,role:"img","aria-label":"Data chart",children:At}),jsxRuntime.jsx(Xa,{data:c,formatter:r}),a&&U&&jsxRuntime.jsx(Bl,{data:v,seriesMetadata:y,width:E,height:i,onBrushChange:te,brushRegion:d,margin:O}),jsxRuntime.jsx(Ya,{onExport:gr,items:Ae,marginLeft:O.left,marginRight:O.right,isZoomed:d!==null,onResetZoom:H})]})})},Tp=responsive.withParentSize(rv);var lv=e=>e.toLocaleString(),cv=e=>`${Math.round(e*100)}%`,Ap=({data:e,width:t=800,height:r=400,padding:o=0,barGap:n=30,formatValue:a=lv,formatPercentage:i=cv,color:s,showScale:l=true,showOverallConversion:c=true,overallConversionLabel:p="Overall Conversion:",activeStageId:d,onStageClick:m,onStageHover:u,className:g,style:f,"aria-label":b="Funnel chart"})=>{let[x,h]=pr.useState(null),[v,y]=pr.useState(t),C=pr.useRef(null),S=d??x,w=pr.useId(),A=s||"var(--color-viz-default)";pr.useEffect(()=>{if(!C.current)return;let B=new ResizeObserver(G=>{for(let U of G)y(U.contentRect.width);});return B.observe(C.current),()=>{B.disconnect();}},[]);let{layout:N,overallConversion:D}=pr.useMemo(()=>{if(e.length===0)return {layout:[],overallConversion:0};let B=e[0].value,G=c?60:0,U=r-o*2-G,ee=(e.length-1)*n,L=(U-ee)/e.length,F=e.map((O,R)=>{let I=o+G+R*(L+n),K=B===0?0:O.value/B,Y=K,H=R===0?null:e[R-1].value,te=H==null||H===0?0:1-O.value/H;return {stage:O,index:R,y:I,barHeight:L,widthPercent:K,conversionRate:Y,dropOff:te}}),V=B===0?0:e[e.length-1].value/B;return {layout:F,overallConversion:V,maxValue:B}},[e,v,r,o,n,l,c]);if(e.length===0)return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex h-full min-h-[280px] w-full items-center justify-center rounded-lg border border-dashed border-gray-300 bg-background-surface text-sm font-medium text-text-muted dark:border-gray-700",g),style:{width:t,height:r,...f},children:"No funnel data available"});let E=l?60:0,W=o+E,Z=v-o*2-E;return jsxRuntime.jsx("div",{ref:C,className:tailwindMerge.twMerge("relative w-full overflow-hidden rounded-lg bg-background-surface",g),style:{height:r,...f},"aria-label":b,role:"img",children:jsxRuntime.jsxs("svg",{width:"100%",height:r,className:"relative",children:[jsxRuntime.jsxs("defs",{children:[jsxRuntime.jsx(gradient.LinearGradient,{id:`${w}-bar`,from:A,to:A,toOpacity:.85}),jsxRuntime.jsx(gradient.LinearGradient,{id:`${w}-bg`,from:A,to:A,fromOpacity:.01,toOpacity:.15,x1:"0",y1:"0",x2:"1",y2:"0"})]}),c&&jsxRuntime.jsxs("text",{x:W,y:o+20,className:"fill-text-body text-sm font-medium",children:[jsxRuntime.jsx("tspan",{className:"fill-text-muted",children:p})," ",i(D)]}),l&&jsxRuntime.jsx("g",{children:N.map(B=>{let G=B.y+B.barHeight/2;return jsxRuntime.jsx("text",{x:o+E-12,y:G,textAnchor:"end",dominantBaseline:"middle",className:"fill-text-caption text-xs",children:i(B.conversionRate)},B.stage.id)})}),N.map(B=>{let G=S===B.stage.id,U=Z*B.widthPercent;return jsxRuntime.jsxs("g",{children:[jsxRuntime.jsx("rect",{x:W,y:B.y,width:Z,height:B.barHeight,fill:`url(#${w}-bg)`,rx:4}),jsxRuntime.jsx(framerMotion.motion.rect,{x:W,y:B.y,width:U,height:B.barHeight,fill:`url(#${w}-bar)`,rx:4,initial:{width:0},animate:{width:U},transition:{duration:.6,delay:B.index*.1,ease:"easeOut"},opacity:G||S==null?1:.5,style:{cursor:m||u?"pointer":"default",transition:"opacity 150ms ease"},onMouseEnter:()=>{h(B.stage.id),u?.(B.stage);},onMouseLeave:()=>{h(null),u?.(null);},onClick:()=>m?.(B.stage)}),jsxRuntime.jsx("rect",{x:W+10,y:B.y+B.barHeight/2-10,width:70,height:20,className:"fill-background-surface stroke-border-default",strokeWidth:1,rx:4,style:{pointerEvents:"none"}}),jsxRuntime.jsx("text",{x:W+16,y:B.y+B.barHeight/2+4,className:"fill-text-heading text-xs font-semibold",style:{pointerEvents:"none"},children:a(B.stage.value)}),jsxRuntime.jsxs("text",{x:W,y:B.y-8,className:"fill-text-muted text-xs",style:{pointerEvents:"none"},children:[jsxRuntime.jsx("tspan",{children:B.index+1})," ",B.stage.label]}),B.stage.secondaryValue&&jsxRuntime.jsx("text",{x:W+16,y:B.y-24,className:"fill-text-muted text-xs",style:{pointerEvents:"none"},children:B.stage.secondaryValue}),B.index>0&&B.dropOff>0&&jsxRuntime.jsxs("text",{x:W+Z,y:B.y-8,textAnchor:"end",className:"fill-text-muted text-xs",children:[i(B.dropOff)," drop"]}),B.stage.annotation&&jsxRuntime.jsxs("g",{children:[jsxRuntime.jsx("rect",{x:W+U+8,y:B.y+8,width:60,height:24,rx:3,className:"fill-background-muted"}),jsxRuntime.jsx("text",{x:W+U+16,y:B.y+20,className:"fill-text-caption text-xs font-medium",children:B.stage.annotation})]})]},B.stage.id)})]})})};function dv(e,t,r){return {field:e,operator:t,value:r}}function uv(e,t="AND"){return {logic:t,conditions:e}}function Ln(){return {logic:"AND",conditions:[]}}function Mp(e){return !e||e.conditions.length===0?true:e.conditions.every(t=>"conditions"in t?Mp(t):false)}function pv(e,t){if(!e)return [];let r=new Map(t?.map(i=>[i.field,i])),o=new Map;function n(i){if("conditions"in i)i.conditions.forEach(s=>n(s));else {let s=o.get(i.field)||[];s.push(i),o.set(i.field,s);}}e.conditions.forEach(i=>n(i));let a=[];for(let[i,s]of o.entries()){let l=r.get(i),c=l?.label||i,p=[],d=[],m=[];for(let u of s)u.operator==="in"&&Array.isArray(u.value)?p.push(...u.value):u.operator==="eq"?typeof u.value!="boolean"&&!Array.isArray(u.value)?p.push(u.value):m.push(u):["gte","gt","lte","lt"].includes(u.operator)?d.push({operator:u.operator,value:typeof u.value=="boolean"||Array.isArray(u.value)?String(u.value):u.value}):m.push(u);if(p.length>0){let g=Array.from(new Set(p)).map(f=>l?.values?.find(x=>String(x.value)===String(f))?.label??f);a.push({id:`${i}-in`,label:c,value:g.join(", ")});}if(d.length>0){let u=d.find(f=>f.operator==="gte"||f.operator==="gt"),g=d.find(f=>f.operator==="lte"||f.operator==="lt");if(u&&g){let f=u.operator==="gte"?"\u2265":">",b=g.operator==="lte"?"\u2264":"<";a.push({id:`${i}-range`,label:c,value:`${f} ${u.value} and ${b} ${g.value}`});}else for(let f of d){let b;f.operator==="gte"?b="\u2265":f.operator==="gt"?b=">":f.operator==="lte"?b="\u2264":b="<",a.push({id:`${i}-${f.operator}`,label:c,value:`${b} ${f.value}`});}}for(let u of m){let g;u.operator==="neq"?g=`\u2260 ${u.value}`:u.operator==="contains"?g=`contains "${u.value}"`:u.operator==="startsWith"?g=`starts with "${u.value}"`:u.operator==="endsWith"?g=`ends with "${u.value}"`:g=String(u.value),a.push({id:`${i}-${u.operator}`,label:c,value:g});}}return a}function Pr(e,t){let r=e||Ln();return {...r,conditions:[...r.conditions,t]}}function eo(e,t){if(!e)return Ln();let r=e.conditions.filter(o=>"conditions"in o?eo(o,t).conditions.length>0:o.field!==t);return {...e,conditions:r}}function Vl(e){if(!e)return [];let t=new Set;function r(o){"conditions"in o?o.conditions.forEach(r):t.add(o.field);}return e.conditions.forEach(r),Array.from(t)}function Fn({count:e,label:t="results",isLoading:r=false,className:o=""}){if(r)return jsxRuntime.jsx("div",{className:`flex items-center ${o}`,children:jsxRuntime.jsx(P,{width:80,height:16})});let n=t.endsWith("s")?t.slice(0,-1):t,a=e===1?n:t;return jsxRuntime.jsxs("div",{className:`text-sm text-text-muted whitespace-nowrap ${o}`,children:[e.toLocaleString()," ",a]})}var xv=e=>{let t=mt({isInvalid:e.isInvalid,isDisabled:e.isDisabled,isFocused:e.isFocused,transparent:e.transparent,size:e.size}),r=[e.showSearchIcon?"pl-8":"pl-3",e.isClearable&&e.hasValue||e.isPassword?"pr-8":"pr-3"].join(" ");return tailwindMerge.twMerge(t,r,e.className)};function Wo({label:e,description:t,errorMessage:r,size:o="md",tooltip:n,isRequired:a,transparent:i,showSearchIcon:s,isClearable:l,onClear:c,type:p,validationResult:d,...m}){let[u,g]=pr__namespace.default.useState(false),{isFocused:f,handleFocus:b,handleBlur:x}=Tt(),h=p==="password";return jsxRuntime.jsx(reactAriaComponents.TextField,{...m,isRequired:a,className:se(m.className,"group flex flex-col"),children:({isDisabled:v,isInvalid:y})=>jsxRuntime.jsxs("div",{className:"flex flex-col",children:[e&&jsxRuntime.jsx(ye,{size:o,tooltip:n,isRequired:a,children:e}),jsxRuntime.jsxs(Ut,{children:[s&&jsxRuntime.jsx("div",{className:"pointer-events-none absolute left-2 top-1/2 -translate-y-[calc(50%+1px)] transform",children:jsxRuntime.jsx(k,{name:"MagnifyingGlass",className:"h-4 w-4 text-text-muted"})}),jsxRuntime.jsx(Ea,{size:o,disabled:v,type:h?u?"text":"password":p,value:m.value,defaultValue:m.defaultValue,placeholder:m.placeholder,onFocus:C=>b(C,m.onFocus),onBlur:C=>x(C,m.onBlur),onChange:C=>m.onChange?.(C.target.value),className:xv({isInvalid:y,isDisabled:v,isFocused:f,size:o,transparent:i,showSearchIcon:s,isClearable:l,hasValue:!!m.value,isPassword:h,className:typeof m.className=="string"?m.className:void 0})}),l&&m.value&&!v&&jsxRuntime.jsx(Pu,{onClick:()=>{c?c():m.onChange&&m.onChange("");},size:o}),h&&!v&&jsxRuntime.jsx("button",{type:"button",onClick:()=>g(!u),className:"absolute right-3 top-1/2 -translate-y-1/2 transform text-text-muted hover:text-text-body","aria-label":u?"Hide password":"Show password",onMouseDown:C=>{C.preventDefault(),C.stopPropagation();},children:jsxRuntime.jsx(k,{name:u?"EyeSlash":"Eye",size:o==="sm"?16:20,className:"text-text-body"})})]}),t&&jsxRuntime.jsx(Ce,{size:o,className:"mt-3",children:t}),typeof r=="string"&&jsxRuntime.jsx(fe,{size:o,className:"mt-1",children:r}),typeof r=="function"&&d&&jsxRuntime.jsx(fe,{size:o,className:"mt-1",children:r(d)})]})})}function to({value:e,onChange:t,onClear:r,placeholder:o="Search...",size:n="sm",className:a=""}){return jsxRuntime.jsx("div",{className:`flex-1 min-w-0 sm:max-w-sm ${a}`,children:jsxRuntime.jsx(Wo,{value:e,onChange:t,placeholder:o,showSearchIcon:true,isClearable:!!e&&!!r,onClear:r,size:n,"aria-label":o})})}function In({value:e,options:t,onChange:r,direction:o,onDirectionChange:n,showLabel:a=true,size:i="sm",className:s=""}){let l=o!==void 0&&n!==void 0;return jsxRuntime.jsxs("div",{className:`flex items-center gap-2 ${s}`,children:[a&&jsxRuntime.jsx("span",{className:"text-sm text-text-muted whitespace-nowrap",children:"Sort by:"}),jsxRuntime.jsx(Jr,{selectedKey:e,onSelectionChange:c=>r(c),size:i,className:"min-w-32",items:t.map(c=>({id:c.value,label:c.label,value:c.value})),renderItem:c=>c.label,"aria-label":"Sort by"}),l&&jsxRuntime.jsx(j,{variant:"ghost",size:i,onClick:()=>n(o==="asc"?"desc":"asc"),"aria-label":`Sort ${o==="asc"?"descending":"ascending"}`,className:"p-1.5",children:o==="asc"?jsxRuntime.jsx(lucideReact.ArrowUp,{className:"w-4 h-4"}):jsxRuntime.jsx(lucideReact.ArrowDown,{className:"w-4 h-4"})})]})}function Ip({search:e,searchMobileMode:t="expanded",filters:r=[],onRemoveFilter:o,onClearAllFilters:n,onManageFilters:a,maxVisibleFilterChips:i=3,sort:s,resultsCount:l,sticky:c,stickyTop:p="0",zIndex:d=10,className:m="",style:u}){let g=r.length>0;if(!(e||g||a||s||l))return null;let b=c?"sticky bg-background-surface":"",x=c?{top:p,zIndex:d}:{};return jsxRuntime.jsxs("div",{className:`@container flex flex-col gap-3 bg-background-surface py-3 border-b border-border-default ${b} ${m}`,style:{...u,...x},children:[jsxRuntime.jsxs("div",{className:"hidden @[640px]:flex @[640px]:items-center @[640px]:justify-between @[640px]:gap-4",children:[jsxRuntime.jsxs("div",{className:"flex items-center gap-3 flex-1 min-w-0",children:[l&&jsxRuntime.jsx(Fn,{count:l.count,label:l.label,isLoading:l.isLoading}),l&&s&&jsxRuntime.jsx("div",{className:"h-4 w-px bg-border-default"}),s&&jsxRuntime.jsx(In,{value:s.value,options:s.options,onChange:s.onChange,showLabel:s.showLabel,direction:s.direction,onDirectionChange:s.onDirectionChange}),g&&o&&jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[r.slice(0,i).map(h=>jsxRuntime.jsxs(wr,{variant:"brand",size:"sm",onRemove:()=>o(h.id),isRemovable:true,children:[h.label,": ",h.value]},h.id)),r.length>i&&a&&jsxRuntime.jsxs(j,{variant:"ghost",size:"sm",onClick:a,className:"text-text-muted hover:text-text-body whitespace-nowrap",children:["+",r.length-i," more"]}),n&&jsxRuntime.jsx(j,{variant:"ghost",size:"sm",onClick:n,className:"text-text-muted hover:text-text-body whitespace-nowrap",children:"Clear all"})]})]}),jsxRuntime.jsxs("div",{className:"flex items-center gap-3 flex-shrink-0",children:[e&&jsxRuntime.jsx("div",{className:"w-64",children:jsxRuntime.jsx(to,{value:e.value,onChange:e.onChange,onClear:e.onClear,placeholder:e.placeholder})}),a&&jsxRuntime.jsx(j,{variant:"secondary",size:"sm",icon:"Sliders",badgeNumber:r.length>0?r.length:void 0,onClick:a,children:"Filters"})]})]}),jsxRuntime.jsxs("div",{className:"@[640px]:hidden",children:[jsxRuntime.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[e&&jsxRuntime.jsx("div",{className:"flex-1",children:jsxRuntime.jsx(to,{value:e.value,onChange:e.onChange,onClear:e.onClear,placeholder:e.placeholder})}),a&&jsxRuntime.jsx(j,{variant:"secondary",size:"sm",icon:"Sliders",badgeNumber:r.length>0?r.length:void 0,onClick:a,"aria-label":`Filters${r.length>0?` (${r.length} active)`:""}`})]}),jsxRuntime.jsxs("div",{className:"flex items-center justify-between gap-3",children:[l&&jsxRuntime.jsx(Fn,{count:l.count,label:l.label,isLoading:l.isLoading}),s&&jsxRuntime.jsx(In,{value:s.value,options:s.options,onChange:s.onChange,showLabel:s.showLabel,direction:s.direction,onDirectionChange:s.onDirectionChange})]})]})]})}function Bp({filters:e,onRemove:t,onClearAll:r,onManageFilters:o,maxVisibleChips:n=3,mode:a="chips",showManageButton:i=true,size:s="sm",className:l=""}){let c=e.length>0,p=e.slice(0,n),d=Math.max(0,e.length-n),m=d>0,u=a==="button"&&!!o,g=a==="chips"&&i&&!!o;if(!c&&!u&&!g)return null;let f=u&&jsxRuntime.jsxs(j,{variant:"secondary",size:s,onClick:o,className:"whitespace-nowrap",children:[e.length," ",e.length===1?"filter":"filters"]}),b=jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[g&&jsxRuntime.jsx(j,{variant:"secondary",size:s,icon:"Sliders",onClick:o,className:"whitespace-nowrap",children:"Filters"}),c&&p.map(h=>jsxRuntime.jsxs(wr,{variant:"secondary",size:s,onRemove:()=>t(h.id),isRemovable:true,children:[h.label,": ",h.value]},h.id)),c&&m&&o&&jsxRuntime.jsxs(j,{variant:"ghost",size:s,onClick:o,className:"text-text-muted hover:text-text-body whitespace-nowrap",children:["+",d," more"]}),c&&r&&jsxRuntime.jsx(j,{variant:"ghost",size:s,onClick:r,className:"text-text-muted hover:text-text-body whitespace-nowrap",children:"Clear all"})]}),x=a==="button"?f:b;return jsxRuntime.jsx("div",{className:`flex flex-wrap items-center gap-2 ${l}`,children:x})}function zp({label:e,description:t,errorMessage:r,showCalendar:o=false,...n}){let[a,i]=pr.useState(false),s=l=>{n.onChange&&l&&n.onChange(l),i(false);};return jsxRuntime.jsxs(reactAriaComponents.DateField,{...n,className:se(n.className,"flex flex-col gap-1"),children:[e&&jsxRuntime.jsx(ye,{children:e}),o?jsxRuntime.jsxs(Ia,{className:"w-auto min-w-[208px]",children:[jsxRuntime.jsx(Go,{className:"min-w-[150px] flex-1"}),jsxRuntime.jsxs(reactAriaComponents.DialogTrigger,{isOpen:a,onOpenChange:i,children:[jsxRuntime.jsx(j,{variant:"icon",className:"mr-1 w-6 rounded outline-offset-0",children:jsxRuntime.jsx(lucideReact.CalendarIcon,{"aria-hidden":true,className:"h-4 w-4"})}),jsxRuntime.jsx(reactAriaComponents.Popover,{children:jsxRuntime.jsx(reactAriaComponents.Dialog,{className:"p-4",children:jsxRuntime.jsx(Fo,{value:n.value,onChange:s,minValue:n.minValue,maxValue:n.maxValue,isDisabled:n.isDisabled,isReadOnly:n.isReadOnly,isDateUnavailable:n.isDateUnavailable})})})]})]}):jsxRuntime.jsx(Go,{}),t&&jsxRuntime.jsx(Ce,{children:t}),typeof r=="string"?jsxRuntime.jsx(fe,{children:r}):null]})}function Mv({isPlaceholder:e,isDisabled:t}){return ["inline box-content px-0.5 -my-0.5 rounded outline-none tabular-nums text-center transition-colors",e?"text-text-muted italic":"text-text-body",t?"text-text-disabled cursor-not-allowed":"cursor-text","hover:bg-text-body/5","data-[focused]:!outline-[1.5px] data-[focused]:!outline-[var(--control-focus-ring-color)] data-[focused]:![--tw-outline-style:solid]"].filter(Boolean).join(" ")}function Go(e){return jsxRuntime.jsx(reactAriaComponents.DateInput,{className:t=>Sn({...t,className:typeof e.className=="string"?e.className:"min-w-[150px] px-2 py-1.5 text-sm flex items-center gap-0.5"}),...e,children:t=>jsxRuntime.jsx(reactAriaComponents.DateSegment,{segment:t,className:Mv({isPlaceholder:t.isPlaceholder,isDisabled:!t.isEditable})})})}function zv({selectionState:e,isDisabled:t}){let r=`${ke} w-full h-full flex items-center justify-center rounded-sm forced-color-adjust-none font-semibold`,o={none:"text-text-body group-hover:bg-background-muted group-pressed:bg-background-muted",middle:["bg-gray-100 dark:bg-zinc-700 group-hover:bg-gray-200 dark:group-hover:bg-zinc-600 forced-colors:group-hover:bg-[Highlight]","group-invalid:group-hover:bg-red-200 forced-colors:group-invalid:group-hover:bg-[Mark]","group-pressed:bg-gray-200 dark:group-pressed:bg-zinc-600 forced-colors:group-pressed:bg-[Highlight] forced-colors:text-[HighlightText]","group-invalid:group-pressed:bg-red-300 forced-colors:group-invalid:group-pressed:bg-[Mark]"].join(" "),cap:"bg-zinc-900 dark:bg-zinc-100 text-white dark:text-zinc-900 group-invalid:bg-red-600 forced-colors:bg-[Highlight] forced-colors:group-invalid:bg-[Mark] forced-colors:text-white"},n=t?"text-textFaint dark:text-zinc-600 forced-colors:text-textFaint font-light":"";return [r,o[e],n].filter(Boolean).join(" ")}function Ko({errorMessage:e,...t}){return jsxRuntime.jsxs(reactAriaComponents.RangeCalendar,{...t,children:[jsxRuntime.jsx(Oa,{}),jsxRuntime.jsxs(reactAriaComponents.CalendarGrid,{className:"w-full border-separate [border-spacing:0] [&_td]:p-0 [&_td]:!border-0",children:[jsxRuntime.jsx(Ha,{}),jsxRuntime.jsx(reactAriaComponents.CalendarGridBody,{children:r=>jsxRuntime.jsx(reactAriaComponents.CalendarCell,{date:r,className:"selection-start:rounded-s-full selection-end:rounded-e-full [td:last-child_&]:rounded-e-end group h-9 w-9 cursor-default text-sm border-0 outside-month:text-gray-300 invalid:selected:bg-red-100 forced-colors:selected:bg-[Highlight] forced-colors:selected:text-white forced-colors:invalid:selected:bg-[Mark] [td:first-child_&]:rounded-s-full [&]:border-0",children:({formattedDate:o,isSelected:n,isSelectionStart:a,isSelectionEnd:i,isFocusVisible:s,isDisabled:l})=>jsxRuntime.jsx("span",{className:zv({selectionState:n&&(a||i)?"cap":n?"middle":"none",isDisabled:l}),children:o})})})]}),e&&jsxRuntime.jsx(reactAriaComponents.Text,{slot:"errorMessage",className:"text-sm text-red-600",children:e})]})}function $a({label:e,description:t,errorMessage:r,...o}){return jsxRuntime.jsxs(reactAriaComponents.DateRangePicker,{...o,className:se(o.className,"group flex flex-col gap-1"),children:[e&&jsxRuntime.jsx(ye,{children:e}),jsxRuntime.jsxs(Ia,{className:"w-auto min-w-[208px]",children:[jsxRuntime.jsx(Go,{slot:"start",className:"px-2 py-1.5 text-sm"}),jsxRuntime.jsx("span",{"aria-hidden":"true",className:"text-gray-800 group-disabled:text-gray-200 dark:text-zinc-200 group-disabled:dark:text-zinc-600 forced-colors:text-[ButtonText] group-disabled:forced-colors:text-[GrayText]",children:"\u2013"}),jsxRuntime.jsx(Go,{slot:"end",className:"flex-1 px-2 py-1.5 text-sm"}),jsxRuntime.jsx(j,{variant:"icon",className:"mr-1 w-6 rounded outline-offset-0",children:jsxRuntime.jsx(lucideReact.CalendarIcon,{"aria-hidden":true,className:"h-4 w-4"})})]}),t&&jsxRuntime.jsx(Ce,{children:t}),typeof r=="string"?jsxRuntime.jsx(fe,{children:r}):null,jsxRuntime.jsx(Fe,{children:jsxRuntime.jsx(Ko,{})})]})}var Yv=e=>{let t=mt({isInvalid:e.isInvalid,isDisabled:e.isDisabled,isFocused:e.isFocused,transparent:e.transparent,size:e.size});return tailwindMerge.twMerge(t,"pr-9","[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none",e.className)};function Bn({label:e,description:t,errorMessage:r,size:o="md",tooltip:n,isRequired:a,transparent:i,validationResult:s,...l}){let c=pr.useId(),{isFocused:p,handleFocus:d,handleBlur:m}=Tt();return jsxRuntime.jsx(reactAriaComponents.NumberField,{...l,id:c,isRequired:a,className:se(l.className,"group flex flex-col gap-1"),step:l.step??1,onChange:u=>{typeof u=="number"&&(l.maxValue!=null&&u>l.maxValue?l.onChange?.(l.maxValue):l.minValue!=null&&u<l.minValue?l.onChange?.(l.minValue):l.onChange?.(u));},isInvalid:!!r||typeof l.value=="number"&&(l.maxValue!=null&&l.value>l.maxValue||l.minValue!=null&&l.value<l.minValue),children:({isDisabled:u,isInvalid:g})=>jsxRuntime.jsxs("div",{className:"flex flex-col",children:[e&&jsxRuntime.jsx(ye,{size:o,tooltip:n,isRequired:a,htmlFor:c,children:e}),jsxRuntime.jsx("div",{className:"relative",children:jsxRuntime.jsxs(reactAriaComponents.Group,{className:"relative",children:[jsxRuntime.jsx(reactAriaComponents.Input,{onFocus:b=>d(b,l.onFocus),onBlur:b=>m(b,l.onBlur),className:Yv({isInvalid:g||!!r,isDisabled:u,isFocused:p,transparent:i,size:o,className:typeof l.className=="string"?l.className:void 0})}),jsxRuntime.jsxs("div",{className:"absolute inset-y-[2px] right-[2px] flex flex-col divide-y divide-border-default border-l border-border-default overflow-hidden rounded-r-[calc(var(--control-border-radius)-2px)]",children:[jsxRuntime.jsx(reactAriaComponents.Button,{slot:"increment",isDisabled:u,className:"flex h-1/2 w-7 items-center justify-center bg-background-input hover:bg-background-input-hover active:bg-background-input-active disabled:cursor-not-allowed disabled:opacity-50",children:jsxRuntime.jsx(k,{name:"CaretUp",size:14})}),jsxRuntime.jsx(reactAriaComponents.Button,{slot:"decrement",isDisabled:u,className:"flex h-1/2 w-7 items-center justify-center bg-background-input hover:bg-background-input-hover active:bg-background-input-active disabled:cursor-not-allowed disabled:opacity-50",children:jsxRuntime.jsx(k,{name:"CaretDown",size:14})})]})]})}),t&&jsxRuntime.jsx(Ce,{size:o,className:"mt-3",children:t}),r&&jsxRuntime.jsx(fe,{size:o,className:"mt-3",children:typeof r=="function"?r(s):r})]})})}var Ul={sm:{track:"h-4 w-7",handle:"h-3.5 w-3.5",text:"text-xs"},md:{track:"h-5 w-9",handle:"h-4 w-4",text:"text-sm"},lg:{track:"h-6 w-11",handle:"h-5 w-5",text:"text-base"},xl:{track:"h-7 w-14",handle:"h-6 w-6",text:"text-lg"}};function Zv({isSelected:e,isDisabled:t,variant:r="default",size:o="md"}){let n="flex px-px items-center shrink-0 cursor-default rounded-full transition duration-200 ease-in-out shadow-inner border border-transparent",a=Ul[o].track,i=ke,s=r==="brand"?"focus-visible:outline-action-brand":"focus-visible:outline-action-default",l="";return e?r==="brand"?l="bg-action-brand forced-colors:!bg-[Highlight] group-pressed:bg-action-brand-hover":l="bg-action-default forced-colors:!bg-[Highlight] group-pressed:bg-action-default-hover":l="bg-gray-400 dark:bg-zinc-400 group-pressed:bg-gray-500 dark:group-pressed:bg-zinc-300",[n,a,i,s,l,t?"bg-gray-200 dark:bg-zinc-700 forced-colors:group-selected:!bg-[GrayText] forced-colors:border-[GrayText]":""].filter(Boolean).join(" ")}function Xv({isSelected:e,isDisabled:t,size:r="md"}){let o="transform rounded-full bg-white dark:bg-zinc-900 outline-none shadow transition duration-200 ease-in-out",n=Ul[r].handle;return [o,n,e?"translate-x-[100%]":"translate-x-0",t?"forced-colors:outline-[GrayText]":""].filter(Boolean).join(" ")}function _a({children:e,variant:t="default",size:r="md",...o}){return jsxRuntime.jsx(reactAriaComponents.Switch,{...o,className:se(o.className,`group flex items-center gap-2 ${Ul[r].text} text-gray-800 transition disabled:text-gray-300 dark:text-zinc-200 dark:disabled:text-zinc-600 forced-colors:disabled:text-[GrayText]`),children:n=>jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("div",{className:Zv({...n,variant:t,size:r}),children:jsxRuntime.jsx("span",{className:Xv({...n,size:r})})}),e]})})}function Gp({isOpen:e,onClose:t,facetConfigs:r,facetCounts:o={},currentFilters:n,onApply:a,onClear:i,title:s="Filters"}){let[l,c]=pr.useState(n),[p,d]=pr.useState({});pr.useEffect(()=>{e&&(c(n),d({}));},[e,n]);let m=()=>{a(l),t();},u=()=>{let y=Ln();c(y),i?i():a(y),t();},g=y=>{if(!l)return [];if(!Vl(l).includes(y))return [];let S=[];function w(A){if(A)for(let N of A.conditions)"conditions"in N?w(N):N.field===y&&N.operator==="in"&&Array.isArray(N.value)&&S.push(...N.value.map(String));}return w(l),S},f=(y,C,S)=>{let w=eo(l,y);C!==void 0&&(w=Pr(w,{field:y,operator:"gte",value:C})),S!==void 0&&(w=Pr(w,{field:y,operator:"lte",value:S})),c(w);},b=y=>{if(!l)return;let C;function S(w){if(w)for(let A of w.conditions)"conditions"in A?S(A):A.field===y&&A.operator==="eq"&&typeof A.value=="boolean"&&(C=A.value);}return S(l),C},x=(y,C)=>{let S=eo(l,y);C!==void 0&&(S=Pr(S,{field:y,operator:"eq",value:C})),c(S);},h=(y,C,S)=>{let w=eo(l,y);C&&(w=Pr(w,{field:y,operator:"gte",value:C.toString()})),S&&(w=Pr(w,{field:y,operator:"lte",value:S.toString()})),c(w);},v=y=>{let C=o[y.field]||{},S=p[y.field]||"",w=[];if(y.values?w=y.values.map(N=>({value:String(N.value),label:N.label,count:C[String(N.value)]})):w=Object.entries(C).map(([N,D])=>({value:N,label:N,count:D})),S){let N=S.toLowerCase();w=w.filter(D=>D.label.toLowerCase().includes(N));}w.sort((N,D)=>N.count!==void 0&&D.count!==void 0&&D.count!==N.count?D.count-N.count:N.label.localeCompare(D.label));let A=y.type||"string";if(A==="string"||!y.type){let N=g(y.field);return jsxRuntime.jsxs("div",{className:"space-y-3",children:[jsxRuntime.jsx("div",{className:"font-medium text-text-body",children:y.label}),w.length>10&&jsxRuntime.jsx(to,{value:S,onChange:D=>d(E=>({...E,[y.field]:D})),onClear:()=>d(D=>({...D,[y.field]:""})),placeholder:`Search ${y.label.toLowerCase()}...`,size:"sm"}),jsxRuntime.jsx(xl,{value:N,onChange:D=>{let E=eo(l,y.field);D.length>0&&(E=Pr(E,{field:y.field,operator:"in",value:D})),c(E);},children:w.slice(0,50).map(D=>jsxRuntime.jsx(qr,{value:D.value,children:jsxRuntime.jsxs("span",{className:"text-sm text-text-body",children:[D.label,D.count!==void 0&&jsxRuntime.jsxs("span",{className:"ml-2 text-text-muted",children:["(",D.count,")"]})]})},D.value))}),w.length>50&&jsxRuntime.jsxs("div",{className:"text-sm text-text-muted",children:["Showing first 50 of ",w.length," options. Use search to narrow down."]})]})}if(A==="number"){let N,D,E=W=>{if(W)for(let Z of W.conditions)"conditions"in Z?E(Z):Z.field===y.field&&(Z.operator==="gte"&&typeof Z.value=="number"&&(N=Z.value),Z.operator==="lte"&&typeof Z.value=="number"&&(D=Z.value));};return E(l),jsxRuntime.jsxs("div",{className:"space-y-3",children:[jsxRuntime.jsx("div",{className:"font-medium text-text-body",children:y.label}),jsxRuntime.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[jsxRuntime.jsx(Bn,{label:"Min",value:N,onChange:W=>f(y.field,W,D)}),jsxRuntime.jsx(Bn,{label:"Max",value:D,onChange:W=>f(y.field,N,W)})]})]})}if(A==="boolean"){let N=b(y.field);return jsxRuntime.jsx("div",{className:"space-y-3",children:jsxRuntime.jsxs("div",{className:"flex items-center justify-between",children:[jsxRuntime.jsx("span",{className:"font-medium text-text-body",children:y.label}),jsxRuntime.jsx(_a,{size:"lg",isSelected:N??false,onChange:D=>x(y.field,D?true:void 0),children:N?"Yes":"No"})]})})}return A==="date"?jsxRuntime.jsxs("div",{className:"space-y-3",children:[jsxRuntime.jsx("div",{className:"font-medium text-text-body",children:y.label}),jsxRuntime.jsx($a,{label:"Date Range",onChange:N=>{N?h(y.field,N.start,N.end):h(y.field,void 0,void 0);}})]}):null};return jsxRuntime.jsx(Cr,{isOpen:e,onClose:t,title:s,primaryAction:{label:"Apply",onPress:m,variant:"default"},secondaryAction:{label:"Clear all",onPress:u},maxWidth:"500px",children:jsxRuntime.jsxs("div",{className:"space-y-6",children:[r.length===0&&jsxRuntime.jsx("div",{className:"text-text-muted",children:"No filters available"}),r.map((y,C)=>jsxRuntime.jsxs("div",{children:[v(y),C<r.length-1&&jsxRuntime.jsx("div",{className:"mt-6 border-t border-border-muted"})]},y.field))]})})}function Kl(e="left"){switch(e){case "center":return "justify-center text-center";case "right":return "justify-end text-right";default:return "justify-start text-left"}}function Rt(e="normal",t){return tailwindMerge.twMerge({strong:"font-semibold text-text-body",high:"font-semibold text-text-body",normal:"text-text-body",low:"text-text-muted"}[e],t&&"hover:text-action-brand cursor-pointer transition-colors")}function ue(e="left",t){return tailwindMerge.twMerge("flex items-center gap-1",Kl(e),t)}function ti(e,t="\u2014"){return e==null||e===""?t:String(e)}var Dr={xs:"h-4 w-12",sm:"h-4 w-20",md:"h-4 w-24",lg:"h-4 w-32",xl:"h-4 w-40"};function it(e="normal"){return {strong:Dr.lg,high:Dr.lg,normal:Dr.md,low:Dr.sm}[e]}function le(e,t){return typeof e=="function"?e(t):e}function Up(e="neutral",t="sm"){return tailwindMerge.twMerge("inline-flex items-center rounded-full font-medium",t==="sm"?"px-2 py-0.5 text-xs":"px-2.5 py-1 text-sm",{success:"bg-green-100 text-green-800",error:"bg-red-100 text-red-800",warning:"bg-yellow-100 text-yellow-800",info:"bg-blue-100 text-blue-800",neutral:"bg-gray-100 text-gray-800"}[e])}function Kp(e){return e?"success":"neutral"}function ri(e,t=false){return t?e>0?"text-green-600":e<0?"text-red-600":"text-text-body":"text-text-body"}function Yl(e="hover",t="default"){let r={default:"text-action-primary hover:text-action-primary-hover visited:text-action-primary",brand:"text-action-brand hover:text-action-brand-hover visited:text-action-brand",muted:"text-text-muted hover:text-text-muted visited:text-text-muted",unstyled:""},o={visible:"underline underline-offset-4 decoration-1 cursor-pointer",hover:"hover:underline hover:underline-offset-4 hover:decoration-1 cursor-pointer transition-colors",none:"cursor-pointer"},n=r[t],a=o[e]||"";return `${n} ${a}`.trim()}function Qt(e,t,r,o="hover",n="default",a,i){if(!t)return e;let s=typeof t=="function"&&r?t(r):t,l=Yl(o,n);return jsxRuntime.jsx("a",{href:s,className:tailwindMerge.twMerge(l,a==="strong"||a==="high"?"font-semibold":"",i),onClick:p=>{p.metaKey||p.ctrlKey;},children:e})}function Yp({row:e,context:t,actions:r,align:o="right",size:n="sm"}){let{isLoading:a}=t;if(a)return jsxRuntime.jsx(P,{className:Dr.sm});let i=r.filter(l=>!le(l.hidden,e));if(i.length===0)return null;let s=ue(o);return jsxRuntime.jsx("div",{className:s,children:i.map(l=>{let c=le(l.disabled,e);return l.variant==="icon"||!l.label?jsxRuntime.jsx(j,{variant:"icon",size:n,onPress:()=>{l.onClick(e);},isDisabled:c,"aria-label":l.label||l.id,children:jsxRuntime.jsx(k,{name:l.icon||"DotsThree",size:n==="sm"?16:20})},l.id):jsxRuntime.jsxs(j,{variant:l.variant||"secondary",size:n,onPress:()=>{l.onClick(e);},isDisabled:c,children:[l.icon&&jsxRuntime.jsx(k,{name:l.icon,size:n==="sm"?14:16}),l.label]},l.id)})})}function Jp({value:e,row:t,context:r,variant:o="default",label:n,size:a="sm",shape:i="square",dot:s,dotPosition:l="left",dotPulse:c,align:p="left",emptyText:d="\u2014",className:m}){let{isLoading:u}=r;if(u)return jsxRuntime.jsx(P,{className:it("normal")});if(e==null||e==="")return jsxRuntime.jsx("div",{className:ue(p,"text-text-muted"),children:d});let g=typeof o=="function"?o(e,t):o,f=typeof n=="function"?n(e,t):n!==void 0?n:String(e),b=typeof s=="function"?s(e,t):s,x=typeof c=="function"?c(e,t):c,h=ue(p,m);return jsxRuntime.jsx("div",{className:h,children:jsxRuntime.jsx(Ie,{variant:g,size:a,shape:i,dot:b,dotPosition:l,dotPulse:x,children:f})})}function Zp({value:e,context:t,format:r="icon",trueText:o="Yes",falseText:n="No",trueIcon:a="Check",falseIcon:i="X",showFalse:s=true,align:l="center",emphasis:c="normal",className:p}){let{isLoading:d}=t;if(d)return jsxRuntime.jsx(P,{className:it(c)});let m=!!e;if(!m&&!s)return jsxRuntime.jsx("div",{className:ue(l,p)});let u=ue(l,p);switch(r){case "icon":return jsxRuntime.jsx("div",{className:u,children:jsxRuntime.jsx(k,{name:m?a:i,size:16,className:m?"text-green-600":"text-gray-400"})});case "text":return jsxRuntime.jsx("div",{className:u,children:jsxRuntime.jsx("span",{className:Rt(c),children:m?o:n})});case "badge":return jsxRuntime.jsx("div",{className:u,children:jsxRuntime.jsx(Ie,{variant:m?"success":"neutral",size:"sm",children:m?o:n})});default:return null}}function qp({row:e,context:t,firstName:r,lastName:o,email:n,avatarUrl:a,layout:i="stacked",size:s="sm",href:l,LinkComponent:c,linkVariant:p="default",showEmail:d=false,emphasis:m="normal",align:u="left",className:g}){let{isLoading:f}=t,b=le(r,e),x=le(o,e),h=le(n,e),v=le(a,e),y=le(l,e),C=ue(u,g);return jsxRuntime.jsx("div",{className:C,children:jsxRuntime.jsx(Ga,{firstName:b,lastName:x,email:h,avatarUrl:v,layout:i,size:s,href:y,LinkComponent:c,linkVariant:p,showEmail:d,emphasis:m,isLoading:f})})}function jp({value:e,row:t,context:r,format:o="date",customFormat:n,emptyText:a="\u2014",align:i="left",emphasis:s="normal",href:l,linkBehavior:c="hover",className:p}){let{isLoading:d}=r;if(d)return jsxRuntime.jsx(P,{className:it(s)});if(!e)return jsxRuntime.jsx("div",{className:ue(i,"text-text-muted"),children:a});let m=e instanceof Date?e:new Date(e);if(isNaN(m.getTime()))return jsxRuntime.jsx("div",{className:ue(i,"text-text-muted"),children:a});let u;switch(o){case "date":u=m.toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"});break;case "time":u=m.toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit"});break;case "datetime":u=m.toLocaleString("en-US",{year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"});break;case "relative":u=tC(m);break;case "custom":u=n?m.toLocaleString("en-US",n):m.toISOString();break;default:u=m.toLocaleDateString();}let g=ue(i,tailwindMerge.twMerge(Rt(s),p)),f=le(l,t);return f?jsxRuntime.jsx("div",{className:g,children:Qt(u,f,t,c)}):jsxRuntime.jsx("div",{className:g,children:u})}function tC(e){let r=new Date().getTime()-e.getTime(),o=Math.floor(r/1e3),n=Math.floor(o/60),a=Math.floor(n/60),i=Math.floor(a/24);return o<60?"just now":n<60?`${n} minute${n!==1?"s":""} ago`:a<24?`${a} hour${a!==1?"s":""} ago`:i<7?`${i} day${i!==1?"s":""} ago`:e.toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"})}function ni({manufacturer:e,model:t,deviceType:r,logoUrl:o,layout:n="stacked",size:a="md",href:i,LinkComponent:s,linkVariant:l="unstyled",showDeviceTypeIcon:c=true,showLogo:p=true,emphasis:d="normal",isLoading:m=false,className:u}){let[g,f]=pr.useState(false),x={xs:{iconSize:28,logoSize:"w-7 h-7",gap:"gap-1.5",textSize:"text-xs",secondaryTextSize:"text-xs",iconInTextSize:12,skeletonIcon:28,skeletonText:80,skeletonSecondary:60},sm:{iconSize:32,logoSize:"w-8 h-8",gap:"gap-2",textSize:"text-sm",secondaryTextSize:"text-xs",iconInTextSize:14,skeletonIcon:32,skeletonText:96,skeletonSecondary:72},md:{iconSize:32,logoSize:"w-9 h-9",gap:"gap-3",textSize:"text-base",secondaryTextSize:"text-sm",iconInTextSize:16,skeletonIcon:36,skeletonText:128,skeletonSecondary:96},lg:{iconSize:40,logoSize:"w-10 h-10",gap:"gap-3",textSize:"text-lg",secondaryTextSize:"text-base",iconInTextSize:18,skeletonIcon:40,skeletonText:160,skeletonSecondary:120}}[a],h=o&&!g&&p,y={strong:"font-semibold text-text-body",high:"font-semibold text-text-body",normal:"text-text-body",low:"text-text-muted"}[d],C=({children:S,className:w})=>i?s?jsxRuntime.jsx(s,{href:i,className:w,children:S}):jsxRuntime.jsx(Je,{href:i,variant:l,className:tailwindMerge.twMerge("hover:underline",w),asButton:false,children:S}):jsxRuntime.jsx("span",{className:w,children:S});if(m)return n==="inline"?jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("flex items-center",x.gap,u),children:[jsxRuntime.jsx(P,{width:x.skeletonIcon,height:x.skeletonIcon,className:"flex-shrink-0 rounded"}),jsxRuntime.jsx(P,{width:x.skeletonText,height:x.skeletonIcon*.6})]}):jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("flex items-center",x.gap,u),children:[jsxRuntime.jsx(P,{width:x.skeletonIcon,height:x.skeletonIcon,className:"flex-shrink-0"}),jsxRuntime.jsxs("div",{className:"flex flex-col gap-1",children:[jsxRuntime.jsx(P,{width:x.skeletonText,height:16}),jsxRuntime.jsx(P,{width:x.skeletonSecondary,height:12})]})]});if(n==="inline"){let S=`${e} ${t}`;return jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("flex items-center",x.gap,u),children:[jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex-shrink-0 flex items-center justify-center rounded border border-border-muted",x.logoSize),children:h?jsxRuntime.jsx("img",{src:o,alt:`${e} logo`,className:"w-full h-full object-contain",onError:()=>f(true)}):jsxRuntime.jsx(k,{name:Jl(r),size:x.iconSize*.6,className:"text-text-muted"})}),jsxRuntime.jsx(C,{className:tailwindMerge.twMerge("truncate leading-normal hover:text-text-body",y,x.textSize,i&&"hover:underline hover:decoration-1 hover:underline-offset-4"),children:S})]})}return jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("flex items-center justify-start",x.gap,u),children:[p&&jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex-shrink-0 flex items-center justify-center rounded border border-border-muted",x.logoSize),children:h?jsxRuntime.jsx("img",{src:o,alt:`${e} logo`,className:"w-full h-full object-contain",onError:()=>f(true)}):jsxRuntime.jsx(k,{name:Jl(r),size:x.iconSize*.6,className:"text-text-muted"})}),jsxRuntime.jsxs("div",{className:"flex flex-col items-start min-w-0",children:[jsxRuntime.jsx(C,{className:tailwindMerge.twMerge("truncate leading-normal hover:text-text-body",y,x.textSize,i&&"hover:underline hover:decoration-1 hover:underline-offset-4"),children:e}),jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("flex items-center gap-1.5 text-text-muted leading-normal",x.secondaryTextSize),children:[c&&jsxRuntime.jsx(k,{name:Jl(r),size:x.iconInTextSize,className:"flex-shrink-0"}),jsxRuntime.jsx("span",{className:"truncate",children:t})]})]})]})}function Jl(e){switch(e){case "battery":return "BatteryHigh";case "charger":return "ChargingStation";case "inverter":return "Power";case "thermostat":return "ThermometerSimple";case "vehicle":return "CarSimple";default:return "DeviceMobile"}}function $p({row:e,context:t,manufacturer:r,model:o,deviceType:n,logoUrl:a,layout:i="stacked",size:s="sm",href:l,LinkComponent:c,linkVariant:p="default",showDeviceTypeIcon:d=true,showLogo:m=true,emphasis:u="normal",align:g="left",className:f}){let{isLoading:b}=t,x=le(r,e),h=le(o,e),v=le(n,e),y=le(a,e),C=le(l,e),S=ue(g,f);return jsxRuntime.jsx("div",{className:S,children:jsxRuntime.jsx(ni,{manufacturer:x,model:h,deviceType:v,logoUrl:y,layout:i,size:s,href:C,LinkComponent:c,linkVariant:p,showDeviceTypeIcon:d,showLogo:m,emphasis:u,isLoading:b})})}var dL={charging:"percentage",discharging:"percentage",on:"kW",idle:void 0,off:void 0,heat:"temperature",cool:"temperature",auto:"temperature",eco:"temperature",unknown:void 0},oC=["charging","discharging","heat","cool","on"],nC={unknown:"Unknown",on:"On",off:"Off",idle:"Idle",charging:"Charging",discharging:"Discharging",heat:"Heating",eco:"Eco Mode",cool:"Cooling",auto:"Auto"};function Zl(e){return oC.includes(e)}function Xl(e){return nC[e]}function oo({state:e,label:t,icon:r,isLoading:o,size:n="sm",shape:a="pill",dot:i,dotPulse:s,fixedWidth:l,className:c,...p}){if(o)return jsxRuntime.jsx(P,{className:"inline-flex h-6 w-20"});let d=t??Xl(e),m=Zl(e);return jsxRuntime.jsxs(Ie,{variant:e,size:n,shape:a,dot:i??m,dotPulse:s??m,className:l?`w-28 justify-center ${c||""}`:c,...p,children:[r&&jsxRuntime.jsx(k,{name:r,size:n==="sm"?12:n==="md"?14:16}),d]})}var iC={importing:"Importing",exporting:"Exporting"};function em(e){return iC[e]}function ai({state:e,label:t,showIcon:r=false,isLoading:o,size:n="sm",shape:a="pill",fixedWidth:i,className:s,...l}){if(o)return jsxRuntime.jsx(P,{className:"inline-flex h-6 w-24"});let c=t??em(e),p=r?e==="exporting"?"ArrowUp":"ArrowDown":void 0;return jsxRuntime.jsxs(Ie,{variant:e,size:n,shape:a,className:i?`w-28 justify-center ${s||""}`:s,...l,children:[p&&jsxRuntime.jsx(k,{name:p,size:n==="sm"?12:n==="md"?14:16}),c]})}function ii({state:e,stateLabel:t,metric:r,metricFormatter:o,secondaryState:n,layout:a="horizontal",isLoading:i,size:s="sm",shape:l="pill",icon:c,fixedWidth:p,className:d}){if(i)return jsxRuntime.jsx(P,{className:tailwindMerge.twMerge("inline-flex h-6 w-32",d)});let m=r!=null&&o?Vr(r,o):null,u=a==="horizontal",g=o&&!m;return jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("inline-flex items-center",u?"gap-2":"flex-col gap-1",d),children:[(m||g)&&jsxRuntime.jsx("span",{className:tailwindMerge.twMerge("font-medium inline-block",m?"text-text-body":"text-text-caption",s==="sm"&&"text-xs min-w-12",s==="md"&&"text-sm min-w-14",s==="lg"&&"text-base min-w-16"),children:m||"\u2014"}),jsxRuntime.jsx(oo,{state:e,label:t,icon:c,size:s,shape:l,fixedWidth:p}),n&&jsxRuntime.jsx(jsxRuntime.Fragment,{children:n==="importing"||n==="exporting"?jsxRuntime.jsx(ai,{state:n,size:s,shape:l,fixedWidth:p}):jsxRuntime.jsx(oo,{state:n,size:s,shape:l,fixedWidth:p})})]})}function rm({value:e,row:t,context:r,metric:o,metricFormatter:n,secondaryState:a,size:i="sm",shape:s="pill",label:l,icon:c,fixedWidth:p=true,align:d="left",className:m}){let{isLoading:u}=r;if(u)return jsxRuntime.jsx(P,{className:"inline-flex h-6 w-32"});if(!e)return jsxRuntime.jsx("div",{className:ue(d,m),children:jsxRuntime.jsx("span",{className:"text-text-muted",children:"\u2014"})});let g=le(o,t),f=le(a,t),b=typeof l=="function"?l(e,t):l,x=ue(d,m);return g!=null||n?jsxRuntime.jsx("div",{className:tailwindMerge.twMerge(x),children:jsxRuntime.jsx(ii,{state:e,stateLabel:b,metric:g,metricFormatter:n,secondaryState:f||void 0,size:i,shape:s,icon:c,fixedWidth:p,layout:"horizontal"})}):jsxRuntime.jsx("div",{className:x,children:jsxRuntime.jsx(oo,{state:e,label:b,icon:c,size:i,shape:s,fixedWidth:p})})}function nm({value:e,row:t,context:r,formatter:o,align:n="left",emphasis:a="normal",href:i,linkBehavior:s="hover",className:l,emptyText:c="\u2014",emptyClassName:p="text-text-muted"}){let{isLoading:d}=r;if(d)return jsxRuntime.jsx(P,{className:it(a)});let m=Ot({value:e,formatter:o,emptyText:c,emptyClassName:p}),u=Rt(a),g=ue(n,tailwindMerge.twMerge(u,l)),f=jsxRuntime.jsx("div",{className:g,children:m}),b=le(i,t);return b?Qt(f,b,t,s):f}var jl=pr__namespace.default.memo(({value:e,min:t,max:r,color:o="var(--color-viz-default)",backgroundColor:n="var(--color-background-muted)",colorScale:a,showLabel:i=true,formatLabel:s,height:l=20,minWidth:c=4,segments:p,segmentGap:d=2,barWidth:m,context:u})=>{let g=pr.useMemo(()=>r===t?100:Math.max(0,Math.min(100,(e-t)/(r-t)*100)),[e,t,r]),f=pr.useMemo(()=>o==="auto"&&a?a.type==="diverging"&&a.center!==void 0?pn(e,t,r,a.center,a.scheme):un(e,t,r,a.scheme):o,[o,a,e,t,r]);if(u.isLoading)return jsxRuntime.jsx("div",{className:"flex items-center gap-2 w-full",style:{height:l},children:jsxRuntime.jsx("div",{className:"h-full flex-1 animate-pulse bg-border-default rounded"})});if(p&&p>0){let h=`calc((100% - ${d*(p-1)}px) / ${p})`,v=Math.ceil(g/100*p),y={height:l,...m&&{width:typeof m=="number"?`${m}px`:m,flexShrink:0}};return jsxRuntime.jsxs("div",{className:"flex items-center gap-2 w-full",children:[jsxRuntime.jsx("div",{className:`flex gap-0.5 ${m?"":"flex-1"}`,style:y,children:Array.from({length:p}).map((C,S)=>{let w=S<v;return jsxRuntime.jsx("div",{className:"rounded-sm",style:{width:h,backgroundColor:w?f:n==="none"?"transparent":n,marginRight:S<p-1?`${d}px`:0}},S)})}),i&&jsxRuntime.jsx("span",{className:"text-sm text-text-body whitespace-nowrap",children:s?s(e):e.toLocaleString()})]})}let b={height:l,backgroundColor:n==="none"?"transparent":n,...m&&{width:typeof m=="number"?`${m}px`:m,flexShrink:0}};return jsxRuntime.jsxs("div",{className:"flex items-center gap-2 w-full",children:[jsxRuntime.jsx("div",{className:`relative rounded-sm ${m?"":"flex-1"}`,style:b,children:jsxRuntime.jsx("div",{className:"absolute left-0 top-0 h-full rounded-sm",style:{width:`${g}%`,minWidth:g>0?c:0,backgroundColor:f}})}),i&&jsxRuntime.jsx("span",{className:"text-sm text-text-body whitespace-nowrap",children:s?s(e):e.toLocaleString()})]})});jl.displayName="HorizontalBarCell";var Ql=pr__namespace.default.memo(({value:e,data:t,color:r="var(--color-viz-default)",categoryColors:o,context:n,width:a,height:i=40})=>{let s=e||t||[],l=b=>"xValue"in b?b.xValue:b.x,c=b=>"yValue"in b?b.yValue:b.y,p=a||100,d=i,{xScale:m,yScale:u,barWidth:g}=pr.useMemo(()=>{if(s.length===0)return {xScale:scale.scaleTime({range:[0,p],domain:[new Date,new Date]}),yScale:scale.scaleLinear({range:[d,0],domain:[0,1]}),barWidth:2};let b=d3Array.extent(s,w=>l(w)),x=d3Array.min(s,w=>c(w))??0,h=d3Array.max(s,w=>c(w))??0,v=x<0?x:0,y=scale.scaleTime({range:[0,p],domain:b}),C=scale.scaleLinear({range:[d,0],domain:[v,h*1.05]}),S=s.length>1?p/s.length*.8:8;return {xScale:y,yScale:C,barWidth:Math.max(2,S)}},[s,p,d]);if(n.isLoading)return jsxRuntime.jsx("div",{className:"flex items-center gap-0.5",style:{width:p,height:d},children:Array.from({length:5}).map((b,x)=>jsxRuntime.jsx("div",{className:"flex-1 animate-pulse bg-border-default rounded"},x))});if(!s||s.length===0)return jsxRuntime.jsx("div",{className:"flex items-center justify-center text-text-muted text-xs",style:{width:p,height:d},children:"No data"});let f=u(0);return jsxRuntime.jsx("svg",{width:p,height:d,children:s.map((b,x)=>{let h=c(b),v=m(l(b)),y=u(h),C=Math.abs(f-y),S=b.category&&o?.[b.category]?o[b.category]:r;return jsxRuntime.jsx(shape.Bar,{x:v-g/2,y:h>=0?y:f,width:g,height:C,fill:S,rx:1},`bar-${x}`)})})});Ql.displayName="MiniBarCell";function cm({value:e,row:t,context:r,format:o="number",decimals:n=0,prefix:a,suffix:i,emptyText:s="\u2014",align:l="right",emphasis:c="normal",href:p,linkBehavior:d="hover",showPositiveSign:m=false,colorCode:u=false,className:g}){let{isLoading:f}=r;if(f)return jsxRuntime.jsx(P,{className:it(c)});if(e==null||isNaN(Number(e)))return jsxRuntime.jsx("div",{className:ue(l,"text-text-muted"),children:s});let b=Number(e),x;switch(o){case "currency":x=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:n,maximumFractionDigits:n}).format(b);break;case "percent":x=new Intl.NumberFormat("en-US",{style:"percent",minimumFractionDigits:n,maximumFractionDigits:n}).format(b/100);break;case "compact":x=new Intl.NumberFormat("en-US",{notation:"compact",minimumFractionDigits:n>0?1:0,maximumFractionDigits:n}).format(b);break;default:x=new Intl.NumberFormat("en-US",{minimumFractionDigits:n,maximumFractionDigits:n}).format(b);}let v=`${m&&b>0?"+":""}${x}`,y=u?ri(b,true):Rt(c),C=ue(l,tailwindMerge.twMerge(y,g)),S=jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[a&&jsxRuntime.jsx("span",{className:"text-text-muted",children:a}),jsxRuntime.jsx("span",{children:v}),i&&jsxRuntime.jsx("span",{className:"text-text-muted",children:i})]}),w=le(p,t);return w?jsxRuntime.jsx("div",{className:C,children:Qt(S,w,t,d)}):jsxRuntime.jsx("div",{className:C,children:S})}var $l=pr__namespace.default.memo(({value:e,showLabel:t=true,color:r="var(--color-viz-categorical-1)",backgroundColor:o="var(--color-background-muted)",height:n=20,segments:a,segmentGap:i=2,colorScale:s,context:l})=>{let c=pr.useMemo(()=>Math.max(0,Math.min(100,e)),[e]),p=pr.useMemo(()=>r==="auto"&&s?s.type==="diverging"&&s.center!==void 0?pn(e,0,100,s.center,s.scheme):un(e,0,100,s.scheme):r,[r,s,e]);if(l.isLoading)return jsxRuntime.jsx("div",{className:"flex items-center gap-2",style:{height:n},children:jsxRuntime.jsx("div",{className:"h-full w-full animate-pulse bg-border-default rounded"})});if(a&&a>0){let m=`calc((100% - ${i*(a-1)}px) / ${a})`,u=Math.ceil(c/100*a);return jsxRuntime.jsxs("div",{className:"flex items-center gap-2 w-full",children:[jsxRuntime.jsx("div",{className:"flex gap-0.5 flex-1",style:{height:n},children:Array.from({length:a}).map((g,f)=>{let b=f<u,x=p;if(r==="auto"&&s&&b){let h=(f+1)/a*100;s.type==="diverging"&&s.center!==void 0?x=pn(h,0,100,s.center,s.scheme):x=un(h,0,100,s.scheme);}return jsxRuntime.jsx("div",{className:"rounded-sm",style:{width:m,backgroundColor:b?x:o==="none"?"transparent":o,marginRight:f<a-1?`${i}px`:0}},f)})}),t&&jsxRuntime.jsxs("span",{className:"text-sm text-text-body whitespace-nowrap",children:[c.toFixed(0),"%"]})]})}return jsxRuntime.jsxs("div",{className:"flex items-center gap-2 w-full",children:[jsxRuntime.jsx("div",{className:"relative flex-1 rounded-sm",style:{height:n,backgroundColor:o==="none"?"transparent":o},children:jsxRuntime.jsx("div",{className:"absolute left-0 top-0 h-full rounded-sm transition-all duration-300",style:{width:`${c}%`,backgroundColor:p}})}),t&&jsxRuntime.jsxs("span",{className:"text-sm text-text-body whitespace-nowrap",children:[c.toFixed(0),"%"]})]})});$l.displayName="PercentBarCell";function um({row:e,context:t,isSelected:r=false,onSelect:o,isDisabled:n=false,align:a="center"}){let{isLoading:i}=t;if(i)return jsxRuntime.jsx("div",{className:ue(a),children:jsxRuntime.jsx(P,{className:"h-4 w-4 rounded"})});let s=le(n,e),l=ue(a);return jsxRuntime.jsx("div",{className:l,children:jsxRuntime.jsx(qr,{isSelected:r,onChange:c=>{o?.(e,c);},isDisabled:s,"aria-label":"Select row"})})}function ci({streetAddress:e,city:t,state:r,postalCode:o,layout:n="stacked",size:a="md",href:i,LinkComponent:s,linkVariant:l="unstyled",emphasis:c="normal",isLoading:p=false,className:d}){let u={xs:{iconSize:16,gap:"gap-1.5",textSize:"text-xs",secondaryTextSize:"text-xs",skeletonIcon:16,skeletonText:80,skeletonSecondary:60},sm:{iconSize:20,gap:"gap-2",textSize:"text-sm",secondaryTextSize:"text-xs",skeletonIcon:20,skeletonText:96,skeletonSecondary:72},md:{iconSize:24,gap:"gap-3",textSize:"text-base",secondaryTextSize:"text-sm",skeletonIcon:24,skeletonText:128,skeletonSecondary:96},lg:{iconSize:28,gap:"gap-3",textSize:"text-lg",secondaryTextSize:"text-base",skeletonIcon:28,skeletonText:160,skeletonSecondary:120}}[a],f={strong:"font-semibold text-text-body",high:"font-semibold text-text-body",normal:"text-text-body",low:"text-text-muted"}[c],b=[];t&&b.push(t),r&&o?b.push(`${r} ${o}`):r?b.push(r):o&&b.push(o);let x=b.join(", "),h=({children:v,className:y})=>i?s?jsxRuntime.jsx(s,{href:i,className:y,children:v}):jsxRuntime.jsx(Je,{href:i,variant:l,className:tailwindMerge.twMerge("hover:underline",y),asButton:false,children:v}):jsxRuntime.jsx("span",{className:y,children:v});return p?n==="inline"?jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("flex items-center",u.gap,d),children:[jsxRuntime.jsx(P,{width:u.skeletonIcon,height:u.skeletonIcon,className:"flex-shrink-0 rounded"}),jsxRuntime.jsx(P,{width:u.skeletonText,height:u.skeletonIcon*.8})]}):jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("flex items-center",u.gap,d),children:[jsxRuntime.jsx(P,{width:u.skeletonIcon,height:u.skeletonIcon,className:"flex-shrink-0 rounded"}),jsxRuntime.jsxs("div",{className:"flex flex-col gap-1",children:[jsxRuntime.jsx(P,{width:u.skeletonText,height:16}),jsxRuntime.jsx(P,{width:u.skeletonSecondary,height:12})]})]}):n==="inline"?jsxRuntime.jsxs(h,{className:tailwindMerge.twMerge("flex items-center",u.gap,i&&"hover:bg-background-hover transition-colors",d),children:[jsxRuntime.jsx(k,{name:"MapPin",size:u.iconSize,className:"text-text-muted flex-shrink-0"}),jsxRuntime.jsx("span",{className:tailwindMerge.twMerge("leading-normal truncate hover:text-text-body",f,u.textSize,i&&"hover:underline hover:decoration-1 hover:underline-offset-4"),children:e})]}):jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("flex items-center justify-start",u.gap,d),children:[jsxRuntime.jsx(k,{name:"MapPin",size:u.iconSize,className:"text-text-muted flex-shrink-0"}),jsxRuntime.jsxs("div",{className:"flex flex-col items-start min-w-0",children:[jsxRuntime.jsx(h,{className:tailwindMerge.twMerge("leading-normal truncate hover:text-text-body",f,u.textSize,i&&"hover:underline hover:decoration-1 hover:underline-offset-4"),children:e}),x&&jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("text-text-caption leading-normal truncate",u.secondaryTextSize),children:x})]})]})}function mm({row:e,context:t,streetAddress:r,city:o,state:n,postalCode:a,layout:i="stacked",size:s="sm",href:l,LinkComponent:c,linkVariant:p="default",emphasis:d="normal",align:m="left",className:u}){let{isLoading:g}=t,f=le(r,e),b=le(o,e),x=le(n,e),h=le(a,e),v=le(l,e),y=ue(m,u);return jsxRuntime.jsx("div",{className:y,children:jsxRuntime.jsx(ci,{streetAddress:f,city:b,state:x,postalCode:h,layout:i,size:s,href:v,LinkComponent:c,linkVariant:p,emphasis:d,isLoading:g})})}var _l=pr__namespace.default.memo(({value:e,data:t,type:r="line",color:o="var(--color-viz-default)",strokeWidth:n=2,categoryColors:a,context:i,width:s,height:l=40})=>{let c=e||t||[],p=s||100,d=l,{xScale:m,yScale:u}=pr.useMemo(()=>{if(c.length===0)return {xScale:scale.scaleTime({range:[0,p],domain:[new Date,new Date]}),yScale:scale.scaleLinear({range:[d,0],domain:[0,1]})};let f=d3Array.extent(c,v=>v.xValue),b=d3Array.min(c,v=>v.yValue)||0,x=d3Array.max(c,v=>v.yValue)||0,h=(x-b)*.1||1;return {xScale:scale.scaleTime({range:[0,p],domain:f}),yScale:scale.scaleLinear({range:[d,0],domain:[b-h,x+h]})}},[c,p,d]);if(i.isLoading)return jsxRuntime.jsx("div",{className:"flex items-center",style:{width:p,height:d},children:jsxRuntime.jsx("div",{className:"h-1 w-full animate-pulse bg-border-default rounded"})});if(!c||c.length===0)return jsxRuntime.jsx("div",{className:"flex items-center justify-center text-text-muted text-xs",style:{width:p,height:d},children:"No data"});let g=a&&c[0]?.category&&a[c[0].category]?a[c[0].category]:o;return jsxRuntime.jsxs("svg",{width:p,height:d,className:"overflow-visible",children:[(r==="area"||r==="both")&&jsxRuntime.jsx(shape.AreaClosed,{data:c,x:f=>m(f.xValue),y:f=>u(f.yValue),yScale:u,fill:g,fillOpacity:.15,curve:curve.curveLinear}),(r==="line"||r==="both")&&jsxRuntime.jsx(shape.LinePath,{data:c,x:f=>m(f.xValue),y:f=>u(f.yValue),stroke:g,strokeWidth:n,strokeLinecap:"round",curve:curve.curveLinear})]})});_l.displayName="SparklineCell";function xm({value:e,row:t,context:r,prefix:o,suffix:n,emptyText:a="\u2014",href:i,linkBehavior:s="hover",linkVariant:l="default",emphasis:c="normal",truncate:p=true,align:d="left",className:m}){let{isLoading:u}=r;if(u)return jsxRuntime.jsx(P,{className:it(c)});let g=ti(e,a),f=le(i,t),b=jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[o&&jsxRuntime.jsx("span",{className:"text-text-muted",children:o}),jsxRuntime.jsx("span",{className:p?"truncate":"",children:g}),n&&jsxRuntime.jsx("span",{className:"text-text-muted",children:n})]});if(f){let h=ue(d,m);return jsxRuntime.jsx("div",{className:h,children:Qt(b,f,t,s,l,c)})}let x=ue(d,tailwindMerge.twMerge(Rt(c),m));return jsxRuntime.jsx("div",{className:x,children:b})}var EC={sm:"sm:hidden",md:"md:hidden",lg:"lg:hidden",xl:"xl:hidden"},IC={sm:"hidden sm:grid",md:"hidden md:grid",lg:"hidden lg:grid",xl:"hidden xl:grid"};function di(e,t){return t.accessor?typeof t.accessor=="function"?t.accessor(e):e[t.accessor]:null}function ui(e,t,r,o){if(r.cell){let n=r.cell,a=typeof r.cellProps=="function"?r.cellProps(e,t):r.cellProps;return jsxRuntime.jsx(n,{value:e,row:t,context:o,...a})}return r.render?r.render(e,t,o):e?.toString()??"\u2014"}function mi({row:e,columns:t,density:r,isLoading:o,onClick:n}){let a=t.filter(d=>d.mobile!==false).map(d=>{let m=d.mobile===false?null:d.mobile;return {...d,mobilePriority:m?.priority??2,mobileFormat:m?.format??"secondary",showLabel:m?.label??m?.format==="secondary",icon:m?.icon}}).sort((d,m)=>d.mobilePriority-m.mobilePriority),i=a.filter(d=>d.mobilePriority===1||d.mobileFormat==="primary"),s=a.filter(d=>d.mobilePriority===2&&d.mobileFormat!=="primary"),l=a.filter(d=>d.mobileFormat==="badge"),c={isLoading:!!o,rowIndex:0,columnIndex:0,density:r};return jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("border-b border-border-default bg-background-surface transition-colors",n&&"cursor-pointer hover:bg-background-hover active:bg-background-pressed",{compact:"px-3 py-2",default:"px-4 py-3",relaxed:"px-4 py-4"}[r]),onClick:n,role:n?"button":void 0,tabIndex:n?0:void 0,children:[i.length>0&&jsxRuntime.jsxs("div",{className:"mb-2 flex items-start justify-between",children:[jsxRuntime.jsx("div",{className:"flex-1",children:i.map(d=>{let m=di(e,d);return jsxRuntime.jsx("div",{className:"font-medium text-text-body [&>*]:!justify-start [&>*]:!text-left",children:ui(m,e,d,c)},d.id)})}),l.length>0&&jsxRuntime.jsx("div",{className:"ml-2 flex flex-wrap gap-1",children:l.map(d=>{let m=di(e,d);return jsxRuntime.jsx("div",{className:"inline-flex",children:ui(m,e,d,c)},d.id)})})]}),s.length>0&&jsxRuntime.jsx("div",{className:"space-y-1",children:s.map(d=>{let m=di(e,d),u=d.showLabel&&d.label;return jsxRuntime.jsxs("div",{className:"flex items-center text-sm text-text-muted",children:[d.icon&&jsxRuntime.jsx(k,{name:d.icon,className:"mr-1.5 h-4 w-4 flex-shrink-0"}),u&&jsxRuntime.jsxs("span",{className:"mr-1 font-medium",children:[d.label,":"]}),jsxRuntime.jsx("span",{className:"truncate [&>*]:!justify-start [&>*]:!text-left",children:ui(m,e,d,c)})]},d.id)})})]})}function fi({row:e,columns:t,density:r,isLoading:o,onClick:n}){let a=t.filter(l=>l.mobile!==false),i={isLoading:!!o,rowIndex:0,columnIndex:0,density:r};return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("border-b border-border-default bg-background-surface transition-colors",n&&"cursor-pointer hover:bg-background-hover active:bg-background-pressed",{compact:"px-3 py-2",default:"px-4 py-3",relaxed:"px-4 py-4"}[r]),onClick:n,role:n?"button":void 0,tabIndex:n?0:void 0,children:jsxRuntime.jsx("div",{className:"space-y-2",children:a.map((l,c)=>{let p=di(e,l),d=c===0;return jsxRuntime.jsxs("div",{children:[!d&&jsxRuntime.jsx("div",{className:"text-xs text-text-muted",children:l.label}),jsxRuntime.jsx("div",{className:tailwindMerge.twMerge(d?"font-medium text-text-body":"text-sm text-text-body","[&>*]:!justify-start [&>*]:!text-left"),children:ui(p,e,l,i)})]},l.id)})})})}function hm(e="md"){return {mobile:EC[e],desktop:IC[e]}}function ym({density:e}){return jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("border-b border-border-default bg-background-surface",{compact:"px-3 py-2",default:"px-4 py-3",relaxed:"px-4 py-4"}[e]),children:[jsxRuntime.jsx("div",{className:"mb-2 h-5 w-3/4 animate-pulse rounded bg-background-muted"}),jsxRuntime.jsxs("div",{className:"space-y-1",children:[jsxRuntime.jsx("div",{className:"h-4 w-1/2 animate-pulse rounded bg-background-muted"}),jsxRuntime.jsx("div",{className:"h-4 w-2/3 animate-pulse rounded bg-background-muted"})]})]})}var ec={compact:"py-1.5 px-3 text-sm",default:"py-3 px-4 text-sm",relaxed:"py-4 px-4 text-base"},tc={left:"text-left justify-start",center:"text-center justify-center",right:"text-right justify-end"},OC={full:"w-full",auto:"w-auto inline-block",contained:"w-full max-w-6xl mx-auto"},HC={auto:"table-auto",fixed:"table-fixed",responsive:"table-auto"};function rc(e){let t={};return e.width!==void 0&&(t.width=typeof e.width=="number"?`${e.width}px`:e.width),e.minWidth!==void 0&&(t.minWidth=typeof e.minWidth=="number"?`${e.minWidth}px`:e.minWidth),e.maxWidth!==void 0&&(t.maxWidth=typeof e.maxWidth=="number"?`${e.maxWidth}px`:e.maxWidth),e.flex!==void 0&&(t.flex=`${e.flex} 1 0`),t}function WC(e,t){return t.accessor?typeof t.accessor=="function"?t.accessor(e):e[t.accessor]:null}function GC({column:e,sortConfig:t,onSort:r,stickyHeader:o,density:n="default",isLoading:a=false}){let i=t?.columnId===e.id,s=i?t.direction:null;return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex items-center border-b border-border-default bg-background-surface",e.sortable?"gap-2":"gap-1",ec[n],tc[e.align||"left"],o&&"sticky top-0 z-10",e.sortable&&!a&&"cursor-pointer hover:bg-background-hover",a&&"cursor-not-allowed opacity-60",i?"font-bold text-text-body":"font-medium text-text-muted"),onClick:()=>!a&&e.sortable&&r(e.id),role:"columnheader","aria-sort":i?s==="asc"?"ascending":"descending":"none","aria-disabled":a,style:rc(e),children:a?jsxRuntime.jsx(P,{className:"h-4 w-24"}):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("span",{className:"truncate",children:e.label}),e.sortable&&jsxRuntime.jsx("div",{className:"flex flex-shrink-0",children:i?jsxRuntime.jsx(k,{name:s==="asc"?"CaretUp":"CaretDown",size:14,weight:"bold",className:"text-text-body"}):jsxRuntime.jsx(k,{name:"CaretUpDown",size:12,className:"text-text-muted opacity-40"})})]})})}function UC({column:e,row:t,rowIndex:r,columnIndex:o,isHovered:n,density:a="default",className:i}){let s=WC(t,e),l={isLoading:false,isHovered:n,rowIndex:r,columnIndex:o,density:a},c;if(e.cell){let p=e.cell,d=typeof e.cellProps=="function"?e.cellProps(s,t):e.cellProps;c=jsxRuntime.jsx(p,{value:s,row:t,context:l,...d});}else e.render?c=e.render(s,t,l):c=jsxRuntime.jsx("span",{className:"truncate",children:s?.toString()??""});if(e.popover){let p=e.popover,d,m="top",u=false,g="hover";typeof p=="string"?d=p:typeof p=="function"?d=p(s,t):(d=typeof p.content=="function"?p.content(s,t):p.content,m=p.placement||"top",u=p.showArrow??false,g=p.trigger||"hover"),c=jsxRuntime.jsxs(reactAriaComponents.DialogTrigger,{...g==="hover"?{trigger:"longPress"}:{},children:[jsxRuntime.jsx("div",{className:"cursor-help",children:c}),jsxRuntime.jsx(Fe,{placement:m,showArrow:u,children:jsxRuntime.jsx("div",{className:"p-2",children:d})})]});}return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex items-center border-b border-border-default",ec[a],tc[e.align||"left"],i),role:"cell",style:rc(e),children:c})}function KC({column:e,rowIndex:t,columnIndex:r,density:o="default"}){let n={isLoading:true,rowIndex:t,columnIndex:r,density:o},a;if(e.cell){let i=e.cell,s=typeof e.cellProps=="function"?e.cellProps(null,{}):e.cellProps;a=jsxRuntime.jsx(i,{value:null,row:{},context:n,...s});}else e.render?a=e.render(null,{},n):a=jsxRuntime.jsx(P,{className:"h-4 w-full max-w-[200px]"});return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex items-center border-b border-border-default",ec[o],tc[e.align||"left"]),role:"cell",style:rc(e),children:a})}function vm({columns:e,row:t,rowIndex:r,density:o="default",onClick:n}){let[a,i]=pr.useState(false),s=pr.useCallback(()=>{n&&n(t);},[n,t]);return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("contents group",n&&"cursor-pointer"),role:"row",onClick:s,onMouseEnter:()=>i(true),onMouseLeave:()=>i(false),children:e.map((l,c)=>jsxRuntime.jsx(UC,{column:l,row:t,rowIndex:r,columnIndex:c,isHovered:a,density:o,className:n?"group-hover:bg-background-hover":""},l.id))})}function Cm({columns:e,rowIndex:t,density:r="default"}){return jsxRuntime.jsx("div",{className:"contents",role:"row",children:e.map((o,n)=>jsxRuntime.jsx(KC,{column:o,rowIndex:t,columnIndex:n,density:r},o.id))})}function Nm({columns:e,data:t,className:r,density:o="default",width:n="full",height:a,maxHeight:i,layout:s="auto",mobileRenderer:l="auto",customMobileRowRender:c,mobileBreakpoint:p="md",isLoading:d=false,loadingState:m,loadingRowCount:u=5,onLoadMore:g,hasMore:f=false,enableVirtualization:b,estimatedRowHeight:x,loadingIndicator:h,stickyHeader:v=false,onRowClick:y,getRowId:C,hideHeader:S=false,onSort:w,"aria-label":A}){let[N,D]=pr.useState(null),E=pr.useRef(null),W=g?br({items:t,onLoadMore:g,hasMore:f,isLoading:d,loadingState:m,enableVirtualization:b,estimatedItemSize:x||(o==="compact"?40:o==="relaxed"?60:48),overscan:5}):null,Z=W?.scrollRef??E,{loadMoreRef:B,virtualizer:G,virtualItems:U,isLoadingMore:ee,computedLoadingState:L}=W||{},F=pr.useMemo(()=>e.map(z=>{if(z.width)return typeof z.width=="number"?`${z.width}px`:z.width;if(z.flex)return `${z.flex}fr`;if(z.minWidth&&z.maxWidth){let q=typeof z.minWidth=="number"?`${z.minWidth}px`:z.minWidth,oe=typeof z.maxWidth=="number"?`${z.maxWidth}px`:z.maxWidth;return `minmax(${q}, ${oe})`}return z.minWidth?`minmax(${typeof z.minWidth=="number"?`${z.minWidth}px`:z.minWidth}, 1fr)`:z.maxWidth?`minmax(0, ${typeof z.maxWidth=="number"?`${z.maxWidth}px`:z.maxWidth})`:"1fr"}).join(" "),[e]),V=pr.useCallback(z=>{if(!e.find(Ge=>Ge.id===z)?.sortable)return;let oe=null;N?.columnId===z?N.direction==="asc"?oe={columnId:z,direction:"desc"}:oe=null:oe={columnId:z,direction:"asc"},D(oe),w?.(oe);},[e,N,w]),O=L==="loading"||d&&t.length===0,R={};a?(R.height=typeof a=="number"?`${a}px`:a,R.overflowY="auto"):i?(R.maxHeight=typeof i=="number"?`${i}px`:i,R.overflowY="auto"):g&&(R.height="600px",R.overflowY="auto");let I=tailwindMerge.twMerge(OC[n],!g&&(s==="responsive"?"overflow-x-auto":"overflow-auto"),r),K=hm(p),Y=l!=="none",H=(z,q)=>Y?l==="custom"&&c?c(z,q):jsxRuntime.jsx(l==="cards"?fi:mi,{row:z,columns:e,density:o,isLoading:d,onClick:y?()=>y(z):void 0}):null,te=G?U?.map(z=>({virtualItem:z,row:t[z.index],index:z.index}))||[]:t.map((z,q)=>({row:z,index:q,virtualItem:null}));return jsxRuntime.jsxs("div",{ref:Z,className:I,style:{...R,position:G?"relative":void 0},children:[jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("grid border-separate border-spacing-0",HC[s],n==="auto"?"inline-grid w-auto":"w-full",Y&&K.desktop),role:"table","aria-label":A,style:{gridTemplateColumns:F},children:[!S&&jsxRuntime.jsx("div",{className:"contents",role:"rowgroup",children:e.map(z=>jsxRuntime.jsx(GC,{column:z,sortConfig:N,onSort:V,stickyHeader:v,density:o,isLoading:O},z.id))}),G?jsxRuntime.jsx("div",{className:"col-span-full",style:{gridColumn:"1 / -1",height:`${G.getTotalSize()}px`,position:"relative"},role:"rowgroup",children:O?Array.from({length:u}).map((z,q)=>jsxRuntime.jsx("div",{className:"contents",children:jsxRuntime.jsx(Cm,{columns:e,rowIndex:q,density:o})},`loading-${q}`)):t.length>0?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[te.map(({row:z,index:q,virtualItem:oe})=>{if(!z||!oe)return null;let Ge=C?C(z):`row-${q}`;return jsxRuntime.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",display:"grid",gridTemplateColumns:F,transform:`translateY(${oe.start}px)`},"data-index":oe.index,ref:G.measureElement,children:jsxRuntime.jsx(vm,{columns:e,row:z,rowIndex:q,density:o,onClick:y})},Ge)}),ee&&jsxRuntime.jsx("div",{style:{position:"absolute",top:`${G.getTotalSize()}px`,left:0,width:"100%"},children:h||jsxRuntime.jsx(yt,{state:"loading-more"})})]}):jsxRuntime.jsx("div",{className:"py-12 text-center text-text-muted",children:"No data available"})}):jsxRuntime.jsx("div",{className:"contents",role:"rowgroup",children:O?Array.from({length:u}).map((z,q)=>jsxRuntime.jsx(Cm,{columns:e,rowIndex:q,density:o},`loading-${q}`)):t.length>0?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[te.map(({row:z,index:q})=>{if(!z)return null;let oe=C?C(z):`row-${q}`;return jsxRuntime.jsx(vm,{columns:e,row:z,rowIndex:q,density:o,onClick:y},oe)}),ee&&jsxRuntime.jsx("div",{className:"col-span-full",style:{gridColumn:"1 / -1"},children:h||jsxRuntime.jsx(yt,{state:"loading-more"})})]}):jsxRuntime.jsx("div",{className:"col-span-full py-12 text-center text-text-muted",role:"row",children:jsxRuntime.jsx("div",{role:"cell",children:"No data available"})})})]}),Y&&jsxRuntime.jsx("div",{className:K.mobile,children:O?Array.from({length:u}).map((z,q)=>jsxRuntime.jsx(ym,{density:o},`mobile-loading-${q}`)):t.length>0?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[te.map(({row:z,index:q})=>{if(!z)return null;let oe=C?C(z):`mobile-row-${q}`;return jsxRuntime.jsx("div",{children:H(z,q)},oe)}),ee&&(h||jsxRuntime.jsx(yt,{state:"loading-more"}))]}):jsxRuntime.jsx("div",{className:"py-12 text-center text-text-muted",children:"No data available"})}),g&&f&&!O&&(G?jsxRuntime.jsx("div",{ref:B,style:{position:"absolute",top:`${G.getTotalSize()}px`,left:0,width:"100%",height:1}}):jsxRuntime.jsx("div",{ref:B,className:"h-px w-full"}))]})}function Tm({status:e,alertCount:t,showCount:r=false,isLoading:o,size:n="sm",shape:a="pill",...i}){if(o)return jsxRuntime.jsx(P,{className:"inline-flex h-6 w-20"});let s={healthy:"success",warning:"warning",error:"error",unknown:"neutral"},l={healthy:"Healthy",warning:"Warning",error:"Error",unknown:"Unknown"},c=e==="warning"||e==="error",p=r&&t?`${l[e]} (${t})`:l[e];return jsxRuntime.jsx(Ie,{variant:s[e],size:n,shape:a,dot:c,dotPulse:c,...i,children:p})}var JC={battery:"BatteryHigh",charger:"ChargingStation",thermostat:"ThermometerSimple",inverter:"Lightning",vehicle:"Car",meter:"Gauge",gateway:"WifiHigh",other:"Cube",unknown:"Question"},ZC={battery:"Battery",charger:"Charger",thermostat:"Thermostat",inverter:"Inverter",vehicle:"Vehicle",meter:"Meter",gateway:"Gateway",other:"Other",unknown:"Unknown"};function Dm({deviceType:e,size:t="md",showLabel:r=false,className:o}){let n=JC[e],a=ZC[e];return jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("inline-flex items-center",r?"flex-col gap-1":"gap-0",o),children:[jsxRuntime.jsx(k,{name:n,size:t}),r&&jsxRuntime.jsx("span",{className:"text-xs text-text-muted",children:a})]})}function oc({children:e,title:t,headerContent:r,titleAlign:o="left",hideCloseIcon:n=false,hasBackArrow:a=false,onBack:i,isOpen:s,slideInFrom:l="right",transparentOverlay:c=false,onClose:p,className:d,primaryAction:m,secondaryAction:u,footerContent:g,contentPadding:f=true,maxWidth:b="400px"}){let[x,h]=pr.useState(false);if(pr.useEffect(()=>{if(s){let C=setTimeout(()=>h(true),10);return ()=>clearTimeout(C)}else h(false);},[s]),!s)return null;let v=t||r,y=m||u||g;return jsxRuntime.jsx(Mt,{children:jsxRuntime.jsx(ut,{isOpen:s,onOpenChange:C=>!C&&p?.(),isDismissable:true,transparent:c,children:jsxRuntime.jsx(reactAriaComponents.Modal,{className:"flex justify-end",isDismissable:true,children:jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("fixed bottom-0 top-0 z-50 flex w-full flex-col bg-background-surface shadow-xl duration-300 h-full min-h-0 overflow-hidden dark:bg-gray-800",x?l==="right"?"animate-in slide-in-from-right":"animate-in slide-in-from-left":"",d),style:{[l==="right"?"right":"left"]:0,maxWidth:b,transform:x?void 0:l==="right"?"translateX(100%)":"translateX(-100%)"},children:[v&&(a?jsxRuntime.jsx(Qe,{title:t,headerContent:r,titleAlign:o,hideCloseIcon:n,hasBackArrow:true,onBack:i,onClose:p||(()=>{})}):jsxRuntime.jsx(Qe,{title:t,headerContent:r,titleAlign:o,hideCloseIcon:n,onClose:p||(()=>{})})),jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex-1 overflow-y-auto overscroll-contain",f?"p-6":"p-0"),children:e}),y&&jsxRuntime.jsx(vr,{primaryAction:m,secondaryAction:u,footerContent:g})]})})})})}oc.displayName="Drawer";var _C={sm:"gap-4 px-6 py-8",md:"gap-5 px-8 py-12",lg:"gap-6 px-10 py-16"},e2={sm:"xs",md:"sm",lg:"md"},t2={sm:"text-sm leading-5",md:"text-sm leading-5",lg:"text-base leading-6"},r2={sm:"h-10 w-10",md:"h-12 w-12",lg:"h-16 w-16"},o2={sm:20,md:24,lg:32},n2={center:"items-center text-center [&_.empty-state-actions]:justify-center [&_.empty-state-actions]:text-center",start:"items-start text-left [&_.empty-state-actions]:justify-start [&_.empty-state-actions]:text-left"};function Mm({icon:e,title:t,description:r,primaryAction:o,secondaryAction:n,actions:a,size:i="md",alignment:s="center",fullHeight:l=false,className:c}){let p=i==="sm"?"sm":"md",d=()=>a?jsxRuntime.jsx("div",{className:"empty-state-actions mt-2 flex flex-wrap items-center gap-3",children:a}):o||n?jsxRuntime.jsxs("div",{className:"empty-state-actions mt-2 flex flex-col gap-3",children:[o&&(o.href?jsxRuntime.jsx(j,{variant:"secondary",size:p,onPress:o.onPress,isDisabled:o.isDisabled,isLoading:o.isLoading,href:o.href,children:o.label}):jsxRuntime.jsx(j,{variant:"secondary",size:p,onPress:o.onPress,isDisabled:o.isDisabled,isLoading:o.isLoading,children:o.label})),n&&jsxRuntime.jsx(Je,{href:n.href||"#",variant:"muted",onPress:n.onPress,className:"text-sm",children:n.label})]}):null;return jsxRuntime.jsxs("section",{"data-testid":"empty-state",role:"status","aria-live":"polite",className:tailwindMerge.twMerge("flex w-full flex-col rounded-xl text-text-body",_C[i],n2[s],l?"min-h-[320px] justify-center":"",c),children:[e&&jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex items-center justify-center rounded-full border border-border-muted bg-background-muted text-text-muted",r2[i]),children:jsxRuntime.jsx(k,{name:e,size:o2[i]})}),jsxRuntime.jsx(Ct,{size:e2[i],tag:"h2",className:"text-text-muted leading-tight",children:t}),r&&jsxRuntime.jsx("p",{className:tailwindMerge.twMerge("max-w-xs text-text-muted whitespace-pre-line",t2[i]),children:r}),d()]})}function Lm({status:e,programName:t,isLoading:r,size:o="sm",shape:n="pill",...a}){if(r)return jsxRuntime.jsx(P,{className:"inline-flex h-6 w-20"});let i={enrolled:"success",eligible:"info",pending:"warning",not_eligible:"neutral",opted_out:"neutral"},s={enrolled:"Enrolled",eligible:"Eligible",pending:"Pending",not_eligible:"Not Eligible",opted_out:"Opted Out"},l=jsxRuntime.jsx(Ie,{variant:i[e],size:o,shape:n,...a,children:s[e]});return t?jsxRuntime.jsx(Pn,{content:t,children:l}):l}function Em({value:e,onChange:t,onUrlChange:r,accept:o="image/*",maxSize:n,isDisabled:a=false,onUpload:i,className:s,showPreview:l=true,placeholder:c="Drop files here or click to browse"}){let[p,d]=pr.useState(false),[m,u]=pr.useState(false),[g,f]=pr.useState(null),[b,x]=pr.useState(e),h=pr.useRef(null),v=async S=>{if(f(null),n&&S.size>n){f(`File size must be less than ${(n/1024/1024).toFixed(2)}MB`);return}if(l&&S.type.startsWith("image/")){let w=new FileReader;w.onloadend=()=>{x(w.result);},w.readAsDataURL(S);}if(i){u(true);try{let w=await i(S);x(w),r?.(w);}catch(w){f("Failed to upload file"),console.error("Upload error:",w);}finally{u(false);}}t?.(S,b);},y=S=>{let w=S.items;if(w.length>0){let A=w[0];if(A.kind==="file"){let N=A.getAsFile();N&&v(N);}}d(false);},C=()=>{x(void 0),f(null),t?.(null),r?.(""),h.current&&(h.current.value="");};return jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("w-full",s),children:[jsxRuntime.jsxs(reactAriaComponents.DropZone,{className:tailwindMerge.twMerge("relative flex min-h-[200px] w-full flex-col items-center justify-center rounded-lg border-2 border-dashed transition-colors",p?"border-action-brand bg-action-brand/5":"border-border-muted hover:border-border-default",a&&"pointer-events-none opacity-50",g&&"border-feedback-error-border bg-feedback-error-background/50"),onDrop:y,onDropEnter:()=>d(true),onDropExit:()=>d(false),children:[b?jsxRuntime.jsxs("div",{className:"relative flex h-full w-full items-center justify-center p-4",children:[l&&b.startsWith("data:image")?jsxRuntime.jsx("img",{src:b,alt:"Preview",className:"max-h-48 max-w-full rounded-md object-contain"}):jsxRuntime.jsxs("div",{className:"flex flex-col items-center gap-2",children:[jsxRuntime.jsx(lucideReact.Image,{className:"h-12 w-12 text-text-muted"}),jsxRuntime.jsx("span",{className:"text-sm text-text-muted",children:"File uploaded"})]}),!a&&jsxRuntime.jsx(j,{variant:"icon",size:"sm",onPress:C,className:"absolute right-2 top-2 bg-background-surface shadow-md",children:jsxRuntime.jsx(lucideReact.X,{className:"h-4 w-4"})})]}):jsxRuntime.jsxs("div",{className:"flex flex-col items-center gap-4 p-6",children:[jsxRuntime.jsx(lucideReact.Upload,{className:"h-12 w-12 text-text-muted"}),jsxRuntime.jsxs("div",{className:"text-center",children:[jsxRuntime.jsx("p",{className:"text-sm text-text-body",children:c}),jsxRuntime.jsx("p",{className:"mt-1 text-xs text-text-muted",children:o==="image/*"?"PNG, JPG, GIF up to 10MB":`Accepts ${o}`})]}),jsxRuntime.jsx(reactAriaComponents.FileTrigger,{acceptedFileTypes:o.split(","),onSelect:S=>{let w=Array.from(S||[]);w.length>0&&v(w[0]);},children:jsxRuntime.jsx(j,{variant:"secondary",size:"sm",isDisabled:a,children:"Choose File"})})]}),m&&jsxRuntime.jsx("div",{className:"absolute inset-0 flex items-center justify-center rounded-lg bg-background-surface/80",children:jsxRuntime.jsxs("div",{className:"flex flex-col items-center gap-2",children:[jsxRuntime.jsx("div",{className:"h-8 w-8 animate-spin rounded-full border-2 border-action-brand border-t-transparent"}),jsxRuntime.jsx("span",{className:"text-sm text-text-muted",children:"Uploading..."})]})})]}),g&&jsxRuntime.jsx("p",{className:"mt-2 text-sm text-feedback-error-text",children:g})]})}function Bm({version:e,isLatest:t,updateAvailable:r,isLoading:o,size:n="sm",shape:a="rounded",...i}){if(o)return jsxRuntime.jsx(P,{className:"inline-flex h-6 w-16"});let s="neutral",l=e;return t?s="success":r&&(s="warning",l=`${e} (Update)`),jsxRuntime.jsx(Ie,{variant:s,size:n,shape:a,...i,children:l})}function zm(e){return jsxRuntime.jsx(reactAriaComponents.Form,{...e,className:tailwindMerge.twMerge("flex flex-col gap-4",e.className)})}var f2={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",none:"grid-cols-none"},g2={sm:{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",none:"sm:grid-cols-none"},md:{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",none:"md:grid-cols-none"},lg:{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",none:"lg:grid-cols-none"},xl:{1:"xl:grid-cols-1",2:"xl:grid-cols-2",3:"xl:grid-cols-3",4:"xl:grid-cols-4",5:"xl:grid-cols-5",6:"xl:grid-cols-6",7:"xl:grid-cols-7",8:"xl:grid-cols-8",9:"xl:grid-cols-9",10:"xl:grid-cols-10",11:"xl:grid-cols-11",12:"xl:grid-cols-12",none:"xl:grid-cols-none"},"2xl":{1:"2xl:grid-cols-1",2:"2xl:grid-cols-2",3:"2xl:grid-cols-3",4:"2xl:grid-cols-4",5:"2xl:grid-cols-5",6:"2xl:grid-cols-6",7:"2xl:grid-cols-7",8:"2xl:grid-cols-8",9:"2xl:grid-cols-9",10:"2xl:grid-cols-10",11:"2xl:grid-cols-11",12:"2xl:grid-cols-12",none:"2xl:grid-cols-none"}},b2={none:"gap-0",xs:"gap-x-2 gap-y-1",sm:"gap-x-3 gap-y-2",md:"gap-x-4 gap-y-3",lg:"gap-x-6 gap-y-4",xl:"gap-x-8 gap-y-6","2xl":"gap-x-12 gap-y-8"},x2={none:"gap-x-0",xs:"gap-x-2",sm:"gap-x-3",md:"gap-x-4",lg:"gap-x-6",xl:"gap-x-8","2xl":"gap-x-12"},h2={none:"gap-y-0",xs:"gap-y-1",sm:"gap-y-2",md:"gap-y-3",lg:"gap-y-4",xl:"gap-y-6","2xl":"gap-y-8"},y2={start:"items-start",center:"items-center",end:"items-end",stretch:"items-stretch",baseline:"items-baseline"},v2={start:"justify-start",center:"justify-center",end:"justify-end",between:"justify-between",around:"justify-around",evenly:"justify-evenly"},C2={row:"grid-flow-row",col:"grid-flow-col",dense:"grid-flow-dense","row-dense":"grid-flow-row-dense","col-dense":"grid-flow-col-dense"},S2={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",full:"col-span-full",auto:"col-auto"},w2={sm:{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",full:"sm:col-span-full",auto:"sm:col-auto"},md:{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",full:"md:col-span-full",auto:"md:col-auto"},lg:{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",full:"lg:col-span-full",auto:"lg:col-auto"},xl:{1:"xl:col-span-1",2:"xl:col-span-2",3:"xl:col-span-3",4:"xl:col-span-4",5:"xl:col-span-5",6:"xl:col-span-6",7:"xl:col-span-7",8:"xl:col-span-8",9:"xl:col-span-9",10:"xl:col-span-10",11:"xl:col-span-11",12:"xl:col-span-12",full:"xl:col-span-full",auto:"xl:col-auto"},"2xl":{1:"2xl:col-span-1",2:"2xl:col-span-2",3:"2xl:col-span-3",4:"2xl:col-span-4",5:"2xl:col-span-5",6:"2xl:col-span-6",7:"2xl:col-span-7",8:"2xl:col-span-8",9:"2xl:col-span-9",10:"2xl:col-span-10",11:"2xl:col-span-11",12:"2xl:col-span-12",full:"2xl:col-span-full",auto:"2xl:col-auto"}};function Om(e,t,r){if(!e)return "";if(typeof e!="object")return t[e]||"";let o=[];return "base"in e&&e.base!==void 0&&o.push(t[e.base]),Object.entries(r).forEach(([n,a])=>{let i=e[n];i!==void 0&&o.push(a[i]);}),o.join(" ")}function ic({cols:e=1,gap:t="md",gapX:r,gapY:o,align:n="stretch",justify:a="start",flow:i="row",autoFit:s,autoFill:l,className:c,children:p}){let d=tailwindMerge.twMerge("grid",s||l?"":Om(e,f2,g2),!r&&!o&&b2[t],r&&x2[r],o&&h2[o],y2[n],v2[a],C2[i],c),m={};return s?m.gridTemplateColumns=`repeat(auto-fit, minmax(${s}, 1fr))`:l&&(m.gridTemplateColumns=`repeat(auto-fill, minmax(${l}, 1fr))`),jsxRuntime.jsx("div",{className:d,style:m,children:p})}function Hm({span:e,className:t,children:r}){let o=tailwindMerge.twMerge(Om(e,S2,w2),t);return jsxRuntime.jsx("div",{className:o,children:r})}ic.Item=Hm;function N2(e,t){return Ot({value:e,formatter:t,emptyClassName:"text-text-muted",emptyText:"\u2014"})}function k2(e,t="upIsGood"){if(e===0)return "text-text-muted";let r=e>0;return t==="upIsGood"?r?"text-feedback-success":"text-feedback-error":r?"text-feedback-error":"text-feedback-success"}function T2({points:e,className:t,ariaLabel:r}){let i=e.map(u=>typeof u.y=="number"?u.y:0);if(i.length===0)return null;let s=Math.min(...i),c=Math.max(...i)-s,p=u=>c===0?20/2:18-(u-s)/c*16,d=60/Math.max(e.length-1,1),m=e.map((u,g)=>{let f=2+g*d,b=p(typeof u.y=="number"?u.y:0);return `${g===0?"M":"L"} ${f} ${b}`}).join(" ");return jsxRuntime.jsx("svg",{width:64,height:20,role:"img","aria-label":r,className:tailwindMerge.twMerge("overflow-visible",t),children:jsxRuntime.jsx("path",{d:m,fill:"none",strokeWidth:"1.5",className:"stroke-border-muted"})})}function Gm({label:e,value:t,formatter:r,delta:o,deltaPeriodLabel:n,deltaIntent:a="upIsGood",trend:i,status:s,helpText:l,size:c="md",orientation:p="vertical",isLoading:d,empty:m,error:u,onClick:g,className:f,renderValue:b,renderDelta:x,renderTrend:h}){let y={sm:{label:"text-xs",value:"text-base",delta:"text-xs",gap:"gap-1"},md:{label:"text-sm",value:"text-xl",delta:"text-sm",gap:"gap-2"},lg:{label:"text-base",value:"text-2xl",delta:"text-base",gap:"gap-3"}}[c],C=d?jsxRuntime.jsx(P,{className:"h-7 w-20"}):m?jsxRuntime.jsx("span",{className:"text-text-muted",children:"\u2014"}):u?jsxRuntime.jsx("span",{className:"text-feedback-error text-sm",children:typeof u=="string"?u:"Error"}):b?b(t):N2(t,r),S=x?x(o):o!==void 0&&!d&&!m&&!u?jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge(y.delta,k2(o,a),"flex items-center gap-1"),children:[o>0&&jsxRuntime.jsx(k,{name:"ArrowUp",size:12}),o<0&&jsxRuntime.jsx(k,{name:"ArrowDown",size:12}),o===0&&jsxRuntime.jsx(k,{name:"Minus",size:12}),jsxRuntime.jsxs("span",{children:[o>0?"+":"",Math.abs(o).toFixed(1),"%"]}),n&&jsxRuntime.jsxs("span",{className:"text-text-muted",children:["\xB7 ",n]})]}):d&&o!==void 0?jsxRuntime.jsx(P,{className:"h-4 w-24"}):null,w=h?h(i):i&&i.length>0&&!d&&!u?jsxRuntime.jsx(T2,{points:i,ariaLabel:`${e} trend`,className:m?"opacity-30":""}):d&&i!==void 0?jsxRuntime.jsx(P,{className:"h-5 w-16"}):null;return jsxRuntime.jsxs("section",{className:tailwindMerge.twMerge("flex min-w-0",p==="horizontal"?`items-center ${y.gap}`:`flex-col ${y.gap}`,g&&"cursor-pointer hover:bg-background-muted rounded-lg px-3 py-2 -mx-3 -my-2 transition-colors",f),"aria-labelledby":`kpi-${e}`,onClick:g,children:[jsxRuntime.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntime.jsx("h3",{id:`kpi-${e}`,className:tailwindMerge.twMerge(y.label,"font-medium text-text-caption truncate"),children:d?jsxRuntime.jsx(P,{className:"h-4 w-24"}):e}),l&&!d&&jsxRuntime.jsx(k,{name:"Question",size:12,className:"text-text-muted cursor-help","aria-label":"Help"})]}),jsxRuntime.jsxs("div",{className:"flex items-baseline gap-2",children:[jsxRuntime.jsx("output",{className:tailwindMerge.twMerge(y.value,"font-semibold",u?"text-feedback-error":"text-text-heading"),"aria-label":`Value: ${C}`,children:C}),s&&!d&&!u&&jsxRuntime.jsx(Ie,{variant:s.tone||"neutral",size:"sm",children:s.value})]}),(S||w)&&jsxRuntime.jsxs("div",{className:"flex items-center gap-3",children:[S,w]})]})}var P2={xs:"gap-2",sm:"gap-3",md:"gap-4",lg:"gap-6",xl:"gap-8"},D2={start:"items-start",center:"items-center",stretch:"items-stretch"};function R2(e){if(typeof e=="number")return `grid-cols-${e}`;let t=[];return e.base!==void 0&&t.push(`grid-cols-${e.base}`),e.sm!==void 0&&t.push(`sm:grid-cols-${e.sm}`),e.md!==void 0&&t.push(`md:grid-cols-${e.md}`),e.lg!==void 0&&t.push(`lg:grid-cols-${e.lg}`),e.xl!==void 0&&t.push(`xl:grid-cols-${e.xl}`),e["2xl"]!==void 0&&t.push(`2xl:grid-cols-${e["2xl"]}`),t.join(" ")}function lc({children:e,cols:t={base:1,sm:2,md:3,lg:4},gap:r="md",align:o="stretch",equalizeHeights:n=true,header:a,isLoading:i,className:s}){let l=i?pr__namespace.default.Children.map(e,c=>pr__namespace.default.isValidElement(c)&&c.type&&typeof c.type!="string"&&"displayName"in c.type?pr__namespace.default.cloneElement(c,{isLoading:true}):c):e;return jsxRuntime.jsxs("section",{className:tailwindMerge.twMerge("w-full",s),"aria-label":"Key metrics",children:[a&&jsxRuntime.jsx("div",{className:"mb-4",children:a}),jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("grid",R2(t),P2[r],D2[o],n&&"auto-rows-fr","w-full"),children:l})]})}lc.displayName="KpiGroup";function Zm({items:e,renderItem:t,selectedId:r,onSelect:o,onHoverChange:n,isLoading:a=false,loadingState:i,error:s=null,renderLoadingSkeleton:l,loadingSkeletonCount:c=5,emptyMessage:p="No results found.",variant:d="relaxed",showDividers:m=true,onLoadMore:u,hasMore:g=false,enableVirtualization:f,estimatedItemSize:b=60,loadingIndicator:x,"aria-label":h,className:v="",style:y}){let[C,S]=pr.useState(null),w=pr.useRef(null),A=pr.useRef(new Map),{scrollRef:N,loadMoreRef:D,virtualizer:E,virtualItems:W,isLoadingMore:Z,computedLoadingState:B}=br({items:e,onLoadMore:u,hasMore:g,isLoading:a,loadingState:i,enableVirtualization:f,estimatedItemSize:b,overscan:5}),G=N??w,U=pr.useCallback((H,te)=>{o?.(H,te);},[o]),ee=pr.useCallback((H,te)=>{S(H),n?.(H,te);},[n]),L=pr.useCallback((H,te)=>{let z=H?.id;return typeof z=="string"&&z?z:`item-${te}`},[]),F=pr.useCallback(H=>{if(!G.current||e.length===0)return;let te=document.activeElement,z=e.findIndex((Re,Ae)=>{let gr=L(Re,Ae),At=A.current.get(gr);return At&&(At===te||At.contains(te))}),q=z;switch(H.key){case "ArrowDown":H.preventDefault(),q=z===-1?0:Math.min(z+1,e.length-1);break;case "ArrowUp":H.preventDefault(),q=z===-1?0:Math.max(z-1,0);break;case "Home":H.preventDefault(),q=0;break;case "End":H.preventDefault(),q=e.length-1;break;default:return}let oe=L(e[q],q);A.current.get(oe)?.focus();},[e,L,G]),V=["flex flex-col","bg-background-surface","focus:outline-none focus:ring-2 focus:ring-border-focus focus:ring-offset-2"],O={dense:"gap-0",relaxed:"gap-0"},R=m?"divide-y divide-border-muted":"",I=[...V,O[d],R,v].filter(Boolean).join(" ");if(B==="loading"||a&&e.length===0){let H=l?jsxRuntime.jsx(jsxRuntime.Fragment,{children:Array.from({length:c}).map((te,z)=>jsxRuntime.jsx("div",{children:l()},`skeleton-${z}`))}):jsxRuntime.jsx(Id,{count:c,className:"space-y-0",children:jsxRuntime.jsxs("div",{className:"flex items-center gap-3 px-4 py-3",children:[jsxRuntime.jsx(P,{width:16,height:16,variant:"circle"}),jsxRuntime.jsxs("div",{className:"flex-1 space-y-2",children:[jsxRuntime.jsx(P,{width:"75%",height:16}),jsxRuntime.jsx(P,{width:"50%",height:14})]}),jsxRuntime.jsx(P,{width:60,height:20})]})});return jsxRuntime.jsx("div",{ref:G,className:I,style:y,role:"listbox","aria-label":h,"aria-busy":"true","aria-live":"polite",children:H})}if(s)return jsxRuntime.jsx("div",{ref:G,className:I,style:y,role:"listbox","aria-label":h,"aria-live":"polite",children:jsxRuntime.jsx("div",{className:"p-4 text-center text-action-destructive",children:s})});if(e.length===0)return jsxRuntime.jsx("div",{ref:G,className:I,style:y,role:"listbox","aria-label":h,"aria-live":"polite",children:jsxRuntime.jsx("div",{className:"p-4 text-center text-text-muted",children:p})});let Y=E?W?.map(H=>({virtualItem:H,item:e[H.index],index:H.index}))||[]:e.map((H,te)=>({item:H,index:te,virtualItem:null}));return jsxRuntime.jsxs("div",{ref:G,className:I,style:{...y,...u&&{overflow:"auto",height:y?.height||"600px"}},role:"listbox","aria-label":h,"aria-live":"polite",onKeyDown:F,tabIndex:0,children:[E&&jsxRuntime.jsxs("div",{style:{height:`${E.getTotalSize()}px`,width:"100%",position:"relative"},children:[Y.map(({virtualItem:H,item:te,index:z})=>{if(!H)return null;let q=L(te,z),oe=r===q,Ge=C===q,Re={id:q,role:"option","aria-selected":oe,"aria-current":oe?"page":void 0,tabIndex:oe||r==null&&z===0?0:-1,onClick:Ae=>U(Ae,te),onMouseEnter:Ae=>ee(Ae,te),onMouseLeave:Ae=>ee(null),onFocus:Ae=>ee(Ae,te),onBlur:Ae=>ee(null),ref:Ae=>{Ae?A.current.set(q,Ae):A.current.delete(q);}};return jsxRuntime.jsx("div",{"data-index":H.index,ref:E.measureElement,style:{position:"absolute",top:0,left:0,width:"100%",transform:`translateY(${H.start}px)`},children:t({item:te,index:z,isSelected:oe,isHovered:Ge,rowProps:Re})},q)}),u&&g&&jsxRuntime.jsx("div",{ref:D,style:{position:"absolute",top:`${E.getTotalSize()}px`,left:0,width:"100%",height:1,pointerEvents:"none"}}),Z&&jsxRuntime.jsx("div",{style:{position:"absolute",top:`${E.getTotalSize()}px`,left:0,width:"100%"},children:x||jsxRuntime.jsx(yt,{state:"loading-more"})})]}),!E&&jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[Y.map(({item:H,index:te})=>{let z=L(H,te),q=r===z,oe=C===z,Ge={id:z,role:"option","aria-selected":q,"aria-current":q?"page":void 0,tabIndex:q||r==null&&te===0?0:-1,onClick:Re=>U(Re,H),onMouseEnter:Re=>ee(Re,H),onMouseLeave:Re=>ee(null),onFocus:Re=>ee(Re,H),onBlur:Re=>ee(null),ref:Re=>{Re?A.current.set(z,Re):A.current.delete(z);}};return jsxRuntime.jsx("div",{children:t({item:H,index:te,isSelected:q,isHovered:oe,rowProps:Ge})},z)}),u&&g&&jsxRuntime.jsx("div",{ref:D,style:{height:1}}),Z&&(x||jsxRuntime.jsx(yt,{state:"loading-more"}))]})]})}function qm({id:e,title:t,subtitle:r,meta:o,leading:n,trailing:a,isSelected:i=false,isHovered:s=false,disabled:l=false,href:c,size:p="md",onClick:d,onMouseEnter:m,onMouseLeave:u,className:g="",style:f}){let b=()=>{!l&&d&&d(e);},x=()=>{!l&&m&&m(e);},h=()=>{!l&&u&&u(e);},y={sm:{container:"px-3 py-2 gap-2",title:"text-sm leading-tight",subtitle:"text-xs leading-tight",meta:"text-xs leading-tight",subtitleSpacing:"mt-1",metaSpacing:"mt-1"},md:{container:"px-4 py-3 gap-3",title:"text-base leading-tight",subtitle:"text-sm leading-tight",meta:"text-sm leading-tight",subtitleSpacing:"mt-1",metaSpacing:"mt-1"},lg:{container:"px-4 py-4 gap-3",title:"text-lg leading-tight",subtitle:"text-base leading-tight",meta:"text-sm leading-tight",subtitleSpacing:"mt-1",metaSpacing:"mt-1"},xl:{container:"px-5 py-5 gap-4",title:"text-xl leading-tight",subtitle:"text-base leading-tight",meta:"text-base leading-tight",subtitleSpacing:"mt-1.5",metaSpacing:"mt-1.5"}}[p],C=["flex items-center w-full text-left transition-all duration-200 ease-in-out",y.container,"border-l-2 border-l-transparent","rounded-sm",ke()],S=[s&&!i&&"bg-background-hover",i&&"bg-action-default/5 border-l-action-default shadow-sm",l&&"opacity-50 cursor-not-allowed",!l&&!i&&"hover:bg-background-hover"],w=[...C,...S,g].filter(Boolean).join(" "),A=jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[n&&jsxRuntime.jsx("div",{className:"flex-shrink-0 flex items-center justify-center",children:n}),jsxRuntime.jsx("div",{className:"flex-1 min-w-0",children:jsxRuntime.jsx("div",{className:"flex items-start justify-between gap-2",children:jsxRuntime.jsxs("div",{className:"flex-1 min-w-0",children:[jsxRuntime.jsx("div",{className:`text-text-body font-medium truncate ${y.title}`,title:typeof t=="string"?t:void 0,children:t}),r&&jsxRuntime.jsx("div",{className:`text-text-caption truncate ${y.subtitle} ${y.subtitleSpacing}`,title:typeof r=="string"?r:void 0,children:r}),o&&jsxRuntime.jsx("div",{className:`text-text-muted ${y.meta} ${y.metaSpacing}`,children:o})]})})}),a&&jsxRuntime.jsx("div",{className:"flex-shrink-0",children:a})]});return c?jsxRuntime.jsx("a",{href:c,className:w,style:f,onMouseEnter:x,onMouseLeave:h,"aria-selected":i,"aria-current":i?"page":void 0,tabIndex:l?-1:0,children:A}):jsxRuntime.jsx("button",{type:"button",className:w,style:f,onClick:b,onMouseEnter:x,onMouseLeave:h,disabled:l,"aria-selected":i,tabIndex:l?-1:0,children:A})}function jm({header:e,children:t,footer:r,width:o="md",tone:n="neutral",elevation:a="sm",showDivider:i=true,"aria-label":s,"aria-labelledby":l,className:c="",style:p}){let d={sm:"w-64",md:"w-80",lg:"w-96",xl:"w-[28rem]","2xl":"w-[32rem]",auto:"w-auto"},m={neutral:"bg-background-surface",subtle:"bg-background-subtle",brand:"bg-background-brand"},u={none:"",sm:"shadow-sm",md:"shadow-md"},g=tailwindMerge.twMerge("flex flex-col h-full",d[o],m[n],u[a],i&&"border-r border-border-muted",c);return jsxRuntime.jsxs("div",{className:g,style:p,role:"complementary","aria-label":s,"aria-labelledby":l,children:[e&&jsxRuntime.jsx("div",{className:"flex-shrink-0 sticky top-0 z-10 bg-inherit border-b border-border-muted",children:e}),jsxRuntime.jsx("div",{className:"flex-1 overflow-y-auto overflow-x-hidden",children:t}),r&&jsxRuntime.jsx("div",{className:"flex-shrink-0 border-t border-border-muted bg-inherit",children:r})]})}var dc=[{type:"navigation",position:"bottom-right",showCompass:true,showGeolocate:true,showResetZoom:true}];var Qm="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJcAAACXCAYAAAAYn8l5AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABtCSURBVHgB7Z2Jkty0GoV7hlz2HcIeSPGkPCmELRC2sO8kN5+L03XmR7IlW3LbSZ+qrp7pdtuydPTvki9u3Lhx/7ASLi4uDvfv973cvXv3Dn/++efh2rVrx2vyAo899tjwThu8Hfo+1d5SLLkv2vXzzz8fnnvuucPff/99eFhw7bAi/vnnn8Pl5eWVz3IDOHewGKgnnnjiCoEgHH///vvvh8cff3z4nrbE63lb+LvFQHMe2jR2P7p2bNMe4f24Grk02LkOjCQTCfmNE3KKdLo5l1jCk08+efjtt98OP/300yAlUgRTW3RdiLkEJZOEa4hccfItuWaN5O2B1cg1daNxEHzg4wCj8koGLXVOCMbnP/zww+GZZ54ZpIoGV8eLoC3IVYNWZPDzRIncG36t5dNkZ5CKfPHFFw9//PHH4ddffz3aYi7tJGkjkXvZjCJy6/P7/bRAzaTeJblaSJO//vrr8PTTTw/2F1IMSCX5gHAtV1VzpEBJe//3v/8NNl4vKdNDKo4dM5gVhxXR21OsgWwc3l944YXBFsPglxQDfM9rjXbTDqnnhwWrkStlYJ8aag8Ekv31448/DpJK3021me9RnU7KiOhktAh9zMWaE3zVUMSWgdSAIHiRxJxQU5CmVAWPOQAMaAxrOIH1++hYtIYb92sY+o+cQT8FpBgEo/NRlaWhgVpCxOP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y9ieD165lH9Fosk8DI5sufSSLSZBQSF3maHFuDcVGsLHjqrgKZLUX5JqjGehdg3ULYhq7fAkpy5voaGxxtFgmygtNBJMSfalN4Ghq0DVGhNw+TbZUJBvl6KdlImJXLsphrcJtyi/rBx7bNiPF3drqCfiaI7S/0yAfzPgdNJKqQ+lwh1XfSmYClPT+R2b/03chQhh/fQH7Dav+EOO2oojEn8WdyuYzZbw6+e/WpX6eGYK0xR3BJhumCL/0lYS1EWShiFKXp4HOjIdwcvzNzjuNg4uobmh3lmZNljg+RHIokP7iJ+//S9/0JF4UWgALQSUifcPn+AvCxKcp8u7vR5XAiSC3WYDByQWZ1myzFUtOgbu577+f5ZPq/B5Pf+nAAAAAElFTkSuQmCC";function rf(e="top-right"){switch(e){case "top-left":return "absolute top-4 left-4 z-10";case "top-right":return "absolute top-4 right-4 z-10";case "bottom-left":return "absolute bottom-4 left-4 z-10";case "bottom-right":return "absolute bottom-4 right-4 z-10";default:return "absolute top-4 right-4 z-10"}}var B2="h-12 w-12 md:h-10 md:w-10 p-0 bg-background-surface hover:bg-background-hover shadow-lg border border-border";function of(e){return tailwindMerge.twMerge(B2,e)}function Fr({position:e="top-right",className:t,style:r,children:o}){return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge(rf(e),t),style:r,children:o})}function It({icon:e,iconSize:t=24,onPress:r,isDisabled:o=false,className:n,iconClassName:a="text-text-primary",variant:i="secondary",isActive:s=false,ariaLabel:l,iconWeight:c="regular",...p}){let d=tailwindMerge.twMerge(of(),s&&"bg-action-brand hover:bg-action-brand-hover border-action-brand",n),m=tailwindMerge.twMerge(a,s&&"text-text-onPrimary");return jsxRuntime.jsx(j,{...p,className:d,onPress:r,variant:i,size:"sm",isDisabled:o,"aria-label":l,"aria-pressed":s||void 0,type:"button",children:jsxRuntime.jsx(k,{name:e,size:t,className:m,weight:c})})}var G2=e=>[{id:"streets",name:"Streets",description:"Standard street map with traffic data",preview:e?ef:tf},{id:"satellite",name:"Satellite",description:"Aerial imagery with street labels",preview:_m},{id:"neutral",name:"Neutral",description:"Clean design with light/dark variants",preview:e?Qm:$m}];function U2({type:e,color:t}){let r="inline-block",o=t?{backgroundColor:t}:{};switch(e){case "dot":return jsxRuntime.jsx("span",{className:`${r} h-3 w-3 rounded-full border border-border`,style:o});case "line":return jsxRuntime.jsx("span",{className:`${r} h-0.5 w-6 rounded-full`,style:o});case "polygon":return jsxRuntime.jsx("span",{className:`${r} h-3 w-4 rounded-sm border border-border`,style:o});case "pin":return jsxRuntime.jsx("span",{className:`${r} h-3 w-3 rounded-full rounded-bl-none border border-border transform rotate-45`,style:o});default:return null}}function sf({position:e="bottom-left",className:t,style:r,currentMapType:o="streets",onMapTypeChange:n,layers:a=[],onLayerToggle:i}){let{isDarkTheme:s}=vt(),{isMobile:l}=To(),[c,p]=pr.useState(false),d=G2(s),m=f=>{n?.(f);},u=a.filter(f=>f.legend),g=jsxRuntime.jsxs("div",{className:l?"space-y-6 pb-6":"space-y-6",children:[jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("div",{className:"text-sm font-semibold text-text-body mb-3",children:"Map type"}),jsxRuntime.jsx("div",{className:"grid grid-cols-3 gap-3",children:d.map(f=>jsxRuntime.jsxs("button",{type:"button",onClick:()=>m(f.id),className:"flex flex-col items-center space-y-2 p-3 rounded-lg text-center hover:bg-background-muted transition-colors border border-transparent "+(o===f.id?"bg-background-muted border-border":"hover:border-border"),children:[jsxRuntime.jsx("div",{className:"w-12 h-12 rounded-lg overflow-hidden bg-background-surface "+(o===f.id?"border-2 border-action-default":"border border-border-default"),children:jsxRuntime.jsx("img",{src:f.preview,alt:`${f.name} map preview`,className:"w-full h-full object-cover"})}),jsxRuntime.jsx("div",{className:"text-sm "+(o===f.id?"font-bold text-text-body":"font-normal text-text-muted"),children:f.name})]},f.id))})]}),u.length>0&&jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("div",{className:"text-sm font-semibold text-text-body mb-3",children:"Map details"}),jsxRuntime.jsx("div",{className:"space-y-2",children:u.map(f=>jsxRuntime.jsx(qr,{isSelected:f.visible!==false,onChange:()=>i?.(f.id),children:jsxRuntime.jsxs("div",{className:"flex items-center gap-2",children:[f.legend&&jsxRuntime.jsx(U2,{type:f.legend.swatch,color:f.legend.color}),jsxRuntime.jsx("span",{className:"text-sm text-text-body",children:f.legend?.label})]})},f.id))})]})]});return jsxRuntime.jsx(Fr,{position:e,className:t,style:r,children:jsxRuntime.jsx("div",{className:"relative",children:l?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(It,{icon:"Stack",ariaLabel:"Map layers and settings",onPress:()=>p(true)}),jsxRuntime.jsx(Hr,{isOpen:c,onClose:()=>p(false),title:"Map layers",animationVariant:"scale",children:g})]}):jsxRuntime.jsxs(reactAriaComponents.DialogTrigger,{children:[jsxRuntime.jsx(It,{icon:"Stack",ariaLabel:"Map layers and settings"}),jsxRuntime.jsx(Fe,{placement:"top start",children:jsxRuntime.jsx(reactAriaComponents.Dialog,{"aria-label":"Map layers and settings",className:"p-4 min-w-80 bg-background-surface border border-border rounded-lg shadow-xl focus:outline-none focus:ring-0",children:g})})]})})})}function cf({position:e="top-right",className:t,style:r,onToggle:o,isActive:n=false}){return jsxRuntime.jsx(Fr,{position:e,className:tailwindMerge.twMerge("md:hidden",t),style:r,children:jsxRuntime.jsx(It,{icon:"ListDashes",onPress:o,isActive:n,ariaLabel:n?"Hide list view":"Show list view"})})}var Z2={sm:"gap-2",md:"gap-4",lg:"gap-6"};function hi({position:e="top-right",className:t,style:r,children:o,orientation:n="vertical",spacing:a="md"}){return jsxRuntime.jsx(Fr,{position:e,style:r,children:jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex",n==="vertical"?"flex-col":"flex-row",Z2[a],t),children:o})})}function uf({mapRef:e,position:t="bottom-right",className:r,style:o,showCompass:n=true,showGeolocate:a=true,showResetZoom:i=true,onResetZoom:s,onCompassClick:l,onGeolocateClick:c}){let[p,d]=pr.useState(false),m=pr.useRef(true);pr.useEffect(()=>()=>{m.current=false;},[]);let u=()=>{l?l():e.current&&e.current.easeTo({bearing:0,duration:500});},g=async()=>{if(!p)if(c)c();else {if(!navigator.geolocation){console.warn("Geolocation is not supported by this browser.");return}if(navigator.permissions?.query)try{if((await navigator.permissions.query({name:"geolocation"})).state==="denied"){console.warn("Geolocation permission was previously denied. Please enable location services in your browser settings.");return}}catch{}d(true),navigator.geolocation.getCurrentPosition(v=>{if(!m.current)return;let{latitude:y,longitude:C}=v.coords;e.current&&e.current.flyTo({center:[C,y],zoom:15,duration:2e3}),d(false);},v=>{if(m.current){switch(console.warn("Geolocation error:",{code:v.code,message:v.message,PERMISSION_DENIED:v.PERMISSION_DENIED,POSITION_UNAVAILABLE:v.POSITION_UNAVAILABLE,TIMEOUT:v.TIMEOUT}),v.code){case v.PERMISSION_DENIED:console.warn("Location access denied. Please enable location services in your browser settings.");break;case v.POSITION_UNAVAILABLE:console.warn("Location information unavailable.");break;case v.TIMEOUT:console.warn("Location request timed out.");break;default:console.warn("Error getting location:",v.message);break}d(false);}},{enableHighAccuracy:true,timeout:1e4,maximumAge:0});}};if(!n&&!a&&!i)return null;let f=!i&&n,b=!i&&!n&&a,x=!a&&n;return jsxRuntime.jsxs(hi,{position:t,className:r,style:o,spacing:"sm",children:[i&&jsxRuntime.jsx(It,{icon:"ArrowsOut",onPress:s,ariaLabel:"Reset zoom to show all points",className:tailwindMerge.twMerge(!(!a&&!n&&i)&&"rounded-b-none",n&&"border-b-0")}),n&&jsxRuntime.jsx(It,{icon:"Compass",onPress:u,ariaLabel:"Reset map orientation",className:tailwindMerge.twMerge(!f&&"rounded-t-none border-t-0",!x&&"rounded-b-none border-b-0")}),a&&jsxRuntime.jsx(It,{icon:p?"Spinner":"NavigationArrow",onPress:g,isDisabled:p,ariaLabel:"Go to my location",iconClassName:tailwindMerge.twMerge("text-text-primary",p&&"animate-spin"),className:tailwindMerge.twMerge(!b&&"rounded-t-none border-t-0",!b&&n&&"lg:rounded-t lg:border-t")})]})}function gf({position:e="top-left",className:t,style:r,onSearch:o,placeholder:n="Search places...",showSearchInput:a=true}){let[i,s]=pr.useState(false),[l,c]=pr.useState(""),p=()=>{a?s(!i):o&&o("");},d=u=>{u.preventDefault(),o&&l.trim()&&(o(l.trim()),s(false));},m=u=>{u.key==="Escape"&&s(false);};return jsxRuntime.jsx(Fr,{position:e,className:t,style:r,children:jsxRuntime.jsxs("div",{className:"relative",children:[jsxRuntime.jsx(It,{icon:"MagnifyingGlass",onPress:p,ariaLabel:"Search"}),i&&a&&jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("absolute top-12 left-0 min-w-64","bg-background-surface border border-border rounded-lg shadow-xl p-3"),children:jsxRuntime.jsx("form",{onSubmit:d,children:jsxRuntime.jsxs("div",{className:"flex items-center space-x-2",children:[jsxRuntime.jsx("input",{type:"text",value:l,onChange:u=>c(u.target.value),onKeyDown:m,placeholder:n,className:tailwindMerge.twMerge("flex-1 px-3 py-2 text-sm rounded border","bg-background border-border text-text-primary placeholder-text-muted","focus:outline-none focus:ring-2 focus:ring-action-brand"),autoFocus:true}),jsxRuntime.jsx(j,{type:"submit",variant:"brand",size:"sm",className:"px-3 py-2",children:"Search"})]})})})]})})}var $2={navigation:"bottom-right",layers:"bottom-left",search:"top-left",list:"top-right",custom:"top-right"};function pc(e){return e.position??$2[e.type]}function bf(e,t,r){let o=pc(e),n=e.id??`${e.type}-${t}`;switch(e.type){case "navigation":{let i=e.showResetZoom!==false&&r.showResetButton;return jsxRuntime.jsx(uf,{mapRef:r.mapRef,position:o,showCompass:e.showCompass,showGeolocate:e.showGeolocate,showResetZoom:i,onResetZoom:e.onResetZoom,onCompassClick:e.onCompassClick,onGeolocateClick:e.onGeolocateClick,style:e.style,className:e.className},n)}case "layers":return jsxRuntime.jsx(sf,{position:o,currentMapType:e.currentMapType,onMapTypeChange:e.onMapTypeChange,layers:e.layers??r.layers,onLayerToggle:e.onLayerToggle,style:e.style,className:e.className},n);case "search":return jsxRuntime.jsx(gf,{position:o,onSearch:e.onSearch,placeholder:e.placeholder,showSearchInput:e.showSearchInput,style:e.style,className:e.className},n);case "list":return jsxRuntime.jsx(cf,{position:o,onToggle:e.onToggle,isActive:e.isActive,style:e.style,className:e.className},n);case "custom":return jsxRuntime.jsx("div",{children:e.render(r)},n);default:return null}}function mc(e,t){let r=e.reduce((n,a,i)=>{let s=pc(a);return n[s]||(n[s]=[]),n[s].push({control:a,index:i}),n},{}),o=[];for(let[n,a]of Object.entries(r)){if(a.length===1){o.push(bf(a[0].control,a[0].index,t));continue}o.push(jsxRuntime.jsx(hi,{position:n,spacing:"sm",children:a.map(({control:i,index:s})=>bf(i,s,t))},`group-${n}`));}return o}function vi(){if(typeof process<"u"){if(process.env?.MAPBOX_ACCESS_TOKEN)return process.env.MAPBOX_ACCESS_TOKEN;if(process.env?.NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN)return process.env.NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN}if(typeof ({ url: (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index.cjs', document.baseURI).href)) })<"u"){let e=({ url: (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index.cjs', document.baseURI).href)) });if(e.env?.VITE_MAPBOX_ACCESS_TOKEN)return e.env.VITE_MAPBOX_ACCESS_TOKEN}}var fc={vector:e=>({kind:"vector",...e}),geojson:e=>({kind:"geojson",...e}),customPins:e=>({kind:"customPins",...e}),raster:e=>({kind:"raster",...e}),clusteredVector:e=>({kind:"clusteredVector",...e})};function gc(e){return e.kind==="vector"}function bc(e){return e.kind==="geojson"}function xc(e){return e.kind==="customPins"}function hc(e){return e.kind==="raster"}function Un(e,t="streets"){let r=[...e].sort((o,n)=>(o.z??0)-(n.z??0));return jsxRuntime.jsx(jsxRuntime.Fragment,{children:r.map(o=>{if(!o.visible&&o.visible!==void 0)return null;switch(o.kind){case "vector":return jsxRuntime.jsx(e1,{spec:o,mapType:t},o.id);case "geojson":return jsxRuntime.jsx(r1,{spec:o,mapType:t},o.id);case "customPins":return jsxRuntime.jsx(o1,{spec:o,mapType:t},o.id);case "raster":return jsxRuntime.jsx(n1,{spec:o},o.id);case "clusteredVector":return jsxRuntime.jsx(t1,{spec:o,mapType:t},o.id);default:return console.warn("[Layers] Unknown layer kind:",o.kind),null}})})}function e1({spec:e,mapType:t}){let{colorMode:r}=vt(),o=pr.useMemo(()=>yf(e.style,e.renderAs,r,t),[e.style,e.renderAs,r,t]),n=pr.useMemo(()=>({visibility:e.visible===false?"none":"visible"}),[e.visible]),a={id:e.id,type:hf(e.renderAs),"source-layer":e.sourceLayer,paint:o,layout:n};e.filter!==void 0&&(a.filter=e.filter),e.minZoom!==void 0&&(a.minzoom=e.minZoom),e.maxZoom!==void 0&&(a.maxzoom=e.maxZoom);let i=e.tileset.startsWith("mapbox://"),s={id:`${e.id}-source`,type:"vector"};return i?s.url=e.tileset:(s.tiles=[e.tileset],s.minzoom=0,s.maxzoom=22),jsxRuntime.jsx(m1.Source,{...s,children:jsxRuntime.jsx(m1.Layer,{...a})})}function t1({spec:e}){let{colorMode:t,isDarkTheme:r}=vt(),o=1.25,n=9,a=3,i=n*1.4,s=.2,l=[0,5],c=pr.useMemo(()=>r?{clusters:e.clusterStyle?.color?Bt(e.clusterStyle.color):"#000000",shadow:e.clusterStyle?.shadowColor||"rgba(0, 0, 0, 0.5)",point:{fill:e.pointStyle?.color?Bt(e.pointStyle.color):"#000000",stroke:e.pointStyle?.borderColor||"#ffffff",shadow:"rgba(0, 0, 0, 0.5)"},text:{onCluster:"#ffffff"},selected:{fill:e.selectedStyle?.color?Bt(e.selectedStyle.color):"#444ae1"}}:{clusters:e.clusterStyle?.color?Bt(e.clusterStyle.color):"#000000",shadow:e.clusterStyle?.shadowColor||"rgba(0, 0, 0, 0.3)",point:{fill:e.pointStyle?.color?Bt(e.pointStyle.color):"#000000",stroke:e.pointStyle?.borderColor||"#ffffff",shadow:"rgba(0, 0, 0, 0.3)"},text:{onCluster:"#ffffff"},selected:{fill:e.selectedStyle?.color?Bt(e.selectedStyle.color):"#444ae1"}},[r,t,e.clusterStyle,e.pointStyle,e.selectedStyle]),p=pr.useMemo(()=>e.clusterStyle?.sizes?e.clusterStyle.sizes.map(({threshold:b,radius:x})=>({threshold:b,radius:x,color:c.clusters})):[{threshold:30,radius:20,color:c.clusters},{threshold:50,radius:30,color:c.clusters},{threshold:100,radius:40,color:c.clusters}],[e.clusterStyle?.sizes,c.clusters]),d=b=>["step",["get","point_count"],b[0].radius,...b.flatMap(({threshold:x,radius:h})=>[x,h])],m=b=>["step",["get","point_count"],b[0].radius*o,...b.flatMap(({threshold:x,radius:h})=>[x,h*o])],u=e.tileset.startsWith("mapbox://"),g={id:`${e.id}-source`,type:"vector"};u?g.url=e.tileset:(g.tiles=[e.tileset],g.minzoom=0,g.maxzoom=22);let f=pr.useMemo(()=>{let b=e.pointStyle?.radius??n,x=e.pointStyle?.borderWidth??a,h=e.selectedStyle?.radius??n*1.5,v=y=>{let C={...y};return e.minZoom!==void 0&&(C.minzoom=e.minZoom),e.maxZoom!==void 0&&(C.maxzoom=e.maxZoom),C};return [v({id:`${e.id}-cluster-shadows`,type:"circle","source-layer":e.sourceLayer,filter:["==",["get","cluster"],true],paint:{"circle-radius":m(p),"circle-color":c.shadow,"circle-blur":.5,"circle-translate":[0,8]}}),v({id:`${e.id}-points-shadow`,type:"circle","source-layer":e.sourceLayer,filter:["all",["!=",["get","cluster"],true],["!=",["get","id"],e.selectedId||"selected"]],paint:{"circle-radius":i,"circle-color":c.point.shadow,"circle-blur":s,"circle-translate":l}}),v({id:`${e.id}-clusters`,type:"circle","source-layer":e.sourceLayer,filter:["==",["get","cluster"],true],paint:{"circle-radius":d(p),"circle-color":["step",["get","point_count"],p[0].color,...p.flatMap(({threshold:y,color:C})=>[y,C])]}}),v({id:`${e.id}-cluster-count`,type:"symbol","source-layer":e.sourceLayer,filter:["==",["get","cluster"],true],layout:{"text-field":["case",["has","point_count_abbreviated"],["get","point_count_abbreviated"],["to-string",["get","point_count"]]],"text-font":["DIN Offc Pro Medium","Arial Unicode MS Bold"],"text-size":14,"text-offset":[0,.1]},paint:{"text-color":c.text.onCluster}}),v({id:`${e.id}-points`,type:"circle","source-layer":e.sourceLayer,filter:["all",["!=",["get","cluster"],true],["!=",["get","id"],e.selectedId||"selected"]],paint:{"circle-radius":b,"circle-color":c.point.fill,"circle-stroke-width":x,"circle-stroke-color":c.point.stroke}}),v({id:`${e.id}-selected-point`,type:"circle","source-layer":e.sourceLayer,filter:["==",["get","id"],e.selectedId||"selected"],paint:{"circle-radius":h,"circle-color":c.selected.fill,"circle-stroke-width":x,"circle-stroke-color":"#ffffff"}})]},[e.id,e.sourceLayer,e.selectedId,e.minZoom,e.maxZoom,e.pointStyle,e.selectedStyle,p,c,n,a,i,s]);return jsxRuntime.jsx(m1.Source,{...g,children:f.map(b=>jsxRuntime.jsx(m1.Layer,{...b},b.id))})}function r1({spec:e,mapType:t}){let{colorMode:r}=vt(),o=pr.useMemo(()=>typeof e.data=="string"?null:e.data,[e.data]),n=pr.useMemo(()=>yf(e.style,e.renderAs,r,t,o),[e.style,e.renderAs,r,t,o]),a=pr.useMemo(()=>({visibility:e.visible===false?"none":"visible"}),[e.visible]),i=pr.useMemo(()=>(typeof e.data=="string",e.data),[e.data]),s={id:`${e.id}-source`,type:"geojson",data:i};e.cluster?.enabled&&(s.cluster=true,s.clusterRadius=e.cluster.radius??50,s.clusterMaxZoom=e.cluster.maxZoom??14);let l={id:e.id,type:hf(e.renderAs),paint:n,layout:a};return e.minZoom!==void 0&&(l.minzoom=e.minZoom),e.maxZoom!==void 0&&(l.maxzoom=e.maxZoom),jsxRuntime.jsx(m1.Source,{...s,children:jsxRuntime.jsx(m1.Layer,{...l})})}function o1({spec:e,mapType:t}){let r=e.pin;return jsxRuntime.jsx(jsxRuntime.Fragment,{children:e.data.map((o,n)=>{let[a,i]=e.getPosition(o),s=e.pinProps?e.pinProps(o):{};return jsxRuntime.jsx(m1.Marker,{longitude:a,latitude:i,anchor:"bottom",children:jsxRuntime.jsx(r,{...s})},`${e.id}-${n}`)})})}function n1({spec:e}){let t=pr.useMemo(()=>{if(!e.style)return {};let n={};return e.style.opacity!==void 0&&(n["raster-opacity"]=e.style.opacity),e.style.brightnessMin!==void 0&&(n["raster-brightness-min"]=e.style.brightnessMin),e.style.brightnessMax!==void 0&&(n["raster-brightness-max"]=e.style.brightnessMax),e.style.contrast!==void 0&&(n["raster-contrast"]=e.style.contrast),e.style.saturation!==void 0&&(n["raster-saturation"]=e.style.saturation),e.style.hueRotate!==void 0&&(n["raster-hue-rotate"]=e.style.hueRotate),e.style.fadeDuration!==void 0&&(n["raster-fade-duration"]=e.style.fadeDuration),n},[e.style]),r={id:`${e.id}-source`,type:"raster",tiles:[e.tileset]};e.tileSize&&(r.tileSize=e.tileSize);let o={id:e.id,type:"raster",paint:t};return e.minZoom!==void 0&&(o.minzoom=e.minZoom),e.maxZoom!==void 0&&(o.maxzoom=e.maxZoom),jsxRuntime.jsx(m1.Source,{...r,children:jsxRuntime.jsx(m1.Layer,{...o})})}var Er="#666";function hf(e){switch(e){case "line":return "line";case "fill":return "fill";case "circle":return "circle";case "symbol":return "symbol";case "heatmap":return "heatmap";default:return "circle"}}function yf(e,t,r,o,n){if(!e)return {};let a={};if(e.color){let i=Bt(e.color,r,n);switch(t){case "line":a["line-color"]=i;break;case "fill":a["fill-color"]=i;break;case "circle":a["circle-color"]=i;break}}if(e.width&&t==="line"&&(a["line-width"]=xf(e.width)),e.radius&&t==="circle"&&(a["circle-radius"]=xf(e.radius)),e.opacity!==void 0)switch(t){case "line":a["line-opacity"]=e.opacity;break;case "fill":a["fill-opacity"]=e.opacity;break;case "circle":a["circle-opacity"]=e.opacity;break}if(e.fillOpacity!==void 0&&t==="fill"&&(a["fill-opacity"]=e.fillOpacity),t==="fill"&&e.borderWidth&&(a["fill-outline-color"]=e.borderColor?Bt(e.borderColor,r,n):Bt(e.color||"#000",r,n)),t==="circle"&&e.borderWidth){a["circle-stroke-width"]=e.borderWidth;let i=e.borderColor?Bt(e.borderColor,r,n):Ke(`map-${o}-border`,"#ffffff");a["circle-stroke-color"]=i;}return a}function a1(e,t){let r=e.by,o=e.mapping,n=["match",["get",r]];for(let[a,i]of Object.entries(o))n.push(a),n.push(Bt(i));return n.push(Er),n}function i1(e,t){let r=Vd(t,e);r.length>20&&console.warn(`[Layers] Categorical auto-assignment found ${r.length} unique values for property "${e}". The 6-color palette will repeat ${Math.ceil(r.length/6)} times. Consider using explicit color mapping or reducing categories.`);let o=Od(r),n=["match",["get",e]];for(let[a,i]of Object.entries(o))n.push(a),n.push(i);return n.push(Er),n}function s1(e,t="viridis",r,o){let n=vs(r,e),a;if(o&&o!=="auto")a=o;else {if(a=Cs(n),n.length===0)return console.warn(`[Layers] No numeric values found for property "${e}"`),Er;console.log(`[Layers] Auto-calculated sequential scale for "${e}": ${a.min} to ${a.max}`);}let i=Ss(t),s=["interpolate",["linear"],["get",e]];return i.forEach((l,c)=>{let p=c/(i.length-1),d=a.min+p*(a.max-a.min);s.push(d,l);}),s}function l1(e,t="redYellowBlue",r,o,n){let a=vs(r,e),i=Hd(a,o),s;if(n&&n!=="auto")s=n;else {if(s=Cs(a),a.length===0)return console.warn(`[Layers] No numeric values found for property "${e}"`),Er;console.log(`[Layers] Auto-calculated diverging scale for "${e}": ${s.min} \u2190 ${i} \u2192 ${s.max}`);}let l=ws(t),c=4,p=["interpolate",["linear"],["get",e]];for(let d=0;d<=c;d++){let m=d/c,u=s.min+m*(i-s.min);p.push(u,l[d]);}for(let d=c+1;d<l.length;d++){let m=(d-c)/(l.length-1-c),u=i+m*(s.max-i);p.push(u,l[d]);}return p}function Bt(e,t,r){if(typeof e=="string")return e;if("token"in e)return Ke(e.token)||e.token;if("hex"in e)return e.hex;if("by"in e){if("palette"in e){if(e.palette==="categorical")return r?i1(e.by,r):(console.warn("[Layers] Categorical auto-assignment requires GeoJSON data (not URL-based data)"),Er);if(e.palette==="sequential")return r?s1(e.by,e.scheme,r,e.scale):(console.warn("[Layers] Sequential palette requires GeoJSON data (not URL-based data)"),Er);if(e.palette==="diverging")return r?l1(e.by,e.scheme,r,e.center,e.scale):(console.warn("[Layers] Diverging palette requires GeoJSON data (not URL-based data)"),Er)}if("mapping"in e)return a1(e)}return Er}function xf(e){return typeof e=="number"?e:"byZoom"in e?["interpolate",["linear"],["zoom"],...e.byZoom.flatMap(([t,r])=>[t,r])]:e}var wi=null;function Ni(){return typeof window>"u"||process.env.NODE_ENV==="test"?Promise.resolve():(wi||(wi=import('mapbox-gl/dist/mapbox-gl.css').then(()=>{}).catch(e=>{console.error("Failed to load Mapbox CSS",e),wi=null;})),wi)}function ki(){return jsxRuntime.jsx("div",{className:"absolute inset-0 z-50 bg-background-surface/90 backdrop-blur-sm","data-testid":"map-loading-overlay",children:jsxRuntime.jsx("div",{className:"absolute inset-0 opacity-20",children:jsxRuntime.jsx("div",{className:"h-full w-full",style:{backgroundImage:`
78
78
  linear-gradient(rgba(0,0,0,0.15) 1px, transparent 1px),
79
79
  linear-gradient(90deg, rgba(0,0,0,0.15) 1px, transparent 1px)
80
- `,backgroundSize:"30px 30px"}})})})}var Im={streets:"streets",satellite:"satellite",neutral:"neutral"};function Dn(e,t){switch(e){case "streets":return t?"mapbox://styles/victor-texture/clzwxtrng005s01p93rtr04op":"mapbox://styles/mapbox/streets-v12";case "satellite":return "mapbox://styles/mapbox/satellite-streets-v12";case "neutral":return t?"mapbox://styles/mapbox/dark-v11":"mapbox://styles/mapbox/light-v11";default:return t?"mapbox://styles/victor-texture/clzwxtrng005s01p93rtr04op":"mapbox://styles/mapbox/streets-v12"}}function Bm({longitude:e,latitude:t,showPulse:r=true,accuracy:o}){return jsxRuntime.jsx(o2.Marker,{longitude:e,latitude:t,anchor:"center",children:jsxRuntime.jsxs("div",{className:"relative flex items-center justify-center",children:[r&&jsxRuntime.jsx("div",{className:"absolute h-12 w-12 animate-[ping_2s_ease-in-out_infinite] rounded-full bg-brand-primary opacity-30",style:{animationDelay:"0s"}}),jsxRuntime.jsx("div",{className:"relative z-10 flex h-5 w-5 items-center justify-center rounded-full bg-white shadow-lg",children:jsxRuntime.jsx("div",{className:"h-3 w-3 rounded-full bg-brand-primary"})}),o&&o>0&&jsxRuntime.jsx("div",{className:"pointer-events-none absolute rounded-full border border-brand-primary/20 bg-brand-primary/10",style:{width:`${Math.min(o/2,100)}px`,height:`${Math.min(o/2,100)}px`}})]})})}var Yl=ir__namespace.default.forwardRef(({initialViewState:e,viewState:t,onViewStateChange:r,scrollEnabled:o=true,className:n,previewMode:a=false,previewModeCta:i,onPreviewModePress:l,mapType:s="streets",layers:c=[],mapboxAccessToken:p=ei(),transformRequest:d,isLoading:m=false,onLoad:u,controls:g="default",showUserLocation:f=true,onUserLocationChange:b,children:x,additionalInteractiveLayerIds:y=[],onMapClick:v,showMarker:h=false,markerLocation:C},S)=>{let{isDarkTheme:w}=pt(),N=ir.useRef(null),k=ir.useRef(null),[L,V]=ir.useState(false),[H,K]=ir.useState(false);ir.useEffect(()=>{ni();},[]);let[B,J]=ir.useState(false),j=ir.useRef(0),[$,A]=ir.useState(null),[M,z]=ir.useState(null),X=ir.useRef(null),[D,E]=Hn("interactiveMap.trackingLocation",false),[W,G]=ir.useState(false);ir.useEffect(()=>{if(!navigator.geolocation){G(true);return}if(D){if(!navigator.permissions?.query){G(true);return}navigator.permissions.query({name:"geolocation"}).then(R=>{R.state!=="granted"&&E(false),G(true);}).catch(()=>{G(true);});}else G(true);},[]),ir.useEffect(()=>{let R=setTimeout(()=>{L||K(true);},200);return ()=>clearTimeout(R)},[L]),ir.useEffect(()=>{if(W){if(!D||a){X.current!==null&&(navigator.geolocation.clearWatch(X.current),X.current=null);return}if(!navigator.geolocation){console.warn("Geolocation is not supported by this browser.");return}return X.current=navigator.geolocation.watchPosition(R=>{let T={latitude:R.coords.latitude,longitude:R.coords.longitude,accuracy:R.coords.accuracy};z(T),b?.(T);},R=>{console.warn("Geolocation error:",R.message),z(null),b?.(null);},{enableHighAccuracy:true,maximumAge:3e4,timeout:3e4}),()=>{X.current!==null&&(navigator.geolocation.clearWatch(X.current),X.current=null);}}},[D,a,b,W]);let O=ir.useCallback(()=>{V(true),K(false),u?.();},[u]),te=ir.useCallback(()=>{N.current&&e&&(J(false),j.current=0,N.current.flyTo({center:[e.longitude||0,e.latitude||0],zoom:e.zoom||0,bearing:e.bearing||0,pitch:e.pitch||0,duration:1e3}));},[e]),I=ir.useMemo(()=>g===false||g===null?[]:g==="default"||g===void 0?Il:g,[g]),Z=ir.useCallback(()=>{if(!navigator.geolocation){console.warn("Geolocation is not supported by this browser.");return}E(true),navigator.geolocation.getCurrentPosition(R=>{let{latitude:T,longitude:ee}=R.coords;N.current&&N.current.jumpTo({center:[ee,T],zoom:15});},R=>{console.warn("Geolocation error:",R.message),R.code===R.PERMISSION_DENIED&&E(false);},{enableHighAccuracy:true,timeout:1e4,maximumAge:0});},[]),ne=ir.useMemo(()=>{if(a)return null;let R=I.map(T=>T.type==="navigation"?{...T,onResetZoom:T.onResetZoom||te,onGeolocateClick:T.onGeolocateClick||Z}:T);return zl(R,{mapRef:N,layers:c,showResetButton:B})},[I,N,a,c,te,B,Z]),Ke=ir.useMemo(()=>{let R=[];return c.filter(T=>T.events?.onClick||T.events?.onMouseEnter||T.events?.onMouseLeave||T.tooltip).forEach(T=>{T.kind==="clusteredVector"?(R.push(`${T.id}-clusters`),R.push(`${T.id}-points`),R.push(`${T.id}-selected-point`)):R.push(T.id);}),[...R,...y]},[c,y]),Ce=ir.useMemo(()=>{let R=new Map;return c.forEach(T=>{T.events&&R.set(T.id,T.events);}),R},[c]),Me=ir.useMemo(()=>{let R=new Map;return c.forEach(T=>{T.tooltip&&(R.set(T.id,T.tooltip),T.kind==="clusteredVector"&&(R.set(`${T.id}-clusters`,T.tooltip),R.set(`${T.id}-points`,T.tooltip),R.set(`${T.id}-selected-point`,T.tooltip)));}),R},[c]),jt=ir.useMemo(()=>{let R=new Map;return c.forEach(T=>{T.kind==="clusteredVector"&&(R.set(T.id,T),R.set(`${T.id}-clusters`,T),R.set(`${T.id}-points`,T),R.set(`${T.id}-selected-point`,T));}),R},[c]),U=ir.useMemo(()=>{if(!h)return null;let R=C?.longitude??t?.longitude??e?.longitude,T=C?.latitude??t?.latitude??e?.latitude;return R===void 0||T===void 0?null:{longitude:R,latitude:T}},[h,C,t,e]),me=ir.useCallback(R=>{if(a)return;let T=R.features?.[0];if(!T||!T.layer)return;let ee=T.layer.id,ae=Ce.get(ee),Q=Me.get(ee),xe;T.geometry.type==="Point"?xe=T.geometry.coordinates:xe=[R.lngLat.lng,R.lngLat.lat];let ce={id:T.id,lngLat:xe,properties:T.properties||{},layerId:ee},rt=jt.get(ee),go=T.properties?.cluster===true;if(rt&&go){let Ve=N.current;if(Ve){let wi=Ve.getZoom(),If=Math.min(wi+3,18);Ve.flyTo({center:xe,zoom:If,duration:1e3});}return}if(ae?.onClick&&ae.onClick(ce),Q&&Q.trigger==="click"){let Ve;rt&&"cluster"in Q?Q.point&&(Ve=Q.point(ce)):"content"in Q&&(Ve=typeof Q.content=="function"?Q.content(ce):Q.content),Ve&&A({feature:ce,content:Ve});}v&&v(R);},[Ce,Me,a,v,jt,N]),Ne=ir.useCallback(R=>{if(a)return;let T=R.features?.[0];if(!T||!T.layer)return;let ee=T.layer.id,ae=Ce.get(ee),Q=Me.get(ee),xe;T.geometry.type==="Point"?xe=T.geometry.coordinates:xe=[R.lngLat.lng,R.lngLat.lat];let ce={id:T.id,lngLat:xe,properties:T.properties||{},layerId:ee};if(ae?.onMouseEnter&&ae.onMouseEnter(ce),Q&&(Q.trigger==="hover"||!Q.trigger)){let rt;if(jt.get(ee)&&"cluster"in Q){let Ve=T.properties?.cluster===true;if(Ve&&Q.cluster){let wi=T.properties?.point_count||0;rt=Q.cluster(wi,ce);}else !Ve&&Q.point?rt=Q.point(ce):rt=Ve?`${T.properties?.point_count||0} items`:null;}else "content"in Q&&(rt=typeof Q.content=="function"?Q.content(ce):Q.content);rt&&A({feature:ce,content:rt});}N.current&&(N.current.getCanvas().style.cursor="pointer");},[Ce,Me,a,N,jt]),ke=ir.useCallback(()=>{if(!a){if(Ce.forEach(R=>{R.onMouseLeave?.();}),$){let R=$.feature.layerId,T=c.find(ee=>ee.id===R);if(!T){let ee=R.replace(/-(?:clusters|points|selected-point|cluster-shadows|points-shadow|cluster-count)$/,"");T=c.find(ae=>ae.id===ee);}T?.tooltip&&(T.tooltip.trigger||"hover")==="hover"&&A(null);}N.current&&(N.current.getCanvas().style.cursor="");}},[Ce,a,N,$,c]),ye=ir.useCallback((R,T)=>{for(let ee of c)if(ee.tooltip&&!(T&&ee.id!==T)){if(ee.kind==="geojson"){if(typeof ee.data=="string")continue;let ae=ee.data,xe=(ae.type==="FeatureCollection"?ae.features:[ae]).find(ce=>ce.id===R);if(xe&&xe.geometry.type==="Point")return {id:xe.id,lngLat:xe.geometry.coordinates,properties:xe.properties||{},layerId:ee.id}}else if(ee.kind==="customPins"){let ae=ee.data.find(Q=>Q.id===R||Q._id===R||Q.key===R);if(ae)return {id:R,lngLat:ee.getPosition(ae),properties:ae,layerId:ee.id}}}return null},[c]);ir.useImperativeHandle(S,()=>({showTooltip:(R,T)=>{let ee=ye(R,T);if(!ee)return;let ae=c.find(Q=>Q.id===ee.layerId);if(ae?.tooltip&&"content"in ae.tooltip){let Q=typeof ae.tooltip.content=="function"?ae.tooltip.content(ee):ae.tooltip.content;A({feature:ee,content:Q});}},hideTooltip:()=>{A(null);},getMap:()=>N.current}),[ye,c]);let Be=(R,T)=>d?d(R,T):{url:R},Ge=m||H;return jsxRuntime.jsx("div",{ref:k,className:tailwindMerge.twMerge("relative flex h-full w-full overflow-hidden",a&&"cursor-pointer",n),onClick:a?l:void 0,children:jsxRuntime.jsxs("div",{style:{flex:1},children:[jsxRuntime.jsxs(o2__default.default,{ref:N,initialViewState:e,...t&&t,style:{width:"100%",height:"100%"},mapStyle:Dn(s,w),mapboxAccessToken:p,transformRequest:Be,onLoad:O,onMove:a?void 0:R=>{if(R.originalEvent&&L){let T=R.originalEvent.type,ee=Math.abs((R.viewState.latitude??0)-(e?.latitude??0)),ae=Math.abs((R.viewState.longitude??0)-(e?.longitude??0)),Q=Math.abs((R.viewState.zoom??0)-(e?.zoom??0));e&&(ee>1e-4||ae>1e-4||Q>.1)&&(T==="mousemove"||T==="touchmove"||T==="pointermove"?J(true):(T==="wheel"||T==="mousewheel")&&(j.current+=1,j.current>=3&&J(true)));}r?.(R.viewState);},onClick:a?void 0:me,onMouseEnter:a?void 0:Ne,onMouseLeave:a?void 0:ke,interactiveLayerIds:a?[]:Ke,scrollZoom:a?false:o,dragPan:!a,dragRotate:!a,doubleClickZoom:!a,interactive:!a,children:[ne,Pn(c,s),x,U&&jsxRuntime.jsx(o2.Marker,{longitude:U.longitude,latitude:U.latitude,anchor:"bottom",children:jsxRuntime.jsx(P,{name:"MapPin",size:36,className:"text-map-marker-default",weight:"fill"})}),f&&M&&jsxRuntime.jsx(Bm,{longitude:M.longitude,latitude:M.latitude,accuracy:M.accuracy}),$&&jsxRuntime.jsx(o2.Popup,{longitude:$.feature.lngLat[0],latitude:$.feature.lngLat[1],offset:15,closeButton:false,closeOnClick:false,className:"map-tooltip",children:$.content})]},`map-${s}`),Ge&&jsxRuntime.jsx(ai,{}),a&&i&&jsxRuntime.jsx("div",{className:"absolute bottom-8 right-8 z-10",children:i})]})})});Yl.displayName="InteractiveMap";function Hm({width:e="100%",height:t="100%",initialViewState:r={longitude:-122.4194,latitude:37.7749,zoom:14},isLoading:o=false,mapType:n="streets",layers:a=[],mapboxAccessToken:i=ei(),showMarker:l=true,onLoad:s,className:c}){let{isDarkTheme:p}=pt(),[d,m]=ir.useState(false),[u,g]=ir.useState(false);ir.useEffect(()=>{ni();},[]);let f={width:typeof e=="number"?`${e}px`:e,height:typeof t=="number"?`${t}px`:t};ir.useEffect(()=>{let y=setTimeout(()=>{d||g(true);},200);return ()=>clearTimeout(y)},[d]);let b=ir.useCallback(()=>{m(true),g(false),s?.();},[s]),x=o||u;return i?jsxRuntime.jsxs("div",{style:f,className:`relative ${c||""}`,children:[jsxRuntime.jsxs(o2__default.default,{mapboxAccessToken:i,initialViewState:r,style:f,mapStyle:Dn(n,p),onLoad:b,scrollZoom:false,dragPan:false,dragRotate:false,doubleClickZoom:false,touchZoomRotate:false,interactive:false,children:[Pn(a,n),l&&r.longitude!==void 0&&r.latitude!==void 0&&jsxRuntime.jsx(o2.Marker,{longitude:r.longitude,latitude:r.latitude,anchor:"bottom",children:jsxRuntime.jsx(P,{name:"MapPin",size:36,className:"text-map-marker-default",weight:"fill"})})]}),x&&jsxRuntime.jsx(ai,{})]}):jsxRuntime.jsx("div",{style:f,className:`flex items-center justify-center bg-background-muted text-text-muted ${c}`,children:jsxRuntime.jsxs("div",{className:"text-center",children:[jsxRuntime.jsx(P,{name:"MapPin",size:48,className:"mx-auto mb-2 opacity-50"}),jsxRuntime.jsx("p",{className:"text-sm",children:"Map requires Mapbox token"})]})})}var p2={sm:{bar:"h-1.5 w-48",text:"text-xs",icon:"h-3 w-3"},md:{bar:"h-2 w-64",text:"text-sm",icon:"h-4 w-4"},lg:{bar:"h-3 w-80",text:"text-base",icon:"h-5 w-5"}};function Gm({label:e,size:t="md",variant:r="default",showWarningIndicator:o=true,warningThreshold:n=80,className:a,...i}){let l=p2[t];return jsxRuntime.jsx(reactAriaComponents.Meter,{...i,className:de(a,"flex flex-col gap-1"),children:({percentage:s,valueText:c})=>{let p=o&&s>=n,d=r==="default"?m2(s):r;return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs("div",{className:"flex justify-between gap-2",children:[e&&jsxRuntime.jsx(ve,{children:e}),jsxRuntime.jsxs("span",{className:tailwindMerge.twMerge(l.text,p?"text-feedback-error-text":"text-text-muted"),children:[p&&jsxRuntime.jsx(lucideReact.AlertTriangle,{"aria-label":"Warning: High value",className:tailwindMerge.twMerge("inline-block align-text-bottom mr-1",l.icon)}),c]})]}),jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("relative rounded-full bg-background-muted","ring-1 ring-inset ring-border-muted",l.bar),children:jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("absolute left-0 top-0 h-full rounded-full transition-all duration-300","forced-colors:bg-[Highlight]",f2(d)),style:{width:`${Math.min(100,Math.max(0,s))}%`},role:"presentation","aria-hidden":"true"})})]})}})}function m2(e){return e<50?"success":e<70?"info":e<90?"warning":"error"}function f2(e){switch(e){case "success":return "bg-feedback-success-text";case "warning":return "bg-feedback-warning-text";case "error":return "bg-feedback-error-text";case "info":return "bg-feedback-info-text";default:return "bg-action-brand"}}var N2={success:{container:"bg-feedback-success-background border-feedback-success-border text-feedback-success-text",icon:lucideReact.CheckCircle},error:{container:"bg-feedback-error-background border-feedback-error-border text-feedback-error-text",icon:lucideReact.XCircle},warning:{container:"bg-feedback-warning-background border-feedback-warning-border text-feedback-warning-text",icon:lucideReact.AlertCircle},info:{container:"bg-feedback-info-background border-feedback-info-border text-feedback-info-text",icon:lucideReact.Info}};function di({id:e,message:t,variant:r="info",duration:o=5e3,dismissible:n=true,onDismiss:a,className:i}){let{container:l,icon:s}=N2[r];return ir.useEffect(()=>{if(o>0){let c=setTimeout(()=>{a?.();},o);return ()=>clearTimeout(c)}},[o,a]),jsxRuntime.jsxs(framerMotion.motion.div,{layout:true,initial:{opacity:0,y:-20,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,scale:.95,transition:{duration:.2}},className:tailwindMerge.twMerge("pointer-events-auto flex items-start gap-3 rounded-lg border p-4 shadow-lg",l,i),children:[jsxRuntime.jsx(s,{className:"h-5 w-5 flex-shrink-0"}),jsxRuntime.jsx("p",{className:"flex-1 text-sm font-medium",children:t}),n&&jsxRuntime.jsx("button",{onClick:a,className:"flex-shrink-0 rounded-md p-1 transition-colors hover:bg-black/10","aria-label":"Dismiss notification",children:jsxRuntime.jsx(lucideReact.X,{className:"h-4 w-4"})})]})}var M2={"top-left":"top-4 left-4 items-start","top-center":"top-4 left-1/2 -translate-x-1/2 items-center","top-right":"top-4 right-4 items-end","bottom-left":"bottom-4 left-4 items-start","bottom-center":"bottom-4 left-1/2 -translate-x-1/2 items-center","bottom-right":"bottom-4 right-4 items-end"};function ui({notices:e,onDismiss:t,position:r="top-right",className:o}){let[n,a]=ir.useState(false);if(ir.useEffect(()=>{a(true);},[]),!n)return null;let i=jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("pointer-events-none fixed z-50 flex flex-col gap-2",M2[r],o),"aria-live":"polite","aria-atomic":"true",children:jsxRuntime.jsx(framerMotion.AnimatePresence,{mode:"sync",children:e.map(l=>jsxRuntime.jsx(di,{id:l.id,message:l.message,variant:l.variant,duration:l.duration,dismissible:l.dismissible,onDismiss:()=>t(l.id)},l.id))})});return reactDom.createPortal(i,document.body)}var Wm=ir.createContext(void 0);function Um({children:e,position:t="top-right",maxNotices:r=5,defaultDuration:o=5e3,defaultDismissible:n=true}){let[a,i]=ir.useState([]),l=ir.useCallback((d,m)=>{let u=`notice-${Date.now()}-${Math.random()}`,g={id:u,message:d,variant:m?.variant||"info",duration:m?.duration??o,dismissible:m?.dismissible??n};return i(f=>{let b=[...f,g];return b.length>r?b.slice(-r):b}),u},[r,o,n]),s=ir.useCallback(d=>{i(m=>m.filter(u=>u.id!==d));},[]),c=ir.useCallback(()=>{i([]);},[]),p={notices:a,addNotice:l,removeNotice:s,clearNotices:c};return jsxRuntime.jsxs(Wm.Provider,{value:p,children:[e,jsxRuntime.jsx(ui,{notices:a,onDismiss:s,position:t})]})}function Km(){let e=ir.useContext(Wm);if(!e)throw new Error("useNoticeContext must be used within a NoticeProvider");return e}function Ym(){let{addNotice:e,removeNotice:t,clearNotices:r}=Km(),o=ir.useCallback((s,c)=>e(s,c),[e]),n=ir.useCallback((s,c)=>e(s,{...c,variant:"success"}),[e]),a=ir.useCallback((s,c)=>e(s,{...c,variant:"error"}),[e]),i=ir.useCallback((s,c)=>e(s,{...c,variant:"warning"}),[e]),l=ir.useCallback((s,c)=>e(s,{...c,variant:"info"}),[e]);return {show:o,success:n,error:a,warning:i,info:l,dismiss:t,clear:r}}var z2={plain:"",contained:"bg-background-surface rounded-lg border border-border-default p-6",bordered:"border-y border-border-default py-6"},O2={none:"",sm:"my-4",md:"my-6 md:my-8",lg:"my-8 md:my-12"};function Ko({id:e,title:t,description:r,actions:o,variant:n="plain",spacing:a="none",withDivider:i=false,headingAs:l="h2",className:s,children:c}){let p=ir__namespace.default.useId(),d=e?`${e}-heading`:p,m=t||r||o;return jsxRuntime.jsxs("section",{id:e,className:tailwindMerge.twMerge(O2[a],z2[n],s),"aria-labelledby":t?d:void 0,children:[m&&jsxRuntime.jsxs("header",{id:d,className:tailwindMerge.twMerge("flex flex-col sm:flex-row sm:items-start sm:justify-between gap-4",i&&"border-b border-border-default pb-4 mb-6",!i&&c&&"mb-6"),children:[jsxRuntime.jsxs("div",{className:"min-w-0 flex-1",children:[t&&jsxRuntime.jsx(mt,{tag:l,size:"md",className:"text-text-heading",children:t}),r&&jsxRuntime.jsx("p",{className:"mt-2 text-base text-text-muted",children:r})]}),o&&jsxRuntime.jsx("div",{className:"flex-shrink-0",children:o})]}),c&&jsxRuntime.jsx("div",{className:"",children:c})]})}Ko.displayName="Section";function gi({sections:e,activeSection:t,onSectionChange:r,orientation:o="responsive",className:n,scrollBehavior:a="smooth",stickyTop:i="1.5rem",sectionIdPrefix:l="section-",filterSection:s}){let c=ir__namespace.useRef(null),p=ir__namespace.useRef(null),[d,m]=ir__namespace.useState(e[0]?.id||null),u=t??d;ir__namespace.useEffect(()=>{if(t!==void 0&&r)return;let y=S=>{if(!S)return false;let w=window.getComputedStyle(S);return w.display!=="none"&&w.visibility!=="hidden"&&w.opacity!=="0"},v=()=>{let S=y(c.current),w=y(p.current);if(!S&&!w)return null;let N=new IntersectionObserver(k=>{k.forEach(L=>{if(L.isIntersecting){let V=L.target.id.replace(l,"");r?r(V):m(V);}});},{rootMargin:"-20% 0px -70% 0px",threshold:0});return e.forEach(k=>{let L=document.getElementById(`${l}${k.id}`);L&&N.observe(L);}),N},h=v(),C=()=>{h&&h.disconnect(),h=v();};return window.addEventListener("resize",C),()=>{h&&h.disconnect(),window.removeEventListener("resize",C);}},[e,l,t,r,o]);let g=ir__namespace.useMemo(()=>s?e.filter(s):e,[e,s]),f=ir__namespace.useCallback((y,v)=>{y.preventDefault();let h=document.getElementById(`${l}${v}`);h&&(h.scrollIntoView({behavior:a,block:"start"}),window.history.pushState&&window.history.pushState(null,"",`#${l}${v}`),r?r(v):m(v));},[l,a,r]);if(g.length===0)return null;let b=o==="vertical"?"":o==="horizontal"?"hidden":"hidden lg:block",x=o==="horizontal"?"":o==="vertical"?"hidden":"lg:hidden";return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("nav",{ref:c,className:tailwindMerge.twMerge(b,n),"aria-label":"Section navigation",children:jsxRuntime.jsx("div",{className:"space-y-1",style:{position:"sticky",top:i},children:g.map(y=>{let v=u===y.id;return jsxRuntime.jsx("a",{href:`#${l}${y.id}`,onClick:h=>f(h,y.id),className:tailwindMerge.twMerge("block w-full text-left px-3 py-2 rounded-md text-sm transition-colors no-underline",v?"bg-background-muted text-text-body font-medium":"text-text-muted hover:text-text-body hover:bg-background-hover"),"aria-current":v?"page":void 0,children:jsxRuntime.jsxs("span",{className:"flex items-center justify-between gap-2",children:[jsxRuntime.jsx("span",{children:y.label}),y.count!==void 0&&jsxRuntime.jsx("span",{className:"text-xs tabular-nums text-text-muted",children:y.count})]})},y.id)})})}),jsxRuntime.jsx("nav",{ref:p,className:tailwindMerge.twMerge(x,"overflow-x-auto sticky top-0 z-10 py-4 -mt-4",n),"aria-label":"Section navigation",children:jsxRuntime.jsx("div",{className:"flex gap-2 min-w-max",children:g.map(y=>{let v=u===y.id;return jsxRuntime.jsx("a",{href:`#${l}${y.id}`,onClick:h=>f(h,y.id),className:tailwindMerge.twMerge("inline-block px-4 py-2 rounded-md text-sm whitespace-nowrap transition-colors no-underline",v?"bg-background-muted text-text-body font-medium":"text-text-muted hover:text-text-body hover:bg-background-hover"),"aria-current":v?"page":void 0,children:jsxRuntime.jsxs("span",{className:"flex items-center gap-2",children:[jsxRuntime.jsx("span",{children:y.label}),y.count!==void 0&&jsxRuntime.jsxs("span",{className:"text-xs tabular-nums text-text-muted",children:["(",y.count,")"]})]})},y.id)})})})]})}var bi=ir__namespace.createContext({variant:"default"});function Y2({orientation:e,className:t=""}){return `flex flex-col w-full ${{horizontal:"",vertical:"flex-row"}[e]||""} ${t}`.trim()}function hi({variant:e="default",...t}){return jsxRuntime.jsx(bi.Provider,{value:{variant:e},children:jsxRuntime.jsx("div",{className:"w-full h-auto",children:jsxRuntime.jsx(reactAriaComponents.Tabs,{...t,className:reactAriaComponents.composeRenderProps(t.className,(r,o)=>Y2({...o,className:r}))})})})}function J2({orientation:e,sticky:t=false,className:r=""}){let o="flex gap-10 relative after:absolute after:bottom-0 after:left-0 after:right-0 after:h-[2px] after:bg-border-muted",n={horizontal:"flex-row w-full",vertical:"flex-col items-start"},a=t?"sticky top-0 bg-background-surface z-10":"";return `${o} ${n[e]||""} ${a} ${r}`.trim()}function yi({variant:e,sticky:t=false,...r}){let o=ir__namespace.useContext(bi),n=e??o.variant;return jsxRuntime.jsx(bi.Provider,{value:{variant:n},children:jsxRuntime.jsx(reactAriaComponents.TabList,{...r,className:reactAriaComponents.composeRenderProps(r.className,(a,i)=>J2({...i,sticky:t,className:a||""}))})})}function Z2({isSelected:e,isDisabled:t,variant:r,className:o=""}){let n="flex items-center cursor-default px-1 py-2 font-medium transition-all hover:cursor-pointer relative",a=`${Se()} ${r==="brand"?"focus-visible:outline-action-brand":""}`.trim(),i="";return t?i="text-text-disabled forced-colors:text-[GrayText] cursor-not-allowed":e?r==="brand"?i="text-action-brand border-b-2 border-action-brand z-10 forced-colors:bg-[Highlight]":i="text-action-default border-b-2 border-action-default z-10 forced-colors:bg-[Highlight]":i="text-text-placeholder hover:text-text-muted",`${n} ${a} ${i} ${o}`.trim()}function vi(e){let{variant:t}=ir__namespace.useContext(bi);return jsxRuntime.jsx(reactAriaComponents.Tab,{...e,"data-testid":e.id?`tab-${e.id}`:void 0,className:reactAriaComponents.composeRenderProps(e.className,(r,o)=>Z2({...o,className:r,isSelected:o.isSelected,variant:t}))})}function X2({className:e=""}){let t="block w-full mt-4 text-text-body",r=Se();return `${t} ${r} ${e}`.trim()}function Zm(e){return jsxRuntime.jsx(reactAriaComponents.TabPanel,{...e,className:reactAriaComponents.composeRenderProps(e.className,(t,r)=>X2({...r,className:t||""}))})}function io({children:e,maxWidth:t=1400,paddingXClass:r="px-4 md:px-6",paddingYClass:o="pt-8 pb-14 md:pt-12 md:pb-28",className:n}){return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge(`w-full ${r} ${o}`,n),style:{marginInline:"auto",maxWidth:t},children:e})}function Xm({title:e,subtitle:t,breadcrumbs:r,breadcrumbsNode:o,media:n,actions:a,metadata:i,headingAs:l,sticky:s,stickyTop:c="0",zIndex:p=10,isLoading:d=false,className:m}){let u=s?"sticky bg-background-body":"",g=s?{top:c,zIndex:p}:{};return d?jsxRuntime.jsxs("header",{className:tailwindMerge.twMerge("mb-8 md:mb-12",u,m),style:g,"aria-labelledby":"page-title",children:[o||r?.length?jsxRuntime.jsx("div",{className:"mb-2",children:jsxRuntime.jsx(F,{className:"h-4 w-32"})}):null,jsxRuntime.jsxs("div",{className:"flex flex-col md:flex-row md:items-start md:justify-between gap-4",children:[jsxRuntime.jsxs("div",{className:"min-w-0 flex-1",children:[jsxRuntime.jsx("div",{id:"page-title",children:jsxRuntime.jsx(F,{className:"h-8 w-64"})}),t?jsxRuntime.jsx(F,{className:"mt-2 h-5 w-48"}):null,i?jsxRuntime.jsx(F,{className:"mt-2 h-4 w-40"}):null,a?.length?jsxRuntime.jsx("div",{className:"mt-6 flex flex-wrap items-center gap-2 md:hidden",children:a.map((f,b)=>jsxRuntime.jsx(F,{className:"h-9 w-24"},b))}):null]}),a?.length?jsxRuntime.jsx("div",{className:"hidden md:flex md:items-center gap-2 shrink-0",children:a.map((f,b)=>jsxRuntime.jsx(F,{className:"h-9 w-24"},b))}):null]}),n?jsxRuntime.jsx("div",{className:"mt-4 md:mt-6",children:jsxRuntime.jsx(F,{className:"h-64 w-full"})}):null]}):jsxRuntime.jsxs("header",{className:tailwindMerge.twMerge("mb-8 md:mb-12",u,m),style:g,"aria-labelledby":"page-title",children:[o?jsxRuntime.jsx("div",{className:"mb-2",children:o}):r?.length?jsxRuntime.jsx("div",{className:"mb-2",children:jsxRuntime.jsx(va,{children:r.map((f,b)=>jsxRuntime.jsx(Ca,{...f.href?{href:f.href}:{},children:f.label},`${f.label}-${b}`))})}):null,jsxRuntime.jsxs("div",{className:"flex flex-col md:flex-row md:items-start md:justify-between gap-4",children:[jsxRuntime.jsxs("div",{className:"min-w-0 flex-1",children:[jsxRuntime.jsx("div",{id:"page-title",children:jsxRuntime.jsx(mt,{tag:l||"h1",size:"xl",children:e})}),t?jsxRuntime.jsx("p",{className:"mt-2 text-lg text-text-muted",children:t}):null,i?jsxRuntime.jsx("div",{className:"mt-2 text-sm text-text-muted",children:i}):null,a?.length?jsxRuntime.jsx("div",{className:"mt-6 flex flex-wrap items-center gap-2 md:hidden",children:a.map((f,b)=>jsxRuntime.jsx(ir__namespace.default.Fragment,{children:f},b))}):null]}),a?.length?jsxRuntime.jsx("div",{className:"hidden md:flex md:items-center gap-2 shrink-0",children:a.map((f,b)=>jsxRuntime.jsx(ir__namespace.default.Fragment,{children:f},b))}):null]}),n?jsxRuntime.jsx("div",{className:"mt-4 md:mt-6",children:n}):null]})}function qm({tabs:e,value:t,defaultValue:r,onChange:o,className:n,children:a}){let i=l=>{o?.(l);};return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("mb-3 md:mb-4",n),children:jsxRuntime.jsxs(hi,{selectedKey:t,defaultSelectedKey:r||e[0]?.id,onSelectionChange:i,children:[jsxRuntime.jsx(yi,{children:e.map(l=>jsxRuntime.jsx(vi,{id:l.id,isDisabled:l.disabled,children:l.label},l.id))}),a]})})}function jm({children:e,className:t,withSectionNav:r,navWidth:o="240px",gap:n="3rem",activeSection:a,onSectionChange:i,scrollBehavior:l,sectionIdPrefix:s="section-"}){return r?jsxRuntime.jsx(q2,{position:r,navWidth:o,gap:n,activeSection:a,onSectionChange:i,scrollBehavior:l,sectionIdPrefix:s,className:t,children:e}):jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("w-full space-y-8 md:space-y-12",t),children:e})}function Qm({children:e,sticky:t=true,className:r}){return jsxRuntime.jsx("aside",{className:tailwindMerge.twMerge(t?"lg:sticky lg:top-20":"",r),children:e})}function q2({activeSection:e,onSectionChange:t,position:r,navWidth:o,gap:n,children:a,className:i,scrollBehavior:l,sectionIdPrefix:s}){let c=ir__namespace.default.useMemo(()=>{let g=[];return ir__namespace.default.Children.forEach(a,f=>{if(ir__namespace.default.isValidElement(f)&&(f.type===Ko||typeof f.type=="object"&&f.type?.displayName==="Section"||typeof f.type=="function"&&f.type?.displayName==="Section")){let b=f.props;b.id?g.push({id:b.id,label:b.navLabel||(typeof b.title=="string"?b.title:`Section ${b.id}`)}):process.env.NODE_ENV==="development"&&console.warn("Section component used within PageLayout.Content with withSectionNav must have an id prop");}}),g},[a]),p=ir__namespace.default.useMemo(()=>{let g=ir__namespace.default.Children.map(a,f=>{if(ir__namespace.default.isValidElement(f)&&(f.type===Ko||typeof f.type=="object"&&f.type?.displayName==="Section"||typeof f.type=="function"&&f.type?.displayName==="Section")){let b=f.props;if(b.id)return ir__namespace.default.cloneElement(f,{...b,id:`${s}${b.id}`})}return f});return jsxRuntime.jsx("div",{className:"space-y-8 md:space-y-12",children:g})},[a,s]),d=(g,f)=>jsxRuntime.jsx(gi,{sections:c,activeSection:e,onSectionChange:t,orientation:g,scrollBehavior:l,sectionIdPrefix:s,className:f});if(r==="above")return jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("space-y-3",i),children:[jsxRuntime.jsx("div",{className:"sticky top-0 z-10 bg-background-body",children:d("horizontal")}),p]});let m=r==="left"?"var(--nav-width) 1fr":"1fr var(--nav-width)",u=r==="right"?"hidden lg:block sticky top-20 self-start [&_a]:text-right":"hidden lg:block sticky top-20 self-start";return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("div",{className:"lg:hidden sticky top-0 z-10 py-3 mt-4 bg-background-body",children:d("horizontal")}),jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("lg:grid",i),style:{gridTemplateColumns:m,gap:n,"--nav-width":o},children:[r==="left"&&jsxRuntime.jsx("nav",{className:u,children:d("vertical")}),p,r==="right"&&jsxRuntime.jsx("nav",{className:u,children:d("vertical")})]})]})}function $m({children:e,className:t}){return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex-1 overflow-auto min-h-0",t),children:e})}io.Header=Xm;io.Tabs=qm;io.Content=jm;io.Aside=Qm;io.ScrollableContent=$m;function Q2(e){return typeof e=="object"&&e!==null&&"features"in e&&Array.isArray(e.features)&&"type"in e&&typeof e.type=="string"}var $2=process.env.NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN||"";function tf({label:e="Search for a place",selectedKey:t,defaultSelectedKey:r,onSelectionChange:o,placeholder:n="Enter a location...",errorMessage:a,description:i,size:l="md",tooltip:s,isRequired:c,isDisabled:p,showErrors:d=true,autoFocus:m=false,onSelect:u,searchTypes:g=["place","address"],defaultFilter:f,validationResult:b,countryRestrictions:x,proximity:y="ip"}){let v=ir.useRef(new WeakMap),h=ir.useRef([]),C={requestType:"REST",method:"GET",url:"https://api.mapbox.com/geocoding/v5/mapbox.places/{q}.json",extraParams:{access_token:$2,types:g.join(","),limit:"5",...x?.length?{country:x.join(",").toLowerCase()}:{},...y?{proximity:y==="ip"?"ip":y.join(",")}:{}},shouldLoad:N=>N.length>0,transformResponse:N=>{if(!Q2(N))return [];let k=N.features.map(L=>{let V={id:L.id,name:L.place_name};return v.current.set(V,{type:L.place_type[0],center:L.center}),V});return k.length>0&&(h.current=k),k}},S=N=>{let k=v.current.get(N),L=N.name.split(", "),V=L[0],H=L.slice(1).join(", ");return jsxRuntime.jsxs("div",{className:"flex items-center gap-3 py-0.5",children:[jsxRuntime.jsx(P,{name:k?.type==="address"?"MapPin":k?.type==="place"?"Buildings":k?.type==="region"?"MapPinArea":k?.type==="country"?"Flag":"Circle",className:"h-5 w-5 flex-shrink-0 text-text-muted"}),jsxRuntime.jsxs("div",{className:"flex min-w-0 flex-col",children:[jsxRuntime.jsx("span",{className:"truncate font-medium text-text-body",children:V}),H&&jsxRuntime.jsx("span",{className:"truncate text-sm text-text-muted",children:H})]})]})},w=N=>N?jsxRuntime.jsx(P,{name:"CircleNotch",className:"h-4 w-4 animate-spin text-text-muted"}):jsxRuntime.jsx(P,{name:"MagnifyingGlass",className:"h-4 w-4 text-text-muted"});return jsxRuntime.jsx(ya,{"data-testid":"autocomplete","data-config":JSON.stringify({types:g.join(","),country:x?.join(",")?.toLowerCase(),proximity:y==="ip"?"ip":y?.join(",")}),label:e,selectedKey:t,defaultSelectedKey:r,onSelectionChange:N=>{if(o?.(N),N){let L=h.current.find(V=>V.id===N);if(L){let V=v.current.get(L);V&&u({id:L.id,place_name:L.name,place_type:[V.type],center:V.center});}}},requestConfig:C,placeholder:n,errorMessage:a,description:i,size:l,tooltip:s,isRequired:c,isDisabled:p,showErrors:d,autoFocus:m,renderItem:S,renderLeftIcon:w,defaultFilter:f,validationResult:b})}function of({label:e,rightLabel:t,progressWidth:r=64,hideLabels:o=false,...n}){return jsxRuntime.jsx(reactAriaComponents.ProgressBar,{...n,className:de(n.className,"flex flex-col gap-1"),children:({percentage:a,valueText:i,isIndeterminate:l})=>jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[!o&&jsxRuntime.jsxs("div",{className:"flex items-center justify-between gap-2",children:[jsxRuntime.jsx("span",{className:"text-sm text-text-heading",children:e}),jsxRuntime.jsx("span",{className:"text-sm text-text-heading",children:t||i})]}),jsxRuntime.jsx("div",{className:`relative h-2 w-${r} overflow-hidden rounded-full bg-background-muted outline-none`,children:jsxRuntime.jsx("div",{className:`absolute top-0 h-full rounded-full bg-blue-600 dark:bg-blue-500 forced-colors:bg-[Highlight] ${l?"left-full duration-1000 ease-out animate-in slide-out-to-right-full repeat-infinite [--tw-enter-translate-x:calc(-16rem-100%)]":"left-0"}`,style:{width:(l?40:a)+"%"}})})]})})}function n1(e="2"){return {1:"p-2 text-xs",2:"p-3 text-sm",3:"p-4 text-base"}[e]}function a1(e="default",t){return t?{default:"border-action-default text-action-default",brand:"border-action-brand text-action-brand"}[e]:"border-border text-text-body"}function i1(){return "opacity-50 cursor-not-allowed"}function _l({value:e,isDisabled:t,className:r,children:o,size:n="2",variant:a="default"}){return jsxRuntime.jsx(reactAriaComponents.Radio,{value:e,isDisabled:t,className:de(r,`flex items-center justify-center cursor-pointer transition-all duration-200 focus:outline-none focus:ring-2 ${a==="brand"?"focus:ring-action-brand":"focus:ring-action-default"} focus:ring-offset-2 rounded-lg min-h-[44px]`),children:({isSelected:l,isDisabled:s})=>jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex items-center justify-center w-full h-full transition-all duration-200 rounded-lg border-2 bg-background-surface",n1(n),a1(a,l),(t||s)&&i1(),r),children:o})})}function ec({value:e,defaultValue:t,onChange:r,isDisabled:o,isReadOnly:n,isRequired:a,className:i,children:l,size:s="2",variant:c="default",columns:p="repeat(auto-fit, minmax(160px, 1fr))",gap:d="1"}){return jsxRuntime.jsx(reactAriaComponents.RadioGroup,{value:e,defaultValue:t,onChange:r,isDisabled:o,isReadOnly:n,isRequired:a,className:de(i,"grid"),style:{gridTemplateColumns:/^\d+$/.test(String(p))?`repeat(${p}, minmax(0, 1fr))`:p,gap:d==="1"?"0.25rem":d==="2"?"0.5rem":d==="3"?"0.75rem":d==="4"?"1rem":typeof d=="number"?`${d}px`:d},children:ir__namespace.default.Children.map(l,m=>ir__namespace.default.isValidElement(m)?ir__namespace.default.cloneElement(m,{size:s,variant:c}):m)})}var nf=ir.createContext({variant:"brand"});function af(e){let{variant:t="brand",...r}=e;return jsxRuntime.jsx(nf.Provider,{value:{variant:t},children:jsxRuntime.jsxs(reactAriaComponents.RadioGroup,{...r,className:de(e.className,"group flex flex-col gap-2"),children:[jsxRuntime.jsx(ve,{children:e.label}),jsxRuntime.jsx("div",{className:"flex gap-2 group-orientation-horizontal:gap-4 group-orientation-vertical:flex-col",children:e.children}),e.description&&jsxRuntime.jsx(we,{children:e.description}),jsxRuntime.jsx(be,{children:typeof e.errorMessage=="function"&&e.validationResult?e.errorMessage(e.validationResult):typeof e.errorMessage=="string"?e.errorMessage:null})]})})}function u1({isSelected:e,isInvalid:t,isDisabled:r,variant:o="brand"}){let n=o==="brand"?"focus-visible:outline-action-brand":"focus-visible:outline-action-default",a=[Se(),n,"w-5 h-5 rounded-full border-2 bg-background-surface transition-all"];if(r)a.push("border-border-muted forced-colors:!border-[GrayText]");else if(t)a.push("border-feedback-error-border group-pressed:border-feedback-error-border dark:group-pressed:border-feedback-error-border forced-colors:!border-[Mark]");else if(e){let i=o==="brand"?"action-brand":"action-default";a.push(`border-[7px] border-${i} forced-colors:!border-[Highlight] group-pressed:border-${i}-hover dark:group-pressed:border-${i}-hover`);}else a.push("border-border-default group-pressed:border-border-focus dark:group-pressed:border-border-focus");return a.join(" ")}function sf(e){let{variant:t}=ir.useContext(nf);return jsxRuntime.jsx(reactAriaComponents.Radio,{...e,className:de(e.className,"group flex items-center gap-2 text-sm text-text-body transition disabled:text-text-muted dark:text-text-body dark:disabled:text-text-muted forced-colors:disabled:text-[GrayText]"),children:r=>jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("div",{className:u1({...r,variant:t})}),e.children]})})}var lo=({isActive:e=false,onPress:t,children:r})=>jsxRuntime.jsx(q,{variant:e?"secondary":"ghost",size:"sm",onPress:t,className:"p-1",children:r});function C1({initialUrl:e,isOpen:t,onClose:r,onSubmit:o}){let[n,a]=ir.useState(e);return ir__namespace.default.useEffect(()=>{a(e);},[e]),jsxRuntime.jsx(ot,{isDismissable:true,isOpen:t,onOpenChange:l=>!l&&r(),children:jsxRuntime.jsx(reactAriaComponents.Modal,{isDismissable:true,className:"flex items-center justify-center p-4",children:jsxRuntime.jsx(reactAriaComponents.Dialog,{className:"relative bg-background-surface rounded-lg shadow-xl max-w-md w-full",children:jsxRuntime.jsxs("form",{onSubmit:l=>{l.preventDefault(),o(n),r();},children:[jsxRuntime.jsx(Je,{title:"Insert Link",onClose:r}),jsxRuntime.jsx("div",{className:"p-6",children:jsxRuntime.jsx(Mo,{label:"URL",type:"url",value:n,onChange:a,autoFocus:true,className:"w-full"})}),jsxRuntime.jsxs("div",{className:"flex justify-end gap-2 border-t border-border-muted p-4",children:[jsxRuntime.jsx(q,{variant:"secondary",onPress:r,children:"Cancel"}),jsxRuntime.jsx(q,{type:"submit",children:"Save"})]})]})})})})}function df({initialContent:e="",onChange:t,className:r,isDisabled:o=false,placeholder:n="Start typing..."}){let[a,i]=ir.useState(false),l=react.useEditor({extensions:[x1__default.default.configure({heading:{levels:[1,2]}}),m1__default.default.configure({openOnClick:false,HTMLAttributes:{class:"text-text-link-default hover:text-text-link-hover underline decoration-text-link-default/30 hover:decoration-text-link-hover cursor-pointer"}})],content:e,editable:!o,onUpdate:({editor:p})=>{t?.(p.getHTML());},editorProps:{attributes:{class:tailwindMerge.twMerge("prose prose-sm max-w-none","focus:outline-none","[&>*:first-child]:mt-0 [&>*:last-child]:mb-0")}}}),s=()=>{i(true);},c=p=>{p===""?l?.chain().focus().unsetLink().run():l?.chain().focus().setLink({href:p}).run();};return l?jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("flex flex-col rounded-md border border-border-input bg-background-input",o&&"opacity-50",r),children:[l&&jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs(menus.BubbleMenu,{editor:l,shouldShow:({editor:p})=>p.isActive("link")&&!a,className:"flex items-center gap-1 rounded-md border border-border-input bg-background-surface p-1 shadow-md",children:[jsxRuntime.jsxs(q,{variant:"ghost",size:"sm",className:"h-8 px-2",onPress:()=>{let p=l.getAttributes("link").href;window.open(p,"_blank");},children:[jsxRuntime.jsx(P,{name:"ArrowSquareOut",className:"mr-1 h-4 w-4"}),"Open"]}),jsxRuntime.jsxs(q,{variant:"ghost",size:"sm",className:"h-8 px-2",onPress:s,children:[jsxRuntime.jsx(P,{name:"PencilSimple",className:"mr-1 h-4 w-4"}),"Edit"]}),jsxRuntime.jsxs(q,{variant:"ghost",size:"sm",className:"h-8 px-2",onPress:()=>l.chain().focus().unsetLink().run(),children:[jsxRuntime.jsx(P,{name:"X",className:"mr-1 h-4 w-4"}),"Remove"]})]}),jsxRuntime.jsx(C1,{isOpen:a,onClose:()=>i(false),onSubmit:c,initialUrl:l.getAttributes("link").href||""})]}),jsxRuntime.jsxs("div",{className:"flex items-center gap-1 border-b border-border-input p-2",children:[jsxRuntime.jsx(lo,{isActive:l.isActive("heading",{level:1}),onPress:()=>l.chain().focus().toggleHeading({level:1}).run(),children:jsxRuntime.jsx("span",{className:"text-xs font-bold",children:"H1"})}),jsxRuntime.jsx(lo,{isActive:l.isActive("heading",{level:2}),onPress:()=>l.chain().focus().toggleHeading({level:2}).run(),children:jsxRuntime.jsx("span",{className:"text-xs font-bold",children:"H2"})}),jsxRuntime.jsx(lo,{isActive:l.isActive("bold"),onPress:()=>l.chain().focus().toggleBold().run(),children:jsxRuntime.jsx("span",{className:"text-xs font-bold",children:"B"})}),jsxRuntime.jsx(lo,{isActive:l.isActive("italic"),onPress:()=>l.chain().focus().toggleItalic().run(),children:jsxRuntime.jsx("span",{className:"text-xs italic",children:"I"})}),jsxRuntime.jsx("div",{className:"mx-1 h-4 w-px bg-border-muted"}),jsxRuntime.jsx(lo,{isActive:l.isActive("bulletList"),onPress:()=>l.chain().focus().toggleBulletList().run(),children:jsxRuntime.jsx(P,{name:"ListBullets",className:"h-4 w-4"})}),jsxRuntime.jsx(lo,{isActive:l.isActive("orderedList"),onPress:()=>l.chain().focus().toggleOrderedList().run(),children:jsxRuntime.jsx(P,{name:"ListNumbers",className:"h-4 w-4"})}),jsxRuntime.jsx("div",{className:"mx-1 h-4 w-px bg-border-muted"}),jsxRuntime.jsx(lo,{isActive:l.isActive("link"),onPress:s,children:jsxRuntime.jsx(P,{name:"PaperclipHorizontal",className:"h-4 w-4"})})]}),jsxRuntime.jsxs("div",{className:"relative min-h-[200px] w-full",children:[jsxRuntime.jsx(react.EditorContent,{editor:l,className:tailwindMerge.twMerge("w-full p-4","[&_.ProseMirror]:min-h-[inherit]","[&_.ProseMirror]:outline-none","[&_.ProseMirror_h1]:mb-4 [&_.ProseMirror_h1]:text-2xl [&_.ProseMirror_h1]:font-bold","[&_.ProseMirror_h2]:mb-3 [&_.ProseMirror_h2]:text-xl [&_.ProseMirror_h2]:font-semibold","[&_.ProseMirror_p]:mb-2","[&_.ProseMirror_ul]:mb-2 [&_.ProseMirror_ul]:ml-6 [&_.ProseMirror_ul]:list-disc","[&_.ProseMirror_ol]:mb-2 [&_.ProseMirror_ol]:ml-6 [&_.ProseMirror_ol]:list-decimal","[&_.ProseMirror_li]:mb-1","[&_.ProseMirror_blockquote]:border-l-4 [&_.ProseMirror_blockquote]:border-border-muted [&_.ProseMirror_blockquote]:pl-4 [&_.ProseMirror_blockquote]:italic","[&_.ProseMirror_code]:rounded [&_.ProseMirror_code]:bg-background-muted [&_.ProseMirror_code]:px-1 [&_.ProseMirror_code]:py-0.5 [&_.ProseMirror_code]:font-mono [&_.ProseMirror_code]:text-sm","[&_.ProseMirror_pre]:rounded-md [&_.ProseMirror_pre]:bg-background-muted [&_.ProseMirror_pre]:p-3 [&_.ProseMirror_pre]:font-mono [&_.ProseMirror_pre]:text-sm","[&_.ProseMirror_hr]:border-border-muted",o&&"pointer-events-none")}),l.isEmpty&&!o&&jsxRuntime.jsx("div",{className:"pointer-events-none absolute left-4 top-4 text-text-muted",children:n})]})]}):null}var N1={sm:"h-8 text-xs",md:"h-10 text-sm",lg:"h-12 text-base",xl:"h-14 text-lg"},k1={sm:14,md:16,lg:18,xl:20},T1=({isSelected:e,isFirst:t,isLast:r,isDisabled:o,variant:n="default"})=>{let a=n==="brand"?"action-brand":"action-default",i=n==="brand"?"focus-visible:outline-action-brand":"focus-visible:outline-action-default";return n==="secondary"?tailwindMerge.twMerge(Se(),"focus-visible:outline-action-default","px-3 text-center transition cursor-pointer forced-color-adjust-none -ml-px first:ml-0 flex items-center justify-center h-full gap-2",e?"bg-background-muted text-text-heading font-medium forced-colors:!bg-[Highlight] forced-colors:!text-[HighlightText]":"text-text-muted hover:bg-background-hover pressed:bg-background-hover forced-colors:!bg-[ButtonFace] forced-colors:!text-[ButtonText]",!r&&"border-r border-border-muted",o&&"bg-background-muted text-text-disabled forced-colors:!bg-[ButtonFace] forced-colors:!text-[GrayText] border-border-muted forced-colors:border-[GrayText] cursor-not-allowed"):tailwindMerge.twMerge(Se(),i,"px-3 text-center transition cursor-pointer forced-color-adjust-none -ml-px first:ml-0 flex items-center justify-center h-full gap-2",e?`bg-${a} text-[color:var(--color-${a}-text)] font-semibold forced-colors:!bg-[Highlight] forced-colors:!text-[HighlightText]`:"text-text-muted hover:bg-background-hover pressed:bg-background-hover forced-colors:!bg-[ButtonFace] forced-colors:!text-[ButtonText] hover:font-semibold",!r&&"border-r border-border-muted",o&&"bg-background-muted text-text-disabled forced-colors:!bg-[ButtonFace] forced-colors:!text-[GrayText] border-border-muted forced-colors:border-[GrayText] cursor-not-allowed")};function Ci({options:e,value:t,onChange:r,size:o="md",className:n,isDisabled:a,variant:i="default","aria-label":l}){return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("inline-flex overflow-hidden rounded-md",i==="secondary"?"border border-border-muted":"border-2 border-border-muted",N1[o],n),role:"group","aria-label":l,children:e.map((s,c)=>jsxRuntime.jsxs(reactAriaComponents.ToggleButton,{isSelected:t===s.id,onChange:()=>r(s.id),className:T1({isSelected:t===s.id,isFirst:c===0,isLast:c===e.length-1,isDisabled:a,variant:i}),isDisabled:a,"aria-label":s.label,children:[s.icon&&jsxRuntime.jsx(P,{name:s.icon,size:k1[o]}),s.label]},s.id))})}function pf({label:e,description:t,tooltip:r,errorMessage:o,size:n="md",className:a,value:i,defaultValue:l=0,onChange:s,min:c=0,max:p=100,step:d=1,disabled:m,showValue:u=true}){let g=typeof i=="number",[f,b]=ir__namespace.default.useState(l),x=g?i:f,y=Math.min(Math.max(x,c),p),v=Math.max(p-c,1e-5),h=(y-c)/v*100;return jsxRuntime.jsxs("div",{className:de(a,"group flex w-full flex-col gap-1"),children:[e&&jsxRuntime.jsx(ve,{size:n,tooltip:r,className:"mb-1",children:e}),jsxRuntime.jsxs("div",{className:"flex items-center gap-3",children:[jsxRuntime.jsxs("div",{className:"relative w-full select-none",children:[jsxRuntime.jsx("div",{className:"h-1.5 w-full rounded-full bg-background-muted"}),jsxRuntime.jsx("div",{className:"pointer-events-none absolute left-0 top-1/2 h-1.5 -translate-y-1/2 rounded-full bg-action-brand",style:{width:`${h}%`},"aria-hidden":true}),jsxRuntime.jsx("input",{type:"range",min:c,max:p,step:d,value:x,disabled:m,"aria-invalid":!!o,onChange:C=>{let S=Number(C.currentTarget.value);g||b(S),s?.(S);},className:tailwindMerge.twMerge("absolute inset-0 w-full cursor-pointer appearance-none bg-transparent outline-none","[&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:h-4 [&::-webkit-slider-thumb]:w-4 [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:bg-background-input [&::-webkit-slider-thumb]:border [&::-webkit-slider-thumb]:border-border-input","hover:[&::-webkit-slider-thumb]:shadow-sm focus-visible:[&::-webkit-slider-thumb]:outline-2 focus-visible:[&::-webkit-slider-thumb]:outline-action-default","[&::-moz-range-thumb]:h-4 [&::-moz-range-thumb]:w-4 [&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:bg-background-input [&::-moz-range-thumb]:border [&::-moz-range-thumb]:border-border-input","hover:[&::-moz-range-thumb]:shadow-sm focus-visible:[&::-moz-range-thumb]:outline-2 focus-visible:[&::-moz-range-thumb]:outline-action-default",m?"cursor-not-allowed opacity-60":void 0)})]}),u&&jsxRuntime.jsx("div",{className:"min-w-10 text-right text-sm text-text-heading tabular-nums",children:Math.round(y)})]}),t&&jsxRuntime.jsx(we,{className:"mt-2 text-text-muted",children:t}),o&&jsxRuntime.jsx(be,{className:"mt-1",children:o})]})}var L1=ir__namespace.default.createContext({orientation:"horizontal",isResizing:false});function ff(e,t){return e===void 0?t:e}function F1(e,t){return typeof e=="number"?e:typeof e=="string"&&e.endsWith("%")?Number.parseFloat(e)/100*t:Number.parseFloat(e.toString())}function Si({asideWidth:e,asideHeight:t,minAsideWidth:r=240,minAsideHeight:o=200,minMainWidth:n=400,minMainHeight:a=300,orientation:i="horizontal",resizable:l=false,onAsideResize:s,onResizeStart:c,onResizeEnd:p,className:d,dividerClassName:m,children:u}){let g=ir.useRef(null),[f,b]=ir.useState(false),x=i==="horizontal"?400:300,y=ff(i==="horizontal"?e:t,x),[v,h]=ir.useState(null),C=ir.useCallback(H=>{if(!g.current||!f)return;let K=g.current.getBoundingClientRect(),B=i==="horizontal"?K.width:K.height,J=i==="horizontal"?H.clientX:H.clientY,$=(i==="horizontal"?K.right:K.bottom)-J,A=B-$,M=i==="horizontal"?r:o,z=i==="horizontal"?n:a;$<M||A<z||(h($),s?.($));},[f,i,r,o,n,a,s]),S=ir.useCallback(()=>{b(false),p?.();},[p]),w=ir.useCallback(H=>{H.preventDefault(),H.stopPropagation(),b(true),c?.();},[c]);ir.useEffect(()=>{if(f)return document.addEventListener("mousemove",C),document.addEventListener("mouseup",S),document.body.style.cursor=i==="horizontal"?"col-resize":"row-resize",document.body.style.userSelect="none",()=>{document.removeEventListener("mousemove",C),document.removeEventListener("mouseup",S),document.body.style.cursor="",document.body.style.userSelect="";}},[f,C,S,i]);let N=ir__namespace.default.Children.toArray(u).find(H=>ir__namespace.default.isValidElement(H)&&H.type===bf),k=ir__namespace.default.Children.toArray(u).find(H=>ir__namespace.default.isValidElement(H)&&H.type===xf),L=v??y,V=typeof L=="number"?`${L}px`:L;return jsxRuntime.jsx(L1.Provider,{value:{orientation:i,isResizing:f},children:jsxRuntime.jsxs("div",{ref:g,className:tailwindMerge.twMerge("flex w-full h-full",i==="horizontal"?"flex-row":"flex-col",d),children:[jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("overflow-auto flex-1",i==="horizontal"?"h-full":"w-full"),children:N}),l&&jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("relative group flex-shrink-0",i==="horizontal"?"w-2 -mx-1 cursor-col-resize":"h-2 -my-1 cursor-row-resize",m),onMouseDown:w,role:"separator","aria-orientation":i,"aria-label":"Resize divider",tabIndex:0,onKeyDown:H=>{if(!g.current)return;let K=g.current.getBoundingClientRect(),B=i==="horizontal"?K.width:K.height,J=v??F1(y,B),j=20,$=i==="horizontal"?r:o,A=i==="horizontal"?n:a;if(i==="horizontal"){if(H.key==="ArrowLeft"){let M=Math.min(J+j,B-A);h(M),s?.(M);}else if(H.key==="ArrowRight"){let M=Math.max(J-j,$);h(M),s?.(M);}}else if(H.key==="ArrowUp"){let M=Math.min(J+j,B-A);h(M),s?.(M);}else if(H.key==="ArrowDown"){let M=Math.max(J-j,$);h(M),s?.(M);}},children:[jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("absolute bg-border-default transition-all",i==="horizontal"?"left-1/2 -translate-x-1/2 w-px h-full group-hover:w-1":"top-1/2 -translate-y-1/2 h-px w-full group-hover:h-1","group-hover:bg-action-brand/50",f&&"bg-action-brand",f&&(i==="horizontal"?"w-1":"h-1"))}),jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("absolute",i==="horizontal"?"top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-1 h-8":"top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-8 h-1","bg-border-muted rounded-full opacity-0 group-hover:opacity-100 transition-opacity")})]}),jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("overflow-auto flex-shrink-0",i==="horizontal"?"h-full":"w-full"),style:{[i==="horizontal"?"width":"height"]:V},children:k})]})})}function bf({className:e,children:t}){return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("w-full h-full",e),children:t})}function xf({className:e,children:t}){return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("w-full h-full",e),children:t})}Si.Main=bf;Si.Aside=xf;function I1(e,t){return Lt({value:e,formatter:t,emptyClassName:"text-text-muted",emptyText:"\u2014"})}function B1(e){if(e.thresholds&&e.value!==null&&e.value!==void 0){for(let t of e.thresholds)if(t.when(e.value))return t.tone}return e.tone}var V1={neutral:"text-text-body",success:"text-feedback-success",warning:"text-feedback-warning",error:"text-feedback-error",info:"text-feedback-info"};function z1({item:e,dense:t,valueAlign:r}){let o=B1(e),n=o?V1[o]:"",a=I1(e.value,e.formatter),i=typeof e.copyable=="function"?e.copyable(e.value):String(e.value),l=jsxRuntime.jsx("span",{className:e.href?"hover:underline cursor-pointer":"",children:a}),s=jsxRuntime.jsxs("dd",{className:tailwindMerge.twMerge(t?"text-sm":"text-base","font-medium",r==="start"?"text-left":"text-right",n,e.disabled&&"opacity-50"),children:[e.copyable?jsxRuntime.jsxs(ka,{value:i,size:"sm",className:"flex items-center gap-1",children:[l,e.iconRight]}):jsxRuntime.jsxs("div",{className:"flex items-center gap-1",children:[l,e.iconRight]}),e.meta&&jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("text-xs text-text-muted mt-0.5",r==="start"?"text-left":"text-right"),children:e.meta})]}),c=jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs("dt",{className:tailwindMerge.twMerge(t?"text-xs":"text-sm","text-text-caption truncate","flex items-center gap-1",e.disabled&&"opacity-50"),children:[e.iconLeft,jsxRuntime.jsx("span",{title:typeof e.label=="string"?e.label:void 0,children:e.label}),e.tooltip&&jsxRuntime.jsx(P,{name:"Question",size:10,className:"text-text-muted","aria-label":"More information"})]}),e.href?jsxRuntime.jsx("a",{href:e.href,onClick:e.onAction,className:"block",children:s}):s]});return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("grid grid-cols-[1fr_auto] items-start",t?"gap-x-2":"gap-x-4"),children:c})}function hf({items:e,layout:t="one-column",dense:r=false,valueAlign:o="end",showDividers:n=false,skeleton:a=false,empty:i=false,error:l,className:s}){return a?jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("grid",t==="two-column"?"md:grid-cols-2 gap-x-6":"grid-cols-1",r?"gap-y-1":"gap-y-2",s),children:Array.from({length:e.length||4}).map((c,p)=>jsxRuntime.jsxs("div",{className:"grid grid-cols-[1fr_auto] items-start gap-x-4",children:[jsxRuntime.jsx(F,{className:"h-4 w-24"}),jsxRuntime.jsx(F,{className:"h-5 w-16"})]},p))}):l?jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("text-sm text-feedback-error",s),children:l}):i||!e.length?jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("text-sm text-text-muted",s),children:"No data available"}):jsxRuntime.jsx("dl",{className:tailwindMerge.twMerge("grid",t==="two-column"?"md:grid-cols-2 gap-x-6":"grid-cols-1",r?"gap-y-1":"gap-y-2",s),children:e.map((c,p)=>jsxRuntime.jsxs(ir__namespace.default.Fragment,{children:[n&&p>0&&t==="one-column"&&jsxRuntime.jsx("div",{className:"col-span-full border-t border-border-default -mt-1 mb-1"}),jsxRuntime.jsx(z1,{item:c,dense:r,valueAlign:o})]},c.id))})}var G1=e=>{let t=Nt({isInvalid:e.isInvalid,isDisabled:e.isDisabled,isFocused:e.isFocused,transparent:e.transparent,size:e.size}),r=`min-h-[100px] py-2 ${e.isDisabled?"resize-none":"resize-y"}`;return tailwindMerge.twMerge(t,r,e.className)};function yf({label:e,description:t,errorMessage:r,size:o="md",tooltip:n,required:a,transparent:i,isInvalid:l,isDisabled:s,className:c,validationResult:p,...d}){let{isFocused:m,handleFocus:u,handleBlur:g}=Vt();return jsxRuntime.jsx("div",{className:"group flex flex-col",children:jsxRuntime.jsxs("div",{className:"flex flex-col",children:[e&&jsxRuntime.jsx(ve,{size:o,tooltip:n,isRequired:a,children:e}),jsxRuntime.jsx(br,{children:jsxRuntime.jsx("textarea",{...d,required:a,onFocus:f=>{d.onFocus&&d.onFocus(f),u(f);},onBlur:f=>{d.onBlur&&d.onBlur(f),g(f);},className:G1({isInvalid:l,isDisabled:s,isFocused:m,size:o,transparent:i,className:c}),disabled:s})}),t&&jsxRuntime.jsx(we,{size:o,className:"mt-3",children:t}),typeof r=="string"&&jsxRuntime.jsx(be,{size:o,className:"mt-1",children:r}),typeof r=="function"&&p&&jsxRuntime.jsx(be,{size:o,className:"mt-1",children:r(p)})]})})}function wf({label:e,description:t,errorMessage:r,size:o="md",tooltip:n,required:a,transparent:i,isInvalid:l,isDisabled:s,className:c,validationResult:p,value:d="",onChange:m,chips:u=[],onChipsChange:g,triggerPattern:f="{{",onTriggerDetected:b,onTriggerDismissed:x,renderChip:y,chipVariant:v="brand",chipSize:h,...C}){let S=ir.useRef(null),{isFocused:w,handleFocus:N,handleBlur:k}=Vt(),L=h||"sm",V=ir.useRef(null),H=ir.useCallback(M=>{let z="",X=D=>{if(D.nodeType===Node.TEXT_NODE){if(!D.parentElement?.closest("[data-chip-id]")){let W=D.textContent||"";z+=W;}}else if(D.nodeType===Node.ELEMENT_NODE){let E=D;if(E.hasAttribute("data-chip-id")){let W=E.getAttribute("data-chip-id");z+=`{{${W}}}`;return}else if(E.tagName==="BR"){z+=`
81
- `;return}else E.tagName;}for(let E=0;E<D.childNodes.length;E++)X(D.childNodes[E]);};return X(M),z},[]),K=ir.useCallback((M,z)=>{let X=document.createTreeWalker(M,NodeFilter.SHOW_TEXT,{acceptNode:O=>{let te=O.parentElement;return te&&te.closest("[data-chip-id]")?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}}),D=X.nextNode(),E=Math.max(0,z);for(;D;){let O=D.nodeValue||"";if(O.length>=E){let te=document.createRange();te.setStart(D,E),te.collapse(true);let I=window.getSelection();I?.removeAllRanges(),I?.addRange(te);return}E-=O.length,D=X.nextNode();}let W=window.getSelection(),G=document.createRange();G.selectNodeContents(M),G.collapse(false),W?.removeAllRanges(),W?.addRange(G);},[]);ir.useEffect(()=>{S.current&&!d&&S.current.textContent!==""&&(S.current.textContent="");},[d]),ir.useLayoutEffect(()=>{if(S.current){if(d===""){if(w)try{S.current.focus({preventScroll:!0}),K(S.current,0);}catch{}return}if(V.current!=null)try{K(S.current,V.current);}finally{V.current=null;}}},[d,K,w]);let B=ir.useCallback((M,z)=>{if(m?.(M),M===""){x?.();return}if(f&&b&&z!==void 0){let X=M.slice(0,z),D=typeof f=="string"?new RegExp(`\\${f}([^\\s]*)$`):f,E=X.match(D);if(E){let W=E[1]||"",G=z-E[0].length;b({query:W,position:z,startIndex:G});}else x?.();}},[m,f,b,x]),J=ir.useCallback(M=>{if(!g||!m)return;let z=u.filter(D=>D.id!==M);g(z);let X=d.replace(new RegExp(`\\{\\{${M}\\}\\}`,"g"),"");m(X);},[u,g,d,m]),j=ir.useCallback(M=>y?y(M,()=>J(M.id)):jsxRuntime.jsx(xr,{variant:v,size:L,onRemove:s?void 0:()=>J(M.id),isDisabled:s,className:"py-0.5 px-1.5 gap-1 text-xs leading-none rounded-md",children:M.label},M.id),[y,v,L,J,s]),$=()=>{let M=Nt({isInvalid:l,isDisabled:s,isFocused:w,transparent:i,size:o}),z=`min-h-[100px] py-2 px-3 ${s?"resize-none":"resize-y"}`,X=tailwindMerge.twMerge("focus:outline-none overflow-auto","[&_[data-chip-id]::selection]:bg-action-brand/20","[&:empty]:before:content-[attr(data-placeholder)] [&:empty]:before:text-text-placeholder [&:empty]:before:pointer-events-none");return tailwindMerge.twMerge(M,z,X,c)},A=()=>d?d.split(/(\{\{[^}]+\}\})/g).map((z,X)=>{let D=z.match(/\{\{([^}]+)\}\}/);if(D){let E=D[1],W=u.find(G=>G.id===E);if(W)return jsxRuntime.jsx("span",{className:"inline-block align-baseline cursor-pointer",contentEditable:false,suppressContentEditableWarning:true,"data-chip-id":E,style:{userSelect:"none",verticalAlign:"baseline",lineHeight:"1"},onClick:G=>{G.preventDefault();let O=window.getSelection(),te=document.createRange();te.selectNode(G.currentTarget),O?.removeAllRanges(),O?.addRange(te);},children:j(W)},`chip-${E}-${X}`)}return z.includes(`
82
- `)?z.split(`
83
- `).map((E,W)=>jsxRuntime.jsxs(ir__namespace.default.Fragment,{children:[E,W<z.split(`
84
- `).length-1&&jsxRuntime.jsx("br",{})]},`line-${X}-${W}`)):z}):null;return jsxRuntime.jsx("div",{className:"group flex flex-col",children:jsxRuntime.jsxs("div",{className:"flex flex-col",children:[e&&jsxRuntime.jsx(ve,{size:o,tooltip:n,isRequired:a,children:e}),jsxRuntime.jsx(br,{children:jsxRuntime.jsx("div",{ref:S,contentEditable:!s,suppressContentEditableWarning:true,onInput:M=>{if(s)return;let z=M.target,X=z.querySelector("[data-chip-id]")!==null,D;if(X?(D=H(z),D=D.replace(/(\{\{[^}]+\}\})\s{2,}/g,"$1 ").replace(/\s{2,}(\{\{[^}]+\}\})/g," $1")):D=z.textContent||"",D===""){try{let G=document.createRange();G.selectNodeContents(z),G.collapse(!0);let O=window.getSelection();O?.removeAllRanges(),O?.addRange(G),V.current=0;}catch{}B("",0);return}if(D===d)return;let E=window.getSelection(),W=0;if(E&&E.rangeCount>0)try{let G=E.getRangeAt(0);if(X){let O=0,te=!1,I=Z=>{if(te)return !0;if(Z===G.startContainer)return O+=G.startOffset,te=!0,!0;if(Z.nodeType===Node.TEXT_NODE){if(!Z.parentElement?.closest("[data-chip-id]")){if(Z.contains(G.startContainer))return O+=G.startOffset,te=!0,!0;O+=(Z.textContent||"").length;}}else if(Z.nodeType===Node.ELEMENT_NODE){let ne=Z;if(ne.hasAttribute("data-chip-id")){if(ne.contains(G.startContainer)||ne===G.startContainer){let Ce=ne.getAttribute("data-chip-id");return O+=`{{${Ce}}}`.length,te=!0,!0}let Ke=ne.getAttribute("data-chip-id");return O+=`{{${Ke}}}`.length,!1}else if(ne.tagName==="BR")return ne===G.startContainer?(te=!0,!0):(O+=1,!1)}for(let ne=0;ne<Z.childNodes.length;ne++)if(I(Z.childNodes[ne]))return !0;return !1};I(z),W=O;}else {let O=document.createRange();O.setStart(z,0),O.setEnd(G.startContainer,G.startOffset),W=O.toString().length;}}catch{W=D.length;}V.current=W,B(D,W);},onKeyDown:M=>{if(s)return;let z=window.getSelection();if(!(!z||z.rangeCount===0))try{let X=z.getRangeAt(0),D=X.commonAncestorContainer;if(M.key==="ArrowLeft"||M.key==="ArrowRight"){let E=D.nodeType===Node.TEXT_NODE?D.parentElement?.closest("[data-chip-id]"):D.closest("[data-chip-id]");if(E){M.preventDefault();try{let W=document.createRange(),G=window.getSelection();M.key==="ArrowLeft"?W.setStartBefore(E):W.setStartAfter(E),W.collapse(!0),G?.removeAllRanges(),G?.addRange(W);}catch{}}}if(M.key==="Backspace"){let E=null;if(E=(D.nodeType===Node.TEXT_NODE?D.parentElement?.closest("[data-chip-id]"):D.closest("[data-chip-id]"))||null,!E)if(D.nodeType===Node.TEXT_NODE){let W=D;if(X.startOffset===0&&W.parentElement){let G=W.previousSibling;if(G&&G.nodeType===Node.ELEMENT_NODE){let O=G.closest("[data-chip-id]");O&&(E=O);}}}else {let W=D;if(X.startOffset>0){let G=W.childNodes[X.startOffset-1];if(G&&G.nodeType===Node.ELEMENT_NODE){let O=G.closest("[data-chip-id]");O&&(E=O);}}}if(E){M.preventDefault(),M.stopPropagation();let W=E.getAttribute("data-chip-id");if(!W)return;let G=`{{${W}}}`,O=d.indexOf(G);if(O!==-1){let te=d.slice(0,O)+d.slice(O+G.length),I=u.filter(Z=>Z.id!==W);V.current=O;try{window.getSelection()?.removeAllRanges();}catch{}g?.(I),m?.(te);}}}}catch{}},onFocus:M=>{s||(C.onFocus&&C.onFocus(M),N(M));},onBlur:M=>{s||(C.onBlur&&C.onBlur(M),k(M));},className:$(),style:{whiteSpace:"pre-wrap",wordBreak:"break-word",...C.style},"data-placeholder":C.placeholder,children:A()},d===""?"empty":"content")}),t&&jsxRuntime.jsx(we,{size:o,className:"mt-3",children:t}),typeof r=="string"&&jsxRuntime.jsx(be,{size:o,className:"mt-1",children:r}),typeof r=="function"&&p&&jsxRuntime.jsx(be,{size:o,className:"mt-1",children:r(p)})]})})}var Tf={FIFTEEN_MINUTES:1,HOUR:2,DAY:3,WEEK:4,MONTH:5,YEAR:6},X1=[{id:"FIFTEEN_MINUTES",label:"15m"},{id:"HOUR",label:"1h"},{id:"DAY",label:"1d"},{id:"WEEK",label:"1w"}];function Pf({dateRange:e,onDateRangeChange:t,windowSize:r,onWindowSizeChange:o,showWindowSize:n=true,showRangeSelector:a=true,allowDatePicker:i=false,lockWindowSize:l=false,restrictToSingleDay:s=false,presetRanges:c=[],windowSizeOptions:p=X1,autoAdjustWindowSize:d=false,className:m}){let[u,g]=ir.useState(0),f=ir.useRef(null),[b,x]=ir.useState(false),y=A=>{let z=(A.before.getTime()-A.after.getTime())/(1e3*60*60);return z<=24?"FIFTEEN_MINUTES":z<=72||z<=168?"HOUR":("DAY")};ir.useEffect(()=>{if(d&&!b&&o){let A=y(e);o(A);}},[e,d,b,o]);let v=A=>c.find(M=>{let z=M.getRange();return Math.abs(z.after.getTime()-A.after.getTime())<1e3*60*60*24&&Math.abs(z.before.getTime()-A.before.getTime())<1e3*60*60*24})?.id,[h,C]=ir.useState(()=>v(e)),S=new Date(e.before);S.setDate(S.getDate()-1);let w={start:ua(e.after,Br()),end:ua(S,Br())};ir.useEffect(()=>{let A=new ResizeObserver(M=>{for(let z of M)g(z.contentRect.width);});return f.current&&A.observe(f.current),()=>{f.current&&A.unobserve(f.current);}},[]);let N=[...p].sort((A,M)=>Tf[A.id]-Tf[M.id]),k=A=>{let M=A.toString(),z=c.find(X=>X.id===M);z&&(C(M),x(false),t(z.getRange()));},L=A=>{if(A?.start&&A?.end){C(void 0);let M=new Date(A.start.year,A.start.month-1,A.start.day,0,0,0,0),z=new Date(A.end.year,A.end.month-1,A.end.day+1,0,0,0,0);t({after:M,before:z});}},V=A=>{if(A){C(void 0);let M=new Date(A.year,A.month-1,A.day,0,0,0,0),z=new Date(A.year,A.month-1,A.day+1,0,0,0,0);t({after:M,before:z});}},H=A=>{o&&(x(true),o(A.toString()));},K=()=>{if(c.length>0){let A=c[0];C(A.id),x(false),t(A.getRange());}},B=(A,M=0)=>{let z=new Date(A);return M!==0&&z.setDate(z.getDate()+M),z.toLocaleDateString("en-US")},J=l?jsxRuntime.jsx("div",{className:"flex items-center rounded-md border border-border-muted bg-background-muted px-3 py-2 text-sm text-text-muted",children:N.find(A=>A.id===r)?.label||r}):jsxRuntime.jsx(zr,{className:"w-full md:w-auto",selectedKey:r,onSelectionChange:H,size:"md","aria-label":"Select Window Size",children:N.map(A=>jsxRuntime.jsx(zt,{id:A.id,"aria-label":A.label,size:"md",children:A.label},A.id))}),j=s?jsxRuntime.jsx("div",{className:"flex items-center",children:jsxRuntime.jsxs(reactAriaComponents.DialogTrigger,{children:[jsxRuntime.jsxs(q,{className:"border-l pl-2 pr-2 hover:border-border-default hover:bg-background-muted hover:text-action-primary",variant:"secondary",children:[jsxRuntime.jsx(P,{name:"CalendarBlank",size:18}),jsxRuntime.jsx("span",{className:"ml-2 hidden md:block",children:B(e.after)})]}),jsxRuntime.jsx(We,{className:"w-auto p-3",disableGroup:true,children:jsxRuntime.jsx(wo,{"aria-label":"Select date",value:Fs(e.after.toISOString().split("T")[0]),onChange:V})})]})}):jsxRuntime.jsxs("div",{className:"flex items-center",children:[jsxRuntime.jsxs(reactAriaComponents.DialogTrigger,{children:[jsxRuntime.jsxs(q,{className:"rounded-r-none border-l pl-2 pr-2 hover:border-border-default hover:bg-background-muted hover:text-action-primary",variant:"secondary",children:[jsxRuntime.jsx(P,{name:"CalendarBlank",size:18}),!h&&jsxRuntime.jsx("span",{className:"ml-2 hidden md:block",children:`${B(e.after)} - ${B(e.before,-1)}`})]}),jsxRuntime.jsx(We,{className:"w-auto p-3",disableGroup:true,children:jsxRuntime.jsx(Eo,{"aria-label":"Date range calendar",value:w,onChange:L})})]}),!h&&jsxRuntime.jsx(q,{variant:"ghost",size:"md",onPress:K,children:"Reset"})]}),$=u<600;return jsxRuntime.jsx("div",{ref:f,className:tailwindMerge.twMerge("flex w-full flex-wrap items-center justify-between gap-4",m),children:$?jsxRuntime.jsxs("div",{className:"flex w-full justify-between",children:[jsxRuntime.jsxs("div",{className:"flex items-center",children:[i&&j,a&&h!==void 0&&jsxRuntime.jsx(zr,{selectedKey:h,onSelectionChange:k,size:"md","aria-label":"Select Date Range",children:c.map(A=>jsxRuntime.jsx(zt,{id:A.id,size:"md",children:A.label},A.id))})]}),jsxRuntime.jsx("div",{className:"flex items-center",children:n&&r&&J})]}):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs("div",{className:"flex items-center gap-4",children:[i&&j,a&&h!==void 0&&jsxRuntime.jsx(Ci,{options:c.map(A=>({id:A.id,label:A.label})),value:h,onChange:k,size:"sm",variant:"secondary","aria-label":"Select Date Range"})]}),jsxRuntime.jsx("div",{className:"flex items-center",children:n&&r&&J})]})})}var rS=e=>tailwindMerge.twMerge("w-full",ba({isInvalid:e.isInvalid,isDisabled:e.isDisabled,isFocused:e.isFocused}),xa({transparent:e.transparent,isDisabled:e.isDisabled}),ue[e.size||"md"].text,ue[e.size||"md"].height,ue[e.size||"md"].padding,"pl-[var(--control-padding-sm)]","flex items-center gap-0.5",e.className),oS=({isPlaceholder:e,isDisabled:t,isFocused:r,size:o="md"})=>tailwindMerge.twMerge("outline-none rounded transition-colors box-content tabular-nums text-center",e?"text-text-muted italic":"text-text-body",t?"text-text-disabled cursor-not-allowed":"cursor-text",ue[o].text,"px-0.5 -my-0.5",r&&"!outline-[1.5px] !outline-[var(--control-focus-ring-color)] ![--tw-outline-style:solid]",!t&&!r&&"hover:bg-text-body/[0.05]");function Rf({label:e,description:t,errorMessage:r,size:o="md",tooltip:n,isRequired:a,transparent:i,validationResult:l,...s}){let{isFocused:c}=Vt(),[p,d]=ir.useState(null),m=ir.useRef(null);return ir.useEffect(()=>{let u=b=>{let x=b.target;x.hasAttribute("data-type")&&d(x.getAttribute("data-type"));},g=()=>{d(null);},f=m.current;return f&&(f.addEventListener("focusin",u),f.addEventListener("focusout",g)),()=>{f&&(f.removeEventListener("focusin",u),f.removeEventListener("focusout",g));}},[]),jsxRuntime.jsx(reactAriaComponents.TimeField,{...s,children:({isDisabled:u,isInvalid:g})=>jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[e&&jsxRuntime.jsx(ve,{isRequired:a,tooltip:n,children:e}),jsxRuntime.jsx(reactAriaComponents.DateInput,{ref:m,className:rS({size:o,transparent:i,isDisabled:u,isInvalid:g,isFocused:c}),children:f=>jsxRuntime.jsx(reactAriaComponents.DateSegment,{segment:f,className:oS({isPlaceholder:f.isPlaceholder,isDisabled:!f.isEditable,isFocused:p===f.type,size:o})})}),t&&jsxRuntime.jsx(we,{children:t}),typeof r=="string"?jsxRuntime.jsx(be,{children:r}):null]})})}function Af({children:e,className:t=""}){return jsxRuntime.jsx("div",{className:`flex flex-col ${t}`.trim(),role:"list",children:e})}function Mf({children:e,variant:t="default",icon:r,label:o,isLast:n=false,className:a=""}){let l={default:{dot:"bg-border-default border-border-default",line:"bg-border-default",label:"text-text-caption",content:"text-text-body"},active:{dot:"bg-text-heading border-text-heading",line:"bg-border-default",label:"text-text-caption",content:"text-text-body font-medium"},muted:{dot:"bg-border-muted border-border-muted",line:"bg-border-muted",label:"text-text-muted",content:"text-text-muted"}}[t];return jsxRuntime.jsxs("div",{className:`flex gap-3 ${a}`.trim(),role:"listitem",children:[jsxRuntime.jsxs("div",{className:"flex flex-col items-center",style:{width:"20px"},children:[jsxRuntime.jsx("div",{className:`flex items-center justify-center rounded-full border-2 ${l.dot}`,style:{width:"20px",height:"20px",flexShrink:0},children:r&&jsxRuntime.jsx(P,{name:r,size:12,className:t==="active"?"text-background-body":"text-text-body"})}),!n&&jsxRuntime.jsx("div",{className:`w-0.5 flex-1 ${l.line}`,style:{minHeight:"24px"}})]}),jsxRuntime.jsxs("div",{className:"flex-1 pb-6",children:[o&&jsxRuntime.jsx("div",{className:`text-xs mb-1 ${l.label}`,children:o}),jsxRuntime.jsx("div",{className:`text-sm ${l.content}`,children:e})]})]})}var lS="flex font-medium justify-center items-center gap-2 text-center transition whitespace-nowrap box-border",Lf={default:{selected:"bg-action-default text-[color:var(--color-action-default-text)] hover:bg-action-default-hover forced-colors:bg-[ButtonText] forced-colors:text-[ButtonFace] border-2 border-transparent",unselected:"bg-transparent text-action-default border-2 border-border-muted hover:bg-text-body/[0.05] forced-colors:border-[ButtonBorder] forced-colors:bg-[ButtonFace] forced-colors:text-[ButtonText]"},brand:{selected:"bg-action-brand text-[color:var(--color-action-brand-text)] hover:bg-action-brand-hover forced-colors:bg-[ButtonText] forced-colors:text-[ButtonFace] border-2 border-transparent",unselected:"bg-transparent text-action-default border-2 border-border-muted hover:bg-text-body/[0.05] forced-colors:border-[ButtonBorder] forced-colors:bg-[ButtonFace] forced-colors:text-[ButtonText]"}},cS="opacity-[--control-hover-opacity] cursor-not-allowed pointer-events-none grayscale",dS="opacity-100 cursor-pointer",uS={"top-right":"-right-2 -top-2","top-left":"-left-2 -top-2","bottom-right":"-right-2 -bottom-2","bottom-left":"-left-2 -bottom-2"},pS={primary:"bg-action-brand text-white",destructive:"bg-action-destructive text-white"};function mS(e){let{variant:t="default",size:r="md",isDisabled:o,isSelected:n,borderRadius:a,borderRight:i,borderLeft:l}=e,s=`${lS} ${n?Lf[t].selected:Lf[t].unselected}`;return s+=` ${ue[r].text} ${ue[r].height} ${ue[r].padding} ${ue[r].gap}`,s+=` ${o?cS:dS}`,a==="left"&&(s+=" rounded-l-sm"),a==="right"&&(s+=" rounded-r-sm"),i&&(s+=" border-r"),l&&(s+=" border-l"),s+=` ${Se()}`,t==="brand"&&(s+=" focus-visible:outline-action-brand"),tailwindMerge.twMerge(s)}function Ef(e){let{className:t,children:r,onPress:o,icon:n,iconPosition:a="left",iconWeight:i,isLoading:l=false,loadingText:s,loadingIndicator:c,size:p="md",badgeNumber:d,badgeVariant:m="primary",badgePosition:u="top-right",...g}=e,f=n?jsxRuntime.jsx(P,{name:n,className:`icon-[--control-icon-size-${p}]`,weight:i}):null,b=()=>{let y=jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[a==="left"&&f,r,a==="right"&&f]});return l?jsxRuntime.jsxs("div",{className:"relative inline-flex items-center justify-center",children:[jsxRuntime.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:c||jsxRuntime.jsx(P,{name:"CircleNotch",className:`animate-spin icon-[--control-icon-size-${p}]`,"aria-hidden":"true"})}),jsxRuntime.jsx("div",{className:"invisible","aria-hidden":"true",children:y}),s&&jsxRuntime.jsx("span",{className:"sr-only",role:"status","aria-live":"polite",children:s})]}):y},x=jsxRuntime.jsx(reactAriaComponents.ToggleButton,{onPress:o,...g,className:tailwindMerge.twMerge(mS(e),t),"aria-busy":l,children:b()});return d&&d>0?jsxRuntime.jsxs("div",{className:"relative",children:[x,jsxRuntime.jsx("span",{className:`absolute ${uS[u]} flex h-5 w-5 items-center justify-center rounded-full ${pS[m]} text-xs`,"aria-label":`${d} items`,children:d})]}):x}var Vn={site:{icon:"MapPin",label:{singular:"Site",plural:"Sites"},description:"Physical locations with energy systems"},device:{icon:"ShareNetwork",label:{singular:"Device",plural:"Devices"},description:"Connected energy devices"},customer:{icon:"Users",label:{singular:"Customer",plural:"Customers"},description:"End customers and site owners"},contact:{icon:"Users",label:{singular:"Contact",plural:"Contacts"},description:"Contact persons"},program:{icon:"ClipboardText",label:{singular:"Program",plural:"Programs"},description:"Demand response and VPP programs"},workflow:{icon:"FlowArrow",label:{singular:"Workflow",plural:"Workflows"},description:"Automated workflows and rules"},collection:{icon:"Stack",label:{singular:"Collection",plural:"Collections"},description:"Grouped entities"},board:{icon:"SquaresFour",label:{singular:"Board",plural:"Boards"},description:"Dashboard and monitoring boards"},report:{icon:"ChartLine",label:{singular:"Report",plural:"Reports"},description:"Analytics and reports"},event:{icon:"ClockCounterClockwise",label:{singular:"Event",plural:"Events"},description:"System events and activity"},alert:{icon:"Bell",label:{singular:"Alert",plural:"Alerts"},description:"Notifications and alerts"},command:{icon:"Play",label:{singular:"Command",plural:"Commands"},description:"Device commands and control"}};function gS(e){return Vn[e]}function bS(e){return Vn[e].icon}function xS(e,t=false){return t?Vn[e].label.plural:Vn[e].label.singular}function hH(e){switch(e){case "charging":case "on":return "success";case "discharging":return "warning";case "heat":case "cool":return "info";case "off":case "idle":case "eco":case "auto":return "neutral";case "unknown":default:return "neutral"}}Object.defineProperty(exports,"DialogTrigger",{enumerable:true,get:function(){return reactAriaComponents.DialogTrigger}});exports.ActionCell=gp;exports.ActionMenu=Xn;exports.ActivityFeed=ns;exports.ActivityFeedGroup=$n;exports.ActivityItem=_n;exports.Alert=Rd;exports.AppShell=Md;exports.AreaSeries=gn;exports.AutoMobileRenderer=Xa;exports.Autocomplete=ya;exports.Avatar=un;exports.BREAKPOINTS=Rr;exports.Badge=Ee;exports.BarSeries=Po;exports.BooleanCell=bp;exports.BreadcrumbItem=Ca;exports.Breadcrumbs=va;exports.Button=q;exports.Calendar=wo;exports.Card=Et;exports.CardContent=ds;exports.CardFooter=us;exports.CardHeader=ls;exports.CardMedia=cs;exports.CardMobileRenderer=qa;exports.ChartAxis=bn;exports.ChartBottomBar=Pa;exports.ChartContainer=ju;exports.ChartContext=ko;exports.ChartEventMarkers=Aa;exports.ChartTooltip=Ma;exports.Checkbox=Gr;exports.CheckboxGroup=Xs;exports.Chip=xr;exports.ClearButton=_d;exports.CodeEditor=ku;exports.Collapse=Ru;exports.CollapseContent=rl;exports.CollapseHeader=tl;exports.CollapseItem=el;exports.ColorModeProvider=fd;exports.Confirm=Mu;exports.ConnectionStatusBadge=Lu;exports.ContactMetaCell=hp;exports.ContactMetaDisplay=Na;exports.CopyToClipboard=ka;exports.DataControls=ap;exports.DataTable=Op;exports.DateCell=yp;exports.DateField=sp;exports.DateRangePicker=Ia;exports.Description=we;exports.DeviceHealthBadge=Gp;exports.DeviceMetaCell=Cp;exports.DeviceMetaDisplay=Ha;exports.DeviceStateBadge=Xr;exports.DeviceStateCell=kp;exports.DeviceStateWithMetric=Wa;exports.DeviceTypeIcon=Up;exports.Dialog=fr;exports.DialogHeader=Je;exports.Drawer=Dl;exports.ENTITY_CONFIG=Vn;exports.EmptyState=Jp;exports.EnrollmentStatusBadge=Zp;exports.ErrorBoundary=St;exports.FieldError=be;exports.FieldGroup=ha;exports.FileUpload=qp;exports.FilterChips=ip;exports.FilterDialog=pp;exports.FirmwareVersionBadge=Qp;exports.Form=$p;exports.FormatRegistry=Y;exports.FormattedCell=Pp;exports.FunnelSeries=ep;exports.Grid=Ml;exports.GridStateBadge=Ga;exports.Heading=mt;exports.Icon=P;exports.InfiniteScrollIndicator=ut;exports.Input=eu;exports.InputWrapper=br;exports.InteractiveMap=Yl;exports.Kpi=om;exports.KpiGroup=Fl;exports.Label=ve;exports.LineSeries=xn;exports.List=lm;exports.ListBox=Ex;exports.ListBoxItem=zt;exports.ListItem=dm;exports.ListPane=um;exports.Loader=qn;exports.Logo=ra;exports.MAP_TYPES=Im;exports.Meter=Gm;exports.ModalBackdrop=ot;exports.Notice=di;exports.NoticeContainer=ui;exports.NoticeProvider=Um;exports.NumberCell=Dp;exports.NumberField=Sn;exports.PageLayout=io;exports.PlaceSearch=tf;exports.Popover=We;exports.ProgressBar=of;exports.Radio=sf;exports.RadioCard=_l;exports.RadioCardGroup=ec;exports.RadioGroup=af;exports.RangeCalendar=Eo;exports.ResultsCount=yn;exports.RichTextEditor=df;exports.SKELETON_SIZES=Cr;exports.SearchControl=Jr;exports.Section=Ko;exports.SectionNav=gi;exports.SegmentedControl=Ci;exports.Select=zr;exports.SelectCell=Rp;exports.SideNav=oa;exports.SiteMetaCell=Mp;exports.SiteMetaDisplay=Ka;exports.Skeleton=F;exports.Slider=pf;exports.SortControl=Cn;exports.SplitPane=Si;exports.StatList=hf;exports.StaticMap=Hm;exports.Switch=Ba;exports.Tab=vi;exports.TabList=yi;exports.TabPanel=Zm;exports.Tabs=hi;exports.TextArea=yf;exports.TextAreaWithChips=wf;exports.TextCell=Lp;exports.TextField=Mo;exports.TextLink=kt;exports.TimeControls=Pf;exports.TimeField=Rf;exports.Timeline=Af;exports.TimelineItem=Mf;exports.ToggleButton=Ef;exports.Tooltip=fn;exports.TopNav=rn;exports.Tray=Lr;exports.activeDeviceStates=dv;exports.addFilterCondition=vr;exports.autoScaleCurrent=wg;exports.autoScaleDistance=kc;exports.autoScaleEnergy=Rc;exports.autoScalePower=Mg;exports.autoScaleResistance=Lg;exports.autoScaleVoltage=Og;exports.camelCaseToWords=Jc;exports.capitalize=Kc;exports.celsiusToFahrenheit=Fg;exports.celsiusToKelvin=s5;exports.centimetersToInches=Ww;exports.clearColorCache=yo;exports.createCategoryColorMap=cb;exports.createEmptyFilter=hn;exports.createFilter=x0;exports.createFilters=h0;exports.createFormat=M5;exports.createXScale=il;exports.createYScale=sl;exports.defaultMargin=oe;exports.deviceStateLabels=uv;exports.deviceStateMetricFormats=kA;exports.enumToSentenceCase=Vg;exports.exportChart=Ti;exports.fahrenheitToCelsius=Eg;exports.fahrenheitToKelvin=l5;exports.feetToMeters=Fw;exports.feetToMiles=Bw;exports.filterToChips=y0;exports.formatBoolean=xc;exports.formatCapacity=uw;exports.formatComponentValue=Lt;exports.formatCurrency=Sc;exports.formatCurrent=Mi;exports.formatDate=wc;exports.formatDistance=Tc;exports.formatEmptyValue=za;exports.formatEnergy=Oi;exports.formatFieldValue=Ar;exports.formatInternationalPhone=Hi;exports.formatNumber=Cc;exports.formatPercent=yc;exports.formatPhone=Mc;exports.formatPhoneNumber=Ac;exports.formatPower=Ki;exports.formatPowerRating=pw;exports.formatResistance=Ji;exports.formatTemperature=Oc;exports.formatText=Qc;exports.formatUSPhone=Kn;exports.formatVoltage=qi;exports.getBadgeClasses=mp;exports.getBooleanBadgeVariant=fp;exports.getCellAlignmentClasses=hl;exports.getCellContainerClasses=fe;exports.getCellTextClasses=vt;exports.getContrastingTextColor=db;exports.getDateParts=Pw;exports.getDefaultChartColor=$i;exports.getDefaultColors=id;exports.getDeviceStateDisplayLabel=Sl;exports.getDeviceStateLabel=Sl;exports.getEntityConfig=gS;exports.getEntityIcon=bS;exports.getEntityLabel=xS;exports.getExportFormatName=Yf;exports.getFieldGroupStyles=cn;exports.getFilterFields=pl;exports.getGridStateLabel=wp;exports.getInputBackgroundStyles=xa;exports.getInputBaseStyles=Nt;exports.getInputStateStyles=ba;exports.getLinkClasses=yl;exports.getNumericColorClasses=Oa;exports.getResolvedColor=ze;exports.getSkeletonSize=Ct;exports.getStateTone=hH;exports.getThemeCategoricalColors=$o;exports.getYFormatSettings=Do;exports.gridStateLabels=mv;exports.inchesToCentimeters=Gw;exports.isActiveDeviceState=Cl;exports.isActiveState=Cl;exports.isCustomPinsLayer=Wl;exports.isExportSupported=Kf;exports.isFilterEmpty=tp;exports.isGeoJsonLayer=Gl;exports.isLightColor=sd;exports.isNil=_;exports.isRasterLayer=Ul;exports.isVectorLayer=Hl;exports.kelvinToCelsius=Ig;exports.kelvinToFahrenheit=c5;exports.kilometersToMiles=Iw;exports.layer=Ol;exports.metersToFeet=Lw;exports.metersToMiles=Vw;exports.metersToYards=Hw;exports.milesToFeet=Nc;exports.milesToKilometers=Ew;exports.milesToMeters=zw;exports.parseBoolean=ur;exports.removeFilterCondition=Yr;exports.resolveValue=le;exports.snakeCaseToWords=Zc;exports.temperatureStringToSymbol=Ec;exports.toA=Sw;exports.toActiveInactive=fg;exports.toAmps=Wn;exports.toBoolean=dr;exports.toCelsius=Bc;exports.toCentimeters=Dg;exports.toCheckmark=bg;exports.toCompactNumber=vg;exports.toCurrency=vc;exports.toCustomDateFormat=Pg;exports.toDateString=Ng;exports.toEnabledDisabled=pg;exports.toFahrenheit=Ic;exports.toFeet=Ei;exports.toFloat=hg;exports.toFormattedNumber=yg;exports.toFullDateTime=kg;exports.toGW=e5;exports.toGWh=Dc;exports.toGigawatts=Ui;exports.toISOString=Tg;exports.toInches=Ag;exports.toInteger=xg;exports.toKA=ww;exports.toKV=x5;exports.toKW=$w;exports.toKelvin=Vc;exports.toKiloamps=Ai;exports.toKilohms=Lc;exports.toKilometers=Fi;exports.toKilovolts=Xi;exports.toKilowatts=Gi;exports.toLowerCase=Gc;exports.toMA=Cw;exports.toMV=g5;exports.toMW=_w;exports.toMWh=Pc;exports.toMegawatts=Wi;exports.toMegohms=Fc;exports.toMeters=Li;exports.toMiles=Ii;exports.toMilliamps=Ri;exports.toMillimeters=Rg;exports.toMilliohms=Yi;exports.toMillivolts=Zi;exports.toNauticalMiles=Mw;exports.toOhms=Jn;exports.toOnOff=mg;exports.toPercentage=hc;exports.toRelativeTime=Un;exports.toScientificNotation=Cg;exports.toSecret=zg;exports.toSentenceCase=Wc;exports.toTemperature=zc;exports.toTitleCase=Uc;exports.toTrueFalse=gg;exports.toUpperCase=Hc;exports.toV=b5;exports.toVolts=Zn;exports.toW=Qw;exports.toWatts=Yn;exports.toWh=Vi;exports.toYards=Bi;exports.tokWh=zi;exports.truncateEnd=jc;exports.truncateMiddle=Xc;exports.truncateStart=qc;exports.ucFirst=Yc;exports.useBreakpoint=bo;exports.useChartContext=rr;exports.useClientDataControls=zn;exports.useColorMode=pt;exports.useComponentFormatter=bw;exports.useDataControls=uc;exports.useDebounce=xo;exports.useInfiniteScroll=cr;exports.useInputFocus=Vt;exports.useLocalStorage=Hn;exports.useMediaQuery=Mt;exports.useNotice=Ym;exports.useServerDataControls=On;exports.wrapWithLink=Kt;exports.yardsToMeters=Ow;//# sourceMappingURL=index.cjs.map
80
+ `,backgroundSize:"30px 30px"}})})})}var Cf={streets:"streets",satellite:"satellite",neutral:"neutral"};function Kn(e,t){switch(e){case "streets":return t?"mapbox://styles/victor-texture/clzwxtrng005s01p93rtr04op":"mapbox://styles/mapbox/streets-v12";case "satellite":return "mapbox://styles/mapbox/satellite-streets-v12";case "neutral":return t?"mapbox://styles/mapbox/dark-v11":"mapbox://styles/mapbox/light-v11";default:return t?"mapbox://styles/victor-texture/clzwxtrng005s01p93rtr04op":"mapbox://styles/mapbox/streets-v12"}}function Sf({longitude:e,latitude:t,showPulse:r=true,accuracy:o}){return jsxRuntime.jsx(m1.Marker,{longitude:e,latitude:t,anchor:"center",children:jsxRuntime.jsxs("div",{className:"relative flex items-center justify-center",children:[r&&jsxRuntime.jsx("div",{className:"absolute h-12 w-12 animate-[ping_2s_ease-in-out_infinite] rounded-full bg-brand-primary opacity-30",style:{animationDelay:"0s"}}),jsxRuntime.jsx("div",{className:"relative z-10 flex h-5 w-5 items-center justify-center rounded-full bg-white shadow-lg",children:jsxRuntime.jsx("div",{className:"h-3 w-3 rounded-full bg-brand-primary"})}),o&&o>0&&jsxRuntime.jsx("div",{className:"pointer-events-none absolute rounded-full border border-brand-primary/20 bg-brand-primary/10",style:{width:`${Math.min(o/2,100)}px`,height:`${Math.min(o/2,100)}px`}})]})})}var vc=pr__namespace.default.forwardRef(({initialViewState:e,viewState:t,onViewStateChange:r,scrollEnabled:o=true,className:n,previewMode:a=false,previewModeCta:i,onPreviewModePress:s,mapType:l="streets",layers:c=[],mapboxAccessToken:p,transformRequest:d,isLoading:m=false,onLoad:u,controls:g="default",showUserLocation:f=true,onUserLocationChange:b,children:x,additionalInteractiveLayerIds:h=[],onMapClick:v,showMarker:y=false,markerLocation:C},S)=>{let w=p??vi();if(!w)return console.error("Mapbox token is required. Provide mapboxAccessToken prop or set NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN environment variable."),null;let{isDarkTheme:A}=vt(),N=pr.useRef(null),D=pr.useRef(null),[E,W]=pr.useState(false),[Z,B]=pr.useState(false);pr.useEffect(()=>{Ni();},[]);let[G,U]=pr.useState(false),ee=pr.useRef(0),[L,F]=pr.useState(null),[V,O]=pr.useState(null),R=pr.useRef(null),[I,K]=ra("interactiveMap.trackingLocation",false),[Y,H]=pr.useState(false);pr.useEffect(()=>{if(!navigator.geolocation){H(true);return}if(I){if(!navigator.permissions?.query){H(true);return}navigator.permissions.query({name:"geolocation"}).then(M=>{M.state!=="granted"&&K(false),H(true);}).catch(()=>{H(true);});}else H(true);},[]),pr.useEffect(()=>{let M=setTimeout(()=>{E||B(true);},200);return ()=>clearTimeout(M)},[E]),pr.useEffect(()=>{if(Y){if(!I||a){R.current!==null&&(navigator.geolocation.clearWatch(R.current),R.current=null);return}if(!navigator.geolocation){console.warn("Geolocation is not supported by this browser.");return}return R.current=navigator.geolocation.watchPosition(M=>{let T={latitude:M.coords.latitude,longitude:M.coords.longitude,accuracy:M.coords.accuracy};O(T),b?.(T);},M=>{console.warn("Geolocation error:",M.message),O(null),b?.(null);},{enableHighAccuracy:true,maximumAge:3e4,timeout:3e4}),()=>{R.current!==null&&(navigator.geolocation.clearWatch(R.current),R.current=null);}}},[I,a,b,Y]);let te=pr.useCallback(()=>{W(true),B(false),u?.();},[u]),z=pr.useCallback(()=>{N.current&&e&&(U(false),ee.current=0,N.current.flyTo({center:[e.longitude||0,e.latitude||0],zoom:e.zoom||0,bearing:e.bearing||0,pitch:e.pitch||0,duration:1e3}));},[e]),q=pr.useMemo(()=>g===false||g===null?[]:g==="default"||g===void 0?dc:g,[g]),oe=pr.useCallback(()=>{if(!navigator.geolocation){console.warn("Geolocation is not supported by this browser.");return}K(true),navigator.geolocation.getCurrentPosition(M=>{let{latitude:T,longitude:_}=M.coords;N.current&&N.current.jumpTo({center:[_,T],zoom:15});},M=>{console.warn("Geolocation error:",M.message),M.code===M.PERMISSION_DENIED&&K(false);},{enableHighAccuracy:true,timeout:1e4,maximumAge:0});},[]),Ge=pr.useMemo(()=>{if(a)return null;let M=q.map(T=>T.type==="navigation"?{...T,onResetZoom:T.onResetZoom||z,onGeolocateClick:T.onGeolocateClick||oe}:T);return mc(M,{mapRef:N,layers:c,showResetButton:G})},[q,N,a,c,z,G,oe]),Re=pr.useMemo(()=>{let M=[];return c.filter(T=>T.events?.onClick||T.events?.onMouseEnter||T.events?.onMouseLeave||T.tooltip).forEach(T=>{T.kind==="clusteredVector"?(M.push(`${T.id}-clusters`),M.push(`${T.id}-points`),M.push(`${T.id}-selected-point`)):M.push(T.id);}),[...M,...h]},[c,h]),Ae=pr.useMemo(()=>{let M=new Map;return c.forEach(T=>{T.events&&M.set(T.id,T.events);}),M},[c]),gr=pr.useMemo(()=>{let M=new Map;return c.forEach(T=>{T.tooltip&&(M.set(T.id,T.tooltip),T.kind==="clusteredVector"&&(M.set(`${T.id}-clusters`,T.tooltip),M.set(`${T.id}-points`,T.tooltip),M.set(`${T.id}-selected-point`,T.tooltip)));}),M},[c]),At=pr.useMemo(()=>{let M=new Map;return c.forEach(T=>{T.kind==="clusteredVector"&&(M.set(T.id,T),M.set(`${T.id}-clusters`,T),M.set(`${T.id}-points`,T),M.set(`${T.id}-selected-point`,T));}),M},[c]),J=pr.useMemo(()=>{if(!y)return null;let M=C?.longitude??t?.longitude??e?.longitude,T=C?.latitude??t?.latitude??e?.latitude;return M===void 0||T===void 0?null:{longitude:M,latitude:T}},[y,C,t,e]),pe=pr.useCallback(M=>{if(a)return;let T=M.features?.[0];if(!T||!T.layer)return;let _=T.layer.id,ae=Ae.get(_),Q=gr.get(_),he;T.geometry.type==="Point"?he=T.geometry.coordinates:he=[M.lngLat.lng,M.lngLat.lat];let de={id:T.id,lngLat:he,properties:T.properties||{},layerId:_},dt=At.get(_),ko=T.properties?.cluster===true;if(dt&&ko){let Ue=N.current;if(Ue){let Ki=Ue.getZoom(),wg=Math.min(Ki+3,18);Ue.flyTo({center:he,zoom:wg,duration:1e3});}return}if(ae?.onClick&&ae.onClick(de),Q&&Q.trigger==="click"){let Ue;dt&&"cluster"in Q?Q.point&&(Ue=Q.point(de)):"content"in Q&&(Ue=typeof Q.content=="function"?Q.content(de):Q.content),Ue&&F({feature:de,content:Ue});}v&&v(M);},[Ae,gr,a,v,At,N]),Ne=pr.useCallback(M=>{if(a)return;let T=M.features?.[0];if(!T||!T.layer)return;let _=T.layer.id,ae=Ae.get(_),Q=gr.get(_),he;T.geometry.type==="Point"?he=T.geometry.coordinates:he=[M.lngLat.lng,M.lngLat.lat];let de={id:T.id,lngLat:he,properties:T.properties||{},layerId:_};if(ae?.onMouseEnter&&ae.onMouseEnter(de),Q&&(Q.trigger==="hover"||!Q.trigger)){let dt;if(At.get(_)&&"cluster"in Q){let Ue=T.properties?.cluster===true;if(Ue&&Q.cluster){let Ki=T.properties?.point_count||0;dt=Q.cluster(Ki,de);}else !Ue&&Q.point?dt=Q.point(de):dt=Ue?`${T.properties?.point_count||0} items`:null;}else "content"in Q&&(dt=typeof Q.content=="function"?Q.content(de):Q.content);dt&&F({feature:de,content:dt});}N.current&&(N.current.getCanvas().style.cursor="pointer");},[Ae,gr,a,N,At]),Se=pr.useCallback(()=>{if(!a){if(Ae.forEach(M=>{M.onMouseLeave?.();}),L){let M=L.feature.layerId,T=c.find(_=>_.id===M);if(!T){let _=M.replace(/-(?:clusters|points|selected-point|cluster-shadows|points-shadow|cluster-count)$/,"");T=c.find(ae=>ae.id===_);}T?.tooltip&&(T.tooltip.trigger||"hover")==="hover"&&F(null);}N.current&&(N.current.getCanvas().style.cursor="");}},[Ae,a,N,L,c]),xe=pr.useCallback((M,T)=>{for(let _ of c)if(_.tooltip&&!(T&&_.id!==T)){if(_.kind==="geojson"){if(typeof _.data=="string")continue;let ae=_.data,he=(ae.type==="FeatureCollection"?ae.features:[ae]).find(de=>de.id===M);if(he&&he.geometry.type==="Point")return {id:he.id,lngLat:he.geometry.coordinates,properties:he.properties||{},layerId:_.id}}else if(_.kind==="customPins"){let ae=_.data.find(Q=>Q.id===M||Q._id===M||Q.key===M);if(ae)return {id:M,lngLat:_.getPosition(ae),properties:ae,layerId:_.id}}}return null},[c]);pr.useImperativeHandle(S,()=>({showTooltip:(M,T)=>{let _=xe(M,T);if(!_)return;let ae=c.find(Q=>Q.id===_.layerId);if(ae?.tooltip&&"content"in ae.tooltip){let Q=typeof ae.tooltip.content=="function"?ae.tooltip.content(_):ae.tooltip.content;F({feature:_,content:Q});}},hideTooltip:()=>{F(null);},getMap:()=>N.current}),[xe,c]);let Be=(M,T)=>d?d(M,T):{url:M},Oe=m||Z;return jsxRuntime.jsx("div",{ref:D,className:tailwindMerge.twMerge("relative flex h-full w-full overflow-hidden",a&&"cursor-pointer",n),onClick:a?s:void 0,children:jsxRuntime.jsxs("div",{style:{flex:1},children:[jsxRuntime.jsxs(m1__default.default,{ref:N,initialViewState:e,...t&&t,style:{width:"100%",height:"100%"},mapStyle:Kn(l,A),mapboxAccessToken:w,transformRequest:Be,onLoad:te,onMove:a?void 0:M=>{if(M.originalEvent&&E){let T=M.originalEvent.type,_=Math.abs((M.viewState.latitude??0)-(e?.latitude??0)),ae=Math.abs((M.viewState.longitude??0)-(e?.longitude??0)),Q=Math.abs((M.viewState.zoom??0)-(e?.zoom??0));e&&(_>1e-4||ae>1e-4||Q>.1)&&(T==="mousemove"||T==="touchmove"||T==="pointermove"?U(true):(T==="wheel"||T==="mousewheel")&&(ee.current+=1,ee.current>=3&&U(true)));}r?.(M.viewState);},onClick:a?void 0:pe,onMouseEnter:a?void 0:Ne,onMouseLeave:a?void 0:Se,interactiveLayerIds:a?[]:Re,scrollZoom:a?false:o,dragPan:!a,dragRotate:!a,doubleClickZoom:!a,interactive:!a,children:[Ge,Un(c,l),x,J&&jsxRuntime.jsx(m1.Marker,{longitude:J.longitude,latitude:J.latitude,anchor:"bottom",children:jsxRuntime.jsx(k,{name:"MapPin",size:36,className:"text-map-marker-default",weight:"fill"})}),f&&V&&jsxRuntime.jsx(Sf,{longitude:V.longitude,latitude:V.latitude,accuracy:V.accuracy}),L&&jsxRuntime.jsx(m1.Popup,{longitude:L.feature.lngLat[0],latitude:L.feature.lngLat[1],offset:15,closeButton:false,closeOnClick:false,className:"map-tooltip",children:L.content})]},`map-${l}`),Oe&&jsxRuntime.jsx(ki,{}),a&&i&&jsxRuntime.jsx("div",{className:"absolute bottom-8 right-8 z-10",children:i})]})})});vc.displayName="InteractiveMap";function en({width:e="100%",height:t="100%",initialViewState:r={longitude:-122.4194,latitude:37.7749,zoom:14},isLoading:o=false,mapType:n="streets",layers:a=[],mapboxAccessToken:i,showMarker:s=true,showAttribution:l=false,onLoad:c,className:p}){let d=i??vi(),{isDarkTheme:m}=vt(),[u,g]=pr.useState(false),[f,b]=pr.useState(false);pr.useEffect(()=>{Ni();},[]);let x={width:typeof e=="number"?`${e}px`:e,height:typeof t=="number"?`${t}px`:t};pr.useEffect(()=>{let y=setTimeout(()=>{u||b(true);},200);return ()=>clearTimeout(y)},[u]);let h=pr.useCallback(()=>{g(true),b(false),c?.();},[c]),v=o||f;return d?jsxRuntime.jsxs("div",{style:x,className:`relative ${p||""}`,children:[jsxRuntime.jsxs(m1__default.default,{mapboxAccessToken:d,initialViewState:r,style:x,mapStyle:Kn(n,m),onLoad:h,scrollZoom:false,dragPan:false,dragRotate:false,doubleClickZoom:false,touchZoomRotate:false,interactive:false,attributionControl:l,children:[Un(a,n),s&&r.longitude!==void 0&&r.latitude!==void 0&&jsxRuntime.jsx(m1.Marker,{longitude:r.longitude,latitude:r.latitude,anchor:"bottom",children:jsxRuntime.jsx(k,{name:"MapPin",size:36,className:"text-map-marker-default",weight:"fill"})})]}),v&&jsxRuntime.jsx(ki,{})]}):jsxRuntime.jsx("div",{style:x,className:`flex items-center justify-center bg-background-muted text-text-muted ${p}`,children:jsxRuntime.jsxs("div",{className:"text-center",children:[jsxRuntime.jsx(k,{name:"MapPin",size:48,className:"mx-auto mb-2 opacity-50"}),jsxRuntime.jsx("p",{className:"text-sm",children:"Map requires Mapbox token"})]})})}var S1={sm:{bar:"h-1.5 w-48",text:"text-xs",icon:"h-3 w-3"},md:{bar:"h-2 w-64",text:"text-sm",icon:"h-4 w-4"},lg:{bar:"h-3 w-80",text:"text-base",icon:"h-5 w-5"}};function Tf({label:e,size:t="md",variant:r="default",showWarningIndicator:o=true,warningThreshold:n=80,className:a,...i}){let s=S1[t];return jsxRuntime.jsx(reactAriaComponents.Meter,{...i,className:se(a,"flex flex-col gap-1"),children:({percentage:l,valueText:c})=>{let p=o&&l>=n,d=r==="default"?w1(l):r;return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs("div",{className:"flex justify-between gap-2",children:[e&&jsxRuntime.jsx(ye,{children:e}),jsxRuntime.jsxs("span",{className:tailwindMerge.twMerge(s.text,p?"text-feedback-error-text":"text-text-muted"),children:[p&&jsxRuntime.jsx(lucideReact.AlertTriangle,{"aria-label":"Warning: High value",className:tailwindMerge.twMerge("inline-block align-text-bottom mr-1",s.icon)}),c]})]}),jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("relative rounded-full bg-background-muted","ring-1 ring-inset ring-border-muted",s.bar),children:jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("absolute left-0 top-0 h-full rounded-full transition-all duration-300","forced-colors:bg-[Highlight]",N1(d)),style:{width:`${Math.min(100,Math.max(0,l))}%`},role:"presentation","aria-hidden":"true"})})]})}})}function w1(e){return e<50?"success":e<70?"info":e<90?"warning":"error"}function N1(e){switch(e){case "success":return "bg-feedback-success-text";case "warning":return "bg-feedback-warning-text";case "error":return "bg-feedback-error-text";case "info":return "bg-feedback-info-text";default:return "bg-action-brand"}}var E1={success:{container:"bg-feedback-success-background border-feedback-success-border text-feedback-success-text",icon:lucideReact.CheckCircle},error:{container:"bg-feedback-error-background border-feedback-error-border text-feedback-error-text",icon:lucideReact.XCircle},warning:{container:"bg-feedback-warning-background border-feedback-warning-border text-feedback-warning-text",icon:lucideReact.AlertCircle},info:{container:"bg-feedback-info-background border-feedback-info-border text-feedback-info-text",icon:lucideReact.Info}};function Ai({id:e,message:t,variant:r="info",duration:o=5e3,dismissible:n=true,onDismiss:a,className:i}){let{container:s,icon:l}=E1[r];return pr.useEffect(()=>{if(o>0){let c=setTimeout(()=>{a?.();},o);return ()=>clearTimeout(c)}},[o,a]),jsxRuntime.jsxs(framerMotion.motion.div,{layout:true,initial:{opacity:0,y:-20,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,scale:.95,transition:{duration:.2}},className:tailwindMerge.twMerge("pointer-events-auto flex items-start gap-3 rounded-lg border p-4 shadow-lg",s,i),children:[jsxRuntime.jsx(l,{className:"h-5 w-5 flex-shrink-0"}),jsxRuntime.jsx("p",{className:"flex-1 text-sm font-medium",children:t}),n&&jsxRuntime.jsx("button",{onClick:a,className:"flex-shrink-0 rounded-md p-1 transition-colors hover:bg-black/10","aria-label":"Dismiss notification",children:jsxRuntime.jsx(lucideReact.X,{className:"h-4 w-4"})})]})}var W1={"top-left":"top-4 left-4 items-start","top-center":"top-4 left-1/2 -translate-x-1/2 items-center","top-right":"top-4 right-4 items-end","bottom-left":"bottom-4 left-4 items-start","bottom-center":"bottom-4 left-1/2 -translate-x-1/2 items-center","bottom-right":"bottom-4 right-4 items-end"};function Mi({notices:e,onDismiss:t,position:r="top-right",className:o}){let[n,a]=pr.useState(false);if(pr.useEffect(()=>{a(true);},[]),!n)return null;let i=jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("pointer-events-none fixed z-50 flex flex-col gap-2",W1[r],o),"aria-live":"polite","aria-atomic":"true",children:jsxRuntime.jsx(framerMotion.AnimatePresence,{mode:"sync",children:e.map(s=>jsxRuntime.jsx(Ai,{id:s.id,message:s.message,variant:s.variant,duration:s.duration,dismissible:s.dismissible,onDismiss:()=>t(s.id)},s.id))})});return reactDom.createPortal(i,document.body)}var Pf=pr.createContext(void 0);function Df({children:e,position:t="top-right",maxNotices:r=5,defaultDuration:o=5e3,defaultDismissible:n=true}){let[a,i]=pr.useState([]),s=pr.useCallback((d,m)=>{let u=`notice-${Date.now()}-${Math.random()}`,g={id:u,message:d,variant:m?.variant||"info",duration:m?.duration??o,dismissible:m?.dismissible??n};return i(f=>{let b=[...f,g];return b.length>r?b.slice(-r):b}),u},[r,o,n]),l=pr.useCallback(d=>{i(m=>m.filter(u=>u.id!==d));},[]),c=pr.useCallback(()=>{i([]);},[]),p={notices:a,addNotice:s,removeNotice:l,clearNotices:c};return jsxRuntime.jsxs(Pf.Provider,{value:p,children:[e,jsxRuntime.jsx(Mi,{notices:a,onDismiss:l,position:t})]})}function Rf(){let e=pr.useContext(Pf);if(!e)throw new Error("useNoticeContext must be used within a NoticeProvider");return e}function Af(){let{addNotice:e,removeNotice:t,clearNotices:r}=Rf(),o=pr.useCallback((l,c)=>e(l,c),[e]),n=pr.useCallback((l,c)=>e(l,{...c,variant:"success"}),[e]),a=pr.useCallback((l,c)=>e(l,{...c,variant:"error"}),[e]),i=pr.useCallback((l,c)=>e(l,{...c,variant:"warning"}),[e]),s=pr.useCallback((l,c)=>e(l,{...c,variant:"info"}),[e]);return {show:o,success:n,error:a,warning:i,info:s,dismiss:t,clear:r}}var X1={plain:"",contained:"bg-background-surface rounded-lg border border-border-default p-6",bordered:"border-y border-border-default py-6"},q1={none:"",sm:"my-4",md:"my-6 md:my-8",lg:"my-8 md:my-12"};function tn({id:e,title:t,description:r,actions:o,variant:n="plain",spacing:a="none",withDivider:i=false,headingAs:s="h2",className:l,children:c}){let p=pr__namespace.default.useId(),d=e?`${e}-heading`:p,m=t||r||o;return jsxRuntime.jsxs("section",{id:e,className:tailwindMerge.twMerge(q1[a],X1[n],l),"aria-labelledby":t?d:void 0,children:[m&&jsxRuntime.jsxs("header",{id:d,className:tailwindMerge.twMerge("flex flex-col sm:flex-row sm:items-start sm:justify-between gap-4",i&&"border-b border-border-default pb-4 mb-6",!i&&c&&"mb-6"),children:[jsxRuntime.jsxs("div",{className:"min-w-0 flex-1",children:[t&&jsxRuntime.jsx(Ct,{tag:s,size:"md",className:"text-text-heading",children:t}),r&&jsxRuntime.jsx("p",{className:"mt-2 text-base text-text-muted",children:r})]}),o&&jsxRuntime.jsx("div",{className:"flex-shrink-0",children:o})]}),c&&jsxRuntime.jsx("div",{className:"",children:c})]})}tn.displayName="Section";function Ii({sections:e,activeSection:t,onSectionChange:r,orientation:o="responsive",className:n,scrollBehavior:a="smooth",stickyTop:i="1.5rem",sectionIdPrefix:s="section-",filterSection:l}){let c=pr__namespace.useRef(null),p=pr__namespace.useRef(null),[d,m]=pr__namespace.useState(e[0]?.id||null),u=t??d;pr__namespace.useEffect(()=>{if(t!==void 0&&r)return;let h=S=>{if(!S)return false;let w=window.getComputedStyle(S);return w.display!=="none"&&w.visibility!=="hidden"&&w.opacity!=="0"},v=()=>{let S=h(c.current),w=h(p.current);if(!S&&!w)return null;let A=new IntersectionObserver(N=>{N.forEach(D=>{if(D.isIntersecting){let E=D.target.id.replace(s,"");r?r(E):m(E);}});},{rootMargin:"-20% 0px -70% 0px",threshold:0});return e.forEach(N=>{let D=document.getElementById(`${s}${N.id}`);D&&A.observe(D);}),A},y=v(),C=()=>{y&&y.disconnect(),y=v();};return window.addEventListener("resize",C),()=>{y&&y.disconnect(),window.removeEventListener("resize",C);}},[e,s,t,r,o]);let g=pr__namespace.useMemo(()=>l?e.filter(l):e,[e,l]),f=pr__namespace.useCallback((h,v)=>{h.preventDefault();let y=document.getElementById(`${s}${v}`);y&&(y.scrollIntoView({behavior:a,block:"start"}),window.history.pushState&&window.history.pushState(null,"",`#${s}${v}`),r?r(v):m(v));},[s,a,r]);if(g.length===0)return null;let b=o==="vertical"?"":o==="horizontal"?"hidden":"hidden lg:block",x=o==="horizontal"?"":o==="vertical"?"hidden":"lg:hidden";return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("nav",{ref:c,className:tailwindMerge.twMerge(b,n),"aria-label":"Section navigation",children:jsxRuntime.jsx("div",{className:"space-y-1",style:{position:"sticky",top:i},children:g.map(h=>{let v=u===h.id;return jsxRuntime.jsx("a",{href:`#${s}${h.id}`,onClick:y=>f(y,h.id),className:tailwindMerge.twMerge("block w-full text-left px-3 py-2 rounded-md text-sm transition-colors no-underline",v?"bg-background-muted text-text-body font-medium":"text-text-muted hover:text-text-body hover:bg-background-hover"),"aria-current":v?"page":void 0,children:jsxRuntime.jsxs("span",{className:"flex items-center justify-between gap-2",children:[jsxRuntime.jsx("span",{children:h.label}),h.count!==void 0&&jsxRuntime.jsx("span",{className:"text-xs tabular-nums text-text-muted",children:h.count})]})},h.id)})})}),jsxRuntime.jsx("nav",{ref:p,className:tailwindMerge.twMerge(x,"overflow-x-auto sticky top-0 z-10 py-4 -mt-4",n),"aria-label":"Section navigation",children:jsxRuntime.jsx("div",{className:"flex gap-2 min-w-max",children:g.map(h=>{let v=u===h.id;return jsxRuntime.jsx("a",{href:`#${s}${h.id}`,onClick:y=>f(y,h.id),className:tailwindMerge.twMerge("inline-block px-4 py-2 rounded-md text-sm whitespace-nowrap transition-colors no-underline",v?"bg-background-muted text-text-body font-medium":"text-text-muted hover:text-text-body hover:bg-background-hover"),"aria-current":v?"page":void 0,children:jsxRuntime.jsxs("span",{className:"flex items-center gap-2",children:[jsxRuntime.jsx("span",{children:h.label}),h.count!==void 0&&jsxRuntime.jsxs("span",{className:"text-xs tabular-nums text-text-muted",children:["(",h.count,")"]})]})},h.id)})})})]})}var Bi=pr__namespace.createContext({variant:"default"});function tS({orientation:e,className:t=""}){return `flex flex-col w-full ${{horizontal:"",vertical:"flex-row"}[e]||""} ${t}`.trim()}function Vi({variant:e="default",...t}){return jsxRuntime.jsx(Bi.Provider,{value:{variant:e},children:jsxRuntime.jsx("div",{className:"w-full h-auto",children:jsxRuntime.jsx(reactAriaComponents.Tabs,{...t,className:reactAriaComponents.composeRenderProps(t.className,(r,o)=>tS({...o,className:r}))})})})}function rS({orientation:e,sticky:t=false,className:r=""}){let o="flex gap-10 relative after:absolute after:bottom-0 after:left-0 after:right-0 after:h-[2px] after:bg-border-muted",n={horizontal:"flex-row w-full",vertical:"flex-col items-start"},a=t?"sticky top-0 bg-background-surface z-10":"";return `${o} ${n[e]||""} ${a} ${r}`.trim()}function Oi({variant:e,sticky:t=false,...r}){let o=pr__namespace.useContext(Bi),n=e??o.variant;return jsxRuntime.jsx(Bi.Provider,{value:{variant:n},children:jsxRuntime.jsx(reactAriaComponents.TabList,{...r,className:reactAriaComponents.composeRenderProps(r.className,(a,i)=>rS({...i,sticky:t,className:a||""}))})})}function oS({isSelected:e,isDisabled:t,variant:r,className:o=""}){let n="flex items-center cursor-default px-1 py-2 font-medium transition-all hover:cursor-pointer relative",a=`${ke()} ${r==="brand"?"focus-visible:outline-action-brand":""}`.trim(),i="";return t?i="text-text-disabled forced-colors:text-[GrayText] cursor-not-allowed":e?r==="brand"?i="text-action-brand border-b-2 border-action-brand z-10 forced-colors:bg-[Highlight]":i="text-action-default border-b-2 border-action-default z-10 forced-colors:bg-[Highlight]":i="text-text-placeholder hover:text-text-muted",`${n} ${a} ${i} ${o}`.trim()}function Hi(e){let{variant:t}=pr__namespace.useContext(Bi);return jsxRuntime.jsx(reactAriaComponents.Tab,{...e,"data-testid":e.id?`tab-${e.id}`:void 0,className:reactAriaComponents.composeRenderProps(e.className,(r,o)=>oS({...o,className:r,isSelected:o.isSelected,variant:t}))})}function nS({className:e=""}){let t="block w-full mt-4 text-text-body",r=ke();return `${t} ${r} ${e}`.trim()}function Lf(e){return jsxRuntime.jsx(reactAriaComponents.TabPanel,{...e,className:reactAriaComponents.composeRenderProps(e.className,(t,r)=>nS({...r,className:t||""}))})}function xo({children:e,maxWidth:t=1400,paddingXClass:r="px-4 md:px-6",paddingYClass:o="pt-8 pb-14 md:pt-12 md:pb-28",className:n}){return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge(`w-full ${r} ${o}`,n),style:{marginInline:"auto",maxWidth:t},children:e})}function Ff({title:e,subtitle:t,breadcrumbs:r,breadcrumbsNode:o,media:n,actions:a,metadata:i,headingAs:s,sticky:l,stickyTop:c="0",zIndex:p=10,isLoading:d=false,className:m}){let u=l?"sticky bg-background-body":"",g=l?{top:c,zIndex:p}:{};return d?jsxRuntime.jsxs("header",{className:tailwindMerge.twMerge("mb-8 md:mb-12",u,m),style:g,"aria-labelledby":"page-title",children:[o||r?.length?jsxRuntime.jsx("div",{className:"mb-2 md:mb-4",children:jsxRuntime.jsx(P,{className:"h-4 w-32"})}):null,jsxRuntime.jsxs("div",{className:"flex flex-col md:flex-row md:items-start md:justify-between gap-4",children:[jsxRuntime.jsxs("div",{className:"min-w-0 flex-1",children:[jsxRuntime.jsx("div",{id:"page-title",children:jsxRuntime.jsx(P,{className:"h-8 w-64"})}),t?jsxRuntime.jsx(P,{className:"mt-2 h-5 w-48"}):null,i?jsxRuntime.jsx(P,{className:"mt-2 h-4 w-40"}):null,a?.length?jsxRuntime.jsx("div",{className:"mt-6 flex flex-wrap items-center gap-2 md:hidden",children:a.map((f,b)=>jsxRuntime.jsx(P,{className:"h-9 w-24"},b))}):null]}),a?.length?jsxRuntime.jsx("div",{className:"hidden md:flex md:items-center gap-2 shrink-0",children:a.map((f,b)=>jsxRuntime.jsx(P,{className:"h-9 w-24"},b))}):null]}),n?jsxRuntime.jsx("div",{className:"mt-4 md:mt-6",children:jsxRuntime.jsx(P,{className:"h-64 w-full"})}):null]}):jsxRuntime.jsxs("header",{className:tailwindMerge.twMerge("mb-8 md:mb-12",u,m),style:g,"aria-labelledby":"page-title",children:[o?jsxRuntime.jsx("div",{className:"mb-2 md:mb-4",children:o}):r?.length?jsxRuntime.jsx("div",{className:"mb-2 md:mb-4",children:jsxRuntime.jsx(za,{children:r.map((f,b)=>jsxRuntime.jsx(Va,{...f.href?{href:f.href}:{},children:f.label},`${f.label}-${b}`))})}):null,jsxRuntime.jsxs("div",{className:"flex flex-col md:flex-row md:items-start md:justify-between gap-4",children:[jsxRuntime.jsxs("div",{className:"min-w-0 flex-1",children:[jsxRuntime.jsx("div",{id:"page-title",children:jsxRuntime.jsx(Ct,{tag:s||"h1",size:"xl",children:e})}),t?jsxRuntime.jsx("p",{className:"mt-2 text-lg text-text-muted",children:t}):null,i?jsxRuntime.jsx("div",{className:"mt-2 text-sm text-text-muted",children:i}):null,a?.length?jsxRuntime.jsx("div",{className:"mt-6 flex flex-wrap items-center gap-2 md:hidden",children:a.map((f,b)=>jsxRuntime.jsx(pr__namespace.default.Fragment,{children:f},b))}):null]}),a?.length?jsxRuntime.jsx("div",{className:"hidden md:flex md:items-center gap-2 shrink-0",children:a.map((f,b)=>jsxRuntime.jsx(pr__namespace.default.Fragment,{children:f},b))}):null]}),n?jsxRuntime.jsx("div",{className:"mt-4 md:mt-6",children:n}):null]})}function Ef({tabs:e,value:t,defaultValue:r,onChange:o,className:n,children:a}){let i=s=>{o?.(s);};return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("mb-3 md:mb-4",n),children:jsxRuntime.jsxs(Vi,{selectedKey:t,defaultSelectedKey:r||e[0]?.id,onSelectionChange:i,children:[jsxRuntime.jsx(Oi,{children:e.map(s=>jsxRuntime.jsx(Hi,{id:s.id,isDisabled:s.disabled,children:s.label},s.id))}),a]})})}function If({children:e,className:t,withSectionNav:r,navWidth:o="240px",gap:n="3rem",activeSection:a,onSectionChange:i,scrollBehavior:s,sectionIdPrefix:l="section-"}){return r?jsxRuntime.jsx(aS,{position:r,navWidth:o,gap:n,activeSection:a,onSectionChange:i,scrollBehavior:s,sectionIdPrefix:l,className:t,children:e}):jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("w-full space-y-8 md:space-y-12",t),children:e})}function Bf({children:e,sticky:t=true,className:r}){return jsxRuntime.jsx("aside",{className:tailwindMerge.twMerge(t?"lg:sticky lg:top-20":"",r),children:e})}function aS({activeSection:e,onSectionChange:t,position:r,navWidth:o,gap:n,children:a,className:i,scrollBehavior:s,sectionIdPrefix:l}){let c=pr__namespace.default.useMemo(()=>{let g=[];return pr__namespace.default.Children.forEach(a,f=>{if(pr__namespace.default.isValidElement(f)&&(f.type===tn||typeof f.type=="object"&&f.type?.displayName==="Section"||typeof f.type=="function"&&f.type?.displayName==="Section")){let b=f.props;b.id?g.push({id:b.id,label:b.navLabel||(typeof b.title=="string"?b.title:`Section ${b.id}`)}):process.env.NODE_ENV==="development"&&console.warn("Section component used within PageLayout.Content with withSectionNav must have an id prop");}}),g},[a]),p=pr__namespace.default.useMemo(()=>{let g=pr__namespace.default.Children.map(a,f=>{if(pr__namespace.default.isValidElement(f)&&(f.type===tn||typeof f.type=="object"&&f.type?.displayName==="Section"||typeof f.type=="function"&&f.type?.displayName==="Section")){let b=f.props;if(b.id)return pr__namespace.default.cloneElement(f,{...b,id:`${l}${b.id}`})}return f});return jsxRuntime.jsx("div",{className:"space-y-8 md:space-y-12",children:g})},[a,l]),d=(g,f)=>jsxRuntime.jsx(Ii,{sections:c,activeSection:e,onSectionChange:t,orientation:g,scrollBehavior:s,sectionIdPrefix:l,className:f});if(r==="above")return jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("space-y-3",i),children:[jsxRuntime.jsx("div",{className:"sticky top-0 z-10 bg-background-body",children:d("horizontal")}),p]});let m=r==="left"?"var(--nav-width) 1fr":"1fr var(--nav-width)",u=r==="right"?"hidden lg:block sticky top-20 self-start [&_a]:text-right":"hidden lg:block sticky top-20 self-start";return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("div",{className:"lg:hidden sticky top-0 z-10 py-3 mt-4 bg-background-body",children:d("horizontal")}),jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("lg:grid",i),style:{gridTemplateColumns:m,gap:n,"--nav-width":o},children:[r==="left"&&jsxRuntime.jsx("nav",{className:u,children:d("vertical")}),p,r==="right"&&jsxRuntime.jsx("nav",{className:u,children:d("vertical")})]})]})}function zf({children:e,className:t}){return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex-1 overflow-auto min-h-0",t),children:e})}xo.Header=Ff;xo.Tabs=Ef;xo.Content=If;xo.Aside=Bf;xo.ScrollableContent=zf;function sS(e){return typeof e=="object"&&e!==null&&"features"in e&&Array.isArray(e.features)&&"type"in e&&typeof e.type=="string"}var lS=process.env.NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN||"";function Hf({label:e="Search for a place",selectedKey:t,defaultSelectedKey:r,onSelectionChange:o,placeholder:n="Enter a location...",errorMessage:a,description:i,size:s="md",tooltip:l,isRequired:c,isDisabled:p,showErrors:d=true,autoFocus:m=false,onSelect:u,searchTypes:g=["place","address"],defaultFilter:f,validationResult:b,countryRestrictions:x,proximity:h="ip"}){let v=pr.useRef(new WeakMap),y=pr.useRef([]),C={requestType:"REST",method:"GET",url:"https://api.mapbox.com/geocoding/v5/mapbox.places/{q}.json",extraParams:{access_token:lS,types:g.join(","),limit:"5",...x?.length?{country:x.join(",").toLowerCase()}:{},...h?{proximity:h==="ip"?"ip":h.join(",")}:{}},shouldLoad:A=>A.length>0,transformResponse:A=>{if(!sS(A))return [];let N=A.features.map(D=>{let E={id:D.id,name:D.place_name};return v.current.set(E,{type:D.place_type[0],center:D.center}),E});return N.length>0&&(y.current=N),N}},S=A=>{let N=v.current.get(A),D=A.name.split(", "),E=D[0],W=D.slice(1).join(", ");return jsxRuntime.jsxs("div",{className:"flex items-center gap-3 py-0.5",children:[jsxRuntime.jsx(k,{name:N?.type==="address"?"MapPin":N?.type==="place"?"Buildings":N?.type==="region"?"MapPinArea":N?.type==="country"?"Flag":"Circle",className:"h-5 w-5 flex-shrink-0 text-text-muted"}),jsxRuntime.jsxs("div",{className:"flex min-w-0 flex-col",children:[jsxRuntime.jsx("span",{className:"truncate font-medium text-text-body",children:E}),W&&jsxRuntime.jsx("span",{className:"truncate text-sm text-text-muted",children:W})]})]})},w=A=>A?jsxRuntime.jsx(k,{name:"CircleNotch",className:"h-4 w-4 animate-spin text-text-muted"}):jsxRuntime.jsx(k,{name:"MagnifyingGlass",className:"h-4 w-4 text-text-muted"});return jsxRuntime.jsx(Ba,{"data-testid":"autocomplete","data-config":JSON.stringify({types:g.join(","),country:x?.join(",")?.toLowerCase(),proximity:h==="ip"?"ip":h?.join(",")}),label:e,selectedKey:t,defaultSelectedKey:r,onSelectionChange:A=>{if(o?.(A),A){let D=y.current.find(E=>E.id===A);if(D){let E=v.current.get(D);E&&u({id:D.id,place_name:D.name,place_type:[E.type],center:E.center});}}},requestConfig:C,placeholder:n,errorMessage:a,description:i,size:s,tooltip:l,isRequired:c,isDisabled:p,showErrors:d,autoFocus:m,renderItem:S,renderLeftIcon:w,defaultFilter:f,validationResult:b})}function Gf({label:e,rightLabel:t,progressWidth:r=64,hideLabels:o=false,...n}){return jsxRuntime.jsx(reactAriaComponents.ProgressBar,{...n,className:se(n.className,"flex flex-col gap-1"),children:({percentage:a,valueText:i,isIndeterminate:s})=>jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[!o&&jsxRuntime.jsxs("div",{className:"flex items-center justify-between gap-2",children:[jsxRuntime.jsx("span",{className:"text-sm text-text-heading",children:e}),jsxRuntime.jsx("span",{className:"text-sm text-text-heading",children:t||i})]}),jsxRuntime.jsx("div",{className:`relative h-2 w-${r} overflow-hidden rounded-full bg-background-muted outline-none`,children:jsxRuntime.jsx("div",{className:`absolute top-0 h-full rounded-full bg-blue-600 dark:bg-blue-500 forced-colors:bg-[Highlight] ${s?"left-full duration-1000 ease-out animate-in slide-out-to-right-full repeat-infinite [--tw-enter-translate-x:calc(-16rem-100%)]":"left-0"}`,style:{width:(s?40:a)+"%"}})})]})})}function fS(e="2"){return {1:"p-2 text-xs",2:"p-3 text-sm",3:"p-4 text-base"}[e]}function gS(e="default",t){return t?{default:"border-action-default text-action-default",brand:"border-action-brand text-action-brand"}[e]:"border-border text-text-body"}function bS(){return "opacity-50 cursor-not-allowed"}function Dc({value:e,isDisabled:t,className:r,children:o,size:n="2",variant:a="default"}){return jsxRuntime.jsx(reactAriaComponents.Radio,{value:e,isDisabled:t,className:se(r,`flex items-center justify-center cursor-pointer transition-all duration-200 focus:outline-none focus:ring-2 ${a==="brand"?"focus:ring-action-brand":"focus:ring-action-default"} focus:ring-offset-2 rounded-lg min-h-[44px]`),children:({isSelected:s,isDisabled:l})=>jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("flex items-center justify-center w-full h-full transition-all duration-200 rounded-lg border-2 bg-background-surface",fS(n),gS(a,s),(t||l)&&bS(),r),children:o})})}function Rc({value:e,defaultValue:t,onChange:r,isDisabled:o,isReadOnly:n,isRequired:a,className:i,children:s,size:l="2",variant:c="default",columns:p="repeat(auto-fit, minmax(160px, 1fr))",gap:d="1"}){return jsxRuntime.jsx(reactAriaComponents.RadioGroup,{value:e,defaultValue:t,onChange:r,isDisabled:o,isReadOnly:n,isRequired:a,className:se(i,"grid"),style:{gridTemplateColumns:/^\d+$/.test(String(p))?`repeat(${p}, minmax(0, 1fr))`:p,gap:d==="1"?"0.25rem":d==="2"?"0.5rem":d==="3"?"0.75rem":d==="4"?"1rem":typeof d=="number"?`${d}px`:d},children:pr__namespace.default.Children.map(s,m=>pr__namespace.default.isValidElement(m)?pr__namespace.default.cloneElement(m,{size:l,variant:c}):m)})}var Uf=pr.createContext({variant:"brand"});function Kf(e){let{variant:t="brand",...r}=e;return jsxRuntime.jsx(Uf.Provider,{value:{variant:t},children:jsxRuntime.jsxs(reactAriaComponents.RadioGroup,{...r,className:se(e.className,"group flex flex-col gap-2"),children:[jsxRuntime.jsx(ye,{children:e.label}),jsxRuntime.jsx("div",{className:"flex gap-2 group-orientation-horizontal:gap-4 group-orientation-vertical:flex-col",children:e.children}),e.description&&jsxRuntime.jsx(Ce,{children:e.description}),jsxRuntime.jsx(fe,{children:typeof e.errorMessage=="function"&&e.validationResult?e.errorMessage(e.validationResult):typeof e.errorMessage=="string"?e.errorMessage:null})]})})}function CS({isSelected:e,isInvalid:t,isDisabled:r,variant:o="brand"}){let n=o==="brand"?"focus-visible:outline-action-brand":"focus-visible:outline-action-default",a=[ke(),n,"w-5 h-5 rounded-full border-2 bg-background-surface transition-all"];if(r)a.push("border-border-muted forced-colors:!border-[GrayText]");else if(t)a.push("border-feedback-error-border group-pressed:border-feedback-error-border dark:group-pressed:border-feedback-error-border forced-colors:!border-[Mark]");else if(e){let i=o==="brand"?"action-brand":"action-default";a.push(`border-[7px] border-${i} forced-colors:!border-[Highlight] group-pressed:border-${i}-hover dark:group-pressed:border-${i}-hover`);}else a.push("border-border-default group-pressed:border-border-focus dark:group-pressed:border-border-focus");return a.join(" ")}function Yf(e){let{variant:t}=pr.useContext(Uf);return jsxRuntime.jsx(reactAriaComponents.Radio,{...e,className:se(e.className,"group flex items-center gap-2 text-sm text-text-body transition disabled:text-text-muted dark:text-text-body dark:disabled:text-text-muted forced-colors:disabled:text-[GrayText]"),children:r=>jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("div",{className:CS({...r,variant:t})}),e.children]})})}var yo=({isActive:e=false,onPress:t,children:r})=>jsxRuntime.jsx(j,{variant:e?"secondary":"ghost",size:"sm",onPress:t,className:"p-1",children:r});function MS({initialUrl:e,isOpen:t,onClose:r,onSubmit:o}){let[n,a]=pr.useState(e);return pr__namespace.default.useEffect(()=>{a(e);},[e]),jsxRuntime.jsx(ut,{isDismissable:true,isOpen:t,onOpenChange:s=>!s&&r(),children:jsxRuntime.jsx(reactAriaComponents.Modal,{isDismissable:true,className:"flex items-center justify-center p-4",children:jsxRuntime.jsx(reactAriaComponents.Dialog,{className:"relative bg-background-surface rounded-lg shadow-xl max-w-md w-full",children:jsxRuntime.jsxs("form",{onSubmit:s=>{s.preventDefault(),o(n),r();},children:[jsxRuntime.jsx(Qe,{title:"Insert Link",onClose:r}),jsxRuntime.jsx("div",{className:"p-6",children:jsxRuntime.jsx(Wo,{label:"URL",type:"url",value:n,onChange:a,autoFocus:true,className:"w-full"})}),jsxRuntime.jsxs("div",{className:"flex justify-end gap-2 border-t border-border-muted p-4",children:[jsxRuntime.jsx(j,{variant:"secondary",onPress:r,children:"Cancel"}),jsxRuntime.jsx(j,{type:"submit",children:"Save"})]})]})})})})}function Xf({initialContent:e="",onChange:t,className:r,isDisabled:o=false,placeholder:n="Start typing..."}){let[a,i]=pr.useState(false),s=react.useEditor({immediatelyRender:false,extensions:[PS__default.default.configure({heading:{levels:[1,2]}}),wS__default.default.configure({openOnClick:false,HTMLAttributes:{class:"text-text-link-default hover:text-text-link-hover underline decoration-text-link-default/30 hover:decoration-text-link-hover cursor-pointer"}})],content:e,editable:!o,onUpdate:({editor:p})=>{t?.(p.getHTML());},editorProps:{attributes:{class:tailwindMerge.twMerge("prose prose-sm max-w-none","focus:outline-none","[&>*:first-child]:mt-0 [&>*:last-child]:mb-0")}}}),l=()=>{i(true);},c=p=>{p===""?s?.chain().focus().unsetLink().run():s?.chain().focus().setLink({href:p}).run();};return s?jsxRuntime.jsxs("div",{"data-richtexteditor":true,className:tailwindMerge.twMerge("flex flex-col rounded-md border border-border-input bg-background-input","outline-none focus-within:outline-none focus-within:border-border-input focus-within:ring-0 focus-within:shadow-none",o&&"opacity-50",r),style:{outline:"none"},children:[s&&jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs(menus.BubbleMenu,{editor:s,shouldShow:({editor:p})=>p.isActive("link")&&!a,className:"flex items-center gap-1 rounded-md border border-border-input bg-background-surface p-1 shadow-md",children:[jsxRuntime.jsxs(j,{variant:"ghost",size:"sm",className:"h-8 px-2",onPress:()=>{let p=s.getAttributes("link").href;window.open(p,"_blank");},children:[jsxRuntime.jsx(k,{name:"ArrowSquareOut",className:"mr-1 h-4 w-4"}),"Open"]}),jsxRuntime.jsxs(j,{variant:"ghost",size:"sm",className:"h-8 px-2",onPress:l,children:[jsxRuntime.jsx(k,{name:"PencilSimple",className:"mr-1 h-4 w-4"}),"Edit"]}),jsxRuntime.jsxs(j,{variant:"ghost",size:"sm",className:"h-8 px-2",onPress:()=>s.chain().focus().unsetLink().run(),children:[jsxRuntime.jsx(k,{name:"X",className:"mr-1 h-4 w-4"}),"Remove"]})]}),jsxRuntime.jsx(MS,{isOpen:a,onClose:()=>i(false),onSubmit:c,initialUrl:s.getAttributes("link").href||""})]}),jsxRuntime.jsxs("div",{className:"flex items-center gap-1 border-b border-border-input p-2",children:[jsxRuntime.jsx(yo,{isActive:s.isActive("heading",{level:1}),onPress:()=>s.chain().focus().toggleHeading({level:1}).run(),children:jsxRuntime.jsx("span",{className:"text-xs font-bold",children:"H1"})}),jsxRuntime.jsx(yo,{isActive:s.isActive("heading",{level:2}),onPress:()=>s.chain().focus().toggleHeading({level:2}).run(),children:jsxRuntime.jsx("span",{className:"text-xs font-bold",children:"H2"})}),jsxRuntime.jsx(yo,{isActive:s.isActive("bold"),onPress:()=>s.chain().focus().toggleBold().run(),children:jsxRuntime.jsx("span",{className:"text-xs font-bold",children:"B"})}),jsxRuntime.jsx(yo,{isActive:s.isActive("italic"),onPress:()=>s.chain().focus().toggleItalic().run(),children:jsxRuntime.jsx("span",{className:"text-xs italic",children:"I"})}),jsxRuntime.jsx("div",{className:"mx-1 h-4 w-px bg-border-muted"}),jsxRuntime.jsx(yo,{isActive:s.isActive("bulletList"),onPress:()=>s.chain().focus().toggleBulletList().run(),children:jsxRuntime.jsx(k,{name:"ListBullets",className:"h-4 w-4"})}),jsxRuntime.jsx(yo,{isActive:s.isActive("orderedList"),onPress:()=>s.chain().focus().toggleOrderedList().run(),children:jsxRuntime.jsx(k,{name:"ListNumbers",className:"h-4 w-4"})}),jsxRuntime.jsx("div",{className:"mx-1 h-4 w-px bg-border-muted"}),jsxRuntime.jsx(yo,{isActive:s.isActive("link"),onPress:l,children:jsxRuntime.jsx(k,{name:"PaperclipHorizontal",className:"h-4 w-4"})})]}),jsxRuntime.jsxs("div",{className:"relative min-h-[200px] w-full outline-none focus:outline-none",children:[jsxRuntime.jsx(react.EditorContent,{editor:s,className:tailwindMerge.twMerge("w-full p-4 outline-none focus:outline-none","[&_.ProseMirror]:min-h-[inherit]","[&_.ProseMirror]:outline-none [&_.ProseMirror]:focus:outline-none","[&_.ProseMirror_h1]:mb-4 [&_.ProseMirror_h1]:text-2xl [&_.ProseMirror_h1]:font-bold","[&_.ProseMirror_h2]:mb-3 [&_.ProseMirror_h2]:text-xl [&_.ProseMirror_h2]:font-semibold","[&_.ProseMirror_p]:mb-2","[&_.ProseMirror_ul]:mb-2 [&_.ProseMirror_ul]:ml-6 [&_.ProseMirror_ul]:list-disc","[&_.ProseMirror_ol]:mb-2 [&_.ProseMirror_ol]:ml-6 [&_.ProseMirror_ol]:list-decimal","[&_.ProseMirror_li]:mb-1","[&_.ProseMirror_blockquote]:border-l-4 [&_.ProseMirror_blockquote]:border-border-muted [&_.ProseMirror_blockquote]:pl-4 [&_.ProseMirror_blockquote]:italic","[&_.ProseMirror_code]:rounded [&_.ProseMirror_code]:bg-background-muted [&_.ProseMirror_code]:px-1 [&_.ProseMirror_code]:py-0.5 [&_.ProseMirror_code]:font-mono [&_.ProseMirror_code]:text-sm","[&_.ProseMirror_pre]:rounded-md [&_.ProseMirror_pre]:bg-background-muted [&_.ProseMirror_pre]:p-3 [&_.ProseMirror_pre]:font-mono [&_.ProseMirror_pre]:text-sm","[&_.ProseMirror_hr]:border-border-muted",o&&"pointer-events-none")}),s.isEmpty&&!o&&jsxRuntime.jsx("div",{className:"pointer-events-none absolute left-4 top-4 text-text-muted",children:n})]})]}):null}var ES={sm:"h-8 text-xs",md:"h-10 text-sm",lg:"h-12 text-base",xl:"h-14 text-lg"},IS={sm:14,md:16,lg:18,xl:20},BS=({isSelected:e,isFirst:t,isLast:r,isDisabled:o,variant:n="default"})=>{let a=n==="brand"?"action-brand":"action-default",i=n==="brand"?"focus-visible:outline-action-brand":"focus-visible:outline-action-default";return n==="secondary"?tailwindMerge.twMerge(ke(),"focus-visible:outline-action-default","px-3 text-center transition cursor-pointer forced-color-adjust-none -ml-px first:ml-0 flex items-center justify-center h-full gap-2",e?"bg-background-muted text-text-heading font-medium forced-colors:!bg-[Highlight] forced-colors:!text-[HighlightText]":"text-text-muted hover:bg-background-hover pressed:bg-background-hover forced-colors:!bg-[ButtonFace] forced-colors:!text-[ButtonText]",!r&&"border-r border-border-muted",o&&"bg-background-muted text-text-disabled forced-colors:!bg-[ButtonFace] forced-colors:!text-[GrayText] border-border-muted forced-colors:border-[GrayText] cursor-not-allowed"):tailwindMerge.twMerge(ke(),i,"px-3 text-center transition cursor-pointer forced-color-adjust-none -ml-px first:ml-0 flex items-center justify-center h-full gap-2",e?`bg-${a} text-[color:var(--color-${a}-text)] font-semibold forced-colors:!bg-[Highlight] forced-colors:!text-[HighlightText]`:"text-text-muted hover:bg-background-hover pressed:bg-background-hover forced-colors:!bg-[ButtonFace] forced-colors:!text-[ButtonText] hover:font-semibold",!r&&"border-r border-border-muted",o&&"bg-background-muted text-text-disabled forced-colors:!bg-[ButtonFace] forced-colors:!text-[GrayText] border-border-muted forced-colors:border-[GrayText] cursor-not-allowed")};function Wi({options:e,value:t,onChange:r,size:o="md",className:n,isDisabled:a,variant:i="default","aria-label":s}){return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("inline-flex overflow-hidden rounded-md",i==="secondary"?"border border-border-muted":"border-2 border-border-muted",ES[o],n),role:"group","aria-label":s,children:e.map((l,c)=>jsxRuntime.jsxs(reactAriaComponents.ToggleButton,{isSelected:t===l.id,onChange:()=>r(l.id),className:BS({isSelected:t===l.id,isFirst:c===0,isLast:c===e.length-1,isDisabled:a,variant:i}),isDisabled:a,"aria-label":l.label,children:[l.icon&&jsxRuntime.jsx(k,{name:l.icon,size:IS[o]}),l.label]},l.id))})}function Qf({streetAddress:e,city:t,state:r,postalCode:o,longitude:n,latitude:a,href:i,LinkComponent:s,variant:l="outlined",showMap:c=true,mapHeight:p=200,mapboxAccessToken:d,isLoading:m=false,className:u,contentClassName:g}){let f=[];t&&f.push(t),r&&o?f.push(`${r} ${o}`):r?f.push(r):o&&f.push(o);let b=f.join(", "),x=c&&n!==void 0&&a!==void 0,h=({children:v,className:y})=>i?s?jsxRuntime.jsx(s,{href:i,className:y,children:v}):jsxRuntime.jsx(Je,{href:i,variant:"unstyled",className:tailwindMerge.twMerge("hover:underline",y),asButton:false,children:v}):jsxRuntime.jsx("span",{className:y,children:v});return m?jsxRuntime.jsxs(be,{variant:l,className:u,children:[x&&jsxRuntime.jsx(be.Media,{aspectRatio:"auto",children:jsxRuntime.jsx(P,{width:"100%",height:p})}),jsxRuntime.jsxs(be.Content,{className:"space-y-2",children:[jsxRuntime.jsx(P,{width:"100%",height:16}),jsxRuntime.jsx(P,{width:"80%",height:16})]})]}):jsxRuntime.jsxs(be,{variant:l,className:tailwindMerge.twMerge("group/card relative",i&&"cursor-pointer",u),children:[i&&jsxRuntime.jsx(h,{className:"after:absolute after:inset-0 after:z-10",children:jsxRuntime.jsx("span",{className:"sr-only",children:e})}),x&&jsxRuntime.jsx(be.Media,{aspectRatio:"auto",children:jsxRuntime.jsx(en,{height:p,initialViewState:{longitude:n,latitude:a,zoom:14},showMarker:true,mapboxAccessToken:d})}),jsxRuntime.jsx(be.Content,{className:g,children:jsxRuntime.jsxs("div",{className:"flex flex-col gap-0 min-w-0 text-left",children:[jsxRuntime.jsx("span",{className:"text-lg font-semibold leading-tight text-text-heading group-hover/card:text-text-brand transition-colors",children:e}),b&&jsxRuntime.jsx("span",{className:"text-sm font-normal leading-relaxed text-text-muted",children:b})]})})]})}function _f({site:e,contact:t,LinkComponent:r,variant:o="outlined",showMap:n=true,mapHeight:a=200,mapboxAccessToken:i,showEmail:s=true,showPhone:l=false,isLoading:c=false,className:p,contentClassName:d}){let m=[];e.city&&m.push(e.city),e.state&&e.postalCode?m.push(`${e.state} ${e.postalCode}`):e.state?m.push(e.state):e.postalCode&&m.push(e.postalCode);let u=m.join(", "),g=n&&e.longitude!==void 0&&e.latitude!==void 0,f=t?`${t.firstName} ${t.lastName}`.trim():"",b=({children:x,href:h,className:v})=>h?r?jsxRuntime.jsx(r,{href:h,className:v,children:x}):jsxRuntime.jsx(Je,{href:h,variant:"unstyled",className:tailwindMerge.twMerge("hover:underline",v),asButton:false,children:x}):jsxRuntime.jsx("span",{className:v,children:x});return c?jsxRuntime.jsxs(be,{variant:o,className:p,children:[g&&jsxRuntime.jsx(be.Media,{aspectRatio:"auto",children:jsxRuntime.jsx(P,{width:"100%",height:a})}),jsxRuntime.jsxs(be.Content,{className:"space-y-4",children:[jsxRuntime.jsxs("div",{className:"space-y-2",children:[jsxRuntime.jsx(P,{width:"100%",height:16}),jsxRuntime.jsx(P,{width:"80%",height:16})]}),t&&jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("div",{className:"border-t border-border-default"}),jsxRuntime.jsxs("div",{className:"flex items-center gap-3",children:[jsxRuntime.jsx(P,{width:48,height:48,className:"rounded flex-shrink-0"}),jsxRuntime.jsxs("div",{className:"flex-1 space-y-1.5",children:[jsxRuntime.jsx(P,{width:"50%",height:20}),jsxRuntime.jsx(P,{width:"100%",height:14})]})]})]})]})]}):jsxRuntime.jsxs(be,{variant:o,className:tailwindMerge.twMerge("group/card relative",e.href&&"cursor-pointer",p),children:[e.href&&jsxRuntime.jsx(b,{href:e.href,className:"after:absolute after:inset-0 after:z-10",children:jsxRuntime.jsx("span",{className:"sr-only",children:e.streetAddress})}),g&&jsxRuntime.jsx(be.Media,{aspectRatio:"auto",children:jsxRuntime.jsx(en,{height:a,initialViewState:{longitude:e.longitude,latitude:e.latitude,zoom:14},showMarker:true,mapboxAccessToken:i})}),jsxRuntime.jsxs(be.Content,{className:tailwindMerge.twMerge("space-y-4",d),children:[jsxRuntime.jsxs("div",{className:"flex flex-col gap-0 min-w-0 text-left",children:[jsxRuntime.jsx("span",{className:"text-lg font-semibold leading-tight text-text-heading group-hover/card:text-text-brand transition-colors",children:e.streetAddress}),u&&jsxRuntime.jsx("span",{className:"text-sm font-normal leading-relaxed text-text-muted",children:u})]}),t&&jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("div",{className:"border-t border-border-default"}),jsxRuntime.jsxs("div",{className:"flex items-center gap-3 relative",children:[jsxRuntime.jsx(lr,{firstName:t.firstName,lastName:t.lastName,src:t.avatarUrl,size:"lg",variant:"user",shape:"square",className:"flex-shrink-0"}),jsxRuntime.jsxs("div",{className:"flex-1 min-w-0",children:[t.href?jsxRuntime.jsx(b,{href:t.href,className:"text-base font-semibold leading-tight text-text-heading block mb-1 hover:text-text-brand transition-colors relative z-20",children:f}):jsxRuntime.jsx("span",{className:"text-base font-semibold leading-tight text-text-heading block mb-1",children:f}),jsxRuntime.jsxs("div",{className:"space-y-0.5",children:[s&&t.email&&jsxRuntime.jsxs("div",{className:"flex items-center gap-2.5 text-text-body",children:[jsxRuntime.jsx(k,{name:"Envelope",size:14,className:"text-text-muted flex-shrink-0"}),jsxRuntime.jsx("span",{className:"text-sm leading-relaxed truncate",children:t.email})]}),l&&t.phone&&jsxRuntime.jsxs("div",{className:"flex items-center gap-2.5 text-text-body",children:[jsxRuntime.jsx(k,{name:"Phone",size:14,className:"text-text-muted flex-shrink-0"}),jsxRuntime.jsx("span",{className:"text-sm leading-relaxed truncate",children:t.phone})]})]})]})]})]})]})]})}function eg({label:e,description:t,tooltip:r,errorMessage:o,size:n="md",className:a,value:i,defaultValue:s=0,onChange:l,min:c=0,max:p=100,step:d=1,disabled:m,showValue:u=true}){let g=typeof i=="number",[f,b]=pr__namespace.default.useState(s),x=g?i:f,h=Math.min(Math.max(x,c),p),v=Math.max(p-c,1e-5),y=(h-c)/v*100;return jsxRuntime.jsxs("div",{className:se(a,"group flex w-full flex-col gap-1"),children:[e&&jsxRuntime.jsx(ye,{size:n,tooltip:r,className:"mb-1",children:e}),jsxRuntime.jsxs("div",{className:"flex items-center gap-3",children:[jsxRuntime.jsxs("div",{className:"relative w-full select-none",children:[jsxRuntime.jsx("div",{className:"h-1.5 w-full rounded-full bg-background-muted"}),jsxRuntime.jsx("div",{className:"pointer-events-none absolute left-0 top-1/2 h-1.5 -translate-y-1/2 rounded-full bg-action-brand",style:{width:`${y}%`},"aria-hidden":true}),jsxRuntime.jsx("input",{type:"range",min:c,max:p,step:d,value:x,disabled:m,"aria-invalid":!!o,onChange:C=>{let S=Number(C.currentTarget.value);g||b(S),l?.(S);},className:tailwindMerge.twMerge("absolute inset-0 w-full cursor-pointer appearance-none bg-transparent outline-none","[&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:h-4 [&::-webkit-slider-thumb]:w-4 [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:bg-background-input [&::-webkit-slider-thumb]:border [&::-webkit-slider-thumb]:border-border-input","hover:[&::-webkit-slider-thumb]:shadow-sm focus-visible:[&::-webkit-slider-thumb]:outline-2 focus-visible:[&::-webkit-slider-thumb]:outline-action-default","[&::-moz-range-thumb]:h-4 [&::-moz-range-thumb]:w-4 [&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:bg-background-input [&::-moz-range-thumb]:border [&::-moz-range-thumb]:border-border-input","hover:[&::-moz-range-thumb]:shadow-sm focus-visible:[&::-moz-range-thumb]:outline-2 focus-visible:[&::-moz-range-thumb]:outline-action-default",m?"cursor-not-allowed opacity-60":void 0)})]}),u&&jsxRuntime.jsx("div",{className:"min-w-10 text-right text-sm text-text-heading tabular-nums",children:Math.round(h)})]}),t&&jsxRuntime.jsx(Ce,{className:"mt-2 text-text-muted",children:t}),o&&jsxRuntime.jsx(fe,{className:"mt-1",children:o})]})}var GS=pr__namespace.default.createContext({orientation:"horizontal",isResizing:false});function rg(e,t){return e===void 0?t:e}function US(e,t){return typeof e=="number"?e:typeof e=="string"&&e.endsWith("%")?Number.parseFloat(e)/100*t:Number.parseFloat(e.toString())}function Ui({asideWidth:e,asideHeight:t,minAsideWidth:r=240,minAsideHeight:o=200,minMainWidth:n=400,minMainHeight:a=300,orientation:i="horizontal",resizable:s=false,onAsideResize:l,onResizeStart:c,onResizeEnd:p,className:d,dividerClassName:m,children:u}){let g=pr.useRef(null),[f,b]=pr.useState(false),x=i==="horizontal"?400:300,h=rg(i==="horizontal"?e:t,x),[v,y]=pr.useState(null),C=pr.useCallback(W=>{if(!g.current||!f)return;let Z=g.current.getBoundingClientRect(),B=i==="horizontal"?Z.width:Z.height,G=i==="horizontal"?W.clientX:W.clientY,ee=(i==="horizontal"?Z.right:Z.bottom)-G,L=B-ee,F=i==="horizontal"?r:o,V=i==="horizontal"?n:a;ee<F||L<V||(y(ee),l?.(ee));},[f,i,r,o,n,a,l]),S=pr.useCallback(()=>{b(false),p?.();},[p]),w=pr.useCallback(W=>{W.preventDefault(),W.stopPropagation(),b(true),c?.();},[c]);pr.useEffect(()=>{if(f)return document.addEventListener("mousemove",C),document.addEventListener("mouseup",S),document.body.style.cursor=i==="horizontal"?"col-resize":"row-resize",document.body.style.userSelect="none",()=>{document.removeEventListener("mousemove",C),document.removeEventListener("mouseup",S),document.body.style.cursor="",document.body.style.userSelect="";}},[f,C,S,i]);let A=pr__namespace.default.Children.toArray(u).find(W=>pr__namespace.default.isValidElement(W)&&W.type===ng),N=pr__namespace.default.Children.toArray(u).find(W=>pr__namespace.default.isValidElement(W)&&W.type===ag),D=v??h,E=typeof D=="number"?`${D}px`:D;return jsxRuntime.jsx(GS.Provider,{value:{orientation:i,isResizing:f},children:jsxRuntime.jsxs("div",{ref:g,className:tailwindMerge.twMerge("flex w-full h-full",i==="horizontal"?"flex-row":"flex-col",d),children:[jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("overflow-auto flex-1",i==="horizontal"?"h-full":"w-full"),children:A}),s&&jsxRuntime.jsxs("div",{className:tailwindMerge.twMerge("relative group flex-shrink-0",i==="horizontal"?"w-2 -mx-1 cursor-col-resize":"h-2 -my-1 cursor-row-resize",m),onMouseDown:w,role:"separator","aria-orientation":i,"aria-label":"Resize divider",tabIndex:0,onKeyDown:W=>{if(!g.current)return;let Z=g.current.getBoundingClientRect(),B=i==="horizontal"?Z.width:Z.height,G=v??US(h,B),U=20,ee=i==="horizontal"?r:o,L=i==="horizontal"?n:a;if(i==="horizontal"){if(W.key==="ArrowLeft"){let F=Math.min(G+U,B-L);y(F),l?.(F);}else if(W.key==="ArrowRight"){let F=Math.max(G-U,ee);y(F),l?.(F);}}else if(W.key==="ArrowUp"){let F=Math.min(G+U,B-L);y(F),l?.(F);}else if(W.key==="ArrowDown"){let F=Math.max(G-U,ee);y(F),l?.(F);}},children:[jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("absolute bg-border-default transition-all",i==="horizontal"?"left-1/2 -translate-x-1/2 w-px h-full group-hover:w-1":"top-1/2 -translate-y-1/2 h-px w-full group-hover:h-1","group-hover:bg-action-brand/50",f&&"bg-action-brand",f&&(i==="horizontal"?"w-1":"h-1"))}),jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("absolute",i==="horizontal"?"top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-1 h-8":"top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-8 h-1","bg-border-muted rounded-full opacity-0 group-hover:opacity-100 transition-opacity")})]}),jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("overflow-auto flex-shrink-0",i==="horizontal"?"h-full":"w-full"),style:{[i==="horizontal"?"width":"height"]:E},children:N})]})})}function ng({className:e,children:t}){return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("w-full h-full",e),children:t})}function ag({className:e,children:t}){return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("w-full h-full",e),children:t})}Ui.Main=ng;Ui.Aside=ag;function YS(e,t){return Ot({value:e,formatter:t,emptyClassName:"text-text-muted",emptyText:"\u2014"})}function JS(e){if(e.thresholds&&e.value!==null&&e.value!==void 0){for(let t of e.thresholds)if(t.when(e.value))return t.tone}return e.tone}var ZS={neutral:"text-text-body",success:"text-feedback-success",warning:"text-feedback-warning",error:"text-feedback-error",info:"text-feedback-info"};function XS({item:e,dense:t,valueAlign:r}){let o=JS(e),n=o?ZS[o]:"",a=YS(e.value,e.formatter),i=typeof e.copyable=="function"?e.copyable(e.value):String(e.value),s=jsxRuntime.jsx("span",{className:e.href?"hover:underline cursor-pointer":"",children:a}),l=jsxRuntime.jsxs("dd",{className:tailwindMerge.twMerge(t?"text-sm":"text-base","font-medium",r==="start"?"text-left":"text-right",n,e.disabled&&"opacity-50"),children:[e.copyable?jsxRuntime.jsxs(Ua,{value:i,size:"sm",className:"flex items-center gap-1",children:[s,e.iconRight]}):jsxRuntime.jsxs("div",{className:"flex items-center gap-1",children:[s,e.iconRight]}),e.meta&&jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("text-xs text-text-muted mt-0.5",r==="start"?"text-left":"text-right"),children:e.meta})]}),c=jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs("dt",{className:tailwindMerge.twMerge(t?"text-xs":"text-sm","text-text-caption truncate","flex items-center gap-1",e.disabled&&"opacity-50"),children:[e.iconLeft,jsxRuntime.jsx("span",{title:typeof e.label=="string"?e.label:void 0,children:e.label}),e.tooltip&&jsxRuntime.jsx(k,{name:"Question",size:10,className:"text-text-muted","aria-label":"More information"})]}),e.href?jsxRuntime.jsx("a",{href:e.href,onClick:e.onAction,className:"block",children:l}):l]});return jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("grid grid-cols-[1fr_auto] items-start",t?"gap-x-2":"gap-x-4"),children:c})}function ig({items:e,layout:t="one-column",dense:r=false,valueAlign:o="end",showDividers:n=false,skeleton:a=false,empty:i=false,error:s,className:l}){return a?jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("grid",t==="two-column"?"md:grid-cols-2 gap-x-6":"grid-cols-1",r?"gap-y-1":"gap-y-2",l),children:Array.from({length:e.length||4}).map((c,p)=>jsxRuntime.jsxs("div",{className:"grid grid-cols-[1fr_auto] items-start gap-x-4",children:[jsxRuntime.jsx(P,{className:"h-4 w-24"}),jsxRuntime.jsx(P,{className:"h-5 w-16"})]},p))}):s?jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("text-sm text-feedback-error",l),children:s}):i||!e.length?jsxRuntime.jsx("div",{className:tailwindMerge.twMerge("text-sm text-text-muted",l),children:"No data available"}):jsxRuntime.jsx("dl",{className:tailwindMerge.twMerge("grid",t==="two-column"?"md:grid-cols-2 gap-x-6":"grid-cols-1",r?"gap-y-1":"gap-y-2",l),children:e.map((c,p)=>jsxRuntime.jsxs(pr__namespace.default.Fragment,{children:[n&&p>0&&t==="one-column"&&jsxRuntime.jsx("div",{className:"col-span-full border-t border-border-default -mt-1 mb-1"}),jsxRuntime.jsx(XS,{item:c,dense:r,valueAlign:o})]},c.id))})}var QS=e=>{let t=mt({isInvalid:e.isInvalid,isDisabled:e.isDisabled,isFocused:e.isFocused,transparent:e.transparent,size:e.size}),r=`min-h-[100px] py-2 ${e.isDisabled?"resize-none":"resize-y"}`;return tailwindMerge.twMerge(t,r,e.className)};function sg({label:e,description:t,errorMessage:r,size:o="md",tooltip:n,required:a,transparent:i,isInvalid:s,isDisabled:l,className:c,validationResult:p,...d}){let{isFocused:m,handleFocus:u,handleBlur:g}=Tt();return jsxRuntime.jsx("div",{className:"group flex flex-col",children:jsxRuntime.jsxs("div",{className:"flex flex-col",children:[e&&jsxRuntime.jsx(ye,{size:o,tooltip:n,isRequired:a,children:e}),jsxRuntime.jsx(Ut,{children:jsxRuntime.jsx("textarea",{...d,required:a,onFocus:f=>{d.onFocus&&d.onFocus(f),u(f);},onBlur:f=>{d.onBlur&&d.onBlur(f),g(f);},className:QS({isInvalid:s,isDisabled:l,isFocused:m,size:o,transparent:i,className:c}),disabled:l})}),t&&jsxRuntime.jsx(Ce,{size:o,className:"mt-3",children:t}),typeof r=="string"&&jsxRuntime.jsx(fe,{size:o,className:"mt-1",children:r}),typeof r=="function"&&p&&jsxRuntime.jsx(fe,{size:o,className:"mt-1",children:r(p)})]})})}function ug({label:e,description:t,errorMessage:r,size:o="md",tooltip:n,required:a,transparent:i,isInvalid:s,isDisabled:l,className:c,validationResult:p,value:d="",onChange:m,chips:u=[],onChipsChange:g,triggerPattern:f="{{",onTriggerDetected:b,onTriggerDismissed:x,renderChip:h,chipVariant:v="brand",chipSize:y,...C}){let S=pr.useRef(null),{isFocused:w,handleFocus:A,handleBlur:N}=Tt(),D=y||"sm",E=pr.useRef(null),W=pr.useCallback(F=>{let V="",O=R=>{if(R.nodeType===Node.TEXT_NODE){if(!R.parentElement?.closest("[data-chip-id]")){let K=R.textContent||"";V+=K;}}else if(R.nodeType===Node.ELEMENT_NODE){let I=R;if(I.hasAttribute("data-chip-id")){let K=I.getAttribute("data-chip-id");V+=`{{${K}}}`;return}else if(I.tagName==="BR"){V+=`
81
+ `;return}else I.tagName;}for(let I=0;I<R.childNodes.length;I++)O(R.childNodes[I]);};return O(F),V},[]),Z=pr.useCallback((F,V)=>{let O=document.createTreeWalker(F,NodeFilter.SHOW_TEXT,{acceptNode:H=>{let te=H.parentElement;return te&&te.closest("[data-chip-id]")?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}}),R=O.nextNode(),I=Math.max(0,V);for(;R;){let H=R.nodeValue||"";if(H.length>=I){let te=document.createRange();te.setStart(R,I),te.collapse(true);let z=window.getSelection();z?.removeAllRanges(),z?.addRange(te);return}I-=H.length,R=O.nextNode();}let K=window.getSelection(),Y=document.createRange();Y.selectNodeContents(F),Y.collapse(false),K?.removeAllRanges(),K?.addRange(Y);},[]);pr.useEffect(()=>{S.current&&!d&&S.current.textContent!==""&&(S.current.textContent="");},[d]),pr.useLayoutEffect(()=>{if(S.current){if(d===""){if(w)try{S.current.focus({preventScroll:!0}),Z(S.current,0);}catch{}return}if(E.current!=null)try{Z(S.current,E.current);}finally{E.current=null;}}},[d,Z,w]);let B=pr.useCallback((F,V)=>{if(m?.(F),F===""){x?.();return}if(f&&b&&V!==void 0){let O=F.slice(0,V),R=typeof f=="string"?new RegExp(`\\${f}([^\\s]*)$`):f,I=O.match(R);if(I){let K=I[1]||"",Y=V-I[0].length;b({query:K,position:V,startIndex:Y});}else x?.();}},[m,f,b,x]),G=pr.useCallback(F=>{if(!g||!m)return;let V=u.filter(R=>R.id!==F);g(V);let O=d.replace(new RegExp(`\\{\\{${F}\\}\\}`,"g"),"");m(O);},[u,g,d,m]),U=pr.useCallback(F=>h?h(F,()=>G(F.id)):jsxRuntime.jsx(wr,{variant:v,size:D,onRemove:l?void 0:()=>G(F.id),isDisabled:l,className:"py-0.5 px-1.5 gap-1 text-xs leading-none rounded-md",children:F.label},F.id),[h,v,D,G,l]),ee=()=>{let F=mt({isInvalid:s,isDisabled:l,isFocused:w,transparent:i,size:o}),V=`min-h-[100px] py-2 px-3 ${l?"resize-none":"resize-y"}`,O=tailwindMerge.twMerge("focus:outline-none overflow-auto","[&_[data-chip-id]::selection]:bg-action-brand/20","[&:empty]:before:content-[attr(data-placeholder)] [&:empty]:before:text-text-placeholder [&:empty]:before:pointer-events-none");return tailwindMerge.twMerge(F,V,O,c)},L=()=>d?d.split(/(\{\{[^}]+\}\})/g).map((V,O)=>{let R=V.match(/\{\{([^}]+)\}\}/);if(R){let I=R[1],K=u.find(Y=>Y.id===I);if(K)return jsxRuntime.jsx("span",{className:"inline-block align-baseline cursor-pointer",contentEditable:false,suppressContentEditableWarning:true,"data-chip-id":I,style:{userSelect:"none",verticalAlign:"baseline",lineHeight:"1"},onClick:Y=>{Y.preventDefault();let H=window.getSelection(),te=document.createRange();te.selectNode(Y.currentTarget),H?.removeAllRanges(),H?.addRange(te);},children:U(K)},`chip-${I}-${O}`)}return V.includes(`
82
+ `)?V.split(`
83
+ `).map((I,K)=>jsxRuntime.jsxs(pr__namespace.default.Fragment,{children:[I,K<V.split(`
84
+ `).length-1&&jsxRuntime.jsx("br",{})]},`line-${O}-${K}`)):V}):null;return jsxRuntime.jsx("div",{className:"group flex flex-col",children:jsxRuntime.jsxs("div",{className:"flex flex-col",children:[e&&jsxRuntime.jsx(ye,{size:o,tooltip:n,isRequired:a,children:e}),jsxRuntime.jsx(Ut,{children:jsxRuntime.jsx("div",{ref:S,contentEditable:!l,suppressContentEditableWarning:true,onInput:F=>{if(l)return;let V=F.target,O=V.querySelector("[data-chip-id]")!==null,R;if(O?(R=W(V),R=R.replace(/(\{\{[^}]+\}\})\s{2,}/g,"$1 ").replace(/\s{2,}(\{\{[^}]+\}\})/g," $1")):R=V.textContent||"",R===""){try{let Y=document.createRange();Y.selectNodeContents(V),Y.collapse(!0);let H=window.getSelection();H?.removeAllRanges(),H?.addRange(Y),E.current=0;}catch{}B("",0);return}if(R===d)return;let I=window.getSelection(),K=0;if(I&&I.rangeCount>0)try{let Y=I.getRangeAt(0);if(O){let H=0,te=!1,z=q=>{if(te)return !0;if(q===Y.startContainer)return H+=Y.startOffset,te=!0,!0;if(q.nodeType===Node.TEXT_NODE){if(!q.parentElement?.closest("[data-chip-id]")){if(q.contains(Y.startContainer))return H+=Y.startOffset,te=!0,!0;H+=(q.textContent||"").length;}}else if(q.nodeType===Node.ELEMENT_NODE){let oe=q;if(oe.hasAttribute("data-chip-id")){if(oe.contains(Y.startContainer)||oe===Y.startContainer){let Re=oe.getAttribute("data-chip-id");return H+=`{{${Re}}}`.length,te=!0,!0}let Ge=oe.getAttribute("data-chip-id");return H+=`{{${Ge}}}`.length,!1}else if(oe.tagName==="BR")return oe===Y.startContainer?(te=!0,!0):(H+=1,!1)}for(let oe=0;oe<q.childNodes.length;oe++)if(z(q.childNodes[oe]))return !0;return !1};z(V),K=H;}else {let H=document.createRange();H.setStart(V,0),H.setEnd(Y.startContainer,Y.startOffset),K=H.toString().length;}}catch{K=R.length;}E.current=K,B(R,K);},onKeyDown:F=>{if(l)return;let V=window.getSelection();if(!(!V||V.rangeCount===0))try{let O=V.getRangeAt(0),R=O.commonAncestorContainer;if(F.key==="ArrowLeft"||F.key==="ArrowRight"){let I=R.nodeType===Node.TEXT_NODE?R.parentElement?.closest("[data-chip-id]"):R.closest("[data-chip-id]");if(I){F.preventDefault();try{let K=document.createRange(),Y=window.getSelection();F.key==="ArrowLeft"?K.setStartBefore(I):K.setStartAfter(I),K.collapse(!0),Y?.removeAllRanges(),Y?.addRange(K);}catch{}}}if(F.key==="Backspace"){let I=null;if(I=(R.nodeType===Node.TEXT_NODE?R.parentElement?.closest("[data-chip-id]"):R.closest("[data-chip-id]"))||null,!I)if(R.nodeType===Node.TEXT_NODE){let K=R;if(O.startOffset===0&&K.parentElement){let Y=K.previousSibling;if(Y&&Y.nodeType===Node.ELEMENT_NODE){let H=Y.closest("[data-chip-id]");H&&(I=H);}}}else {let K=R;if(O.startOffset>0){let Y=K.childNodes[O.startOffset-1];if(Y&&Y.nodeType===Node.ELEMENT_NODE){let H=Y.closest("[data-chip-id]");H&&(I=H);}}}if(I){F.preventDefault(),F.stopPropagation();let K=I.getAttribute("data-chip-id");if(!K)return;let Y=`{{${K}}}`,H=d.indexOf(Y);if(H!==-1){let te=d.slice(0,H)+d.slice(H+Y.length),z=u.filter(q=>q.id!==K);E.current=H;try{window.getSelection()?.removeAllRanges();}catch{}g?.(z),m?.(te);}}}}catch{}},onFocus:F=>{l||(C.onFocus&&C.onFocus(F),A(F));},onBlur:F=>{l||(C.onBlur&&C.onBlur(F),N(F));},className:ee(),style:{whiteSpace:"pre-wrap",wordBreak:"break-word",...C.style},"data-placeholder":C.placeholder,children:L()},d===""?"empty":"content")}),t&&jsxRuntime.jsx(Ce,{size:o,className:"mt-3",children:t}),typeof r=="string"&&jsxRuntime.jsx(fe,{size:o,className:"mt-1",children:r}),typeof r=="function"&&p&&jsxRuntime.jsx(fe,{size:o,className:"mt-1",children:r(p)})]})})}var fg={FIFTEEN_MINUTES:1,HOUR:2,DAY:3,WEEK:4,MONTH:5,YEAR:6},nw=[{id:"FIFTEEN_MINUTES",label:"15m"},{id:"HOUR",label:"1h"},{id:"DAY",label:"1d"},{id:"WEEK",label:"1w"}];function gg({dateRange:e,onDateRangeChange:t,windowSize:r,onWindowSizeChange:o,showWindowSize:n=true,showRangeSelector:a=true,allowDatePicker:i=false,lockWindowSize:s=false,restrictToSingleDay:l=false,presetRanges:c=[],windowSizeOptions:p=nw,autoAdjustWindowSize:d=false,className:m}){let[u,g]=pr.useState(0),f=pr.useRef(null),[b,x]=pr.useState(false),h=L=>{let V=(L.before.getTime()-L.after.getTime())/(1e3*60*60);return V<=24?"FIFTEEN_MINUTES":V<=72||V<=168?"HOUR":("DAY")};pr.useEffect(()=>{if(d&&!b&&o){let L=h(e);o(L);}},[e,d,b,o]);let v=L=>c.find(F=>{let V=F.getRange();return Math.abs(V.after.getTime()-L.after.getTime())<1e3*60*60*24&&Math.abs(V.before.getTime()-L.before.getTime())<1e3*60*60*24})?.id,[y,C]=pr.useState(()=>v(e)),S=new Date(e.before);S.setDate(S.getDate()-1);let w={start:Pa(e.after,Kr()),end:Pa(S,Kr())};pr.useEffect(()=>{let L=new ResizeObserver(F=>{for(let V of F)g(V.contentRect.width);});return f.current&&L.observe(f.current),()=>{f.current&&L.unobserve(f.current);}},[]);let A=[...p].sort((L,F)=>fg[L.id]-fg[F.id]),N=L=>{let F=L.toString(),V=c.find(O=>O.id===F);V&&(C(F),x(false),t(V.getRange()));},D=L=>{if(L?.start&&L?.end){C(void 0);let F=new Date(L.start.year,L.start.month-1,L.start.day,0,0,0,0),V=new Date(L.end.year,L.end.month-1,L.end.day+1,0,0,0,0);t({after:F,before:V});}},E=L=>{if(L){C(void 0);let F=new Date(L.year,L.month-1,L.day,0,0,0,0),V=new Date(L.year,L.month-1,L.day+1,0,0,0,0);t({after:F,before:V});}},W=L=>{o&&(x(true),o(L.toString()));},Z=()=>{if(c.length>0){let L=c[0];C(L.id),x(false),t(L.getRange());}},B=(L,F=0)=>{let V=new Date(L);return F!==0&&V.setDate(V.getDate()+F),V.toLocaleDateString("en-US")},G=s?jsxRuntime.jsx("div",{className:"flex items-center rounded-md border border-border-muted bg-background-muted px-3 py-2 text-sm text-text-muted",children:A.find(L=>L.id===r)?.label||r}):jsxRuntime.jsx(Jr,{className:"w-full md:w-auto",selectedKey:r,onSelectionChange:W,size:"md","aria-label":"Select Window Size",children:A.map(L=>jsxRuntime.jsx(Kt,{id:L.id,"aria-label":L.label,size:"md",children:L.label},L.id))}),U=l?jsxRuntime.jsx("div",{className:"flex items-center",children:jsxRuntime.jsxs(reactAriaComponents.DialogTrigger,{children:[jsxRuntime.jsxs(j,{className:"border-l pl-2 pr-2 hover:border-border-default hover:bg-background-muted hover:text-action-primary",variant:"secondary",children:[jsxRuntime.jsx(k,{name:"CalendarBlank",size:18}),jsxRuntime.jsx("span",{className:"ml-2 hidden md:block",children:B(e.after)})]}),jsxRuntime.jsx(Fe,{className:"w-auto p-3",disableGroup:true,children:jsxRuntime.jsx(Fo,{"aria-label":"Select date",value:rl(e.after.toISOString().split("T")[0]),onChange:E})})]})}):jsxRuntime.jsxs("div",{className:"flex items-center",children:[jsxRuntime.jsxs(reactAriaComponents.DialogTrigger,{children:[jsxRuntime.jsxs(j,{className:"rounded-r-none border-l pl-2 pr-2 hover:border-border-default hover:bg-background-muted hover:text-action-primary",variant:"secondary",children:[jsxRuntime.jsx(k,{name:"CalendarBlank",size:18}),!y&&jsxRuntime.jsx("span",{className:"ml-2 hidden md:block",children:`${B(e.after)} - ${B(e.before,-1)}`})]}),jsxRuntime.jsx(Fe,{className:"w-auto p-3",disableGroup:true,children:jsxRuntime.jsx(Ko,{"aria-label":"Date range calendar",value:w,onChange:D})})]}),!y&&jsxRuntime.jsx(j,{variant:"ghost",size:"md",onPress:Z,children:"Reset"})]}),ee=u<600;return jsxRuntime.jsx("div",{ref:f,className:tailwindMerge.twMerge("flex w-full flex-wrap items-center justify-between gap-4",m),children:ee?jsxRuntime.jsxs("div",{className:"flex w-full justify-between",children:[jsxRuntime.jsxs("div",{className:"flex items-center",children:[i&&U,a&&y!==void 0&&jsxRuntime.jsx(Jr,{selectedKey:y,onSelectionChange:N,size:"md","aria-label":"Select Date Range",children:c.map(L=>jsxRuntime.jsx(Kt,{id:L.id,size:"md",children:L.label},L.id))})]}),jsxRuntime.jsx("div",{className:"flex items-center",children:n&&r&&G})]}):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs("div",{className:"flex items-center gap-4",children:[i&&U,a&&y!==void 0&&jsxRuntime.jsx(Wi,{options:c.map(L=>({id:L.id,label:L.label})),value:y,onChange:N,size:"sm",variant:"secondary","aria-label":"Select Date Range"})]}),jsxRuntime.jsx("div",{className:"flex items-center",children:n&&r&&G})]})})}var pw=e=>tailwindMerge.twMerge("w-full",La({isInvalid:e.isInvalid,isDisabled:e.isDisabled,isFocused:e.isFocused}),Fa({transparent:e.transparent,isDisabled:e.isDisabled}),ce[e.size||"md"].text,ce[e.size||"md"].height,ce[e.size||"md"].padding,"pl-[var(--control-padding-sm)]","flex items-center gap-0.5",e.className),mw=({isPlaceholder:e,isDisabled:t,isFocused:r,size:o="md"})=>tailwindMerge.twMerge("outline-none rounded transition-colors box-content tabular-nums text-center",e?"text-text-muted italic":"text-text-body",t?"text-text-disabled cursor-not-allowed":"cursor-text",ce[o].text,"px-0.5 -my-0.5",r&&"!outline-[1.5px] !outline-[var(--control-focus-ring-color)] ![--tw-outline-style:solid]",!t&&!r&&"hover:bg-text-body/[0.05]");function xg({label:e,description:t,errorMessage:r,size:o="md",tooltip:n,isRequired:a,transparent:i,validationResult:s,...l}){let{isFocused:c}=Tt(),[p,d]=pr.useState(null),m=pr.useRef(null);return pr.useEffect(()=>{let u=b=>{let x=b.target;x.hasAttribute("data-type")&&d(x.getAttribute("data-type"));},g=()=>{d(null);},f=m.current;return f&&(f.addEventListener("focusin",u),f.addEventListener("focusout",g)),()=>{f&&(f.removeEventListener("focusin",u),f.removeEventListener("focusout",g));}},[]),jsxRuntime.jsx(reactAriaComponents.TimeField,{...l,children:({isDisabled:u,isInvalid:g})=>jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[e&&jsxRuntime.jsx(ye,{isRequired:a,tooltip:n,children:e}),jsxRuntime.jsx(reactAriaComponents.DateInput,{ref:m,className:pw({size:o,transparent:i,isDisabled:u,isInvalid:g,isFocused:c}),children:f=>jsxRuntime.jsx(reactAriaComponents.DateSegment,{segment:f,className:mw({isPlaceholder:f.isPlaceholder,isDisabled:!f.isEditable,isFocused:p===f.type,size:o})})}),t&&jsxRuntime.jsx(Ce,{children:t}),typeof r=="string"?jsxRuntime.jsx(fe,{children:r}):null]})})}function hg({children:e,className:t=""}){return jsxRuntime.jsx("div",{className:`flex flex-col ${t}`.trim(),role:"list",children:e})}function yg({children:e,variant:t="default",icon:r,label:o,isLast:n=false,className:a=""}){let s={default:{dot:"bg-border-default border-border-default",line:"bg-border-default",label:"text-text-caption",content:"text-text-body"},active:{dot:"bg-text-heading border-text-heading",line:"bg-border-default",label:"text-text-caption",content:"text-text-body font-medium"},muted:{dot:"bg-border-muted border-border-muted",line:"bg-border-muted",label:"text-text-muted",content:"text-text-muted"},success:{dot:"bg-feedback-success-border border-feedback-success-border",line:"bg-border-default",label:"text-text-caption",content:"text-text-body"},error:{dot:"bg-feedback-error-border border-feedback-error-border",line:"bg-border-default",label:"text-text-caption",content:"text-text-body"},warning:{dot:"bg-feedback-warning-border border-feedback-warning-border",line:"bg-border-default",label:"text-text-caption",content:"text-text-body"},info:{dot:"bg-feedback-info-border border-feedback-info-border",line:"bg-border-default",label:"text-text-caption",content:"text-text-body"}}[t];return jsxRuntime.jsxs("div",{className:`flex gap-3 ${a}`.trim(),role:"listitem",children:[jsxRuntime.jsxs("div",{className:"flex flex-col items-center",style:{width:"20px"},children:[jsxRuntime.jsx("div",{className:`flex items-center justify-center rounded-full border-2 ${s.dot}`,style:{width:"20px",height:"20px",flexShrink:0},children:r&&jsxRuntime.jsx(k,{name:r,size:12,className:"text-background-body"})}),!n&&jsxRuntime.jsx("div",{className:`w-0.5 flex-1 ${s.line}`,style:{minHeight:"24px"}})]}),jsxRuntime.jsxs("div",{className:"flex-1 pb-6",children:[o&&jsxRuntime.jsx("div",{className:`text-xs mb-1 ${s.label}`,children:o}),jsxRuntime.jsx("div",{className:`text-sm ${s.content}`,children:e})]})]})}var hw="flex font-medium justify-center items-center gap-2 text-center transition whitespace-nowrap box-border",vg={default:{selected:"bg-action-default text-[color:var(--color-action-default-text)] hover:bg-action-default-hover forced-colors:bg-[ButtonText] forced-colors:text-[ButtonFace] border-2 border-transparent",unselected:"bg-transparent text-action-default border-2 border-border-muted hover:bg-text-body/[0.05] forced-colors:border-[ButtonBorder] forced-colors:bg-[ButtonFace] forced-colors:text-[ButtonText]"},brand:{selected:"bg-action-brand text-[color:var(--color-action-brand-text)] hover:bg-action-brand-hover forced-colors:bg-[ButtonText] forced-colors:text-[ButtonFace] border-2 border-transparent",unselected:"bg-transparent text-action-default border-2 border-border-muted hover:bg-text-body/[0.05] forced-colors:border-[ButtonBorder] forced-colors:bg-[ButtonFace] forced-colors:text-[ButtonText]"}},yw="opacity-[--control-hover-opacity] cursor-not-allowed pointer-events-none grayscale",vw="opacity-100 cursor-pointer",Cw={"top-right":"-right-2 -top-2","top-left":"-left-2 -top-2","bottom-right":"-right-2 -bottom-2","bottom-left":"-left-2 -bottom-2"},Sw={primary:"bg-action-brand text-white",destructive:"bg-action-destructive text-white"};function ww(e){let{variant:t="default",size:r="md",isDisabled:o,isSelected:n,borderRadius:a,borderRight:i,borderLeft:s}=e,l=`${hw} ${n?vg[t].selected:vg[t].unselected}`;return l+=` ${ce[r].text} ${ce[r].height} ${ce[r].padding} ${ce[r].gap}`,l+=` ${o?yw:vw}`,a==="left"&&(l+=" rounded-l-sm"),a==="right"&&(l+=" rounded-r-sm"),i&&(l+=" border-r"),s&&(l+=" border-l"),l+=` ${ke()}`,t==="brand"&&(l+=" focus-visible:outline-action-brand"),tailwindMerge.twMerge(l)}function Sg(e){let{className:t,children:r,onPress:o,icon:n,iconPosition:a="left",iconWeight:i,isLoading:s=false,loadingText:l,loadingIndicator:c,size:p="md",badgeNumber:d,badgeVariant:m="primary",badgePosition:u="top-right",...g}=e,f=n?jsxRuntime.jsx(k,{name:n,size:p,weight:i}):null,b=()=>{let h=jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[a==="left"&&f,r,a==="right"&&f]});return s?jsxRuntime.jsxs("div",{className:"relative inline-flex items-center justify-center",children:[jsxRuntime.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:c||jsxRuntime.jsx(k,{name:"CircleNotch",size:p,className:"animate-spin","aria-hidden":"true"})}),jsxRuntime.jsx("div",{className:"invisible","aria-hidden":"true",children:h}),l&&jsxRuntime.jsx("span",{className:"sr-only",role:"status","aria-live":"polite",children:l})]}):h},x=jsxRuntime.jsx(reactAriaComponents.ToggleButton,{onPress:o,...g,className:tailwindMerge.twMerge(ww(e),t),"aria-busy":s,children:b()});return d&&d>0?jsxRuntime.jsxs("div",{className:"relative",children:[x,jsxRuntime.jsx("span",{className:`absolute ${Cw[u]} flex h-5 w-5 items-center justify-center rounded-full ${Sw[m]} text-xs`,"aria-label":`${d} items`,children:d})]}):x}var _n={site:{icon:"MapPin",label:{singular:"Site",plural:"Sites"},description:"Physical locations with energy systems"},device:{icon:"ShareNetwork",label:{singular:"Device",plural:"Devices"},description:"Connected energy devices"},customer:{icon:"Users",label:{singular:"Customer",plural:"Customers"},description:"End customers and site owners"},contact:{icon:"Users",label:{singular:"Contact",plural:"Contacts"},description:"Contact persons"},program:{icon:"ClipboardText",label:{singular:"Program",plural:"Programs"},description:"Demand response and VPP programs"},workflow:{icon:"FlowArrow",label:{singular:"Workflow",plural:"Workflows"},description:"Automated workflows and rules"},collection:{icon:"Stack",label:{singular:"Collection",plural:"Collections"},description:"Grouped entities"},board:{icon:"SquaresFour",label:{singular:"Board",plural:"Boards"},description:"Dashboard and monitoring boards"},report:{icon:"ChartLine",label:{singular:"Report",plural:"Reports"},description:"Analytics and reports"},event:{icon:"ClockCounterClockwise",label:{singular:"Event",plural:"Events"},description:"System events and activity"},alert:{icon:"Bell",label:{singular:"Alert",plural:"Alerts"},description:"Notifications and alerts"},command:{icon:"Play",label:{singular:"Command",plural:"Commands"},description:"Device commands and control"}};function kw(e){return _n[e]}function Tw(e){return _n[e].icon}function Pw(e,t=false){return t?_n[e].label.plural:_n[e].label.singular}function QG(e){switch(e){case "charging":case "on":return "success";case "discharging":return "warning";case "heat":case "cool":return "info";case "off":case "idle":case "eco":case "auto":return "neutral";case "unknown":default:return "neutral"}}Object.defineProperty(exports,"DialogTrigger",{enumerable:true,get:function(){return reactAriaComponents.DialogTrigger}});exports.ActionCell=Yp;exports.ActionMenu=da;exports.ActivityFeed=Ps;exports.ActivityFeedGroup=fa;exports.ActivityItem=ga;exports.Alert=ou;exports.AppShell=au;exports.AreaSeries=Dn;exports.AutoMobileRenderer=mi;exports.Autocomplete=Ba;exports.Avatar=lr;exports.BREAKPOINTS=zr;exports.Badge=Ie;exports.BadgeCell=Jp;exports.BarSeries=Vo;exports.BooleanCell=Zp;exports.BreadcrumbItem=Va;exports.Breadcrumbs=za;exports.Button=j;exports.Calendar=Fo;exports.Card=be;exports.CardContent=Fs;exports.CardFooter=Es;exports.CardHeader=Ms;exports.CardMedia=Ls;exports.CardMobileRenderer=fi;exports.ChartAxis=Rn;exports.ChartBottomBar=Ya;exports.ChartContainer=Tp;exports.ChartContext=Bo;exports.ChartEventMarkers=Za;exports.ChartTooltip=Xa;exports.Checkbox=qr;exports.CheckboxGroup=xl;exports.Chip=wr;exports.ClearButton=Pu;exports.CodeEditor=$u;exports.Collapse=rp;exports.CollapseContent=kl;exports.CollapseHeader=Nl;exports.CollapseItem=wl;exports.ColorField=_y;exports.ColorModeProvider=Gd;exports.Confirm=ap;exports.ConnectionStatusBadge=ip;exports.ContactCard=sp;exports.ContactMetaCell=qp;exports.ContactMetaDisplay=Ga;exports.CopyToClipboard=Ua;exports.DataControls=Ip;exports.DataTable=Nm;exports.DateCell=jp;exports.DateField=zp;exports.DateRangePicker=$a;exports.Description=Ce;exports.DeviceHealthBadge=Tm;exports.DeviceMetaCell=$p;exports.DeviceMetaDisplay=ni;exports.DeviceStateBadge=oo;exports.DeviceStateCell=rm;exports.DeviceStateWithMetric=ii;exports.DeviceTypeIcon=Dm;exports.Dialog=Cr;exports.DialogHeader=Qe;exports.Drawer=oc;exports.ENTITY_CONFIG=_n;exports.EmptyState=Mm;exports.EnrollmentStatusBadge=Lm;exports.ErrorBoundary=Mt;exports.FieldError=fe;exports.FieldGroup=Ia;exports.FileUpload=Em;exports.FilterChips=Bp;exports.FilterDialog=Gp;exports.FirmwareVersionBadge=Bm;exports.Form=zm;exports.FormatRegistry=X;exports.FormattedCell=nm;exports.FunnelSeries=Ap;exports.Grid=ic;exports.GridStateBadge=ai;exports.Heading=Ct;exports.HorizontalBarCell=jl;exports.Icon=k;exports.InfiniteScrollIndicator=yt;exports.Input=Ea;exports.InputWrapper=Ut;exports.InteractiveMap=vc;exports.Kpi=Gm;exports.KpiGroup=lc;exports.Label=ye;exports.LineSeries=Mn;exports.List=Zm;exports.ListBox=Sh;exports.ListBoxItem=Kt;exports.ListItem=qm;exports.ListPane=jm;exports.Loader=ua;exports.Logo=ha;exports.MAP_TYPES=Cf;exports.Meter=Tf;exports.MiniBarCell=Ql;exports.ModalBackdrop=ut;exports.Notice=Ai;exports.NoticeContainer=Mi;exports.NoticeProvider=Df;exports.NumberCell=cm;exports.NumberField=Bn;exports.PageLayout=xo;exports.PercentBarCell=$l;exports.PlaceSearch=Hf;exports.Popover=Fe;exports.ProgressBar=Gf;exports.Radio=Yf;exports.RadioCard=Dc;exports.RadioCardGroup=Rc;exports.RadioGroup=Kf;exports.RangeCalendar=Ko;exports.ResultsCount=Fn;exports.RichTextEditor=Xf;exports.SKELETON_SIZES=Dr;exports.SearchControl=to;exports.Section=tn;exports.SectionNav=Ii;exports.SegmentedControl=Wi;exports.Select=Jr;exports.SelectCell=um;exports.SideNav=ya;exports.SiteCard=Qf;exports.SiteContactCard=_f;exports.SiteMetaCell=mm;exports.SiteMetaDisplay=ci;exports.Skeleton=P;exports.Slider=eg;exports.SortControl=In;exports.SparklineCell=_l;exports.SplitPane=Ui;exports.StatList=ig;exports.StaticMap=en;exports.Switch=_a;exports.Tab=Hi;exports.TabList=Oi;exports.TabPanel=Lf;exports.Tabs=Vi;exports.TextArea=sg;exports.TextAreaWithChips=ug;exports.TextCell=xm;exports.TextField=Wo;exports.TextLink=Je;exports.TimeControls=gg;exports.TimeField=xg;exports.Timeline=hg;exports.TimelineItem=yg;exports.ToggleButton=Sg;exports.Tooltip=Pn;exports.TopNav=bn;exports.Tray=Hr;exports.activeDeviceStates=oC;exports.addFilterCondition=Pr;exports.autoScaleCurrent=ub;exports.autoScaleDistance=td;exports.autoScaleEnergy=ad;exports.autoScalePower=yb;exports.autoScaleResistance=vb;exports.autoScaleVoltage=Pb;exports.camelCaseToWords=Sd;exports.capitalize=vd;exports.celsiusToFahrenheit=Cb;exports.celsiusToKelvin=x5;exports.centimetersToInches=$N;exports.clearColorCache=Ro;exports.createCategoryColorMap=Qb;exports.createEmptyFilter=Ln;exports.createFilter=dv;exports.createFilters=uv;exports.createFormat=W5;exports.createXScale=Ll;exports.createYScale=Fl;exports.defaultMargin=De;exports.deviceStateLabels=nC;exports.deviceStateMetricFormats=dL;exports.enumToSentenceCase=kb;exports.exportChart=Zi;exports.fahrenheitToCelsius=Sb;exports.fahrenheitToKelvin=h5;exports.feetToMeters=UN;exports.feetToMiles=JN;exports.filterToChips=pv;exports.formatBoolean=Zc;exports.formatCapacity=CN;exports.formatComponentValue=Ot;exports.formatCurrency=$c;exports.formatCurrent=$i;exports.formatDate=_c;exports.formatDistance=rd;exports.formatEmptyValue=ti;exports.formatEnergy=is;exports.formatFieldValue=Vr;exports.formatInternationalPhone=ss;exports.formatNumber=Qc;exports.formatPercent=qc;exports.formatPhone=sd;exports.formatPhoneNumber=id;exports.formatPower=us;exports.formatPowerRating=SN;exports.formatResistance=ms;exports.formatTemperature=gd;exports.formatText=Pd;exports.formatUSPhone=ia;exports.formatVoltage=bs;exports.getBadgeClasses=Up;exports.getBooleanBadgeVariant=Kp;exports.getCellAlignmentClasses=Kl;exports.getCellContainerClasses=ue;exports.getCellTextClasses=Rt;exports.getContrastingTextColor=$b;exports.getDateParts=zN;exports.getDefaultChartColor=ys;exports.getDefaultColors=Bd;exports.getDeviceStateDisplayLabel=Xl;exports.getDeviceStateLabel=Xl;exports.getEntityConfig=kw;exports.getEntityIcon=Tw;exports.getEntityLabel=Pw;exports.getExportFormatName=Fg;exports.getFieldGroupStyles=Sn;exports.getFilterFields=Vl;exports.getGridStateLabel=em;exports.getInputBackgroundStyles=Fa;exports.getInputBaseStyles=mt;exports.getInputStateStyles=La;exports.getLinkClasses=Yl;exports.getNumericColorClasses=ri;exports.getResolvedColor=Ke;exports.getSkeletonSize=it;exports.getStateTone=QG;exports.getThemeCategoricalColors=dn;exports.getYFormatSettings=Tr;exports.gridStateLabels=iC;exports.inchesToCentimeters=QN;exports.isActiveDeviceState=Zl;exports.isActiveState=Zl;exports.isCustomPinsLayer=xc;exports.isExportSupported=Lg;exports.isFilterEmpty=Mp;exports.isGeoJsonLayer=bc;exports.isLightColor=zd;exports.isNil=$;exports.isRasterLayer=hc;exports.isVectorLayer=gc;exports.kelvinToCelsius=wb;exports.kelvinToFahrenheit=y5;exports.kilometersToMiles=YN;exports.layer=fc;exports.metersToFeet=GN;exports.metersToMiles=ZN;exports.metersToYards=jN;exports.milesToFeet=ed;exports.milesToKilometers=KN;exports.milesToMeters=XN;exports.parseBoolean=hr;exports.removeFilterCondition=eo;exports.resolveValue=le;exports.snakeCaseToWords=wd;exports.temperatureStringToSymbol=dd;exports.toA=LN;exports.toActiveInactive=rb;exports.toAmps=na;exports.toBoolean=xr;exports.toCelsius=pd;exports.toCentimeters=bb;exports.toCheckmark=nb;exports.toCompactNumber=lb;exports.toCurrency=jc;exports.toCustomDateFormat=gb;exports.toDateString=pb;exports.toEnabledDisabled=eb;exports.toFahrenheit=ud;exports.toFeet=ts;exports.toFloat=ib;exports.toFormattedNumber=sb;exports.toFullDateTime=mb;exports.toGW=d5;exports.toGWh=nd;exports.toGigawatts=ds;exports.toISOString=fb;exports.toInches=hb;exports.toInteger=ab;exports.toKA=FN;exports.toKV=P5;exports.toKW=l5;exports.toKelvin=md;exports.toKiloamps=Qi;exports.toKilohms=ld;exports.toKilometers=es;exports.toKilovolts=gs;exports.toKilowatts=ls;exports.toLowerCase=xd;exports.toMA=MN;exports.toMV=k5;exports.toMW=c5;exports.toMWh=od;exports.toMegawatts=cs;exports.toMegohms=cd;exports.toMeters=_i;exports.toMiles=rs;exports.toMilliamps=ji;exports.toMillimeters=xb;exports.toMilliohms=ps;exports.toMillivolts=fs;exports.toNauticalMiles=WN;exports.toOhms=la;exports.toOnOff=tb;exports.toPercentage=Xc;exports.toRelativeTime=aa;exports.toScientificNotation=cb;exports.toSecret=Tb;exports.toSentenceCase=hd;exports.toTemperature=fd;exports.toTitleCase=yd;exports.toTrueFalse=ob;exports.toUpperCase=bd;exports.toV=T5;exports.toVolts=ca;exports.toW=s5;exports.toWatts=sa;exports.toWh=ns;exports.toYards=os;exports.tokWh=as;exports.truncateEnd=Td;exports.truncateMiddle=Nd;exports.truncateStart=kd;exports.ucFirst=Cd;exports.useBreakpoint=To;exports.useChartContext=cr;exports.useClientDataControls=ea;exports.useColorMode=vt;exports.useComponentFormatter=TN;exports.useDataControls=Wc;exports.useDebounce=Po;exports.useInfiniteScroll=br;exports.useInputFocus=Tt;exports.useLocalStorage=ra;exports.useMediaQuery=Vt;exports.useNotice=Af;exports.useServerDataControls=ta;exports.wrapWithLink=Qt;exports.yardsToMeters=qN;//# sourceMappingURL=index.cjs.map
85
85
  //# sourceMappingURL=index.cjs.map