PageSourceSearch

https://pltt.ai/_next/static/chunks/2cws9pgv4uk7o.js

js pltt.ai collected 2026-10-05 15:19:34 UTC 56,854 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,90317,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r={bindSnapshot:function(){return d},createAsyncLocalStorage:function(){return o},createSnapshot:function(){return c}};for(var l in r)Object.defineProperty(a,l,{enumerable:!0,get:r[l]});let n=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class s{disable(){throw n}getStore(){}run(){throw n}exit(){throw n}enterWith(){throw n}static bind(e){return e}}let i="u">typeof globalThis&&globalThis.AsyncLocalStorage;function o(){return i?new i:new s}function d(e){return i?i.bind(e):s.bind(e)}function c(){return i?i.snapshot():function(e,...t){return e(...t)}}},242344,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"workAsyncStorageInstance",{enumerable:!0,get:function(){return r}});let r=(0,e.r(90317).createAsyncLocalStorage)()},563599,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"workAsyncStorage",{enumerable:!0,get:function(){return r.workAsyncStorageInstance}});let r=e.r(242344)},309885,(e,t,a)=>{"use strict";function r(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"encodeURIPath",{enumerable:!0,get:function(){return r}})},667585,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"BailoutToCSR",{enumerable:!0,get:function(){return l}});let r=e.r(132061);function l({reason:e,children:t}){if("u"<typeof window)throw Object.defineProperty(new r.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t}},652157,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"PreloadChunks",{enumerable:!0,get:function(){return o}});let r=e.r(843476),l=e.r(174080),n=e.r(563599),s=e.r(309885),i=e.r(543369);function o({moduleIds:e}){if("u">typeof window)return null;let t=n.workAsyncStorage.getStore();if(void 0===t)return null;let a=[];if(t.reactLoadableManifest&&e){let r=t.reactLoadableManifest;for(let t of e){if(!r[t])continue;let e=r[t].files;a.push(...e)}}if(0===a.length)return null;let d=(0,i.getAssetTokenQuery)();return(0,r.jsx)(r.Fragment,{children:a.map(e=>{let a=`${t.assetPrefix}/_next/${(0,s.encodeURIPath)(e)}${d}`;return e.endsWith(".css")?(0,r.jsx)("link",{precedence:"dynamic",href:a,rel:"stylesheet",as:"style",nonce:t.nonce},e):((0,l.preload)(a,{as:"script",fetchPriority:"low",nonce:t.nonce}),null)})})}},869093,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return d}});let r=e.r(843476),l=e.r(271645),n=e.r(667585),s=e.r(652157);function i(e){return{default:e&&"default"in e?e.default:e}}let o={loader:()=>Promise.resolve(i(()=>null)),loading:null,ssr:!0},d=function(e){let t={...o,...e},a=(0,l.lazy)(()=>t.loader().then(i)),d=t.loading;function c(e){let i=d?(0,r.jsx)(d,{isLoading:!0,pastDelay:!0,error:null}):null,o=!t.ssr||!!t.loading,c=o?l.Suspense:l.Fragment,u=t.ssr?(0,r.jsxs)(r.Fragment,{children:["u"<typeof window?(0,r.jsx)(s.PreloadChunks,{moduleIds:t.modules}):null,(0,r.jsx)(a,{...e})]}):(0,r.jsx)(n.BailoutToCSR,{reason:"next/dynamic",children:(0,r.jsx)(a,{...e})});return(0,r.jsx)(c,{...o?{fallback:i}:{},children:u})}return c.displayName="LoadableComponent",c}},770703,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return l}});let r=e.r(555682)._(e.r(869093));function l(e,t){let a={};"function"==typeof e&&(a.loader=e);let l={...a,...t};return(0,r.default)({...l,modules:l.loadableGenerated?.modules})}("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esMo
1dule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},47297,e=>{"use strict";var t=e.i(843476),a=e.i(500932),r=e.i(271645);e.i(785269);var l=e.i(322831),n=e.i(416317),s=e.i(554293),i=e.i(617927),o=e.i(90150),d=e.i(409904),c=e.i(778085),u=e.i(655054);let m=["#2a78d6","#008300","#e87ba4","#eda100","#1baf7a","#eb6834","#4a3aa7","#e34948"],p=["#3987e5","#008300","#d55181","#c98500","#199e70","#d95926","#9085e9","#e66767"],h=["#cde2fb","#9ec5f4","#6da7ec","#3987e5","#256abf","#184f95"],x=["#0d366b","#1c5cab","#2a78d6","#5598e7","#86b6ef","#cde2fb"];function f(){return!1}function b(){let e=document.documentElement;return!!("dark"===e.dataset.theme||e.classList.contains("dark"))||!("light"===e.dataset.theme||e.classList.contains("light"))&&"function"==typeof window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches}function g(e){let t="function"==typeof window.matchMedia?window.matchMedia("(prefers-color-scheme: dark)"):null;t?.addEventListener("change",e);let a=new MutationObserver(e);return a.observe(document.documentElement,{attributes:!0,attributeFilter:["class","data-theme"]}),()=>{t?.removeEventListener("change",e),a.disconnect()}}function y(e){return"number"==typeof e?e:parseFloat(String(e).replace(/[^\d.-]/g,""))||0}function v(e,t,a,r,l=!1){let n=r.length>1;return{color:e.palette,tooltip:{...e.tooltip,trigger:"axis",axisPointer:{type:"bar"===t?"shadow":"line"}},legend:function(e,t){if(!(t<2))return{bottom:0,type:t>6?"scroll":"plain",icon:"roundRect",itemWidth:10,itemHeight:10,itemGap:14,textStyle:{fontSize:10,color:e.inkMuted}}}(e,r.length),grid:{left:8,right:12,top:18,bottom:(n?30:8)+26*(a.length>24),containLabel:!0},dataZoom:a.length>24?[{type:"inside",filterMode:"none"},{type:"slider",height:16,bottom:n?26:4,borderColor:e.grid,textStyle:{fontSize:9,color:e.inkMuted}}]:void 0,xAxis:{type:"category",data:a,axisLine:{lineStyle:{color:e.grid}},axisTick:{show:!1},axisLabel:{fontSize:10,color:e.inkMuted,hideOverlap:!0}},yAxis:{type:"value",axisLabel:{fontSize:10,color:e.inkMuted},splitLine:{lineStyle:{color:e.grid}}},series:r.map((a,r)=>"bar"===t?{name:a.name,type:"bar",data:a.data,stack:l?"total":void 0,barMaxWidth:28,itemStyle:{borderColor:e.surface,borderWidth:2*!!l,borderRadius:l?2:[4,4,0,0]},emphasis:{itemStyle:{shadowBlur:8,shadowColor:"rgba(0,0,0,0.18)"}}}:{name:a.name,type:"line",data:a.data,smooth:.3,showSymbol:!1,symbolSize:8,lineStyle:{width:2},emphasis:{focus:n?"series":"none"},areaStyle:"area"===t?{opacity:.9,color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:`${e.palette[r%e.palette.length]}33`},{offset:1,color:`${e.palette[r%e.palette.length]}05`}]}}:void 0})}}let j=/^-?[\d,.]+\s*%?$/;function k(e){let n,s,i,o,d,u,m,p,h,x,f,b,g=(0,a.c)(56),{headers:y,rows:v}=e,{t:k}=(0,l.useTranslation)(),{copied:S,copy:N}=(0,c.useCopyToClipboard)();if(g[0]!==y||g[1]!==v){let e;g[3]!==v?(e=(e,t)=>v.length>0&&v.every(e=>!e[t]||j.test(e[t].trim())),g[3]=v,g[4]=e):e=g[4],n=y.map(e),g[0]=y,g[1]=v,g[2]=n}else n=g[2];let C=n,[M,A]=r.default.useState(null),[L,$]=r.default.useState("");if(g[5]!==C||g[6]!==L||g[7]!==v||g[8]!==M){s=v;let e=L.trim().toLowerCase();if(e&&(s=s.filter(t=>t.some(t=>(t??"").toLowerCase().includes(e)))),M){let e,t=w;g[10]!==C||g[11]!==M?(e=(e,a)=>{let r=e[M.col]??"",l=a[M.col]??"";return(C[M.col]?t(r)-t(l):r.localeCompare(l,void 0,{numeric:!0}))*M.dir},g[10]=C,g[11]=M,g[12]=e):e=g[12],s=[...s].sort(e)}g[5]=C,g[6]=L,g[7]=v,g[8]=M,g[9]=s}else s=g[9];let z=s;g[13]===Symbol.for("react.memo_cache_sentinel")?(i=e=>A(t=>t?.col===e?1===t.dir?{col:e,dir:-1}:null:{col:e,dir:1}),g[13]=i):i=g[13];let _=i,P=v.length>500;g[14]!==S||g[15]!==N||g[16]!==y||g[17]!==L||g[18]!==v.length||g[19]!==z||g[20]!==k?(o=(v.length>=15||v.length>0)&&(0,t.jsxs)("div",{className:"dtBar sticky top-0 z-20 flex items-center gap-2 border-b border-border/40 bg-muted/60 px-2 py-1 backdrop-blur",children:[v.length>=15&&(0,t.jsx)("input",{type:"search",value:L,onChange:e=>$(e.target.value),placeholder:k("sessionDashboard.tableFilter","Filter rows…"),"aria-label":k("sessionDashboard.tableFilter","Filter rows…"),className:"dtFilter h-6 min-w-0 flex-1 rounded border border-border/50 bg-background/80 px-2 text-[11px] text-foreground outline-none focus:border-primary/60"}),(0,t.jsx)("span",{className:"ml-auto text-[10px] tabular-nums text-muted-foreground","aria-live":"polite",children:L?`${z.length}/${v.length}`:v.length}),(0,t.jsx)("button",{type:"button",onClick:()=>{N([y,...z].map(e=>e.map(e=>{let t;return t=e??"",/[",\n]/.test(t)?`"${t.replace(/"/g,'""')}"`:t}).join(",")).join("\n"))},className:"dtCsv h-6 rounded border border-border/50 bg-background/80 px-2 text-[10px] font-medium text-foreground
1/80 hover:bg-muted",children:S?k("sessionDashboard.tableCopied","Copied"):k("sessionDashboard.tableCopyCsv","Copy CSV")})]}),g[14]=S,g[15]=N,g[16]=y,g[17]=L,g[18]=v.length,g[19]=z,g[20]=k,g[21]=o):o=g[21];let R=`sticky z-10 ${v.length>0?"top-[30px]":"top-0"}`;if(g[22]!==y||g[23]!==C||g[24]!==M||g[25]!==k){let e;g[27]!==C||g[28]!==M||g[29]!==k?(e=(e,a)=>(0,t.jsx)("th",{scope:"col","aria-sort":M?.col===a?1===M.dir?"ascending":"descending":"none",className:`whitespace-nowrap px-1 py-0 font-semibold ${C[a]?"text-right":""}`,children:(0,t.jsxs)("button",{type:"button",onClick:()=>_(a),className:`dtSort w-full px-2 py-2 text-inherit ${C[a]?"text-right":"text-left"}`,title:k("sessionDashboard.tableSort","Sort by this column"),children:[e,(0,t.jsx)("span",{"aria-hidden":!0,className:"ml-1 inline-block w-2 text-[9px] opacity-70",children:M?.col===a?1===M.dir?"▲":"▼":""})]})},a),g[27]=C,g[28]=M,g[29]=k,g[30]=e):e=g[30],d=y.map(e),g[22]=y,g[23]=C,g[24]=M,g[25]=k,g[26]=d}else d=g[26];if(g[31]!==d?(u=(0,t.jsx)("tr",{className:"bg-muted text-left text-[10px] uppercase tracking-wider text-muted-foreground backdrop-blur",children:d}),g[31]=d,g[32]=u):u=g[32],g[33]!==R||g[34]!==u?(m=(0,t.jsx)("thead",{className:R,children:u}),g[33]=R,g[34]=u,g[35]=m):m=g[35],g[36]!==P||g[37]!==C||g[38]!==z){let e;g[40]!==P||g[41]!==C?(e=(e,a)=>(0,t.jsx)("tr",{style:P?{contentVisibility:"auto",containIntrinsicSize:"0 31px"}:void 0,className:`border-t border-border/40 transition-colors hover:bg-muted/40 ${a%2==1?"bg-muted/20":""}`,children:e.map((e,a)=>(0,t.jsx)("td",{className:`px-3 py-[7px] text-foreground ${C[a]?"text-right tabular-nums":""}`,children:e},a))},a),g[40]=P,g[41]=C,g[42]=e):e=g[42],p=z.map(e),g[36]=P,g[37]=C,g[38]=z,g[39]=p}else p=g[39];return g[43]!==y.length||g[44]!==z.length||g[45]!==k?(h=0===z.length&&(0,t.jsx)("tr",{children:(0,t.jsx)("td",{colSpan:y.length||1,className:"px-3 py-3 text-center text-[11px] text-muted-foreground",children:k("sessionDashboard.tableNoMatch","No rows match")})}),g[43]=y.length,g[44]=z.length,g[45]=k,g[46]=h):h=g[46],g[47]!==p||g[48]!==h?(x=(0,t.jsxs)("tbody",{children:[p,h]}),g[47]=p,g[48]=h,g[49]=x):x=g[49],g[50]!==x||g[51]!==m?(f=(0,t.jsxs)("table",{className:"w-full text-xs",children:[m,x]}),g[50]=x,g[51]=m,g[52]=f):f=g[52],g[53]!==f||g[54]!==o?(b=(0,t.jsxs)("div",{className:"max-h-full overflow-auto rounded-lg border border-border/60",children:[o,f]}),g[53]=f,g[54]=o,g[55]=b):b=g[55],b}function w(e){return Number((e??"").replace(/[,%\s]/g,""))||0}function S(e){let r,l,n=(0,a.c)(11),{data:s,color:i}=e;if(s.length<2)return null;let o=Math.min(...s),d=Math.max(...s)-o||1;if(n[0]!==s||n[1]!==o||n[2]!==d){let e;n[4]!==s.length||n[5]!==o||n[6]!==d?(e=(e,t)=>`${t/(s.length-1)*60},${18-(e-o)/d*16}`,n[4]=s.length,n[5]=o,n[6]=d,n[7]=e):e=n[7],r=s.map(e).join(" "),n[0]=s,n[1]=o,n[2]=d,n[3]=r}else r=n[3];let c=r;return n[8]!==i||n[9]!==c?(l=(0,t.jsx)("svg",{width:60,height:20,viewBox:"0 0 60 20",className:"shrink-0","aria-hidden":!0,children:(0,t.jsx)("polyline",{points:c,fill:"none",stroke:i,strokeWidth:1.5,strokeLinejoin:"round",strokeLinecap:"round"})}),n[8]=i,n[9]=c,n[10]=l):l=n[10],l}let N=r.default.createContext(null);function C(e){let l,n,s=(0,a.c)(7),{panel:i}=e,o=r.default.useContext(N),d=i.actionable?o:null;if(s[0]!==d||s[1]!==i.items){let e;s[3]!==d?(e=(e,a)=>{let r=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("span",{children:[(0,t.jsx)("span",{className:"font-medium text-foreground",children:e.title}),e.description?(0,t.jsx)("span",{className:"mt-0.5 block text-muted-foreground",children:e.description}):null]}),e.badge?(0,t.jsx)("span",{className:"shrink-0 rounded-full border border-border bg-muted px-2 py-0.5 text-[10px] font-medium text-muted-foreground",children:e.badge}):null]});return(0,t.jsx)("li",{children:d?(0,t.jsx)("button",{type:"button",onClick:()=>d(e.description?`${e.title} — ${e.description}`:e.title),className:"flex w-full items-start justify-between gap-2 rounded-lg border border-border/60 bg-card px-2.5 py-2 text-left shadow-sm transition-colors hover:border-foreground
1/40 hover:bg-muted/60",children:r}):(0,t.jsx)("div",{className:"flex w-full items-start justify-between gap-2 rounded-lg border border-border/60 bg-card px-2.5 py-2 text-left shadow-sm",children:r})},a)},s[3]=d,s[4]=e):e=s[4],l=i.items.map(e),s[0]=d,s[1]=i.items,s[2]=l}else l=s[2];return s[5]!==l?(n=(0,t.jsx)("ul",{className:"space-y-1.5 text-xs",children:l}),s[5]=l,s[6]=n):n=s[6],n}let M=/^[+\-−▲▼]?\s*[\d.,]+\s*(%|pp|bp|x|[KMBT])?$/i;function A(e){let r,l,n=(0,a.c)(4),{items:s}=e;return n[0]!==s?(r=s.map(L),n[0]=s,n[1]=r):r=n[1],n[2]!==r?(l=(0,t.jsx)("div",{className:"pvStatGrid flex flex-wrap gap-2.5",children:r}),n[2]=r,n[3]=l):l=n[3],l}function L(e,a){var r;let l="down"===e.trend?"var(--dnk-neg, #e34948)":"up"===e.trend?"var(--dnk-pos, #008300)":"var(--dnk-muted, #64748b)",n=e.delta?(r=e.delta,M.test(r.trim())||r.trim().length<=12):!!e.trend;return(0,t.jsxs)("div",{className:"pvStatTile flex min-w-0 flex-[1_1_148px] flex-col justify-between rounded-xl border border-border/70 bg-card px-3.5 py-3 shadow-sm transition-shadow hover:shadow-md",children:[(0,t.jsx)("div",{className:"pvStatLabel truncate text-[10px] font-semibold uppercase tracking-wider text-muted-foreground",title:e.label,children:e.label}),(0,t.jsxs)("div",{className:"pvStatValueRow mt-1.5 flex items-end justify-between gap-2",children:[(0,t.jsxs)("div",{className:"pvStatValue truncate text-[26px] font-extrabold leading-none tracking-tight tabular-nums text-foreground",children:[e.value,e.unit?(0,t.jsx)("span",{className:"ml-1 align-baseline text-[11px] font-medium text-muted-foreground",children:e.unit}):null]}),e.spark?.length?(0,t.jsx)(S,{data:e.spark,color:"var(--dnk-info, #2a78d6)"}):null]}),(e.trend||e.delta)&&(n?(0,t.jsxs)("span",{className:"mt-1.5 inline-flex w-fit items-center gap-0.5 rounded-full px-1.5 py-0.5 text-[10px] font-semibold tabular-nums",style:{color:l,background:`color-mix(in srgb, ${l} 12%, transparent)`},children:["down"===e.trend?"▼":"up"===e.trend?"▲":"",e.delta?` ${e.delta}`:""]}):(0,t.jsxs)("p",{className:"mt-1.5 truncate text-[11px] leading-tight text-muted-foreground",title:e.delta,children:[e.trend?(0,t.jsxs)("span",{style:{color:l},children:["down"===e.trend?"▼":"▲"," "]}):null,e.delta]}))]},a)}function $(e){let c,j,w,S=(0,a.c)(122),{panel:N}=e,M=r.default.useSyncExternalStore(g,b,f),L=r.default.useContext(u.SessionDashboardScope),T=r.default.useContext(u.SessionDashboardTheme),W=r.default.useContext(o.PanelCellContext),{t:B}=(0,l.useTranslation)();if(S[0]!==M||S[1]!==T){let e;c=T?(0,s.dashboardTheme)(T.canvas,T.theme):(e=M?"#ffffff":"#0b0b0b",{palette:M?p:m,seq:M?x:h,surface:M?"#1a1a19":"#ffffff",ink:e,inkMuted:M?"#c3c2b7":"#52514e",grid:M?"rgba(255,255,255,0.08)":"rgba(0,0,0,0.06)",tooltip:{backgroundColor:M?"#242423":"#ffffff",borderColor:M?"rgba(255,255,255,0.12)":"rgba(0,0,0,0.08)",borderWidth:1,padding:[8,12],textStyle:{color:e,fontSize:11},extraCssText:"box-shadow:0 4px 16px rgba(0,0,0,0.12);border-radius:8px;"}}),S[0]=M,S[1]=T,S[2]=c}else c=S[2];let H=c;if(L&&"dashboard"===N.type&&!T){let e,a;return S[3]!==N?(e=(0,t.jsx)($,{panel:N}),S[3]=N,S[4]=e):e=S[4],S[5]!==N.canvas||S[6]!==N.theme||S[7]!==e?(a=(0,t.jsx)(u.SessionDashboard,{canvas:N.canvas,theme:N.theme,children:e}),S[5]=N.canvas,S[6]=N.theme,S[7]=e,S[8]=a):a=S[8],a}if(S[9]!==T||S[10]!==W||S[11]!==N||S[12]!==B){j=Symbol.for("react.early_return_sentinel");e:{let e=T?(0,s.chartSpecFor)(N):null;if(e){let a,r,l,n,i,o;try{a=(0,s.buildDashboardOption)(e,(0,s.dashboardTheme)(T.canvas,T.theme))}catch{let e,a;S[14]!==B?(e=B("sessionDashboard.unavailable","Chart data unavailable. Check the source data."),S[14]=B,S[15]=e):e=S[15],S[16]!==e?(a=(0,t.jsx)("p",{role:"status",children:e}),S[16]=e,S[17]=a):a=S[17],j=a;break e}let c=e.unit?(0,t.jsx)("p",{className:"sd-chart-unit",children:e.unit}):null,u=(0,t.jsx)("div",{className:"sdChartFill",children:(0,t.jsx)(d.SizedEChart,{option:a,height:W?"fill":300})});S[18]!==B?(r=B("sessionDashboard.chartData","View chart data"),S[18]=B,S[19]=r):r=S[19],S[20]!==r?(l=(0,t.jsx)("summary",{children:r}),S[20]=r,S[21]=l):l=S[21];let m=(0,t.jsx)("tbody",{children:(0,s.chartRows)(e).map(F)});S[22]!==m?(n=(0,t.jsx)("table",{children:m}),S[22]=m,S[23]=n):n=S[23],S[24]!==l||S[25]!==n?(i=(0,t.jsxs)("details",{className:"sd-chart-data",children:[l,n]}),S[24]=l,S[25]=n,S[26]=i):i=S[26],S[27]!==c||S[28]!==u||S[29]!==i?(o=(0,t.jsxs)(t.Fragment,{children:[c,u,i]}),S[27]=c,S[28]=u,S[29]=i,S[30]=o):o=S[30],j=o;break e}}S[9]=T,S[10]=W,S[11]=N,S[12]=B,S[13]=j}else j=S[13];if(j!==Symbol.for("react.early_return_sentinel"))return j;if(S[31]!==N||S[32]!==H||S[33]!==B){w=Symbol.for("react.early_return_sentinel");t:{let e=function(e,t){switch(e.type){case"bar":case"vertical-bar":{let a=e.items.map(e=>({label:e.label,value:y(e.value)}));return v(t,"bar",a.map(e=>e.label),[{name:e.title??"Value",data:a.map(e=>e.value)}])}case"line":case"area":{let a=e.type;if(e.series?.length)return v(t,a,e.categories??e.series[0].data.map(e=>e.category),e.series.map(e=>({name:e.name,data:e.data.map(e=>e.value)})));let r=e.items??[];return v(t,a,r.map(e=>e.label),[{name:e.title??"Value",data:r.map(e=>e.value)}])}case"stacked-bar":return v(t,"bar",e.categories,e.series.map(e=>({name:e.name,data:e.data.map(e=>e.value)})),!0);case"pie":case"donut":{let a=e.items.reduce((e,t)=>
1e+t.value,0),r="donut"===e.type;return{color:t.palette,tooltip:{...t.tooltip,trigger:"item",formatter:e=>`${e.name}: <b>${e.value}</b> (${e.percent}%)`},legend:{bottom:0,icon:"circle",itemWidth:8,itemHeight:8,itemGap:12,textStyle:{fontSize:10,color:t.inkMuted}},graphic:r?[{type:"text",left:"center",top:"44%",style:{text:String(a),fontSize:22,fontWeight:700,fill:t.ink}},{type:"text",left:"center",top:"56%",style:{text:"total",fontSize:10,fill:t.inkMuted}}]:void 0,series:[{type:"pie",radius:r?["52%","74%"]:"74%",center:["50%","46%"],data:e.items.map(e=>({name:e.label,value:e.value})),label:r?{show:!1}:{fontSize:10,color:t.inkMuted,formatter:"{b} {d}%"},labelLine:r?{show:!1}:{lineStyle:{color:t.grid}},itemStyle:{borderColor:t.surface,borderWidth:2,borderRadius:r?4:2},emphasis:{scale:!0,scaleSize:4,itemStyle:{shadowBlur:10,shadowColor:"rgba(0,0,0,0.2)"}}}]}}case"scatter":return{color:t.palette,tooltip:{...t.tooltip,trigger:"item",formatter:e=>{let t=e.data;return Array.isArray(t)?`${t.label??""} (${t[0]}, ${t[1]})`:""}},grid:{left:8,right:12,top:16,bottom:8,containLabel:!0},xAxis:{type:"value",axisLabel:{fontSize:10,color:t.inkMuted},splitLine:{lineStyle:{color:t.grid}}},yAxis:{type:"value",axisLabel:{fontSize:10,color:t.inkMuted},splitLine:{lineStyle:{color:t.grid}}},series:[{type:"scatter",symbolSize:10,itemStyle:{borderColor:t.surface,borderWidth:2,opacity:.9},data:e.points.map(e=>Object.assign([e.x,e.y],{label:e.label}))}]};case"radar":return{color:t.palette,tooltip:{...t.tooltip},radar:{indicator:e.items.map(t=>({name:t.label,max:1.2*Math.max(...e.items.map(e=>e.value))||1})),axisName:{fontSize:10,color:t.inkMuted},splitLine:{lineStyle:{color:t.grid}},splitArea:{areaStyle:{color:["transparent"]}},axisLine:{lineStyle:{color:t.grid}}},series:[{type:"radar",data:[{value:e.items.map(e=>e.value),name:e.title??"Value"}],lineStyle:{width:2},symbolSize:5,areaStyle:{opacity:.15}}]};case"treemap":return{color:t.palette,tooltip:{...t.tooltip},series:[{type:"treemap",data:e.items.map(e=>({name:e.label,value:e.value})),label:{fontSize:10,color:"#ffffff",formatter:"{b}\n{c}"},itemStyle:{borderColor:t.surface,borderWidth:2,gapWidth:2,borderRadius:4},breadcrumb:{show:!1},roam:!1,nodeClick:!1}]};case"funnel":return{color:t.palette,tooltip:{...t.tooltip,trigger:"item"},series:[{type:"funnel",data:e.items.map(e=>({name:e.label,value:e.value})),gap:3,label:{fontSize:10,color:"#ffffff",position:"inside",formatter:"{b}  {c}"},itemStyle:{borderColor:t.surface,borderWidth:2,borderRadius:3},emphasis:{label:{fontSize:11}}}]};case"gauge":return{series:[{type:"gauge",max:e.target||100,startAngle:210,endAngle:-30,progress:{show:!0,roundCap:!0,width:12,itemStyle:{color:t.palette[0]}},axisLine:{roundCap:!0,lineStyle:{width:12,color:[[1,t.grid]]}},pointer:{show:!1},axisTick:{show:!1},splitLine:{show:!1},axisLabel:{show:!1},title:{fontSize:11,color:t.inkMuted,offsetCenter:[0,"32%"]},detail:{fontSize:22,fontWeight:700,color:t.ink,offsetCenter:[0,"-2%"],formatter:e=>`${e}`},data:[{value:e.value,name:e.label??""}]}]};case"heatmap":return function(e,t,a){if(t.length<2||0===a.length)return null;let r=t.slice(1),l=a.map(e=>e[0]),n=[],s=1/0,i=-1/0;for(let e=0;e<a.length;e++)for(let t=0;t<r.length;t++){let r=a[e][t+1],l=y(r??"");if(void 0===r||""===r||Number.isNaN(l))return null;n.push([t,e,l]),s=Math.min(s,l),i=Math.max(i,l)}return{tooltip:{...e.tooltip,formatter:e=>{let t=e.data;return`${l[t[1]]} \xb7 ${r[t[0]]}: <b>${t[2]}</b>`}},grid:{left:8,right:12,top:8,bottom:44,containLabel:!0},xAxis:{type:"category",data:r,axisTick:{show:!1},axisLine:{show:!1},axisLabel:{fontSize:10,color:e.inkMuted}},yAxis:{type:"category",data:l,axisTick:{show:!1},axisLine:{show:!1},axisLabel:{fontSize:10,color:e.inkMuted}},visualMap:{min:s,max:i,orient:"horizontal",left:"center",bottom:0,itemWidth:10,itemHeight:80,calculable:!1,inRange:{color:e.seq},textStyle:{fontSize:9,color:e.inkMuted}},series:[{type:"heatmap",data:n,itemStyle:{borderColor:e.surface,borderWidth:2,borderRadius:3},label:{show:r.length*a.length<=40,fontSize:9,color:e.ink},emphasis:{itemStyle:{shadowBlur:6,shadowColor:"rgba(0,0,0,0.25)"}}}]}}(t,e.headers,e.rows);default:return(0,i.nocturneChartOption)(e,t)}}(N,H);if(e&&function(e){if(Array.isArray(e.series))return e.series.every(e=>!e.data?.length);for(let t of["items","points","links"])if(Array.isArray(e[t]))return 0===e[t].length;return!!Array.isArray(e.rows)&&0===e.rows.length}(N)){let e,a;S[35]!==B?(e=B("paletteOs:ui.visuals.noData","NO DATA"),S[35]=B,S[36]=e):e=S[36],S[37]!==e?(a=(0,t.jsx)("div",{className:"dbEmpty flex h-24 items-center justify-center rounded-lg border border-dashed border-border/70 text-[10px] font-medium uppercase tracking-widest text-muted-foreground",children:e}),S[37]=e,S[38]=a):a=S[38],w=a;break t}if(e){let a=function(e){let t=Array.isArray(e.series)?e.series:e.series?[e.series]:[],a=Array.isArray(e.xAxis)?e.xAxis[0]:e.xAxis,r=a&&"object"==typeof a&&"data"in a&&Array.isArray(a.data)?a.data.map(String):null;if(r&&t.length)return[["",...t.map((e,t)=>e.name||`#${t+1}`)],...r.map((e,a)=>[e,...t.map(e=>{let t=e.data?.[a];return"number"==typeof t?t:t&&"object"==typeof t&&"value"in t?t.value:null})])];let l=t.find(e=>
1"pie"===e.type&&Array.isArray(e.data));return l?.data?[["",l.name||"Value"],...l.data.map(e=>[e.name??"",e.value??null])]:[]}(e),r="heatmap"===N.type||"radar"===N.type||"sankey"===N.type||"network"===N.type||"bubble"===N.type;w=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.SizedEChart,{option:e,height:r?300:248}),a.length>1&&(0,t.jsxs)("details",{className:"sd-chart-data",children:[(0,t.jsx)("summary",{children:B("sessionDashboard.chartData","View chart data")}),(0,t.jsx)("table",{children:(0,t.jsx)("tbody",{children:a.map(D)})})]})]});break t}}S[31]=N,S[32]=H,S[33]=B,S[34]=w}else w=S[34];if(w!==Symbol.for("react.early_return_sentinel"))return w;if((0,i.isNocturneCard)(N.type)){let e;return S[39]!==N?(e=(0,t.jsx)("div",{className:"nk",children:(0,t.jsx)(i.NocturneCard,{panel:N})}),S[39]=N,S[40]=e):e=S[40],e}switch(N.type){case"po":{let e,a,r,l,n;S[41]===Symbol.for("react.memo_cache_sentinel")?(e=(0,o.getPoPanelRenderer)(),S[41]=e):e=S[41];let s=e;if(s){let e;return S[42]!==N?(e=(0,t.jsx)(s,{panel:N}),S[42]=N,S[43]=e):e=S[43],e}S[44]!==N.data?(a=N.data??{},S[44]=N.data,S[45]=a):a=S[45];let i=a;S[46]!==i.columns?(r=Array.isArray(i.columns)?i.columns.map(String):[],S[46]=i.columns,S[47]=r):r=S[47];let d=r;S[48]!==i.rows?(l=Array.isArray(i.rows)?i.rows.map(O):[],S[48]=i.rows,S[49]=l):l=S[49];let c=l;if(!d.length&&!c.length)return null;return S[50]!==d||S[51]!==c?(n=(0,t.jsx)(k,{headers:d,rows:c}),S[50]=d,S[51]=c,S[52]=n):n=S[52],n}case"table":case"heatmap":{let e;return S[53]!==N.headers||S[54]!==N.rows?(e=(0,t.jsx)(k,{headers:N.headers,rows:N.rows}),S[53]=N.headers,S[54]=N.rows,S[55]=e):e=S[55],e}case"stats":case"kpi":{let e;return S[56]!==N.items?(e=(0,t.jsx)(A,{items:N.items}),S[56]=N.items,S[57]=e):e=S[57],e}case"summary":{let e,a;return S[58]!==N.items?(e=N.items.map(R),S[58]=N.items,S[59]=e):e=S[59],S[60]!==e?(a=(0,t.jsx)("div",{className:"divide-y divide-border/50",children:e}),S[60]=e,S[61]=a):a=S[61],a}case"progress":{let e,a;if(S[62]!==M||S[63]!==N.items){let a;S[65]!==M?(a=(e,a)=>(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"mb-1 flex justify-between text-[11px]",children:[(0,t.jsx)("span",{className:"text-muted-foreground",children:e.label}),(0,t.jsxs)("span",{className:"font-medium tabular-nums text-foreground",children:[e.value,"%"]})]}),(0,t.jsx)("div",{className:"h-2 overflow-hidden rounded-full bg-muted",children:(0,t.jsx)("div",{className:"h-full rounded-full transition-[width]",style:{width:`${Math.min(e.value,100)}%`,background:(M?p:m)[0]}})})]},a),S[65]=M,S[66]=a):a=S[66],e=N.items.map(a),S[62]=M,S[63]=N.items,S[64]=e}else e=S[64];return S[67]!==e?(a=(0,t.jsx)("div",{className:"space-y-2.5",children:e}),S[67]=e,S[68]=a):a=S[68],a}case"list":{let e;return S[69]!==N?(e=(0,t.jsx)(C,{panel:N}
1),S[69]=N,S[70]=e):e=S[70],e}case"alert":{let e,a,r,l="error"===N.variant?"border-rose-300/60 bg-rose-500/10 text-rose-900 dark:text-rose-200":"warning"===N.variant?"border-amber-300/60 bg-amber-500/10 text-amber-900 dark:text-amber-200":"success"===N.variant?"border-emerald-300/60 bg-emerald-500/10 text-emerald-900 dark:text-emerald-200":"border-sky-300/60 bg-sky-500/10 text-sky-900 dark:text-sky-200",n="error"===N.variant?"⛔":"warning"===N.variant?"⚠️":"success"===N.variant?"✅":"ℹ️",s=`flex items-start gap-2 rounded-lg border px-3 py-2 text-xs ${l}`;return S[71]!==n?(e=(0,t.jsx)("span",{"aria-hidden":!0,children:n}),S[71]=n,S[72]=e):e=S[72],S[73]!==N.message?(a=(0,t.jsx)("span",{children:N.message}),S[73]=N.message,S[74]=a):a=S[74],S[75]!==s||S[76]!==e||S[77]!==a?(r=(0,t.jsxs)("div",{className:s,children:[e,a]}),S[75]=s,S[76]=e,S[77]=a,S[78]=r):r=S[78],r}case"timeline":{let e,a;if(S[79]!==M||S[80]!==N.events){let a;S[82]!==M?(a=(e,a)=>(0,t.jsxs)("li",{className:"relative",children:[(0,t.jsx)("span",{className:"absolute -left-[16.5px] top-1 size-2 rounded-full border-2 border-background",style:{background:(M?p:m)[0]}}),(0,t.jsx)("div",{className:"text-[10px] font-medium uppercase tracking-wide text-muted-foreground",children:e.date}),(0,t.jsx)("div",{className:"font-medium text-foreground",children:e.title}),e.description?(0,t.jsx)("div",{className:"mt-0.5 text-muted-foreground",children:e.description}):null]},a),S[82]=M,S[83]=a):a=S[83],e=N.events.map(a),S[79]=M,S[80]=N.events,S[81]=e}else e=S[81];return S[84]!==e?(a=(0,t.jsx)("ol",{className:"relative space-y-3 pl-4 text-xs before:absolute before:bottom-1 before:left-[3px] before:top-1 before:w-px before:bg-border",children:e}),S[84]=e,S[85]=a):a=S[85],a}case"comparison":{let e,a,r,l;S[86]!==N.items?(e=Array.from(new Set(N.items.flatMap(P))),S[86]=N.items,S[87]=e):e=S[87];let n=e;return S[88]!==N.items?(a=["",...N.items.map(_)],S[88]=N.items,S[89]=a):a=S[89],S[90]!==n||S[91]!==N.items?(r=n.map(e=>[e,...N.items.map(t=>t.attributes[e]??"—")]),S[90]=n,S[91]=N.items,S[92]=r):r=S[92],S[93]!==a||S[94]!==r?(l=(0,t.jsx)(k,{headers:a,rows:r}),S[93]=a,S[94]=r,S[95]=l):l=S[95],l}case"image":{let e,a,r,l=N.alt??N.title??"";return S[96]!==N.url||S[97]!==l?(e=(0,t.jsx)("img",{src:N.url,alt:l,className:"max-w-full rounded-lg border border-border/60"}),S[96]=N.url,S[97]=l,S[98]=e):e=S[98],S[99]!==N.caption?(a=N.caption?(0,t.jsx)("figcaption",{className:"mt-1 text-[11px] text-muted-foreground",children:N.caption}):null,S[99]=N.caption,S[100]=a):a=S[100],S[101]!==e||S[102]!==a?(r=(0,t.jsxs)("figure",{children:[e,a]}),S[101]=e,S[102]=a,S[103]=r):r=S[103],r}case"code":{let e;return S[104]!==N.code?(e=(0,t.jsx)("pre",{className:"overflow-x-auto rounded-lg bg-muted p-3 text-[11px] text-foreground",children:(0,t.jsx)("code",{children:N.code})}),S[104]=N.code,S[105]=e):e=S[105],e}case"markdown":{let e;return S[106]!==N.content?(e=(0,t.jsx)(n.ChatMarkdown,{compact:!0,children:N.content}),S[106]=N.content,S[107]=e):e=S[107],e}case"kanban":{let e,a;if(S[108]!==M||S[109]!==N.columns){let a;S[111]!==M?(a=(e,a)=>(0,t.jsxs)("div",{className:"min-w-40 flex-1 rounded-lg border border-border/60 bg-muted/20 p-2",children:[(0,t.jsxs)("div",{className:"mb-1.5 flex items-center gap-1.5 text-[10px] font-semibold uppercase tracking-wide text-muted-foreground",children:[(0,t.jsx)("span",{className:"size-2 rounded-full",style:{background:e.color||(M?p:m)[a%8]}}),e.title,(0,t.jsx)("span",{className:"ml-auto font-normal",children:e.items.length})]}),(0,t.jsx)("div",{className:"space-y-1.5",children:e.items.map(z)})]},a),S[111]=M,S[112]=a):a=S[112],e=N.columns.map(a),S[108]=M,S[109]=N.columns,S[110]=e}else e=S[110];return S[113]!==e?(a=(0,t.jsx)("div",{className:"flex gap-2 overflow-x-auto pb-1",children:e}),S[113]=e,S[114]=a):a=S[114],a}case"dashboard":{let e;return S[115]!==N.layout||S[116]!==N.panels?(e=(0,t.jsx)(E,{panels:N.panels,layout:N.layout}),S[115]=N.layout,S[116]=N.panels,S[117]=e):e=S[117],e}default:{let e,a;return S[118]!==N?(e=JSON.stringify(N,null,2),S[118]=N,S[119]=e):e=S[119],S[120]!==e?(a=(0,t.jsx)("pre",{className:"overflow-x-auto rounded-lg bg-muted p-3 text-[11px] text-muted-foreground",children:e}),S[120]=e,S[121]=a):a=S[121],a}}}function z(e,a){return(0,t.jsxs)("div",{className:"rounded-md border border-border/60 bg-card px-2 py-1.5 text-xs shadow-sm",children:[(0,t.jsx)("div",{className:"font-medium text-foreground",children:e.title}),e.description?(0,t.jsx)("div",{className:"mt-0.5 text-[11px] text-muted-foreground",children:e.description}):null,e.badge?(0,t.jsx)("span",{className:"mt-1 inline-block rounded-full bg-muted px-1.5 py-0.5 text-[9px] text-muted-foreground",children:e.badge}):null]},a)}function _(e){return e.name}function P(e){return Object.keys(e.attributes)}function R(e,a){return(0,t.jsxs)("div",{className:"flex items-baseline justify-between gap-3 py-2 text-xs first:pt-0.5 last:pb-0.5",children:[(0,t.jsx)("span",{className:"text-muted-foreground",children:e.label}),(0,t.jsxs)("span",{className:"text-right",children:[(0,t.jsx)("span",{className:"text-sm font-semibold tabular-nums text-foreground",children:e.value}),e.description?(0,t.jsx)("span",{className:"block text-[10px] text-muted-foreground",children:e.description}):null]})]},a)}function O(e){return Array.isArray(e)?e.map(T):[]}function T(e){return String(e??"")}function D(e,a){return(0,t.jsx)("tr",{children:e.map(W)},a)}function W(e,a){return a?(0,t.jsx)("td",{children:null==e?"—":String(e)},a):(0,t.jsx)("th",{scope:"row",children:String(e??"")},a)}function F(e,a){return(0,t.jsx)("tr",{children:e.map(B)},a)}function B(e,a){return a?(0,t.jsx)("td",{children:null==e?"—":String(e)},a):(0,t.jsx)("th",{scope:"row",children:String(e??"")},a)}function E(e){let l,n,i,d,c,m,p,h,x,f,b=(0,a.c)(24),{panels:g,layout:y}=e,v=r.default.useRef(null),[j,k]=r.default.useState(12),w=!!r.default.useContext(u.SessionDashboardTheme),S=w?s.sessionGridColsFor:s.gridColsFor;if(b[0]!==S?(l=()=>{let e=v.current;if(e&&e.clientWidth&&k(S(e.clientWidth)),!e||"u"<typeof ResizeObserver)return;let t=new ResizeObserver(t=>{let a=t[0]?.contentRect.width||e.clientWidth;a&&k(S(a))});return t.observe(e),()=>t.disconnect()},n=[S],b[0]=S,b[1]=l,b[2]=n):(l=b[1],n=b[2]),r.default.useLayoutEffect(l,n),b[3]!==j||b[4]!==y||b[5]!==g||b[6]!==w){let e=(0,s.layoutGrid)(g,y,j,w);i=o.PanelCellContext.Provider,h=!0,d=v,c="pvGrid";let t=`repeat(${j}, minmax(0, 1fr))`;b[13]!==t?(m={display:"grid",gridTemplateColumns:t,gridAutoRows:"auto",gap:12},b[13]=t,b[14]=m):m=b[14],p=e.map(H),b[3]=j,b[4]=y,b[5]=g,b[6]=w,b[7]=i,b[8]=d,b[9]=c,b[10]=m,b[11]=p,b[12]=h}else i=b[7],d=b[8],c=b[9],m=b[10],p=b[11],h=b[12];return b[15]!==d||b[16]!==c||b[17]!==m||b[18]!==p?(x=(0,t.jsx)("div",{ref:d,className:c,style:m,children:p}),b[15]=d,b[16]=c,b[17]=m,b[18]=p,b[19]=x):x=b[19],b[20]!==i||b[21]!==
1h||b[22]!==x?(f=(0,t.jsx)(i,{value:h,children:x}),b[20]=i,b[21]=h,b[22]=x,b[23]=f):f=b[23],f}function H(e,a){let r="po"===e.panel.type?e.panel.visual:e.panel.type,l=null!==e.gh&&"chart"===(0,s.panelRole)(e.panel)&&"leaderboard"!==r;return(0,t.jsx)("div",{className:`pvCell${l?"":" pvFlow"}`,style:{gridColumn:`span ${e.gw}`,minWidth:0,minHeight:l?40*e.gh+(e.gh-1)*12:0},children:(0,t.jsx)(V,{panel:e.panel})},a)}let I=new Set(["hero","stats","kpi",...i.NOCTURNE_BARE_TYPES]);function V(e){let l,n,d,c,m=(0,a.c)(44),{panel:p}=e,h="title"in p?p.title:void 0,x=r.default.useContext(o.PanelCellContext),f=r.default.useContext(u.SessionDashboardTheme);e:{if(!f||!x||"list"===p.type&&p.actionable){l=null;break e}try{let e;m[0]!==p?(e=(0,s.panelCardHtml)(p),m[0]=p,m[1]=e):e=m[1],l=e}catch{l=null}}let b=l;if(b){let e,a,r=b.bare?"board-bare":"panel";return m[2]!==b.html?(e={__html:b.html},m[2]=b.html,m[3]=e):e=m[3],m[4]!==r||m[5]!==e?(a=(0,t.jsx)("section",{className:r,dangerouslySetInnerHTML:e}),m[4]=r,m[5]=e,m[6]=a):a=m[6],a}if("dashboard"===p.type){let e,a,r;return m[7]!==h?(e=h?(0,t.jsx)("h4",{className:"mb-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground",children:h}):null,m[7]=h,m[8]=e):e=m[8],m[9]!==p?(a=(0,t.jsx)($,{panel:p}),m[9]=p,m[10]=a):a=m[10],m[11]!==e||m[12]!==a?(r=(0,t.jsxs)("section",{children:[e,a]}),m[11]=e,m[12]=a,m[13]=r):r=m[13],r}if("po"===p.type){let e,a,r;if((0,o.getPoPanelRenderer)()){let e;return m[14]!==p?(e=(0,t.jsx)($,{panel:p}),m[14]=p,m[15]=e):e=m[15],e}return m[16]!==h?(e=h?(0,t.jsx)("h4",{className:"mb-2 text-[11px] font-semibold uppercase tracking-wider text-muted-foreground",children:h}):null,m[16]=h,m[17]=e):e=m[17],m[18]!==p?(a=(0,t.jsx)($,{panel:p}),m[18]=p,m[19]=a):a=m[19],m[20]!==e||m[21]!==a?(r=(0,t.jsxs)("section",{children:[e,a]}),m[20]=e,m[21]=a,m[22]=r):r=m[22],r}if(x&&!I.has(p.type)){let e,a,r;return m[23]!==h?(e=h?(0,t.jsx)("div",{className:"dbPanelHead",children:(0,t.jsx)("span",{title:h,children:h})}):null,m[23]=h,m[24]=e):e=m[24],m[25]!==p?(a=(0,t.jsx)("div",{className:"pvBody",children:(0,t.jsx)($,{panel:p})}),m[25]=p,m[26]=a):a=m[26],m[27]!==e||m[28]!==a?(r=(0,t.jsxs)("section",{className:"dbPanel dbPanelFill",children:[e,a]}),m[27]=e,m[28]=a,m[29]=r):r=m[29],r}if("stats"===p.type||"kpi"===p.type||i.NOCTURNE_BARE_TYPES.has(p.type)){let e,a,r;return m[30]!==h?(e=h?(0,t.jsx)("h4",{className:"mb-2 text-[11px] font-semibold uppercase tracking-wider text-muted-foreground",children:h}):null,m[30]=h,m[31]=e):e=m[31],m[32]!==p?(a=(0,t.jsx)($,{panel:p}),m[32]=p,m[33]=a):a=m[33],m[34]!==e||m[35]!==a?(r=(0,t.jsxs)("section",{children:[e,a]}),m[34]=e,m[35]=a,m[36]=r):r=m[36],r}return m[37]!==h?(n=h?(0,t.jsx)("h4",{className:"mb-2.5 text-[13px] font-semibold leading-tight text-foreground",children:h}):null,m[37]=h,m[38]=n):n=m[38],m[39]!==p?(d=(0,t.jsx)($,{panel:p}),m[39]=p,m[40]=d):d=m[40],m[41]!==n||m[42]!==d?(c=(0,t.jsxs)("section",{className:"h-full rounded-xl border border-border/70 bg-card p-3.5 shadow-sm transition-shadow hover:shadow-md",children:[n,d]}),m[41]=n,m[42]=d,m[43]=c):c=m[43],c}e.s(["PanelActionContext",0,N,"PanelContentCard",0,V,"PanelContentView",0,$])},617927,e=>{"use strict";var t=e.i(843476),a=e.i(500932),r=e.i(271645),l=e.i(402389);let n=e=>`t-${e??"neutral"}`;function s(e,t){return!Number.isFinite(t)||t<=0?0:Math.max(0,Math.min(100,e/t*100))}function i(e){return new Intl.NumberFormat(void 0,{notation:Math.abs(e)>=1e5?"compact":"standard",maximumFractionDigits:1}).format(e)}let o=new Set(["hero","state","columns","document","approval","master-detail"]),d=new Set(["hero","ring","split","segments","state","columns","leaderboard","feed","master-detail","datafeeds","document","approval","badges","bullet"]);function c(e){let r,l,n,i,o,d,c,u,m,p,h,x,f,b,g,y=(0,a.c)(35),{value:v,max:j}=e;if(y[0]!==j||y[1]!==v){let e=s(v,j),a=2*Math.PI*34;f="0 0 84 84",l="img",n=`${Math.round(e)} percent`,y[15]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)("circle",{cx:"42",cy:"42",r:34,fill:"none",stroke:"var(--nk-surface-3)",strokeWidth:"8"}),y[15]=i):i=y[15];let b=a*(1-e/100);y[16]!==b?(o=(0,t.jsx)("circle",{cx:"42",cy:"42",r:34,fill:"none",stroke:"var(--nk-accent)",strokeWidth:"8",strokeLinecap:"round",strokeDasharray:a,strokeDashoffset:b,transform:"rotate(-90 42 42)"}
1),y[16]=b,y[17]=o):o=y[17],r="42",d="47",c="middle",u="15",m="700",p="var(--nk-text)",y[18]===Symbol.for("react.memo_cache_sentinel")?(h={fontFamily:"var(--font-mono)"},y[18]=h):h=y[18],x=Math.round(e),y[0]=j,y[1]=v,y[2]=r,y[3]=l,y[4]=n,y[5]=i,y[6]=o,y[7]=d,y[8]=c,y[9]=u,y[10]=m,y[11]=p,y[12]=h,y[13]=x,y[14]=f}else r=y[2],l=y[3],n=y[4],i=y[5],o=y[6],d=y[7],c=y[8],u=y[9],m=y[10],p=y[11],h=y[12],x=y[13],f=y[14];return y[19]!==r||y[20]!==d||y[21]!==c||y[22]!==u||y[23]!==m||y[24]!==p||y[25]!==h||y[26]!==x?(b=(0,t.jsxs)("text",{x:r,y:d,textAnchor:c,fontSize:u,fontWeight:m,fill:p,style:h,children:[x,"%"]}),y[19]=r,y[20]=d,y[21]=c,y[22]=u,y[23]=m,y[24]=p,y[25]=h,y[26]=x,y[27]=b):b=y[27],y[28]!==l||y[29]!==n||y[30]!==i||y[31]!==o||y[32]!==b||y[33]!==f?(g=(0,t.jsxs)("svg",{viewBox:f,role:l,"aria-label":n,children:[i,o,b]}),y[28]=l,y[29]=n,y[30]=i,y[31]=o,y[32]=b,y[33]=f,y[34]=g):g=y[34],g}function u(e){let n,s,i,o,d,c=(0,a.c)(14),{panel:u}=e,[p,h]=r.default.useState(0),x=u.items[Math.min(p,u.items.length-1)];if(c[0]!==u.items||c[1]!==p){let e;c[3]!==p?(e=(e,a)=>(0,t.jsxs)("button",{type:"button",className:"nkMdItem","aria-current":a===p,onClick:()=>h(a),children:[(0,t.jsx)("b",{children:e.name}
1),e.subtitle?(0,t.jsx)("small",{children:e.subtitle}):null]},a),c[3]=p,c[4]=e):e=c[4],n=u.items.map(e),c[0]=u.items,c[1]=p,c[2]=n}else n=c[2];return c[5]!==n?(s=(0,t.jsx)("div",{className:"nkMdList",children:n}),c[5]=n,c[6]=s):s=c[6],c[7]!==x?(i=x?.fields.length?x.fields.map(m):(0,t.jsx)("span",{className:"nkEyebrow",children:l.default.t("componentsUi.nocturnePanels.noFields","No fields")}),c[7]=x,c[8]=i):i=c[8],c[9]!==i?(o=(0,t.jsx)("div",{className:"nkMdInsp",children:i}),c[9]=i,c[10]=o):o=c[10],c[11]!==s||c[12]!==o?(d=(0,t.jsxs)("div",{className:"nkMd",children:[s,o]}),c[11]=s,c[12]=o,c[13]=d):d=c[13],d}function m(e,a){return(0,t.jsxs)("div",{className:"nkMdField",children:[(0,t.jsx)("span",{className:"k",children:e.key}),(0,t.jsx)("span",{className:"v",children:e.value})]},a)}function p(e,a){let r=Math.max(e.value,e.target,1),l=e.value>=e.target;return(0,t.jsxs)("div",{className:`nkBullet ${l?"t-pos":"t-warn"}`,children:[(0,t.jsxs)("div",{className:"nkBulletHead",children:[(0,t.jsx)("span",{children:e.label}),(0,t.jsxs)("b",{children:[i(e.value)," / ",i(e.target)]})]}),(0,t.jsxs)("div",{className:"nkBulletTrack",children:[(0,t.jsx)("div",{className:"nkBulletFill",style:{width:`${s(e.value,r)}%`}}),(0,t.jsx)("div",{className:"nkBulletTarget",style:{left:`${s(e.target,r)}%`}})]})]},a)}function h(e,a){return(0,t.jsxs)("span",{className:`nkBadge ${n(e.tone)}`,children:[(0,t.jsx)("i",{className:"nkDot"}),e.label]},a)}function x(e,a){return(0,t.jsxs)("span",{children:[e.label," · ",(0,t.jsx)("b",{children:e.value})]},a)}function f(e,a){var r;let l,s=(r=e.name,"pdf"===(l=r.split(".").pop()?.toLowerCase()??"")?"pdf":["doc","docx","rtf","txt","md"].includes(l)?"doc":["xls","xlsx","csv","tsv"].includes(l)?"xls":["png","jpg","jpeg","gif","webp","svg"].includes(l)?"img":["zip","tar","gz","7z","rar"].includes(l)?"zip":"");return(0,t.jsxs)("div",{className:"nkDoc",children:[(0,t.jsx)("span",{className:`nkDocIcon ${s}`,"aria-hidden":!0,children:(s||e.name.split(".").pop()||"file").slice(0,3).toUpperCase()}),(0,t.jsxs)("div",{className:"nkDocMeta",children:[(0,t.jsx)("div",{className:"nkDocName",title:e.name,children:e.name}),(0,t.jsxs)("div",{className:"nkDocSub",children:[e.meta?(0,t.jsx)("span",{children:e.meta}):null,e.badge?(0,t.jsx)("span",{className:`nkBadge ${n(e.tone)}`,children:e.badge}):null]})]})]},a)}function b(e,a){return(0,t.jsxs)("div",{className:"nkFeedsRow",children:[(0,t.jsx)("span",{className:"nkFeedsIcon","aria-hidden":!0,children:e.label.slice(0,2).toUpperCase()}),(0,t.jsx)("span",{className:"nkFeedsName",title:e.label,children:e.label}),(0,t.jsx)("span",{className:"nkFeedsVal",children:e.value})]},a)}function g(e,a){return(0,t.jsxs)("div",{className:`nkFeedRow ${n(e.tone)}`,children:[(0,t.jsxs)("div",{className:"nkFeedTitle",children:[(0,t.jsx)("i",{className:"nkDot"}),e.title]}),e.meta?(0,t.jsx)("div",{className:"nkFeedMeta",children:e.meta}):null,e.action?(0,t.jsx)("div",{className:"nkFeedAction",children:e.action}):null]},a)}function y(e){return e.value}function v(e){return e.value}function j(e,a){return(0,t.jsxs)("div",{children:[(0,t.jsx)("b",{children:e.value}),(0,t.jsx)("small",{children:e.caption})]},a)}function k(e,a){return(0,t.jsx)("span",{children:e},a)}function w(e,t){return e+t.value}function S(e,a){return(0,t.jsxs)("div",{className:`nkSplitHalf ${n(e.tone)}`,children:[(0,t.jsx)("div",{className:"nkSplitVal",children:e.value}),(0,t.jsx)("div",{className:"nkSplitLbl",children:e.label})]},a)}function N(e){let t=new Set;for(let a of e)t.add(a.source),t.add(a.target);return[...t].map(e=>({name:e}))}e.s(["NOCTURNE_BARE_TYPES",0,o,"NocturneCard",0,function(e){let r=(0,a.c)(119),{panel:l}=e;switch(l.type){case"hero":{let e,a,n,s;return r[0]!==l.caption?(e=l.caption?(0,t.jsx)("div",{className:"nkHeroCap",children:l.caption}):null,r[0]=l.caption,r[1]=e):e=r[1],r[2]!==l.value?(a=(0,t.jsx)("div",{className:"nkHeroVal",children:l.value}),r[2]=l.value,r[3]=a):a=r[3],r[4]!==l.delta||r[5]!==l.trend?(n=l.delta?(0,t.jsxs)("div",{className:"nkHeroDelta",children:["down"===l.trend?"▼":"▲"," ",l.delta]}):null,r[4]=l.delta,r[5]=l.trend,r[6]=n):n=r[6],r[7]!==e||r[8]!==a||r[9]!==n?(s=(0,t.jsxs)("div",{className:"nkHero",children:[e,a,n]}),r[7]=e,r[8]=a,r[9]=n,r[10]=s):s=r[10],s}case"ring":{let e,a,n,s,o,d,u;return r[11]!==l.max||r[12]!==l.value?(e=(0,t.jsx)(c,{value:l.value,max:l.max}),r[11]=l.max,r[12]=l.value,r[13]=e):e=r[13],r[14]!==l.value?(a=i(l.value),r[14]=l.value,r[15]=a):a=r[15],r[16]!==a?(n=(0,t.jsx)("div",{className:"nkRingVal",children:a}),r[16]=a,r[17]=n):n=r[17],r[18]!==l.label||r[19]!==l.max?(s=l.label??`of ${i(l.max)}`,r[18]=l.label,r[19]=l.max,r[20]=s):s=r[20],r[21]!==s?(o=(0,t.jsx)("div",{className:"nkRingLbl",children:s}),r[21]=s,r[22]=o):o=r[22],r[23]!==n||r[24]!==o?(d=(0,t.jsxs)("div",{children:[n,o]}),r[23]=n,r[24]=o,r[25]=d):d=r[25],r[26]!==e||r[27]!==d?(u=(0,t.jsxs)("div",{className:"nkRing",children:[e,d]}),r[26]=e,r[27]=d,r[28]=u):u=r[28],u}case"split":{let e,a;return r[29]!==l.items?(e=l.items.map(S),r[29]=l.items,r[30]=e):e=r[30],r[31]!==e?(a=(0,t.jsx)("div",{className:"nkSplit",children:e}),r[31]=e,r[32]=a):a=r[32],a}case"segments":{let e,a,s,o,d,c;r[33]!==l.items?(e=l.items.reduce(w,0)||1,r[33]=l.items,r[34]=e):e=r[34];let u=e;if(r[35]!==l.items||r[36]!==u){let e=["info","warn","pos","neg","neutral"];o=(0,t.jsx)("div",{className:"nkSegBar",children:l.items.map((a,r)=>
1(0,t.jsx)("i",{className:n(a.tone??e[r%e.length]),style:{width:`${a.value/u*100}%`,background:"var(--nk-tone)"}},r))}),a="nkSegLegend",s=l.items.map((a,r)=>(0,t.jsxs)("span",{className:n(a.tone??e[r%e.length]),children:[(0,t.jsx)("i",{className:"nkDot"}),a.label," ",(0,t.jsx)("b",{children:i(a.value)})]},r)),r[35]=l.items,r[36]=u,r[37]=a,r[38]=s,r[39]=o}else a=r[37],s=r[38],o=r[39];return r[40]!==a||r[41]!==s?(d=(0,t.jsx)("div",{className:a,children:s}),r[40]=a,r[41]=s,r[42]=d):d=r[42],r[43]!==o||r[44]!==d?(c=(0,t.jsxs)("div",{children:[o,d]}),r[43]=o,r[44]=d,r[45]=c):c=r[45],c}case"state":{let e,a,n,s,i=`nkState ${l.tone}`;return r[46]!==l.heading?(e=(0,t.jsx)("div",{className:"nkStateHead",children:l.heading}),r[46]=l.heading,r[47]=e):e=r[47],r[48]!==l.tags?(a=l.tags.length?(0,t.jsx)("div",{className:"nkStateTags",children:l.tags.map(k)}):null,r[48]=l.tags,r[49]=a):a=r[49],r[50]!==l.items?(n=l.items.length?(0,t.jsx)("div",{className:"nkStateNums",children:l.items.map(j)}):null,r[50]=l.items,r[51]=n):n=r[51],r[52]!==i||r[53]!==e||r[54]!==a||r[55]!==n?(s=(0,t.jsxs)("div",{className:i,children:[e,a,n]}),r[52]=i,r[53]=e,r[54]=a,r[55]=n,r[56]=s):s=r[56],s}case"columns":{let e,a,n;r[57]!==l.items?(e=Math.max(...l.items.map(v),1),r[57]=l.items,r[58]=e):e=r[58];let o=e;if(r[59]!==o||r[60]!==l.items){let e;r[62]!==o?(e=(e,a)=>{let r=s(e.value,o);return(0,t.jsxs)("div",{className:`nkColumn${r>=32?" lit":""}`,children:[(0,t.jsx)("div",{className:"nkColumnFill",style:{height:`${r}%`}}),(0,t.jsx)("div",{className:"nkColumnVal",children:i(e.value)}),(0,t.jsx)("div",{className:"nkColumnLbl",title:e.label,children:e.label})]},a)},r[62]=o,r[63]=e):e=r[63],a=l.items.map(e),r[59]=o,r[60]=l.items,r[61]=a}else a=r[61];return r[64]!==a?(n=(0,t.jsx)("div",{className:"nkColumns",children:a}),r[64]=a,r[65]=n):n=r[65],n}case"leaderboard":{let e,a,n;r[66]!==l.items?(e=Math.max(...l.items.map(y),1),r[66]=l.items,r[67]=e):e=r[67];let o=e;if(r[68]!==o||r[69]!==l.items){let e;r[71]!==o?(e=(e,a)=>(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{style:{width:22},children:(0,t.jsx)("span",{className:"nkRank",children:a+1})}),(0,t.jsxs)("td",{children:[e.label,e.note?(0,t.jsx)("span",{className:"nkLeadNote",children:e.note}):null]}),(0,t.jsx)("td",{style:{width:"38%"},children:(0,t.jsx)("div",{className:"nkLeadBar",children:(0,t.jsx)("i",{style:{width:`${Math.max(4,s(e.value,o))}%`}})})}),(0,t.jsx)("td",{className:"nkLeadVal",children:i(e.value)})]},a),r[71]=o,r[72]=e):e=r[72],a=l.items.map(e),r[68]=o,r[69]=l.items,r[70]=a}else a=r[70];return r[73]!==a?(n=(0,t.jsx)("table",{className:"nkLead",children:(0,t.jsx)("tbody",{children:a})}),r[73]=a,r[74]=n):n=r[74],n}case"feed":{let e,a;return r[75]!==l.items?(e=l.items.map(g),r[75]=l.items,r[76]=e):e=r[76],r[77]!==e?(a=(0,t.jsx)("div",{children:e}),r[77]=e,r[78]=a):a=r[78],a}case"master-detail":{let e;return r[79]!==l?(e=(0,t.jsx)(u,{panel:l}),r[79]=l,r[80]=e):e=r[80],e}case"datafeeds":{let e,a;return r[81]!==l.items?(e=l.items.map(b),r[81]=l.items,r[82]=e):e=r[82],r[83]!==e?(a=(0,t.jsx)("div",{className:"nkFeeds",children:e}),r[83]=e,r[84]=a):a=r[84],a}case"document":{let e,a;return r[85]!==l.items?(e=l.items.map(f),r[85]=l.items,r[86]=e):e=r[86],r[87]!==e?(a=(0,t.jsx)("div",{className:"nkDocs",children:e}),r[87]=e,r[88]=a):a=r[88],a}case"approval":{let e,a,n,s,i,o,d,c,u,m,p;return r[89]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("span",{className:"nkApprovalIcon","aria-hidden":!0,children:"⚑"}),a={minWidth:0},r[89]=e,r[90]=a):(e=r[89],a=r[90]),r[91]!==l.heading?(n=(0,t.jsx)("div",{className:"nkApprovalTitle",children:l.heading}),r[91]=l.heading,r[92]=n):n=r[92],r[93]!==l.subtitle?(s=l.subtitle?(0,t.jsx)("div",{className:"nkApprovalSub",children:l.subtitle}):null,r[93]=l.subtitle,r[94]=s):s=r[94],r[95]!==n||r[96]!==s?(i=(0,t.jsxs)("div",{style:a,children:[n,s]}),r[95]=n,r[96]=s,r[97]=i):i=r[97],r[98]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)("span",{className:"nkGate",children:"● Human gate"}),r[98]=o):o=r[98],r[99]!==i?(d=(0,t.jsxs)("div",{className:"nkApprovalHead",children:[e,i,o]}),r[99]=i,r[100]=d):d=r[100],r[101]!==l.draft?(c=l.draft?(0,t.jsx)("div",{className:"nkDraft",children:l.draft}):null,r[101]=l.draft,r[102]=c):c=r[102],r[103]!==l.meta?(u=l.meta.length?(0,t.jsx)("div",{className:"nkApprovalMeta",children:l.meta.map(x)}):null,r[103]=l.meta,r[104]=u):u=r[104],r[105]!==c||r[106]!==u?(m=(0,t.jsxs)("div",{className:"nkApprovalBody",children:[c,u]}),r[105]=c,r[106]=u,r[107]=m):m=r[107],r[108]!==m||r[109]!==d?(p=(0,t.jsxs)("div",{className:"nkApproval",children:[d,m]}),r[108]=m,r[109]=d,r[110]=p):p=r[110],p}case"badges":{let e,a;return r[111]!==l.items?(e=l.items.map(h),r[111]=l.items,r[112]=e):e=r[112],r[113]!==e?(a=(0,t.jsx)("div",{className:"nkBadgeRow",children:e}),r[113]=e,r[114]=a):a=r[114],a}case"bullet":{let e,a;return r[115]!==l.items?(e=l.items.map(p),r[115]=l.items,r[116]=e):e
1=r[116],r[117]!==e?(a=(0,t.jsx)("div",{children:e}),r[117]=e,r[118]=a):a=r[118],a}default:return null}},"isNocturneCard",0,function(e){return d.has(e)},"nocturneChartOption",0,function(e,t){switch(e.type){case"sankey":return{color:t.palette,tooltip:{...t.tooltip,trigger:"item",triggerOn:"mousemove"},series:[{type:"sankey",data:N(e.links),links:e.links,emphasis:{focus:"adjacency"},nodeGap:10,nodeWidth:12,label:{fontSize:10,color:t.ink},lineStyle:{color:"gradient",opacity:.42,curveness:.5},itemStyle:{borderWidth:0}}]};case"boxplot":return{color:t.palette,tooltip:{...t.tooltip,trigger:"item"},grid:{left:8,right:12,top:18,bottom:8,containLabel:!0},xAxis:{type:"category",data:e.items.map(e=>e.label),axisLine:{lineStyle:{color:t.grid}},axisTick:{show:!1},axisLabel:{fontSize:10,color:t.inkMuted,hideOverlap:!0}},yAxis:{type:"value",axisLabel:{fontSize:10,color:t.inkMuted},splitLine:{lineStyle:{color:t.grid}}},series:[{type:"boxplot",data:e.items.map(e=>(function(e){let t=[...e].sort((e,t)=>e-t);if(5===t.length)return t;let a=e=>{let a=(t.length-1)*e,r=Math.floor(a),l=Math.ceil(a);return t[r]+(t[l]-t[r])*(a-r)};return[t[0],a(.25),a(.5),a(.75),t[t.length-1]]})(e.values)),itemStyle:{color:`${t.palette[0]}22`,borderColor:t.palette[0],borderWidth:1.5},emphasis:{itemStyle:{borderWidth:2,shadowBlur:6,shadowColor:"rgba(0,0,0,0.18)"}}}]};case"range":return{color:t.palette,tooltip:{...t.tooltip,trigger:"axis",axisPointer:{type:"shadow"},formatter:t=>{let a=e.items[t?.[0]?.dataIndex??0];return a?`${a.label}<br/><b>${a.low}</b> – <b>${a.high}</b>`:""}},grid:{left:8,right:12,top:18,bottom:8,containLabel:!0},xAxis:{type:"category",data:e.items.map(e=>e.label),axisLine:{lineStyle:{color:t.grid}},axisTick:{show:!1},axisLabel:{fontSize:10,color:t.inkMuted,hideOverlap:!0}},yAxis:{type:"value",axisLabel:{fontSize:10,color:t.inkMuted},splitLine:{lineStyle:{color:t.grid}}},series:[{type:"bar",stack:"range",silent:!0,data:e.items.map(e=>e.low),itemStyle:{color:"transparent"},barMaxWidth:24,tooltip:{show:!1}},{type:"bar",stack:"range",data:e.items.map(e=>e.high-e.low),itemStyle:{color:t.palette[0],borderRadius:3},barMaxWidth:24}]};case"before-after":return{color:t.palette,tooltip:{...t.tooltip,trigger:"axis",axisPointer:{type:"shadow"}},legend:{bottom:0,icon:"roundRect",itemWidth:10,itemHeight:10,itemGap:14,textStyle:{fontSize:10,color:t.inkMuted}},grid:{left:8,right:12,top:18,bottom:30,containLabel:!0},xAxis:{type:"category",data:e.items.map(e=>e.label),axisLine:{lineStyle:{color:t.grid}},axisTick:{show:!1},axisLabel:{fontSize:10,color:t.inkMuted,hideOverlap:!0}},yAxis:{type:"value",axisLabel:{fontSize:10,color:t.inkMuted},splitLine:{lineStyle:{color:t.grid}}},series:[{name:"Before",type:"bar",data:e.items.map(e=>e.before),barMaxWidth:22,itemStyle:{borderRadius:[4,4,0,0]}},{name:"After",type:"bar",data:e.items.map(e=>e.after),barMaxWidth:22,itemStyle:{borderRadius:[4,4,0,0]}}]};case"network":{let a=N(e.links),r=new Map;for(let t of e.links)r.set(t.source,(r.get(t.source)??0)+1),r.set(t.target,(r.get(t.target)??0)+1);return{color:t.palette,tooltip:{...t.tooltip,trigger:"item"},series:[{type:"graph",layout:"force",roam:!1,force:{repulsion:180,edgeLength:90,gravity:.12},data:a.map(e=>({name:e.name,symbolSize:14+Math.min(26,(r.get(e.name)??1)*5),itemStyle:{borderColor:t.surface,borderWidth:2}})),links:e.links.map(e=>({source:e.source,target:e.target,value:e.value})),label:{show:!0,position:"right",fontSize:10,color:t.inkMuted},lineStyle:{color:t.grid,width:1.2,curveness:.1},emphasis:{focus:"adjacency",lineStyle:{width:2}}}]}}case"bubble":{let a=Math.max(...e.items.map(e=>e.value),1),r=[...new Set(e.items.map(e=>e.group).filter(Boolean))];return{color:t.palette,tooltip:{...t.tooltip,trigger:"item",formatter:e=>`${e.name}: <b>${e.value}</b>`},series:[{type:"graph",layout:"force",roam:!1,force:{repulsion:90,gravity:.16,edgeLength:10},data:e.items.map(e=>({name:e.label,value:e.value,symbolSize:18+52*Math.sqrt(e.value/a),itemStyle:{color:t.palette[Math.max(0,r.indexOf(e.group??""))%t.palette.length],borderColor:t.surface,borderWidth:2}}
1)),links:[],label:{show:!0,fontSize:10,color:"#fff",formatter:"{b}"}}]}}case"combo":return{color:t.palette,tooltip:{...t.tooltip,trigger:"axis",axisPointer:{type:"cross"}},legend:{bottom:0,icon:"roundRect",itemWidth:10,itemHeight:10,itemGap:14,textStyle:{fontSize:10,color:t.inkMuted}},grid:{left:8,right:12,top:18,bottom:30,containLabel:!0},xAxis:{type:"category",data:e.categories,axisLine:{lineStyle:{color:t.grid}},axisTick:{show:!1},axisLabel:{fontSize:10,color:t.inkMuted,hideOverlap:!0}},yAxis:[{type:"value",axisLabel:{fontSize:10,color:t.inkMuted},splitLine:{lineStyle:{color:t.grid}}},{type:"value",axisLabel:{fontSize:10,color:t.inkMuted},splitLine:{show:!1}}],series:[{name:e.bar.name,type:"bar",yAxisIndex:0,data:e.bar.data,barMaxWidth:26,itemStyle:{borderRadius:[4,4,0,0]}},{name:e.line.name,type:"line",yAxisIndex:1,data:e.line.data,smooth:.3,showSymbol:!1,lineStyle:{width:2},itemStyle:{color:t.palette[1]}}]};default:return null}}])},409904,e=>{"use strict";var t=e.i(843476),a=e.i(271645);let r=(0,e.i(770703).default)(()=>e.A(867466),{loadableGenerated:{modules:[48513]},ssr:!1,loading:()=>(0,t.jsx)("div",{className:"h-48 w-full animate-pulse rounded-md bg-muted/40"})});e.s(["SizedEChart",0,function({option:e,height:l,onEvents:n,className:s,ariaLabel:i}){let o=a.default.useRef(null),d=a.default.useRef(null),c=a.default.useRef(null);a.default.useEffect(()=>{let e=o.current;if(!e||"u"<typeof ResizeObserver)return;let t=new ResizeObserver(()=>{try{c.current?.resize()}catch{}});return t.observe(e),()=>t.disconnect()},[]);let u="fill"===l,m=a.default.useMemo(()=>e.aria?e:{...e,aria:{enabled:!0}},[e]);return(0,t.jsx)("div",{ref:o,className:s??"w-full",style:u?{height:"100%",minHeight:0}:void 0,role:"img","aria-label":i??function(e,t="Chart"){let a=Array.isArray(e.title)?e.title[0]:e.title,r=a&&"object"==typeof a&&"text"in a&&"string"==typeof a.text?a.text:"",l=Array.isArray(e.series)?e.series:e.series?[e.series]:[],n=l.map(e=>e&&"object"==typeof e&&"name"in e&&"string"==typeof e.name?e.name:"").filter(
1Boolean),s=l.reduce((e,t)=>e+(t&&"object"==typeof t&&"data"in t&&Array.isArray(t.data)?t.data.length:0),0);return[r||t,n.length?`${n.slice(0,6).join(", ")}${n.length>6?` +${n.length-6}`:""}`:"",s?`${s} data points`:""].filter(Boolean).join(". ")}(e),children:(0,t.jsx)(r,{onChartReady:e=>{c.current=e},option:m,style:{height:u?"100%":l,width:"100%"},notMerge:!0,shouldSetOption:(e,t)=>{if(e.option===t.option)return!0;let a=function(e){try{return JSON.stringify(e)}catch{return null}}(t.option);if(null!==a&&a===d.current)return!1;d.current=a;var r=c.current??void 0;if(!(!r||r.isDisposed?.()))try{r.dispatchAction({type:"hideTip"}),r.dispatchAction({type:"updateAxisPointer",currTrigger:"leave"}),r.dispatchAction({type:"downplay"})}catch{}return!0},...n?{onEvents:n}:{}})})}])},90150,e=>{"use strict";var t=e.i(271645);let a=null,r=t.createContext(!1);e.s(["PanelCellContext",0,r,"getPoPanelRenderer",0,function(){return a},"registerPoPanelRenderer",0,function(e){a=e}])},655054,e=>{"use strict";var t=e.i(843476),a=e.i(500932),r=e.i(271645),l=e.i(174080);let n=(0,r.createContext)(!1),s=(0,r.createContext)(null);e.s(["SessionDashboard",0,function(e){let n,i,o,d=(0,a.c)(12),{children:c,canvas:u,theme:m}=e,p=void 0===u?"light":u,h=void 0===m?"signal":m;if((0,r.useContext)(s)){let e;return d[0]!==c?(e=(0,t.jsx)(t.Fragment,{children:c}),d[0]=c,d[1]=e):e=d[1],e}return(0,l.preinit)("/session-dashboard-fonts.css",{as:"style"}),d[2]!==p||d[3]!==h?(n={canvas:p,theme:h},d[2]=p,d[3]=h,d[4]=n):n=d[4],d[5]!==p||d[6]!==c||d[7]!==h?(i=(0,t.jsx)("div",{className:"session-dashboard","data-session-dashboard":"nocturne-v1","data-canvas":p,"data-theme":h,children:c}),d[5]=p,d[6]=c,d[7]=h,d[8]=i):i=d[8],d[9]!==n||d[10]!==i?(o=(0,t.jsx)(s.Provider,{value:n,children:i}),d[9]=n,d[10]=i,d[11]=o):o=d[11],o},"SessionDashboardScope",0,n,"SessionDashboardTheme",0,s])}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.