qcell-react 1.0.70 → 1.0.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/50.be51b3525ada1744cf41.js +2 -0
- package/dist/50.be51b3525ada1744cf41.js.LICENSE.txt +13 -0
- package/dist/index.js +2 -2
- package/dist/main.565b110bdc7239b18424.js +2 -0
- package/dist/main.565b110bdc7239b18424.js.LICENSE.txt +93 -0
- package/dist/qcell.ec25433f669b7ad33974.js +2 -0
- package/dist/qcell.ec25433f669b7ad33974.js.LICENSE.txt +93 -0
- package/package.json +1 -1
- package/dist/main.e51a8bef2a6863154f66.js +0 -2
- package/dist/main.e51a8bef2a6863154f66.js.LICENSE.txt +0 -1299
- package/dist/qcell.3579849c8f3846aa0d14.js +0 -2
- package/dist/qcell.3579849c8f3846aa0d14.js.LICENSE.txt +0 -1051
- package/dist/src_QCELL_lib_jquery_plugins_jquery_sparkline_min_js.995e5dbe1aa55ee327dc.js +0 -2
- package/dist/src_QCELL_lib_jquery_plugins_jquery_sparkline_min_js.995e5dbe1aa55ee327dc.js.LICENSE.txt +0 -3
- package/dist/src_QCELL_lib_jquery_plugins_jquery_touchSwipe_min_js.331c328f8fdf833e1aac.js +0 -2
- package/dist/src_QCELL_lib_jquery_plugins_jquery_touchSwipe_min_js.331c328f8fdf833e1aac.js.LICENSE.txt +0 -3
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see src_QCELL_lib_jquery_plugins_jquery_sparkline_min_js.995e5dbe1aa55ee327dc.js.LICENSE.txt */
|
|
2
|
-
(this.webpackChunkqcell_react=this.webpackChunkqcell_react||[]).push([["src_QCELL_lib_jquery_plugins_jquery_sparkline_min_js"],{"./src/QCELL/lib/jquery/plugins/jquery.sparkline.min.js":(module,exports,__webpack_require__)=>{eval('var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }\n/* jquery.sparkline 2.1.2 - http://omnipotent.net/jquery.sparkline/ \r\n** Licensed under the New BSD License - see above site for details */\n\n(function (a, b, c) {\n (function (a) {\n true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! jquery */ "./node_modules/jquery/dist/jquery.js")], __WEBPACK_AMD_DEFINE_FACTORY__ = (a),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === \'function\' ?\n\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : 0;\n })(function (d) {\n "use strict";\n\n var e = {},\n f,\n g,\n h,\n i,\n j,\n k,\n l,\n m,\n n,\n o,\n p,\n q,\n r,\n s,\n t,\n u,\n v,\n w,\n x,\n y,\n z,\n A,\n B,\n C,\n D,\n E,\n F,\n G,\n H,\n I,\n J,\n K,\n L = 0;\n f = function f() {\n return {\n common: {\n type: "line",\n lineColor: "#00f",\n fillColor: "#cdf",\n defaultPixelsPerValue: 3,\n width: "auto",\n height: "auto",\n composite: !1,\n tagValuesAttribute: "values",\n tagOptionsPrefix: "spark",\n enableTagOptions: !1,\n enableHighlight: !0,\n highlightLighten: 1.4,\n tooltipSkipNull: !0,\n tooltipPrefix: "",\n tooltipSuffix: "",\n disableHiddenCheck: !1,\n numberFormatter: !1,\n numberDigitGroupCount: 3,\n numberDigitGroupSep: ",",\n numberDecimalMark: ".",\n disableTooltips: !1,\n disableInteraction: !1\n },\n line: {\n spotColor: "#f80",\n highlightSpotColor: "#5f5",\n highlightLineColor: "#f22",\n spotRadius: 1.5,\n minSpotColor: "#f80",\n maxSpotColor: "#f80",\n lineWidth: 1,\n normalRangeMin: c,\n normalRangeMax: c,\n normalRangeColor: "#ccc",\n drawNormalOnTop: !1,\n chartRangeMin: c,\n chartRangeMax: c,\n chartRangeMinX: c,\n chartRangeMaxX: c,\n tooltipFormat: new h(\'<span style="color: {{color}}">●</span> {{prefix}}{{y}}{{suffix}}\')\n },\n bar: {\n barColor: "#3366cc",\n negBarColor: "#f44",\n stackedBarColor: ["#3366cc", "#dc3912", "#ff9900", "#109618", "#66aa00", "#dd4477", "#0099c6", "#990099"],\n zeroColor: c,\n nullColor: c,\n zeroAxis: !0,\n barWidth: 4,\n barSpacing: 1,\n chartRangeMax: c,\n chartRangeMin: c,\n chartRangeClip: !1,\n colorMap: c,\n tooltipFormat: new h(\'<span style="color: {{color}}">●</span> {{prefix}}{{value}}{{suffix}}\')\n },\n tristate: {\n barWidth: 4,\n barSpacing: 1,\n posBarColor: "#6f6",\n negBarColor: "#f44",\n zeroBarColor: "#999",\n colorMap: {},\n tooltipFormat: new h(\'<span style="color: {{color}}">●</span> {{value:map}}\'),\n tooltipValueLookups: {\n map: {\n "-1": "Loss",\n 0: "Draw",\n 1: "Win"\n }\n }\n },\n discrete: {\n lineHeight: "auto",\n thresholdColor: c,\n thresholdValue: 0,\n chartRangeMax: c,\n chartRangeMin: c,\n chartRangeClip: !1,\n tooltipFormat: new h("{{prefix}}{{value}}{{suffix}}")\n },\n bullet: {\n targetColor: "#f33",\n targetWidth: 3,\n performanceColor: "#33f",\n rangeColors: ["#d3dafe", "#a8b6ff", "#7f94ff"],\n base: c,\n tooltipFormat: new h("{{fieldkey:fields}} - {{value}}"),\n tooltipValueLookups: {\n fields: {\n r: "Range",\n p: "Performance",\n t: "Target"\n }\n }\n },\n pie: {\n offset: 0,\n sliceColors: ["#3366cc", "#dc3912", "#ff9900", "#109618", "#66aa00", "#dd4477", "#0099c6", "#990099"],\n borderWidth: 0,\n borderColor: "#000",\n tooltipFormat: new h(\'<span style="color: {{color}}">●</span> {{value}} ({{percent.1}}%)\')\n },\n box: {\n raw: !1,\n boxLineColor: "#000",\n boxFillColor: "#cdf",\n whiskerColor: "#000",\n outlierLineColor: "#333",\n outlierFillColor: "#fff",\n medianColor: "#f00",\n showOutliers: !0,\n outlierIQR: 1.5,\n spotRadius: 1.5,\n target: c,\n targetColor: "#4a2",\n chartRangeMax: c,\n chartRangeMin: c,\n tooltipFormat: new h("{{field:fields}}: {{value}}"),\n tooltipFormatFieldlistKey: "field",\n tooltipValueLookups: {\n fields: {\n lq: "Lower Quartile",\n med: "Median",\n uq: "Upper Quartile",\n lo: "Left Outlier",\n ro: "Right Outlier",\n lw: "Left Whisker",\n rw: "Right Whisker"\n }\n }\n }\n };\n }, E = \'.jqstooltip { position: absolute;left: 0px;top: 0px;visibility: hidden;background: rgb(0, 0, 0) transparent;background-color: rgba(0,0,0,0.6);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";color: white;font: 10px arial, san serif;text-align: left;white-space: nowrap;padding: 5px;border: 1px solid white;z-index: 10000;}.jqsfield { color: white;font: 10px arial, san serif;text-align: left;}\', g = function g() {\n var a, b;\n return a = function a() {\n this.init.apply(this, arguments);\n }, arguments.length > 1 ? (arguments[0] ? (a.prototype = d.extend(new arguments[0](), arguments[arguments.length - 1]), a._super = arguments[0].prototype) : a.prototype = arguments[arguments.length - 1], arguments.length > 2 && (b = Array.prototype.slice.call(arguments, 1, -1), b.unshift(a.prototype), d.extend.apply(d, b))) : a.prototype = arguments[0], a.prototype.cls = a, a;\n }, d.SPFormatClass = h = g({\n fre: /\\{\\{([\\w.]+?)(:(.+?))?\\}\\}/g,\n precre: /(\\w+)\\.(\\d+)/,\n init: function init(a, b) {\n this.format = a, this.fclass = b;\n },\n render: function render(a, b, d) {\n var e = this,\n f = a,\n g,\n h,\n i,\n j,\n k;\n return this.format.replace(this.fre, function () {\n var a;\n return h = arguments[1], i = arguments[3], g = e.precre.exec(h), g ? (k = g[2], h = g[1]) : k = !1, j = f[h], j === c ? "" : i && b && b[i] ? (a = b[i], a.get ? b[i].get(j) || j : b[i][j] || j) : (n(j) && (d.get("numberFormatter") ? j = d.get("numberFormatter")(j) : j = s(j, k, d.get("numberDigitGroupCount"), d.get("numberDigitGroupSep"), d.get("numberDecimalMark"))), j);\n });\n }\n }), d.spformat = function (a, b) {\n return new h(a, b);\n }, i = function i(a, b, c) {\n return a < b ? b : a > c ? c : a;\n }, j = function j(a, c) {\n var d;\n return c === 2 ? (d = b.floor(a.length / 2), a.length % 2 ? a[d] : (a[d - 1] + a[d]) / 2) : a.length % 2 ? (d = (a.length * c + c) / 4, d % 1 ? (a[b.floor(d)] + a[b.floor(d) - 1]) / 2 : a[d - 1]) : (d = (a.length * c + 2) / 4, d % 1 ? (a[b.floor(d)] + a[b.floor(d) - 1]) / 2 : a[d - 1]);\n }, k = function k(a) {\n var b;\n switch (a) {\n case "undefined":\n a = c;\n break;\n case "null":\n a = null;\n break;\n case "true":\n a = !0;\n break;\n case "false":\n a = !1;\n break;\n default:\n b = parseFloat(a), a == b && (a = b);\n }\n return a;\n }, l = function l(a) {\n var b,\n c = [];\n for (b = a.length; b--;) c[b] = k(a[b]);\n return c;\n }, m = function m(a, b) {\n var c,\n d,\n e = [];\n for (c = 0, d = a.length; c < d; c++) a[c] !== b && e.push(a[c]);\n return e;\n }, n = function n(a) {\n return !isNaN(parseFloat(a)) && isFinite(a);\n }, s = function s(a, b, c, e, f) {\n var g, h;\n a = (b === !1 ? parseFloat(a).toString() : a.toFixed(b)).split(""), g = (g = d.inArray(".", a)) < 0 ? a.length : g, g < a.length && (a[g] = f);\n for (h = g - c; h > 0; h -= c) a.splice(h, 0, e);\n return a.join("");\n }, o = function o(a, b, c) {\n var d;\n for (d = b.length; d--;) {\n if (c && b[d] === null) continue;\n if (b[d] !== a) return !1;\n }\n return !0;\n }, p = function p(a) {\n var b = 0,\n c;\n for (c = a.length; c--;) b += typeof a[c] == "number" ? a[c] : 0;\n return b;\n }, r = function r(a) {\n return d.isArray(a) ? a : [a];\n }, q = function q(b) {\n var c;\n a.createStyleSheet ? a.createStyleSheet().cssText = b : (c = a.createElement("style"), c.type = "text/css", a.getElementsByTagName("head")[0].appendChild(c), c[typeof a.body.style.WebkitAppearance == "string" ? "innerText" : "innerHTML"] = b);\n }, d.fn.simpledraw = function (b, e, f, g) {\n var h, i;\n if (f && (h = this.data("_jqs_vcanvas"))) return h;\n if (d.fn.sparkline.canvas === !1) return !1;\n if (d.fn.sparkline.canvas === c) {\n var j = a.createElement("canvas");\n if (!j.getContext || !j.getContext("2d")) {\n if (!a.namespaces || !!a.namespaces.v) return d.fn.sparkline.canvas = !1, !1;\n a.namespaces.add("v", "urn:schemas-microsoft-com:vml", "#default#VML"), d.fn.sparkline.canvas = function (a, b, c, d) {\n return new J(a, b, c);\n };\n } else d.fn.sparkline.canvas = function (a, b, c, d) {\n return new I(a, b, c, d);\n };\n }\n return b === c && (b = d(this).innerWidth()), e === c && (e = d(this).innerHeight()), h = d.fn.sparkline.canvas(b, e, this, g), i = d(this).data("_jqs_mhandler"), i && i.registerCanvas(h), h;\n }, d.fn.cleardraw = function () {\n var a = this.data("_jqs_vcanvas");\n a && a.reset();\n }, d.RangeMapClass = t = g({\n init: function init(a) {\n var b,\n c,\n d = [];\n for (b in a) a.hasOwnProperty(b) && typeof b == "string" && b.indexOf(":") > -1 && (c = b.split(":"), c[0] = c[0].length === 0 ? -Infinity : parseFloat(c[0]), c[1] = c[1].length === 0 ? Infinity : parseFloat(c[1]), c[2] = a[b], d.push(c));\n this.map = a, this.rangelist = d || !1;\n },\n get: function get(a) {\n var b = this.rangelist,\n d,\n e,\n f;\n if ((f = this.map[a]) !== c) return f;\n if (b) for (d = b.length; d--;) {\n e = b[d];\n if (e[0] <= a && e[1] >= a) return e[2];\n }\n return c;\n }\n }), d.range_map = function (a) {\n return new t(a);\n }, u = g({\n init: function init(a, b) {\n var c = d(a);\n this.$el = c, this.options = b, this.currentPageX = 0, this.currentPageY = 0, this.el = a, this.splist = [], this.tooltip = null, this.over = !1, this.displayTooltips = !b.get("disableTooltips"), this.highlightEnabled = !b.get("disableHighlight");\n },\n registerSparkline: function registerSparkline(a) {\n this.splist.push(a), this.over && this.updateDisplay();\n },\n registerCanvas: function registerCanvas(a) {\n var b = d(a.canvas);\n this.canvas = a, this.$canvas = b, b.mouseenter(d.proxy(this.mouseenter, this)), b.mouseleave(d.proxy(this.mouseleave, this)), b.click(d.proxy(this.mouseclick, this));\n },\n reset: function reset(a) {\n this.splist = [], this.tooltip && a && (this.tooltip.remove(), this.tooltip = c);\n },\n mouseclick: function mouseclick(a) {\n var b = d.Event("sparklineClick");\n b.originalEvent = a, b.sparklines = this.splist, this.$el.trigger(b);\n },\n mouseenter: function mouseenter(b) {\n d(a.body).unbind("mousemove.jqs"), d(a.body).bind("mousemove.jqs", d.proxy(this.mousemove, this)), this.over = !0, this.currentPageX = b.pageX, this.currentPageY = b.pageY, this.currentEl = b.target, !this.tooltip && this.displayTooltips && (this.tooltip = new v(this.options), this.tooltip.updatePosition(b.pageX, b.pageY)), this.updateDisplay();\n },\n mouseleave: function mouseleave() {\n d(a.body).unbind("mousemove.jqs");\n var b = this.splist,\n c = b.length,\n e = !1,\n f,\n g;\n this.over = !1, this.currentEl = null, this.tooltip && (this.tooltip.remove(), this.tooltip = null);\n for (g = 0; g < c; g++) f = b[g], f.clearRegionHighlight() && (e = !0);\n e && this.canvas.render();\n },\n mousemove: function mousemove(a) {\n this.currentPageX = a.pageX, this.currentPageY = a.pageY, this.currentEl = a.target, this.tooltip && this.tooltip.updatePosition(a.pageX, a.pageY), this.updateDisplay();\n },\n updateDisplay: function updateDisplay() {\n var a = this.splist,\n b = a.length,\n c = !1,\n e = this.$canvas.offset(),\n f = this.currentPageX - e.left,\n g = this.currentPageY - e.top,\n h,\n i,\n j,\n k,\n l;\n if (!this.over) return;\n for (j = 0; j < b; j++) i = a[j], k = i.setRegionHighlight(this.currentEl, f, g), k && (c = !0);\n if (c) {\n l = d.Event("sparklineRegionChange"), l.sparklines = this.splist, this.$el.trigger(l);\n if (this.tooltip) {\n h = "";\n for (j = 0; j < b; j++) i = a[j], h += i.getCurrentRegionTooltip();\n this.tooltip.setContent(h);\n }\n this.disableHighlight || this.canvas.render();\n }\n k === null && this.mouseleave();\n }\n }), v = g({\n sizeStyle: "position: static !important;display: block !important;visibility: hidden !important;float: left !important;",\n init: function init(b) {\n var c = b.get("tooltipClassname", "jqstooltip"),\n e = this.sizeStyle,\n f;\n this.container = b.get("tooltipContainer") || a.body, this.tooltipOffsetX = b.get("tooltipOffsetX", 10), this.tooltipOffsetY = b.get("tooltipOffsetY", 12), d("#jqssizetip").remove(), d("#jqstooltip").remove(), this.sizetip = d("<div/>", {\n id: "jqssizetip",\n style: e,\n "class": c\n }), this.tooltip = d("<div/>", {\n id: "jqstooltip",\n "class": c\n }).appendTo(this.container), f = this.tooltip.offset(), this.offsetLeft = f.left, this.offsetTop = f.top, this.hidden = !0, d(window).unbind("resize.jqs scroll.jqs"), d(window).bind("resize.jqs scroll.jqs", d.proxy(this.updateWindowDims, this)), this.updateWindowDims();\n },\n updateWindowDims: function updateWindowDims() {\n this.scrollTop = d(window).scrollTop(), this.scrollLeft = d(window).scrollLeft(), this.scrollRight = this.scrollLeft + d(window).width(), this.updatePosition();\n },\n getSize: function getSize(a) {\n this.sizetip.html(a).appendTo(this.container), this.width = this.sizetip.width() + 1, this.height = this.sizetip.height(), this.sizetip.remove();\n },\n setContent: function setContent(a) {\n if (!a) {\n this.tooltip.css("visibility", "hidden"), this.hidden = !0;\n return;\n }\n this.getSize(a), this.tooltip.html(a).css({\n width: this.width,\n height: this.height,\n visibility: "visible"\n }), this.hidden && (this.hidden = !1, this.updatePosition());\n },\n updatePosition: function updatePosition(a, b) {\n if (a === c) {\n if (this.mousex === c) return;\n a = this.mousex - this.offsetLeft, b = this.mousey - this.offsetTop;\n } else this.mousex = a -= this.offsetLeft, this.mousey = b -= this.offsetTop;\n if (!this.height || !this.width || this.hidden) return;\n b -= this.height + this.tooltipOffsetY, a += this.tooltipOffsetX, b < this.scrollTop && (b = this.scrollTop), a < this.scrollLeft ? a = this.scrollLeft : a + this.width > this.scrollRight && (a = this.scrollRight - this.width), this.tooltip.css({\n left: a,\n top: b\n });\n },\n remove: function remove() {\n this.tooltip.remove(), this.sizetip.remove(), this.sizetip = this.tooltip = c, d(window).unbind("resize.jqs scroll.jqs");\n }\n }), F = function F() {\n q(E);\n }, d(F), K = [], d.fn.sparkline = function (b, e) {\n return this.each(function () {\n var f = new d.fn.sparkline.options(this, e),\n g = d(this),\n h,\n i;\n h = function h() {\n var e, h, i, j, k, l, m;\n if (b === "html" || b === c) {\n m = this.getAttribute(f.get("tagValuesAttribute"));\n if (m === c || m === null) m = g.html();\n e = m.replace(/(^\\s*\x3c!--)|(--\x3e\\s*$)|\\s+/g, "").split(",");\n } else e = b;\n h = f.get("width") === "auto" ? e.length * f.get("defaultPixelsPerValue") : f.get("width");\n if (f.get("height") === "auto") {\n if (!f.get("composite") || !d.data(this, "_jqs_vcanvas")) j = a.createElement("span"), j.innerHTML = "a", g.html(j), i = d(j).innerHeight() || d(j).height(), d(j).remove(), j = null;\n } else i = f.get("height");\n f.get("disableInteraction") ? k = !1 : (k = d.data(this, "_jqs_mhandler"), k ? f.get("composite") || k.reset() : (k = new u(this, f), d.data(this, "_jqs_mhandler", k)));\n if (f.get("composite") && !d.data(this, "_jqs_vcanvas")) {\n d.data(this, "_jqs_errnotify") || (alert("Attempted to attach a composite sparkline to an element with no existing sparkline"), d.data(this, "_jqs_errnotify", !0));\n return;\n }\n l = new d.fn.sparkline[f.get("type")](this, e, f, h, i), l.render(), k && k.registerSparkline(l);\n };\n if (d(this).html() && !f.get("disableHiddenCheck") && d(this).is(":hidden") || !d(this).parents("body").length) {\n if (!f.get("composite") && d.data(this, "_jqs_pending")) for (i = K.length; i; i--) K[i - 1][0] == this && K.splice(i - 1, 1);\n K.push([this, h]), d.data(this, "_jqs_pending", !0);\n } else h.call(this);\n });\n }, d.fn.sparkline.defaults = f(), d.sparkline_display_visible = function () {\n var a,\n b,\n c,\n e = [];\n for (b = 0, c = K.length; b < c; b++) a = K[b][0], d(a).is(":visible") && !d(a).parents().is(":hidden") ? (K[b][1].call(a), d.data(K[b][0], "_jqs_pending", !1), e.push(b)) : !d(a).closest("html").length && !d.data(a, "_jqs_pending") && (d.data(K[b][0], "_jqs_pending", !1), e.push(b));\n for (b = e.length; b; b--) K.splice(e[b - 1], 1);\n }, d.fn.sparkline.options = g({\n init: function init(a, b) {\n var c, f, g, h;\n this.userOptions = b = b || {}, this.tag = a, this.tagValCache = {}, f = d.fn.sparkline.defaults, g = f.common, this.tagOptionsPrefix = b.enableTagOptions && (b.tagOptionsPrefix || g.tagOptionsPrefix), h = this.getTagSetting("type"), h === e ? c = f[b.type || g.type] : c = f[h], this.mergedOptions = d.extend({}, g, c, b);\n },\n getTagSetting: function getTagSetting(a) {\n var b = this.tagOptionsPrefix,\n d,\n f,\n g,\n h;\n if (b === !1 || b === c) return e;\n if (this.tagValCache.hasOwnProperty(a)) d = this.tagValCache.key;else {\n d = this.tag.getAttribute(b + a);\n if (d === c || d === null) d = e;else if (d.substr(0, 1) === "[") {\n d = d.substr(1, d.length - 2).split(",");\n for (f = d.length; f--;) d[f] = k(d[f].replace(/(^\\s*)|(\\s*$)/g, ""));\n } else if (d.substr(0, 1) === "{") {\n g = d.substr(1, d.length - 2).split(","), d = {};\n for (f = g.length; f--;) h = g[f].split(":", 2), d[h[0].replace(/(^\\s*)|(\\s*$)/g, "")] = k(h[1].replace(/(^\\s*)|(\\s*$)/g, ""));\n } else d = k(d);\n this.tagValCache.key = d;\n }\n return d;\n },\n get: function get(a, b) {\n var d = this.getTagSetting(a),\n f;\n return d !== e ? d : (f = this.mergedOptions[a]) === c ? b : f;\n }\n }), d.fn.sparkline._base = g({\n disabled: !1,\n init: function init(a, b, e, f, g) {\n this.el = a, this.$el = d(a), this.values = b, this.options = e, this.width = f, this.height = g, this.currentRegion = c;\n },\n initTarget: function initTarget() {\n var a = !this.options.get("disableInteraction");\n (this.target = this.$el.simpledraw(this.width, this.height, this.options.get("composite"), a)) ? (this.canvasWidth = this.target.pixelWidth, this.canvasHeight = this.target.pixelHeight) : this.disabled = !0;\n },\n render: function render() {\n return this.disabled ? (this.el.innerHTML = "", !1) : !0;\n },\n getRegion: function getRegion(a, b) {},\n setRegionHighlight: function setRegionHighlight(a, b, d) {\n var e = this.currentRegion,\n f = !this.options.get("disableHighlight"),\n g;\n return b > this.canvasWidth || d > this.canvasHeight || b < 0 || d < 0 ? null : (g = this.getRegion(a, b, d), e !== g ? (e !== c && f && this.removeHighlight(), this.currentRegion = g, g !== c && f && this.renderHighlight(), !0) : !1);\n },\n clearRegionHighlight: function clearRegionHighlight() {\n return this.currentRegion !== c ? (this.removeHighlight(), this.currentRegion = c, !0) : !1;\n },\n renderHighlight: function renderHighlight() {\n this.changeHighlight(!0);\n },\n removeHighlight: function removeHighlight() {\n this.changeHighlight(!1);\n },\n changeHighlight: function changeHighlight(a) {},\n getCurrentRegionTooltip: function getCurrentRegionTooltip() {\n var a = this.options,\n b = "",\n e = [],\n f,\n g,\n i,\n j,\n k,\n l,\n m,\n n,\n o,\n p,\n q,\n r,\n s,\n t;\n if (this.currentRegion === c) return "";\n f = this.getCurrentRegionFields(), q = a.get("tooltipFormatter");\n if (q) return q(this, a, f);\n a.get("tooltipChartTitle") && (b += \'<div class="jqs jqstitle">\' + a.get("tooltipChartTitle") + "</div>\\n"), g = this.options.get("tooltipFormat");\n if (!g) return "";\n d.isArray(g) || (g = [g]), d.isArray(f) || (f = [f]), m = this.options.get("tooltipFormatFieldlist"), n = this.options.get("tooltipFormatFieldlistKey");\n if (m && n) {\n o = [];\n for (l = f.length; l--;) p = f[l][n], (t = d.inArray(p, m)) != -1 && (o[t] = f[l]);\n f = o;\n }\n i = g.length, s = f.length;\n for (l = 0; l < i; l++) {\n r = g[l], typeof r == "string" && (r = new h(r)), j = r.fclass || "jqsfield";\n for (t = 0; t < s; t++) if (!f[t].isNull || !a.get("tooltipSkipNull")) d.extend(f[t], {\n prefix: a.get("tooltipPrefix"),\n suffix: a.get("tooltipSuffix")\n }), k = r.render(f[t], a.get("tooltipValueLookups"), a), e.push(\'<div class="\' + j + \'">\' + k + "</div>");\n }\n return e.length ? b + e.join("\\n") : "";\n },\n getCurrentRegionFields: function getCurrentRegionFields() {},\n calcHighlightColor: function calcHighlightColor(a, c) {\n var d = c.get("highlightColor"),\n e = c.get("highlightLighten"),\n f,\n g,\n h,\n j;\n if (d) return d;\n if (e) {\n f = /^#([0-9a-f])([0-9a-f])([0-9a-f])$/i.exec(a) || /^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(a);\n if (f) {\n h = [], g = a.length === 4 ? 16 : 1;\n for (j = 0; j < 3; j++) h[j] = i(b.round(parseInt(f[j + 1], 16) * g * e), 0, 255);\n return "rgb(" + h.join(",") + ")";\n }\n }\n return a;\n }\n }), w = {\n changeHighlight: function changeHighlight(a) {\n var b = this.currentRegion,\n c = this.target,\n e = this.regionShapes[b],\n f;\n e && (f = this.renderRegion(b, a), d.isArray(f) || d.isArray(e) ? (c.replaceWithShapes(e, f), this.regionShapes[b] = d.map(f, function (a) {\n return a.id;\n })) : (c.replaceWithShape(e, f), this.regionShapes[b] = f.id));\n },\n render: function render() {\n var a = this.values,\n b = this.target,\n c = this.regionShapes,\n e,\n f,\n g,\n h;\n if (!this.cls._super.render.call(this)) return;\n for (g = a.length; g--;) {\n e = this.renderRegion(g);\n if (e) {\n if (d.isArray(e)) {\n f = [];\n for (h = e.length; h--;) e[h].append(), f.push(e[h].id);\n c[g] = f;\n } else e.append(), c[g] = e.id;\n } else c[g] = null;\n }\n b.render();\n }\n }, d.fn.sparkline.line = x = g(d.fn.sparkline._base, {\n type: "line",\n init: function init(a, b, c, d, e) {\n x._super.init.call(this, a, b, c, d, e), this.vertices = [], this.regionMap = [], this.xvalues = [], this.yvalues = [], this.yminmax = [], this.hightlightSpotId = null, this.lastShapeId = null, this.initTarget();\n },\n getRegion: function getRegion(a, b, d) {\n var e,\n f = this.regionMap;\n for (e = f.length; e--;) if (f[e] !== null && b >= f[e][0] && b <= f[e][1]) return f[e][2];\n return c;\n },\n getCurrentRegionFields: function getCurrentRegionFields() {\n var a = this.currentRegion;\n return {\n isNull: this.yvalues[a] === null,\n x: this.xvalues[a],\n y: this.yvalues[a],\n color: this.options.get("lineColor"),\n fillColor: this.options.get("fillColor"),\n offset: a\n };\n },\n renderHighlight: function renderHighlight() {\n var a = this.currentRegion,\n b = this.target,\n d = this.vertices[a],\n e = this.options,\n f = e.get("spotRadius"),\n g = e.get("highlightSpotColor"),\n h = e.get("highlightLineColor"),\n i,\n j;\n if (!d) return;\n f && g && (i = b.drawCircle(d[0], d[1], f, c, g), this.highlightSpotId = i.id, b.insertAfterShape(this.lastShapeId, i)), h && (j = b.drawLine(d[0], this.canvasTop, d[0], this.canvasTop + this.canvasHeight, h), this.highlightLineId = j.id, b.insertAfterShape(this.lastShapeId, j));\n },\n removeHighlight: function removeHighlight() {\n var a = this.target;\n this.highlightSpotId && (a.removeShapeId(this.highlightSpotId), this.highlightSpotId = null), this.highlightLineId && (a.removeShapeId(this.highlightLineId), this.highlightLineId = null);\n },\n scanValues: function scanValues() {\n var a = this.values,\n c = a.length,\n d = this.xvalues,\n e = this.yvalues,\n f = this.yminmax,\n g,\n h,\n i,\n j,\n k;\n for (g = 0; g < c; g++) h = a[g], i = typeof a[g] == "string", j = _typeof(a[g]) == "object" && a[g] instanceof Array, k = i && a[g].split(":"), i && k.length === 2 ? (d.push(Number(k[0])), e.push(Number(k[1])), f.push(Number(k[1]))) : j ? (d.push(h[0]), e.push(h[1]), f.push(h[1])) : (d.push(g), a[g] === null || a[g] === "null" ? e.push(null) : (e.push(Number(h)), f.push(Number(h))));\n this.options.get("xvalues") && (d = this.options.get("xvalues")), this.maxy = this.maxyorg = b.max.apply(b, f), this.miny = this.minyorg = b.min.apply(b, f), this.maxx = b.max.apply(b, d), this.minx = b.min.apply(b, d), this.xvalues = d, this.yvalues = e, this.yminmax = f;\n },\n processRangeOptions: function processRangeOptions() {\n var a = this.options,\n b = a.get("normalRangeMin"),\n d = a.get("normalRangeMax");\n b !== c && (b < this.miny && (this.miny = b), d > this.maxy && (this.maxy = d)), a.get("chartRangeMin") !== c && (a.get("chartRangeClip") || a.get("chartRangeMin") < this.miny) && (this.miny = a.get("chartRangeMin")), a.get("chartRangeMax") !== c && (a.get("chartRangeClip") || a.get("chartRangeMax") > this.maxy) && (this.maxy = a.get("chartRangeMax")), a.get("chartRangeMinX") !== c && (a.get("chartRangeClipX") || a.get("chartRangeMinX") < this.minx) && (this.minx = a.get("chartRangeMinX")), a.get("chartRangeMaxX") !== c && (a.get("chartRangeClipX") || a.get("chartRangeMaxX") > this.maxx) && (this.maxx = a.get("chartRangeMaxX"));\n },\n drawNormalRange: function drawNormalRange(a, d, e, f, g) {\n var h = this.options.get("normalRangeMin"),\n i = this.options.get("normalRangeMax"),\n j = d + b.round(e - e * ((i - this.miny) / g)),\n k = b.round(e * (i - h) / g);\n this.target.drawRect(a, j, f, k, c, this.options.get("normalRangeColor")).append();\n },\n render: function render() {\n var a = this.options,\n e = this.target,\n f = this.canvasWidth,\n g = this.canvasHeight,\n h = this.vertices,\n i = a.get("spotRadius"),\n j = this.regionMap,\n k,\n l,\n m,\n n,\n o,\n p,\n q,\n r,\n s,\n u,\n v,\n w,\n y,\n z,\n A,\n B,\n C,\n D,\n E,\n F,\n G,\n H,\n I,\n J,\n K;\n if (!x._super.render.call(this)) return;\n this.scanValues(), this.processRangeOptions(), I = this.xvalues, J = this.yvalues;\n if (!this.yminmax.length || this.yvalues.length < 2) return;\n n = o = 0, k = this.maxx - this.minx === 0 ? 1 : this.maxx - this.minx, l = this.maxy - this.miny === 0 ? 1 : this.maxy - this.miny, m = this.yvalues.length - 1, i && (f < i * 4 || g < i * 4) && (i = 0);\n if (i) {\n G = a.get("highlightSpotColor") && !a.get("disableInteraction");\n if (G || a.get("minSpotColor") || a.get("spotColor") && J[m] === this.miny) g -= b.ceil(i);\n if (G || a.get("maxSpotColor") || a.get("spotColor") && J[m] === this.maxy) g -= b.ceil(i), n += b.ceil(i);\n if (G || (a.get("minSpotColor") || a.get("maxSpotColor")) && (J[0] === this.miny || J[0] === this.maxy)) o += b.ceil(i), f -= b.ceil(i);\n if (G || a.get("spotColor") || a.get("minSpotColor") || a.get("maxSpotColor") && (J[m] === this.miny || J[m] === this.maxy)) f -= b.ceil(i);\n }\n g--, a.get("normalRangeMin") !== c && !a.get("drawNormalOnTop") && this.drawNormalRange(o, n, g, f, l), q = [], r = [q], z = A = null, B = J.length;\n for (K = 0; K < B; K++) s = I[K], v = I[K + 1], u = J[K], w = o + b.round((s - this.minx) * (f / k)), y = K < B - 1 ? o + b.round((v - this.minx) * (f / k)) : f, A = w + (y - w) / 2, j[K] = [z || 0, A, K], z = A, u === null ? K && (J[K - 1] !== null && (q = [], r.push(q)), h.push(null)) : (u < this.miny && (u = this.miny), u > this.maxy && (u = this.maxy), q.length || q.push([w, n + g]), p = [w, n + b.round(g - g * ((u - this.miny) / l))], q.push(p), h.push(p));\n C = [], D = [], E = r.length;\n for (K = 0; K < E; K++) q = r[K], q.length && (a.get("fillColor") && (q.push([q[q.length - 1][0], n + g]), D.push(q.slice(0)), q.pop()), q.length > 2 && (q[0] = [q[0][0], q[1][1]]), C.push(q));\n E = D.length;\n for (K = 0; K < E; K++) e.drawShape(D[K], a.get("fillColor"), a.get("fillColor")).append();\n a.get("normalRangeMin") !== c && a.get("drawNormalOnTop") && this.drawNormalRange(o, n, g, f, l), E = C.length;\n for (K = 0; K < E; K++) e.drawShape(C[K], a.get("lineColor"), c, a.get("lineWidth")).append();\n if (i && a.get("valueSpots")) {\n F = a.get("valueSpots"), F.get === c && (F = new t(F));\n for (K = 0; K < B; K++) H = F.get(J[K]), H && e.drawCircle(o + b.round((I[K] - this.minx) * (f / k)), n + b.round(g - g * ((J[K] - this.miny) / l)), i, c, H).append();\n }\n i && a.get("spotColor") && J[m] !== null && e.drawCircle(o + b.round((I[I.length - 1] - this.minx) * (f / k)), n + b.round(g - g * ((J[m] - this.miny) / l)), i, c, a.get("spotColor")).append(), this.maxy !== this.minyorg && (i && a.get("minSpotColor") && (s = I[d.inArray(this.minyorg, J)], e.drawCircle(o + b.round((s - this.minx) * (f / k)), n + b.round(g - g * ((this.minyorg - this.miny) / l)), i, c, a.get("minSpotColor")).append()), i && a.get("maxSpotColor") && (s = I[d.inArray(this.maxyorg, J)], e.drawCircle(o + b.round((s - this.minx) * (f / k)), n + b.round(g - g * ((this.maxyorg - this.miny) / l)), i, c, a.get("maxSpotColor")).append())), this.lastShapeId = e.getLastShapeId(), this.canvasTop = n, e.render();\n }\n }), d.fn.sparkline.bar = y = g(d.fn.sparkline._base, w, {\n type: "bar",\n init: function init(a, e, f, g, h) {\n var j = parseInt(f.get("barWidth"), 10),\n n = parseInt(f.get("barSpacing"), 10),\n o = f.get("chartRangeMin"),\n p = f.get("chartRangeMax"),\n q = f.get("chartRangeClip"),\n r = Infinity,\n s = -Infinity,\n u,\n v,\n w,\n x,\n z,\n A,\n B,\n C,\n D,\n E,\n F,\n G,\n H,\n I,\n J,\n K,\n L,\n M,\n N,\n O,\n P,\n Q,\n R;\n y._super.init.call(this, a, e, f, g, h);\n for (A = 0, B = e.length; A < B; A++) {\n O = e[A], u = typeof O == "string" && O.indexOf(":") > -1;\n if (u || d.isArray(O)) J = !0, u && (O = e[A] = l(O.split(":"))), O = m(O, null), v = b.min.apply(b, O), w = b.max.apply(b, O), v < r && (r = v), w > s && (s = w);\n }\n this.stacked = J, this.regionShapes = {}, this.barWidth = j, this.barSpacing = n, this.totalBarWidth = j + n, this.width = g = e.length * j + (e.length - 1) * n, this.initTarget(), q && (H = o === c ? -Infinity : o, I = p === c ? Infinity : p), z = [], x = J ? [] : z;\n var S = [],\n T = [];\n for (A = 0, B = e.length; A < B; A++) if (J) {\n K = e[A], e[A] = N = [], S[A] = 0, x[A] = T[A] = 0;\n for (L = 0, M = K.length; L < M; L++) O = N[L] = q ? i(K[L], H, I) : K[L], O !== null && (O > 0 && (S[A] += O), r < 0 && s > 0 ? O < 0 ? T[A] += b.abs(O) : x[A] += O : x[A] += b.abs(O - (O < 0 ? s : r)), z.push(O));\n } else O = q ? i(e[A], H, I) : e[A], O = e[A] = k(O), O !== null && z.push(O);\n this.max = G = b.max.apply(b, z), this.min = F = b.min.apply(b, z), this.stackMax = s = J ? b.max.apply(b, S) : G, this.stackMin = r = J ? b.min.apply(b, z) : F, f.get("chartRangeMin") !== c && (f.get("chartRangeClip") || f.get("chartRangeMin") < F) && (F = f.get("chartRangeMin")), f.get("chartRangeMax") !== c && (f.get("chartRangeClip") || f.get("chartRangeMax") > G) && (G = f.get("chartRangeMax")), this.zeroAxis = D = f.get("zeroAxis", !0), F <= 0 && G >= 0 && D ? E = 0 : D == 0 ? E = F : F > 0 ? E = F : E = G, this.xaxisOffset = E, C = J ? b.max.apply(b, x) + b.max.apply(b, T) : G - F, this.canvasHeightEf = D && F < 0 ? this.canvasHeight - 2 : this.canvasHeight - 1, F < E ? (Q = J && G >= 0 ? s : G, P = (Q - E) / C * this.canvasHeight, P !== b.ceil(P) && (this.canvasHeightEf -= 2, P = b.ceil(P))) : P = this.canvasHeight, this.yoffset = P, d.isArray(f.get("colorMap")) ? (this.colorMapByIndex = f.get("colorMap"), this.colorMapByValue = null) : (this.colorMapByIndex = null, this.colorMapByValue = f.get("colorMap"), this.colorMapByValue && this.colorMapByValue.get === c && (this.colorMapByValue = new t(this.colorMapByValue))), this.range = C;\n },\n getRegion: function getRegion(a, d, e) {\n var f = b.floor(d / this.totalBarWidth);\n return f < 0 || f >= this.values.length ? c : f;\n },\n getCurrentRegionFields: function getCurrentRegionFields() {\n var a = this.currentRegion,\n b = r(this.values[a]),\n c = [],\n d,\n e;\n for (e = b.length; e--;) d = b[e], c.push({\n isNull: d === null,\n value: d,\n color: this.calcColor(e, d, a),\n offset: a\n });\n return c;\n },\n calcColor: function calcColor(a, b, e) {\n var f = this.colorMapByIndex,\n g = this.colorMapByValue,\n h = this.options,\n i,\n j;\n return this.stacked ? i = h.get("stackedBarColor") : i = b < 0 ? h.get("negBarColor") : h.get("barColor"), b === 0 && h.get("zeroColor") !== c && (i = h.get("zeroColor")), g && (j = g.get(b)) ? i = j : f && f.length > e && (i = f[e]), d.isArray(i) ? i[a % i.length] : i;\n },\n renderRegion: function renderRegion(a, e) {\n var f = this.values[a],\n g = this.options,\n h = this.xaxisOffset,\n i = [],\n j = this.range,\n k = this.stacked,\n l = this.target,\n m = a * this.totalBarWidth,\n n = this.canvasHeightEf,\n p = this.yoffset,\n q,\n r,\n s,\n t,\n u,\n v,\n w,\n x,\n y,\n z;\n f = d.isArray(f) ? f : [f], w = f.length, x = f[0], t = o(null, f), z = o(h, f, !0);\n if (t) return g.get("nullColor") ? (s = e ? g.get("nullColor") : this.calcHighlightColor(g.get("nullColor"), g), q = p > 0 ? p - 1 : p, l.drawRect(m, q, this.barWidth - 1, 0, s, s)) : c;\n u = p;\n for (v = 0; v < w; v++) {\n x = f[v];\n if (k && x === h) {\n if (!z || y) continue;\n y = !0;\n }\n j > 0 ? r = b.floor(n * (b.abs(x - h) / j)) + 1 : r = 1, x < h || x === h && p === 0 ? (q = u, u += r) : (q = p - r, p -= r), s = this.calcColor(v, x, a), e && (s = this.calcHighlightColor(s, g)), i.push(l.drawRect(m, q, this.barWidth - 1, r - 1, s, s));\n }\n return i.length === 1 ? i[0] : i;\n }\n }), d.fn.sparkline.tristate = z = g(d.fn.sparkline._base, w, {\n type: "tristate",\n init: function init(a, b, e, f, g) {\n var h = parseInt(e.get("barWidth"), 10),\n i = parseInt(e.get("barSpacing"), 10);\n z._super.init.call(this, a, b, e, f, g), this.regionShapes = {}, this.barWidth = h, this.barSpacing = i, this.totalBarWidth = h + i, this.values = d.map(b, Number), this.width = f = b.length * h + (b.length - 1) * i, d.isArray(e.get("colorMap")) ? (this.colorMapByIndex = e.get("colorMap"), this.colorMapByValue = null) : (this.colorMapByIndex = null, this.colorMapByValue = e.get("colorMap"), this.colorMapByValue && this.colorMapByValue.get === c && (this.colorMapByValue = new t(this.colorMapByValue))), this.initTarget();\n },\n getRegion: function getRegion(a, c, d) {\n return b.floor(c / this.totalBarWidth);\n },\n getCurrentRegionFields: function getCurrentRegionFields() {\n var a = this.currentRegion;\n return {\n isNull: this.values[a] === c,\n value: this.values[a],\n color: this.calcColor(this.values[a], a),\n offset: a\n };\n },\n calcColor: function calcColor(a, b) {\n var c = this.values,\n d = this.options,\n e = this.colorMapByIndex,\n f = this.colorMapByValue,\n g,\n h;\n return f && (h = f.get(a)) ? g = h : e && e.length > b ? g = e[b] : c[b] < 0 ? g = d.get("negBarColor") : c[b] > 0 ? g = d.get("posBarColor") : g = d.get("zeroBarColor"), g;\n },\n renderRegion: function renderRegion(a, c) {\n var d = this.values,\n e = this.options,\n f = this.target,\n g,\n h,\n i,\n j,\n k,\n l;\n g = f.pixelHeight, i = b.round(g / 2), j = a * this.totalBarWidth, d[a] < 0 ? (k = i, h = i - 1) : d[a] > 0 ? (k = 0, h = i - 1) : (k = i - 1, h = 2), l = this.calcColor(d[a], a);\n if (l === null) return;\n return c && (l = this.calcHighlightColor(l, e)), f.drawRect(j, k, this.barWidth - 1, h - 1, l, l);\n }\n }), d.fn.sparkline.discrete = A = g(d.fn.sparkline._base, w, {\n type: "discrete",\n init: function init(a, e, f, g, h) {\n A._super.init.call(this, a, e, f, g, h), this.regionShapes = {}, this.values = e = d.map(e, Number), this.min = b.min.apply(b, e), this.max = b.max.apply(b, e), this.range = this.max - this.min, this.width = g = f.get("width") === "auto" ? e.length * 2 : this.width, this.interval = b.floor(g / e.length), this.itemWidth = g / e.length, f.get("chartRangeMin") !== c && (f.get("chartRangeClip") || f.get("chartRangeMin") < this.min) && (this.min = f.get("chartRangeMin")), f.get("chartRangeMax") !== c && (f.get("chartRangeClip") || f.get("chartRangeMax") > this.max) && (this.max = f.get("chartRangeMax")), this.initTarget(), this.target && (this.lineHeight = f.get("lineHeight") === "auto" ? b.round(this.canvasHeight * .3) : f.get("lineHeight"));\n },\n getRegion: function getRegion(a, c, d) {\n return b.floor(c / this.itemWidth);\n },\n getCurrentRegionFields: function getCurrentRegionFields() {\n var a = this.currentRegion;\n return {\n isNull: this.values[a] === c,\n value: this.values[a],\n offset: a\n };\n },\n renderRegion: function renderRegion(a, c) {\n var d = this.values,\n e = this.options,\n f = this.min,\n g = this.max,\n h = this.range,\n j = this.interval,\n k = this.target,\n l = this.canvasHeight,\n m = this.lineHeight,\n n = l - m,\n o,\n p,\n q,\n r;\n return p = i(d[a], f, g), r = a * j, o = b.round(n - n * ((p - f) / h)), q = e.get("thresholdColor") && p < e.get("thresholdValue") ? e.get("thresholdColor") : e.get("lineColor"), c && (q = this.calcHighlightColor(q, e)), k.drawLine(r, o, r, o + m, q);\n }\n }), d.fn.sparkline.bullet = B = g(d.fn.sparkline._base, {\n type: "bullet",\n init: function init(a, d, e, f, g) {\n var h, i, j;\n B._super.init.call(this, a, d, e, f, g), this.values = d = l(d), j = d.slice(), j[0] = j[0] === null ? j[2] : j[0], j[1] = d[1] === null ? j[2] : j[1], h = b.min.apply(b, d), i = b.max.apply(b, d), e.get("base") === c ? h = h < 0 ? h : 0 : h = e.get("base"), this.min = h, this.max = i, this.range = i - h, this.shapes = {}, this.valueShapes = {}, this.regiondata = {}, this.width = f = e.get("width") === "auto" ? "4.0em" : f, this.target = this.$el.simpledraw(f, g, e.get("composite")), d.length || (this.disabled = !0), this.initTarget();\n },\n getRegion: function getRegion(a, b, d) {\n var e = this.target.getShapeAt(a, b, d);\n return e !== c && this.shapes[e] !== c ? this.shapes[e] : c;\n },\n getCurrentRegionFields: function getCurrentRegionFields() {\n var a = this.currentRegion;\n return {\n fieldkey: a.substr(0, 1),\n value: this.values[a.substr(1)],\n region: a\n };\n },\n changeHighlight: function changeHighlight(a) {\n var b = this.currentRegion,\n c = this.valueShapes[b],\n d;\n delete this.shapes[c];\n switch (b.substr(0, 1)) {\n case "r":\n d = this.renderRange(b.substr(1), a);\n break;\n case "p":\n d = this.renderPerformance(a);\n break;\n case "t":\n d = this.renderTarget(a);\n }\n this.valueShapes[b] = d.id, this.shapes[d.id] = b, this.target.replaceWithShape(c, d);\n },\n renderRange: function renderRange(a, c) {\n var d = this.values[a],\n e = b.round(this.canvasWidth * ((d - this.min) / this.range)),\n f = this.options.get("rangeColors")[a - 2];\n return c && (f = this.calcHighlightColor(f, this.options)), this.target.drawRect(0, 0, e - 1, this.canvasHeight - 1, f, f);\n },\n renderPerformance: function renderPerformance(a) {\n var c = this.values[1],\n d = b.round(this.canvasWidth * ((c - this.min) / this.range)),\n e = this.options.get("performanceColor");\n return a && (e = this.calcHighlightColor(e, this.options)), this.target.drawRect(0, b.round(this.canvasHeight * .3), d - 1, b.round(this.canvasHeight * .4) - 1, e, e);\n },\n renderTarget: function renderTarget(a) {\n var c = this.values[0],\n d = b.round(this.canvasWidth * ((c - this.min) / this.range) - this.options.get("targetWidth") / 2),\n e = b.round(this.canvasHeight * .1),\n f = this.canvasHeight - e * 2,\n g = this.options.get("targetColor");\n return a && (g = this.calcHighlightColor(g, this.options)), this.target.drawRect(d, e, this.options.get("targetWidth") - 1, f - 1, g, g);\n },\n render: function render() {\n var a = this.values.length,\n b = this.target,\n c,\n d;\n if (!B._super.render.call(this)) return;\n for (c = 2; c < a; c++) d = this.renderRange(c).append(), this.shapes[d.id] = "r" + c, this.valueShapes["r" + c] = d.id;\n this.values[1] !== null && (d = this.renderPerformance().append(), this.shapes[d.id] = "p1", this.valueShapes.p1 = d.id), this.values[0] !== null && (d = this.renderTarget().append(), this.shapes[d.id] = "t0", this.valueShapes.t0 = d.id), b.render();\n }\n }), d.fn.sparkline.pie = C = g(d.fn.sparkline._base, {\n type: "pie",\n init: function init(a, c, e, f, g) {\n var h = 0,\n i;\n C._super.init.call(this, a, c, e, f, g), this.shapes = {}, this.valueShapes = {}, this.values = c = d.map(c, Number), e.get("width") === "auto" && (this.width = this.height);\n if (c.length > 0) for (i = c.length; i--;) h += c[i];\n this.total = h, this.initTarget(), this.radius = b.floor(b.min(this.canvasWidth, this.canvasHeight) / 2);\n },\n getRegion: function getRegion(a, b, d) {\n var e = this.target.getShapeAt(a, b, d);\n return e !== c && this.shapes[e] !== c ? this.shapes[e] : c;\n },\n getCurrentRegionFields: function getCurrentRegionFields() {\n var a = this.currentRegion;\n return {\n isNull: this.values[a] === c,\n value: this.values[a],\n percent: this.values[a] / this.total * 100,\n color: this.options.get("sliceColors")[a % this.options.get("sliceColors").length],\n offset: a\n };\n },\n changeHighlight: function changeHighlight(a) {\n var b = this.currentRegion,\n c = this.renderSlice(b, a),\n d = this.valueShapes[b];\n delete this.shapes[d], this.target.replaceWithShape(d, c), this.valueShapes[b] = c.id, this.shapes[c.id] = b;\n },\n renderSlice: function renderSlice(a, d) {\n var e = this.target,\n f = this.options,\n g = this.radius,\n h = f.get("borderWidth"),\n i = f.get("offset"),\n j = 2 * b.PI,\n k = this.values,\n l = this.total,\n m = i ? 2 * b.PI * (i / 360) : 0,\n n,\n o,\n p,\n q,\n r;\n q = k.length;\n for (p = 0; p < q; p++) {\n n = m, o = m, l > 0 && (o = m + j * (k[p] / l));\n if (a === p) return r = f.get("sliceColors")[p % f.get("sliceColors").length], d && (r = this.calcHighlightColor(r, f)), e.drawPieSlice(g, g, g - h, n, o, c, r);\n m = o;\n }\n },\n render: function render() {\n var a = this.target,\n d = this.values,\n e = this.options,\n f = this.radius,\n g = e.get("borderWidth"),\n h,\n i;\n if (!C._super.render.call(this)) return;\n g && a.drawCircle(f, f, b.floor(f - g / 2), e.get("borderColor"), c, g).append();\n for (i = d.length; i--;) d[i] && (h = this.renderSlice(i).append(), this.valueShapes[i] = h.id, this.shapes[h.id] = i);\n a.render();\n }\n }), d.fn.sparkline.box = D = g(d.fn.sparkline._base, {\n type: "box",\n init: function init(a, b, c, e, f) {\n D._super.init.call(this, a, b, c, e, f), this.values = d.map(b, Number), this.width = c.get("width") === "auto" ? "4.0em" : e, this.initTarget(), this.values.length || (this.disabled = 1);\n },\n getRegion: function getRegion() {\n return 1;\n },\n getCurrentRegionFields: function getCurrentRegionFields() {\n var a = [{\n field: "lq",\n value: this.quartiles[0]\n }, {\n field: "med",\n value: this.quartiles[1]\n }, {\n field: "uq",\n value: this.quartiles[2]\n }];\n return this.loutlier !== c && a.push({\n field: "lo",\n value: this.loutlier\n }), this.routlier !== c && a.push({\n field: "ro",\n value: this.routlier\n }), this.lwhisker !== c && a.push({\n field: "lw",\n value: this.lwhisker\n }), this.rwhisker !== c && a.push({\n field: "rw",\n value: this.rwhisker\n }), a;\n },\n render: function render() {\n var a = this.target,\n d = this.values,\n e = d.length,\n f = this.options,\n g = this.canvasWidth,\n h = this.canvasHeight,\n i = f.get("chartRangeMin") === c ? b.min.apply(b, d) : f.get("chartRangeMin"),\n k = f.get("chartRangeMax") === c ? b.max.apply(b, d) : f.get("chartRangeMax"),\n l = 0,\n m,\n n,\n o,\n p,\n q,\n r,\n s,\n t,\n u,\n v,\n w;\n if (!D._super.render.call(this)) return;\n if (f.get("raw")) f.get("showOutliers") && d.length > 5 ? (n = d[0], m = d[1], p = d[2], q = d[3], r = d[4], s = d[5], t = d[6]) : (m = d[0], p = d[1], q = d[2], r = d[3], s = d[4]);else {\n d.sort(function (a, b) {\n return a - b;\n }), p = j(d, 1), q = j(d, 2), r = j(d, 3), o = r - p;\n if (f.get("showOutliers")) {\n m = s = c;\n for (u = 0; u < e; u++) m === c && d[u] > p - o * f.get("outlierIQR") && (m = d[u]), d[u] < r + o * f.get("outlierIQR") && (s = d[u]);\n n = d[0], t = d[e - 1];\n } else m = d[0], s = d[e - 1];\n }\n this.quartiles = [p, q, r], this.lwhisker = m, this.rwhisker = s, this.loutlier = n, this.routlier = t, w = g / (k - i + 1), f.get("showOutliers") && (l = b.ceil(f.get("spotRadius")), g -= 2 * b.ceil(f.get("spotRadius")), w = g / (k - i + 1), n < m && a.drawCircle((n - i) * w + l, h / 2, f.get("spotRadius"), f.get("outlierLineColor"), f.get("outlierFillColor")).append(), t > s && a.drawCircle((t - i) * w + l, h / 2, f.get("spotRadius"), f.get("outlierLineColor"), f.get("outlierFillColor")).append()), a.drawRect(b.round((p - i) * w + l), b.round(h * .1), b.round((r - p) * w), b.round(h * .8), f.get("boxLineColor"), f.get("boxFillColor")).append(), a.drawLine(b.round((m - i) * w + l), b.round(h / 2), b.round((p - i) * w + l), b.round(h / 2), f.get("lineColor")).append(), a.drawLine(b.round((m - i) * w + l), b.round(h / 4), b.round((m - i) * w + l), b.round(h - h / 4), f.get("whiskerColor")).append(), a.drawLine(b.round((s - i) * w + l), b.round(h / 2), b.round((r - i) * w + l), b.round(h / 2), f.get("lineColor")).append(), a.drawLine(b.round((s - i) * w + l), b.round(h / 4), b.round((s - i) * w + l), b.round(h - h / 4), f.get("whiskerColor")).append(), a.drawLine(b.round((q - i) * w + l), b.round(h * .1), b.round((q - i) * w + l), b.round(h * .9), f.get("medianColor")).append(), f.get("target") && (v = b.ceil(f.get("spotRadius")), a.drawLine(b.round((f.get("target") - i) * w + l), b.round(h / 2 - v), b.round((f.get("target") - i) * w + l), b.round(h / 2 + v), f.get("targetColor")).append(), a.drawLine(b.round((f.get("target") - i) * w + l - v), b.round(h / 2), b.round((f.get("target") - i) * w + l + v), b.round(h / 2), f.get("targetColor")).append()), a.render();\n }\n }), G = g({\n init: function init(a, b, c, d) {\n this.target = a, this.id = b, this.type = c, this.args = d;\n },\n append: function append() {\n return this.target.appendShape(this), this;\n }\n }), H = g({\n _pxregex: /(\\d+)(px)?\\s*$/i,\n init: function init(a, b, c) {\n if (!a) return;\n this.width = a, this.height = b, this.target = c, this.lastShapeId = null, c[0] && (c = c[0]), d.data(c, "_jqs_vcanvas", this);\n },\n drawLine: function drawLine(a, b, c, d, e, f) {\n return this.drawShape([[a, b], [c, d]], e, f);\n },\n drawShape: function drawShape(a, b, c, d) {\n return this._genShape("Shape", [a, b, c, d]);\n },\n drawCircle: function drawCircle(a, b, c, d, e, f) {\n return this._genShape("Circle", [a, b, c, d, e, f]);\n },\n drawPieSlice: function drawPieSlice(a, b, c, d, e, f, g) {\n return this._genShape("PieSlice", [a, b, c, d, e, f, g]);\n },\n drawRect: function drawRect(a, b, c, d, e, f) {\n return this._genShape("Rect", [a, b, c, d, e, f]);\n },\n getElement: function getElement() {\n return this.canvas;\n },\n getLastShapeId: function getLastShapeId() {\n return this.lastShapeId;\n },\n reset: function reset() {\n alert("reset not implemented");\n },\n _insert: function _insert(a, b) {\n d(b).html(a);\n },\n _calculatePixelDims: function _calculatePixelDims(a, b, c) {\n var e;\n e = this._pxregex.exec(b), e ? this.pixelHeight = e[1] : this.pixelHeight = d(c).height(), e = this._pxregex.exec(a), e ? this.pixelWidth = e[1] : this.pixelWidth = d(c).width();\n },\n _genShape: function _genShape(a, b) {\n var c = L++;\n return b.unshift(c), new G(this, c, a, b);\n },\n appendShape: function appendShape(a) {\n alert("appendShape not implemented");\n },\n replaceWithShape: function replaceWithShape(a, b) {\n alert("replaceWithShape not implemented");\n },\n insertAfterShape: function insertAfterShape(a, b) {\n alert("insertAfterShape not implemented");\n },\n removeShapeId: function removeShapeId(a) {\n alert("removeShapeId not implemented");\n },\n getShapeAt: function getShapeAt(a, b, c) {\n alert("getShapeAt not implemented");\n },\n render: function render() {\n alert("render not implemented");\n }\n }), I = g(H, {\n init: function init(b, e, f, g) {\n I._super.init.call(this, b, e, f), this.canvas = a.createElement("canvas"), f[0] && (f = f[0]), d.data(f, "_jqs_vcanvas", this), d(this.canvas).css({\n display: "inline-block",\n width: b,\n height: e,\n verticalAlign: "top"\n }), this._insert(this.canvas, f), this._calculatePixelDims(b, e, this.canvas), this.canvas.width = this.pixelWidth, this.canvas.height = this.pixelHeight, this.interact = g, this.shapes = {}, this.shapeseq = [], this.currentTargetShapeId = c, d(this.canvas).css({\n width: this.pixelWidth,\n height: this.pixelHeight\n });\n },\n _getContext: function _getContext(a, b, d) {\n var e = this.canvas.getContext("2d");\n return a !== c && (e.strokeStyle = a), e.lineWidth = d === c ? 1 : d, b !== c && (e.fillStyle = b), e;\n },\n reset: function reset() {\n var a = this._getContext();\n a.clearRect(0, 0, this.pixelWidth, this.pixelHeight), this.shapes = {}, this.shapeseq = [], this.currentTargetShapeId = c;\n },\n _drawShape: function _drawShape(a, b, d, e, f) {\n var g = this._getContext(d, e, f),\n h,\n i;\n g.beginPath(), g.moveTo(b[0][0] + .5, b[0][1] + .5);\n for (h = 1, i = b.length; h < i; h++) g.lineTo(b[h][0] + .5, b[h][1] + .5);\n d !== c && g.stroke(), e !== c && g.fill(), this.targetX !== c && this.targetY !== c && g.isPointInPath(this.targetX, this.targetY) && (this.currentTargetShapeId = a);\n },\n _drawCircle: function _drawCircle(a, d, e, f, g, h, i) {\n var j = this._getContext(g, h, i);\n j.beginPath(), j.arc(d, e, f, 0, 2 * b.PI, !1), this.targetX !== c && this.targetY !== c && j.isPointInPath(this.targetX, this.targetY) && (this.currentTargetShapeId = a), g !== c && j.stroke(), h !== c && j.fill();\n },\n _drawPieSlice: function _drawPieSlice(a, b, d, e, f, g, h, i) {\n var j = this._getContext(h, i);\n j.beginPath(), j.moveTo(b, d), j.arc(b, d, e, f, g, !1), j.lineTo(b, d), j.closePath(), h !== c && j.stroke(), i && j.fill(), this.targetX !== c && this.targetY !== c && j.isPointInPath(this.targetX, this.targetY) && (this.currentTargetShapeId = a);\n },\n _drawRect: function _drawRect(a, b, c, d, e, f, g) {\n return this._drawShape(a, [[b, c], [b + d, c], [b + d, c + e], [b, c + e], [b, c]], f, g);\n },\n appendShape: function appendShape(a) {\n return this.shapes[a.id] = a, this.shapeseq.push(a.id), this.lastShapeId = a.id, a.id;\n },\n replaceWithShape: function replaceWithShape(a, b) {\n var c = this.shapeseq,\n d;\n this.shapes[b.id] = b;\n for (d = c.length; d--;) c[d] == a && (c[d] = b.id);\n delete this.shapes[a];\n },\n replaceWithShapes: function replaceWithShapes(a, b) {\n var c = this.shapeseq,\n d = {},\n e,\n f,\n g;\n for (f = a.length; f--;) d[a[f]] = !0;\n for (f = c.length; f--;) e = c[f], d[e] && (c.splice(f, 1), delete this.shapes[e], g = f);\n for (f = b.length; f--;) c.splice(g, 0, b[f].id), this.shapes[b[f].id] = b[f];\n },\n insertAfterShape: function insertAfterShape(a, b) {\n var c = this.shapeseq,\n d;\n for (d = c.length; d--;) if (c[d] === a) {\n c.splice(d + 1, 0, b.id), this.shapes[b.id] = b;\n return;\n }\n },\n removeShapeId: function removeShapeId(a) {\n var b = this.shapeseq,\n c;\n for (c = b.length; c--;) if (b[c] === a) {\n b.splice(c, 1);\n break;\n }\n delete this.shapes[a];\n },\n getShapeAt: function getShapeAt(a, b, c) {\n return this.targetX = b, this.targetY = c, this.render(), this.currentTargetShapeId;\n },\n render: function render() {\n var a = this.shapeseq,\n b = this.shapes,\n c = a.length,\n d = this._getContext(),\n e,\n f,\n g;\n d.clearRect(0, 0, this.pixelWidth, this.pixelHeight);\n for (g = 0; g < c; g++) e = a[g], f = b[e], this["_draw" + f.type].apply(this, f.args);\n this.interact || (this.shapes = {}, this.shapeseq = []);\n }\n }), J = g(H, {\n init: function init(b, c, e) {\n var f;\n J._super.init.call(this, b, c, e), e[0] && (e = e[0]), d.data(e, "_jqs_vcanvas", this), this.canvas = a.createElement("span"), d(this.canvas).css({\n display: "inline-block",\n position: "relative",\n overflow: "hidden",\n width: b,\n height: c,\n margin: "0px",\n padding: "0px",\n verticalAlign: "top"\n }), this._insert(this.canvas, e), this._calculatePixelDims(b, c, this.canvas), this.canvas.width = this.pixelWidth, this.canvas.height = this.pixelHeight, f = \'<v:group coordorigin="0 0" coordsize="\' + this.pixelWidth + " " + this.pixelHeight + \'"\' + \' style="position:absolute;top:0;left:0;width:\' + this.pixelWidth + "px;height=" + this.pixelHeight + \'px;"></v:group>\', this.canvas.insertAdjacentHTML("beforeEnd", f), this.group = d(this.canvas).children()[0], this.rendered = !1, this.prerender = "";\n },\n _drawShape: function _drawShape(a, b, d, e, f) {\n var g = [],\n h,\n i,\n j,\n k,\n l,\n m,\n n;\n for (n = 0, m = b.length; n < m; n++) g[n] = "" + b[n][0] + "," + b[n][1];\n return h = g.splice(0, 1), f = f === c ? 1 : f, i = d === c ? \' stroked="false" \' : \' strokeWeight="\' + f + \'px" strokeColor="\' + d + \'" \', j = e === c ? \' filled="false"\' : \' fillColor="\' + e + \'" filled="true" \', k = g[0] === g[g.length - 1] ? "x " : "", l = \'<v:shape coordorigin="0 0" coordsize="\' + this.pixelWidth + " " + this.pixelHeight + \'" \' + \' id="jqsshape\' + a + \'" \' + i + j + \' style="position:absolute;left:0px;top:0px;height:\' + this.pixelHeight + "px;width:" + this.pixelWidth + \'px;padding:0px;margin:0px;" \' + \' path="m \' + h + " l " + g.join(", ") + " " + k + \'e">\' + " </v:shape>", l;\n },\n _drawCircle: function _drawCircle(a, b, d, e, f, g, h) {\n var i, j, k;\n return b -= e, d -= e, i = f === c ? \' stroked="false" \' : \' strokeWeight="\' + h + \'px" strokeColor="\' + f + \'" \', j = g === c ? \' filled="false"\' : \' fillColor="\' + g + \'" filled="true" \', k = \'<v:oval id="jqsshape\' + a + \'" \' + i + j + \' style="position:absolute;top:\' + d + "px; left:" + b + "px; width:" + e * 2 + "px; height:" + e * 2 + \'px"></v:oval>\', k;\n },\n _drawPieSlice: function _drawPieSlice(a, d, e, f, g, h, i, j) {\n var k, l, m, n, o, p, q, r;\n if (g === h) return "";\n h - g === 2 * b.PI && (g = 0, h = 2 * b.PI), l = d + b.round(b.cos(g) * f), m = e + b.round(b.sin(g) * f), n = d + b.round(b.cos(h) * f), o = e + b.round(b.sin(h) * f);\n if (l === n && m === o) {\n if (h - g < b.PI) return "";\n l = n = d + f, m = o = e;\n }\n return l === n && m === o && h - g < b.PI ? "" : (k = [d - f, e - f, d + f, e + f, l, m, n, o], p = i === c ? \' stroked="false" \' : \' strokeWeight="1px" strokeColor="\' + i + \'" \', q = j === c ? \' filled="false"\' : \' fillColor="\' + j + \'" filled="true" \', r = \'<v:shape coordorigin="0 0" coordsize="\' + this.pixelWidth + " " + this.pixelHeight + \'" \' + \' id="jqsshape\' + a + \'" \' + p + q + \' style="position:absolute;left:0px;top:0px;height:\' + this.pixelHeight + "px;width:" + this.pixelWidth + \'px;padding:0px;margin:0px;" \' + \' path="m \' + d + "," + e + " wa " + k.join(", ") + \' x e">\' + " </v:shape>", r);\n },\n _drawRect: function _drawRect(a, b, c, d, e, f, g) {\n return this._drawShape(a, [[b, c], [b, c + e], [b + d, c + e], [b + d, c], [b, c]], f, g);\n },\n reset: function reset() {\n this.group.innerHTML = "";\n },\n appendShape: function appendShape(a) {\n var b = this["_draw" + a.type].apply(this, a.args);\n return this.rendered ? this.group.insertAdjacentHTML("beforeEnd", b) : this.prerender += b, this.lastShapeId = a.id, a.id;\n },\n replaceWithShape: function replaceWithShape(a, b) {\n var c = d("#jqsshape" + a),\n e = this["_draw" + b.type].apply(this, b.args);\n c[0].outerHTML = e;\n },\n replaceWithShapes: function replaceWithShapes(a, b) {\n var c = d("#jqsshape" + a[0]),\n e = "",\n f = b.length,\n g;\n for (g = 0; g < f; g++) e += this["_draw" + b[g].type].apply(this, b[g].args);\n c[0].outerHTML = e;\n for (g = 1; g < a.length; g++) d("#jqsshape" + a[g]).remove();\n },\n insertAfterShape: function insertAfterShape(a, b) {\n var c = d("#jqsshape" + a),\n e = this["_draw" + b.type].apply(this, b.args);\n c[0].insertAdjacentHTML("afterEnd", e);\n },\n removeShapeId: function removeShapeId(a) {\n var b = d("#jqsshape" + a);\n this.group.removeChild(b[0]);\n },\n getShapeAt: function getShapeAt(a, b, c) {\n var d = a.id.substr(8);\n return d;\n },\n render: function render() {\n this.rendered || (this.group.innerHTML = this.prerender, this.rendered = !0);\n }\n });\n });\n})(document, Math);\n\n//# sourceURL=webpack://qcell-react/./src/QCELL/lib/jquery/plugins/jquery.sparkline.min.js?')}}]);
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see src_QCELL_lib_jquery_plugins_jquery_touchSwipe_min_js.331c328f8fdf833e1aac.js.LICENSE.txt */
|
|
2
|
-
(this.webpackChunkqcell_react=this.webpackChunkqcell_react||[]).push([["src_QCELL_lib_jquery_plugins_jquery_touchSwipe_min_js"],{"./src/QCELL/lib/jquery/plugins/jquery.touchSwipe.min.js":(module,exports,__webpack_require__)=>{eval('var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }\n/*!\r\n * @fileOverview TouchSwipe - jQuery Plugin\r\n * @version 1.6.18\r\n *\r\n * @author Matt Bryson http://www.github.com/mattbryson\r\n * @see https://github.com/mattbryson/TouchSwipe-Jquery-Plugin\r\n * @see http://labs.rampinteractive.co.uk/touchSwipe/\r\n * @see http://plugins.jquery.com/project/touchSwipe\r\n * @license\r\n * Copyright (c) 2010-2015 Matt Bryson\r\n * Dual licensed under the MIT or GPL Version 2 licenses.\r\n *\r\n */\n!function (factory) {\n true && __webpack_require__.amdO.jQuery ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! jquery */ "./node_modules/jquery/dist/jquery.js")], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === \'function\' ?\n\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : factory( true && module.exports ? __webpack_require__(/*! jquery */ "./node_modules/jquery/dist/jquery.js") : jQuery);\n}(function ($) {\n "use strict";\n\n function init(options) {\n return !options || void 0 !== options.allowPageScroll || void 0 === options.swipe && void 0 === options.swipeStatus || (options.allowPageScroll = NONE), void 0 !== options.click && void 0 === options.tap && (options.tap = options.click), options || (options = {}), options = $.extend({}, $.fn.swipe.defaults, options), this.each(function () {\n var $this = $(this),\n plugin = $this.data(PLUGIN_NS);\n plugin || (plugin = new TouchSwipe(this, options), $this.data(PLUGIN_NS, plugin));\n });\n }\n function TouchSwipe(element, options) {\n function touchStart(jqEvent) {\n if (!(getTouchInProgress() || $(jqEvent.target).closest(options.excludedElements, $element).length > 0)) {\n var event = jqEvent.originalEvent ? jqEvent.originalEvent : jqEvent;\n if (!event.pointerType || "mouse" != event.pointerType || 0 != options.fallbackToMouseEvents) {\n var ret,\n touches = event.touches,\n evt = touches ? touches[0] : event;\n return phase = PHASE_START, touches ? fingerCount = touches.length : options.preventDefaultEvents !== !1 && jqEvent.preventDefault(), distance = 0, direction = null, currentDirection = null, pinchDirection = null, duration = 0, startTouchesDistance = 0, endTouchesDistance = 0, pinchZoom = 1, pinchDistance = 0, maximumsMap = createMaximumsData(), cancelMultiFingerRelease(), createFingerData(0, evt), !touches || fingerCount === options.fingers || options.fingers === ALL_FINGERS || hasPinches() ? (startTime = getTimeStamp(), 2 == fingerCount && (createFingerData(1, touches[1]), startTouchesDistance = endTouchesDistance = calculateTouchesDistance(fingerData[0].start, fingerData[1].start)), (options.swipeStatus || options.pinchStatus) && (ret = triggerHandler(event, phase))) : ret = !1, ret === !1 ? (phase = PHASE_CANCEL, triggerHandler(event, phase), ret) : (options.hold && (holdTimeout = setTimeout($.proxy(function () {\n $element.trigger("hold", [event.target]), options.hold && (ret = options.hold.call($element, event, event.target));\n }, this), options.longTapThreshold)), setTouchInProgress(!0), null);\n }\n }\n }\n function touchMove(jqEvent) {\n var event = jqEvent.originalEvent ? jqEvent.originalEvent : jqEvent;\n if (phase !== PHASE_END && phase !== PHASE_CANCEL && !inMultiFingerRelease()) {\n var ret,\n touches = event.touches,\n evt = touches ? touches[0] : event,\n currentFinger = updateFingerData(evt);\n if (endTime = getTimeStamp(), touches && (fingerCount = touches.length), options.hold && clearTimeout(holdTimeout), phase = PHASE_MOVE, 2 == fingerCount && (0 == startTouchesDistance ? (createFingerData(1, touches[1]), startTouchesDistance = endTouchesDistance = calculateTouchesDistance(fingerData[0].start, fingerData[1].start)) : (updateFingerData(touches[1]), endTouchesDistance = calculateTouchesDistance(fingerData[0].end, fingerData[1].end), pinchDirection = calculatePinchDirection(fingerData[0].end, fingerData[1].end)), pinchZoom = calculatePinchZoom(startTouchesDistance, endTouchesDistance), pinchDistance = Math.abs(startTouchesDistance - endTouchesDistance)), fingerCount === options.fingers || options.fingers === ALL_FINGERS || !touches || hasPinches()) {\n if (direction = calculateDirection(currentFinger.start, currentFinger.end), currentDirection = calculateDirection(currentFinger.last, currentFinger.end), validateDefaultEvent(jqEvent, currentDirection), distance = calculateDistance(currentFinger.start, currentFinger.end), duration = calculateDuration(), setMaxDistance(direction, distance), ret = triggerHandler(event, phase), !options.triggerOnTouchEnd || options.triggerOnTouchLeave) {\n var inBounds = !0;\n if (options.triggerOnTouchLeave) {\n var bounds = getbounds(this);\n inBounds = isInBounds(currentFinger.end, bounds);\n }\n !options.triggerOnTouchEnd && inBounds ? phase = getNextPhase(PHASE_MOVE) : options.triggerOnTouchLeave && !inBounds && (phase = getNextPhase(PHASE_END)), phase != PHASE_CANCEL && phase != PHASE_END || triggerHandler(event, phase);\n }\n } else phase = PHASE_CANCEL, triggerHandler(event, phase);\n ret === !1 && (phase = PHASE_CANCEL, triggerHandler(event, phase));\n }\n }\n function touchEnd(jqEvent) {\n var event = jqEvent.originalEvent ? jqEvent.originalEvent : jqEvent,\n touches = event.touches;\n if (touches) {\n if (touches.length && !inMultiFingerRelease()) return startMultiFingerRelease(event), !0;\n if (touches.length && inMultiFingerRelease()) return !0;\n }\n return inMultiFingerRelease() && (fingerCount = fingerCountAtRelease), endTime = getTimeStamp(), duration = calculateDuration(), didSwipeBackToCancel() || !validateSwipeDistance() ? (phase = PHASE_CANCEL, triggerHandler(event, phase)) : options.triggerOnTouchEnd || options.triggerOnTouchEnd === !1 && phase === PHASE_MOVE ? (options.preventDefaultEvents !== !1 && jqEvent.cancelable !== !1 && jqEvent.preventDefault(), phase = PHASE_END, triggerHandler(event, phase)) : !options.triggerOnTouchEnd && hasTap() ? (phase = PHASE_END, triggerHandlerForGesture(event, phase, TAP)) : phase === PHASE_MOVE && (phase = PHASE_CANCEL, triggerHandler(event, phase)), setTouchInProgress(!1), null;\n }\n function touchCancel() {\n fingerCount = 0, endTime = 0, startTime = 0, startTouchesDistance = 0, endTouchesDistance = 0, pinchZoom = 1, cancelMultiFingerRelease(), setTouchInProgress(!1);\n }\n function touchLeave(jqEvent) {\n var event = jqEvent.originalEvent ? jqEvent.originalEvent : jqEvent;\n options.triggerOnTouchLeave && (phase = getNextPhase(PHASE_END), triggerHandler(event, phase));\n }\n function removeListeners() {\n $element.off(START_EV, touchStart), $element.off(CANCEL_EV, touchCancel), $element.off(MOVE_EV, touchMove), $element.off(END_EV, touchEnd), LEAVE_EV && $element.off(LEAVE_EV, touchLeave), setTouchInProgress(!1);\n }\n function getNextPhase(currentPhase) {\n var nextPhase = currentPhase,\n validTime = validateSwipeTime(),\n validDistance = validateSwipeDistance(),\n didCancel = didSwipeBackToCancel();\n return !validTime || didCancel ? nextPhase = PHASE_CANCEL : !validDistance || currentPhase != PHASE_MOVE || options.triggerOnTouchEnd && !options.triggerOnTouchLeave ? !validDistance && currentPhase == PHASE_END && options.triggerOnTouchLeave && (nextPhase = PHASE_CANCEL) : nextPhase = PHASE_END, nextPhase;\n }\n function triggerHandler(event, phase) {\n var ret,\n touches = event.touches;\n return (didSwipe() || hasSwipes()) && (ret = triggerHandlerForGesture(event, phase, SWIPE)), (didPinch() || hasPinches()) && ret !== !1 && (ret = triggerHandlerForGesture(event, phase, PINCH)), didDoubleTap() && ret !== !1 ? ret = triggerHandlerForGesture(event, phase, DOUBLE_TAP) : didLongTap() && ret !== !1 ? ret = triggerHandlerForGesture(event, phase, LONG_TAP) : didTap() && ret !== !1 && (ret = triggerHandlerForGesture(event, phase, TAP)), phase === PHASE_CANCEL && touchCancel(event), phase === PHASE_END && (touches ? touches.length || touchCancel(event) : touchCancel(event)), ret;\n }\n function triggerHandlerForGesture(event, phase, gesture) {\n var ret;\n if (gesture == SWIPE) {\n if ($element.trigger("swipeStatus", [phase, direction || null, distance || 0, duration || 0, fingerCount, fingerData, currentDirection]), options.swipeStatus && (ret = options.swipeStatus.call($element, event, phase, direction || null, distance || 0, duration || 0, fingerCount, fingerData, currentDirection), ret === !1)) return !1;\n if (phase == PHASE_END && validateSwipe()) {\n if (clearTimeout(singleTapTimeout), clearTimeout(holdTimeout), $element.trigger("swipe", [direction, distance, duration, fingerCount, fingerData, currentDirection]), options.swipe && (ret = options.swipe.call($element, event, direction, distance, duration, fingerCount, fingerData, currentDirection), ret === !1)) return !1;\n switch (direction) {\n case LEFT:\n $element.trigger("swipeLeft", [direction, distance, duration, fingerCount, fingerData, currentDirection]), options.swipeLeft && (ret = options.swipeLeft.call($element, event, direction, distance, duration, fingerCount, fingerData, currentDirection));\n break;\n case RIGHT:\n $element.trigger("swipeRight", [direction, distance, duration, fingerCount, fingerData, currentDirection]), options.swipeRight && (ret = options.swipeRight.call($element, event, direction, distance, duration, fingerCount, fingerData, currentDirection));\n break;\n case UP:\n $element.trigger("swipeUp", [direction, distance, duration, fingerCount, fingerData, currentDirection]), options.swipeUp && (ret = options.swipeUp.call($element, event, direction, distance, duration, fingerCount, fingerData, currentDirection));\n break;\n case DOWN:\n $element.trigger("swipeDown", [direction, distance, duration, fingerCount, fingerData, currentDirection]), options.swipeDown && (ret = options.swipeDown.call($element, event, direction, distance, duration, fingerCount, fingerData, currentDirection));\n }\n }\n }\n if (gesture == PINCH) {\n if ($element.trigger("pinchStatus", [phase, pinchDirection || null, pinchDistance || 0, duration || 0, fingerCount, pinchZoom, fingerData]), options.pinchStatus && (ret = options.pinchStatus.call($element, event, phase, pinchDirection || null, pinchDistance || 0, duration || 0, fingerCount, pinchZoom, fingerData), ret === !1)) return !1;\n if (phase == PHASE_END && validatePinch()) switch (pinchDirection) {\n case IN:\n $element.trigger("pinchIn", [pinchDirection || null, pinchDistance || 0, duration || 0, fingerCount, pinchZoom, fingerData]), options.pinchIn && (ret = options.pinchIn.call($element, event, pinchDirection || null, pinchDistance || 0, duration || 0, fingerCount, pinchZoom, fingerData));\n break;\n case OUT:\n $element.trigger("pinchOut", [pinchDirection || null, pinchDistance || 0, duration || 0, fingerCount, pinchZoom, fingerData]), options.pinchOut && (ret = options.pinchOut.call($element, event, pinchDirection || null, pinchDistance || 0, duration || 0, fingerCount, pinchZoom, fingerData));\n }\n }\n return gesture == TAP ? phase !== PHASE_CANCEL && phase !== PHASE_END || (clearTimeout(singleTapTimeout), clearTimeout(holdTimeout), hasDoubleTap() && !inDoubleTap() ? (doubleTapStartTime = getTimeStamp(), singleTapTimeout = setTimeout($.proxy(function () {\n doubleTapStartTime = null, $element.trigger("tap", [event.target]), options.tap && (ret = options.tap.call($element, event, event.target));\n }, this), options.doubleTapThreshold)) : (doubleTapStartTime = null, $element.trigger("tap", [event.target]), options.tap && (ret = options.tap.call($element, event, event.target)))) : gesture == DOUBLE_TAP ? phase !== PHASE_CANCEL && phase !== PHASE_END || (clearTimeout(singleTapTimeout), clearTimeout(holdTimeout), doubleTapStartTime = null, $element.trigger("doubletap", [event.target]), options.doubleTap && (ret = options.doubleTap.call($element, event, event.target))) : gesture == LONG_TAP && (phase !== PHASE_CANCEL && phase !== PHASE_END || (clearTimeout(singleTapTimeout), doubleTapStartTime = null, $element.trigger("longtap", [event.target]), options.longTap && (ret = options.longTap.call($element, event, event.target)))), ret;\n }\n function validateSwipeDistance() {\n var valid = !0;\n return null !== options.threshold && (valid = distance >= options.threshold), valid;\n }\n function didSwipeBackToCancel() {\n var cancelled = !1;\n return null !== options.cancelThreshold && null !== direction && (cancelled = getMaxDistance(direction) - distance >= options.cancelThreshold), cancelled;\n }\n function validatePinchDistance() {\n return null !== options.pinchThreshold ? pinchDistance >= options.pinchThreshold : !0;\n }\n function validateSwipeTime() {\n var result;\n return result = options.maxTimeThreshold ? !(duration >= options.maxTimeThreshold) : !0;\n }\n function validateDefaultEvent(jqEvent, direction) {\n if (options.preventDefaultEvents !== !1) if (options.allowPageScroll === NONE) jqEvent.preventDefault();else {\n var auto = options.allowPageScroll === AUTO;\n switch (direction) {\n case LEFT:\n (options.swipeLeft && auto || !auto && options.allowPageScroll != HORIZONTAL) && jqEvent.preventDefault();\n break;\n case RIGHT:\n (options.swipeRight && auto || !auto && options.allowPageScroll != HORIZONTAL) && jqEvent.preventDefault();\n break;\n case UP:\n (options.swipeUp && auto || !auto && options.allowPageScroll != VERTICAL) && jqEvent.preventDefault();\n break;\n case DOWN:\n (options.swipeDown && auto || !auto && options.allowPageScroll != VERTICAL) && jqEvent.preventDefault();\n break;\n case NONE:\n }\n }\n }\n function validatePinch() {\n var hasCorrectFingerCount = validateFingers(),\n hasEndPoint = validateEndPoint(),\n hasCorrectDistance = validatePinchDistance();\n return hasCorrectFingerCount && hasEndPoint && hasCorrectDistance;\n }\n function hasPinches() {\n return !!(options.pinchStatus || options.pinchIn || options.pinchOut);\n }\n function didPinch() {\n return !(!validatePinch() || !hasPinches());\n }\n function validateSwipe() {\n var hasValidTime = validateSwipeTime(),\n hasValidDistance = validateSwipeDistance(),\n hasCorrectFingerCount = validateFingers(),\n hasEndPoint = validateEndPoint(),\n didCancel = didSwipeBackToCancel(),\n valid = !didCancel && hasEndPoint && hasCorrectFingerCount && hasValidDistance && hasValidTime;\n return valid;\n }\n function hasSwipes() {\n return !!(options.swipe || options.swipeStatus || options.swipeLeft || options.swipeRight || options.swipeUp || options.swipeDown);\n }\n function didSwipe() {\n return !(!validateSwipe() || !hasSwipes());\n }\n function validateFingers() {\n return fingerCount === options.fingers || options.fingers === ALL_FINGERS || !SUPPORTS_TOUCH;\n }\n function validateEndPoint() {\n return 0 !== fingerData[0].end.x;\n }\n function hasTap() {\n return !!options.tap;\n }\n function hasDoubleTap() {\n return !!options.doubleTap;\n }\n function hasLongTap() {\n return !!options.longTap;\n }\n function validateDoubleTap() {\n if (null == doubleTapStartTime) return !1;\n var now = getTimeStamp();\n return hasDoubleTap() && now - doubleTapStartTime <= options.doubleTapThreshold;\n }\n function inDoubleTap() {\n return validateDoubleTap();\n }\n function validateTap() {\n return (1 === fingerCount || !SUPPORTS_TOUCH) && (isNaN(distance) || distance < options.threshold);\n }\n function validateLongTap() {\n return duration > options.longTapThreshold && DOUBLE_TAP_THRESHOLD > distance;\n }\n function didTap() {\n return !(!validateTap() || !hasTap());\n }\n function didDoubleTap() {\n return !(!validateDoubleTap() || !hasDoubleTap());\n }\n function didLongTap() {\n return !(!validateLongTap() || !hasLongTap());\n }\n function startMultiFingerRelease(event) {\n previousTouchEndTime = getTimeStamp(), fingerCountAtRelease = event.touches.length + 1;\n }\n function cancelMultiFingerRelease() {\n previousTouchEndTime = 0, fingerCountAtRelease = 0;\n }\n function inMultiFingerRelease() {\n var withinThreshold = !1;\n if (previousTouchEndTime) {\n var diff = getTimeStamp() - previousTouchEndTime;\n diff <= options.fingerReleaseThreshold && (withinThreshold = !0);\n }\n return withinThreshold;\n }\n function getTouchInProgress() {\n return !($element.data(PLUGIN_NS + "_intouch") !== !0);\n }\n function setTouchInProgress(val) {\n $element && (val === !0 ? ($element.on(MOVE_EV, touchMove), $element.on(END_EV, touchEnd), LEAVE_EV && $element.on(LEAVE_EV, touchLeave)) : ($element.off(MOVE_EV, touchMove, !1), $element.off(END_EV, touchEnd, !1), LEAVE_EV && $element.off(LEAVE_EV, touchLeave, !1)), $element.data(PLUGIN_NS + "_intouch", val === !0));\n }\n function createFingerData(id, evt) {\n var f = {\n start: {\n x: 0,\n y: 0\n },\n last: {\n x: 0,\n y: 0\n },\n end: {\n x: 0,\n y: 0\n }\n };\n return f.start.x = f.last.x = f.end.x = evt.pageX || evt.clientX, f.start.y = f.last.y = f.end.y = evt.pageY || evt.clientY, fingerData[id] = f, f;\n }\n function updateFingerData(evt) {\n var id = void 0 !== evt.identifier ? evt.identifier : 0,\n f = getFingerData(id);\n return null === f && (f = createFingerData(id, evt)), f.last.x = f.end.x, f.last.y = f.end.y, f.end.x = evt.pageX || evt.clientX, f.end.y = evt.pageY || evt.clientY, f;\n }\n function getFingerData(id) {\n return fingerData[id] || null;\n }\n function setMaxDistance(direction, distance) {\n direction != NONE && (distance = Math.max(distance, getMaxDistance(direction)), maximumsMap[direction].distance = distance);\n }\n function getMaxDistance(direction) {\n return maximumsMap[direction] ? maximumsMap[direction].distance : void 0;\n }\n function createMaximumsData() {\n var maxData = {};\n return maxData[LEFT] = createMaximumVO(LEFT), maxData[RIGHT] = createMaximumVO(RIGHT), maxData[UP] = createMaximumVO(UP), maxData[DOWN] = createMaximumVO(DOWN), maxData;\n }\n function createMaximumVO(dir) {\n return {\n direction: dir,\n distance: 0\n };\n }\n function calculateDuration() {\n return endTime - startTime;\n }\n function calculateTouchesDistance(startPoint, endPoint) {\n var diffX = Math.abs(startPoint.x - endPoint.x),\n diffY = Math.abs(startPoint.y - endPoint.y);\n return Math.round(Math.sqrt(diffX * diffX + diffY * diffY));\n }\n function calculatePinchZoom(startDistance, endDistance) {\n var percent = endDistance / startDistance * 1;\n return percent.toFixed(2);\n }\n function calculatePinchDirection() {\n return 1 > pinchZoom ? OUT : IN;\n }\n function calculateDistance(startPoint, endPoint) {\n return Math.round(Math.sqrt(Math.pow(endPoint.x - startPoint.x, 2) + Math.pow(endPoint.y - startPoint.y, 2)));\n }\n function calculateAngle(startPoint, endPoint) {\n var x = startPoint.x - endPoint.x,\n y = endPoint.y - startPoint.y,\n r = Math.atan2(y, x),\n angle = Math.round(180 * r / Math.PI);\n return 0 > angle && (angle = 360 - Math.abs(angle)), angle;\n }\n function calculateDirection(startPoint, endPoint) {\n if (comparePoints(startPoint, endPoint)) return NONE;\n var angle = calculateAngle(startPoint, endPoint);\n return 45 >= angle && angle >= 0 ? LEFT : 360 >= angle && angle >= 315 ? LEFT : angle >= 135 && 225 >= angle ? RIGHT : angle > 45 && 135 > angle ? DOWN : UP;\n }\n function getTimeStamp() {\n var now = new Date();\n return now.getTime();\n }\n function getbounds(el) {\n el = $(el);\n var offset = el.offset(),\n bounds = {\n left: offset.left,\n right: offset.left + el.outerWidth(),\n top: offset.top,\n bottom: offset.top + el.outerHeight()\n };\n return bounds;\n }\n function isInBounds(point, bounds) {\n return point.x > bounds.left && point.x < bounds.right && point.y > bounds.top && point.y < bounds.bottom;\n }\n function comparePoints(pointA, pointB) {\n return pointA.x == pointB.x && pointA.y == pointB.y;\n }\n var options = $.extend({}, options),\n useTouchEvents = SUPPORTS_TOUCH || SUPPORTS_POINTER || !options.fallbackToMouseEvents,\n START_EV = useTouchEvents ? SUPPORTS_POINTER ? SUPPORTS_POINTER_IE10 ? "MSPointerDown" : "pointerdown" : "touchstart" : "mousedown",\n MOVE_EV = useTouchEvents ? SUPPORTS_POINTER ? SUPPORTS_POINTER_IE10 ? "MSPointerMove" : "pointermove" : "touchmove" : "mousemove",\n END_EV = useTouchEvents ? SUPPORTS_POINTER ? SUPPORTS_POINTER_IE10 ? "MSPointerUp" : "pointerup" : "touchend" : "mouseup",\n LEAVE_EV = useTouchEvents ? SUPPORTS_POINTER ? "mouseleave" : null : "mouseleave",\n CANCEL_EV = SUPPORTS_POINTER ? SUPPORTS_POINTER_IE10 ? "MSPointerCancel" : "pointercancel" : "touchcancel",\n distance = 0,\n direction = null,\n currentDirection = null,\n duration = 0,\n startTouchesDistance = 0,\n endTouchesDistance = 0,\n pinchZoom = 1,\n pinchDistance = 0,\n pinchDirection = 0,\n maximumsMap = null,\n $element = $(element),\n phase = "start",\n fingerCount = 0,\n fingerData = {},\n startTime = 0,\n endTime = 0,\n previousTouchEndTime = 0,\n fingerCountAtRelease = 0,\n doubleTapStartTime = 0,\n singleTapTimeout = null,\n holdTimeout = null;\n try {\n $element.on(START_EV, touchStart), $element.on(CANCEL_EV, touchCancel);\n } catch (e) {\n $.error("events not supported " + START_EV + "," + CANCEL_EV + " on jQuery.swipe");\n }\n this.enable = function () {\n return this.disable(), $element.on(START_EV, touchStart), $element.on(CANCEL_EV, touchCancel), $element;\n }, this.disable = function () {\n return removeListeners(), $element;\n }, this.destroy = function () {\n removeListeners(), $element.data(PLUGIN_NS, null), $element = null;\n }, this.option = function (property, value) {\n if ("object" == _typeof(property)) options = $.extend(options, property);else if (void 0 !== options[property]) {\n if (void 0 === value) return options[property];\n options[property] = value;\n } else {\n if (!property) return options;\n $.error("Option " + property + " does not exist on jQuery.swipe.options");\n }\n return null;\n };\n }\n var VERSION = "1.6.18",\n LEFT = "left",\n RIGHT = "right",\n UP = "up",\n DOWN = "down",\n IN = "in",\n OUT = "out",\n NONE = "none",\n AUTO = "auto",\n SWIPE = "swipe",\n PINCH = "pinch",\n TAP = "tap",\n DOUBLE_TAP = "doubletap",\n LONG_TAP = "longtap",\n HORIZONTAL = "horizontal",\n VERTICAL = "vertical",\n ALL_FINGERS = "all",\n DOUBLE_TAP_THRESHOLD = 10,\n PHASE_START = "start",\n PHASE_MOVE = "move",\n PHASE_END = "end",\n PHASE_CANCEL = "cancel",\n SUPPORTS_TOUCH = "ontouchstart" in window,\n SUPPORTS_POINTER_IE10 = window.navigator.msPointerEnabled && !window.PointerEvent && !SUPPORTS_TOUCH,\n SUPPORTS_POINTER = (window.PointerEvent || window.navigator.msPointerEnabled) && !SUPPORTS_TOUCH,\n PLUGIN_NS = "TouchSwipe",\n defaults = {\n fingers: 1,\n threshold: 75,\n cancelThreshold: null,\n pinchThreshold: 20,\n maxTimeThreshold: null,\n fingerReleaseThreshold: 250,\n longTapThreshold: 500,\n doubleTapThreshold: 200,\n swipe: null,\n swipeLeft: null,\n swipeRight: null,\n swipeUp: null,\n swipeDown: null,\n swipeStatus: null,\n pinchIn: null,\n pinchOut: null,\n pinchStatus: null,\n click: null,\n tap: null,\n doubleTap: null,\n longTap: null,\n hold: null,\n triggerOnTouchEnd: !0,\n triggerOnTouchLeave: !1,\n allowPageScroll: "auto",\n fallbackToMouseEvents: !0,\n excludedElements: ".noSwipe",\n preventDefaultEvents: !0\n };\n $.fn.swipe = function (method) {\n var $this = $(this),\n plugin = $this.data(PLUGIN_NS);\n if (plugin && "string" == typeof method) {\n if (plugin[method]) return plugin[method].apply(plugin, Array.prototype.slice.call(arguments, 1));\n $.error("Method " + method + " does not exist on jQuery.swipe");\n } else if (plugin && "object" == _typeof(method)) plugin.option.apply(plugin, arguments);else if (!(plugin || "object" != _typeof(method) && method)) return init.apply(this, arguments);\n return $this;\n }, $.fn.swipe.version = VERSION, $.fn.swipe.defaults = defaults, $.fn.swipe.phases = {\n PHASE_START: PHASE_START,\n PHASE_MOVE: PHASE_MOVE,\n PHASE_END: PHASE_END,\n PHASE_CANCEL: PHASE_CANCEL\n }, $.fn.swipe.directions = {\n LEFT: LEFT,\n RIGHT: RIGHT,\n UP: UP,\n DOWN: DOWN,\n IN: IN,\n OUT: OUT\n }, $.fn.swipe.pageScroll = {\n NONE: NONE,\n HORIZONTAL: HORIZONTAL,\n VERTICAL: VERTICAL,\n AUTO: AUTO\n }, $.fn.swipe.fingers = {\n ONE: 1,\n TWO: 2,\n THREE: 3,\n FOUR: 4,\n FIVE: 5,\n ALL: ALL_FINGERS\n };\n});\n\n//# sourceURL=webpack://qcell-react/./src/QCELL/lib/jquery/plugins/jquery.touchSwipe.min.js?')}}]);
|