Lines Matching +refs:s +refs:e

32 …ing.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
36s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i…
69 function t(t, e, s) {
71 var _e2 = _slicedToArray(e, 2),
74 _a = Math.PI / 180 * s,
80 e = _t[0],
81 s = _t[1];
83 t[0] = (e - _n) * _r - (s - _o) * _h + _n, t[1] = (e - _n) * _h + (s - _o) * _r + _o;
88 function e(t) {
89 var e = t[0],
90 s = t[1];
91 return Math.sqrt(Math.pow(e[0] - s[0], 2) + Math.pow(e[1] - s[1], 2));
94 function s(t, e, s, n) {
95 var o = e[1] - t[1],
96 a = t[0] - e[0],
98 h = n[1] - s[1],
99 i = s[0] - n[0],
100 c = h * s[0] + i * s[1],
105 function n(t, e, s) {
108 var h = [Number.MAX_SAFE_INTEGER, s],
109 i = [e, s];
125 function o(t, e, s) {
126 …return e[0] <= Math.max(t[0], s[0]) && e[0] >= Math.min(t[0], s[0]) && e[1] <= Math.max(t[1], s[1]…
129 function a(t, e, s) {
130 var n = (e[1] - t[1]) * (s[0] - e[0]) - (e[0] - t[0]) * (s[1] - e[1]);
134 function r(t, e, s, n) {
135 var r = a(t, e, s),
136 h = a(t, e, n),
137 i = a(s, n, t),
138 c = a(s, n, e);
139 …& i !== c || !(0 !== r || !o(t, s, e)) || !(0 !== h || !o(t, n, e)) || !(0 !== i || !o(s, t, n)) |…
142 function h(e, s) {
144 o = Math.round(s.hachureAngle + 90);
145 o && t(e, n, o);
147 var a = function (t, e) {
148 var s = _toConsumableArray(t);
150 s[0].join(",") !== s[s.length - 1].join(",") && s.push([s[0][0], s[0][1]]);
153 if (s && s.length > 2) {
155 var t = e.hachureGap;
156 t < 0 && (t = 4 * e.strokeWidth), t = Math.max(t, .1);
159 for (var _t2 = 0; _t2 < s.length - 1; _t2++) {
160 var _e4 = s[_t2],
161 _n2 = s[_t2 + 1];
175 if (o.sort(function (t, e) {
176 … t.ymin < e.ymin ? -1 : t.ymin > e.ymin ? 1 : t.x < e.x ? -1 : t.x > e.x ? 1 : t.ymax === e.ymax ?…
193 s: r,
201 }), a.sort(function (t, e) {
202 … return t.edge.x === e.edge.x ? 0 : (t.edge.x - e.edge.x) / Math.abs(t.edge.x - e.edge.x);
211 r += t, a.forEach(function (e) {
212 e.edge.x = e.edge.x + t * e.edge.islope;
221 }(e, s);
223 return o && (t(e, n, -o), function (e, s, n) {
225 e.forEach(function (t) {
227 }), t(o, s, n);
240 value: function fillPolygon(t, e) {
241 return this._fillPolygon(t, e);
245 value: function _fillPolygon(t, e) {
246 var s = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : !1;
247 var n = h(t, e);
249 if (s) {
257 ops: this.renderLines(n, e)
262 value: function renderLines(t, e) {
263 var s = [];
269 for (_iterator.s(); !(_step = _iterator.n()).done;) {
271s.push.apply(s, _toConsumableArray(this.helper.doubleLineOps(_n3[0][0], _n3[0][1], _n3[1][0], _n3[…
274 _iterator.e(err);
279 return s;
283 value: function connectingLines(t, s) {
285 if (s.length > 1) for (var _o3 = 1; _o3 < s.length; _o3++) {
286 var _a2 = s[_o3 - 1];
287 if (e(_a2) < 3) continue;
288 var _r2 = [s[_o3][0], _a2[1]];
290 if (e(_r2) > 3) {
300 value: function midPointInPolygon(t, e) {
301 return n(t, (e[0][0] + e[1][0]) / 2, (e[0][1] + e[1][1]) / 2);
306 var a = Math.max(5, .1 * e(o)),
314 var _t6 = s(_i2, _c, o[0], o[1]);
317 var _s4 = e([_t6, o[0]]),
318 _n5 = e([_t6, o[1]]);
329 var _e9 = h.sort(function (t, e) {
330 return t.distance - e.distance;
368 value: function fillPolygon(t, e) {
369 return this._fillPolygon(t, e, !0);
389 value: function fillPolygon(t, e) {
390 var s = this._fillPolygon(t, e),
391 n = Object.assign({}, e, {
392 hachureAngle: e.hachureAngle + 90
396 return s.ops = s.ops.concat(o.ops), s;
412 value: function fillPolygon(t, e) {
413 var s = h(t, e = Object.assign({}, e, {
418 return this.dotsOnLines(s, e);
422 value: function dotsOnLines(t, s) {
424 var o = s.hachureGap;
425 o < 0 && (o = 4 * s.strokeWidth), o = Math.max(o, .1);
426 var a = s.fillWeight;
427 a < 0 && (a = s.strokeWidth / 2);
434 for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
437 var _t7 = e(_h2),
446 _h3 = this.helper.randOffsetWithRange(_u - r, _u + r, s),
447 _i6 = this.helper.randOffsetWithRange(_e11 - r, _e11 + r, s),
448 _c3 = this.helper.ellipse(_h3, _i6, a, a, s);
454 _iterator2.e(err);
478 value: function fillPolygon(t, e) {
479 var s = h(t, e);
482 ops: this.dashedLine(s, e)
487 value: function dashedLine(t, s) {
490 … var n = s.dashOffset < 0 ? s.hachureGap < 0 ? 4 * s.strokeWidth : s.hachureGap : s.dashOffset,
491 o = s.dashGap < 0 ? s.hachureGap < 0 ? 4 * s.strokeWidth : s.hachureGap : s.dashGap,
494 var r = e(t),
508 …a.push.apply(a, _toConsumableArray(_this.helper.doubleLineOps(_h4[0], _h4[1], _l3[0], _l3[1], s)));
526 value: function fillPolygon(t, e) {
527 var s = e.hachureGap < 0 ? 4 * e.strokeWidth : e.hachureGap,
528 n = e.zigzagOffset < 0 ? s : e.zigzagOffset,
529 o = h(t, e = Object.assign({}, e, {
530 hachureGap: s + n
534 ops: this.zigzagLines(o, n, e)
539 value: function zigzagLines(t, s, n) {
544 var a = e(t),
545 r = Math.round(a / (2 * s));
552 var _e13 = 2 * _t10 * s,
553 _a4 = 2 * (_t10 + 1) * s,
554 _r4 = Math.sqrt(2 * Math.pow(s, 2)),
601 s: 4,
610 function k(t, e) {
611 return t.type === e;
615 var e = [],
616 s = function (t) {
617 var e = new Array();
620 …+)/)) t = t.substr(RegExp.$1.length);else if (t.match(/^([aAcChHlLmMqQsStTvVzZ])/)) e[e.length] = {
625 e[e.length] = {
632 return e[e.length] = {
635 }, e;
640 a = s[o];
651 if (!(o + _r5 < s.length)) throw new Error("Path data ended short");
654 var _e14 = s[_t11];
665 e.push(_t12), o += _r5, a = s[o], "M" === n && (n = "L"), "m" === n && (n = "l");
669 return e;
675 var e = 0,
676 s = 0,
685 for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
695 …}), (_h7 = _h6, _h8 = _slicedToArray(_h7, 2), e = _h8[0], s = _h8[1], _h7), (_h9 = _h6, _h10 = _sl…
699 e += _h6[0], s += _h6[1], a.push({
701 data: [e, s]
702 }), n = e, o = s;
709 }), (_h11 = _h6, _h12 = _slicedToArray(_h11, 2), e = _h12[0], s = _h12[1], _h11);
713 e += _h6[0], s += _h6[1], a.push({
715 data: [e, s]
723 }), e = _h6[4], s = _h6[5];
729 return n % 2 ? t + s : t + e;
735 }), e = _t13[4], s = _t13[5];
743 }), e = _h6[2], s = _h6[3];
749 return n % 2 ? t + s : t + e;
755 }), e = _t14[2], s = _t14[3];
763 }), e = _h6[5], s = _h6[6];
767 e += _h6[5], s += _h6[6], a.push({
769 data: [_h6[0], _h6[1], _h6[2], _h6[3], _h6[4], e, s]
777 }), e = _h6[0];
781 e += _h6[0], a.push({
783 data: [e]
791 }), s = _h6[0];
795 s += _h6[0], a.push({
797 data: [s]
805 }), e = _h6[2], s = _h6[3];
808 case "s":
811 return n % 2 ? t + s : t + e;
817 }), e = _t15[2], s = _t15[3];
825 }), e = _h6[0], s = _h6[1];
829 e += _h6[0], s += _h6[1], a.push({
831 data: [e, s]
840 }), e = n, s = o;
844 _iterator3.e(err);
855 var e = [];
856 var s = "",
868 for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
875 e.push({
882 e.push({
889 e.push({
896 n = _l5[0], e.push({
903 o = _l5[0], e.push({
913 … "C" === s || "S" === s ? (_t16 = n + (n - h), _a5 = o + (o - i)) : (_t16 = n, _a5 = o), e.push({
928 "Q" === s || "T" === s ? (_r7 = n + (n - h), _c5 = o + (o - i)) : (_r7 = n, _c5 = o);
935 e.push({
954 e.push({
971 if (0 === _t19 || 0 === _s7) e.push({
976 e.push({
986 e.push({
992 s = _c4;
995 _iterator4.e(err);
1000 return e;
1003 function w(t, e, s) {
1004 return [t * Math.cos(s) - e * Math.sin(s), t * Math.sin(s) + e * Math.cos(s)];
1007 function P(t, e, s, n, o, a, r, h, i, c) {
1026 …(_w = w(t, e, -l), _w2 = _slicedToArray(_w, 2), t = _w2[0], e = _w2[1], _w), (_w3 = w(s, n, -l), _…
1028 var _r10 = (t - s) / 2,
1029 _c9 = (e - n) / 2;
1041s) / 2, M = _m * -a * _r10 / o + (e + n) / 2, f = Math.asin(parseFloat(((e - M) / a).toFixed(9))),…
1048 _e15 = s,
1050 …d = i && d > f ? f + 120 * Math.PI / 180 * 1 : f + 120 * Math.PI / 180 * -1, p = P(s = g + o * Mat…
1061 L = [t, e],
1062 T = [t + O * y, e - S * b],
1063 I = [s + O * x, n - S * m],
1064 A = [s, n];
1083 randOffset: function randOffset(t, e) {
1084 return W(t, e);
1086 randOffsetWithRange: function randOffsetWithRange(t, e, s) {
1087 return E(t, e, s);
1089 ellipse: function ellipse(t, e, s, n, o) {
1090 var a = T(s, n, o);
1091 return I(t, e, o, a).opset;
1093 doubleLineOps: function doubleLineOps(t, e, s, n, o) {
1094 return z(t, e, s, n, o, !0);
1098 function v(t, e, s, n, o) {
1101 ops: z(t, e, s, n, o)
1105 function O(t, e, s) {
1112 ….push.apply(_o5, _toConsumableArray(z(t[_e17][0], t[_e17][1], t[_e17 + 1][0], t[_e17 + 1][1], s)));
1115 …return e && _o5.push.apply(_o5, _toConsumableArray(z(t[n - 1][0], t[n - 1][1], t[0][0], t[0][1], s
1121 return 2 === n ? v(t[0][0], t[0][1], t[1][0], t[1][1], s) : {
1127 function S(t, e, s, n, o) {
1128 return function (t, e) {
1129 return O(t, !0, e);
1130 }([[t, e], [t + s, e], [t + s, e + n], [t, e + n]], o);
1133 function L(t, e) {
1134 var s = $(t, 1 * (1 + .2 * e.roughness), e);
1136 if (!e.disableMultiStroke) {
1137 var _n8 = $(t, 1.5 * (1 + .22 * e.roughness), function (t) {
1138 var e = Object.assign({}, t);
1139 e.randomizer = void 0, t.seed && (e.seed = t.seed + 1);
1140 return e;
1141 }(e));
1143 s = s.concat(_n8);
1148 ops: s
1152 function T(t, e, s) {
1153 var n = Math.sqrt(2 * Math.PI * Math.sqrt((Math.pow(t / 2, 2) + Math.pow(e / 2, 2)) / 2)),
1154 o = Math.max(s.curveStepCount, s.curveStepCount / Math.sqrt(200) * n),
1157 h = Math.abs(e / 2);
1158 var i = 1 - s.curveFitting;
1159 return r += W(r * i, s), h += W(h * i, s), {
1166 function I(t, e, s, n) {
1167 var _q = q(n.increment, t, e, n.rx, n.ry, 1, n.increment * E(.1, E(.4, 1, s), s), s),
1172 var r = G(o, null, s);
1174 if (!s.disableMultiStroke) {
1175 var _q3 = q(n.increment, t, e, n.rx, n.ry, 1.5, 0, s),
1178 _a9 = G(_o6, null, s);
1192 function A(t, e, s, n, o, a, r, h, i) {
1194 l = e;
1195 var u = Math.abs(s / 2),
1228 function D(t, e) {
1229 var s = [];
1232 var _n9 = e.maxRandomnessOffset || 0,
1236 s.push({
1238 data: [t[0][0] + W(_n9, e), t[0][1] + W(_n9, e)]
1242 s.push({
1244 data: [t[_a10][0] + W(_n9, e), t[_a10][1] + W(_n9, e)]
1252 ops: s
1256 function _(t, e) {
1257 return function (t, e) {
1258 var s = t.fillStyle || "hachure";
1259 if (!d[s]) switch (s) {
1261 d[s] || (d[s] = new c(e));
1265 d[s] || (d[s] = new l(e));
1269 d[s] || (d[s] = new u(e));
1273 d[s] || (d[s] = new p(e));
1277 d[s] || (d[s] = new f(e));
1282 s = "hachure", d[s] || (d[s] = new i(e));
1284 return d[s];
1285 }(e, x).fillPolygon(t, e);
1292 function E(t, e, s) {
1294 return s.roughness * n * (C(s) * (e - t) + t);
1297 function W(t, e) {
1298 var s = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
1299 return E(-t, t, e, s);
1302 function z(t, e, s, n, o) {
1305 h = R(t, e, s, n, o, !0, !1);
1307 var i = R(t, e, s, n, o, !0, !0);
1311 function R(t, e, s, n, o, a, r) {
1312 var h = Math.pow(t - s, 2) + Math.pow(e - n, 2),
1320 var f = o.bowing * o.maxRandomnessOffset * (n - e) / 200,
1321 d = o.bowing * o.maxRandomnessOffset * (t - s) / 200;
1335 data: [t + (b ? 0 : M()), e + (b ? 0 : M())]
1338 data: [t + (b ? 0 : W(l, o, c)), e + (b ? 0 : W(l, o, c))]
1341 …data: [f + t + (s - t) * p + M(), d + e + (n - e) * p + M(), f + t + 2 * (s - t) * p + M(), d + e
1344 …data: [f + t + (s - t) * p + k(), d + e + (n - e) * p + k(), f + t + 2 * (s - t) * p + k(), d + e
1348 function $(t, e, s) {
1350 n.push([t[0][0] + W(e, s), t[0][1] + W(e, s)]), n.push([t[0][0] + W(e, s), t[0][1] + W(e, s)]);
1353 …n.push([t[_o8][0] + W(e, s), t[_o8][1] + W(e, s)]), _o8 === t.length - 1 && n.push([t[_o8][0] + W(
1356 return G(n, null, s);
1359 function G(t, e, s) {
1365 _r11 = 1 - s.curveTightness;
1380 if (e && 2 === e.length) {
1381 var _t23 = s.maxRandomnessOffset;
1384 data: [e[0] + W(_t23, s), e[1] + W(_t23, s)]
1393 })) : 2 === n && o.push.apply(o, _toConsumableArray(z(t[0][0], t[0][1], t[1][0], t[1][1], s)));
1398 function q(t, e, s, n, o, a, r, h) {
1402 c.push([W(a, h) + e + .9 * n * Math.cos(l - t), W(a, h) + s + .9 * o * Math.sin(l - t)]);
1405 var _t24 = [W(a, h) + e + n * Math.cos(_r12), W(a, h) + s + o * Math.sin(_r12)];
1409e + n * Math.cos(l + 2 * Math.PI + .5 * r), W(a, h) + s + o * Math.sin(l + 2 * Math.PI + .5 * r)])…
1412 function F(t, e, s, n, o, a, r, h, i) {
1415 l.push([W(h, i) + e + .9 * n * Math.cos(c - t), W(h, i) + s + .9 * o * Math.sin(c - t)]);
1418 l.push([W(h, i) + e + n * Math.cos(_a12), W(h, i) + s + o * Math.sin(_a12)]);
1421 …return l.push([e + n * Math.cos(r), s + o * Math.sin(r)]), l.push([e + n * Math.cos(r), s + o * Ma…
1424 function V(t, e, s, n, o, a, r, h) {
1440 data: [t + W(c[_f3], h), e + W(c[_f3], h), s + W(c[_f3], h), n + W(c[_f3], h), l[0], l[1]]
1451 function N(t, e) {
1452 return Math.pow(t[0] - e[0], 2) + Math.pow(t[1] - e[1], 2);
1455 function Z(t, e, s) {
1456 var n = N(e, s);
1457 if (0 === n) return N(t, e);
1458 var o = ((t[0] - e[0]) * (s[0] - e[0]) + (t[1] - e[1]) * (s[1] - e[1])) / n;
1459 return o = Math.max(0, Math.min(1, o)), N(t, Q(e, s, o));
1462 function Q(t, e, s) {
1463 return [t[0] + (e[0] - t[0]) * s, t[1] + (e[1] - t[1]) * s];
1466 function H(t, e, s, n) {
1469 if (function (t, e) {
1470 var s = t[e + 0],
1471 n = t[e + 1],
1472 o = t[e + 2],
1473 a = t[e + 3];
1474 var r = 3 * n[0] - 2 * s[0] - a[0];
1476 var h = 3 * n[1] - 2 * s[1] - a[1];
1478 var i = 3 * o[0] - 2 * a[0] - s[0];
1480 var c = 3 * o[1] - 2 * a[1] - s[1];
1482 }(t, e) < s) {
1483 var _s10 = t[e + 0];
1489 o.push(t[e + 3]);
1492 _a13 = t[e + 0],
1493 _r13 = t[e + 1],
1494 _h15 = t[e + 2],
1495 _i9 = t[e + 3],
1503 H([_a13, _c10, _p5, _d3], 0, s, o), H([_d3, _f4, _u6, _i9], 0, s, o);
1510 function B(t, e) {
1511 return X(t, 0, t.length, e);
1514 function X(t, e, s, n, o) {
1516 r = t[e],
1517 h = t[s - 1];
1521 for (var _n11 = e + 1; _n11 < s - 1; ++_n11) {
1527 …return Math.sqrt(i) > n ? (X(t, e, c + 1, n, a), X(t, c, s, n, a)) : (a.length || a.push(r), a.pus…
1531 var e = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : .15;
1532 var s = arguments.length > 2 ? arguments[2] : undefined;
1537 H(t, 3 * _s11, e, n);
1540 return s && s > 0 ? X(n, 0, n.length, s) : n;
1580 value: function _d(t, e, s) {
1583 sets: e || [],
1584 options: s || this.defaultOptions
1589 value: function line(t, e, s, n, o) {
1592 return this._d("line", [v(t, e, s, n, a)], a);
1596 value: function rectangle(t, e, s, n, o) {
1599 h = S(t, e, s, n, a);
1602 var _o9 = [[t, e], [t + s, e], [t + s, e + n], [t, e + n]];
1610 value: function ellipse(t, e, s, n, o) {
1613 h = T(s, n, a),
1614 i = I(t, e, a, h);
1617 var _s12 = I(t, e, a, h).opset;
1624 value: function circle(t, e, s, n) {
1625 var o = this.ellipse(t, e, s, s, n);
1630 value: function linearPath(t, e) {
1631 var s = this._o(e);
1633 return this._d("linearPath", [O(t, !1, s)], s);
1637 value: function arc(t, e, s, n, o, a) {
1643 l = A(t, e, s, n, o, a, r, !0, i);
1646 var _r14 = A(t, e, s, n, o, a, !0, !1, i);
1649 } else c.push(function (t, e, s, n, o, a, r) {
1651 i = e;
1652 var c = Math.abs(s / 2),
1671 }(t, e, s, n, o, a, i));
1676 value: function curve(t, e) {
1677 var s = this._o(e),
1679 o = L(t, s);
1681 if (s.fill && s.fill !== K && t.length >= 3) {
1683 var e = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
1684 var s = t.length;
1685 if (s < 3) throw new Error("A curve must have at least three points.");
1687 if (3 === s) n.push(j(t[0]), j(t[1]), j(t[2]), j(t[2]));else {
1697 _a14 = 1 - e;
1707 }(t), 10, (1 + s.roughness) / 2);
1709 "solid" === s.fillStyle ? n.push(D(_e20, s)) : n.push(_(_e20, s));
1712 return s.stroke !== K && n.push(o), this._d("curve", n, s);
1716 value: function polygon(t, e) {
1717 var s = this._o(e),
1719 o = O(t, !0, s);
1721 …return s.fill && ("solid" === s.fillStyle ? n.push(D(t, s)) : n.push(_(t, s))), s.stroke !== K && …
1725 value: function path(t, e) {
1726 var s = this._o(e),
1729 if (!t) return this._d("path", n, s);
1730 t = (t || "").replace(/\n/g, " ").replace(/(-\s)/g, "-").replace("/(ss)/g", " ");
1732 var o = s.fill && "transparent" !== s.fill && s.fill !== K,
1733 a = s.stroke !== K,
1734 r = !!(s.simplification && s.simplification < 1),
1735 h = function (t, e, s) {
1745 h.length >= 4 && (_a15 = a).push.apply(_a15, _toConsumableArray(J(h, e))), h = [];
1755 for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
1784 _iterator5.e(err);
1789 if (c(), !s) return o;
1795 var _e23 = B(_t27, s);
1801 }(t, 1, r ? 4 - 4 * s.simplification : (1 + s.roughness) / 2);
1803 if (o) if (s.combineNestedSvgPaths) {
1805 h.forEach(function (e) {
1806 return _t30.push.apply(_t30, _toConsumableArray(e));
1807 }), "solid" === s.fillStyle ? n.push(D(_t30, s)) : n.push(_(_t30, s));
1809 "solid" === s.fillStyle ? n.push(D(t, s)) : n.push(_(t, s));
1812 n.push(O(t, !1, s));
1813 }) : n.push(function (t, e) {
1814 var s = m(y(b(t))),
1819 var _iterator6 = _createForOfIteratorHelper(s),
1823 for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
1832 var t = 1 * (e.maxRandomnessOffset || 0),
1833 s = e.preserveVertices;
1837 return n + (s ? 0 : W(t, e));
1847 … n.push.apply(n, _toConsumableArray(z(a[0], a[1], _r15[0], _r15[1], e))), a = [_r15[0], _r15[1]];
1860 …n.push.apply(n, _toConsumableArray(V(_t32, _s14, _o12, _h16, _i11, _c11, a, e))), a = [_i11, _c11];
1865 … n.push.apply(n, _toConsumableArray(z(a[0], a[1], o[0], o[1], e))), a = [o[0], o[1]];
1869 _iterator6.e(err);
1878 }(t, s))), this._d("path", n, s);
1882 value: function opsToPath(t, e) {
1883 var s = "";
1889 for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
1892 var _t33 = "number" == typeof e && e >= 0 ? _n12.data.map(function (t) {
1893 return +t.toFixed(e);
1898 s += "M".concat(_t33[0], " ").concat(_t33[1], " ");
1902s += "C".concat(_t33[0], " ").concat(_t33[1], ", ").concat(_t33[2], " ").concat(_t33[3], ", ").con…
1906 s += "L".concat(_t33[0], " ").concat(_t33[1], " ");
1910 _iterator7.e(err);
1915 return s.trim();
1920 var e = t.sets || [],
1921 s = t.options || this.defaultOptions,
1924 var _iterator8 = _createForOfIteratorHelper(e),
1928 for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) {
1936 stroke: s.stroke,
1937 strokeWidth: s.strokeWidth,
1947 fill: s.fill || K
1952 _e25 = this.fillSketch(_t34, s);
1958 _iterator8.e(err);
1967 value: function fillSketch(t, e) {
1968 var s = e.fillWeight;
1969 return s < 0 && (s = e.strokeWidth / 2), {
1971 stroke: e.fill || K,
1972 strokeWidth: s,
1987 function Y(t, e) {
1990 this.canvas = t, this.ctx = this.canvas.getContext("2d"), this.gen = new U(e);
1996 var e = t.sets || [],
1997 s = t.options || this.getDefaultOptions(),
2000 var _iterator9 = _createForOfIteratorHelper(e),
2004 for (_iterator9.s(); !(_step9 = _iterator9.n()).done;) {
2009s.stroke ? "transparent" : s.stroke, n.lineWidth = s.strokeWidth, s.strokeLineDash && n.setLineDas…
2013 n.save(), n.fillStyle = s.fill || "";
2021 this.fillSketch(n, _o13, s);
2025 _iterator9.e(err);
2032 value: function fillSketch(t, e, s) {
2033 var n = s.fillWeight;
2034s.strokeWidth / 2), t.save(), s.fillLineDash && t.setLineDash(s.fillLineDash), s.fillLineDashOffse…
2038 value: function _drawToContext(t, e) {
2039 var s = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "nonzero";
2042 var _iterator10 = _createForOfIteratorHelper(e.ops),
2046 for (_iterator10.s(); !(_step10 = _iterator10.n()).done;) {
2064 _iterator10.e(err);
2069 "fillPath" === e.type ? t.fill(s) : t.stroke();
2078 value: function line(t, e, s, n, o) {
2079 var a = this.gen.line(t, e, s, n, o);
2084 value: function rectangle(t, e, s, n, o) {
2085 var a = this.gen.rectangle(t, e, s, n, o);
2090 value: function ellipse(t, e, s, n, o) {
2091 var a = this.gen.ellipse(t, e, s, n, o);
2096 value: function circle(t, e, s, n) {
2097 var o = this.gen.circle(t, e, s, n);
2102 value: function linearPath(t, e) {
2103 var s = this.gen.linearPath(t, e);
2104 return this.draw(s), s;
2108 value: function polygon(t, e) {
2109 var s = this.gen.polygon(t, e);
2110 return this.draw(s), s;
2114 value: function arc(t, e, s, n, o, a) {
2117 var i = this.gen.arc(t, e, s, n, o, a, r, h);
2122 value: function curve(t, e) {
2123 var s = this.gen.curve(t, e);
2124 return this.draw(s), s;
2128 value: function path(t, e) {
2129 var s = this.gen.path(t, e);
2130 return this.draw(s), s;
2145 function et(t, e) {
2148 this.svg = t, this.gen = new U(e);
2154 var e = t.sets || [],
2155 s = t.options || this.getDefaultOptions(),
2160 var _iterator11 = _createForOfIteratorHelper(e),
2164 for (_iterator11.s(); !(_step11 = _iterator11.n()).done;) {
2170s.stroke), _e28.setAttribute("stroke-width", s.strokeWidth + ""), _e28.setAttribute("fill", "none"…
2174 … "none"), _e28.setAttribute("stroke-width", "0"), _e28.setAttribute("fill", s.fill || ""), "curve"…
2178 _e28 = this.fillSketch(n, _r17, s);
2184 _iterator11.e(err);
2193 value: function fillSketch(t, e, s) {
2194 var n = s.fillWeight;
2195 n < 0 && (n = s.strokeWidth / 2);
2197e, s.fixedDecimalPlaceDigits)), o.setAttribute("stroke", s.fill || ""), o.setAttribute("stroke-wid…
2206 value: function opsToPath(t, e) {
2207 return this.gen.opsToPath(t, e);
2211 value: function line(t, e, s, n, o) {
2212 var a = this.gen.line(t, e, s, n, o);
2217 value: function rectangle(t, e, s, n, o) {
2218 var a = this.gen.rectangle(t, e, s, n, o);
2223 value: function ellipse(t, e, s, n, o) {
2224 var a = this.gen.ellipse(t, e, s, n, o);
2229 value: function circle(t, e, s, n) {
2230 var o = this.gen.circle(t, e, s, n);
2235 value: function linearPath(t, e) {
2236 var s = this.gen.linearPath(t, e);
2237 return this.draw(s);
2241 value: function polygon(t, e) {
2242 var s = this.gen.polygon(t, e);
2243 return this.draw(s);
2247 value: function arc(t, e, s, n, o, a) {
2250 var i = this.gen.arc(t, e, s, n, o, a, r, h);
2255 value: function curve(t, e) {
2256 var s = this.gen.curve(t, e);
2257 return this.draw(s);
2261 value: function path(t, e) {
2262 var s = this.gen.path(t, e);
2263 return this.draw(s);
2276 canvas: function canvas(t, e) {
2277 return new Y(t, e);
2279 svg: function svg(t, e) {
2280 return new et(t, e);