@kb-labs/workflow-entry 2.119.0-canary.e120bc0ee → 2.119.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/dist/commands/defs-list.d.ts +7 -0
  2. package/dist/commands/defs-list.js +426 -0
  3. package/dist/commands/defs-list.js.map +1 -0
  4. package/dist/commands/defs-view.d.ts +7 -0
  5. package/dist/commands/defs-view.js +445 -0
  6. package/dist/commands/defs-view.js.map +1 -0
  7. package/dist/commands/health.js +38 -0
  8. package/dist/commands/health.js.map +1 -1
  9. package/dist/commands/lint.js.map +1 -1
  10. package/dist/commands/list.js +38 -0
  11. package/dist/commands/list.js.map +1 -1
  12. package/dist/commands/logs.js +38 -0
  13. package/dist/commands/logs.js.map +1 -1
  14. package/dist/commands/metrics.js +38 -0
  15. package/dist/commands/metrics.js.map +1 -1
  16. package/dist/commands/run.js +38 -0
  17. package/dist/commands/run.js.map +1 -1
  18. package/dist/commands/runs-approve.d.ts +1 -1
  19. package/dist/commands/runs-approve.js +38 -0
  20. package/dist/commands/runs-approve.js.map +1 -1
  21. package/dist/commands/runs-cancel.d.ts +1 -1
  22. package/dist/commands/runs-cancel.js +38 -0
  23. package/dist/commands/runs-cancel.js.map +1 -1
  24. package/dist/commands/runs-list.js +38 -0
  25. package/dist/commands/runs-list.js.map +1 -1
  26. package/dist/commands/runs-logs.d.ts +1 -1
  27. package/dist/commands/runs-logs.js +38 -0
  28. package/dist/commands/runs-logs.js.map +1 -1
  29. package/dist/commands/runs-rerun.js +38 -0
  30. package/dist/commands/runs-rerun.js.map +1 -1
  31. package/dist/commands/runs-restart.d.ts +1 -1
  32. package/dist/commands/runs-restart.js +38 -0
  33. package/dist/commands/runs-restart.js.map +1 -1
  34. package/dist/commands/runs-status.d.ts +1 -1
  35. package/dist/commands/runs-status.js +38 -0
  36. package/dist/commands/runs-status.js.map +1 -1
  37. package/dist/commands/runs-view.js +38 -0
  38. package/dist/commands/runs-view.js.map +1 -1
  39. package/dist/commands/runs-watch.js +38 -0
  40. package/dist/commands/runs-watch.js.map +1 -1
  41. package/dist/commands/status.js +38 -0
  42. package/dist/commands/status.js.map +1 -1
  43. package/dist/commands/workflow-run.js +38 -0
  44. package/dist/commands/workflow-run.js.map +1 -1
  45. package/dist/{flags-DFe8jyxw.d.ts → flags-4-7lLASx.d.ts} +11 -1
  46. package/dist/index.js +61 -1
  47. package/dist/index.js.map +1 -1
  48. package/dist/manifest.js +61 -1
  49. package/dist/manifest.js.map +1 -1
  50. package/dist/rest/cron-list-handler.js.map +1 -1
  51. package/dist/rest/index.js.map +1 -1
  52. package/dist/rest/job-cancel-handler.js.map +1 -1
  53. package/dist/rest/job-detail-handler.js.map +1 -1
  54. package/dist/rest/job-logs-handler.js.map +1 -1
  55. package/dist/rest/job-steps-handler.js.map +1 -1
  56. package/dist/rest/jobs-list-handler.js.map +1 -1
  57. package/dist/rest/pending-approvals-handler.js.map +1 -1
  58. package/dist/rest/resolve-approval-handler.js.map +1 -1
  59. package/dist/rest/run-detail-handler.js.map +1 -1
  60. package/dist/rest/runs-list-handler.js.map +1 -1
  61. package/dist/rest/stats-handler.js.map +1 -1
  62. package/dist/rest/workflow-detail-handler.js.map +1 -1
  63. package/dist/rest/workflow-run-cancel-handler.js.map +1 -1
  64. package/dist/rest/workflow-run-handler.js.map +1 -1
  65. package/dist/rest/workflow-runs-handler.js.map +1 -1
  66. package/dist/rest/workflows-list-handler.js.map +1 -1
  67. package/dist/ws/logs-channel.js.map +1 -1
  68. package/dist/ws/progress-channel.js.map +1 -1
  69. package/package.json +8 -8
  70. package/dist/manifest.json +0 -893
  71. package/dist/widgets/117.js +0 -32
  72. package/dist/widgets/165.js +0 -1
  73. package/dist/widgets/256.js +0 -407
  74. package/dist/widgets/326.js +0 -1
  75. package/dist/widgets/370.js +0 -1
  76. package/dist/widgets/405.js +0 -1
  77. package/dist/widgets/421.js +0 -96
  78. package/dist/widgets/46.js +0 -445
  79. package/dist/widgets/50.js +0 -1
  80. package/dist/widgets/546.js +0 -1
  81. package/dist/widgets/648.js +0 -1
  82. package/dist/widgets/669.js +0 -1
  83. package/dist/widgets/707.js +0 -1
  84. package/dist/widgets/716.js +0 -1
  85. package/dist/widgets/775.js +0 -1
  86. package/dist/widgets/78.js +0 -1
  87. package/dist/widgets/875.js +0 -25
  88. package/dist/widgets/945.js +0 -1
  89. package/dist/widgets/968.js +0 -9
  90. package/dist/widgets/997.js +0 -1
  91. package/dist/widgets/__federation_expose_Crons.js +0 -1
  92. package/dist/widgets/__federation_expose_DefinitionDetail.js +0 -1
  93. package/dist/widgets/__federation_expose_Definitions.js +0 -1
  94. package/dist/widgets/__federation_expose_Jobs.js +0 -1
  95. package/dist/widgets/__federation_expose_RunDetail.js +0 -109
  96. package/dist/widgets/__federation_expose_Runs.js +0 -1
  97. package/dist/widgets/mf-manifest.json +0 -348
  98. package/dist/widgets/mf-stats.json +0 -386
  99. package/dist/widgets/remoteEntry.js +0 -7
