@@ -202,12 +202,12 @@ ${mdTableStringNumber('Name', 'Counts', data['top_five_alert_types'])}
202202}
203203
204204function displayAnalyticsScreen ( data : FormattedData ) : void {
205- const ScreenWidget = require ( 'blessed/lib/widgets/screen.js' )
205+ const ScreenWidget = /* @__PURE__ */ require ( 'blessed/lib/widgets/screen.js' )
206206 // Lazily access constants.blessedOptions.
207207 const screen : Widgets . Screen = new ScreenWidget ( {
208208 ...constants . blessedOptions ,
209209 } )
210- const GridLayout = require ( 'blessed-contrib/lib/layout/grid.js' )
210+ const GridLayout = /* @__PURE__ */ require ( 'blessed-contrib/lib/layout/grid.js' )
211211 const grid = new GridLayout ( { rows : 5 , cols : 4 , screen } )
212212
213213 renderLineCharts (
@@ -267,7 +267,7 @@ function displayAnalyticsScreen(data: FormattedData): void {
267267 data [ 'total_low_prevented' ] ,
268268 )
269269
270- const BarChart = require ( 'blessed-contrib/lib/widget/charts/bar.js' )
270+ const BarChart = /* @__PURE__ */ require ( 'blessed-contrib/lib/widget/charts/bar.js' )
271271 const bar = grid . set ( 4 , 0 , 1 , 2 , BarChart , {
272272 label : 'Top 5 alert types' ,
273273 barWidth : 10 ,
@@ -389,7 +389,7 @@ function renderLineCharts(
389389 coords : number [ ] ,
390390 data : Record < string , number > ,
391391) : void {
392- const LineChart = require ( 'blessed-contrib/lib/widget/charts/line.js' )
392+ const LineChart = /* @__PURE__ */ require ( 'blessed-contrib/lib/widget/charts/line.js' )
393393 const line = grid . set ( ...coords , LineChart , {
394394 style : { line : 'cyan' , text : 'cyan' , baseline : 'black' } ,
395395 xLabelPadding : 0 ,
0 commit comments