(function(n,f){typeof exports=="object"&&typeof module<"u"?module.exports=f():typeof define=="function"&&define.amd?define(f):(n=typeof globalThis<"u"?globalThis:n||self,n.ThresholdLine=f())})(this,function(){"use strict";return()=>({id:"lineChartHorizontalLine",afterDraw:function(o){var m=o.scales.y;let d=o.canvas,e=o.ctx,i,s,t,a,r=d.offsetWidth,l=o.scales.y.right,c=d.offsetHeight,h=o.options.horizontalLine;if(h){for(s=0;s