@@ -1,32 +0,0 @@
1
- "use strict";(self.rspackChunk_kb_labs_workflow_entry=self.rspackChunk_kb_labs_workflow_entry||[]).push([[117],{2924(e,r,o){o.r(r);var n=o(9497),t=o(7899),i=o(4552),l=o(92),a=o(1882),s=o(5505),c=o(5793),d=o(7346),u=o(1499),m=o(3292),g=o(6911),f=o(5963),p=o(3781),x=o(7e3),{useToken:h}=n.theme;function y({children:e,size:r="base",weight:o="normal",color:n="primary",as:l="span",className:a,style:s}){let{token:c}=h(),d={primary:c.colorText,secondary:c.colorTextSecondary,success:c.colorSuccess,warning:c.colorWarning,error:c.colorError,info:c.colorInfo},u={...{fontSize:t.typography.fontSize[r][0],lineHeight:t.typography.fontSize[r][1].lineHeight,fontWeight:t.typography.fontWeight[o],color:d[n]},...s};return(0,i.jsx)(l,{style:u,className:a,children:e})}function b({children:e,p:r,pt:o,pr:n,pb:l,pl:a,m:s,mt:c,mr:d,mb:u,ml:m,as:g="div",className:f,style:p}){let x={...void 0!==r&&{padding:t.spacing[r]},...void 0!==o&&{paddingTop:t.spacing[o]},...void 0!==n&&{paddingRight:t.spacing[n]},...void 0!==l&&{paddingBottom:t.spacing[l]},...void 0!==a&&{paddingLeft:t.spacing[a]},...void 0!==s&&{margin:t.spacing[s]},...void 0!==c&&{marginTop:t.spacing[c]},...void 0!==d&&{marginRight:t.spacing[d]},...void 0!==u&&{marginBottom:t.spacing[u]},...void 0!==m&&{marginLeft:t.spacing[m]},...p};return(0,i.jsx)(g,{style:x,className:f,children:e})}function j({children:e,direction:r="row",justify:o="start",align:n="stretch",gap:l,wrap:a="nowrap",as:s="div",className:c,style:d}){let u={display:"flex",flexDirection:r,justifyContent:{start:"flex-start",end:"flex-end",center:"center",between:"space-between",around:"space-around",evenly:"space-evenly"}[o],alignItems:{start:"flex-start",end:"flex-end",center:"center",baseline:"baseline",stretch:"stretch"}[n],flexWrap:a,...void 0!==l&&{gap:t.spacing[l]},...d};return(0,i.jsx)(s,{style:u,className:c,children:e})}function I(e){return(0,i.jsx)(n.Typography.Text,{...e})}function k(e){return(0,i.jsx)(n.Typography.Paragraph,{...e})}function S(e){return(0,i.jsx)(n.Typography.Link,{...e})}function v({direction:e="vertical",spacing:r=2,align:o,children:n,as:t,className:l,style:a}){return(0,i.jsx)(j,{direction:"vertical"===e?"column":"row",gap:r,align:o,as:t,className:l,style:a,children:n})}function U(e){return(0,i.jsx)(n.Space,{...e})}function T(e){return(0,i.jsx)(n.Space.Compact,{...e})}function w(e){return(0,i.jsx)(n.Row,{...e})}function C(e){return(0,i.jsx)(n.Col,{...e})}function B(e){return(0,i.jsx)(n.Divider,{...e})}var{useToken:z}=n.theme;function M({variant:e="default",children:r,...o}){let{token:t}=z(),l={success:t.colorSuccess,warning:t.colorWarning,error:t.colorError,info:t.colorInfo,default:t.colorTextSecondary};return r?(0,i.jsx)(n.Badge,{color:l[e],text:r,...o}):(0,i.jsx)(n.Badge,{status:{success:"success",warning:"warning",error:"error",info:"processing",default:"default"}[e],...o})}var $=l.forwardRef(function({variant:e="default",className:r,...o},t){let l=["uiButton_3Yg7B",r].filter(Boolean).join(" ");return(0,i.jsx)(n.Button,{ref:t,type:e,className:l,...o})}),{useToken:F}=n.theme,E={default:{accent:"var(--border-primary)"},success:{accent:"var(--success)"},warning:{accent:"var(--warning)"},error:{accent:"var(--error)"},info:{accent:"var(--info)"}};function P({title:e,subtitle:r,extra:o,footer:t,children:l,size:s="default",bordered:c=!0,hoverable:d=!1,loading:u=!1,status:m="default",...g}){let{token:f}=F(),p=E[m],x=e||r?(0,i.jsxs)(b,{children:[e&&("string"==typeof e?(0,i.jsx)(y,{size:"lg",weight:"semibold",as:"div",children:e}):e),r&&(0,i.jsx)(y,{size:"sm",color:"secondary",as:"div",style:{marginTop:f.marginXXS},children:r})]}):void 0;return(0,i.jsxs)(n.Card,{title:x,extra:o,size:s,variant:c?"outlined":"borderless",hoverable:!1,loading:u,...g,className:(0,a.A)("card_0vX7-",d&&"hoverable_NBVEA","default"!==m&&"accented_yICrq",g.className),style:{borderColor:f.colorBorder,overflow:"hidden","--card-accent":p.accent,...g.style},children:[l,t&&(0,i.jsx)(b,{mt:3,pt:3,style:{borderTop:`1px solid ${f.colorBorder}`},children:t})]})}function _({variant:e="default",color:r,children:o,closable:t,onClose:l,icon:s,className:c,onClick:d,...u}){let m=(0,a.A)("kb-ui-tag_D2ji0",d&&"kb-ui-tag--clickable_FGDC8",c);return(0,i.jsx)(n.Tag,{color:r??({success:"success",warning:"warning",error:"error",info:"processing",default:void 0,neutral:void 0})[e],closable:t,onClose:l,icon:s,className:m,onClick:d,...u,children:o})}var{Title:A}=n.Typography,{useToken:D}=n.theme;function R({level:e=1,children:r,subtitle:o,className:n,style:l}){let{token:a}=D();return o?(0,i.jsxs)(b,{mb:o?2:3,children:[(0,i.jsx)(A,{level:e,className:n,style:{margin:0,...l},children:r}),(0,i.jsx)(y,{size:"base",color:"secondary",as:"div",style:{marginTop:t.spacing["1"]},children:o})]}):(0,i.jsx)(A,{level:e,className:n,style:{marginBottom:t.spacing["3"],...l},children:r})}var L={uiIcon:"uiIcon_k0ec4",clickable:"clickable_OssZj","size-xs":"size-xs_M79Cj","size-sm":"size-sm_10jDl","size-base":"size-base_h9Lkp","size-lg":"size-lg_O0C5x","size-xl":"size-xl_WXfPC","size-2xl":"size-2xl_32DCm","color-primary":"color-primary_h3CLu","color-secondary":"color-secondary_4pb5w","color-success":"color-success_O8h6-","color-warning":"color-warning_dYWdv","color-error":"color-error_adjhG","color-info":"color-info_TwzBK","color-inherit":"color-inherit_YCf-Z",spin:"spin_rwV9G",uiIconSpin:"uiIconSpin_JA9h9",disabled:"disabled_sSgts"},N=null;function W(e){N=e}function H({icon:e,name:r,size:o="base",color:n="inherit",spin:t=!1,onClick:s,className:c,style:d}){let u=(0,a.A)(L.uiIcon,"anticon",L[`size-${o}`],L[`color-${n}`],t&&L.spin,s&&L.clickable,c),m=null,g=r||("string"==typeof e?e:null);return(g?N?m=N(g):(console.warn(`Icon "${g}" could not be loaded. Call registerIconRenderer() at app startup.`),m=null):l.isValidElement(e)&&(m=e),m)?(0,i.jsx)("span",{className:u,style:d,onClick:s,role:s?"button":void 0,tabIndex:s?0:void 0,onKeyDown:s?e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),s())}:void 0,children:m}):null}var G=({icon:e,name:r,onClick:o,size:n="base",color:t="primary",...l})=>(0,i.jsx)(H,{icon:e,name:r,size:n,color:t,onClick:o,style:{cursor:"pointer",transition:"opacity 0.2s",...l.style},...l});function O(e){return(0,i.jsx)(n.Avatar,{...e})}function X(e){return(0,i.jsx)(n.Avatar.Group,{...e})}function V(){return n.theme.useToken()}function Y({children:e,color:r="var(--text-secondary, #9CA3AF)",highlight:o="var(--text-primary, #111827)",duration:n="2s",className:t,style:l}){return(0,i.jsx)("span",{className:(0,a.A)("shimmer_Vu6DO",t),style:{"--shimmer-color-1":r,"--shimmer-color-2":r,"--shimmer-highlight":o,"--shimmer-duration":n,...l},children:e})}function K({value:e,size:r="small",label:o,style:n,...t}){let[a,s]=l.useState(!1);return(0,i.jsx)($,{variant:"text",size:r,icon:(0,i.jsx)(H,{name:a?"CheckOutlined":"CopyOutlined",style:{color:a?"#52c41a":void 0,transition:"color 150ms ease"}}),onClick:r=>{r.stopPropagation(),navigator.clipboard.writeText(e).then(()=>{s(!0),setTimeout(()=>s(!1),1500)})},style:{transition:"opacity 150ms ease",...n},...t,children:o})}var{useToken:J}=n.theme;function q({label:e,value:r,icon:o,status:t="default",trend:l="neutral",delta:a,unit:s,size:c="default",showDelta:d=!0,loading:u=!1}){let{token:m}=J(),g={default:m.colorFillSecondary,info:m.colorInfoBg,success:m.colorSuccessBg,warning:m.colorWarningBg,error:m.colorErrorBg},f={default:m.colorTextSecondary,info:m.colorInfo,success:m.colorSuccess,warning:m.colorWarning,error:m.colorError};return"up"===l?m.colorSuccess:"down"===l?m.colorError:m.colorTextSecondary,(0,i.jsx)(n.Card,{size:c,loading:u,style:{height:"100%"},children:(0,i.jsxs)(b,{children:[o&&(0,i.jsx)("div",{style:{width:36,height:36,borderRadius:m.borderRadiusSM,backgroundColor:g[t],display:"flex",alignItems:"center",justifyContent:"center",color:f[t],fontSize:16,marginBottom:m.marginSM},children:o}),(0,i.jsx)(y,{size:"sm",color:"secondary",as:"div",children:e}),(0,i.jsx)(n.Tooltip,{title:String(r),mouseEnterDelay:.6,children:(0,i.jsxs)(j,{align:"baseline",gap:2,style:{marginTop:4,overflow:"hidden"},children:[(0,i.jsx)(y,{size:"2xl",weight:"bold",as:"div",style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0},children:r}),s&&(0,i.jsx)(y,{size:"base",color:"secondary",style:{flexShrink:0},children:s})]})}),d&&void 0!==a&&(0,i.jsx)(j,{align:"center",gap:1,style:{marginTop:m.marginXS},children:(0,i.jsxs)(y,{size:"sm",style:{color:a>=0?m.colorSuccess:m.colorError},children:["up"===l?"↑":"down"===l?"↓":""," ",Math.abs(a),"%"]})})]})})}function Q({columns:e,dataSource:r,rowKey:o="id",loading:t,pagination:l,rowSelection:a,onRow:s,size:c="middle",bordered:d=!1,expandable:u,className:m,style:g,scroll:f}){return(0,i.jsx)(n.Table,{columns:e,dataSource:r,rowKey:o,loading:t,pagination:l,rowSelection:a,onRow:s,size:c,bordered:d,expandable:u,className:m,style:g,scroll:f})}function Z(){return(0,l.useMemo)(()=>{let e=["#1677ff","#52c41a","#faad14","#ff4d4f","#1890ff","#722ed1","#eb2f96","#13c2c2","#fa8c16","#2f54eb"];console.log("[useChartColors] Created palette:",{colors:e});let r=[...e,"#e6f4ff","#f6ffed","#fffbe6","#fff2f0","#e6f4ff","#f759ab","#9254de","#40a9ff","#73d13d","#ffc53d"],o=r=>e[r%e.length]||"#1890ff";return{colors:e,extendedColors:r,getColor:o,mapColors:(e,r)=>{let n=Array.from(new Set(e.map(e=>String(e[r]??"")))),t={};return n.forEach((e,r)=>{t[e]=o(r)}),t}}},[])}function ee(e,r){return o=>{let n=String(o[r]??""),t=Object.keys(e)[0];return e[n]||(t?e[t]:"#1890ff")||"#1890ff"}}var{useToken:er}=n.theme;function eo({colors:e,disableAutoColors:r,...o}){let n=function(){let{token:e}=er();return l.useMemo(()=>({defaultColor:e.colorPrimary,styleSheet:{backgroundColor:e.colorBgContainer,fontFamily:e.fontFamily,fontSize:e.fontSize,color:e.colorText}}),[e])}(),t=Z(),a=l.useMemo(()=>{let n=o.colorField||o.seriesField;if(console.log("[UILineChart] Debug info:",{hasColorField:n,colorField:o.colorField,seriesField:o.seriesField,disableAutoColors:r,hasData:!!o.data,dataLength:o.data?.length,customColors:e,paletteColors:t.colors}),r||!n||!o.data)return console.log("[UILineChart] Skipping auto-colors:",{disableAutoColors:r,hasColorField:n,hasData:!!o.data}),o;let i=e||t.colors;return console.log("[UILineChart] Applying colors:",{source:e?"custom":"palette",colors:i}),{...o,scale:{...o.scale,color:{range:i}}}},[o,e,t.colors,r]);return(0,i.jsx)(s.A,{...a,theme:n})}var{useToken:en}=n.theme;function et({colors:e,...r}){let o=function(){let{token:e}=en();return l.useMemo(()=>({defaultColor:e.colorPrimary,colors10:[e.colorInfo,e.colorSuccess,e.colorWarning,e.colorError,e.colorPrimary,e.colorInfoBg,e.colorSuccessBg,e.colorWarningBg,e.colorErrorBg,e.colorPrimaryBg],colors20:[e.colorInfo,e.colorSuccess,e.colorWarning,e.colorError,e.colorPrimary,e.colorInfoBg,e.colorSuccessBg,e.colorWarningBg,e.colorErrorBg,e.colorPrimaryBg,e.colorInfoBorder,e.colorSuccessBorder,e.colorWarningBorder,e.colorErrorBorder,e.colorPrimaryBorder,e.colorInfoText,e.colorSuccessText,e.colorWarningText,e.colorErrorText,e.colorPrimaryText],styleSheet:{backgroundColor:e.colorBgContainer,fontFamily:e.fontFamily,fontSize:e.fontSize,color:e.colorText}}),[e])}(),n=e?{...o,colors10:e,colors20:e}:o;return(0,i.jsx)(c.A,{...r,theme:n})}var{useToken:ei}=n.theme;function el({colors:e,disableAutoColors:r,...o}){let n=function(){let{token:e}=ei();return l.useMemo(()=>({defaultColor:e.colorPrimary,styleSheet:{backgroundColor:e.colorBgContainer,fontFamily:e.fontFamily,fontSize:e.fontSize,color:e.colorText}}),[e])}(),t=Z(),a=l.useMemo(()=>{if(r||!o.colorField||!o.data)return o;let n=e||t.colors;return{...o,scale:{...o.scale,color:{range:n}}}},[o,e,t.colors,r]);return(0,i.jsx)(d.A,{...a,theme:n})}var{useToken:ea}=n.theme;function es({colors:e,disableAutoColors:r,...o}){let n=function(){let{token:e}=ea();return l.useMemo(()=>({defaultColor:e.colorPrimary,styleSheet:{backgroundColor:e.colorBgContainer,fontFamily:e.fontFamily,fontSize:e.fontSize,color:e.colorText}}),[e])}(),t=Z(),a=l.useMemo(()=>{if(r||!o.colorField||!o.data)return o;let n=e||t.colors;return{...o,scale:{...o.scale,color:{range:n}}}},[o,e,t.colors,r]);return(0,i.jsx)(u.A,{...a,theme:n})}var{useToken:ec}=n.theme;function ed({colors:e,disableAutoColors:r,...o}){let n=function(){let{token:e}=ec();return l.useMemo(()=>({defaultColor:e.colorPrimary,styleSheet:{backgroundColor:e.colorBgContainer,fontFamily:e.fontFamily,fontSize:e.fontSize,color:e.colorText}}),[e])}(),t=Z(),a=l.useMemo(()=>{if(r||!o.seriesField||!o.data)return o;let n=e||t.colors;return{...o,scale:{...o.scale,color:{range:n}}}},[o,e,t.colors,r]);return(0,i.jsx)(m.A,{...a,theme:n})}function eu({data:e,loading:r=!1,title:o,metrics:t=[],xField:a="date",yField:s="value",colorField:c="category",style:d,height:u=350,showLegend:m=!0,chartProps:f}){let p=Z(),x=l.useMemo(()=>p.colors.slice(0,Math.max(t.length,3)),[p.colors,t.length]),h=l.useMemo(()=>e?0===t.length?e:e.flatMap(e=>{let r=[];for(let o of t){let n;n=o.key in e&&"number"==typeof e[o.key]?e[o.key]:e.metrics&&o.key in e.metrics?e.metrics[o.key]:0,o.transform&&(n=o.transform(n)),r.push({[a]:e.date?g(e.date).format("YYYY-MM-DD"):e[a],[c]:o.label,[s]:n})}return r}):[],[e,t,a,s,c]),b=()=>(0,i.jsxs)(i.Fragment,{children:[r&&(0,i.jsx)("div",{style:{textAlign:"center",padding:"40px 0"},children:(0,i.jsx)(y,{color:"secondary",children:"Loading chart data..."})}),!r&&(!h||0===h.length)&&(0,i.jsx)("div",{style:{textAlign:"center",padding:"40px 0"},children:(0,i.jsx)(y,{color:"secondary",children:"No data available for the selected date range"})}),!r&&h&&h.length>0&&(0,i.jsxs)("div",{children:[m&&0!==t.length?(0,i.jsx)("div",{style:{display:"flex",justifyContent:"flex-end",marginBottom:12,gap:16},children:t.map((e,r)=>(0,i.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:6},children:[(0,i.jsx)("span",{style:{display:"inline-block",width:10,height:10,borderRadius:"50%",backgroundColor:x[r%x.length]}}),(0,i.jsx)("span",{style:{fontSize:13,fontWeight:500},children:e.label})]},e.label))}):null,(0,i.jsx)(eo,{data:h,xField:a,yField:s,colorField:c,height:u,colors:x,scale:{color:{range:x}},axis:{x:{label:{autoRotate:!1}},y:{label:{formatter:e=>{let r=Number(e);return r>=1e6?`${(r/1e6).toFixed(1)}M`:r>=1e3?`${(r/1e3).toFixed(1)}K`:r.toLocaleString()}}}},style:{shape:"smooth",lineWidth:2},legend:!1,tooltip:{title:e=>e[a],items:[e=>{let r=t.find(r=>r.label===e[c]),o=t.findIndex(r=>r.label===e[c]),n=e[s]?.toLocaleString()||"0";return r?.format&&null!=e[s]&&(n=r.format(e[s])),{name:e[c],value:n,color:x[o>=0?o:0]}}]},...f})]})]});return o?(0,i.jsx)(n.Card,{title:o,style:{marginTop:16,...d},children:b()}):(0,i.jsx)("div",{style:d,children:b()})}function em(e){return(0,i.jsx)(n.Statistic,{...e})}function eg(e){return(0,i.jsx)(n.Statistic.Countdown,{...e})}function ef(e){return(0,i.jsx)(n.Progress,{...e})}function ep(e){return(0,i.jsx)(n.Descriptions,{...e})}function ex(e){return(0,i.jsx)(n.Descriptions.Item,{...e})}function eh(e){return(0,i.jsx)(n.Timeline,{...e})}function ey(e){return(0,i.jsx)(n.Timeline.Item,{...e})}function eb(e){return(0,i.jsx)(n.Tree,{...e})}function ej(e){return(0,i.jsx)(n.Tree.DirectoryTree,{...e})}function eI(e){return(0,i.jsx)(n.Tree.TreeNode,{...e})}function ek(e){return(0,i.jsx)(n.List,{...e})}function eS(e){return(0,i.jsx)(n.List.Item,{...e})}function ev(e){return(0,i.jsx)(n.List.Item.Meta,{...e})}function eU({value:e,defaultValue:r,placeholder:o,disabled:t,prefix:l,suffix:a,maxLength:s,showCount:c,allowClear:d,onChange:u,onPressEnter:m,...g}){return(0,i.jsx)(n.Input,{value:e,defaultValue:r,placeholder:o,disabled:t,prefix:l,suffix:a,maxLength:s,showCount:c,allowClear:d,onChange:e=>{u?.(e.target.value)},onPressEnter:m,...g})}function eT(e){return(0,i.jsx)(n.Input.Password,{...e})}function ew(e){return(0,i.jsx)(n.Input.TextArea,{...e})}function eC(e){return(0,i.jsx)(n.Input.Search,{...e})}function eB({options:e=[],value:r,defaultValue:o,placeholder:t,disabled:l,loading:a,allowClear:s,showSearch:c,mode:d,onChange:u,...m}){let g=e.map(e=>({label:e.icon||e.description?(0,i.jsxs)(j,{align:"center",gap:2,style:{width:"100%"},children:[e.icon&&(0,i.jsx)("span",{children:e.icon}),(0,i.jsx)("span",{style:{flex:1},children:e.label}),e.description&&(0,i.jsx)("span",{style:{fontSize:"0.85em",opacity:.7},children:e.description})]}):e.label,value:e.value,disabled:e.disabled}));return(0,i.jsx)(n.Select,{options:g,value:r,defaultValue:o,placeholder:t,disabled:l,loading:a,allowClear:s,showSearch:c,mode:d,onChange:u,...m})}function ez({layout:e="vertical",onFinish:r,onFinishFailed:o,initialValues:t,children:l,...a}){return(0,i.jsx)(n.Form,{layout:e,onFinish:r,onFinishFailed:o,initialValues:t,...a,children:l})}function eM(e){return(0,i.jsx)(n.Form.Item,{...e})}var e$=n.Form.useForm;function eF(e){return(0,i.jsx)(n.Form.List,{...e})}function eE({children:e,checked:r,defaultChecked:o,disabled:t,indeterminate:l,onChange:a,...s}){return(0,i.jsx)(n.Checkbox,{checked:r,defaultChecked:o,disabled:t,indeterminate:l,onChange:e=>{a?.(e.target.checked)},...s,children:e})}function eP({options:e,value:r,defaultValue:o,disabled:l,gap:a=2,onChange:s}){return(0,i.jsx)(n.Checkbox.Group,{value:r,defaultValue:o,disabled:l,onChange:s,children:(0,i.jsx)(b,{children:e.map((r,o)=>(0,i.jsxs)(b,{mb:o<e.length-1?a:0,children:[(0,i.jsx)(n.Checkbox,{value:r.value,disabled:r.disabled,children:r.label}),r.description&&(0,i.jsx)(y,{size:"sm",color:"secondary",as:"div",style:{marginLeft:t.spacing["6"],marginTop:t.spacing["1"]},children:r.description})]},r.value))})})}function e_({checked:e,defaultChecked:r,disabled:o,loading:t,size:l="default",label:a,labelPosition:s="right",checkedChildren:c,unCheckedChildren:d,onChange:u,...m}){let g=(0,i.jsx)(n.Switch,{checked:e,defaultChecked:r,disabled:o,loading:t,size:l,checkedChildren:c,unCheckedChildren:d,onChange:u,...m});return a?(0,i.jsxs)(j,{align:"center",gap:2,children:["left"===s&&(0,i.jsx)(y,{children:a}),g,"right"===s&&(0,i.jsx)(y,{children:a})]}):g}function eA({value:e,defaultValue:r,placeholder:o,disabled:t,format:l,allowClear:a=!0,showTime:s,onChange:c,...d}){return(0,i.jsx)(n.DatePicker,{value:e,defaultValue:r,placeholder:o,disabled:t,format:l,allowClear:a,showTime:s,onChange:c,...d})}function eD({value:e,defaultValue:r,placeholder:o,disabled:t,format:l,allowClear:a=!0,onChange:s,...c}){return(0,i.jsx)(n.TimePicker,{value:e,defaultValue:r,placeholder:o,disabled:t,format:l,allowClear:a,onChange:s,...c})}function eR(e){return(0,i.jsx)(n.DatePicker.RangePicker,{...e})}function eL(e){return(0,i.jsx)(n.InputNumber,{...e})}function eN(e){return(0,i.jsx)(n.Radio,{...e})}function eW(e){return(0,i.jsx)(n.Radio.Group,{...e})}function eH(e){return(0,i.jsx)(n.Upload,{...e})}function eG(e){return(0,i.jsx)(n.Upload.Dragger,{...e})}function eO(e){return(0,i.jsx)(n.Slider,{...e})}function eX({items:e,separator:r,className:o}){let t=(0,f.useNavigate)(),l=e.map(e=>({title:e.icon?(0,i.jsxs)("span",{style:{display:"flex",alignItems:"center",gap:"4px"},children:[e.icon,(0,i.jsx)("span",{children:e.title})]}):e.title,href:e.href,onClick:e.href?r=>{r.preventDefault(),t(e.href)}:e.onClick}));return(0,i.jsx)(n.Breadcrumb,{items:l,separator:r,className:o})}function eV({items:e,syncUrl:r,activeKey:o,defaultActiveKey:t,tabPosition:l="top",type:a="line",size:s="middle",onChange:c,onEdit:d,className:u,style:m}){let[g,p]=(0,f.useSearchParams)(),x=(0,f.useNavigate)(),h=(0,f.useParams)(),y=e[0]?.key??"",b=o,j=!0===r||"search"===r,I=r&&"object"==typeof r&&"path"===r.mode;j?b=g.get("tab")??y:I&&(b=h.tab??y);let k=e.map(e=>({key:e.key,label:e.icon?(0,i.jsxs)("span",{style:{display:"flex",alignItems:"center",gap:"6px"},children:[e.icon,(0,i.jsx)("span",{children:e.label})]}):e.label,children:e.children,disabled:e.disabled,closable:e.closable}));return(0,i.jsx)(n.Tabs,{items:k,activeKey:b,defaultActiveKey:r?void 0:t,tabPosition:l,type:a,size:s,onChange:e=>{j?p(e===y?{}:{tab:e}):I&&"object"==typeof r&&x(e===y?r.basePath:`${r.basePath}/${e}`),c?.(e)},onEdit:d?(e,r)=>{d("string"==typeof e?e:"",r)}:void 0,className:u,style:m})}function eY(e){return(0,i.jsx)(eV,{...e})}function eK({items:e,activeKey:r,defaultActiveKey:o,accordion:t=!1,bordered:l=!0,ghost:a=!1,size:s="middle",onChange:c,className:d,style:u}){let m=e.map(e=>({key:e.key,label:e.label,children:e.children,extra:e.extra,showArrow:e.showArrow,collapsible:e.collapsible}));return(0,i.jsx)(n.Collapse,{items:m,activeKey:r,defaultActiveKey:o,accordion:t,bordered:l,ghost:a,size:s,onChange:c,className:d,style:u})}function eJ(e){return(0,i.jsx)(n.Dropdown,{...e})}function eq(e){return(0,i.jsx)(n.Dropdown.Button,{...e})}function eQ(e){return(0,i.jsx)(n.Segmented,{...e})}function eZ(e){return(0,i.jsx)(n.Steps,{...e})}function e0(e){return(0,i.jsx)(n.Menu,{...e})}var{useToken:e1}=n.theme;function e2({children:e,width:r="default",variant:o="default",className:n,style:t}){let{token:l}=e1(),a="document"===o,s={maxWidth:{default:"1280px",wide:"1600px",full:"100%"}[r],margin:"0 auto",padding:l.padding,...a&&{backgroundColor:l.colorBgContainer,borderRadius:l.borderRadiusLG,boxShadow:l.boxShadow},minHeight:a?void 0:"100%",...t};return(0,i.jsx)(b,{as:"main",className:n,style:s,children:e})}var{useToken:e6}=n.theme;function e4({title:e,subtitle:r,breadcrumb:o,actions:n,className:l,style:a}){let{token:s}=e6(),c={borderBottom:`1px solid ${s.colorBorder}`,paddingBottom:t.spacing["4"],marginBottom:t.spacing["6"],...a};return(0,i.jsxs)(b,{className:l,style:c,children:[o&&(0,i.jsx)(b,{mb:2,children:o}),(0,i.jsxs)(j,{justify:"between",align:"start",gap:4,children:[(0,i.jsxs)(b,{style:{flex:1},children:[(0,i.jsx)(R,{level:1,style:{marginBottom:r?t.spacing["2"]:0},children:e}),r&&(0,i.jsx)(y,{size:"base",color:"secondary",children:r})]}),n&&(0,i.jsx)(b,{style:{flexShrink:0},children:n})]})]})}var{useToken:e3}=n.theme;function e5({title:e,description:r,icon:o,breadcrumbs:n,actions:t,tabs:l,onBack:a,children:s}){let{token:c}=e3(),d=!!l;return(0,i.jsxs)("div",{style:{marginBottom:24*!d},children:[(a||n&&n.length>0)&&(0,i.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:c.marginXS,marginBottom:c.marginXS},children:[a&&(0,i.jsx)($,{variant:"text",size:"small",icon:(0,i.jsx)(H,{name:"ArrowLeftOutlined"}),onClick:a,style:{padding:"0 4px"}}),n&&n.length>0&&(0,i.jsx)(eX,{items:n.map(e=>({title:e.title,...e.href?{href:e.href}:{}}))})]}),(0,i.jsxs)("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:c.marginSM},children:[(0,i.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:c.marginSM,minWidth:0},children:[o&&(0,i.jsx)("span",{style:{fontSize:24,color:c.colorPrimary,flexShrink:0,display:"flex",alignItems:"center"},children:o}),(0,i.jsxs)("div",{style:{minWidth:0},children:["string"==typeof e?(0,i.jsx)("h2",{style:{margin:0,fontFamily:"var(--font-heading)",fontSize:c.fontSizeHeading3,fontWeight:700,letterSpacing:"-0.02em",color:c.colorTextHeading,lineHeight:1.2},children:e}):e,r&&(0,i.jsx)("div",{style:{marginTop:4},children:"string"==typeof r?(0,i.jsx)(y,{color:"secondary",size:"sm",children:r}):r})]})]}),t&&(0,i.jsx)("div",{style:{display:"flex",alignItems:"center",gap:c.marginXS,flexShrink:0},children:t})]}),s&&(0,i.jsx)("div",{style:{marginTop:c.marginSM},children:s}),d&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(B,{style:{marginBottom:0}}),l]})]})}function e9({children:e,gap:r=24,style:o,...n}){return(0,i.jsx)("div",{style:{marginBottom:r,...o},...n,children:e})}function e7({variant:e="info",title:r,message:o,description:t,showIcon:l,closable:a,onClose:s,action:c,icon:d,className:u,style:m}){return(0,i.jsx)(n.Alert,{type:e,message:r||o,description:r?t||o:t,showIcon:l,closable:a,onClose:s,action:c,icon:d,className:u,style:m})}var{useToken:e8}=n.theme;function re({icon:e,title:r,description:o,action:l,children:a,useDefaultImage:s,image:c,className:d,style:u}){let{token:m}=e8(),g=a??l;if(s||void 0!==c)return(0,i.jsx)(n.Empty,{description:o,image:c,className:d,style:u,children:g});let f={padding:t.spacing["8"],textAlign:"center",...u};return(0,i.jsx)(b,{className:d,style:f,children:(0,i.jsxs)(j,{direction:"column",align:"center",gap:3,children:[e&&(0,i.jsx)(b,{style:{fontSize:"48px",color:m.colorTextSecondary},children:e}),r&&(0,i.jsx)(y,{size:"lg",weight:"semibold",children:r}),o&&(0,i.jsx)(y,{size:"base",color:"secondary",children:o}),g&&(0,i.jsx)(b,{mt:2,children:g})]})})}re.PRESENTED_IMAGE_SIMPLE=n.Empty.PRESENTED_IMAGE_SIMPLE,re.PRESENTED_IMAGE_DEFAULT=n.Empty.PRESENTED_IMAGE_DEFAULT;var{useToken:rr}=n.theme;function ro({icon:e,title:r="Something went wrong",description:o,details:n,showRetry:l=!1,retryText:a="Try again",onRetry:s,action:c,className:d,style:u}){let{token:m}=rr(),g={padding:t.spacing["8"],textAlign:"center",...u};return(0,i.jsx)(b,{className:d,style:g,children:(0,i.jsxs)(j,{direction:"column",align:"center",gap:3,children:[e&&(0,i.jsx)(b,{style:{fontSize:"48px",color:m.colorError},children:e}),(0,i.jsx)(y,{size:"lg",weight:"semibold",color:"error",children:r}),o&&(0,i.jsx)(y,{size:"base",color:"secondary",children:o}),n&&(0,i.jsx)(b,{p:3,style:{backgroundColor:m.colorErrorBg,borderRadius:m.borderRadius,maxWidth:"600px",width:"100%"},children:(0,i.jsx)(y,{size:"sm",as:"pre",style:{margin:0,textAlign:"left",whiteSpace:"pre-wrap"},children:n})}),(l||c)&&(0,i.jsx)(b,{mt:2,children:c||(0,i.jsx)($,{variant:"primary",onClick:s,children:a})})]})})}function rn({loading:e=!0,children:r,avatar:o,avatarShape:t="circle",lines:l=3,title:a=!0,active:s=!0,className:c,style:d}){return(0,i.jsx)(n.Skeleton,{loading:e,avatar:!!o&&{shape:t},paragraph:{rows:l},title:a,active:s,className:c,style:d,children:r})}function rt(e){return(0,i.jsx)(n.Skeleton.Button,{...e})}function ri(e){return(0,i.jsx)(n.Skeleton.Input,{...e})}function rl(e){return(0,i.jsx)(n.Skeleton.Image,{...e})}function ra(e){return(0,i.jsx)(n.Skeleton.Node,{...e})}function rs({width:e="100%",height:r="1em",gap:o=6,className:t,style:l}){let{token:s}=n.theme.useToken(),c=Array.isArray(e),d=c?e:[e],u=c?"100%":"number"==typeof e?`${e}px`:e;return(0,i.jsx)("span",{className:t,style:{display:"inline-flex",flexDirection:"column",gap:o,width:u,...l},children:d.map((e,o)=>(0,i.jsx)("span",{className:(0,a.A)("skeletonText_D4KLj"),style:{display:"block",width:c?"number"==typeof e?`${e}px`:e:"100%",height:"number"==typeof r?`${r}px`:r,borderRadius:s.borderRadiusSM,flexShrink:0,backgroundImage:`linear-gradient(90deg, ${s.colorBorder} 25%, ${s.colorBgLayout} 50%, ${s.colorBorder} 75%)`,backgroundSize:"400% 100%"}},o))})}function rc(e){return(0,i.jsx)(n.Spin,{...e})}function rd(e){return(0,i.jsx)(n.Result,{...e})}var ru=n.message;function rm(){return n.message.useMessage()}var rg=n.notification;function rf(){return n.notification.useNotification()}function rp({open:e,title:r,children:o,width:t="default",closable:l=!0,maskClosable:a=!0,footer:s,okText:c,cancelText:d,confirmLoading:u,onOk:m,onCancel:g,onClose:f,className:p,style:x}){let h={small:416,default:520,large:800,full:window.innerWidth-64},y="number"==typeof t?t:h[t];return(0,i.jsx)(n.Modal,{open:e,title:r,width:y,closable:l,maskClosable:a,footer:s,okText:c,cancelText:d,confirmLoading:u,onOk:m,onCancel:g||f,className:p,style:x,children:o})}var rx=n.Modal.confirm,rh=n.Modal.info,ry=n.Modal.success,rb=n.Modal.error,rj=n.Modal.warning;function rI({title:e,children:r,placement:o="top",arrow:t=!0,trigger:l="hover",open:a,className:s}){return(0,i.jsx)(n.Tooltip,{title:e,placement:o,arrow:t,trigger:l,open:a,className:s,children:r})}function rk(e){return(0,i.jsx)(n.Drawer,{...e})}function rS(e){return(0,i.jsx)(n.Popconfirm,{...e})}function rv(e){return(0,i.jsx)(n.Popover,{...e})}var{useToken:rU}=n.theme;function rT({content:e,className:r,style:o}){let{token:n}=rU(),t=`
2
- .kb-md { font-size: ${n.fontSize}px; line-height: 1.6; color: ${n.colorText}; font-family: ${n.fontFamily}; }
3
- .kb-md > *:first-child { margin-top: 0; }
4
- .kb-md > *:last-child { margin-bottom: 0; }
5
- .kb-md h1,.kb-md h2,.kb-md h3,.kb-md h4,.kb-md h5,.kb-md h6 { font-weight:600; line-height:1.3; margin:1.2em 0 0.4em; color:${n.colorTextHeading}; }
6
- .kb-md h1:first-child,.kb-md h2:first-child,.kb-md h3:first-child { margin-top:0; }
7
- .kb-md h1 { font-size:1.5em; padding-bottom:0.3em; border-bottom:1px solid ${n.colorBorderSecondary}; }
8
- .kb-md h2 { font-size:1.25em; padding-bottom:0.2em; border-bottom:1px solid ${n.colorBorderSecondary}; }
9
- .kb-md h3 { font-size:1.1em; }
10
- .kb-md h4 { font-size:1em; }
11
- .kb-md p { margin:0.6em 0; }
12
- .kb-md a { color:${n.colorPrimary}; text-decoration:none; }
13
- .kb-md a:hover { text-decoration:underline; }
14
- .kb-md code { font-family:${n.fontFamilyCode}; font-size:0.875em; background:${n.colorFillTertiary}; color:${n.colorTextSecondary}; padding:0.15em 0.4em; border-radius:${n.borderRadiusSM}px; }
15
- .kb-md pre { background:${n.colorFillQuaternary}; border:1px solid ${n.colorBorderSecondary}; border-radius:${n.borderRadius}px; padding:12px 16px; overflow-x:auto; margin:0.75em 0; }
16
- .kb-md pre code { background:none; padding:0; font-size:0.85em; color:${n.colorText}; }
17
- .kb-md ul,.kb-md ol { padding-left:1.5em; margin:0.6em 0; }
18
- .kb-md ul { list-style: disc; }
19
- .kb-md ol { list-style: decimal; }
20
- .kb-md ul ul { list-style: circle; }
21
- .kb-md ol ol, .kb-md ul ol { list-style: decimal; }
22
- .kb-md li { margin:0.2em 0; list-style: inherit; }
23
- .kb-md li::marker { color:${n.colorTextTertiary}; }
24
- .kb-md blockquote { margin:0.75em 0; padding:0.4em 1em; border-left:4px solid ${n.colorPrimaryBorder}; background:${n.colorFillQuaternary}; color:${n.colorTextSecondary}; border-radius:0 ${n.borderRadiusSM}px ${n.borderRadiusSM}px 0; }
25
- .kb-md blockquote p { margin:0; }
26
- .kb-md hr { border:none; border-top:1px solid ${n.colorBorderSecondary}; margin:1.2em 0; }
27
- .kb-md table { width:100%; border-collapse:collapse; margin:0.75em 0; font-size:0.9em; }
28
- .kb-md th,.kb-md td { border:1px solid ${n.colorBorderSecondary}; padding:6px 10px; text-align:left; }
29
- .kb-md th { background:${n.colorFillTertiary}; font-weight:600; }
30
- .kb-md tr:nth-child(even) td { background:${n.colorFillQuaternary}; }
31
- .kb-md img { max-width:100%; border-radius:${n.borderRadius}px; }
32
- `,l=x.A.sanitize(p.xI.parse(e));return(0,i.jsxs)(b,{className:r,style:{padding:n.padding,...o},children:[(0,i.jsx)("style",{children:t}),(0,i.jsx)("div",{className:"kb-md",dangerouslySetInnerHTML:{__html:l}})]})}var{useToken:rw}=n.theme;function rC({data:e,collapsed:r=!1,indent:o=2,showLineNumbers:n=!1,className:t,style:a}){let{token:s}=rw(),c=l.useMemo(()=>{try{return JSON.stringify(e,null,o)}catch(e){return`Error: ${e instanceof Error?e.message:"Invalid JSON"}`}},[e,o]),d=c.split("\n"),u={backgroundColor:s.colorBgContainer,borderRadius:s.borderRadius,border:`1px solid ${s.colorBorder}`,overflow:"auto",maxHeight:"600px",...a},m={display:"block",fontFamily:'Consolas, Monaco, "Courier New", monospace',fontSize:"13px",lineHeight:"1.6",padding:s.padding,margin:0,whiteSpace:"pre",color:s.colorText},g={display:"inline-block",width:"40px",color:s.colorTextSecondary,userSelect:"none",textAlign:"right",marginRight:s.marginSM},f=rB(c,s);return(0,i.jsx)(b,{className:t,style:u,children:(0,i.jsx)("pre",{style:m,children:n?d.map((e,r)=>(0,i.jsxs)("div",{children:[(0,i.jsx)("span",{style:g,children:r+1}),(0,i.jsx)("span",{dangerouslySetInnerHTML:{__html:rB(e,s)}})]},r)):(0,i.jsx)("span",{dangerouslySetInnerHTML:{__html:f}})})})}function rB(e,r){return(e=(e=(e=(e=(e=e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")).replace(/"([^"]+)":/g,`<span style="color: ${r.colorPrimary}">"$1"</span>:`)).replace(/: "([^"]*)"/g,`: <span style="color: ${r.colorSuccess}">"$1"</span>`)).replace(/: (\d+)/g,`: <span style="color: ${r.colorWarning}">$1</span>`)).replace(/: (true|false)/g,`: <span style="color: ${r.colorInfo}">$1</span>`)).replace(/: (null)/g,`: <span style="color: ${r.colorTextSecondary}">$1</span>`)}var rz={add:{bg:"rgba(22, 163, 74, 0.12)",border:"var(--success, #16a34a)",color:"var(--success, #16a34a)"},remove:{bg:"rgba(220, 38, 38, 0.12)",border:"var(--error, #dc2626)",color:"var(--error, #dc2626)"},header:{bg:"var(--bg-tertiary, rgba(0,0,0,0.04))",border:"transparent",color:"var(--text-secondary, #6b7280)"},context:{bg:"transparent",border:"transparent",color:"inherit"}};function rM({diff:e,showLineNumbers:r=!0,maxHeight:o=500,className:n,style:t}){if(!e||""===e.trim())return(0,i.jsx)("div",{style:{padding:16,textAlign:"center"},children:(0,i.jsx)(I,{type:"secondary",children:"No changes to display"})});let l=e.split("\n");return(0,i.jsx)("div",{className:n,style:{background:"var(--bg-tertiary, rgba(0,0,0,0.02))",border:"1px solid var(--border-primary, rgba(0,0,0,0.1))",borderRadius:"var(--radius-md, 6px)",fontFamily:'Monaco, Menlo, "Courier New", monospace',fontSize:13,lineHeight:1.5,maxHeight:o,overflow:"auto",...t},children:l.map((e,o)=>{let n=e.startsWith("@@")?"header":e.startsWith("+")?"add":e.startsWith("-")?"remove":"context",t=rz[n],l="add"===n||"remove"===n;return(0,i.jsxs)("div",{style:{display:"flex",background:t.bg,borderLeft:l?`3px solid ${t.border}`:"none",paddingLeft:l?8:11},children:[r&&(0,i.jsx)("span",{style:{minWidth:44,textAlign:"right",paddingRight:12,userSelect:"none",color:"var(--text-secondary, #6c757d)",fontSize:12},children:o+1}),(0,i.jsx)("pre",{style:{margin:0,padding:0,color:t.color,whiteSpace:"pre",flex:1},children:e})]},o)})})}o.d(r,{UIAccordion:()=>eK,UIAlert:()=>e7,UIAreaChart:()=>el,UIAvatar:()=>O,UIAvatarGroup:()=>X,UIBadge:()=>M,UIBarChart:()=>ed,UIBox:()=>b,UIBreadcrumb:()=>eX,UIButton:()=>$,UICard:()=>P,UICheckbox:()=>eE,UICheckboxGroup:()=>eP,UICol:()=>C,UIColumnChart:()=>et,UICopyButton:()=>K,UIDatePicker:()=>eA,UIDescriptions:()=>ep,UIDescriptionsItem:()=>ex,UIDiffViewer:()=>rM,UIDivider:()=>B,UIDrawer:()=>rk,UIDropdown:()=>eJ,UIDropdownButton:()=>eq,UIEmptyState:()=>re,UIErrorState:()=>ro,UIFlex:()=>j,UIForm:()=>ez,UIFormItem:()=>eM,UIFormList:()=>eF,UIHeader:()=>e4,UIIcon:()=>H,UIIconButton:()=>G,UIInput:()=>eU,UIInputNumber:()=>eL,UIInputPassword:()=>eT,UIInputSearch:()=>eC,UIInputTextArea:()=>ew,UIJsonViewer:()=>rC,UILineChart:()=>eo,UIList:()=>ek,UIListItem:()=>eS,UIListItemMeta:()=>ev,UIMarkdownViewer:()=>rT,UIMenu:()=>e0,UIMessage:()=>ru,UIMetricCard:()=>q,UIModal:()=>rp,UIModalConfirm:()=>rx,UIModalError:()=>rb,UIModalInfo:()=>rh,UIModalSuccess:()=>ry,UIModalWarning:()=>rj,UINotification:()=>rg,UIPage:()=>e2,UIPageHeader:()=>e5,UIPageSection:()=>e9,UIPieChart:()=>es,UIPopconfirm:()=>rS,UIPopover:()=>rv,UIProgress:()=>ef,UIRadio:()=>eN,UIRadioGroup:()=>eW,UIRangePicker:()=>eR,UIResult:()=>rd,UIRow:()=>w,UISegmented:()=>eQ,UISelect:()=>eB,UIShimmerText:()=>Y,UISkeleton:()=>rn,UISkeletonButton:()=>rt,UISkeletonImage:()=>rl,UISkeletonInput:()=>ri,UISkeletonNode:()=>ra,UISkeletonText:()=>rs,UISlider:()=>eO,UISpace:()=>U,UISpaceCompact:()=>T,UISpin:()=>rc,UIStack:()=>v,UIStatistic:()=>em,UIStatisticCountdown:()=>eg,UIStatisticsChart:()=>eu,UISteps:()=>eZ,UISwitch:()=>e_,UITable:()=>Q,UITabs:()=>eY,UITag:()=>_,UIText:()=>y,UITimePicker:()=>eD,UITimeline:()=>eh,UITimelineItem:()=>ey,UITitle:()=>R,UITooltip:()=>rI,UITree:()=>eb,UITreeDirectoryTree:()=>ej,UITreeNode:()=>eI,UITypographyLink:()=>S,UITypographyParagraph:()=>k,UITypographyText:()=>I,UIUpload:()=>eH,UIUploadDragger:()=>eG,createFillFunction:()=>ee,registerIconRenderer:()=>W,useChartColors:()=>Z,useUIForm:()=>e$,useUIMessage:()=>rm,useUINotification:()=>rf,useUITheme:()=>V})}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.rspackChunk_kb_labs_workflow_entry=self.rspackChunk_kb_labs_workflow_entry||[]).push([[165],{3978(e,t,r){var i=r(92);function n(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var s={d:{f:o,r:function(){throw Error(n(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},f=Symbol.for("react.portal"),c=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function y(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,t.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(n(299));return function(e,t,r){var i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:f,key:null==i?null:""+i,children:e,containerInfo:t,implementation:r}}(e,t,null,r)},t.flushSync=function(e){var t=c.T,r=s.p;try{if(c.T=null,s.p=2,e)return e()}finally{c.T=t,s.p=r,s.d.f()}},t.preconnect=function(e,t){"string"==typeof e&&(t=t?"string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:null,s.d.C(e,t))},t.prefetchDNS=function(e){"string"==typeof e&&s.d.D(e)},t.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var r=t.as,i=y(r,t.crossOrigin),n="string"==typeof t.integrity?t.integrity:void 0,o="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===r?s.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:i,integrity:n,fetchPriority:o}):"script"===r&&s.d.X(e,{crossOrigin:i,integrity:n,fetchPriority:o,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},t.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var r=y(t.as,t.crossOrigin);s.d.M(e,{crossOrigin:r,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0})}}else null==t&&s.d.M(e)},t.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var r=t.as,i=y(r,t.crossOrigin);s.d.L(e,r,{crossOrigin:i,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"string"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},t.preloadModule=function(e,t){if("string"==typeof e)if(t){var r=y(t.as,t.crossOrigin);s.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:r,integrity:"string"==typeof t.integrity?t.integrity:void 0})}else s.d.m(e)},t.requestFormReset=function(e){s.d.r(e)},t.unstable_batchedUpdates=function(e,t){return e(t)},t.useFormState=function(e,t,r){return c.H.useFormState(e,t,r)},t.useFormStatus=function(){return c.H.useHostTransitionStatus()},t.version="19.2.5"},1297(e,t,r){!function e(){if("u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=r(3978)}}]);