id
int64
0
1.29M
original_id
stringlengths
32
32
swhid
stringlengths
100
170
sha1
stringlengths
40
40
repo_name
stringlengths
2
45
repo_group
stringclasses
12 values
filepath
stringlengths
5
153
name
stringlengths
1
14.9k
type
stringclasses
3 values
code
stringlengths
7
2.12M
18,700
13b547e00468b19d194c175536de44ff
swh:1:cnt:ef71ea405fee56c1a5a5d553a1c12f8ce79ae6cd;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
b2627430691d03d02a70e75b93ef61cdce1ee948
pageview-api
analytics
web/static/jqplot/plugins/jqplot.cursor.min.js
n
function
function n(r,t){var v=t.plugins.cursor;var s=v._tooltipElem;switch(v.tooltipLocation){case"nw":var q=r.x+t._gridPadding.left-s.outerWidth(true)-v.tooltipOffset;var u=r.y+t._gridPadding.top-v.tooltipOffset-s.outerHeight(true);break;case"n":var q=r.x+t._gridPadding.left-s.outerWidth(true)/2;var u=r.y+t._gridPadding.top-v...
18,701
683c05ddad06b404e847cebd294b7c4b
swh:1:cnt:ef71ea405fee56c1a5a5d553a1c12f8ce79ae6cd;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
b2627430691d03d02a70e75b93ef61cdce1ee948
pageview-api
analytics
web/static/jqplot/plugins/jqplot.cursor.min.js
m
function
function m(u){var s=u._gridPadding;var v=u.plugins.cursor;var t=v._tooltipElem;switch(v.tooltipLocation){case"nw":var r=s.left+v.tooltipOffset;var q=s.top+v.tooltipOffset;t.css("left",r);t.css("top",q);break;case"n":var r=(s.left+(u._plotDimensions.width-s.right))/2-t.outerWidth(true)/2;var q=s.top+v.tooltipOffset;t.cs...
18,702
33bed7675843fe10cf079ee168326803
swh:1:cnt:ef71ea405fee56c1a5a5d553a1c12f8ce79ae6cd;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
b2627430691d03d02a70e75b93ef61cdce1ee948
pageview-api
analytics
web/static/jqplot/plugins/jqplot.cursor.min.js
k
function
function k(r,q,v,u,t){r.preventDefault();r.stopImmediatePropagation();var w=t.plugins.cursor;if(w.clickReset){w.resetZoom(t,w)}var s=window.getSelection;if(document.selection&&document.selection.empty){document.selection.empty()}else{if(s&&!s().isCollapsed){s().collapse()}}return false}
18,703
6c0b339d931c26ab903cc5c673a6e983
swh:1:cnt:ef71ea405fee56c1a5a5d553a1c12f8ce79ae6cd;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
b2627430691d03d02a70e75b93ef61cdce1ee948
pageview-api
analytics
web/static/jqplot/plugins/jqplot.cursor.min.js
c
function
function c(r,q,v,u,t){r.preventDefault();r.stopImmediatePropagation();var w=t.plugins.cursor;if(w.dblClickReset){w.resetZoom(t,w)}var s=window.getSelection;if(document.selection&&document.selection.empty){document.selection.empty()}else{if(s&&!s().isCollapsed){s().collapse()}}return false}
18,704
b4f733792b62caa83547b2ec22a696dd
swh:1:cnt:ef71ea405fee56c1a5a5d553a1c12f8ce79ae6cd;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
b2627430691d03d02a70e75b93ef61cdce1ee948
pageview-api
analytics
web/static/jqplot/plugins/jqplot.cursor.min.js
f
function
function f(w,t,q,z,u){var v=u.plugins.cursor;v.onGrid=false;if(v.show){j(w.target).css("cursor",v.previousCursor);if(v.showTooltip&&!(v._zoom.zooming&&v.showTooltipOutsideZoom&&!v.constrainOutsideZoom)){v._tooltipElem.hide()}if(v.zoom){v._zoom.gridpos=t;v._zoom.datapos=q}if(v.showVerticalLine||v.showHorizontalLine){var...
18,705
0e2be7abc3a4166f4b2609165230651c
swh:1:cnt:ef71ea405fee56c1a5a5d553a1c12f8ce79ae6cd;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
b2627430691d03d02a70e75b93ef61cdce1ee948
pageview-api
analytics
web/static/jqplot/plugins/jqplot.cursor.min.js
i
function
function i(r,q,u,t,s){var v=s.plugins.cursor;if(v.show){if(v.showTooltip){e(q,u,s);if(v.followMouse){n(q,s)}}if(v.showVerticalLine||v.showHorizontalLine){g(q,s)}}}
18,706
1e3904a25b7e004164a72e4ec18e4995
swh:1:cnt:ef71ea405fee56c1a5a5d553a1c12f8ce79ae6cd;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
b2627430691d03d02a70e75b93ef61cdce1ee948
pageview-api
analytics
web/static/jqplot/plugins/jqplot.cursor.min.js
h
function
function h(z){var x=z.data.plot;var y=x.plugins.cursor;if(y.show&&y.zoom&&y._zoom.started&&!y.zoomTarget){var B=y.zoomCanvas._ctx;var v=o(z);var w=v.gridPos;var t=v.dataPos;y._zoom.gridpos=w;y._zoom.datapos=t;y._zoom.zooming=true;var u=w.x;var s=w.y;var A=B.canvas.height;var q=B.canvas.width;if(y.showTooltip&&!y.onGrid...
18,707
e831cbbf2c3ef4aac63951301bd71db9
swh:1:cnt:ef71ea405fee56c1a5a5d553a1c12f8ce79ae6cd;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
b2627430691d03d02a70e75b93ef61cdce1ee948
pageview-api
analytics
web/static/jqplot/plugins/jqplot.cursor.min.js
p
function
function p(y){var v=y.data.plot;var x=v.plugins.cursor;if(x.zoom&&x._zoom.zooming&&!x.zoomTarget){var u=x._zoom.gridpos.x;var r=x._zoom.gridpos.y;var t=x._zoom.datapos;var z=x.zoomCanvas._ctx.canvas.height;var q=x.zoomCanvas._ctx.canvas.width;var w=v.axes;if(x.constrainOutsideZoom&&!x.onGrid){if(u<0){u=0}else{if(u>q){u...
18,708
4c0d260e08fd7c82701a59c76f409e65
swh:1:cnt:ef71ea405fee56c1a5a5d553a1c12f8ce79ae6cd;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
b2627430691d03d02a70e75b93ef61cdce1ee948
pageview-api
analytics
web/static/jqplot/plugins/jqplot.cursor.min.js
l
function
function l(){var y=this._zoom.start;var u=this._zoom.end;var s=this.zoomCanvas._ctx;var r,v,x,q;if(u[0]>y[0]){r=y[0];q=u[0]-y[0]}else{r=u[0];q=y[0]-u[0]}if(u[1]>y[1]){v=y[1];x=u[1]-y[1]}else{v=u[1];x=y[1]-u[1]}s.fillStyle="rgba(0,0,0,0.2)";s.strokeStyle="#999999";s.lineWidth=1;s.clearRect(0,0,s.canvas.width,s.canvas.he...
18,709
e84ed4850e5a673d9fe8462c7bf23233
swh:1:cnt:ef71ea405fee56c1a5a5d553a1c12f8ce79ae6cd;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
b2627430691d03d02a70e75b93ef61cdce1ee948
pageview-api
analytics
web/static/jqplot/plugins/jqplot.cursor.min.js
z
function
function z(D,C,F,s){var B=(F)?this.rowSpacing:"0";var E=j('<tr class="jqplot-legend jqplot-cursor-legend"></tr>').appendTo(this._elem);E.data("seriesIndex",s);j('<td class="jqplot-legend jqplot-cursor-legend-swatch" style="padding-top:'+B+';"><div style="border:1px solid #cccccc;padding:0.2em;"><div class="jqplot-curso...
18,710
ef4352a6d1d812c9021c69ea113faf54
swh:1:cnt:ef71ea405fee56c1a5a5d553a1c12f8ce79ae6cd;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
b2627430691d03d02a70e75b93ef61cdce1ee948
pageview-api
analytics
web/static/jqplot/plugins/jqplot.cursor.min.js
b
function
function b(r,q,u,t,s){var v=s.plugins.cursor;v.onGrid=true;if(v.show){v.previousCursor=r.target.style.cursor;r.target.style.cursor=v.style;if(v.showTooltip){e(q,u,s);if(v.followMouse){n(q,s)}else{m(s)}v._tooltipElem.show()}if(v.showVerticalLine||v.showHorizontalLine){g(q,s)}}}
18,711
fddd26f5b20d7bbef76d8e4fa1ce4ae3
swh:1:cnt:ef71ea405fee56c1a5a5d553a1c12f8ce79ae6cd;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
b2627430691d03d02a70e75b93ef61cdce1ee948
pageview-api
analytics
web/static/jqplot/plugins/jqplot.cursor.min.js
a
function
function a(w,s,r,x,t){var v=t.plugins.cursor;j(document).one("mouseup.jqplot_cursor",{plot:t},p);var u=t.axes;if(document.onselectstart!=undefined){v._oldHandlers.onselectstart=document.onselectstart;document.onselectstart=function(){return false}}if(document.ondrag!=undefined){v._oldHandlers.ondrag=document.ondrag;doc...
18,712
3977a8537ff2f39270164596a3245630
swh:1:cnt:ef71ea405fee56c1a5a5d553a1c12f8ce79ae6cd;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
b2627430691d03d02a70e75b93ef61cdce1ee948
pageview-api
analytics
web/static/jqplot/plugins/jqplot.cursor.min.js
o
function
function o(y){var x=y.data.plot;var t=x.eventCanvas._elem.offset();var w={x:y.pageX-t.left,y:y.pageY-t.top};var u={xaxis:null,yaxis:null,x2axis:null,y2axis:null,y3axis:null,y4axis:null,y5axis:null,y6axis:null,y7axis:null,y8axis:null,y9axis:null,yMidAxis:null};var v=["xaxis","yaxis","x2axis","y2axis","y3axis","y4axis","...
18,713
1763b8e57f4d7aa2cd62b7e18face959
swh:1:cnt:f09fc5443dbbb045ed6be617c81678511e1868a9;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=130-144/
554a1393292804ba7a314e31af3f573033739e5a
pageview-api
analytics
web/static/jqplot/plugins/jqplot.dateAxisRenderer.js
bestDateInterval
function
function bestDateInterval(min, max, titarget) { // iterate through niceIntervals to find one closest to titarget var badness = Number.MAX_VALUE; var temp, bestTi, bestfmt; for (var i=0, l=niceIntervals.length; i < l; i++) { temp = Math.abs(titarget - niceIntervals[i]); ...
18,714
0fccc9b246b64b62e08ff2c6d440be39
swh:1:cnt:4173e918ba33280acc4306e00d743406e53ba1cc;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
55be394b2e08ca3225225f3e5bdda1c4b35f8803
pageview-api
analytics
web/static/jqplot/plugins/jqplot.dateAxisRenderer.min.js
a
function
function a(p,s,t){var o=Number.MAX_VALUE;var u,r,v;for(var q=0,n=m.length;q<n;q++){u=Math.abs(t-m[q]);if(u<o){o=u;r=m[q];v=i[q]}}return[r,v]}
18,715
3dcdbfbe898b2681c6a83896896347fb
swh:1:cnt:e541e3ae436b8cd9b3e9caaa816d3ab89c8feebd;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=289-317/
d0bb1a31e8591d4a809504ada5a24bb2696d243c
pageview-api
analytics
web/static/jqplot/plugins/jqplot.donutRenderer.js
doDraw
function
function doDraw () { // Fix for IE and Chrome that can't seem to draw circles correctly. // ang2 should always be <= 2 pi since that is the way the data is converted. if (ang2 > 6.282 + this.startAngle) { ang2 = 6.282 + this.startAngle; if (ang1 > ang...
18,716
151de79008f61e58a8fa592062f66d64
swh:1:cnt:e541e3ae436b8cd9b3e9caaa816d3ab89c8feebd;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=616-642/
d0bb1a31e8591d4a809504ada5a24bb2696d243c
pageview-api
analytics
web/static/jqplot/plugins/jqplot.donutRenderer.js
preInit
function
// setup default renderers for axes and legend so user doesn't have to // called with scope of plot function preInit(target, data, options) { options = options || {}; options.axesDefaults = options.axesDefaults || {}; options.legend = options.legend || {}; options.seriesDefaults ...
18,717
537e400841aa90e9b2747554aad34c0d
swh:1:cnt:e541e3ae436b8cd9b3e9caaa816d3ab89c8feebd;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=644-666/
d0bb1a31e8591d4a809504ada5a24bb2696d243c
pageview-api
analytics
web/static/jqplot/plugins/jqplot.donutRenderer.js
postInit
function
// called with scope of plot. function postInit(target, data, options) { // if multiple series, add a reference to the previous one so that // donut rings can nest. for (var i=1; i<this.series.length; i++) { if (!this.series[i]._previousSeries.length){ for (var j=...
18,718
fc033bebce5d6aba37ad5da7e400e5cc
swh:1:cnt:e541e3ae436b8cd9b3e9caaa816d3ab89c8feebd;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=677-684/
d0bb1a31e8591d4a809504ada5a24bb2696d243c
pageview-api
analytics
web/static/jqplot/plugins/jqplot.donutRenderer.js
highlight
function
function highlight (plot, sidx, pidx) { var s = plot.series[sidx]; var canvas = plot.plugins.donutRenderer.highlightCanvas; canvas._ctx.clearRect(0,0,canvas._ctx.canvas.width, canvas._ctx.canvas.height); s._highlightedPoint = pidx; plot.plugins.donutRenderer.highlightedSeriesInde...
18,719
5bb1927f17ea1aaacdd681542ac56154
swh:1:cnt:e541e3ae436b8cd9b3e9caaa816d3ab89c8feebd;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=669-675/
d0bb1a31e8591d4a809504ada5a24bb2696d243c
pageview-api
analytics
web/static/jqplot/plugins/jqplot.donutRenderer.js
postParseOptions
function
// called with scope of plot function postParseOptions(options) { for (var i=0; i<this.series.length; i++) { this.series[i].seriesColors = this.seriesColors; this.series[i].colorGenerator = $.jqplot.colorGenerator; } }
18,720
de6072c251f34bfdc61a66852e94c513
swh:1:cnt:e541e3ae436b8cd9b3e9caaa816d3ab89c8feebd;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=686-694/
d0bb1a31e8591d4a809504ada5a24bb2696d243c
pageview-api
analytics
web/static/jqplot/plugins/jqplot.donutRenderer.js
unhighlight
function
function unhighlight (plot) { var canvas = plot.plugins.donutRenderer.highlightCanvas; canvas._ctx.clearRect(0,0, canvas._ctx.canvas.width, canvas._ctx.canvas.height); for (var i=0; i<plot.series.length; i++) { plot.series[i]._highlightedPoint = null; } plot.plugins.d...
18,721
1e5615a4cef1a1e3e2c60237acdc8abc
swh:1:cnt:e541e3ae436b8cd9b3e9caaa816d3ab89c8feebd;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=696-714/
d0bb1a31e8591d4a809504ada5a24bb2696d243c
pageview-api
analytics
web/static/jqplot/plugins/jqplot.donutRenderer.js
handleMove
function
function handleMove(ev, gridpos, datapos, neighbor, plot) { if (neighbor) { var ins = [neighbor.seriesIndex, neighbor.pointIndex, neighbor.data]; var evt1 = jQuery.Event('jqplotDataMouseOver'); evt1.pageX = ev.pageX; evt1.pageY = ev.pageY; plot.target....
18,722
57555aa6e28bacfb58590a98c847361a
swh:1:cnt:e541e3ae436b8cd9b3e9caaa816d3ab89c8feebd;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=716-730/
d0bb1a31e8591d4a809504ada5a24bb2696d243c
pageview-api
analytics
web/static/jqplot/plugins/jqplot.donutRenderer.js
handleMouseDown
function
function handleMouseDown(ev, gridpos, datapos, neighbor, plot) { if (neighbor) { var ins = [neighbor.seriesIndex, neighbor.pointIndex, neighbor.data]; if (plot.series[ins[0]].highlightMouseDown && !(ins[0] == plot.plugins.donutRenderer.highlightedSeriesIndex && ins[1] == plot.series[ins[...
18,723
13f30f0d28327067442fdbb2fd65ac13
swh:1:cnt:e541e3ae436b8cd9b3e9caaa816d3ab89c8feebd;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=732-737/
d0bb1a31e8591d4a809504ada5a24bb2696d243c
pageview-api
analytics
web/static/jqplot/plugins/jqplot.donutRenderer.js
handleMouseUp
function
function handleMouseUp(ev, gridpos, datapos, neighbor, plot) { var idx = plot.plugins.donutRenderer.highlightedSeriesIndex; if (idx != null && plot.series[idx].highlightMouseDown) { unhighlight(plot); } }
18,724
0fb2009d5737a13037ed3f17e697db7a
swh:1:cnt:e541e3ae436b8cd9b3e9caaa816d3ab89c8feebd;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=739-747/
d0bb1a31e8591d4a809504ada5a24bb2696d243c
pageview-api
analytics
web/static/jqplot/plugins/jqplot.donutRenderer.js
handleClick
function
function handleClick(ev, gridpos, datapos, neighbor, plot) { if (neighbor) { var ins = [neighbor.seriesIndex, neighbor.pointIndex, neighbor.data]; var evt = jQuery.Event('jqplotDataClick'); evt.pageX = ev.pageX; evt.pageY = ev.pageY; plot.target.trigge...
18,725
ef99d4a3e4e1b68babb9f5ff2b27b68a
swh:1:cnt:e541e3ae436b8cd9b3e9caaa816d3ab89c8feebd;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=749-761/
d0bb1a31e8591d4a809504ada5a24bb2696d243c
pageview-api
analytics
web/static/jqplot/plugins/jqplot.donutRenderer.js
handleRightClick
function
function handleRightClick(ev, gridpos, datapos, neighbor, plot) { if (neighbor) { var ins = [neighbor.seriesIndex, neighbor.pointIndex, neighbor.data]; var idx = plot.plugins.donutRenderer.highlightedSeriesIndex; if (idx != null && plot.series[idx].highlightMouseDown) { ...
18,726
5673af9f5aa680467982646c8c279d2a
swh:1:cnt:e541e3ae436b8cd9b3e9caaa816d3ab89c8feebd;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=763-787/
d0bb1a31e8591d4a809504ada5a24bb2696d243c
pageview-api
analytics
web/static/jqplot/plugins/jqplot.donutRenderer.js
postPlotDraw
function
// called within context of plot // create a canvas which we can draw on. // insert it before the eventCanvas, so eventCanvas will still capture events. function postPlotDraw() { // Memory Leaks patch if (this.plugins.donutRenderer && this.plugins.donutRenderer.highlightCanvas) { ...
18,727
2b0efc931fd8721f08be344ceece6924
swh:1:cnt:4ea82b30ccfdb6d09e7b821bb33c01f0a89dade7;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
d212fa7d55e8fe66990c129e7ec23c4f8cf4a394
pageview-api
analytics
web/static/jqplot/plugins/jqplot.donutRenderer.min.js
o
function
function o(){if(t>6.282+this.startAngle){t=6.282+this.startAngle;if(u>t){u=6.281+this.startAngle}}if(u>=t){return}x.beginPath();x.fillStyle=p;x.strokeStyle=p;x.arc(0,0,n,u,t,false);x.lineTo(v*Math.cos(t),v*Math.sin(t));x.arc(0,0,v,t,u,true);x.closePath();if(w){x.fill()}else{x.stroke()}}
18,728
797d203e47a3b9a4c2721e2960401c88
swh:1:cnt:4ea82b30ccfdb6d09e7b821bb33c01f0a89dade7;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
d212fa7d55e8fe66990c129e7ec23c4f8cf4a394
pageview-api
analytics
web/static/jqplot/plugins/jqplot.donutRenderer.min.js
d
function
function d(r,q,p){var o=r.series[q];var n=r.plugins.donutRenderer.highlightCanvas;n._ctx.clearRect(0,0,n._ctx.canvas.width,n._ctx.canvas.height);o._highlightedPoint=p;r.plugins.donutRenderer.highlightedSeriesIndex=q;o.renderer.drawSlice.call(o,n._ctx,o._sliceAngles[p][0],o._sliceAngles[p][1],o.highlightColors[p],false)...
18,729
d5045ca82acf82be8415f3498f6bfdf8
swh:1:cnt:4ea82b30ccfdb6d09e7b821bb33c01f0a89dade7;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
d212fa7d55e8fe66990c129e7ec23c4f8cf4a394
pageview-api
analytics
web/static/jqplot/plugins/jqplot.donutRenderer.min.js
c
function
function c(r,q,o){o=o||{};o.axesDefaults=o.axesDefaults||{};o.legend=o.legend||{};o.seriesDefaults=o.seriesDefaults||{};var n=false;if(o.seriesDefaults.renderer==e.jqplot.DonutRenderer){n=true}else{if(o.series){for(var p=0;p<o.series.length;p++){if(o.series[p].renderer==e.jqplot.DonutRenderer){n=true}}}}if(n){o.axesDef...
18,730
4d93dd833eebb7ffb08030ed0d6e374e
swh:1:cnt:4ea82b30ccfdb6d09e7b821bb33c01f0a89dade7;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
d212fa7d55e8fe66990c129e7ec23c4f8cf4a394
pageview-api
analytics
web/static/jqplot/plugins/jqplot.donutRenderer.min.js
g
function
function g(r,q,o){for(var p=1;p<this.series.length;p++){if(!this.series[p]._previousSeries.length){for(var n=0;n<p;n++){if(this.series[p].renderer.constructor==e.jqplot.DonutRenderer&&this.series[n].renderer.constructor==e.jqplot.DonutRenderer){this.series[p]._previousSeries.push(this.series[n])}}}}for(p=0;p<this.serie...
18,731
0383377c2fc102487a875da858ac7c5e
swh:1:cnt:4ea82b30ccfdb6d09e7b821bb33c01f0a89dade7;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
d212fa7d55e8fe66990c129e7ec23c4f8cf4a394
pageview-api
analytics
web/static/jqplot/plugins/jqplot.donutRenderer.min.js
l
function
function l(n){for(var o=0;o<this.series.length;o++){this.series[o].seriesColors=this.seriesColors;this.series[o].colorGenerator=e.jqplot.colorGenerator}}
18,732
51c99b617a06c63307f1e37ba0c812c3
swh:1:cnt:4ea82b30ccfdb6d09e7b821bb33c01f0a89dade7;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
d212fa7d55e8fe66990c129e7ec23c4f8cf4a394
pageview-api
analytics
web/static/jqplot/plugins/jqplot.donutRenderer.min.js
i
function
function i(p){var n=p.plugins.donutRenderer.highlightCanvas;n._ctx.clearRect(0,0,n._ctx.canvas.width,n._ctx.canvas.height);for(var o=0;o<p.series.length;o++){p.series[o]._highlightedPoint=null}p.plugins.donutRenderer.highlightedSeriesIndex=null;p.target.trigger("jqplotDataUnhighlight")}
18,733
21f49ded939eb5edf5b7d2838cb3c800
swh:1:cnt:4ea82b30ccfdb6d09e7b821bb33c01f0a89dade7;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
d212fa7d55e8fe66990c129e7ec23c4f8cf4a394
pageview-api
analytics
web/static/jqplot/plugins/jqplot.donutRenderer.min.js
b
function
function b(r,q,u,t,s){if(t){var p=[t.seriesIndex,t.pointIndex,t.data];var o=jQuery.Event("jqplotDataMouseOver");o.pageX=r.pageX;o.pageY=r.pageY;s.target.trigger(o,p);if(s.series[p[0]].highlightMouseOver&&!(p[0]==s.plugins.donutRenderer.highlightedSeriesIndex&&p[1]==s.series[p[0]]._highlightedPoint)){var n=jQuery.Event(...
18,734
62ef358941009f1b3c3b3c09f6412af4
swh:1:cnt:4ea82b30ccfdb6d09e7b821bb33c01f0a89dade7;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
d212fa7d55e8fe66990c129e7ec23c4f8cf4a394
pageview-api
analytics
web/static/jqplot/plugins/jqplot.donutRenderer.min.js
a
function
function a(q,p,t,s,r){if(s){var o=[s.seriesIndex,s.pointIndex,s.data];if(r.series[o[0]].highlightMouseDown&&!(o[0]==r.plugins.donutRenderer.highlightedSeriesIndex&&o[1]==r.series[o[0]]._highlightedPoint)){var n=jQuery.Event("jqplotDataHighlight");n.pageX=q.pageX;n.pageY=q.pageY;r.target.trigger(n,o);d(r,o[0],o[1])}}els...
18,735
733cd522b9c5dadda745cfce9f4cd9e2
swh:1:cnt:4ea82b30ccfdb6d09e7b821bb33c01f0a89dade7;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
d212fa7d55e8fe66990c129e7ec23c4f8cf4a394
pageview-api
analytics
web/static/jqplot/plugins/jqplot.donutRenderer.min.js
j
function
function j(p,o,s,r,q){var n=q.plugins.donutRenderer.highlightedSeriesIndex;if(n!=null&&q.series[n].highlightMouseDown){i(q)}}
18,736
9321ac143ff6cf776496736c2f207ed4
swh:1:cnt:4ea82b30ccfdb6d09e7b821bb33c01f0a89dade7;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
d212fa7d55e8fe66990c129e7ec23c4f8cf4a394
pageview-api
analytics
web/static/jqplot/plugins/jqplot.donutRenderer.min.js
f
function
function f(q,p,t,s,r){if(s){var o=[s.seriesIndex,s.pointIndex,s.data];var n=jQuery.Event("jqplotDataClick");n.pageX=q.pageX;n.pageY=q.pageY;r.target.trigger(n,o)}}
18,737
3b1ca14cd788b8f191f1bcef8fccbf2b
swh:1:cnt:4ea82b30ccfdb6d09e7b821bb33c01f0a89dade7;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
d212fa7d55e8fe66990c129e7ec23c4f8cf4a394
pageview-api
analytics
web/static/jqplot/plugins/jqplot.donutRenderer.min.js
h
function
function h(){if(this.plugins.donutRenderer&&this.plugins.donutRenderer.highlightCanvas){this.plugins.donutRenderer.highlightCanvas.resetCanvas();this.plugins.donutRenderer.highlightCanvas=null}this.plugins.donutRenderer={highlightedSeriesIndex:null};this.plugins.donutRenderer.highlightCanvas=new e.jqplot.GenericCanvas(...
18,738
efb975529aa18dda05a0aec5c0db4db9
swh:1:cnt:4ea82b30ccfdb6d09e7b821bb33c01f0a89dade7;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
d212fa7d55e8fe66990c129e7ec23c4f8cf4a394
pageview-api
analytics
web/static/jqplot/plugins/jqplot.donutRenderer.min.js
m
function
function m(r,q,u,t,s){if(t){var p=[t.seriesIndex,t.pointIndex,t.data];var n=s.plugins.donutRenderer.highlightedSeriesIndex;if(n!=null&&s.series[n].highlightMouseDown){i(s)}var o=jQuery.Event("jqplotDataRightClick");o.pageX=r.pageX;o.pageY=r.pageY;s.target.trigger(o,p)}}
18,739
afad509092821162b479825d5178b928
swh:1:cnt:5ae7d429c620164235db266dac995415ea7df579;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=56-62/
3e4a66e3e2dce9ea46828ea5f5810b6301df5db5
pageview-api
analytics
web/static/jqplot/plugins/jqplot.dragable.js
DragCanvas
function
function DragCanvas() { $.jqplot.GenericCanvas.call(this); this.isDragging = false; this.isOver = false; this._neighbor; this._cursors = []; }
18,740
c273f7576ef25ead27f70f685c913f9a
swh:1:cnt:5ae7d429c620164235db266dac995415ea7df579;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=127-175/
3e4a66e3e2dce9ea46828ea5f5810b6301df5db5
pageview-api
analytics
web/static/jqplot/plugins/jqplot.dragable.js
handleMove
function
function handleMove(ev, gridpos, datapos, neighbor, plot) { if (plot.plugins.dragable.dragCanvas.isDragging) { var dc = plot.plugins.dragable.dragCanvas; var dp = dc._neighbor; var s = plot.series[dp.seriesIndex]; var drag = s.plugins.dragable; var gd ...
18,741
f4842a77c9ac699f4b1f3cad53fcf50f
swh:1:cnt:5ae7d429c620164235db266dac995415ea7df579;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=177-198/
3e4a66e3e2dce9ea46828ea5f5810b6301df5db5
pageview-api
analytics
web/static/jqplot/plugins/jqplot.dragable.js
handleDown
function
function handleDown(ev, gridpos, datapos, neighbor, plot) { var dc = plot.plugins.dragable.dragCanvas; dc._cursors.push(ev.target.style.cursor); if (neighbor != null) { var s = plot.series[neighbor.seriesIndex]; var drag = s.plugins.dragable; if (s.isDragable ...
18,742
d76c64a0b211bb07cf5df82daf6f8413
swh:1:cnt:5ae7d429c620164235db266dac995415ea7df579;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=103-125/
3e4a66e3e2dce9ea46828ea5f5810b6301df5db5
pageview-api
analytics
web/static/jqplot/plugins/jqplot.dragable.js
initDragPoint
function
function initDragPoint(plot, neighbor) { var s = plot.series[neighbor.seriesIndex]; var drag = s.plugins.dragable; // first, init the mark renderer for the dragged point var smr = s.markerRenderer; var mr = drag.markerRenderer; mr.style = smr.style; mr.li...
18,743
8e1d34f561212297a5946e8d53af05db
swh:1:cnt:5ae7d429c620164235db266dac995415ea7df579;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=200-223/
3e4a66e3e2dce9ea46828ea5f5810b6301df5db5
pageview-api
analytics
web/static/jqplot/plugins/jqplot.dragable.js
handleUp
function
function handleUp(ev, gridpos, datapos, neighbor, plot) { if (plot.plugins.dragable.dragCanvas.isDragging) { var dc = plot.plugins.dragable.dragCanvas; // clear the canvas var ctx = dc._ctx; ctx.clearRect(0, 0, ctx.canvas.width, ctx.canvas.height); dc....
18,744
40ee719e861643322688dff0a7031f6b
swh:1:cnt:75dba07d61dfd53f19b1705d6998ccfa3d93ac67;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
5df54821c9061f3d5095c65a5bc5f2b4bdbfabd1
pageview-api
analytics
web/static/jqplot/plugins/jqplot.dragable.min.js
b
function
function b(){d.jqplot.GenericCanvas.call(this);this.isDragging=false;this.isOver=false;this._neighbor;this._cursors=[]}
18,745
2f42a02f1b25c2640c0d6a49cf629c1d
swh:1:cnt:75dba07d61dfd53f19b1705d6998ccfa3d93ac67;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
5df54821c9061f3d5095c65a5bc5f2b4bdbfabd1
pageview-api
analytics
web/static/jqplot/plugins/jqplot.dragable.min.js
c
function
function c(k,i,g,l,j){var m=j.plugins.dragable.dragCanvas;m._cursors.push(k.target.style.cursor);if(l!=null){var o=j.series[l.seriesIndex];var h=o.plugins.dragable;if(o.isDragable&&!m.isDragging){m._neighbor=l;m.isDragging=true;f(j,l);h.markerRenderer.draw(o.gridData[l.pointIndex][0],o.gridData[l.pointIndex][1],m._ctx)...
18,746
a01ce596390b6f245e423fa9bd3d4a3e
swh:1:cnt:75dba07d61dfd53f19b1705d6998ccfa3d93ac67;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
5df54821c9061f3d5095c65a5bc5f2b4bdbfabd1
pageview-api
analytics
web/static/jqplot/plugins/jqplot.dragable.min.js
e
function
function e(o,l,h,t,m){if(m.plugins.dragable.dragCanvas.isDragging){var u=m.plugins.dragable.dragCanvas;var i=u._neighbor;var w=m.series[i.seriesIndex];var k=w.plugins.dragable;var r=w.gridData;var p=(k.constrainTo=="y")?i.gridData[0]:l.x;var n=(k.constrainTo=="x")?i.gridData[1]:l.y;var g=w._xaxis.series_p2u(p);var q=w....
18,747
5637fed888fc084ec3244fb437fe36e9
swh:1:cnt:75dba07d61dfd53f19b1705d6998ccfa3d93ac67;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
5df54821c9061f3d5095c65a5bc5f2b4bdbfabd1
pageview-api
analytics
web/static/jqplot/plugins/jqplot.dragable.min.js
a
function
function a(m,j,g,o,k){if(k.plugins.dragable.dragCanvas.isDragging){var p=k.plugins.dragable.dragCanvas;var q=p._ctx;q.clearRect(0,0,q.canvas.width,q.canvas.height);p.isDragging=false;var h=p._neighbor;var r=k.series[h.seriesIndex];var i=r.plugins.dragable;var n=(i.constrainTo=="y")?h.data[0]:g[r.xaxis];var l=(i.constra...
18,748
362ffe9969f36adeef202c8aef05ad80
swh:1:cnt:75dba07d61dfd53f19b1705d6998ccfa3d93ac67;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
5df54821c9061f3d5095c65a5bc5f2b4bdbfabd1
pageview-api
analytics
web/static/jqplot/plugins/jqplot.dragable.min.js
f
function
function f(n,p){var q=n.series[p.seriesIndex];var m=q.plugins.dragable;var h=q.markerRenderer;var i=m.markerRenderer;i.style=h.style;i.lineWidth=h.lineWidth+2.5;i.size=h.size+5;if(!m.color){var l=d.jqplot.getColorComponents(h.color);var o=[l[0],l[1],l[2]];var k=(l[3]>=0.6)?l[3]*0.6:l[3]*(2-l[3]);m.color="rgba("+o[0]+",...
18,749
078db90fac1fb02269ed667339c6feed
swh:1:cnt:401e1bd6855cb90672371060b40a8a347b0f88b9;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=271-287/
0eeef3554e718bbb8c8909176cd99a7186619cbe
pageview-api
analytics
web/static/jqplot/plugins/jqplot.funnelRenderer.js
doDraw
function
function doDraw () { ctx.beginPath(); ctx.fillStyle = color; ctx.strokeStyle = color; ctx.lineWidth = lineWidth; ctx.moveTo(vertices[0][0], vertices[0][1]); for (var i=1; i<4; i++) { ctx.lineTo(vertices[i][0], vertices[i][1]); ...
18,750
097d72789d112293731fa587ac606742
swh:1:cnt:401e1bd6855cb90672371060b40a8a347b0f88b9;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=403-409/
0eeef3554e718bbb8c8909176cd99a7186619cbe
pageview-api
analytics
web/static/jqplot/plugins/jqplot.funnelRenderer.js
findright
function
function findright (l) { var m = (p1[1] - p3[1])/(p1[0] - p3[0]); var b = p1[1] - m*p1[0]; var y = l + p1[1]; return [(y - b)/m, y]; }
18,751
2b0ec1957df8ebb632893158d3d499cc
swh:1:cnt:401e1bd6855cb90672371060b40a8a347b0f88b9;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=394-401/
0eeef3554e718bbb8c8909176cd99a7186619cbe
pageview-api
analytics
web/static/jqplot/plugins/jqplot.funnelRenderer.js
findleft
function
// equations of right and left sides, returns x, y values given height of section (y value) function findleft (l) { var m = (p0[1] - p2[1])/(p0[0] - p2[0]); var b = p0[1] - m*p0[0]; var y = l + p0[1]; return [(y - b)/m, y]; }
18,752
d197ec45127fdfb97b5816a932b2c65d
swh:1:cnt:401e1bd6855cb90672371060b40a8a347b0f88b9;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=794-805/
0eeef3554e718bbb8c8909176cd99a7186619cbe
pageview-api
analytics
web/static/jqplot/plugins/jqplot.funnelRenderer.js
postInit
function
function postInit(target, data, options) { // if multiple series, add a reference to the previous one so that // funnel rings can nest. for (var i=0; i<this.series.length; i++) { if (this.series[i].renderer.constructor == $.jqplot.FunnelRenderer) { // don't allow mous...
18,753
99139c5f66240e9439024281294b85c7
swh:1:cnt:401e1bd6855cb90672371060b40a8a347b0f88b9;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=655-792/
0eeef3554e718bbb8c8909176cd99a7186619cbe
pageview-api
analytics
web/static/jqplot/plugins/jqplot.funnelRenderer.js
preInit
function
// $.jqplot.FunnelLegendRenderer.prototype.pack = function(offsets) { // if (this.show) { // // fake a grid for positioning // var grid = {_top:offsets.top, _left:offsets.left, _right:offsets.right, _bottom:this._plotDimensions.height - offsets.bottom}; // if (this.pl...
18,754
5bb1927f17ea1aaacdd681542ac56154
swh:1:cnt:401e1bd6855cb90672371060b40a8a347b0f88b9;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=807-813/
0eeef3554e718bbb8c8909176cd99a7186619cbe
pageview-api
analytics
web/static/jqplot/plugins/jqplot.funnelRenderer.js
postParseOptions
function
// called with scope of plot function postParseOptions(options) { for (var i=0; i<this.series.length; i++) { this.series[i].seriesColors = this.seriesColors; this.series[i].colorGenerator = $.jqplot.colorGenerator; } }
18,755
563369e0fae9a52919894230388568f1
swh:1:cnt:401e1bd6855cb90672371060b40a8a347b0f88b9;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=815-822/
0eeef3554e718bbb8c8909176cd99a7186619cbe
pageview-api
analytics
web/static/jqplot/plugins/jqplot.funnelRenderer.js
highlight
function
function highlight (plot, sidx, pidx) { var s = plot.series[sidx]; var canvas = plot.plugins.funnelRenderer.highlightCanvas; canvas._ctx.clearRect(0,0,canvas._ctx.canvas.width, canvas._ctx.canvas.height); s._highlightedPoint = pidx; plot.plugins.funnelRenderer.highlightedSeriesIn...
18,756
34dc89d8170f872b306180340260c984
swh:1:cnt:401e1bd6855cb90672371060b40a8a347b0f88b9;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=824-832/
0eeef3554e718bbb8c8909176cd99a7186619cbe
pageview-api
analytics
web/static/jqplot/plugins/jqplot.funnelRenderer.js
unhighlight
function
function unhighlight (plot) { var canvas = plot.plugins.funnelRenderer.highlightCanvas; canvas._ctx.clearRect(0,0, canvas._ctx.canvas.width, canvas._ctx.canvas.height); for (var i=0; i<plot.series.length; i++) { plot.series[i]._highlightedPoint = null; } plot.plugins....
18,757
ab14eee9694e1ff20414d1b826ed4f0a
swh:1:cnt:401e1bd6855cb90672371060b40a8a347b0f88b9;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=834-852/
0eeef3554e718bbb8c8909176cd99a7186619cbe
pageview-api
analytics
web/static/jqplot/plugins/jqplot.funnelRenderer.js
handleMove
function
function handleMove(ev, gridpos, datapos, neighbor, plot) { if (neighbor) { var ins = [neighbor.seriesIndex, neighbor.pointIndex, neighbor.data]; var evt1 = jQuery.Event('jqplotDataMouseOver'); evt1.pageX = ev.pageX; evt1.pageY = ev.pageY; plot.target....
18,758
1237b83bf7ace244671ade4edf2912c4
swh:1:cnt:401e1bd6855cb90672371060b40a8a347b0f88b9;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=854-868/
0eeef3554e718bbb8c8909176cd99a7186619cbe
pageview-api
analytics
web/static/jqplot/plugins/jqplot.funnelRenderer.js
handleMouseDown
function
function handleMouseDown(ev, gridpos, datapos, neighbor, plot) { if (neighbor) { var ins = [neighbor.seriesIndex, neighbor.pointIndex, neighbor.data]; if (plot.series[ins[0]].highlightMouseDown && !(ins[0] == plot.plugins.funnelRenderer.highlightedSeriesIndex && ins[1] == plot.series[ins...
18,759
42995729291351d55d44629b6f63205c
swh:1:cnt:401e1bd6855cb90672371060b40a8a347b0f88b9;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=901-925/
0eeef3554e718bbb8c8909176cd99a7186619cbe
pageview-api
analytics
web/static/jqplot/plugins/jqplot.funnelRenderer.js
postPlotDraw
function
// called within context of plot // create a canvas which we can draw on. // insert it before the eventCanvas, so eventCanvas will still capture events. function postPlotDraw() { // Memory Leaks patch if (this.plugins.funnelRenderer && this.plugins.funnelRenderer.highlightCanvas) { ...
18,760
91c8def2a2f1567292249c26685f30f6
swh:1:cnt:401e1bd6855cb90672371060b40a8a347b0f88b9;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=887-899/
0eeef3554e718bbb8c8909176cd99a7186619cbe
pageview-api
analytics
web/static/jqplot/plugins/jqplot.funnelRenderer.js
handleRightClick
function
function handleRightClick(ev, gridpos, datapos, neighbor, plot) { if (neighbor) { var ins = [neighbor.seriesIndex, neighbor.pointIndex, neighbor.data]; var idx = plot.plugins.funnelRenderer.highlightedSeriesIndex; if (idx != null && plot.series[idx].highlightMouseDown) { ...
18,761
0fb2009d5737a13037ed3f17e697db7a
swh:1:cnt:401e1bd6855cb90672371060b40a8a347b0f88b9;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=877-885/
0eeef3554e718bbb8c8909176cd99a7186619cbe
pageview-api
analytics
web/static/jqplot/plugins/jqplot.funnelRenderer.js
handleClick
function
function handleClick(ev, gridpos, datapos, neighbor, plot) { if (neighbor) { var ins = [neighbor.seriesIndex, neighbor.pointIndex, neighbor.data]; var evt = jQuery.Event('jqplotDataClick'); evt.pageX = ev.pageX; evt.pageY = ev.pageY; plot.target.trigge...
18,762
41126d7013f1c6900ed2e11d32cbea8d
swh:1:cnt:401e1bd6855cb90672371060b40a8a347b0f88b9;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=870-875/
0eeef3554e718bbb8c8909176cd99a7186619cbe
pageview-api
analytics
web/static/jqplot/plugins/jqplot.funnelRenderer.js
handleMouseUp
function
function handleMouseUp(ev, gridpos, datapos, neighbor, plot) { var idx = plot.plugins.funnelRenderer.highlightedSeriesIndex; if (idx != null && plot.series[idx].highlightMouseDown) { unhighlight(plot); } }
18,763
6eb5192c6b5803823e3a19471a449048
swh:1:cnt:b18a31e6c9a665e9c6c82abdca6ec076f761424c;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
ae97ccacfc6a0480c067740949770e35d17de882
pageview-api
analytics
web/static/jqplot/plugins/jqplot.funnelRenderer.min.js
q
function
function q(){n.beginPath();n.fillStyle=o;n.strokeStyle=o;n.lineWidth=m;n.moveTo(p[0][0],p[0][1]);for(var u=1;u<4;u++){n.lineTo(p[u][0],p[u][1])}n.closePath();if(t){n.fill()}else{n.stroke()}}
18,764
e4365ffbc508a589fb0a644f1863b9e5
swh:1:cnt:b18a31e6c9a665e9c6c82abdca6ec076f761424c;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
ae97ccacfc6a0480c067740949770e35d17de882
pageview-api
analytics
web/static/jqplot/plugins/jqplot.funnelRenderer.min.js
D
function
function D(ag){var x=(ad[1]-ab[1])/(ad[0]-ab[0]);var v=ad[1]-x*ad[0];var ah=ag+ad[1];return[(ah-v)/x,ah]}
18,765
49815012bbac2b75905cc13f868150e3
swh:1:cnt:b18a31e6c9a665e9c6c82abdca6ec076f761424c;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
ae97ccacfc6a0480c067740949770e35d17de882
pageview-api
analytics
web/static/jqplot/plugins/jqplot.funnelRenderer.min.js
V
function
function V(ag){var x=(ae[1]-ac[1])/(ae[0]-ac[0]);var v=ae[1]-x*ae[0];var ah=ag+ae[1];return[(ah-v)/x,ah]}
18,766
4c0c35345b503fbd09b331e82a155fb3
swh:1:cnt:b18a31e6c9a665e9c6c82abdca6ec076f761424c;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
ae97ccacfc6a0480c067740949770e35d17de882
pageview-api
analytics
web/static/jqplot/plugins/jqplot.funnelRenderer.min.js
g
function
function g(p,o,m){for(var n=0;n<this.series.length;n++){if(this.series[n].renderer.constructor==e.jqplot.FunnelRenderer){if(this.series[n].highlightMouseOver){this.series[n].highlightMouseDown=false}}}}
18,767
5efeffff5ae3eef850cf22f988e17320
swh:1:cnt:b18a31e6c9a665e9c6c82abdca6ec076f761424c;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
ae97ccacfc6a0480c067740949770e35d17de882
pageview-api
analytics
web/static/jqplot/plugins/jqplot.funnelRenderer.min.js
c
function
function c(q,p,n){n=n||{};n.axesDefaults=n.axesDefaults||{};n.legend=n.legend||{};n.seriesDefaults=n.seriesDefaults||{};var m=false;if(n.seriesDefaults.renderer==e.jqplot.FunnelRenderer){m=true}else{if(n.series){for(var o=0;o<n.series.length;o++){if(n.series[o].renderer==e.jqplot.FunnelRenderer){m=true}}}}if(m){n.axesD...
18,768
06c5998da7a11a26bbc8811ae18bc228
swh:1:cnt:b18a31e6c9a665e9c6c82abdca6ec076f761424c;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
ae97ccacfc6a0480c067740949770e35d17de882
pageview-api
analytics
web/static/jqplot/plugins/jqplot.funnelRenderer.min.js
k
function
function k(m){for(var n=0;n<this.series.length;n++){this.series[n].seriesColors=this.seriesColors;this.series[n].colorGenerator=e.jqplot.colorGenerator}}
18,769
3383a802453eef3ece641b037aca433a
swh:1:cnt:b18a31e6c9a665e9c6c82abdca6ec076f761424c;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
ae97ccacfc6a0480c067740949770e35d17de882
pageview-api
analytics
web/static/jqplot/plugins/jqplot.funnelRenderer.min.js
d
function
function d(q,p,o){var n=q.series[p];var m=q.plugins.funnelRenderer.highlightCanvas;m._ctx.clearRect(0,0,m._ctx.canvas.width,m._ctx.canvas.height);n._highlightedPoint=o;q.plugins.funnelRenderer.highlightedSeriesIndex=p;n.renderer.drawSection.call(n,m._ctx,n._vertices[o],n.highlightColors[o],false)}
18,770
0e9311ec1e2c6483d491c2ae7942dbf0
swh:1:cnt:b18a31e6c9a665e9c6c82abdca6ec076f761424c;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
ae97ccacfc6a0480c067740949770e35d17de882
pageview-api
analytics
web/static/jqplot/plugins/jqplot.funnelRenderer.min.js
i
function
function i(o){var m=o.plugins.funnelRenderer.highlightCanvas;m._ctx.clearRect(0,0,m._ctx.canvas.width,m._ctx.canvas.height);for(var n=0;n<o.series.length;n++){o.series[n]._highlightedPoint=null}o.plugins.funnelRenderer.highlightedSeriesIndex=null;o.target.trigger("jqplotDataUnhighlight")}
18,771
7ac85ea624997d94870ed4bbb61a9fed
swh:1:cnt:b18a31e6c9a665e9c6c82abdca6ec076f761424c;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
ae97ccacfc6a0480c067740949770e35d17de882
pageview-api
analytics
web/static/jqplot/plugins/jqplot.funnelRenderer.min.js
a
function
function a(q,p,t,s,r){if(s){var o=[s.seriesIndex,s.pointIndex,s.data];var n=jQuery.Event("jqplotDataMouseOver");n.pageX=q.pageX;n.pageY=q.pageY;r.target.trigger(n,o);if(r.series[o[0]].highlightMouseOver&&!(o[0]==r.plugins.funnelRenderer.highlightedSeriesIndex&&o[1]==r.series[o[0]]._highlightedPoint)){var m=jQuery.Event...
18,772
d3b480b8706d15622eb8d55bb31f809e
swh:1:cnt:b18a31e6c9a665e9c6c82abdca6ec076f761424c;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
ae97ccacfc6a0480c067740949770e35d17de882
pageview-api
analytics
web/static/jqplot/plugins/jqplot.funnelRenderer.min.js
b
function
function b(p,o,s,r,q){if(r){var n=[r.seriesIndex,r.pointIndex,r.data];if(q.series[n[0]].highlightMouseDown&&!(n[0]==q.plugins.funnelRenderer.highlightedSeriesIndex&&n[1]==q.series[n[0]]._highlightedPoint)){var m=jQuery.Event("jqplotDataHighlight");m.pageX=p.pageX;m.pageY=p.pageY;q.target.trigger(m,n);d(q,n[0],n[1])}}el...
18,773
475a524cffa644b20dbd6862e410d709
swh:1:cnt:b18a31e6c9a665e9c6c82abdca6ec076f761424c;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
ae97ccacfc6a0480c067740949770e35d17de882
pageview-api
analytics
web/static/jqplot/plugins/jqplot.funnelRenderer.min.js
j
function
function j(o,n,r,q,p){var m=p.plugins.funnelRenderer.highlightedSeriesIndex;if(m!=null&&p.series[m].highlightMouseDown){i(p)}}
18,774
9d5e9254c87142cac109d6ac43474894
swh:1:cnt:b18a31e6c9a665e9c6c82abdca6ec076f761424c;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
ae97ccacfc6a0480c067740949770e35d17de882
pageview-api
analytics
web/static/jqplot/plugins/jqplot.funnelRenderer.min.js
h
function
function h(){if(this.plugins.funnelRenderer&&this.plugins.funnelRenderer.highlightCanvas){this.plugins.funnelRenderer.highlightCanvas.resetCanvas();this.plugins.funnelRenderer.highlightCanvas=null}this.plugins.funnelRenderer={};this.plugins.funnelRenderer.highlightCanvas=new e.jqplot.GenericCanvas();var n=e(this.target...
18,775
97abbe41635f0b22d3405a01f935796a
swh:1:cnt:b18a31e6c9a665e9c6c82abdca6ec076f761424c;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
ae97ccacfc6a0480c067740949770e35d17de882
pageview-api
analytics
web/static/jqplot/plugins/jqplot.funnelRenderer.min.js
l
function
function l(q,p,t,s,r){if(s){var o=[s.seriesIndex,s.pointIndex,s.data];var m=r.plugins.funnelRenderer.highlightedSeriesIndex;if(m!=null&&r.series[m].highlightMouseDown){i(r)}var n=jQuery.Event("jqplotDataRightClick");n.pageX=q.pageX;n.pageY=q.pageY;r.target.trigger(n,o)}}
18,776
91bf8effd7600ebb12f70e5ea5217c80
swh:1:cnt:b18a31e6c9a665e9c6c82abdca6ec076f761424c;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
ae97ccacfc6a0480c067740949770e35d17de882
pageview-api
analytics
web/static/jqplot/plugins/jqplot.funnelRenderer.min.js
f
function
function f(p,o,s,r,q){if(r){var n=[r.seriesIndex,r.pointIndex,r.data];var m=jQuery.Event("jqplotDataClick");m.pageX=p.pageX;m.pageY=p.pageY;q.target.trigger(m,n)}}
18,777
7922acbb7f8439878a41009aaece8751
swh:1:cnt:d0b06e893cb52c432c8d3ef3070dcb63942881ba;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=212-226/
9111b1b09736936135923cb3fcce8b6382c82d22
pageview-api
analytics
web/static/jqplot/plugins/jqplot.highlighter.js
draw
function
function draw(plot, neighbor) { var hl = plot.plugins.highlighter; var s = plot.series[neighbor.seriesIndex]; var smr = s.markerRenderer; var mr = hl.markerRenderer; mr.style = smr.style; mr.lineWidth = smr.lineWidth + hl.lineWidthAdjust; mr.size = smr.size + hl.s...
18,778
8d90bff5aa61e8faed93720b9ba12b99
swh:1:cnt:d0b06e893cb52c432c8d3ef3070dcb63942881ba;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=398-453/
9111b1b09736936135923cb3fcce8b6382c82d22
pageview-api
analytics
web/static/jqplot/plugins/jqplot.highlighter.js
handleMove
function
function handleMove(ev, gridpos, datapos, neighbor, plot) { var hl = plot.plugins.highlighter; var c = plot.plugins.cursor; if (hl.show) { if (neighbor == null && hl.isHighlighting) { var ctx = hl.highlightCanvas._ctx; ctx.clearRect(0, 0, ctx.canvas.wi...
18,779
64aaea0bf1726dfdf2530f51c5acaf20
swh:1:cnt:d0b06e893cb52c432c8d3ef3070dcb63942881ba;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=228-396/
9111b1b09736936135923cb3fcce8b6382c82d22
pageview-api
analytics
web/static/jqplot/plugins/jqplot.highlighter.js
showTooltip
function
function showTooltip(plot, series, neighbor) { // neighbor looks like: {seriesIndex: i, pointIndex:j, gridData:p, data:s.data[j]} // gridData should be x,y pixel coords on the grid. // add the plot._gridPadding to that to get x,y in the target. var hl = plot.plugins.highlighter; ...
18,780
fcc48561df2d2713b062f2c8075f31f2
swh:1:cnt:f256e25f98688e11850f69b9c9e1d031569749e1;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
1f4c1a58ae1b1f918775b7a0cfc24e6ca5bdfbfe
pageview-api
analytics
web/static/jqplot/plugins/jqplot.highlighter.min.js
a
function
function a(m,o){var j=m.plugins.highlighter;var p=m.series[o.seriesIndex];var h=p.markerRenderer;var i=j.markerRenderer;i.style=h.style;i.lineWidth=h.lineWidth+j.lineWidthAdjust;i.size=h.size+j.sizeAdjust;var l=d.jqplot.getColorComponents(h.color);var n=[l[0],l[1],l[2]];var k=(l[3]>=0.6)?l[3]*0.6:l[3]*(2-l[3]);i.color=...
18,781
f81fd2c741f8b59af9764c9996cb9f21
swh:1:cnt:f256e25f98688e11850f69b9c9e1d031569749e1;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
1f4c1a58ae1b1f918775b7a0cfc24e6ca5bdfbfe
pageview-api
analytics
web/static/jqplot/plugins/jqplot.highlighter.min.js
f
function
function f(k,j,n,m,l){var h=l.plugins.highlighter;var o=l.plugins.cursor;if(h.show){if(m==null&&h.isHighlighting){var i=h.highlightCanvas._ctx;i.clearRect(0,0,i.canvas.width,i.canvas.height);if(h.fadeTooltip){h._tooltipElem.fadeOut(h.tooltipFadeSpeed)}else{h._tooltipElem.hide()}if(h.bringSeriesToFront){l.restorePreviou...
18,782
cbc344044c0250a909b522cf22fa329f
swh:1:cnt:f256e25f98688e11850f69b9c9e1d031569749e1;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
1f4c1a58ae1b1f918775b7a0cfc24e6ca5bdfbfe
pageview-api
analytics
web/static/jqplot/plugins/jqplot.highlighter.min.js
g
function
function g(A,q,m){var k=A.plugins.highlighter;var D=k._tooltipElem;var r=q.highlighter||{};var t=d.extend(true,{},k,r);if(t.useAxesFormatters){var w=q._xaxis._ticks[0].formatter;var h=q._yaxis._ticks[0].formatter;var E=q._xaxis._ticks[0].formatString;var s=q._yaxis._ticks[0].formatString;var z;var u=w(E,m.data[0]);var ...
18,783
457873c379bf88b32452bd2c3c75320b
swh:1:cnt:46fb942baa895b6efb78a6004f6cd9d14f165c87;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=164-167/
0721ddde2c68541cd6f5eaa0263b6fdc301703f3
pageview-api
analytics
web/static/jqplot/plugins/jqplot.json2.js
f
function
function f(n) { // Format integers to have at least two digits. return n < 10 ? '0' + n : n; }
18,784
78247646e3dfd4f9ba1e48b110343a03
swh:1:cnt:46fb942baa895b6efb78a6004f6cd9d14f165c87;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=406-425/
0721ddde2c68541cd6f5eaa0263b6fdc301703f3
pageview-api
analytics
web/static/jqplot/plugins/jqplot.json2.js
walk
function
function walk(holder, key) { // The walk method is used to recursively walk the resulting structure so // that modifications can be made. var k, v, value = holder[key]; if (value && typeof value === 'object') { for (k in value) { if (Object.h...
18,785
7b175a454f6b27a2b2c3665d41714cbf
swh:1:cnt:46fb942baa895b6efb78a6004f6cd9d14f165c87;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=205-220/
0721ddde2c68541cd6f5eaa0263b6fdc301703f3
pageview-api
analytics
web/static/jqplot/plugins/jqplot.json2.js
quote
function
function quote(string) { // If the string contains no control characters, no quote characters, and no // backslash characters, then we can safely slap some quotes around it. // Otherwise we must also replace the offending characters with safe escape // sequences. escapable.lastIndex = 0; return escapa...
18,786
cc40376895427c60b47b824da7747d42
swh:1:cnt:46fb942baa895b6efb78a6004f6cd9d14f165c87;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=223-347/
0721ddde2c68541cd6f5eaa0263b6fdc301703f3
pageview-api
analytics
web/static/jqplot/plugins/jqplot.json2.js
str
function
function str(key, holder) { // Produce a string from holder[key]. var i, // The loop counter. k, // The member key. v, // The member value. length, mind = gap, partial, value = holder[key]; // If the value has ...
18,787
8e77a961c9c7d22d485d6a72bf811c6f
swh:1:cnt:83a74adb7fd169eec705c758f500113f4f5b07af;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
bfd9137d0dcf79a6d293419ecdf709d7ce650c80
pageview-api
analytics
web/static/jqplot/plugins/jqplot.json2.min.js
f
function
function f(n){return n<10?"0"+n:n}
18,788
b77b52f29b4958f2fea6607f00a86de7
swh:1:cnt:83a74adb7fd169eec705c758f500113f4f5b07af;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
bfd9137d0dcf79a6d293419ecdf709d7ce650c80
pageview-api
analytics
web/static/jqplot/plugins/jqplot.json2.min.js
str
function
function str(key,holder){var i,k,v,length,mind=gap,partial,value=holder[key];if(value&&typeof value==="object"&&typeof value.toJSON==="function"){value=value.toJSON(key)}if(typeof rep==="function"){value=rep.call(holder,key,value)}switch(typeof value){case"string":return quote(value);case"number":return isFinite(value)...
18,789
bdd91afb2aa078b44673e9a147bebb48
swh:1:cnt:83a74adb7fd169eec705c758f500113f4f5b07af;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
bfd9137d0dcf79a6d293419ecdf709d7ce650c80
pageview-api
analytics
web/static/jqplot/plugins/jqplot.json2.min.js
quote
function
function quote(string){escapable.lastIndex=0;return escapable.test(string)?'"'+string.replace(escapable,function(a){var c=meta[a];return typeof c==="string"?c:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+string+'"'}
18,790
080567e937cd9b898490ae647b9975db
swh:1:cnt:83a74adb7fd169eec705c758f500113f4f5b07af;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
bfd9137d0dcf79a6d293419ecdf709d7ce650c80
pageview-api
analytics
web/static/jqplot/plugins/jqplot.json2.min.js
walk
function
function walk(holder,key){var k,v,value=holder[key];if(value&&typeof value==="object"){for(k in value){if(Object.hasOwnProperty.call(value,k)){v=walk(value,k);if(v!==undefined){value[k]=v}else{delete value[k]}}}}return reviver.call(holder,key,value)}
18,791
add5702bc0269587b9b2765de4149f39
swh:1:cnt:1effb058f50a3cd0ef3ac6f9c324c02fc34e6972;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=169-172/
e9349d7ef95825f799cd7d9ff18a28e11cd2640e
pageview-api
analytics
web/static/jqplot/plugins/jqplot.logAxisRenderer.js
findCeil
function
function findCeil (val) { var order = Math.pow(10, Math.floor(Math.log(val)/Math.LN10)); return Math.ceil(val/order) * order; }
18,792
f49637b2bca9ff7a6bc64342f6076f1f
swh:1:cnt:1effb058f50a3cd0ef3ac6f9c324c02fc34e6972;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=174-177/
e9349d7ef95825f799cd7d9ff18a28e11cd2640e
pageview-api
analytics
web/static/jqplot/plugins/jqplot.logAxisRenderer.js
findFloor
function
function findFloor(val) { var order = Math.pow(10, Math.floor(Math.log(val)/Math.LN10)); return Math.floor(val/order) * order; }
18,793
89e972f1915ff301699717ef54426da7
swh:1:cnt:0f254dace4f2f312b21ddf4d6b3bbdfaa27029c2;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
94c7cc9bb8dcb642bd65018a4180be833fbaad72
pageview-api
analytics
web/static/jqplot/plugins/jqplot.logAxisRenderer.min.js
f
function
function f(j){var i=Math.pow(10,Math.floor(Math.log(j)/Math.LN10));return Math.ceil(j/i)*i}
18,794
a43cc5678acca84573dffeee674019fd
swh:1:cnt:0f254dace4f2f312b21ddf4d6b3bbdfaa27029c2;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
94c7cc9bb8dcb642bd65018a4180be833fbaad72
pageview-api
analytics
web/static/jqplot/plugins/jqplot.logAxisRenderer.min.js
x
function
function x(j){var i=Math.pow(10,Math.floor(Math.log(j)/Math.LN10));return Math.floor(j/i)*i}
18,795
826b85545ea79b98eefe720f8240082f
swh:1:cnt:9f1a76de2e5bc3230408921620b1e573b851a702;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=408-432/
a20f77d09a40a2c1eb52f98926bc33e9d48f988a
pageview-api
analytics
web/static/jqplot/plugins/jqplot.mekkoRenderer.js
preInit
function
// setup default renderers for axes and legend so user doesn't have to // called with scope of plot function preInit(target, data, options) { options = options || {}; options.axesDefaults = options.axesDefaults || {}; options.legend = options.legend || {}; options.seriesDefaults ...
18,796
ee8ffac3a63f5198fe1199f2f65f34f0
swh:1:cnt:e014e77e943983c74f69df187a0d8f773c102a5a;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=57-57/
f383603909bc60797c908f27019da48ae854fbd7
pageview-api
analytics
web/static/jqplot/plugins/jqplot.mekkoRenderer.min.js
a
function
function a(g,f,d){d=d||{};d.axesDefaults=d.axesDefaults||{};d.legend=d.legend||{};d.seriesDefaults=d.seriesDefaults||{};var c=false;if(d.seriesDefaults.renderer==b.jqplot.MekkoRenderer){c=true}else{if(d.series){for(var e=0;e<d.series.length;e++){if(d.series[e].renderer==b.jqplot.MekkoRenderer){c=true}}}}if(c){d.axesDef...
18,797
b1ecd2f0881b2486297e52d496cd2584
swh:1:cnt:1836cee9d118d6de3bff964f014b2079d496b6d9;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=303-312/
aaa81e8523861d04836a13de9edf51f49f967a1d
pageview-api
analytics
web/static/jqplot/plugins/jqplot.meterGaugeRenderer.js
getnmt
function
function getnmt(pos, interval, fact) { var temp; for (var i=pos.length-1; i>=0; i--) { temp = interval/(pos[i] * Math.pow(10, fact)); if (temp == 4 || temp == 5) { return temp - 1; } } return null; }
18,798
902d8553bcefe5caee6ef8e8e226b275
swh:1:cnt:1836cee9d118d6de3bff964f014b2079d496b6d9;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=978-1010/
aaa81e8523861d04836a13de9edf51f49f967a1d
pageview-api
analytics
web/static/jqplot/plugins/jqplot.meterGaugeRenderer.js
preInit
function
// setup default renderers for axes and legend so user doesn't have to // called with scope of plot function preInit(target, data, options) { // debugger options = options || {}; options.axesDefaults = options.axesDefaults || {}; options.legend = options.legend || {}; opt...
18,799
e2fa9f9d22a8d8cc61f247327b4d3c77
swh:1:cnt:1836cee9d118d6de3bff964f014b2079d496b6d9;origin=https://gerrit.wikimedia.org/r/analytics/pageview-api.git;lines=1012-1015/
aaa81e8523861d04836a13de9edf51f49f967a1d
pageview-api
analytics
web/static/jqplot/plugins/jqplot.meterGaugeRenderer.js
postParseOptions
function
// called with scope of plot function postParseOptions(options) { // }