{"ast":null,"code":"export function point(that, x, y) {\n that._context.bezierCurveTo((2 * that._x0 + that._x1) / 3, (2 * that._y0 + that._y1) / 3, (that._x0 + 2 * that._x1) / 3, (that._y0 + 2 * that._y1) / 3, (that._x0 + 4 * that._x1 + x) / 6, (that._y0 + 4 * that._y1 + y) / 6);\n}\nexport function Basis(context) {\n this._context = context;\n}\nBasis.prototype = {\n areaStart: function () {\n this._line = 0;\n },\n areaEnd: function () {\n this._line = NaN;\n },\n lineStart: function () {\n this._x0 = this._x1 = this._y0 = this._y1 = NaN;\n this._point = 0;\n },\n lineEnd: function () {\n switch (this._point) {\n case 3:\n point(this, this._x1, this._y1);\n // falls through\n case 2:\n this._context.lineTo(this._x1, this._y1);\n break;\n }\n if (this._line || this._line !== 0 && this._point === 1) this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function (x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0:\n this._point = 1;\n this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y);\n break;\n case 1:\n this._point = 2;\n break;\n case 2:\n this._point = 3;\n this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);\n // falls through\n default:\n point(this, x, y);\n break;\n }\n this._x0 = this._x1, this._x1 = x;\n this._y0 = this._y1, this._y1 = y;\n }\n};\nexport default function (context) {\n return new Basis(context);\n}","map":{"version":3,"names":["point","that","x","y","_context","bezierCurveTo","_x0","_x1","_y0","_y1","Basis","context","prototype","areaStart","_line","areaEnd","NaN","lineStart","_point","lineEnd","lineTo","closePath","moveTo"],"sources":["/home/gnx/Desktop/ETB/ETB-FrontEnd/node_modules/d3-shape/src/curve/basis.js"],"sourcesContent":["export function point(that, x, y) {\n that._context.bezierCurveTo(\n (2 * that._x0 + that._x1) / 3,\n (2 * that._y0 + that._y1) / 3,\n (that._x0 + 2 * that._x1) / 3,\n (that._y0 + 2 * that._y1) / 3,\n (that._x0 + 4 * that._x1 + x) / 6,\n (that._y0 + 4 * that._y1 + y) / 6\n );\n}\n\nexport function Basis(context) {\n this._context = context;\n}\n\nBasis.prototype = {\n areaStart: function() {\n this._line = 0;\n },\n areaEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._x0 = this._x1 =\n this._y0 = this._y1 = NaN;\n this._point = 0;\n },\n lineEnd: function() {\n switch (this._point) {\n case 3: point(this, this._x1, this._y1); // falls through\n case 2: this._context.lineTo(this._x1, this._y1); break;\n }\n if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function(x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;\n case 1: this._point = 2; break;\n case 2: this._point = 3; this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6); // falls through\n default: point(this, x, y); break;\n }\n this._x0 = this._x1, this._x1 = x;\n this._y0 = this._y1, this._y1 = y;\n }\n};\n\nexport default function(context) {\n return new Basis(context);\n}\n"],"mappings":"AAAA,OAAO,SAASA,KAAKA,CAACC,IAAI,EAAEC,CAAC,EAAEC,CAAC,EAAE;EAChCF,IAAI,CAACG,QAAQ,CAACC,aAAa,CACzB,CAAC,CAAC,GAAGJ,IAAI,CAACK,GAAG,GAAGL,IAAI,CAACM,GAAG,IAAI,CAAC,EAC7B,CAAC,CAAC,GAAGN,IAAI,CAACO,GAAG,GAAGP,IAAI,CAACQ,GAAG,IAAI,CAAC,EAC7B,CAACR,IAAI,CAACK,GAAG,GAAG,CAAC,GAAGL,IAAI,CAACM,GAAG,IAAI,CAAC,EAC7B,CAACN,IAAI,CAACO,GAAG,GAAG,CAAC,GAAGP,IAAI,CAACQ,GAAG,IAAI,CAAC,EAC7B,CAACR,IAAI,CAACK,GAAG,GAAG,CAAC,GAAGL,IAAI,CAACM,GAAG,GAAGL,CAAC,IAAI,CAAC,EACjC,CAACD,IAAI,CAACO,GAAG,GAAG,CAAC,GAAGP,IAAI,CAACQ,GAAG,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