semiotic 3.10.0 → 3.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. package/README.md +55 -59
  2. package/ai/artifact-surface-inventory.json +1 -1
  3. package/ai/componentMetadata.cjs +3 -1
  4. package/ai/dist/mcp-server.js +45 -45
  5. package/ai/examples.md +67 -0
  6. package/ai/reference.md +75 -1
  7. package/ai/schema.json +5199 -1
  8. package/ai/surface-manifest.json +24 -3
  9. package/ai/task-packets/compare-category-totals.json +6 -6
  10. package/ai/task-packets/compare-category-totals.md +3 -3
  11. package/ai/task-packets/correct-published-chart.json +6 -6
  12. package/ai/task-packets/correct-published-chart.md +3 -3
  13. package/ai/task-packets/index.json +6 -6
  14. package/ai/task-packets/update-live-chart.json +6 -6
  15. package/ai/task-packets/update-live-chart.md +3 -3
  16. package/dist/c-2RL2QPZJ.min.js +1 -0
  17. package/dist/c-45CQWZZ6.min.js +1 -0
  18. package/dist/{c-PP6VY3QU.min.js → c-4BRHKVKV.min.js} +1 -1
  19. package/dist/c-7DVPSB5C.min.js +1 -0
  20. package/dist/{c-XDQKXPX4.min.js → c-A7OGOFSL.min.js} +1 -1
  21. package/dist/{c-AZKPVBOC.min.js → c-AH5HWZWS.min.js} +1 -1
  22. package/dist/c-B7GW7IHJ.min.js +1 -0
  23. package/dist/{c-ROEHCIGV.min.js → c-C3TZLTZK.min.js} +1 -1
  24. package/dist/c-CGQAQWBV.min.js +1 -0
  25. package/dist/c-DIPEYUOW.min.js +1 -0
  26. package/dist/{c-WNGH47HF.min.js → c-E72OTUZU.min.js} +1 -1
  27. package/dist/{c-DY2676CR.min.js → c-EUMPMDCS.min.js} +1 -1
  28. package/dist/c-EZZT2WAE.min.js +1 -0
  29. package/dist/c-FHBVFCQB.min.js +1 -0
  30. package/dist/{c-E32M6XW5.min.js → c-G4HCO2IQ.min.js} +1 -1
  31. package/dist/{c-ZYPXQF7B.min.js → c-G5VIJEOK.min.js} +1 -1
  32. package/dist/c-GHVOXAYH.min.js +1 -0
  33. package/dist/{c-EBOQ7ER7.min.js → c-HP4ZFM47.min.js} +1 -1
  34. package/dist/{c-IDJV3CZK.min.js → c-HYDTS5OP.min.js} +1 -1
  35. package/dist/c-IK33LNZ6.min.js +1 -0
  36. package/dist/c-IK3PZHRY.min.js +1 -0
  37. package/dist/{c-JO2UGTCP.min.js → c-J6DVC236.min.js} +1 -1
  38. package/dist/{c-MXCP7GNZ.min.js → c-JIMJF6F6.min.js} +1 -1
  39. package/dist/{c-4FN7Q6VQ.min.js → c-KKPMHAZC.min.js} +1 -1
  40. package/dist/c-L6WNDBHV.min.js +1 -0
  41. package/dist/c-LDEX5OFW.min.js +1 -0
  42. package/dist/{c-CPSPZH6A.min.js → c-LESEUVC5.min.js} +1 -1
  43. package/dist/c-MB6CV5NC.min.js +1 -0
  44. package/dist/{c-OO5QLMJC.min.js → c-MOKJOIPE.min.js} +1 -1
  45. package/dist/{c-BNG5ECK5.min.js → c-N3FXLRNT.min.js} +1 -1
  46. package/dist/c-N5NPTJVJ.min.js +1 -0
  47. package/dist/{c-DE5Q3U2X.min.js → c-NHBL4J67.min.js} +1 -1
  48. package/dist/{c-LMGSSD2E.min.js → c-ODG6TFSY.min.js} +1 -1
  49. package/dist/{c-HXDKPIKR.min.js → c-PSKKFZNP.min.js} +1 -1
  50. package/dist/{c-NYZ2QNAM.min.js → c-R2P4RR7Q.min.js} +1 -1
  51. package/dist/{c-KCRJGUHP.min.js → c-RFC7UAG7.min.js} +1 -1
  52. package/dist/c-SGAURYHG.min.js +1 -0
  53. package/dist/{c-DK662R77.min.js → c-SJMWU6UX.min.js} +1 -1
  54. package/dist/c-STIIGQOD.min.js +1 -0
  55. package/dist/c-T2ASIJVZ.min.js +1 -0
  56. package/dist/c-TX3THUTO.min.js +1 -0
  57. package/dist/{c-55BAJ333.min.js → c-TX7XJM3Z.min.js} +1 -1
  58. package/dist/c-UMXSJIOV.min.js +1 -0
  59. package/dist/{c-JLGRHXGZ.min.js → c-VRSXMLYF.min.js} +1 -1
  60. package/dist/c-VSLWSAN2.min.js +1 -0
  61. package/dist/{c-33QOXEUG.min.js → c-WCBRPILW.min.js} +1 -1
  62. package/dist/{c-WH2O53VI.min.js → c-WGHT7OCY.min.js} +1 -1
  63. package/dist/c-WWCW3APR.min.js +1 -0
  64. package/dist/c-Y6PYUMFU.min.js +1 -0
  65. package/dist/c-ZIVPFTOC.min.js +1 -0
  66. package/dist/components/charts/shared/chartDataProps.d.ts +3 -0
  67. package/dist/components/charts/shared/chartSpecAtlasSchemas.d.ts +5 -0
  68. package/dist/components/charts/shared/chartSpecCore.d.ts +4 -0
  69. package/dist/components/charts/shared/chartSpecsAtlas.d.ts +2 -0
  70. package/dist/components/charts/shared/hooks.d.ts +3 -1
  71. package/dist/components/charts/shared/knownChartComponents.d.ts +1 -1
  72. package/dist/components/recipes/atlas/DependencyForestChart.d.ts +20 -0
  73. package/dist/components/recipes/atlas/DependencyMatrix.d.ts +7 -0
  74. package/dist/components/recipes/atlas/FlowCircuitChart.d.ts +20 -0
  75. package/dist/components/recipes/atlas/MotifBraidChart.d.ts +17 -0
  76. package/dist/components/recipes/atlas/atlasChartOptions.d.ts +11 -0
  77. package/dist/components/recipes/atlas/braid.d.ts +62 -0
  78. package/dist/components/recipes/atlas/capsules.d.ts +18 -0
  79. package/dist/components/recipes/atlas/compare.d.ts +4 -0
  80. package/dist/components/recipes/atlas/completeness.d.ts +2 -0
  81. package/dist/components/recipes/atlas/dependencyForest.d.ts +32 -0
  82. package/dist/components/recipes/atlas/dependencyForestChartProps.d.ts +58 -0
  83. package/dist/components/recipes/atlas/dependencyForestLayout.d.ts +17 -0
  84. package/dist/components/recipes/atlas/dependencyQueries.d.ts +20 -0
  85. package/dist/components/recipes/atlas/dependencyTypes.d.ts +21 -0
  86. package/dist/components/recipes/atlas/directedGraph.d.ts +9 -0
  87. package/dist/components/recipes/atlas/entityCounts.d.ts +3 -0
  88. package/dist/components/recipes/atlas/flowCircuit.d.ts +32 -0
  89. package/dist/components/recipes/atlas/flowCircuitChartProps.d.ts +72 -0
  90. package/dist/components/recipes/atlas/flowCircuitChrome.d.ts +18 -0
  91. package/dist/components/recipes/atlas/flowCircuitGeometry.d.ts +11 -0
  92. package/dist/components/recipes/atlas/flowCircuitLayout.d.ts +20 -0
  93. package/dist/components/recipes/atlas/flowCircuitSemantics.d.ts +26 -0
  94. package/dist/components/recipes/atlas/flowCircuitTape.d.ts +22 -0
  95. package/dist/components/recipes/atlas/flowCircuitTypes.d.ts +144 -0
  96. package/dist/components/recipes/atlas/forests.d.ts +11 -0
  97. package/dist/components/recipes/atlas/ids.d.ts +6 -0
  98. package/dist/components/recipes/atlas/index.d.ts +26 -0
  99. package/dist/components/recipes/atlas/ledger.d.ts +7 -0
  100. package/dist/components/recipes/atlas/motifBraidChartProps.d.ts +51 -0
  101. package/dist/components/recipes/atlas/motifBraidGeometry.d.ts +5 -0
  102. package/dist/components/recipes/atlas/motifBraidLayout.d.ts +11 -0
  103. package/dist/components/recipes/atlas/motifs.d.ts +3 -0
  104. package/dist/components/recipes/atlas/prefixForest.d.ts +9 -0
  105. package/dist/components/recipes/atlas/prepare.d.ts +14 -0
  106. package/dist/components/recipes/atlas/prepareAsync.d.ts +7 -0
  107. package/dist/components/recipes/atlas/profile.d.ts +19 -0
  108. package/dist/components/recipes/atlas/publish.d.ts +10 -0
  109. package/dist/components/recipes/atlas/queries.d.ts +34 -0
  110. package/dist/components/recipes/atlas/requiredPaths.d.ts +9 -0
  111. package/dist/components/recipes/atlas/rootedForest.d.ts +4 -0
  112. package/dist/components/recipes/atlas/sections.d.ts +3 -0
  113. package/dist/components/recipes/atlas/support.d.ts +7 -0
  114. package/dist/components/recipes/atlas/types.d.ts +278 -0
  115. package/dist/components/recipes/atlas/validate.d.ts +12 -0
  116. package/dist/components/semiotic-atlas-core.d.ts +20 -0
  117. package/dist/components/semiotic-atlas.d.ts +8 -0
  118. package/dist/components/semiotic-recipes-core.d.ts +9 -0
  119. package/dist/components/server/serverChartConfigs.d.ts +3 -0
  120. package/dist/components/server/serverChartConfigsAtlas.d.ts +4 -0
  121. package/dist/components/stream/NetworkPipelineStore.d.ts +1 -0
  122. package/dist/components/stream/canvasSetup.d.ts +1 -2
  123. package/dist/components/stream/fontLoading.d.ts +4 -0
  124. package/dist/components/stream/networkCustomLayout.d.ts +8 -0
  125. package/dist/components/stream/networkCustomLayoutCache.d.ts +12 -0
  126. package/dist/components/stream/networkPipelineConfig.d.ts +0 -7
  127. package/dist/components/stream/physics/physicsSemanticUI.d.ts +2 -0
  128. package/dist/components/stream/physics/usePhysicsCanvasPointer.d.ts +3 -1
  129. package/dist/components/stream/physics/usePhysicsSemanticNavigation.d.ts +2 -0
  130. package/dist/components/stream/shallowEqual.d.ts +2 -0
  131. package/dist/components/stream/useEnsureCustomXYRenderers.d.ts +4 -2
  132. package/dist/geo.min.js +1 -1
  133. package/dist/geo.module.min.js +1 -1
  134. package/dist/network.module.min.js +1 -1
  135. package/dist/ordinal.module.min.js +1 -1
  136. package/dist/physics.module.min.js +1 -1
  137. package/dist/rough.module.min.js +1 -1
  138. package/dist/semiotic-access.module.min.js +1 -1
  139. package/dist/semiotic-ai-core.min.js +1 -1
  140. package/dist/semiotic-ai-core.module.min.js +1 -1
  141. package/dist/semiotic-ai.module.min.js +1 -1
  142. package/dist/semiotic-artifact.min.js +1 -1
  143. package/dist/semiotic-artifact.module.min.js +1 -1
  144. package/dist/semiotic-atlas-core.d.ts +20 -0
  145. package/dist/semiotic-atlas-core.min.js +1 -0
  146. package/dist/semiotic-atlas-core.module.min.js +1 -0
  147. package/dist/semiotic-atlas-selection.module.min.js +2 -0
  148. package/dist/semiotic-atlas.d.ts +8 -0
  149. package/dist/semiotic-atlas.min.js +2 -0
  150. package/dist/semiotic-atlas.module.min.js +2 -0
  151. package/dist/semiotic-client-cjs-shared.min.js +1 -1
  152. package/dist/semiotic-evidence.min.js +1 -1
  153. package/dist/semiotic-evidence.module.min.js +1 -1
  154. package/dist/semiotic-experimental-auxiliary.module.min.js +1 -1
  155. package/dist/semiotic-experimental-node-auxiliary.module.min.js +1 -1
  156. package/dist/semiotic-experimental-react-shared.module.min.js +1 -1
  157. package/dist/semiotic-experimental-vacp.min.js +1 -1
  158. package/dist/semiotic-experimental-vacp.module.min.js +1 -1
  159. package/dist/semiotic-line.module.min.js +1 -1
  160. package/dist/semiotic-realtime-core.module.min.js +1 -1
  161. package/dist/semiotic-recipes-core-cjs-base.min.js +1 -1
  162. package/dist/semiotic-recipes-core.d.ts +9 -0
  163. package/dist/semiotic-recipes-core.module.min.js +1 -1
  164. package/dist/semiotic-server-edge-node.module.min.js +1 -1
  165. package/dist/semiotic-server-edge.min.js +1 -1
  166. package/dist/semiotic-server-edge.module.min.js +1 -1
  167. package/dist/semiotic-server-node.min.js +1 -1
  168. package/dist/semiotic-server-node.module.min.js +1 -1
  169. package/dist/semiotic-text.min.js +1 -1
  170. package/dist/semiotic-text.module.min.js +1 -1
  171. package/dist/semiotic-utils-core.min.js +1 -1
  172. package/dist/semiotic-utils-core.module.min.js +1 -1
  173. package/dist/semiotic.module.min.js +1 -1
  174. package/dist/server.min.js +1 -1
  175. package/dist/server.module.min.js +1 -1
  176. package/dist/xy.module.min.js +1 -1
  177. package/package.json +16 -1
  178. package/dist/c-447VIMRO.min.js +0 -1
  179. package/dist/c-553QUDKA.min.js +0 -1
  180. package/dist/c-7HP7MB2I.min.js +0 -1
  181. package/dist/c-7NBU5ZKS.min.js +0 -1
  182. package/dist/c-CCTGN5CK.min.js +0 -1
  183. package/dist/c-GSZRZRD6.min.js +0 -1
  184. package/dist/c-GWX7JGMF.min.js +0 -1
  185. package/dist/c-ITKX3RC5.min.js +0 -1
  186. package/dist/c-JG2JCQLP.min.js +0 -1
  187. package/dist/c-LYVKDBQJ.min.js +0 -1
  188. package/dist/c-NG7BLZTR.min.js +0 -1
  189. package/dist/c-PYNW54D2.min.js +0 -1
  190. package/dist/c-TIXX5CAU.min.js +0 -1
  191. /package/dist/{c-OOVX2JPQ.min.js → c-UC7SIU2W.min.js} +0 -0
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- function e(e,t,r){let o=r?.center?.x??0,n=r?.center?.y??0;return{x:o+Math.sin(e)*t,y:n-Math.cos(e)*t}}function t(t,o,n,i,a){let l=a?.center,s=(t,o)=>{let{x:n,y:i}=e(t,o,{center:l});return`${r(n)},${r(i)}`},c=Math.max(0,n),u=Math.max(c,i),m=Math.abs(o-t),p=t>o?0:1;if(m>=yr-1e-6){let e=l?.x??0,t=l?.y??0,o=`${r(e)},${r(t-u)}`,n=`${r(e)},${r(t+u)}`,i=`M${o} A${r(u)},${r(u)} 0 1 1 ${n} A${r(u)},${r(u)} 0 1 1 ${o} Z`;if(c>0){let o=`${r(e)},${r(t-c)}`,n=`${r(e)},${r(t+c)}`;i+=` M${o} A${r(c)},${r(c)} 0 1 0 ${n} A${r(c)},${r(c)} 0 1 0 ${o} Z`}return i}let $=m>Math.PI?1:0,y=s(t,u),d=s(o,u);if(0>=c){let e=l?.x??0,t=l?.y??0;return`M${r(e)},${r(t)} L${y} A${r(u)},${r(u)} 0 ${$} ${p} ${d} Z`}let h=s(o,c),f=s(t,c);return`M${y} A${r(u)},${r(u)} 0 ${$} ${p} ${d} L${h} A${r(c)},${r(c)} 0 ${$} ${1===p?0:1} ${f} Z`}function r(e){return Math.round(1e3*e)/1e3}function o(e,t,r=0){return t>0?((e-r)%t+t)%t+r:e}function n({value:r,onChange:n,period:i=365,radius:a=180,innerRadius:l=14,width:s,height:c,step:u=1,largeStep:m=7,label:p="Range",formatValue:$,arcFill:y="var(--semiotic-primary, #4e79a7)",stroke:d="var(--semiotic-bg, #ffffff)",className:h,style:f}){let g=s??2*a+40,v=c??2*a+40,j=g/2,b=v/2,x=function(e){let[t,r]=e,o=r-t||1,n=yr;return e=>0+(e-t)/o*(n-0)}([0,i]),M=$r(null),w=e=>{let t=e.currentTarget.ownerSVGElement??e.currentTarget,r=t.getBoundingClientRect(),o=t.viewBox?.baseVal;return Math.round((Math.atan2((o?.width||g)/(r.width||1)*(e.clientX-r.left)-j-0,-((o?.height||v)/(r.height||1)*(e.clientY-r.top)-b-0))+yr)%yr/yr*i)%i},P=(e,t)=>{e.preventDefault(),e.stopPropagation(),e.currentTarget.ownerSVGElement?.setPointerCapture?.(e.pointerId),M.current={mode:t,lastValue:w(e)}},F=e=>{let t=e.currentTarget.ownerSVGElement??e.currentTarget;t?.hasPointerCapture?.(e.pointerId)&&t.releasePointerCapture(e.pointerId),M.current=null},k=(e,t)=>{n("range"===e?e=>({start:o(e.start+t,i),end:o(e.end+t,i)}):r=>({...r,[e]:o(r[e]+t,i)}))},C=e=>t=>{let r=t.shiftKey?m:u;"ArrowRight"===t.key||"ArrowUp"===t.key?(t.preventDefault(),k(e,r)):("ArrowLeft"===t.key||"ArrowDown"===t.key)&&(t.preventDefault(),k(e,-r))},T=r.start>r.end?[[r.start,i],[0,r.end]]:[[r.start,r.end]],A=e=>$?$(e):e+"";return dr("svg",{viewBox:`0 0 ${g} ${v}`,width:g,height:v,className:h,onPointerMove:e=>{let t=M.current;if(!t)return;let r=w(e);if("range"===t.mode){let e=function(e,t,r){if(0>=r)return t-e;let o=(t-e)%r;return o>r/2?o-=r:-r/2>o&&(o+=r),o}(t.lastValue,r,i);if(0===e)return;return t.lastValue=r,void n(t=>({start:o(t.start+e,i),end:o(t.end+e,i)}))}n(e=>({...e,[t.mode]:r}))},onPointerUp:F,onPointerCancel:F,onLostPointerCapture:F,style:{touchAction:"none",...f},"aria-label":p+" brush",children:hr("g",{transform:`translate(${j},${b})`,children:[dr("g",{role:"slider",tabIndex:0,"aria-label":p+" (move both ends)","aria-valuemin":0,"aria-valuemax":i-1,"aria-valuenow":r.start,"aria-valuetext":`${A(r.start)} to ${A(r.end)}`,onPointerDown:e=>P(e,"range"),onKeyDown:C("range"),style:{cursor:"grab"},children:T.map(([e,r],o)=>dr("path",{d:t(x(e),x(r),l,a),fill:y,fillOpacity:.35,stroke:d,strokeWidth:1},o))}),["start","end"].map(t=>{let o=r[t],n=(t=>e(x(t),l))(o),s=(t=>e(x(t),a+8))(o);return hr("g",{role:"slider",tabIndex:0,"aria-label":`${p} ${t}`,"aria-valuemin":0,"aria-valuemax":i-1,"aria-valuenow":o,"aria-valuetext":A(o),onPointerDown:e=>P(e,t),onKeyDown:C(t),style:{cursor:"grab"},children:[dr("line",{x1:n.x,y1:n.y,x2:s.x,y2:s.y,stroke:"transparent",strokeWidth:20}),dr("line",{x1:n.x,y1:n.y,x2:s.x,y2:s.y,stroke:d,strokeWidth:1.5}),dr("circle",{cx:s.x,cy:s.y,r:4.5,fill:d,stroke:y,strokeWidth:1})]},t)})]})})}function i(e,t,r,o){return Math.min(r,Math.max(t,Number((t+Math.round((Math.min(r,Math.max(t,e))-t)/o)*o).toFixed(12))))}function a({value:e,onChange:t,pointerToValue:r,min:o,max:n,step:a=1,largeStep:l=5*a,x:s,y:c,controlType:u="value",controlId:m,label:p,valueText:$,radius:y=12,fill:d="var(--semiotic-bg, #ffffff)",stroke:h="var(--semiotic-primary, #4e79a7)",strokeWidth:f=4,labelText:g,labelDx:v=16,labelDy:j=-16,labelClassName:b,className:x,disabled:M=!1,onChangeStart:w,onChangeEnd:P,onObservation:F,chartId:k,chartType:C}){let T=gr(null),A=gr(e);A.current=e;let S=fr.useMemo(()=>U({controlType:u,controlId:m,chartId:k,chartType:C,onObservation:F}),[k,C,m,u,F]),D=e=>{if(M)return;let l=r(e);if(null==l||!Number.isFinite(l))return;let s=i(l,o,n,a);A.current=s,t(s),S("control-change",s,"pointer")},N=e=>{e.stopPropagation(),T.current===e.pointerId&&(e.currentTarget.hasPointerCapture?.(e.pointerId)&&e.currentTarget.releasePointerCapture?.(e.pointerId),T.current=null,P?.(A.current),S("control-end",A.current,"pointer"))},O=["semiotic-direct-manipulation-control",x].filter(Boolean).join(" ");return jr("g",{className:O,role:"slider",tabIndex:M?-1:0,"aria-disabled":M||void 0,"aria-label":p,"aria-valuemin":o,"aria-valuemax":n,"aria-valuenow":e,"aria-valuetext":$??`${p}: ${e}`,"aria-roledescription":"visualization control","data-viz-control":u,"data-viz-control-id":m,"data-viz-control-state":"controlled",pointerEvents:"all",onPointerDown:e=>{M||(e.preventDefault(),e.stopPropagation(),e.currentTarget.setPointerCapture?.(e.pointerId),T.current=e.pointerId,w?.(A.current),S("control-start",A.current,"pointer"),D(e))},onPointerMove:e=>{e.stopPropagation(),T.current===e.pointerId&&D(e)},onPointerUp:N,onPointerCancel:N,onLostPointerCapture:N,onKeyDown:e=>{if(M)return;let r=e.shiftKey?l:a,s=A.current,c=null;if(("ArrowLeft"===e.key||"ArrowDown"===e.key)&&(c=s-r),("ArrowRight"===e.key||"ArrowUp"===e.key)&&(c=s+r),"Home"===e.key&&(c=o),"End"===e.key&&(c=n),null===c)return;e.preventDefault();let u=i(c,o,n,a);A.current=u,t(u),S("control-change",u,"keyboard")},style:{cursor:M?"default":"grab",touchAction:"none"},children:[vr("circle",{className:"semiotic-direct-manipulation-control__hit",cx:s,cy:c,r:y+10,fill:"transparent"}),vr("circle",{className:"semiotic-direct-manipulation-control__handle",cx:s,cy:c,r:y,fill:d,stroke:h,strokeWidth:f}),g?vr("text",{className:b,x:s+v,y:c+j,fill:h,children:g}):null]})}function l(e,t=":root"){return`${t} {\n${Object.entries(ar(e)).map(([e,t])=>` ${e}: ${t};`).join("\n")}\n}`}function s(e){return{semiotic:{bg:{$value:e.colors.background,$type:"color"},text:{$value:e.colors.text,$type:"color"},"text-secondary":{$value:e.colors.textSecondary,$type:"color"},grid:{$value:e.colors.grid,$type:"color"},border:{$value:e.colors.border,$type:"color"},primary:{$value:e.colors.primary,$type:"color"},focus:{$value:e.colors.focus||e.colors.primary,$type:"color"},"font-family":{$value:e.typography.fontFamily,$type:"fontFamily"},"border-radius":{$value:e.borderRadius||"8px",$type:"dimension"},tooltip:{bg:{$value:e.tooltip?.background||e.colors.background,$type:"color"},text:{$value:e.tooltip?.text||e.colors.text,$type:"color"},radius:{$value:e.tooltip?.borderRadius||"6px",$type:"dimension"},"font-size":{$value:e.tooltip?.fontSize||"14px",$type:"dimension"},shadow:{$value:e.tooltip?.shadow||"0 2px 8px rgba(0,0,0,0.15)",$type:"shadow"}},selection:{color:{$value:e.colors.selection||e.colors.primary,$type:"color"},opacity:{$value:e.colors.selectionOpacity??.2,$type:"number"}},categorical:{$value:e.colors.categorical,$type:"color",$description:"Categorical color palette"},sequential:{$value:e.colors.sequential,$type:"string",$description:"d3-scale-chromatic sequential scheme name"},...e.aesthetics?{aesthetics:{...e.aesthetics.name?{profile:{$value:e.aesthetics.name,$type:"string"}}:{},...null!=e.aesthetics.minimumScore?{"minimum-score":{$value:e.aesthetics.minimumScore,$type:"number"}}:{},weights:Object.fromEntries(Object.entries(e.aesthetics.weights??{}).map(([e,t])=>[e,{$value:t,$type:"number"}])),thresholds:Object.fromEntries(Object.entries(e.aesthetics.thresholds??{}).map(([e,t])=>[e,{$value:t,$type:"number"}])),rationales:Object.fromEntries(Object.entries(e.aesthetics.rationales??{}).map(([e,t])=>[e,{$value:t,$type:"string"}]))}}:{},...e.colors.diverging?{diverging:{$value:e.colors.diverging,$type:"string",$description:"d3-scale-chromatic diverging scheme name"}}:{},...e.colors.annotation?{"annotation-color":{$value:e.colors.annotation,$type:"color"}}:{},...null!=e.typography.legendSize?{"legend-font-size":{$value:e.typography.legendSize+"px",$type:"dimension"}}:{},...null!=e.typography.legendFontFamily?{"legend-font-family":{$value:e.typography.legendFontFamily,$type:"fontFamily"}}:{},...null!=e.typography.legendFontWeight?{"legend-font-weight":{$value:e.typography.legendFontWeight,$type:"fontWeight"}}:{},"title-font-size":{$value:(e.typography.titleFontSize??e.typography.titleSize)+"px",$type:"dimension"},...null!=e.typography.titleFontFamily?{"title-font-family":{$value:e.typography.titleFontFamily,$type:"fontFamily"}}:{},...null!=e.typography.titleFontWeight?{"title-font-weight":{$value:e.typography.titleFontWeight,$type:"fontWeight"}}:{},...null!=e.typography.tickFontFamily?{"tick-font-family":{$value:e.typography.tickFontFamily,$type:"fontFamily"}}:{},...null!=e.typography.tickSize?{"tick-font-size":{$value:e.typography.tickSize+"px",$type:"dimension"}}:{},...null!=e.typography.labelSize?{"axis-label-font-size":{$value:e.typography.labelSize+"px",$type:"dimension"}}:{},secondary:{$value:e.colors.secondary||e.colors.primary,$type:"color"},surface:{$value:e.colors.surface||e.colors.background,$type:"color"},...e.colors.success?{success:{$value:e.colors.success,$type:"color"}}:{},...e.colors.danger?{danger:{$value:e.colors.danger,$type:"color"}}:{},...e.colors.warning?{warning:{$value:e.colors.warning,$type:"color"}}:{},...e.colors.error?{error:{$value:e.colors.error,$type:"color"}}:{},...e.colors.info?{info:{$value:e.colors.info,$type:"color"}}:{}}}}function c(e){if(null==e)return"";if("number"!=typeof e||!isFinite(e))return e+"";if(0===e)return"0";let t=parseFloat(e.toPrecision(12)),r=Math.abs(t);return 1e9>r?1e6>r?1e4>r?Number.isInteger(t)?t+"":parseFloat(t.toPrecision(6))+"":parseFloat((t/1e3).toPrecision(3))+"K":parseFloat((t/1e6).toPrecision(3))+"M":parseFloat((t/1e9).toPrecision(3))+"B"}function u(e){return 10>e?"0"+e:e+""}function m(e,t){return t?{month:e.getUTCMonth(),day:e.getUTCDate(),year:e.getUTCFullYear(),hours:e.getUTCHours(),minutes:e.getUTCMinutes(),seconds:e.getUTCSeconds()}:{month:e.getMonth(),day:e.getDate(),year:e.getFullYear(),hours:e.getHours(),minutes:e.getMinutes(),seconds:e.getSeconds()}}function p(e,t={}){let r,o=e,n=(i=function(e={}){let t=e.timeZone;return"UTC"===t?{kind:"utc"}:"local"===t?{kind:"local"}:"string"==typeof t&&t.length>0?{kind:"iana",id:t}:!1===e.utc?{kind:"local"}:{kind:"utc"}}(t),"utc"===i.kind?e=>m(e,!0):"local"===i.kind?e=>m(e,!1):function(e){let t;try{t=new Intl.DateTimeFormat("en-US",{timeZone:e,year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hourCycle:"h23"})}catch{return e=>m(e,!0)}return e=>{let r={};for(let o of t.formatToParts(e))"literal"!==o.type&&(r[o.type]=o.value);return{month:Math.max(0,(Number(r.month)||1)-1),day:Number(r.day)||1,year:Number(r.year)||1970,hours:Number(r.hour)||0,minutes:Number(r.minute)||0,seconds:Number(r.second)||0}}}(i.id));var i;return(t,i,a)=>{let l=t instanceof Date?t:new Date(t);!e&&a&&a.length>=2&&a!==r&&(r=a,o=function(e){if(2>e.length)return"days";let t=[];for(let r=1;e.length>r;r++)t.push(e[r]-e[r-1]);t.sort((e,t)=>e-t);let r=t[Math.floor(t.length/2)];return 12e4>r?"seconds":72e5>r?"minutes":2*xr>r?"hours":60*xr>r?"days":400*xr>r?"months":"years"}(a));let s=o||"days";return null!=i&&0!==i&&a&&0!==a.length?function(e,t,r,o){let n=o(e),i=o(t),a=n.year!==i.year,l=a||n.month!==i.month,s=l||n.day!==i.day,c=s||n.hours!==i.hours,m=c||n.minutes!==i.minutes,p=Mr[n.month],{day:$,year:y}=n,d=u(n.hours),h=u(n.minutes),f=u(n.seconds);switch(r){case"seconds":return a?`${p} ${$}, ${y} ${d}:${h}:${f}`:s?`${p} ${$} ${d}:${h}:${f}`:c?`${d}:${h}:${f}`:m?`${h}:${f}`:":"+f;case"minutes":return a?`${p} ${$}, ${y} ${d}:${h}`:s?`${p} ${$} ${d}:${h}`:c?`${d}:${h}`:":"+h;case"hours":return a?`${p} ${$}, ${y} ${d}:00`:l?`${p} ${$} ${d}:${h}`:s?`${p} ${$} ${d}:00`:d+":00";case"days":return a?`${p} ${$}, ${y}`:l?`${p} ${$}`:""+$;case"months":return a?`${p} ${y}`:""+p;case"years":return""+y}}(l,new Date(a[i-1]),s,n):function(e,t,r){let{month:o,day:n,year:i,hours:a,minutes:l,seconds:s}=r(e),c=Mr[o],m=u(a),p=u(l),$=u(s);switch(t){case"seconds":return`${c} ${n}, ${i} ${m}:${p}:${$}`;case"minutes":case"hours":return`${c} ${n}, ${i} ${m}:${p}`;case"days":return`${c} ${n}, ${i}`;case"months":return`${c} ${i}`;case"years":return""+i}}(l,s,n)}}function $(e,t,r,o){let n=new Map;r.forEach((e,t)=>{n.set(o?o(e,t):t+"",e)});let i=[];t.forEach((e,t)=>{n.has(t)||i.push(t)}),i.length>0&&e.remove?.(i);let a=[];if(n.forEach((r,o)=>{let n=t.get(o);void 0===n?a.push(r):n!==r&&(e.update?e.update(o,()=>r):(e.remove?.(o),a.push(r)))}),a.length>0)if(e.pushMany)e.pushMany(a);else if(e.push)for(let t of a)e.push(t);return n}function y(e,t,r={}){let{id:o,resetKey:n}=r,i=Pr(()=>function(e){return null==e?null:"function"==typeof e?(t,r)=>{let o=e(t,r);return null==o?r+"":o+""}:(t,r)=>{let o=t[e];return null==o?r+"":o+""}}(o),[o]),a=Fr({map:new Map,handle:null,resetKey:void 0});wr(()=>{let r=e.current;if(!r)return;let o=a.current;(o.handle!==r||o.resetKey!==n)&&(r.clear?.(),o.map=new Map,o.handle=r,o.resetKey=n),o.map=$(r,o.map,t,i)},[e,t,i,n])}import{darkenColor as d,lightenColor as h}from"./c-ATM475SA.min.js";import{useForceLayout as f}from"./c-WH2O53VI.min.js";import"./c-AFBSWT77.min.js";import{registerBuiltInXYPlugins as g}from"./c-7NBU5ZKS.min.js";import{AccessibleNavTree as v,ChartContainer as j,ChartGrid as b,ContextLayout as x,DetailsPanel as M,IntentMark as w,MobileAnnotationCalloutList as P,MobileChartContainer as F,MobileStandardControls as k,ObservationReadout as C,SmallMultipleChart as T,VISUALIZATION_CONTROL_TYPES as A,auditVisualizationControls as S,buildNavigationTree as D,clampMobileRange as N,configToJSX as O,configToJSXWithReport as I,copyConfig as E,createControlObservationAdapter as U,deserializeSelections as V,exportChart as W,fromConfig as K,fromURL as R,fromVegaLite as X,intentManifestFromRecipe as G,observedDatum as Q,serializeSelections as z,summarizeIntentManifest as L,toConfig as B,toURL as Z,useMobileRangeControls as H,useNavigationSync as Y,zoomMobileRange as J}from"./c-GWX7JGMF.min.js";import"./c-BOHCQILI.min.js";import"./c-WUWXGQYA.min.js";import{AreaChart as _,BubbleChart as q,BumpChart as ee,CandlestickChart as te,ConnectedScatterplot as re,DifferenceChart as oe,Heatmap as ne,MinimapChart as ie,MultiAxisLineChart as ae,QuadrantChart as le,Scatterplot as se,ScatterplotMatrix as ce,StackedAreaChart as ue,WaterfallChart as me,XYCustomChart as pe,rankBumpData as $e}from"./c-AZKPVBOC.min.js";import"./c-VXLOLYTO.min.js";import{LineChart as ye}from"./c-GSZRZRD6.min.js";import{BarChart as de,BoxPlot as he,DonutChart as fe,DotPlot as ge,FunnelChart as ve,GaugeChart as je,GroupedBarChart as be,Histogram as xe,LikertChart as Me,OrdinalCustomChart as we,PieChart as Pe,RadarChart as Fe,RidgelinePlot as ke,StackedBarChart as Ce,StreamOrdinalFrame_default as Te,SwarmPlot as Ae,SwimlaneChart as Se,ViolinPlot as De}from"./c-DY2676CR.min.js";import"./c-GNTXRXRN.min.js";import{ChordDiagram as Ne,CirclePack as Oe,ForceDirectedGraph as Ie,NetworkCustomChart as Ee,OrbitDiagram as Ue,ProcessSankey as Ve,SankeyDiagram as We,TreeDiagram as Ke,Treemap as Re,diagnoseProcessSankeyLayout as Xe,diagnoseProcessSankeyProps as Ge,explainProcessSankeyLayout as Qe,formatProcessSankeyIssue as ze,inventoryAtTime as Le,toProcessSankeyTime as Be,validateProcessSankey as Ze}from"./c-PP6VY3QU.min.js";import"./c-GXV3C3MO.min.js";import"./c-55BAJ333.min.js";import"./c-D6HAAPTX.min.js";import"./c-KCRJGUHP.min.js";import{RealtimeHeatmap as He,RealtimeHistogram as Ye,RealtimeLineChart as Je,RealtimeSwarmChart as _e,RealtimeTemporalHistogram as qe,RealtimeWaterfallChart as et,TemporalHistogram as tt}from"./c-XDQKXPX4.min.js";import"./c-JO2UGTCP.min.js";import"./c-33QOXEUG.min.js";import"./c-WNGH47HF.min.js";import{StreamXYFrame_default as rt}from"./c-MXCP7GNZ.min.js";import"./c-ZYPXQF7B.min.js";import"./c-P65V6HLO.min.js";import"./c-ORLEBW72.min.js";import"./c-QAVFOEUY.min.js";import"./c-CPSPZH6A.min.js";import"./c-NYZ2QNAM.min.js";import"./c-DE5Q3U2X.min.js";import"./c-DK662R77.min.js";import{IncrementalExtent as ot}from"./c-ROEHCIGV.min.js";import"./c-AVO3Q7T7.min.js";import{RingBuffer as nt}from"./c-BNG5ECK5.min.js";import"./c-TKG2NP7G.min.js";import"./c-OO5QLMJC.min.js";import{StreamNetworkFrame_default as it}from"./c-TIXX5CAU.min.js";import"./c-MVR3RWF3.min.js";import"./c-V4XMSLC3.min.js";import"./c-HXDKPIKR.min.js";import"./c-4FN7Q6VQ.min.js";import"./c-2N7IU2NY.min.js";import"./c-YLZIV3VS.min.js";import"./c-ITKX3RC5.min.js";import{useCustomLayoutSelection as at}from"./c-YDECTEUW.min.js";import"./c-W4ZUKSEQ.min.js";import"./c-EBOQ7ER7.min.js";import"./c-HYW2XA4Q.min.js";import"./c-VJTDST2R.min.js";import"./c-EUBTECGM.min.js";import{AnnotationLabel as lt,CategoryColorProvider as st,ChartErrorBoundary as ct,LinkedCharts as ut,MultiLineTooltip as mt,MultiPointTooltip as pt,Tooltip as $t,TooltipRoot as yt,annotationStableId as dt,compileMotionEncoding as ht,composeStyleRules as ft,deriveMotionVector as gt,estimateLabelWidth as vt,hasOwnTooltipChrome as jt,isMultiTooltip as bt,makeNodeRuleContext as xt,makeRuleValueResolver as Mt,makeStyleRuleStyleFn as wt,makeXYRuleContext as Pt,markTooltipChrome as Ft,matchesThreshold as kt,normalizeTooltip as Ct,opacityFromAge as Tt,resolveMotionAccessor as At,resolveMotionAge as St,resolveMotionVector as Dt,resolveMultiCapableTooltip as Nt,resolveResponsiveRules as Ot,resolveStyleRules as It,resolveTooltipContent as Et,responsiveRuleMatches as Ut,ruleMatches as Vt,smartTooltipEntries as Wt,styleRulesToNodeStyle as Kt,styleRulesToPieceStyle as Rt,styleRulesToXYStyle as Xt,useBrushSelection as Gt,useCategoryColors as Qt,useChartObserver as zt,useFilteredData as Lt,useLinkedChartsActive as Bt,useLinkedHover as Zt,useSelection as Ht,useSelectionActions as Yt}from"./c-LMGSSD2E.min.js";import"./c-CPV4N35K.min.js";import"./c-ELDWAO2V.min.js";import{CARBON_ALERT as Jt,CARBON_CATEGORICAL_14 as _t,COLOR_BLIND_SAFE_CATEGORICAL as qt,DARK_THEME as er,HIGH_CONTRAST_THEME as tr,LIGHT_THEME as rr,THEME_PRESETS as or,ThemeProviderWrapper as nr,resolveThemePreset as ir,themeToCSSVariables as ar,useTheme as lr}from"./c-JUKIWTBJ.min.js";import"./c-T2V7O2LO.min.js";import"./c-QA3HMQJP.min.js";import{createHatchPattern as sr,hatchFillId as cr,hatchPatternDef as ur,isHatchFill as mr,resolveSvgFill as pr}from"./c-553QUDKA.min.js";import{useRef as $r}from"react";var yr=2*Math.PI;import{jsx as dr,jsxs as hr}from"react/jsx-runtime";import*as fr from"react";import{useRef as gr}from"react";import{jsx as vr,jsxs as jr}from"react/jsx-runtime";import*as br from"react";var xr=864e5,Mr=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];import{useEffect as wr,useMemo as Pr,useRef as Fr}from"react";export{v as AccessibleNavTree,lt as AnnotationLabel,_ as AreaChart,de as BarChart,he as BoxPlot,q as BubbleChart,ee as BumpChart,Jt as CARBON_ALERT,_t as CARBON_CATEGORICAL_14,qt as COLOR_BLIND_SAFE_CATEGORICAL,te as CandlestickChart,st as CategoryColorProvider,j as ChartContainer,ct as ChartErrorBoundary,b as ChartGrid,Ne as ChordDiagram,Oe as CirclePack,n as CircularBrush,re as ConnectedScatterplot,x as ContextLayout,er as DARK_THEME,M as DetailsPanel,oe as DifferenceChart,a as DirectManipulationControl,fe as DonutChart,ge as DotPlot,Ie as ForceDirectedGraph,ve as FunnelChart,je as GaugeChart,be as GroupedBarChart,tr as HIGH_CONTRAST_THEME,ne as Heatmap,xe as Histogram,ot as IncrementalExtent,w as IntentMark,rr as LIGHT_THEME,Me as LikertChart,ye as LineChart,ut as LinkedCharts,ie as MinimapChart,P as MobileAnnotationCalloutList,F as MobileChartContainer,k as MobileStandardControls,ae as MultiAxisLineChart,mt as MultiLineTooltip,pt as MultiPointTooltip,Ee as NetworkCustomChart,C as ObservationReadout,Ue as OrbitDiagram,we as OrdinalCustomChart,Pe as PieChart,Ve as ProcessSankey,le as QuadrantChart,Fe as RadarChart,He as RealtimeHeatmap,Ye as RealtimeHistogram,Je as RealtimeLineChart,_e as RealtimeSwarmChart,qe as RealtimeTemporalHistogram,et as RealtimeWaterfallChart,ke as RidgelinePlot,nt as RingBuffer,We as SankeyDiagram,se as Scatterplot,ce as ScatterplotMatrix,T as SmallMultipleChart,ue as StackedAreaChart,Ce as StackedBarChart,it as StreamNetworkFrame,Te as StreamOrdinalFrame,rt as StreamXYFrame,Ae as SwarmPlot,Se as SwimlaneChart,or as THEME_PRESETS,tt as TemporalHistogram,nr as ThemeProvider,$t as Tooltip,yt as TooltipRoot,Ke as TreeDiagram,Re as Treemap,A as VISUALIZATION_CONTROL_TYPES,De as ViolinPlot,me as WaterfallChart,pe as XYCustomChart,p as adaptiveTimeTicks,dt as annotationStableId,S as auditVisualizationControls,D as buildNavigationTree,N as clampMobileRange,ht as compileMotionEncoding,ft as composeStyleRules,O as configToJSX,I as configToJSXWithReport,E as copyConfig,U as createControlObservationAdapter,sr as createHatchPattern,d as darkenColor,gt as deriveMotionVector,V as deserializeSelections,Xe as diagnoseProcessSankeyLayout,Ge as diagnoseProcessSankeyProps,vt as estimateLabelWidth,Qe as explainProcessSankeyLayout,W as exportChart,ze as formatProcessSankeyIssue,K as fromConfig,R as fromURL,X as fromVegaLite,jt as hasOwnTooltipChrome,cr as hatchFillId,ur as hatchPatternDef,G as intentManifestFromRecipe,Le as inventoryAtTime,mr as isHatchFill,bt as isMultiTooltip,h as lightenColor,xt as makeNodeRuleContext,Mt as makeRuleValueResolver,wt as makeStyleRuleStyleFn,Pt as makeXYRuleContext,Ft as markTooltipChrome,kt as matchesThreshold,Ct as normalizeTooltip,Q as observedDatum,Tt as opacityFromAge,$e as rankBumpData,g as registerBuiltInXYPlugins,At as resolveMotionAccessor,St as resolveMotionAge,Dt as resolveMotionVector,Nt as resolveMultiCapableTooltip,Ot as resolveResponsiveRules,It as resolveStyleRules,pr as resolveSvgFill,ir as resolveThemePreset,Et as resolveTooltipContent,Ut as responsiveRuleMatches,Vt as ruleMatches,z as serializeSelections,c as smartTickFormat,Wt as smartTooltipEntries,Kt as styleRulesToNodeStyle,Rt as styleRulesToPieceStyle,Xt as styleRulesToXYStyle,L as summarizeIntentManifest,$ as syncPushBuffer,l as themeToCSS,ar as themeToCSSVariables,s as themeToTokens,B as toConfig,Be as toProcessSankeyTime,Z as toURL,Gt as useBrushSelection,Qt as useCategoryColors,zt as useChartObserver,at as useCustomLayoutSelection,Lt as useFilteredData,f as useForceLayout,Bt as useLinkedChartsActive,Zt as useLinkedHover,H as useMobileRangeControls,Y as useNavigationSync,Ht as useSelection,Yt as useSelectionActions,y as useSyncedPushData,lr as useTheme,Ze as validateProcessSankey,J as zoomMobileRange};
2
+ function e(e,t,r){let o=r?.center?.x??0,n=r?.center?.y??0;return{x:o+Math.sin(e)*t,y:n-Math.cos(e)*t}}function t(t,o,n,i,a){let l=a?.center,s=(t,o)=>{let{x:n,y:i}=e(t,o,{center:l});return`${r(n)},${r(i)}`},c=Math.max(0,n),u=Math.max(c,i),m=Math.abs(o-t),p=t>o?0:1;if(m>=yr-1e-6){let e=l?.x??0,t=l?.y??0,o=`${r(e)},${r(t-u)}`,n=`${r(e)},${r(t+u)}`,i=`M${o} A${r(u)},${r(u)} 0 1 1 ${n} A${r(u)},${r(u)} 0 1 1 ${o} Z`;if(c>0){let o=`${r(e)},${r(t-c)}`,n=`${r(e)},${r(t+c)}`;i+=` M${o} A${r(c)},${r(c)} 0 1 0 ${n} A${r(c)},${r(c)} 0 1 0 ${o} Z`}return i}let $=m>Math.PI?1:0,y=s(t,u),d=s(o,u);if(0>=c){let e=l?.x??0,t=l?.y??0;return`M${r(e)},${r(t)} L${y} A${r(u)},${r(u)} 0 ${$} ${p} ${d} Z`}let h=s(o,c),f=s(t,c);return`M${y} A${r(u)},${r(u)} 0 ${$} ${p} ${d} L${h} A${r(c)},${r(c)} 0 ${$} ${1===p?0:1} ${f} Z`}function r(e){return Math.round(1e3*e)/1e3}function o(e,t,r=0){return t>0?((e-r)%t+t)%t+r:e}function n({value:r,onChange:n,period:i=365,radius:a=180,innerRadius:l=14,width:s,height:c,step:u=1,largeStep:m=7,label:p="Range",formatValue:$,arcFill:y="var(--semiotic-primary, #4e79a7)",stroke:d="var(--semiotic-bg, #ffffff)",className:h,style:f}){let g=s??2*a+40,v=c??2*a+40,j=g/2,b=v/2,x=function(e){let[t,r]=e,o=r-t||1,n=yr;return e=>0+(e-t)/o*(n-0)}([0,i]),M=$r(null),F=e=>{let t=e.currentTarget.ownerSVGElement??e.currentTarget,r=t.getBoundingClientRect(),o=t.viewBox?.baseVal;return Math.round((Math.atan2((o?.width||g)/(r.width||1)*(e.clientX-r.left)-j-0,-((o?.height||v)/(r.height||1)*(e.clientY-r.top)-b-0))+yr)%yr/yr*i)%i},w=(e,t)=>{e.preventDefault(),e.stopPropagation(),e.currentTarget.ownerSVGElement?.setPointerCapture?.(e.pointerId),M.current={mode:t,lastValue:F(e)}},T=e=>{let t=e.currentTarget.ownerSVGElement??e.currentTarget;t?.hasPointerCapture?.(e.pointerId)&&t.releasePointerCapture(e.pointerId),M.current=null},P=(e,t)=>{n("range"===e?e=>({start:o(e.start+t,i),end:o(e.end+t,i)}):r=>({...r,[e]:o(r[e]+t,i)}))},C=e=>t=>{let r=t.shiftKey?m:u;"ArrowRight"===t.key||"ArrowUp"===t.key?(t.preventDefault(),P(e,r)):("ArrowLeft"===t.key||"ArrowDown"===t.key)&&(t.preventDefault(),P(e,-r))},k=r.start>r.end?[[r.start,i],[0,r.end]]:[[r.start,r.end]],S=e=>$?$(e):e+"";return dr("svg",{viewBox:`0 0 ${g} ${v}`,width:g,height:v,className:h,onPointerMove:e=>{let t=M.current;if(!t)return;let r=F(e);if("range"===t.mode){let e=function(e,t,r){if(0>=r)return t-e;let o=(t-e)%r;return o>r/2?o-=r:-r/2>o&&(o+=r),o}(t.lastValue,r,i);if(0===e)return;return t.lastValue=r,void n(t=>({start:o(t.start+e,i),end:o(t.end+e,i)}))}n(e=>({...e,[t.mode]:r}))},onPointerUp:T,onPointerCancel:T,onLostPointerCapture:T,style:{touchAction:"none",...f},"aria-label":p+" brush",children:hr("g",{transform:`translate(${j},${b})`,children:[dr("g",{role:"slider",tabIndex:0,"aria-label":p+" (move both ends)","aria-valuemin":0,"aria-valuemax":i-1,"aria-valuenow":r.start,"aria-valuetext":`${S(r.start)} to ${S(r.end)}`,onPointerDown:e=>w(e,"range"),onKeyDown:C("range"),style:{cursor:"grab"},children:k.map(([e,r],o)=>dr("path",{d:t(x(e),x(r),l,a),fill:y,fillOpacity:.35,stroke:d,strokeWidth:1},o))}),["start","end"].map(t=>{let o=r[t],n=(t=>e(x(t),l))(o),s=(t=>e(x(t),a+8))(o);return hr("g",{role:"slider",tabIndex:0,"aria-label":`${p} ${t}`,"aria-valuemin":0,"aria-valuemax":i-1,"aria-valuenow":o,"aria-valuetext":S(o),onPointerDown:e=>w(e,t),onKeyDown:C(t),style:{cursor:"grab"},children:[dr("line",{x1:n.x,y1:n.y,x2:s.x,y2:s.y,stroke:"transparent",strokeWidth:20}),dr("line",{x1:n.x,y1:n.y,x2:s.x,y2:s.y,stroke:d,strokeWidth:1.5}),dr("circle",{cx:s.x,cy:s.y,r:4.5,fill:d,stroke:y,strokeWidth:1})]},t)})]})})}function i(e,t,r,o){return Math.min(r,Math.max(t,Number((t+Math.round((Math.min(r,Math.max(t,e))-t)/o)*o).toFixed(12))))}function a({value:e,onChange:t,pointerToValue:r,min:o,max:n,step:a=1,largeStep:l=5*a,x:s,y:c,controlType:u="value",controlId:m,label:p,valueText:$,radius:y=12,fill:d="var(--semiotic-bg, #ffffff)",stroke:h="var(--semiotic-primary, #4e79a7)",strokeWidth:f=4,labelText:g,labelDx:v=16,labelDy:j=-16,labelClassName:b,className:x,disabled:M=!1,onChangeStart:F,onChangeEnd:w,onObservation:T,chartId:P,chartType:C}){let k=gr(null),S=gr(e);S.current=e;let A=fr.useMemo(()=>V({controlType:u,controlId:m,chartId:P,chartType:C,onObservation:T}),[P,C,m,u,T]),W=e=>{if(M)return;let l=r(e);if(null==l||!Number.isFinite(l))return;let s=i(l,o,n,a);S.current=s,t(s),A("control-change",s,"pointer")},N=e=>{e.stopPropagation(),k.current===e.pointerId&&(e.currentTarget.hasPointerCapture?.(e.pointerId)&&e.currentTarget.releasePointerCapture?.(e.pointerId),k.current=null,w?.(S.current),A("control-end",S.current,"pointer"))},O=["semiotic-direct-manipulation-control",x].filter(Boolean).join(" ");return jr("g",{className:O,role:"slider",tabIndex:M?-1:0,"aria-disabled":M||void 0,"aria-label":p,"aria-valuemin":o,"aria-valuemax":n,"aria-valuenow":e,"aria-valuetext":$??`${p}: ${e}`,"aria-roledescription":"visualization control","data-viz-control":u,"data-viz-control-id":m,"data-viz-control-state":"controlled",pointerEvents:"all",onPointerDown:e=>{M||(e.preventDefault(),e.stopPropagation(),e.currentTarget.setPointerCapture?.(e.pointerId),k.current=e.pointerId,F?.(S.current),A("control-start",S.current,"pointer"),W(e))},onPointerMove:e=>{e.stopPropagation(),k.current===e.pointerId&&W(e)},onPointerUp:N,onPointerCancel:N,onLostPointerCapture:N,onKeyDown:e=>{if(M)return;let r=e.shiftKey?l:a,s=S.current,c=null;if(("ArrowLeft"===e.key||"ArrowDown"===e.key)&&(c=s-r),("ArrowRight"===e.key||"ArrowUp"===e.key)&&(c=s+r),"Home"===e.key&&(c=o),"End"===e.key&&(c=n),null===c)return;e.preventDefault();let u=i(c,o,n,a);S.current=u,t(u),A("control-change",u,"keyboard")},style:{cursor:M?"default":"grab",touchAction:"none"},children:[vr("circle",{className:"semiotic-direct-manipulation-control__hit",cx:s,cy:c,r:y+10,fill:"transparent"}),vr("circle",{className:"semiotic-direct-manipulation-control__handle",cx:s,cy:c,r:y,fill:d,stroke:h,strokeWidth:f}),g?vr("text",{className:b,x:s+v,y:c+j,fill:h,children:g}):null]})}function l(e,t=":root"){return`${t} {\n${Object.entries(ar(e)).map(([e,t])=>` ${e}: ${t};`).join("\n")}\n}`}function s(e){return{semiotic:{bg:{$value:e.colors.background,$type:"color"},text:{$value:e.colors.text,$type:"color"},"text-secondary":{$value:e.colors.textSecondary,$type:"color"},grid:{$value:e.colors.grid,$type:"color"},border:{$value:e.colors.border,$type:"color"},primary:{$value:e.colors.primary,$type:"color"},focus:{$value:e.colors.focus||e.colors.primary,$type:"color"},"font-family":{$value:e.typography.fontFamily,$type:"fontFamily"},"border-radius":{$value:e.borderRadius||"8px",$type:"dimension"},tooltip:{bg:{$value:e.tooltip?.background||e.colors.background,$type:"color"},text:{$value:e.tooltip?.text||e.colors.text,$type:"color"},radius:{$value:e.tooltip?.borderRadius||"6px",$type:"dimension"},"font-size":{$value:e.tooltip?.fontSize||"14px",$type:"dimension"},shadow:{$value:e.tooltip?.shadow||"0 2px 8px rgba(0,0,0,0.15)",$type:"shadow"}},selection:{color:{$value:e.colors.selection||e.colors.primary,$type:"color"},opacity:{$value:e.colors.selectionOpacity??.2,$type:"number"}},categorical:{$value:e.colors.categorical,$type:"color",$description:"Categorical color palette"},sequential:{$value:e.colors.sequential,$type:"string",$description:"d3-scale-chromatic sequential scheme name"},...e.aesthetics?{aesthetics:{...e.aesthetics.name?{profile:{$value:e.aesthetics.name,$type:"string"}}:{},...null!=e.aesthetics.minimumScore?{"minimum-score":{$value:e.aesthetics.minimumScore,$type:"number"}}:{},weights:Object.fromEntries(Object.entries(e.aesthetics.weights??{}).map(([e,t])=>[e,{$value:t,$type:"number"}])),thresholds:Object.fromEntries(Object.entries(e.aesthetics.thresholds??{}).map(([e,t])=>[e,{$value:t,$type:"number"}])),rationales:Object.fromEntries(Object.entries(e.aesthetics.rationales??{}).map(([e,t])=>[e,{$value:t,$type:"string"}]))}}:{},...e.colors.diverging?{diverging:{$value:e.colors.diverging,$type:"string",$description:"d3-scale-chromatic diverging scheme name"}}:{},...e.colors.annotation?{"annotation-color":{$value:e.colors.annotation,$type:"color"}}:{},...null!=e.typography.legendSize?{"legend-font-size":{$value:e.typography.legendSize+"px",$type:"dimension"}}:{},...null!=e.typography.legendFontFamily?{"legend-font-family":{$value:e.typography.legendFontFamily,$type:"fontFamily"}}:{},...null!=e.typography.legendFontWeight?{"legend-font-weight":{$value:e.typography.legendFontWeight,$type:"fontWeight"}}:{},"title-font-size":{$value:(e.typography.titleFontSize??e.typography.titleSize)+"px",$type:"dimension"},...null!=e.typography.titleFontFamily?{"title-font-family":{$value:e.typography.titleFontFamily,$type:"fontFamily"}}:{},...null!=e.typography.titleFontWeight?{"title-font-weight":{$value:e.typography.titleFontWeight,$type:"fontWeight"}}:{},...null!=e.typography.tickFontFamily?{"tick-font-family":{$value:e.typography.tickFontFamily,$type:"fontFamily"}}:{},...null!=e.typography.tickSize?{"tick-font-size":{$value:e.typography.tickSize+"px",$type:"dimension"}}:{},...null!=e.typography.labelSize?{"axis-label-font-size":{$value:e.typography.labelSize+"px",$type:"dimension"}}:{},secondary:{$value:e.colors.secondary||e.colors.primary,$type:"color"},surface:{$value:e.colors.surface||e.colors.background,$type:"color"},...e.colors.success?{success:{$value:e.colors.success,$type:"color"}}:{},...e.colors.danger?{danger:{$value:e.colors.danger,$type:"color"}}:{},...e.colors.warning?{warning:{$value:e.colors.warning,$type:"color"}}:{},...e.colors.error?{error:{$value:e.colors.error,$type:"color"}}:{},...e.colors.info?{info:{$value:e.colors.info,$type:"color"}}:{}}}}function c(e){if(null==e)return"";if("number"!=typeof e||!isFinite(e))return e+"";if(0===e)return"0";let t=parseFloat(e.toPrecision(12)),r=Math.abs(t);return 1e9>r?1e6>r?1e4>r?Number.isInteger(t)?t+"":parseFloat(t.toPrecision(6))+"":parseFloat((t/1e3).toPrecision(3))+"K":parseFloat((t/1e6).toPrecision(3))+"M":parseFloat((t/1e9).toPrecision(3))+"B"}function u(e){return 10>e?"0"+e:e+""}function m(e,t){return t?{month:e.getUTCMonth(),day:e.getUTCDate(),year:e.getUTCFullYear(),hours:e.getUTCHours(),minutes:e.getUTCMinutes(),seconds:e.getUTCSeconds()}:{month:e.getMonth(),day:e.getDate(),year:e.getFullYear(),hours:e.getHours(),minutes:e.getMinutes(),seconds:e.getSeconds()}}function p(e,t={}){let r,o=e,n=(i=function(e={}){let t=e.timeZone;return"UTC"===t?{kind:"utc"}:"local"===t?{kind:"local"}:"string"==typeof t&&t.length>0?{kind:"iana",id:t}:!1===e.utc?{kind:"local"}:{kind:"utc"}}(t),"utc"===i.kind?e=>m(e,!0):"local"===i.kind?e=>m(e,!1):function(e){let t;try{t=new Intl.DateTimeFormat("en-US",{timeZone:e,year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hourCycle:"h23"})}catch{return e=>m(e,!0)}return e=>{let r={};for(let o of t.formatToParts(e))"literal"!==o.type&&(r[o.type]=o.value);return{month:Math.max(0,(Number(r.month)||1)-1),day:Number(r.day)||1,year:Number(r.year)||1970,hours:Number(r.hour)||0,minutes:Number(r.minute)||0,seconds:Number(r.second)||0}}}(i.id));var i;return(t,i,a)=>{let l=t instanceof Date?t:new Date(t);!e&&a&&a.length>=2&&a!==r&&(r=a,o=function(e){if(2>e.length)return"days";let t=[];for(let r=1;e.length>r;r++)t.push(e[r]-e[r-1]);t.sort((e,t)=>e-t);let r=t[Math.floor(t.length/2)];return 12e4>r?"seconds":72e5>r?"minutes":2*xr>r?"hours":60*xr>r?"days":400*xr>r?"months":"years"}(a));let s=o||"days";return null!=i&&0!==i&&a&&0!==a.length?function(e,t,r,o){let n=o(e),i=o(t),a=n.year!==i.year,l=a||n.month!==i.month,s=l||n.day!==i.day,c=s||n.hours!==i.hours,m=c||n.minutes!==i.minutes,p=Mr[n.month],{day:$,year:y}=n,d=u(n.hours),h=u(n.minutes),f=u(n.seconds);switch(r){case"seconds":return a?`${p} ${$}, ${y} ${d}:${h}:${f}`:s?`${p} ${$} ${d}:${h}:${f}`:c?`${d}:${h}:${f}`:m?`${h}:${f}`:":"+f;case"minutes":return a?`${p} ${$}, ${y} ${d}:${h}`:s?`${p} ${$} ${d}:${h}`:c?`${d}:${h}`:":"+h;case"hours":return a?`${p} ${$}, ${y} ${d}:00`:l?`${p} ${$} ${d}:${h}`:s?`${p} ${$} ${d}:00`:d+":00";case"days":return a?`${p} ${$}, ${y}`:l?`${p} ${$}`:""+$;case"months":return a?`${p} ${y}`:""+p;case"years":return""+y}}(l,new Date(a[i-1]),s,n):function(e,t,r){let{month:o,day:n,year:i,hours:a,minutes:l,seconds:s}=r(e),c=Mr[o],m=u(a),p=u(l),$=u(s);switch(t){case"seconds":return`${c} ${n}, ${i} ${m}:${p}:${$}`;case"minutes":case"hours":return`${c} ${n}, ${i} ${m}:${p}`;case"days":return`${c} ${n}, ${i}`;case"months":return`${c} ${i}`;case"years":return""+i}}(l,s,n)}}function $(e,t,r,o){let n=new Map;r.forEach((e,t)=>{n.set(o?o(e,t):t+"",e)});let i=[];t.forEach((e,t)=>{n.has(t)||i.push(t)}),i.length>0&&e.remove?.(i);let a=[];if(n.forEach((r,o)=>{let n=t.get(o);void 0===n?a.push(r):n!==r&&(e.update?e.update(o,()=>r):(e.remove?.(o),a.push(r)))}),a.length>0)if(e.pushMany)e.pushMany(a);else if(e.push)for(let t of a)e.push(t);return n}function y(e,t,r={}){let{id:o,resetKey:n}=r,i=wr(()=>function(e){return null==e?null:"function"==typeof e?(t,r)=>{let o=e(t,r);return null==o?r+"":o+""}:(t,r)=>{let o=t[e];return null==o?r+"":o+""}}(o),[o]),a=Tr({map:new Map,handle:null,resetKey:void 0});Fr(()=>{let r=e.current;if(!r)return;let o=a.current;(o.handle!==r||o.resetKey!==n)&&(r.clear?.(),o.map=new Map,o.handle=r,o.resetKey=n),o.map=$(r,o.map,t,i)},[e,t,i,n])}import{darkenColor as d,lightenColor as h}from"./c-ATM475SA.min.js";import{useForceLayout as f}from"./c-WGHT7OCY.min.js";import"./c-AFBSWT77.min.js";import{registerBuiltInXYPlugins as g}from"./c-WWCW3APR.min.js";import{AccessibleNavTree as v,ChartContainer as j,ChartGrid as b,ContextLayout as x,DetailsPanel as M,IntentMark as F,MobileAnnotationCalloutList as w,MobileChartContainer as T,MobileStandardControls as P,ObservationReadout as C,SmallMultipleChart as k,VISUALIZATION_CONTROL_TYPES as S,auditVisualizationControls as A,buildNavigationTree as W,clampMobileRange as N,configToJSX as O,configToJSXWithReport as I,copyConfig as D,createControlObservationAdapter as V,deserializeSelections as U,exportChart as E,fromConfig as R,fromURL as K,fromVegaLite as L,intentManifestFromRecipe as z,observedDatum as J,serializeSelections as Z,summarizeIntentManifest as G,toConfig as H,toURL as B,useMobileRangeControls as X,useNavigationSync as Y,zoomMobileRange as Q}from"./c-45CQWZZ6.min.js";import"./c-BOHCQILI.min.js";import"./c-WUWXGQYA.min.js";import{AreaChart as _,BubbleChart as q,BumpChart as ee,CandlestickChart as te,ConnectedScatterplot as re,DifferenceChart as oe,Heatmap as ne,MinimapChart as ie,MultiAxisLineChart as ae,QuadrantChart as le,Scatterplot as se,ScatterplotMatrix as ce,StackedAreaChart as ue,WaterfallChart as me,XYCustomChart as pe,rankBumpData as $e}from"./c-AH5HWZWS.min.js";import"./c-VXLOLYTO.min.js";import{LineChart as ye}from"./c-B7GW7IHJ.min.js";import{BarChart as de,BoxPlot as he,DonutChart as fe,DotPlot as ge,FunnelChart as ve,GaugeChart as je,GroupedBarChart as be,Histogram as xe,LikertChart as Me,OrdinalCustomChart as Fe,PieChart as we,RadarChart as Te,RidgelinePlot as Pe,StackedBarChart as Ce,StreamOrdinalFrame_default as ke,SwarmPlot as Se,SwimlaneChart as Ae,ViolinPlot as We}from"./c-EUMPMDCS.min.js";import"./c-GNTXRXRN.min.js";import{ChordDiagram as Ne,CirclePack as Oe,ForceDirectedGraph as Ie,NetworkCustomChart as De,OrbitDiagram as Ve,ProcessSankey as Ue,SankeyDiagram as Ee,TreeDiagram as Re,Treemap as Ke,diagnoseProcessSankeyLayout as Le,diagnoseProcessSankeyProps as ze,explainProcessSankeyLayout as Je,formatProcessSankeyIssue as Ze,inventoryAtTime as Ge,toProcessSankeyTime as He,validateProcessSankey as Be}from"./c-4BRHKVKV.min.js";import"./c-GXV3C3MO.min.js";import"./c-TX7XJM3Z.min.js";import"./c-D6HAAPTX.min.js";import"./c-RFC7UAG7.min.js";import{RealtimeHeatmap as Xe,RealtimeHistogram as Ye,RealtimeLineChart as Qe,RealtimeSwarmChart as _e,RealtimeTemporalHistogram as qe,RealtimeWaterfallChart as et,TemporalHistogram as tt}from"./c-A7OGOFSL.min.js";import"./c-J6DVC236.min.js";import"./c-WCBRPILW.min.js";import"./c-E72OTUZU.min.js";import{StreamXYFrame_default as rt}from"./c-JIMJF6F6.min.js";import"./c-G5VIJEOK.min.js";import"./c-P65V6HLO.min.js";import"./c-ORLEBW72.min.js";import"./c-QAVFOEUY.min.js";import"./c-LESEUVC5.min.js";import"./c-R2P4RR7Q.min.js";import"./c-NHBL4J67.min.js";import"./c-SJMWU6UX.min.js";import{IncrementalExtent as ot}from"./c-C3TZLTZK.min.js";import"./c-AVO3Q7T7.min.js";import{RingBuffer as nt}from"./c-N3FXLRNT.min.js";import"./c-TKG2NP7G.min.js";import"./c-MOKJOIPE.min.js";import{StreamNetworkFrame_default as it}from"./c-N5NPTJVJ.min.js";import"./c-MVR3RWF3.min.js";import"./c-V4XMSLC3.min.js";import"./c-PSKKFZNP.min.js";import"./c-KKPMHAZC.min.js";import"./c-2N7IU2NY.min.js";import"./c-YLZIV3VS.min.js";import"./c-SGAURYHG.min.js";import{useCustomLayoutSelection as at}from"./c-YDECTEUW.min.js";import"./c-W4ZUKSEQ.min.js";import"./c-HP4ZFM47.min.js";import"./c-HYW2XA4Q.min.js";import"./c-VJTDST2R.min.js";import"./c-EUBTECGM.min.js";import{AnnotationLabel as lt,CategoryColorProvider as st,ChartErrorBoundary as ct,LinkedCharts as ut,MultiLineTooltip as mt,MultiPointTooltip as pt,Tooltip as $t,TooltipRoot as yt,annotationStableId as dt,compileMotionEncoding as ht,composeStyleRules as ft,deriveMotionVector as gt,estimateLabelWidth as vt,hasOwnTooltipChrome as jt,isMultiTooltip as bt,makeNodeRuleContext as xt,makeRuleValueResolver as Mt,makeStyleRuleStyleFn as Ft,makeXYRuleContext as wt,markTooltipChrome as Tt,matchesThreshold as Pt,normalizeTooltip as Ct,opacityFromAge as kt,resolveMotionAccessor as St,resolveMotionAge as At,resolveMotionVector as Wt,resolveMultiCapableTooltip as Nt,resolveResponsiveRules as Ot,resolveStyleRules as It,resolveTooltipContent as Dt,responsiveRuleMatches as Vt,ruleMatches as Ut,smartTooltipEntries as Et,styleRulesToNodeStyle as Rt,styleRulesToPieceStyle as Kt,styleRulesToXYStyle as Lt,useBrushSelection as zt,useCategoryColors as Jt,useChartObserver as Zt,useFilteredData as Gt,useLinkedChartsActive as Ht,useLinkedHover as Bt,useSelection as Xt,useSelectionActions as Yt}from"./c-ODG6TFSY.min.js";import"./c-CPV4N35K.min.js";import"./c-ELDWAO2V.min.js";import{CARBON_ALERT as Qt,CARBON_CATEGORICAL_14 as _t,COLOR_BLIND_SAFE_CATEGORICAL as qt,DARK_THEME as er,HIGH_CONTRAST_THEME as tr,LIGHT_THEME as rr,THEME_PRESETS as or,ThemeProviderWrapper as nr,resolveThemePreset as ir,themeToCSSVariables as ar,useTheme as lr}from"./c-JUKIWTBJ.min.js";import"./c-T2V7O2LO.min.js";import"./c-QA3HMQJP.min.js";import{createHatchPattern as sr,hatchFillId as cr,hatchPatternDef as ur,isHatchFill as mr,resolveSvgFill as pr}from"./c-MB6CV5NC.min.js";import{useRef as $r}from"react";var yr=2*Math.PI;import{jsx as dr,jsxs as hr}from"react/jsx-runtime";import*as fr from"react";import{useRef as gr}from"react";import{jsx as vr,jsxs as jr}from"react/jsx-runtime";import*as br from"react";var xr=864e5,Mr=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];import{useEffect as Fr,useMemo as wr,useRef as Tr}from"react";export{v as AccessibleNavTree,lt as AnnotationLabel,_ as AreaChart,de as BarChart,he as BoxPlot,q as BubbleChart,ee as BumpChart,Qt as CARBON_ALERT,_t as CARBON_CATEGORICAL_14,qt as COLOR_BLIND_SAFE_CATEGORICAL,te as CandlestickChart,st as CategoryColorProvider,j as ChartContainer,ct as ChartErrorBoundary,b as ChartGrid,Ne as ChordDiagram,Oe as CirclePack,n as CircularBrush,re as ConnectedScatterplot,x as ContextLayout,er as DARK_THEME,M as DetailsPanel,oe as DifferenceChart,a as DirectManipulationControl,fe as DonutChart,ge as DotPlot,Ie as ForceDirectedGraph,ve as FunnelChart,je as GaugeChart,be as GroupedBarChart,tr as HIGH_CONTRAST_THEME,ne as Heatmap,xe as Histogram,ot as IncrementalExtent,F as IntentMark,rr as LIGHT_THEME,Me as LikertChart,ye as LineChart,ut as LinkedCharts,ie as MinimapChart,w as MobileAnnotationCalloutList,T as MobileChartContainer,P as MobileStandardControls,ae as MultiAxisLineChart,mt as MultiLineTooltip,pt as MultiPointTooltip,De as NetworkCustomChart,C as ObservationReadout,Ve as OrbitDiagram,Fe as OrdinalCustomChart,we as PieChart,Ue as ProcessSankey,le as QuadrantChart,Te as RadarChart,Xe as RealtimeHeatmap,Ye as RealtimeHistogram,Qe as RealtimeLineChart,_e as RealtimeSwarmChart,qe as RealtimeTemporalHistogram,et as RealtimeWaterfallChart,Pe as RidgelinePlot,nt as RingBuffer,Ee as SankeyDiagram,se as Scatterplot,ce as ScatterplotMatrix,k as SmallMultipleChart,ue as StackedAreaChart,Ce as StackedBarChart,it as StreamNetworkFrame,ke as StreamOrdinalFrame,rt as StreamXYFrame,Se as SwarmPlot,Ae as SwimlaneChart,or as THEME_PRESETS,tt as TemporalHistogram,nr as ThemeProvider,$t as Tooltip,yt as TooltipRoot,Re as TreeDiagram,Ke as Treemap,S as VISUALIZATION_CONTROL_TYPES,We as ViolinPlot,me as WaterfallChart,pe as XYCustomChart,p as adaptiveTimeTicks,dt as annotationStableId,A as auditVisualizationControls,W as buildNavigationTree,N as clampMobileRange,ht as compileMotionEncoding,ft as composeStyleRules,O as configToJSX,I as configToJSXWithReport,D as copyConfig,V as createControlObservationAdapter,sr as createHatchPattern,d as darkenColor,gt as deriveMotionVector,U as deserializeSelections,Le as diagnoseProcessSankeyLayout,ze as diagnoseProcessSankeyProps,vt as estimateLabelWidth,Je as explainProcessSankeyLayout,E as exportChart,Ze as formatProcessSankeyIssue,R as fromConfig,K as fromURL,L as fromVegaLite,jt as hasOwnTooltipChrome,cr as hatchFillId,ur as hatchPatternDef,z as intentManifestFromRecipe,Ge as inventoryAtTime,mr as isHatchFill,bt as isMultiTooltip,h as lightenColor,xt as makeNodeRuleContext,Mt as makeRuleValueResolver,Ft as makeStyleRuleStyleFn,wt as makeXYRuleContext,Tt as markTooltipChrome,Pt as matchesThreshold,Ct as normalizeTooltip,J as observedDatum,kt as opacityFromAge,$e as rankBumpData,g as registerBuiltInXYPlugins,St as resolveMotionAccessor,At as resolveMotionAge,Wt as resolveMotionVector,Nt as resolveMultiCapableTooltip,Ot as resolveResponsiveRules,It as resolveStyleRules,pr as resolveSvgFill,ir as resolveThemePreset,Dt as resolveTooltipContent,Vt as responsiveRuleMatches,Ut as ruleMatches,Z as serializeSelections,c as smartTickFormat,Et as smartTooltipEntries,Rt as styleRulesToNodeStyle,Kt as styleRulesToPieceStyle,Lt as styleRulesToXYStyle,G as summarizeIntentManifest,$ as syncPushBuffer,l as themeToCSS,ar as themeToCSSVariables,s as themeToTokens,H as toConfig,He as toProcessSankeyTime,B as toURL,zt as useBrushSelection,Jt as useCategoryColors,Zt as useChartObserver,at as useCustomLayoutSelection,Gt as useFilteredData,f as useForceLayout,Ht as useLinkedChartsActive,Bt as useLinkedHover,X as useMobileRangeControls,Y as useNavigationSync,Xt as useSelection,Yt as useSelectionActions,y as useSyncedPushData,lr as useTheme,Be as validateProcessSankey,Q as zoomMobileRange};