billboard.js 3.5.0 → 3.5.1
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/README.md +1 -1
- package/dist/billboard.css +1 -1
- package/dist/billboard.js +105 -73
- package/dist/billboard.min.css +1 -1
- package/dist/billboard.min.js +2 -2
- package/dist/billboard.pkgd.js +134 -85
- package/dist/billboard.pkgd.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-bubblecompare.js +2 -2
- package/dist/plugin/billboardjs-plugin-bubblecompare.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-sparkline.js +2 -71
- package/dist/plugin/billboardjs-plugin-sparkline.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-stanford.js +2 -71
- package/dist/plugin/billboardjs-plugin-stanford.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-tableview.js +2 -71
- package/dist/plugin/billboardjs-plugin-tableview.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-textoverlap.js +2 -71
- package/dist/plugin/billboardjs-plugin-textoverlap.min.js +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.js +31 -14
- package/dist/plugin/pkgd/billboardjs-plugin-sparkline.js +31 -83
- package/dist/plugin/pkgd/billboardjs-plugin-stanford.js +31 -83
- package/dist/plugin/pkgd/billboardjs-plugin-tableview.js +31 -83
- package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.js +31 -83
- package/dist/theme/datalab.css +1 -1
- package/dist/theme/datalab.min.css +1 -1
- package/dist/theme/graph.css +1 -1
- package/dist/theme/graph.min.css +1 -1
- package/dist/theme/insight.css +1 -1
- package/dist/theme/insight.min.css +1 -1
- package/dist-esm/billboard.js +97 -72
- package/dist-esm/plugin/billboardjs-plugin-bubblecompare.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-sparkline.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-stanford.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-tableview.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-textoverlap.js +2 -2
- package/package.json +10 -10
- package/src/Chart/api/data.ts +2 -2
- package/src/Chart/api/selection.ts +1 -1
- package/src/ChartInternal/Axis/AxisRenderer.ts +1 -1
- package/src/ChartInternal/Axis/AxisRendererHelper.ts +1 -1
- package/src/ChartInternal/ChartInternal.ts +1 -1
- package/src/ChartInternal/data/convert.ts +3 -2
- package/src/ChartInternal/data/data.ts +1 -1
- package/src/ChartInternal/interactions/drag.ts +1 -1
- package/src/ChartInternal/internals/color.ts +1 -1
- package/src/ChartInternal/internals/domain.ts +1 -1
- package/src/ChartInternal/internals/format.ts +1 -1
- package/src/ChartInternal/internals/region.ts +1 -1
- package/src/ChartInternal/internals/scale.ts +1 -1
- package/src/ChartInternal/internals/size.axis.ts +1 -1
- package/src/ChartInternal/internals/style.ts +2 -2
- package/src/ChartInternal/internals/text.ts +2 -2
- package/src/ChartInternal/internals/tooltip.ts +1 -1
- package/src/ChartInternal/shape/arc.ts +2 -2
- package/src/ChartInternal/shape/area.ts +3 -2
- package/src/ChartInternal/shape/bar.ts +2 -2
- package/src/ChartInternal/shape/point.ts +1 -1
- package/src/ChartInternal/shape/polar.ts +1 -1
- package/src/ChartInternal/shape/shape.ts +2 -2
- package/src/Plugin/sparkline/index.ts +1 -1
- package/src/Plugin/textoverlap/index.ts +1 -1
- package/src/config/Options/data/data.ts +1 -1
- package/src/config/Store/Element.ts +1 -1
- package/src/module/Cache.ts +1 -1
- package/src/module/generator.ts +1 -1
- package/src/module/util.ts +1 -74
- package/src/module/worker.ts +101 -0
- package/types/axis.d.ts +2 -2
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.5.
|
|
8
|
+
* @version 3.5.1
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
12
|
-
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("d3-delaunay"),require("d3-polygon"),require("d3-selection"),require("d3-brush")):"function"==typeof define&&define.amd?define("bb",["d3-delaunay","d3-polygon","d3-selection","d3-brush"],n):"object"==typeof exports?exports.bb=n(require("d3-delaunay"),require("d3-polygon"),require("d3-selection"),require("d3-brush")):(t.bb=t.bb||{},t.bb.plugin=t.bb.plugin||{},t.bb.plugin.textoverlap=n(t.d3,t.d3,t.d3,t.d3))}(this,(function(t,n,e,i){return function(){"use strict";var o={3:function(t){t.exports=i},12:function(n){n.exports=t},13:function(t){t.exports=n},1:function(t){t.exports=e}},r={};function u(t){var n=r[t];if(void 0!==n)return n.exports;var e=r[t]={exports:{}};return o[t](e,e.exports,u),e.exports}u.d=function(t,n){for(var e in n)u.o(n,e)&&!u.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:n[e]})},u.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)};var s={};return function(){function t(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function n(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function e(t,n){return e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},e(t,n)}u.d(s,{default:function(){return w}});var i=u(12),o=u(13);u(1),u(3);var r=void 0,c=function(){return t(this,r),"object"==typeof globalThis&&null!==globalThis&&globalThis.Object===Object&&globalThis||"object"==typeof global&&null!==global&&global.Object===Object&&global||"object"==typeof self&&null!==self&&self.Object===Object&&self||Function("return this")()}.bind(void 0)();c.requestIdleCallback=c.requestIdleCallback||function(n){return t(this,r),setTimeout(n,1)}.bind(void 0),c.requestAnimationFrame=c.requestAnimationFrame||function(n){return t(this,r),setTimeout(n,1)}.bind(void 0);var a=null==c?void 0:c.document,d=void 0;(function(n){return t(this,d),n||0===n}).bind(void 0),function(n){return t(this,d),"function"==typeof n}.bind(void 0);var l=function(n){return t(this,d),"string"==typeof n}.bind(void 0),f=function(n){return t(this,d),"number"==typeof n}.bind(void 0),h=function(n){return t(this,d),void 0===n}.bind(void 0),b=function(n){return t(this,d),void 0!==n}.bind(void 0),v=(function(n){return t(this,d),"boolean"==typeof n}.bind(void 0),function(n){return t(this,d),10*Math.ceil(n/10)}.bind(void 0),function(n){return t(this,d),Math.ceil(n)+.5}.bind(void 0),function(n){return t(this,d),n[1]-n[0]}.bind(void 0),function(n){return t(this,d),"object"==typeof n}.bind(void 0)),p=function(n){return t(this,d),h(n)||null===n||l(n)&&0===n.length||v(n)&&!(n instanceof Date)&&0===Object.keys(n).length||f(n)&&isNaN(n)}.bind(void 0),y=(function(n){return t(this,d),!p(n)}.bind(void 0),function(n){return t(this,d),Array.isArray(n)}.bind(void 0)),g=function(n){return t(this,d),n&&!(null!=n&&n.nodeType)&&v(n)&&!y(n)}.bind(void 0);(function(n){return t(this,d),n.charAt(0).toUpperCase()+n.slice(1)}).bind(void 0);(function(n){return t(this,d),[].slice.call(n)}).bind(void 0);function j(n){for(var e=this,i=arguments.length,o=Array(i>1?i-1:0),r=1;r<i;r++)o[r-1]=arguments[r];if(!o.length||1===o.length&&!o[0])return n;var u=o.shift();return g(n)&&g(u)&&Object.keys(u).forEach(function(i){t(this,e);var o=u[i];g(o)?(n[i]||(n[i]={}),n[i]=j(n[i],o)):n[i]=y(o)?o.concat():o}.bind(this)),j.apply(void 0,[n].concat(o))}(function(n,e,i){void 0===i&&(i=1),t(this,d);for(var o=[],r=0|Math.max(0,Math.ceil((e-n)/i)),u=n;u<r;u++)o.push(n+u*i);return o}).bind(void 0),function(){var n=this;t(this,d);var e=function(){return t(this,n),{bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0}}.bind(this);try{return new MouseEvent("t"),function(i,o,r){void 0===r&&(r=e()),t(this,n),i.dispatchEvent(new MouseEvent(o,r))}.bind(this)}catch(i){return function(i,o,r){void 0===r&&(r=e()),t(this,n);var u=a.createEvent("MouseEvent");u.initMouseEvent(o,r.bubbles,r.cancelable,c,0,r.screenX,r.screenY,r.clientX,r.clientY,!1,!1,!1,!1,0,null),i.dispatchEvent(u)}.bind(this)}}.bind(void 0)(),function(n,e,i){t(this,d);var o=new Touch(j({identifier:Date.now(),target:n,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},i));n.dispatchEvent(new TouchEvent(e,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[o],targetTouches:[],changedTouches:[o]}))}.bind(void 0);function m(n){var e,i,o,r=this,u=this.config,s=function(){t(this,r);var n=i.shift();return n&&e&&v(e)&&n in e?(e=e[n],s()):n?void 0:e}.bind(this);Object.keys(u).forEach(function(c){t(this,r),e=n,i=c.split("_"),o=s(),b(o)&&(u[c]=o)}.bind(this))}var x=function(){function n(t){void 0===t&&(t={}),this.$$=void 0,this.options=void 0,this.options=t}var e=n.prototype;return e.$beforeInit=function(){},e.$init=function(){},e.$afterInit=function(){},e.$redraw=function(){},e.$willDestroy=function(){var n=this;Object.keys(this).forEach(function(e){t(this,n),this[e]=null,delete this[e]}.bind(this))},n}();x.version="3.5.
|
|
12
|
+
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("d3-delaunay"),require("d3-polygon"),require("d3-selection"),require("d3-brush")):"function"==typeof define&&define.amd?define("bb",["d3-delaunay","d3-polygon","d3-selection","d3-brush"],n):"object"==typeof exports?exports.bb=n(require("d3-delaunay"),require("d3-polygon"),require("d3-selection"),require("d3-brush")):(t.bb=t.bb||{},t.bb.plugin=t.bb.plugin||{},t.bb.plugin.textoverlap=n(t.d3,t.d3,t.d3,t.d3))}(this,(function(t,n,e,i){return function(){"use strict";var o={3:function(t){t.exports=i},12:function(n){n.exports=t},13:function(t){t.exports=n},1:function(t){t.exports=e}},r={};function u(t){var n=r[t];if(void 0!==n)return n.exports;var e=r[t]={exports:{}};return o[t](e,e.exports,u),e.exports}u.d=function(t,n){for(var e in n)u.o(n,e)&&!u.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:n[e]})},u.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)};var s={};return function(){function t(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function n(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function e(t,n){return e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},e(t,n)}u.d(s,{default:function(){return w}});var i=u(12),o=u(13);u(1),u(3);var r=void 0,c=function(){return t(this,r),"object"==typeof globalThis&&null!==globalThis&&globalThis.Object===Object&&globalThis||"object"==typeof global&&null!==global&&global.Object===Object&&global||"object"==typeof self&&null!==self&&self.Object===Object&&self||Function("return this")()}.bind(void 0)();c.requestIdleCallback=c.requestIdleCallback||function(n){return t(this,r),setTimeout(n,1)}.bind(void 0),c.requestAnimationFrame=c.requestAnimationFrame||function(n){return t(this,r),setTimeout(n,1)}.bind(void 0);var a=null==c?void 0:c.document,d=void 0;(function(n){return t(this,d),n||0===n}).bind(void 0),function(n){return t(this,d),"function"==typeof n}.bind(void 0);var l=function(n){return t(this,d),"string"==typeof n}.bind(void 0),f=function(n){return t(this,d),"number"==typeof n}.bind(void 0),h=function(n){return t(this,d),void 0===n}.bind(void 0),b=function(n){return t(this,d),void 0!==n}.bind(void 0),v=(function(n){return t(this,d),"boolean"==typeof n}.bind(void 0),function(n){return t(this,d),10*Math.ceil(n/10)}.bind(void 0),function(n){return t(this,d),Math.ceil(n)+.5}.bind(void 0),function(n){return t(this,d),n[1]-n[0]}.bind(void 0),function(n){return t(this,d),"object"==typeof n}.bind(void 0)),p=function(n){return t(this,d),h(n)||null===n||l(n)&&0===n.length||v(n)&&!(n instanceof Date)&&0===Object.keys(n).length||f(n)&&isNaN(n)}.bind(void 0),y=(function(n){return t(this,d),!p(n)}.bind(void 0),function(n){return t(this,d),Array.isArray(n)}.bind(void 0)),g=function(n){return t(this,d),n&&!(null!=n&&n.nodeType)&&v(n)&&!y(n)}.bind(void 0);(function(n){return t(this,d),n.charAt(0).toUpperCase()+n.slice(1)}).bind(void 0);(function(n){return t(this,d),[].slice.call(n)}).bind(void 0);function j(n){for(var e=this,i=arguments.length,o=Array(i>1?i-1:0),r=1;r<i;r++)o[r-1]=arguments[r];if(!o.length||1===o.length&&!o[0])return n;var u=o.shift();return g(n)&&g(u)&&Object.keys(u).forEach(function(i){t(this,e);var o=u[i];g(o)?(n[i]||(n[i]={}),n[i]=j(n[i],o)):n[i]=y(o)?o.concat():o}.bind(this)),j.apply(void 0,[n].concat(o))}(function(n,e,i){void 0===i&&(i=1),t(this,d);for(var o=[],r=0|Math.max(0,Math.ceil((e-n)/i)),u=n;u<r;u++)o.push(n+u*i);return o}).bind(void 0),function(){var n=this;t(this,d);var e=function(){return t(this,n),{bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0}}.bind(this);try{return new MouseEvent("t"),function(i,o,r){void 0===r&&(r=e()),t(this,n),i.dispatchEvent(new MouseEvent(o,r))}.bind(this)}catch(i){return function(i,o,r){void 0===r&&(r=e()),t(this,n);var u=a.createEvent("MouseEvent");u.initMouseEvent(o,r.bubbles,r.cancelable,c,0,r.screenX,r.screenY,r.clientX,r.clientY,!1,!1,!1,!1,0,null),i.dispatchEvent(u)}.bind(this)}}.bind(void 0)(),function(n,e,i){t(this,d);var o=new Touch(j({identifier:Date.now(),target:n,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},i));n.dispatchEvent(new TouchEvent(e,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[o],targetTouches:[],changedTouches:[o]}))}.bind(void 0);function m(n){var e,i,o,r=this,u=this.config,s=function(){t(this,r);var n=i.shift();return n&&e&&v(e)&&n in e?(e=e[n],s()):n?void 0:e}.bind(this);Object.keys(u).forEach(function(c){t(this,r),e=n,i=c.split("_"),o=s(),b(o)&&(u[c]=o)}.bind(this))}var x=function(){function n(t){void 0===t&&(t={}),this.$$=void 0,this.options=void 0,this.options=t}var e=n.prototype;return e.$beforeInit=function(){},e.$init=function(){},e.$afterInit=function(){},e.$redraw=function(){},e.$willDestroy=function(){var n=this;Object.keys(this).forEach(function(e){t(this,n),this[e]=null,delete this[e]}.bind(this))},n}();x.version="3.5.1";var O=function(){return{selector:void 0,extent:1,area:0}},w=function(r){var u,s;function c(t){var e=r.call(this,t)||this;return e.config=void 0,e.config=new O,n(e)||n(e)}s=r,(u=c).prototype=Object.create(s.prototype),u.prototype.constructor=u,e(u,s);var a=c.prototype;return a.$init=function(){m.call(this,this.options)},a.$redraw=function(){var t=this.$$.$el,n=this.config.selector,e=n?t.main.selectAll(n):t.text;e.empty()||this.preventLabelOverlap(e)},a.generateVoronoi=function(n){var e=this,o=this.$$.scale,r=["x","y"].map(function(n){return t(this,e),o[n].domain()}.bind(this)),u=r[0],s=r[1],c=[s[0],u[1]];return u[1]=c[0],s[0]=c[1],i.Delaunay.from(n).voronoi([].concat(u,s))},a.preventLabelOverlap=function(n){var e=this,i=this.config,r=i.extent,u=i.area,s=n.data().map(function(n){return t(this,e),[n.index,n.value]}.bind(this)),c=this.generateVoronoi(s),a=0;n.each((function(){var t=c.cellPolygon(a);if(t&&this){var n=s[a],e=n[0],i=n[1],d=(0,o.polygonCentroid)(t),l=d[0],f=d[1],h=Math.abs((0,o.polygonArea)(t)),b=Math.round(Math.atan2(f-i,l-e)/Math.PI*2),v=r*(0===b?1:-1),p=-1===b?-r:r+5,y=1===Math.abs(b)?"middle":0===b?"start":"end";this.style.display=h<u?"none":"",this.setAttribute("text-anchor",y),this.setAttribute("dy","0."+(1===b?71:35)+"em"),this.setAttribute("transform","translate("+v+", "+p+")")}a++}))},c}(x)}(),s=s.default}()}));
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.5.
|
|
8
|
+
* @version 3.5.1
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -1114,10 +1114,10 @@ var store = __webpack_require__(35);
|
|
|
1114
1114
|
(module.exports = function (key, value) {
|
|
1115
1115
|
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
1116
1116
|
})('versions', []).push({
|
|
1117
|
-
version: '3.23.
|
|
1117
|
+
version: '3.23.4',
|
|
1118
1118
|
mode: IS_PURE ? 'pure' : 'global',
|
|
1119
1119
|
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
1120
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.23.
|
|
1120
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.23.4/LICENSE',
|
|
1121
1121
|
source: 'https://github.com/zloirock/core-js'
|
|
1122
1122
|
});
|
|
1123
1123
|
|
|
@@ -3273,6 +3273,7 @@ var ResultPrototype = Result.prototype;
|
|
|
3273
3273
|
module.exports = function (iterable, unboundFunction, options) {
|
|
3274
3274
|
var that = options && options.that;
|
|
3275
3275
|
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
3276
|
+
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
3276
3277
|
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
|
3277
3278
|
var INTERRUPTED = !!(options && options.INTERRUPTED);
|
|
3278
3279
|
var fn = bind(unboundFunction, that);
|
|
@@ -3290,7 +3291,9 @@ module.exports = function (iterable, unboundFunction, options) {
|
|
|
3290
3291
|
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
3291
3292
|
};
|
|
3292
3293
|
|
|
3293
|
-
if (
|
|
3294
|
+
if (IS_RECORD) {
|
|
3295
|
+
iterator = iterable.iterator;
|
|
3296
|
+
} else if (IS_ITERATOR) {
|
|
3294
3297
|
iterator = iterable;
|
|
3295
3298
|
} else {
|
|
3296
3299
|
iterFn = getIteratorMethod(iterable);
|
|
@@ -3305,7 +3308,7 @@ module.exports = function (iterable, unboundFunction, options) {
|
|
|
3305
3308
|
iterator = getIterator(iterable, iterFn);
|
|
3306
3309
|
}
|
|
3307
3310
|
|
|
3308
|
-
next = iterator.next;
|
|
3311
|
+
next = IS_RECORD ? iterable.next : iterator.next;
|
|
3309
3312
|
while (!(step = call(next, iterator)).done) {
|
|
3310
3313
|
try {
|
|
3311
3314
|
result = callFn(step.value);
|
|
@@ -10301,7 +10304,7 @@ var charAt = uncurryThis(''.charAt);
|
|
|
10301
10304
|
var replace = uncurryThis(''.replace);
|
|
10302
10305
|
var stringIndexOf = uncurryThis(''.indexOf);
|
|
10303
10306
|
var stringSlice = uncurryThis(''.slice);
|
|
10304
|
-
// TODO: Use only
|
|
10307
|
+
// TODO: Use only proper RegExpIdentifierName
|
|
10305
10308
|
var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/;
|
|
10306
10309
|
var re1 = /a/g;
|
|
10307
10310
|
var re2 = /a/g;
|
|
@@ -10754,7 +10757,7 @@ if (PATCH) {
|
|
|
10754
10757
|
}
|
|
10755
10758
|
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
10756
10759
|
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
10757
|
-
// for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
|
|
10760
|
+
// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
|
|
10758
10761
|
call(nativeReplace, match[0], reCopy, function () {
|
|
10759
10762
|
for (i = 1; i < arguments.length - 2; i++) {
|
|
10760
10763
|
if (arguments[i] === undefined) match[i] = undefined;
|
|
@@ -13585,7 +13588,7 @@ var $reduceRight = (__webpack_require__(173).right);
|
|
|
13585
13588
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
13586
13589
|
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
|
|
13587
13590
|
|
|
13588
|
-
// `%TypedArray%.prototype.
|
|
13591
|
+
// `%TypedArray%.prototype.reduceRight` method
|
|
13589
13592
|
// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduceright
|
|
13590
13593
|
exportTypedArrayMethod('reduceRight', function reduceRight(callbackfn /* , initialValue */) {
|
|
13591
13594
|
var length = arguments.length;
|
|
@@ -14649,6 +14652,7 @@ module.exports = {
|
|
|
14649
14652
|
"use strict";
|
|
14650
14653
|
|
|
14651
14654
|
var $ = __webpack_require__(3);
|
|
14655
|
+
var global = __webpack_require__(4);
|
|
14652
14656
|
var getBuiltIn = __webpack_require__(22);
|
|
14653
14657
|
var createPropertyDescriptor = __webpack_require__(11);
|
|
14654
14658
|
var defineProperty = (__webpack_require__(43).f);
|
|
@@ -14658,6 +14662,7 @@ var inheritIfRequired = __webpack_require__(114);
|
|
|
14658
14662
|
var normalizeStringArgument = __webpack_require__(115);
|
|
14659
14663
|
var DOMExceptionConstants = __webpack_require__(474);
|
|
14660
14664
|
var clearErrorStack = __webpack_require__(117);
|
|
14665
|
+
var DESCRIPTORS = __webpack_require__(6);
|
|
14661
14666
|
var IS_PURE = __webpack_require__(34);
|
|
14662
14667
|
|
|
14663
14668
|
var DOM_EXCEPTION = 'DOMException';
|
|
@@ -14681,7 +14686,15 @@ var DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototy
|
|
|
14681
14686
|
|
|
14682
14687
|
var ERROR_HAS_STACK = 'stack' in Error(DOM_EXCEPTION);
|
|
14683
14688
|
var DOM_EXCEPTION_HAS_STACK = 'stack' in new NativeDOMException(1, 2);
|
|
14684
|
-
|
|
14689
|
+
|
|
14690
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
14691
|
+
var descriptor = NativeDOMException && DESCRIPTORS && Object.getOwnPropertyDescriptor(global, DOM_EXCEPTION);
|
|
14692
|
+
|
|
14693
|
+
// Bun ~ 0.1.1 DOMException have incorrect descriptor and we can't redefine it
|
|
14694
|
+
// https://github.com/Jarred-Sumner/bun/issues/399
|
|
14695
|
+
var BUGGY_DESCRIPTOR = !!descriptor && !(descriptor.writable && descriptor.configurable);
|
|
14696
|
+
|
|
14697
|
+
var FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !BUGGY_DESCRIPTOR && !DOM_EXCEPTION_HAS_STACK;
|
|
14685
14698
|
|
|
14686
14699
|
// `DOMException` constructor patch for `.stack` where it's required
|
|
14687
14700
|
// https://webidl.spec.whatwg.org/#es-DOMException-specialness
|
|
@@ -14858,7 +14871,7 @@ var checkErrorsCloning = function (structuredCloneImplementation, $Error) {
|
|
|
14858
14871
|
return !fails(function () {
|
|
14859
14872
|
var error = new $Error();
|
|
14860
14873
|
var test = structuredCloneImplementation({ a: error, b: error });
|
|
14861
|
-
return !(test && test.a === test.b && test.a instanceof $Error);
|
|
14874
|
+
return !(test && test.a === test.b && test.a instanceof $Error && test.stack === error.stack);
|
|
14862
14875
|
});
|
|
14863
14876
|
};
|
|
14864
14877
|
|
|
@@ -14871,13 +14884,17 @@ var checkNewErrorsCloningSemantic = function (structuredCloneImplementation) {
|
|
|
14871
14884
|
};
|
|
14872
14885
|
|
|
14873
14886
|
// FF94+, Safari 15.4+, Chrome 98+, NodeJS 17.0+, Deno 1.13+
|
|
14874
|
-
// FF and Safari implementations can't clone errors
|
|
14887
|
+
// FF<103 and Safari implementations can't clone errors
|
|
14875
14888
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=1556604
|
|
14889
|
+
// FF103 can clone errors, but `.stack` of clone is an empty string
|
|
14890
|
+
// https://bugzilla.mozilla.org/show_bug.cgi?id=1778762
|
|
14891
|
+
// FF104+ fixed it on usual errors, but not on DOMExceptions
|
|
14892
|
+
// https://bugzilla.mozilla.org/show_bug.cgi?id=1777321
|
|
14876
14893
|
// Chrome <102 returns `null` if cloned object contains multiple references to one error
|
|
14877
14894
|
// https://bugs.chromium.org/p/v8/issues/detail?id=12542
|
|
14878
14895
|
// NodeJS implementation can't clone DOMExceptions
|
|
14879
14896
|
// https://github.com/nodejs/node/issues/41038
|
|
14880
|
-
//
|
|
14897
|
+
// only FF103+ supports new (html/5749) error cloning semantic
|
|
14881
14898
|
var nativeStructuredClone = global.structuredClone;
|
|
14882
14899
|
|
|
14883
14900
|
var FORCED_REPLACEMENT = IS_PURE
|
|
@@ -14895,7 +14912,7 @@ var FORCED_REPLACEMENT = IS_PURE
|
|
|
14895
14912
|
// NodeJS <17.2 structured cloning implementation from `performance.mark` is too naive
|
|
14896
14913
|
// and can't clone, for example, `RegExp` or some boxed primitives
|
|
14897
14914
|
// https://github.com/nodejs/node/issues/40840
|
|
14898
|
-
// no one of
|
|
14915
|
+
// no one of those implementations supports new (html/5749) error cloning semantic
|
|
14899
14916
|
var structuredCloneFromMark = !nativeStructuredClone && checkBasicSemantic(function (value) {
|
|
14900
14917
|
return new PerformanceMark(PERFORMANCE_MARK, { detail: value }).detail;
|
|
14901
14918
|
});
|
|
@@ -18246,7 +18263,7 @@ var Plugin = /*#__PURE__*/function () {
|
|
|
18246
18263
|
return Plugin;
|
|
18247
18264
|
}();
|
|
18248
18265
|
|
|
18249
|
-
Plugin.version = "3.5.
|
|
18266
|
+
Plugin.version = "3.5.1";
|
|
18250
18267
|
|
|
18251
18268
|
;// CONCATENATED MODULE: ./src/Plugin/bubblecompare/index.ts
|
|
18252
18269
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.5.
|
|
8
|
+
* @version 3.5.1
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -1114,10 +1114,10 @@ var store = __webpack_require__(35);
|
|
|
1114
1114
|
(module.exports = function (key, value) {
|
|
1115
1115
|
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
1116
1116
|
})('versions', []).push({
|
|
1117
|
-
version: '3.23.
|
|
1117
|
+
version: '3.23.4',
|
|
1118
1118
|
mode: IS_PURE ? 'pure' : 'global',
|
|
1119
1119
|
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
1120
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.23.
|
|
1120
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.23.4/LICENSE',
|
|
1121
1121
|
source: 'https://github.com/zloirock/core-js'
|
|
1122
1122
|
});
|
|
1123
1123
|
|
|
@@ -3273,6 +3273,7 @@ var ResultPrototype = Result.prototype;
|
|
|
3273
3273
|
module.exports = function (iterable, unboundFunction, options) {
|
|
3274
3274
|
var that = options && options.that;
|
|
3275
3275
|
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
3276
|
+
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
3276
3277
|
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
|
3277
3278
|
var INTERRUPTED = !!(options && options.INTERRUPTED);
|
|
3278
3279
|
var fn = bind(unboundFunction, that);
|
|
@@ -3290,7 +3291,9 @@ module.exports = function (iterable, unboundFunction, options) {
|
|
|
3290
3291
|
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
3291
3292
|
};
|
|
3292
3293
|
|
|
3293
|
-
if (
|
|
3294
|
+
if (IS_RECORD) {
|
|
3295
|
+
iterator = iterable.iterator;
|
|
3296
|
+
} else if (IS_ITERATOR) {
|
|
3294
3297
|
iterator = iterable;
|
|
3295
3298
|
} else {
|
|
3296
3299
|
iterFn = getIteratorMethod(iterable);
|
|
@@ -3305,7 +3308,7 @@ module.exports = function (iterable, unboundFunction, options) {
|
|
|
3305
3308
|
iterator = getIterator(iterable, iterFn);
|
|
3306
3309
|
}
|
|
3307
3310
|
|
|
3308
|
-
next = iterator.next;
|
|
3311
|
+
next = IS_RECORD ? iterable.next : iterator.next;
|
|
3309
3312
|
while (!(step = call(next, iterator)).done) {
|
|
3310
3313
|
try {
|
|
3311
3314
|
result = callFn(step.value);
|
|
@@ -10301,7 +10304,7 @@ var charAt = uncurryThis(''.charAt);
|
|
|
10301
10304
|
var replace = uncurryThis(''.replace);
|
|
10302
10305
|
var stringIndexOf = uncurryThis(''.indexOf);
|
|
10303
10306
|
var stringSlice = uncurryThis(''.slice);
|
|
10304
|
-
// TODO: Use only
|
|
10307
|
+
// TODO: Use only proper RegExpIdentifierName
|
|
10305
10308
|
var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/;
|
|
10306
10309
|
var re1 = /a/g;
|
|
10307
10310
|
var re2 = /a/g;
|
|
@@ -10754,7 +10757,7 @@ if (PATCH) {
|
|
|
10754
10757
|
}
|
|
10755
10758
|
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
10756
10759
|
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
10757
|
-
// for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
|
|
10760
|
+
// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
|
|
10758
10761
|
call(nativeReplace, match[0], reCopy, function () {
|
|
10759
10762
|
for (i = 1; i < arguments.length - 2; i++) {
|
|
10760
10763
|
if (arguments[i] === undefined) match[i] = undefined;
|
|
@@ -13585,7 +13588,7 @@ var $reduceRight = (__webpack_require__(173).right);
|
|
|
13585
13588
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
13586
13589
|
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
|
|
13587
13590
|
|
|
13588
|
-
// `%TypedArray%.prototype.
|
|
13591
|
+
// `%TypedArray%.prototype.reduceRight` method
|
|
13589
13592
|
// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduceright
|
|
13590
13593
|
exportTypedArrayMethod('reduceRight', function reduceRight(callbackfn /* , initialValue */) {
|
|
13591
13594
|
var length = arguments.length;
|
|
@@ -14649,6 +14652,7 @@ module.exports = {
|
|
|
14649
14652
|
"use strict";
|
|
14650
14653
|
|
|
14651
14654
|
var $ = __webpack_require__(3);
|
|
14655
|
+
var global = __webpack_require__(4);
|
|
14652
14656
|
var getBuiltIn = __webpack_require__(22);
|
|
14653
14657
|
var createPropertyDescriptor = __webpack_require__(11);
|
|
14654
14658
|
var defineProperty = (__webpack_require__(43).f);
|
|
@@ -14658,6 +14662,7 @@ var inheritIfRequired = __webpack_require__(114);
|
|
|
14658
14662
|
var normalizeStringArgument = __webpack_require__(115);
|
|
14659
14663
|
var DOMExceptionConstants = __webpack_require__(474);
|
|
14660
14664
|
var clearErrorStack = __webpack_require__(117);
|
|
14665
|
+
var DESCRIPTORS = __webpack_require__(6);
|
|
14661
14666
|
var IS_PURE = __webpack_require__(34);
|
|
14662
14667
|
|
|
14663
14668
|
var DOM_EXCEPTION = 'DOMException';
|
|
@@ -14681,7 +14686,15 @@ var DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototy
|
|
|
14681
14686
|
|
|
14682
14687
|
var ERROR_HAS_STACK = 'stack' in Error(DOM_EXCEPTION);
|
|
14683
14688
|
var DOM_EXCEPTION_HAS_STACK = 'stack' in new NativeDOMException(1, 2);
|
|
14684
|
-
|
|
14689
|
+
|
|
14690
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
14691
|
+
var descriptor = NativeDOMException && DESCRIPTORS && Object.getOwnPropertyDescriptor(global, DOM_EXCEPTION);
|
|
14692
|
+
|
|
14693
|
+
// Bun ~ 0.1.1 DOMException have incorrect descriptor and we can't redefine it
|
|
14694
|
+
// https://github.com/Jarred-Sumner/bun/issues/399
|
|
14695
|
+
var BUGGY_DESCRIPTOR = !!descriptor && !(descriptor.writable && descriptor.configurable);
|
|
14696
|
+
|
|
14697
|
+
var FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !BUGGY_DESCRIPTOR && !DOM_EXCEPTION_HAS_STACK;
|
|
14685
14698
|
|
|
14686
14699
|
// `DOMException` constructor patch for `.stack` where it's required
|
|
14687
14700
|
// https://webidl.spec.whatwg.org/#es-DOMException-specialness
|
|
@@ -14858,7 +14871,7 @@ var checkErrorsCloning = function (structuredCloneImplementation, $Error) {
|
|
|
14858
14871
|
return !fails(function () {
|
|
14859
14872
|
var error = new $Error();
|
|
14860
14873
|
var test = structuredCloneImplementation({ a: error, b: error });
|
|
14861
|
-
return !(test && test.a === test.b && test.a instanceof $Error);
|
|
14874
|
+
return !(test && test.a === test.b && test.a instanceof $Error && test.stack === error.stack);
|
|
14862
14875
|
});
|
|
14863
14876
|
};
|
|
14864
14877
|
|
|
@@ -14871,13 +14884,17 @@ var checkNewErrorsCloningSemantic = function (structuredCloneImplementation) {
|
|
|
14871
14884
|
};
|
|
14872
14885
|
|
|
14873
14886
|
// FF94+, Safari 15.4+, Chrome 98+, NodeJS 17.0+, Deno 1.13+
|
|
14874
|
-
// FF and Safari implementations can't clone errors
|
|
14887
|
+
// FF<103 and Safari implementations can't clone errors
|
|
14875
14888
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=1556604
|
|
14889
|
+
// FF103 can clone errors, but `.stack` of clone is an empty string
|
|
14890
|
+
// https://bugzilla.mozilla.org/show_bug.cgi?id=1778762
|
|
14891
|
+
// FF104+ fixed it on usual errors, but not on DOMExceptions
|
|
14892
|
+
// https://bugzilla.mozilla.org/show_bug.cgi?id=1777321
|
|
14876
14893
|
// Chrome <102 returns `null` if cloned object contains multiple references to one error
|
|
14877
14894
|
// https://bugs.chromium.org/p/v8/issues/detail?id=12542
|
|
14878
14895
|
// NodeJS implementation can't clone DOMExceptions
|
|
14879
14896
|
// https://github.com/nodejs/node/issues/41038
|
|
14880
|
-
//
|
|
14897
|
+
// only FF103+ supports new (html/5749) error cloning semantic
|
|
14881
14898
|
var nativeStructuredClone = global.structuredClone;
|
|
14882
14899
|
|
|
14883
14900
|
var FORCED_REPLACEMENT = IS_PURE
|
|
@@ -14895,7 +14912,7 @@ var FORCED_REPLACEMENT = IS_PURE
|
|
|
14895
14912
|
// NodeJS <17.2 structured cloning implementation from `performance.mark` is too naive
|
|
14896
14913
|
// and can't clone, for example, `RegExp` or some boxed primitives
|
|
14897
14914
|
// https://github.com/nodejs/node/issues/40840
|
|
14898
|
-
// no one of
|
|
14915
|
+
// no one of those implementations supports new (html/5749) error cloning semantic
|
|
14899
14916
|
var structuredCloneFromMark = !nativeStructuredClone && checkBasicSemantic(function (value) {
|
|
14900
14917
|
return new PerformanceMark(PERFORMANCE_MARK, { detail: value }).detail;
|
|
14901
14918
|
});
|
|
@@ -17770,7 +17787,7 @@ var Plugin = /*#__PURE__*/function () {
|
|
|
17770
17787
|
return Plugin;
|
|
17771
17788
|
}();
|
|
17772
17789
|
|
|
17773
|
-
Plugin.version = "3.5.
|
|
17790
|
+
Plugin.version = "3.5.1";
|
|
17774
17791
|
|
|
17775
17792
|
;// CONCATENATED MODULE: ./src/Plugin/sparkline/Options.ts
|
|
17776
17793
|
/**
|
|
@@ -22657,75 +22674,6 @@ function convertInputType(mouse, touch) {
|
|
|
22657
22674
|
|
|
22658
22675
|
return hasMouse && "mouse" || hasTouch && "touch" || "mouse";
|
|
22659
22676
|
}
|
|
22660
|
-
/**
|
|
22661
|
-
* Create and run on Web Worker
|
|
22662
|
-
* @param {boolean} useWorker Use Web Worker
|
|
22663
|
-
* @param {Function} fn Function to be executed in worker
|
|
22664
|
-
* @param {Function} callback Callback function to receive result from worker
|
|
22665
|
-
* @param {Array} depsFn Dependency functions to run given function(fn).
|
|
22666
|
-
* @returns {object}
|
|
22667
|
-
* @example
|
|
22668
|
-
* const worker = runWorker(function(arg) {
|
|
22669
|
-
* // do some tasks...
|
|
22670
|
-
* console.log("param:", A(arg));
|
|
22671
|
-
*
|
|
22672
|
-
* return 1234;
|
|
22673
|
-
* }, function(data) {
|
|
22674
|
-
* // callback after worker is done
|
|
22675
|
-
* console.log("result:", data);
|
|
22676
|
-
* },
|
|
22677
|
-
* [function A(){}]
|
|
22678
|
-
* );
|
|
22679
|
-
*
|
|
22680
|
-
* worker(11111);
|
|
22681
|
-
* @private
|
|
22682
|
-
*/
|
|
22683
|
-
|
|
22684
|
-
|
|
22685
|
-
function runWorker(useWorker, fn, callback, depsFn) {
|
|
22686
|
-
if (useWorker === void 0) {
|
|
22687
|
-
useWorker = !0;
|
|
22688
|
-
}
|
|
22689
|
-
|
|
22690
|
-
var runFn;
|
|
22691
|
-
|
|
22692
|
-
if (win.Worker && useWorker) {
|
|
22693
|
-
var _depsFn$map$join,
|
|
22694
|
-
blob = new Blob([((_depsFn$map$join = depsFn == null ? void 0 : depsFn.map(String).join(";")) != null ? _depsFn$map$join : "") + "\n\n\t\t\tself.onmessage=function({data}) {\n\t\t\t\tconst result = (" + fn.toString() + ").apply(null, data);\n\t\t\t\tself.postMessage(result);\n\t\t\t};"], {
|
|
22695
|
-
type: "text/javascript"
|
|
22696
|
-
}),
|
|
22697
|
-
worker = new Worker(URL.createObjectURL(blob));
|
|
22698
|
-
|
|
22699
|
-
runFn = function () {
|
|
22700
|
-
for (var _len5 = arguments.length, args = Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
|
|
22701
|
-
args[_key5] = arguments[_key5];
|
|
22702
|
-
}
|
|
22703
|
-
|
|
22704
|
-
// trigger worker
|
|
22705
|
-
worker.postMessage(args); // listen worker
|
|
22706
|
-
|
|
22707
|
-
worker.onmessage = function (e) {
|
|
22708
|
-
return callback(e.data);
|
|
22709
|
-
}; // handle error
|
|
22710
|
-
|
|
22711
|
-
|
|
22712
|
-
worker.onerror = function (e) {
|
|
22713
|
-
console.error(e);
|
|
22714
|
-
}; // return new Promise((resolve, reject) => {
|
|
22715
|
-
// worker.onmessage = ({data}) => resolve(data);
|
|
22716
|
-
// worker.onerror = reject;
|
|
22717
|
-
// });
|
|
22718
|
-
|
|
22719
|
-
};
|
|
22720
|
-
} else {
|
|
22721
|
-
runFn = function () {
|
|
22722
|
-
var res = fn.apply(void 0, arguments);
|
|
22723
|
-
callback(res);
|
|
22724
|
-
};
|
|
22725
|
-
}
|
|
22726
|
-
|
|
22727
|
-
return runFn;
|
|
22728
|
-
}
|
|
22729
22677
|
/**
|
|
22730
22678
|
* Run function until given condition function return true
|
|
22731
22679
|
* @param {Function} fn Function to be executed when condition is true
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.5.
|
|
8
|
+
* @version 3.5.1
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -1114,10 +1114,10 @@ var store = __webpack_require__(35);
|
|
|
1114
1114
|
(module.exports = function (key, value) {
|
|
1115
1115
|
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
1116
1116
|
})('versions', []).push({
|
|
1117
|
-
version: '3.23.
|
|
1117
|
+
version: '3.23.4',
|
|
1118
1118
|
mode: IS_PURE ? 'pure' : 'global',
|
|
1119
1119
|
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
1120
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.23.
|
|
1120
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.23.4/LICENSE',
|
|
1121
1121
|
source: 'https://github.com/zloirock/core-js'
|
|
1122
1122
|
});
|
|
1123
1123
|
|
|
@@ -3273,6 +3273,7 @@ var ResultPrototype = Result.prototype;
|
|
|
3273
3273
|
module.exports = function (iterable, unboundFunction, options) {
|
|
3274
3274
|
var that = options && options.that;
|
|
3275
3275
|
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
3276
|
+
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
3276
3277
|
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
|
3277
3278
|
var INTERRUPTED = !!(options && options.INTERRUPTED);
|
|
3278
3279
|
var fn = bind(unboundFunction, that);
|
|
@@ -3290,7 +3291,9 @@ module.exports = function (iterable, unboundFunction, options) {
|
|
|
3290
3291
|
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
3291
3292
|
};
|
|
3292
3293
|
|
|
3293
|
-
if (
|
|
3294
|
+
if (IS_RECORD) {
|
|
3295
|
+
iterator = iterable.iterator;
|
|
3296
|
+
} else if (IS_ITERATOR) {
|
|
3294
3297
|
iterator = iterable;
|
|
3295
3298
|
} else {
|
|
3296
3299
|
iterFn = getIteratorMethod(iterable);
|
|
@@ -3305,7 +3308,7 @@ module.exports = function (iterable, unboundFunction, options) {
|
|
|
3305
3308
|
iterator = getIterator(iterable, iterFn);
|
|
3306
3309
|
}
|
|
3307
3310
|
|
|
3308
|
-
next = iterator.next;
|
|
3311
|
+
next = IS_RECORD ? iterable.next : iterator.next;
|
|
3309
3312
|
while (!(step = call(next, iterator)).done) {
|
|
3310
3313
|
try {
|
|
3311
3314
|
result = callFn(step.value);
|
|
@@ -10301,7 +10304,7 @@ var charAt = uncurryThis(''.charAt);
|
|
|
10301
10304
|
var replace = uncurryThis(''.replace);
|
|
10302
10305
|
var stringIndexOf = uncurryThis(''.indexOf);
|
|
10303
10306
|
var stringSlice = uncurryThis(''.slice);
|
|
10304
|
-
// TODO: Use only
|
|
10307
|
+
// TODO: Use only proper RegExpIdentifierName
|
|
10305
10308
|
var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/;
|
|
10306
10309
|
var re1 = /a/g;
|
|
10307
10310
|
var re2 = /a/g;
|
|
@@ -10754,7 +10757,7 @@ if (PATCH) {
|
|
|
10754
10757
|
}
|
|
10755
10758
|
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
10756
10759
|
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
10757
|
-
// for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
|
|
10760
|
+
// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
|
|
10758
10761
|
call(nativeReplace, match[0], reCopy, function () {
|
|
10759
10762
|
for (i = 1; i < arguments.length - 2; i++) {
|
|
10760
10763
|
if (arguments[i] === undefined) match[i] = undefined;
|
|
@@ -13585,7 +13588,7 @@ var $reduceRight = (__webpack_require__(173).right);
|
|
|
13585
13588
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
13586
13589
|
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
|
|
13587
13590
|
|
|
13588
|
-
// `%TypedArray%.prototype.
|
|
13591
|
+
// `%TypedArray%.prototype.reduceRight` method
|
|
13589
13592
|
// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduceright
|
|
13590
13593
|
exportTypedArrayMethod('reduceRight', function reduceRight(callbackfn /* , initialValue */) {
|
|
13591
13594
|
var length = arguments.length;
|
|
@@ -14649,6 +14652,7 @@ module.exports = {
|
|
|
14649
14652
|
"use strict";
|
|
14650
14653
|
|
|
14651
14654
|
var $ = __webpack_require__(3);
|
|
14655
|
+
var global = __webpack_require__(4);
|
|
14652
14656
|
var getBuiltIn = __webpack_require__(22);
|
|
14653
14657
|
var createPropertyDescriptor = __webpack_require__(11);
|
|
14654
14658
|
var defineProperty = (__webpack_require__(43).f);
|
|
@@ -14658,6 +14662,7 @@ var inheritIfRequired = __webpack_require__(114);
|
|
|
14658
14662
|
var normalizeStringArgument = __webpack_require__(115);
|
|
14659
14663
|
var DOMExceptionConstants = __webpack_require__(474);
|
|
14660
14664
|
var clearErrorStack = __webpack_require__(117);
|
|
14665
|
+
var DESCRIPTORS = __webpack_require__(6);
|
|
14661
14666
|
var IS_PURE = __webpack_require__(34);
|
|
14662
14667
|
|
|
14663
14668
|
var DOM_EXCEPTION = 'DOMException';
|
|
@@ -14681,7 +14686,15 @@ var DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototy
|
|
|
14681
14686
|
|
|
14682
14687
|
var ERROR_HAS_STACK = 'stack' in Error(DOM_EXCEPTION);
|
|
14683
14688
|
var DOM_EXCEPTION_HAS_STACK = 'stack' in new NativeDOMException(1, 2);
|
|
14684
|
-
|
|
14689
|
+
|
|
14690
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
14691
|
+
var descriptor = NativeDOMException && DESCRIPTORS && Object.getOwnPropertyDescriptor(global, DOM_EXCEPTION);
|
|
14692
|
+
|
|
14693
|
+
// Bun ~ 0.1.1 DOMException have incorrect descriptor and we can't redefine it
|
|
14694
|
+
// https://github.com/Jarred-Sumner/bun/issues/399
|
|
14695
|
+
var BUGGY_DESCRIPTOR = !!descriptor && !(descriptor.writable && descriptor.configurable);
|
|
14696
|
+
|
|
14697
|
+
var FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !BUGGY_DESCRIPTOR && !DOM_EXCEPTION_HAS_STACK;
|
|
14685
14698
|
|
|
14686
14699
|
// `DOMException` constructor patch for `.stack` where it's required
|
|
14687
14700
|
// https://webidl.spec.whatwg.org/#es-DOMException-specialness
|
|
@@ -14858,7 +14871,7 @@ var checkErrorsCloning = function (structuredCloneImplementation, $Error) {
|
|
|
14858
14871
|
return !fails(function () {
|
|
14859
14872
|
var error = new $Error();
|
|
14860
14873
|
var test = structuredCloneImplementation({ a: error, b: error });
|
|
14861
|
-
return !(test && test.a === test.b && test.a instanceof $Error);
|
|
14874
|
+
return !(test && test.a === test.b && test.a instanceof $Error && test.stack === error.stack);
|
|
14862
14875
|
});
|
|
14863
14876
|
};
|
|
14864
14877
|
|
|
@@ -14871,13 +14884,17 @@ var checkNewErrorsCloningSemantic = function (structuredCloneImplementation) {
|
|
|
14871
14884
|
};
|
|
14872
14885
|
|
|
14873
14886
|
// FF94+, Safari 15.4+, Chrome 98+, NodeJS 17.0+, Deno 1.13+
|
|
14874
|
-
// FF and Safari implementations can't clone errors
|
|
14887
|
+
// FF<103 and Safari implementations can't clone errors
|
|
14875
14888
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=1556604
|
|
14889
|
+
// FF103 can clone errors, but `.stack` of clone is an empty string
|
|
14890
|
+
// https://bugzilla.mozilla.org/show_bug.cgi?id=1778762
|
|
14891
|
+
// FF104+ fixed it on usual errors, but not on DOMExceptions
|
|
14892
|
+
// https://bugzilla.mozilla.org/show_bug.cgi?id=1777321
|
|
14876
14893
|
// Chrome <102 returns `null` if cloned object contains multiple references to one error
|
|
14877
14894
|
// https://bugs.chromium.org/p/v8/issues/detail?id=12542
|
|
14878
14895
|
// NodeJS implementation can't clone DOMExceptions
|
|
14879
14896
|
// https://github.com/nodejs/node/issues/41038
|
|
14880
|
-
//
|
|
14897
|
+
// only FF103+ supports new (html/5749) error cloning semantic
|
|
14881
14898
|
var nativeStructuredClone = global.structuredClone;
|
|
14882
14899
|
|
|
14883
14900
|
var FORCED_REPLACEMENT = IS_PURE
|
|
@@ -14895,7 +14912,7 @@ var FORCED_REPLACEMENT = IS_PURE
|
|
|
14895
14912
|
// NodeJS <17.2 structured cloning implementation from `performance.mark` is too naive
|
|
14896
14913
|
// and can't clone, for example, `RegExp` or some boxed primitives
|
|
14897
14914
|
// https://github.com/nodejs/node/issues/40840
|
|
14898
|
-
// no one of
|
|
14915
|
+
// no one of those implementations supports new (html/5749) error cloning semantic
|
|
14899
14916
|
var structuredCloneFromMark = !nativeStructuredClone && checkBasicSemantic(function (value) {
|
|
14900
14917
|
return new PerformanceMark(PERFORMANCE_MARK, { detail: value }).detail;
|
|
14901
14918
|
});
|
|
@@ -23855,75 +23872,6 @@ function convertInputType(mouse, touch) {
|
|
|
23855
23872
|
|
|
23856
23873
|
return hasMouse && "mouse" || hasTouch && "touch" || "mouse";
|
|
23857
23874
|
}
|
|
23858
|
-
/**
|
|
23859
|
-
* Create and run on Web Worker
|
|
23860
|
-
* @param {boolean} useWorker Use Web Worker
|
|
23861
|
-
* @param {Function} fn Function to be executed in worker
|
|
23862
|
-
* @param {Function} callback Callback function to receive result from worker
|
|
23863
|
-
* @param {Array} depsFn Dependency functions to run given function(fn).
|
|
23864
|
-
* @returns {object}
|
|
23865
|
-
* @example
|
|
23866
|
-
* const worker = runWorker(function(arg) {
|
|
23867
|
-
* // do some tasks...
|
|
23868
|
-
* console.log("param:", A(arg));
|
|
23869
|
-
*
|
|
23870
|
-
* return 1234;
|
|
23871
|
-
* }, function(data) {
|
|
23872
|
-
* // callback after worker is done
|
|
23873
|
-
* console.log("result:", data);
|
|
23874
|
-
* },
|
|
23875
|
-
* [function A(){}]
|
|
23876
|
-
* );
|
|
23877
|
-
*
|
|
23878
|
-
* worker(11111);
|
|
23879
|
-
* @private
|
|
23880
|
-
*/
|
|
23881
|
-
|
|
23882
|
-
|
|
23883
|
-
function runWorker(useWorker, fn, callback, depsFn) {
|
|
23884
|
-
if (useWorker === void 0) {
|
|
23885
|
-
useWorker = !0;
|
|
23886
|
-
}
|
|
23887
|
-
|
|
23888
|
-
var runFn;
|
|
23889
|
-
|
|
23890
|
-
if (win.Worker && useWorker) {
|
|
23891
|
-
var _depsFn$map$join,
|
|
23892
|
-
blob = new Blob([((_depsFn$map$join = depsFn == null ? void 0 : depsFn.map(String).join(";")) != null ? _depsFn$map$join : "") + "\n\n\t\t\tself.onmessage=function({data}) {\n\t\t\t\tconst result = (" + fn.toString() + ").apply(null, data);\n\t\t\t\tself.postMessage(result);\n\t\t\t};"], {
|
|
23893
|
-
type: "text/javascript"
|
|
23894
|
-
}),
|
|
23895
|
-
worker = new Worker(URL.createObjectURL(blob));
|
|
23896
|
-
|
|
23897
|
-
runFn = function () {
|
|
23898
|
-
for (var _len5 = arguments.length, args = Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
|
|
23899
|
-
args[_key5] = arguments[_key5];
|
|
23900
|
-
}
|
|
23901
|
-
|
|
23902
|
-
// trigger worker
|
|
23903
|
-
worker.postMessage(args); // listen worker
|
|
23904
|
-
|
|
23905
|
-
worker.onmessage = function (e) {
|
|
23906
|
-
return callback(e.data);
|
|
23907
|
-
}; // handle error
|
|
23908
|
-
|
|
23909
|
-
|
|
23910
|
-
worker.onerror = function (e) {
|
|
23911
|
-
console.error(e);
|
|
23912
|
-
}; // return new Promise((resolve, reject) => {
|
|
23913
|
-
// worker.onmessage = ({data}) => resolve(data);
|
|
23914
|
-
// worker.onerror = reject;
|
|
23915
|
-
// });
|
|
23916
|
-
|
|
23917
|
-
};
|
|
23918
|
-
} else {
|
|
23919
|
-
runFn = function () {
|
|
23920
|
-
var res = fn.apply(void 0, arguments);
|
|
23921
|
-
callback(res);
|
|
23922
|
-
};
|
|
23923
|
-
}
|
|
23924
|
-
|
|
23925
|
-
return runFn;
|
|
23926
|
-
}
|
|
23927
23875
|
/**
|
|
23928
23876
|
* Run function until given condition function return true
|
|
23929
23877
|
* @param {Function} fn Function to be executed when condition is true
|
|
@@ -24079,7 +24027,7 @@ var Plugin = /*#__PURE__*/function () {
|
|
|
24079
24027
|
return Plugin;
|
|
24080
24028
|
}();
|
|
24081
24029
|
|
|
24082
|
-
Plugin.version = "3.5.
|
|
24030
|
+
Plugin.version = "3.5.1";
|
|
24083
24031
|
|
|
24084
24032
|
;// CONCATENATED MODULE: ./src/Plugin/stanford/Options.ts
|
|
24085
24033
|
/**
|