From ed0c7fa0e80a2bff0798a02e26a6a256e3f853c2 Mon Sep 17 00:00:00 2001 From: pvictor Date: Sat, 21 Aug 2021 19:32:19 +0200 Subject: [PATCH] use packer --- .Rbuildignore | 4 + DESCRIPTION | 7 +- .../assets/@toast-ui/chart/LICENSE | 21 - .../chart/dist/toastui-chart.min.css | 6 - .../@toast-ui/chart/dist/toastui-chart.min.js | 8 - inst/htmlwidgets/assets/bttn/LICENSE | 21 - inst/htmlwidgets/assets/bttn/bttn.min.css | 11 - inst/htmlwidgets/assets/moment/LICENSE | 22 - .../assets/moment/moment-timezone.min.js | 1 - inst/htmlwidgets/assets/moment/moment.min.js | 2 - .../assets/moment/moment.min.js.map | 1 - inst/htmlwidgets/assets/tui-calendar/LICENSE | 21 - .../tui-calendar/dist/tui-calendar.min.css | 7 - .../dist/tui-calendar.min.css.map | 1 - .../tui-calendar/dist/tui-calendar.min.js | 8 - .../tui-calendar/dist/tui-calendar.min.js.map | 1 - .../assets/tui-code-snippet/LICENSE | 21 - .../dist/tui-code-snippet.min.js | 7 - .../assets/tui-date-picker/LICENSE | 21 - .../dist/tui-date-picker.min.css | 6 - .../dist/tui-date-picker.min.js | 7 - inst/htmlwidgets/assets/tui-grid/LICENSE | 21 - .../assets/tui-grid/dist/tui-grid.min.css | 12 - .../assets/tui-grid/dist/tui-grid.min.js | 7 - .../htmlwidgets/assets/tui-pagination/LICENSE | 21 - .../dist/tui-pagination.min.css | 6 - .../tui-pagination/dist/tui-pagination.min.js | 7 - .../assets/tui-time-picker/LICENSE | 21 - .../dist/tui-time-picker.min.css | 6 - .../dist/tui-time-picker.min.js | 7 - inst/htmlwidgets/calendar.js | 355 +---- inst/htmlwidgets/calendar.js.LICENSE.txt | 785 +++++++++++ inst/htmlwidgets/calendar.yaml | 31 - inst/htmlwidgets/chart.js | 70 +- inst/htmlwidgets/chart.js.LICENSE.txt | 1 + inst/htmlwidgets/chart.yaml | 6 - inst/htmlwidgets/datagrid.js | 619 +-------- inst/htmlwidgets/datagrid.js.LICENSE.txt | 323 +++++ inst/htmlwidgets/datagrid.yaml | 21 - inst/htmlwidgets/update.R | 36 - package-lock.json | 1216 ++++++++++++++++- package.json | 43 +- srcjs/config/entry_points.json | 5 + srcjs/config/externals.json | 5 + srcjs/config/loaders.json | 9 + srcjs/config/misc.json | 1 + srcjs/config/output_path.json | 1 + srcjs/index.js | 1 + srcjs/modules/header.js | 5 + srcjs/widgets/calendar.js | 358 +++++ srcjs/widgets/chart.js | 38 + srcjs/widgets/datagrid.js | 615 +++++++++ webpack.common.js | 79 ++ webpack.dev.js | 7 + webpack.prod.js | 6 + 55 files changed, 3469 insertions(+), 1479 deletions(-) delete mode 100644 inst/htmlwidgets/assets/@toast-ui/chart/LICENSE delete mode 100644 inst/htmlwidgets/assets/@toast-ui/chart/dist/toastui-chart.min.css delete mode 100644 inst/htmlwidgets/assets/@toast-ui/chart/dist/toastui-chart.min.js delete mode 100644 inst/htmlwidgets/assets/bttn/LICENSE delete mode 100644 inst/htmlwidgets/assets/bttn/bttn.min.css delete mode 100644 inst/htmlwidgets/assets/moment/LICENSE delete mode 100644 inst/htmlwidgets/assets/moment/moment-timezone.min.js delete mode 100644 inst/htmlwidgets/assets/moment/moment.min.js delete mode 100644 inst/htmlwidgets/assets/moment/moment.min.js.map delete mode 100644 inst/htmlwidgets/assets/tui-calendar/LICENSE delete mode 100644 inst/htmlwidgets/assets/tui-calendar/dist/tui-calendar.min.css delete mode 100644 inst/htmlwidgets/assets/tui-calendar/dist/tui-calendar.min.css.map delete mode 100644 inst/htmlwidgets/assets/tui-calendar/dist/tui-calendar.min.js delete mode 100644 inst/htmlwidgets/assets/tui-calendar/dist/tui-calendar.min.js.map delete mode 100644 inst/htmlwidgets/assets/tui-code-snippet/LICENSE delete mode 100644 inst/htmlwidgets/assets/tui-code-snippet/dist/tui-code-snippet.min.js delete mode 100644 inst/htmlwidgets/assets/tui-date-picker/LICENSE delete mode 100644 inst/htmlwidgets/assets/tui-date-picker/dist/tui-date-picker.min.css delete mode 100644 inst/htmlwidgets/assets/tui-date-picker/dist/tui-date-picker.min.js delete mode 100644 inst/htmlwidgets/assets/tui-grid/LICENSE delete mode 100644 inst/htmlwidgets/assets/tui-grid/dist/tui-grid.min.css delete mode 100644 inst/htmlwidgets/assets/tui-grid/dist/tui-grid.min.js delete mode 100644 inst/htmlwidgets/assets/tui-pagination/LICENSE delete mode 100644 inst/htmlwidgets/assets/tui-pagination/dist/tui-pagination.min.css delete mode 100644 inst/htmlwidgets/assets/tui-pagination/dist/tui-pagination.min.js delete mode 100644 inst/htmlwidgets/assets/tui-time-picker/LICENSE delete mode 100644 inst/htmlwidgets/assets/tui-time-picker/dist/tui-time-picker.min.css delete mode 100644 inst/htmlwidgets/assets/tui-time-picker/dist/tui-time-picker.min.js create mode 100644 inst/htmlwidgets/calendar.js.LICENSE.txt delete mode 100644 inst/htmlwidgets/calendar.yaml create mode 100644 inst/htmlwidgets/chart.js.LICENSE.txt delete mode 100644 inst/htmlwidgets/chart.yaml create mode 100644 inst/htmlwidgets/datagrid.js.LICENSE.txt delete mode 100644 inst/htmlwidgets/datagrid.yaml delete mode 100644 inst/htmlwidgets/update.R create mode 100644 srcjs/config/entry_points.json create mode 100644 srcjs/config/externals.json create mode 100644 srcjs/config/loaders.json create mode 100644 srcjs/config/misc.json create mode 100644 srcjs/config/output_path.json create mode 100644 srcjs/index.js create mode 100644 srcjs/modules/header.js create mode 100644 srcjs/widgets/calendar.js create mode 100644 srcjs/widgets/chart.js create mode 100644 srcjs/widgets/datagrid.js create mode 100644 webpack.common.js create mode 100644 webpack.dev.js create mode 100644 webpack.prod.js diff --git a/.Rbuildignore b/.Rbuildignore index f54af5c8..8d7fdbd8 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -10,3 +10,7 @@ ^node_modules$ ^package\.json$ ^package-lock\.json$ +^srcjs$ +^webpack\.dev\.js$ +^webpack\.prod\.js$ +^webpack\.common\.js$ diff --git a/DESCRIPTION b/DESCRIPTION index 76603679..794ed849 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -20,13 +20,14 @@ Imports: shiny (>= 1.1.0), magrittr, rlang -RoxygenNote: 7.1.1 -Roxygen: list(markdown = TRUE) Suggests: apexcharter, knitr, rmarkdown, - scales, tinytest + scales, + tinytest VignetteBuilder: knitr +RoxygenNote: 7.1.1 +Roxygen: list(markdown = TRUE) URL: https://dreamrs.github.io/toastui/ BugReports: https://github.com/dreamRs/toastui/issues diff --git a/inst/htmlwidgets/assets/@toast-ui/chart/LICENSE b/inst/htmlwidgets/assets/@toast-ui/chart/LICENSE deleted file mode 100644 index 53f2e83e..00000000 --- a/inst/htmlwidgets/assets/@toast-ui/chart/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2020 NHN Corp. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/inst/htmlwidgets/assets/@toast-ui/chart/dist/toastui-chart.min.css b/inst/htmlwidgets/assets/@toast-ui/chart/dist/toastui-chart.min.css deleted file mode 100644 index 50c25408..00000000 --- a/inst/htmlwidgets/assets/@toast-ui/chart/dist/toastui-chart.min.css +++ /dev/null @@ -1,6 +0,0 @@ -/*! - * TOAST UI Chart 4th Edition - * @version 4.3.2 | Thu Apr 22 2021 - * @author NHN. FE Development Lab - * @license MIT - */.toastui-chart-wrapper{position:relative;width:100%;height:100%}.toastui-chart-export-menu{font-family:Arial,sans-serif;position:absolute;top:0;left:0;background:#fff;user-select:none;box-sizing:border-box}.toastui-chart-export-menu-title{height:34px;width:140px;margin:0;padding:10px;box-sizing:inherit}.toastui-chart-export-menu-btn-wrapper{width:100%;height:76px}.toastui-chart-export-menu-btn{width:50%;height:50%;border:none;padding:12px 3px;float:left;color:inherit;font-family:inherit;background:transparent;cursor:pointer}.toastui-chart-export-menu-btn:hover{font-weight:700}.toastui-chart-export-menu-btn:nth-child(3){border-bottom-left-radius:inherit}.toastui-chart-export-menu-btn:nth-child(4){border-bottom-right-radius:inherit}.toastui-chart-tooltip-container{position:absolute;top:0;left:0;user-select:none;pointer-events:none}.toastui-chart-tooltip{display:flex;flex-direction:column;box-sizing:border-box;min-width:150px}.toastui-chart-tooltip-category{padding:8px 15px;border-bottom:1px solid rgba(0,0,0,.1)}.toastui-chart-tooltip-series-wrapper{display:flex;padding:13px 15px;flex-direction:column}.toastui-chart-tooltip-series{display:flex;width:100%;justify-content:space-between}.toastui-chart-series-name{display:flex;align-items:center;line-height:10px}.toastui-chart-series-name .toastui-chart-icon,.toastui-chart-tooltip-series .toastui-chart-icon{width:10px;height:10px;margin-right:8px;display:inline-block}.toastui-chart-series-name .toastui-chart-name{white-space:nowrap}.toastui-chart-series-value{white-space:nowrap;margin-left:10px}.toastui-chart-tooltip-series-wrapper .toastui-chart-tooltip-title{padding:8px 0 5px}.toastui-chart-tooltip-series-wrapper .toastui-chart-tooltip-title:first-child{padding-top:0} \ No newline at end of file diff --git a/inst/htmlwidgets/assets/@toast-ui/chart/dist/toastui-chart.min.js b/inst/htmlwidgets/assets/@toast-ui/chart/dist/toastui-chart.min.js deleted file mode 100644 index 67b543dd..00000000 --- a/inst/htmlwidgets/assets/@toast-ui/chart/dist/toastui-chart.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/*! - * TOAST UI Chart 4th Edition - * @version 4.3.5 | Mon Jun 21 2021 - * @author NHN. FE Development Lab - * @license MIT - */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.toastui=t():(e.toastui=e.toastui||{},e.toastui.Chart=t())}(self,(function(){return function(){var e={3819:function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},8505:function(e,t,r){var n=r(5052);e.exports=function(e){if(!n(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},9736:function(e,t,r){var n=r(95),o=r(2391),i=r(1787),a=n("unscopables"),s=Array.prototype;null==s[a]&&i.f(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},6637:function(e,t,r){"use strict";var n=r(966).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},7728:function(e){e.exports=function(e,t,r){if(!(e instanceof t))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return e}},1176:function(e,t,r){var n=r(5052);e.exports=function(e){if(!n(e))throw TypeError(String(e)+" is not an object");return e}},3339:function(e){e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},9918:function(e,t,r){"use strict";var n,o=r(3339),i=r(7400),a=r(9859),s=r(5052),c=r(816),u=r(1589),l=r(5762),f=r(7487),d=r(1787).f,h=r(7567),p=r(6540),y=r(95),v=r(1441),m=a.Int8Array,b=m&&m.prototype,g=a.Uint8ClampedArray,O=g&&g.prototype,w=m&&h(m),x=b&&h(b),S=Object.prototype,k=S.isPrototypeOf,j=y("toStringTag"),A=v("TYPED_ARRAY_TAG"),P=o&&!!p&&"Opera"!==u(a.opera),M=!1,R={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},T={BigInt64Array:8,BigUint64Array:8},E=function(e){if(!s(e))return!1;var t=u(e);return c(R,t)||c(T,t)};for(n in R)a[n]||(P=!1);if((!P||"function"!=typeof w||w===Function.prototype)&&(w=function(){throw TypeError("Incorrect invocation")},P))for(n in R)a[n]&&p(a[n],w);if((!P||!x||x===S)&&(x=w.prototype,P))for(n in R)a[n]&&p(a[n].prototype,x);if(P&&h(O)!==x&&p(O,x),i&&!c(x,j))for(n in M=!0,d(x,j,{get:function(){return s(this)?this[A]:void 0}}),R)a[n]&&l(a[n],A,n);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:P,TYPED_ARRAY_TAG:M&&A,aTypedArray:function(e){if(E(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(p){if(k.call(w,e))return e}else for(var t in R)if(c(R,n)){var r=a[t];if(r&&(e===r||k.call(r,e)))return e}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(e,t,r){if(i){if(r)for(var n in R){var o=a[n];if(o&&c(o.prototype,e))try{delete o.prototype[e]}catch(e){}}x[e]&&!r||f(x,e,r?t:P&&b[e]||t)}},exportTypedArrayStaticMethod:function(e,t,r){var n,o;if(i){if(p){if(r)for(n in R)if((o=a[n])&&c(o,e))try{delete o[e]}catch(e){}if(w[e]&&!r)return;try{return f(w,e,r?t:P&&w[e]||t)}catch(e){}}for(n in R)!(o=a[n])||o[e]&&!r||f(o,e,t)}},isView:function(e){if(!s(e))return!1;var t=u(e);return"DataView"===t||c(R,t)||c(T,t)},isTypedArray:E,TypedArray:w,TypedArrayPrototype:x}},3816:function(e,t,r){"use strict";var n=r(9859),o=r(7400),i=r(3339),a=r(5762),s=r(8787),c=r(4229),u=r(7728),l=r(6051),f=r(4237),d=r(7331),h=r(6201),p=r(7567),y=r(6540),v=r(8151).f,m=r(1787).f,b=r(7065),g=r(4555),O=r(6407),w=O.get,x=O.set,S="ArrayBuffer",k="DataView",j="Wrong index",A=n.ArrayBuffer,P=A,M=n.DataView,R=M&&M.prototype,T=Object.prototype,E=n.RangeError,D=h.pack,C=h.unpack,B=function(e){return[255&e]},I=function(e){return[255&e,e>>8&255]},L=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},_=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},W=function(e){return D(e,23,4)},z=function(e){return D(e,52,8)},Y=function(e,t){m(e.prototype,t,{get:function(){return w(this)[t]}})},N=function(e,t,r,n){var o=d(r),i=w(e);if(o+t>i.byteLength)throw E(j);var a=w(i.buffer).bytes,s=o+i.byteOffset,c=a.slice(s,s+t);return n?c:c.reverse()},H=function(e,t,r,n,o,i){var a=d(r),s=w(e);if(a+t>s.byteLength)throw E(j);for(var c=w(s.buffer).bytes,u=a+s.byteOffset,l=n(+o),f=0;fU;)(F=G[U++])in P||a(P,F,A[F]);X.constructor=P}y&&p(R)!==T&&y(R,T);var V=new M(new P(2)),$=R.setInt8;V.setInt8(0,2147483648),V.setInt8(1,2147483649),!V.getInt8(0)&&V.getInt8(1)||s(R,{setInt8:function(e,t){$.call(this,e,t<<24>>24)},setUint8:function(e,t){$.call(this,e,t<<24>>24)}},{unsafe:!0})}else P=function(e){u(this,P,S);var t=d(e);x(this,{bytes:b.call(new Array(t),0),byteLength:t}),o||(this.byteLength=t)},M=function(e,t,r){u(this,M,k),u(e,P,k);var n=w(e).byteLength,i=l(t);if(i<0||i>n)throw E("Wrong offset");if(i+(r=void 0===r?n-i:f(r))>n)throw E("Wrong length");x(this,{buffer:e,byteLength:r,byteOffset:i}),o||(this.buffer=e,this.byteLength=r,this.byteOffset=i)},o&&(Y(P,"byteLength"),Y(M,"buffer"),Y(M,"byteLength"),Y(M,"byteOffset")),s(M.prototype,{getInt8:function(e){return N(this,1,e)[0]<<24>>24},getUint8:function(e){return N(this,1,e)[0]},getInt16:function(e){var t=N(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=N(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return _(N(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return _(N(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return C(N(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return C(N(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){H(this,1,e,B,t)},setUint8:function(e,t){H(this,1,e,B,t)},setInt16:function(e,t){H(this,2,e,I,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){H(this,2,e,I,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){H(this,4,e,L,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){H(this,4,e,L,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){H(this,4,e,W,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){H(this,8,e,z,t,arguments.length>2?arguments[2]:void 0)}});g(P,S),g(M,k),e.exports={ArrayBuffer:P,DataView:M}},7154:function(e,t,r){"use strict";var n=r(2991),o=r(3231),i=r(4237),a=Math.min;e.exports=[].copyWithin||function(e,t){var r=n(this),s=i(r.length),c=o(e,s),u=o(t,s),l=arguments.length>2?arguments[2]:void 0,f=a((void 0===l?s:o(l,s))-u,s-c),d=1;for(u0;)u in r?r[c]=r[u]:delete r[c],c+=d,u+=d;return r}},7065:function(e,t,r){"use strict";var n=r(2991),o=r(3231),i=r(4237);e.exports=function(e){for(var t=n(this),r=i(t.length),a=arguments.length,s=o(a>1?arguments[1]:void 0,r),c=a>2?arguments[2]:void 0,u=void 0===c?r:o(c,r);u>s;)t[s++]=e;return t}},6570:function(e,t,r){"use strict";var n=r(9996).forEach,o=r(6038)("forEach");e.exports=o?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},507:function(e,t,r){"use strict";var n=r(7636),o=r(2991),i=r(4960),a=r(1943),s=r(4237),c=r(2324),u=r(8830);e.exports=function(e){var t,r,l,f,d,h,p=o(e),y="function"==typeof this?this:Array,v=arguments.length,m=v>1?arguments[1]:void 0,b=void 0!==m,g=u(p),O=0;if(b&&(m=n(m,v>2?arguments[2]:void 0,2)),null==g||y==Array&&a(g))for(r=new y(t=s(p.length));t>O;O++)h=b?m(p[O],O):p[O],c(r,O,h);else for(d=(f=g.call(p)).next,r=new y;!(l=d.call(f)).done;O++)h=b?i(f,m,[l.value,O],!0):l.value,c(r,O,h);return r.length=O,r}},9540:function(e,t,r){var n=r(905),o=r(4237),i=r(3231),a=function(e){return function(t,r,a){var s,c=n(t),u=o(c.length),l=i(a,u);if(e&&r!=r){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},9996:function(e,t,r){var n=r(7636),o=r(9337),i=r(2991),a=r(4237),s=r(7501),c=[].push,u=function(e){var t=1==e,r=2==e,u=3==e,l=4==e,f=6==e,d=7==e,h=5==e||f;return function(p,y,v,m){for(var b,g,O=i(p),w=o(O),x=n(y,v,3),S=a(w.length),k=0,j=m||s,A=t?j(p,S):r||d?j(p,0):void 0;S>k;k++)if((h||k in w)&&(g=x(b=w[k],k,O),e))if(t)A[k]=g;else if(g)switch(e){case 3:return!0;case 5:return b;case 6:return k;case 2:c.call(A,b)}else switch(e){case 4:return!1;case 7:c.call(A,b)}return f?-1:u||l?l:A}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},6462:function(e,t,r){"use strict";var n=r(905),o=r(6051),i=r(4237),a=r(6038),s=Math.min,c=[].lastIndexOf,u=!!c&&1/[1].lastIndexOf(1,-0)<0,l=a("lastIndexOf"),f=u||!l;e.exports=f?function(e){if(u)return c.apply(this,arguments)||0;var t=n(this),r=i(t.length),a=r-1;for(arguments.length>1&&(a=s(a,o(arguments[1]))),a<0&&(a=r+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:c},1460:function(e,t,r){var n=r(4229),o=r(95),i=r(6358),a=o("species");e.exports=function(e){return i>=51||!n((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},6038:function(e,t,r){"use strict";var n=r(4229);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){throw 1},1)}))}},3143:function(e,t,r){var n=r(3819),o=r(2991),i=r(9337),a=r(4237),s=function(e){return function(t,r,s,c){n(r);var u=o(t),l=i(u),f=a(u.length),d=e?f-1:0,h=e?-1:1;if(s<2)for(;;){if(d in l){c=l[d],d+=h;break}if(d+=h,e?d<0:f<=d)throw TypeError("Reduce of empty array with no initial value")}for(;e?d>=0:f>d;d+=h)d in l&&(c=r(c,l[d],d,u));return c}};e.exports={left:s(!1),right:s(!0)}},7501:function(e,t,r){var n=r(5052),o=r(3718),i=r(95)("species");e.exports=function(e,t){var r;return o(e)&&("function"!=typeof(r=e.constructor)||r!==Array&&!o(r.prototype)?n(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===t?0:t)}},4960:function(e,t,r){var n=r(1176),o=r(7281);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){throw o(e),t}}},4575:function(e,t,r){var n=r(95)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},e(i)}catch(e){}return r}},7079:function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},1589:function(e,t,r){var n=r(1601),o=r(7079),i=r(95)("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=n?o:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?r:a?o(t):"Object"==(n=o(t))&&"function"==typeof t.callee?"Arguments":n}},8081:function(e,t,r){"use strict";var n=r(1787).f,o=r(2391),i=r(8787),a=r(7636),s=r(7728),c=r(9003),u=r(7675),l=r(1832),f=r(7400),d=r(5926).fastKey,h=r(6407),p=h.set,y=h.getterFor;e.exports={getConstructor:function(e,t,r,u){var l=e((function(e,n){s(e,l,t),p(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),f||(e.size=0),null!=n&&c(n,e[u],{that:e,AS_ENTRIES:r})})),h=y(t),v=function(e,t,r){var n,o,i=h(e),a=m(e,t);return a?a.value=r:(i.last=a={index:o=d(t,!0),key:t,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=a),n&&(n.next=a),f?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},m=function(e,t){var r,n=h(e),o=d(t);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==t)return r};return i(l.prototype,{clear:function(){for(var e=h(this),t=e.index,r=e.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete t[r.index],r=r.next;e.first=e.last=void 0,f?e.size=0:this.size=0},delete:function(e){var t=this,r=h(t),n=m(t,e);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first==n&&(r.first=o),r.last==n&&(r.last=i),f?r.size--:t.size--}return!!n},forEach:function(e){for(var t,r=h(this),n=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:r.first;)for(n(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!m(this,e)}}),i(l.prototype,r?{get:function(e){var t=m(this,e);return t&&t.value},set:function(e,t){return v(this,0===e?0:e,t)}}:{add:function(e){return v(this,e=0===e?0:e,e)}}),f&&n(l.prototype,"size",{get:function(){return h(this).size}}),l},setStrong:function(e,t,r){var n=t+" Iterator",o=y(t),i=y(n);u(e,t,(function(e,t){p(this,{type:n,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,r=e.last;r&&r.removed;)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?"keys"==t?{value:r.key,done:!1}:"values"==t?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),l(t)}}},9789:function(e,t,r){"use strict";var n=r(3103),o=r(9859),i=r(6541),a=r(7487),s=r(5926),c=r(9003),u=r(7728),l=r(5052),f=r(4229),d=r(4575),h=r(4555),p=r(835);e.exports=function(e,t,r){var y=-1!==e.indexOf("Map"),v=-1!==e.indexOf("Weak"),m=y?"set":"add",b=o[e],g=b&&b.prototype,O=b,w={},x=function(e){var t=g[e];a(g,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(v&&!l(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return v&&!l(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(v&&!l(e))&&t.call(this,0===e?0:e)}:function(e,r){return t.call(this,0===e?0:e,r),this})};if(i(e,"function"!=typeof b||!(v||g.forEach&&!f((function(){(new b).entries().next()})))))O=r.getConstructor(t,e,y,m),s.REQUIRED=!0;else if(i(e,!0)){var S=new O,k=S[m](v?{}:-0,1)!=S,j=f((function(){S.has(1)})),A=d((function(e){new b(e)})),P=!v&&f((function(){for(var e=new b,t=5;t--;)e[m](t,t);return!e.has(-0)}));A||((O=t((function(t,r){u(t,O,e);var n=p(new b,t,O);return null!=r&&c(r,n[m],{that:n,AS_ENTRIES:y}),n}))).prototype=g,g.constructor=O),(j||P)&&(x("delete"),x("has"),y&&x("get")),(P||k)&&x(m),v&&g.clear&&delete g.clear}return w[e]=O,n({global:!0,forced:O!=b},w),h(O,e),v||r.setStrong(O,e,y),O}},7081:function(e,t,r){var n=r(816),o=r(4826),i=r(7933),a=r(1787);e.exports=function(e,t){for(var r=o(t),s=a.f,c=i.f,u=0;u"+a+""}},3723:function(e,t,r){"use strict";var n=r(693).IteratorPrototype,o=r(2391),i=r(5358),a=r(4555),s=r(5495),c=function(){return this};e.exports=function(e,t,r){var u=t+" Iterator";return e.prototype=o(n,{next:i(1,r)}),a(e,u,!1,!0),s[u]=c,e}},5762:function(e,t,r){var n=r(7400),o=r(1787),i=r(5358);e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},5358:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},2324:function(e,t,r){"use strict";var n=r(2066),o=r(1787),i=r(5358);e.exports=function(e,t,r){var a=n(t);a in e?o.f(e,a,i(0,r)):e[a]=r}},7675:function(e,t,r){"use strict";var n=r(3103),o=r(3723),i=r(7567),a=r(6540),s=r(4555),c=r(5762),u=r(7487),l=r(95),f=r(4231),d=r(5495),h=r(693),p=h.IteratorPrototype,y=h.BUGGY_SAFARI_ITERATORS,v=l("iterator"),m="keys",b="values",g="entries",O=function(){return this};e.exports=function(e,t,r,l,h,w,x){o(r,t,l);var S,k,j,A=function(e){if(e===h&&E)return E;if(!y&&e in R)return R[e];switch(e){case m:case b:case g:return function(){return new r(this,e)}}return function(){return new r(this)}},P=t+" Iterator",M=!1,R=e.prototype,T=R[v]||R["@@iterator"]||h&&R[h],E=!y&&T||A(h),D="Array"==t&&R.entries||T;if(D&&(S=i(D.call(new e)),p!==Object.prototype&&S.next&&(f||i(S)===p||(a?a(S,p):"function"!=typeof S[v]&&c(S,v,O)),s(S,P,!0,!0),f&&(d[P]=O))),h==b&&T&&T.name!==b&&(M=!0,E=function(){return T.call(this)}),f&&!x||R[v]===E||c(R,v,E),d[t]=E,h)if(k={values:A(b),keys:w?E:A(m),entries:A(g)},x)for(j in k)(y||M||!(j in R))&&u(R,j,k[j]);else n({target:t,proto:!0,forced:y||M},k);return k}},8423:function(e,t,r){var n=r(9276),o=r(816),i=r(5391),a=r(1787).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},7400:function(e,t,r){var n=r(4229);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},2635:function(e,t,r){var n=r(9859),o=r(5052),i=n.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},5694:function(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8801:function(e,t,r){var n=r(7079),o=r(9859);e.exports="process"==n(o.process)},598:function(e,t,r){var n=r(1333);e.exports=n("navigator","userAgent")||""},6358:function(e,t,r){var n,o,i=r(9859),a=r(598),s=i.process,c=s&&s.versions,u=c&&c.v8;u?o=(n=u.split("."))[0]+n[1]:a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=n[1]),e.exports=o&&+o},3837:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3103:function(e,t,r){var n=r(9859),o=r(7933).f,i=r(5762),a=r(7487),s=r(2079),c=r(7081),u=r(6541);e.exports=function(e,t){var r,l,f,d,h,p=e.target,y=e.global,v=e.stat;if(r=y?n:v?n[p]||s(p,{}):(n[p]||{}).prototype)for(l in t){if(d=t[l],f=e.noTargetGet?(h=o(r,l))&&h.value:r[l],!u(y?l:p+(v?".":"#")+l,e.forced)&&void 0!==f){if(typeof d==typeof f)continue;c(d,f)}(e.sham||f&&f.sham)&&i(d,"sham",!0),a(r,l,d,e)}}},4229:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},4954:function(e,t,r){"use strict";r(7950);var n=r(7487),o=r(4229),i=r(95),a=r(5762),s=i("species"),c=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")})),u="$0"==="a".replace(/./,"$0"),l=i("replace"),f=!!/./[l]&&""===/./[l]("a","$0"),d=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));e.exports=function(e,t,r,l){var h=i(e),p=!o((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),y=p&&!o((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[s]=function(){return r},r.flags="",r[h]=/./[h]),r.exec=function(){return t=!0,null},r[h](""),!t}));if(!p||!y||"replace"===e&&(!c||!u||f)||"split"===e&&!d){var v=/./[h],m=r(h,""[e],(function(e,t,r,n,o){return t.exec===RegExp.prototype.exec?p&&!o?{done:!0,value:v.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}}),{REPLACE_KEEPS_$0:u,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:f}),b=m[0],g=m[1];n(String.prototype,e,b),n(RegExp.prototype,h,2==t?function(e,t){return g.call(e,this,t)}:function(e){return g.call(e,this)})}l&&a(RegExp.prototype[h],"sham",!0)}},4990:function(e,t,r){"use strict";var n=r(3718),o=r(4237),i=r(7636),a=function(e,t,r,s,c,u,l,f){for(var d,h=c,p=0,y=!!l&&i(l,f,3);p0&&n(d))h=a(e,t,d,o(d.length),h,u-1)-1;else{if(h>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[h]=d}h++}p++}return h};e.exports=a},8476:function(e,t,r){var n=r(4229);e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},7636:function(e,t,r){var n=r(3819);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,o){return e.call(t,r,n,o)}}return function(){return e.apply(t,arguments)}}},4128:function(e,t,r){"use strict";var n=r(3819),o=r(5052),i=[].slice,a={},s=function(e,t,r){if(!(t in a)){for(var n=[],o=0;o]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,c,u,l){var f=r+e.length,d=c.length,h=s;return void 0!==u&&(u=n(u),h=a),i.call(l,h,(function(n,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(f);case"<":a=u[i.slice(1,-1)];break;default:var s=+i;if(0===s)return n;if(s>d){var l=o(s/10);return 0===l?n:l<=d?void 0===c[l-1]?i.charAt(1):c[l-1]+i.charAt(1):n}a=c[s-1]}return void 0===a?"":a}))}},9859:function(e,t,r){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},816:function(e,t,r){var n=r(2991),o={}.hasOwnProperty;e.exports=function(e,t){return o.call(n(e),t)}},5977:function(e){e.exports={}},3777:function(e,t,r){var n=r(1333);e.exports=n("document","documentElement")},4394:function(e,t,r){var n=r(7400),o=r(4229),i=r(2635);e.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},6201:function(e){var t=Math.abs,r=Math.pow,n=Math.floor,o=Math.log,i=Math.LN2;e.exports={pack:function(e,a,s){var c,u,l,f=new Array(s),d=8*s-a-1,h=(1<>1,y=23===a?r(2,-24)-r(2,-77):0,v=e<0||0===e&&1/e<0?1:0,m=0;for((e=t(e))!=e||e===1/0?(u=e!=e?1:0,c=h):(c=n(o(e)/i),e*(l=r(2,-c))<1&&(c--,l*=2),(e+=c+p>=1?y/l:y*r(2,1-p))*l>=2&&(c++,l/=2),c+p>=h?(u=0,c=h):c+p>=1?(u=(e*l-1)*r(2,a),c+=p):(u=e*r(2,p-1)*r(2,a),c=0));a>=8;f[m++]=255&u,u/=256,a-=8);for(c=c<0;f[m++]=255&c,c/=256,d-=8);return f[--m]|=128*v,f},unpack:function(e,t){var n,o=e.length,i=8*o-t-1,a=(1<>1,c=i-7,u=o-1,l=e[u--],f=127&l;for(l>>=7;c>0;f=256*f+e[u],u--,c-=8);for(n=f&(1<<-c)-1,f>>=-c,c+=t;c>0;n=256*n+e[u],u--,c-=8);if(0===f)f=1-s;else{if(f===a)return n?NaN:l?-1/0:1/0;n+=r(2,t),f-=s}return(l?-1:1)*n*r(2,f-t)}}},9337:function(e,t,r){var n=r(4229),o=r(7079),i="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},835:function(e,t,r){var n=r(5052),o=r(6540);e.exports=function(e,t,r){var i,a;return o&&"function"==typeof(i=t.constructor)&&i!==r&&n(a=i.prototype)&&a!==r.prototype&&o(e,a),e}},8511:function(e,t,r){var n=r(5353),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return o.call(e)}),e.exports=n.inspectSource},5926:function(e,t,r){var n=r(5977),o=r(5052),i=r(816),a=r(1787).f,s=r(1441),c=r(8476),u=s("meta"),l=0,f=Object.isExtensible||function(){return!0},d=function(e){a(e,u,{value:{objectID:"O"+ ++l,weakData:{}}})},h=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,u)){if(!f(e))return"F";if(!t)return"E";d(e)}return e[u].objectID},getWeakData:function(e,t){if(!i(e,u)){if(!f(e))return!0;if(!t)return!1;d(e)}return e[u].weakData},onFreeze:function(e){return c&&h.REQUIRED&&f(e)&&!i(e,u)&&d(e),e}};n[u]=!0},6407:function(e,t,r){var n,o,i,a=r(8694),s=r(9859),c=r(5052),u=r(5762),l=r(816),f=r(5353),d=r(4399),h=r(5977),p="Object already initialized",y=s.WeakMap;if(a){var v=f.state||(f.state=new y),m=v.get,b=v.has,g=v.set;n=function(e,t){if(b.call(v,e))throw new TypeError(p);return t.facade=e,g.call(v,e,t),t},o=function(e){return m.call(v,e)||{}},i=function(e){return b.call(v,e)}}else{var O=d("state");h[O]=!0,n=function(e,t){if(l(e,O))throw new TypeError(p);return t.facade=e,u(e,O,t),t},o=function(e){return l(e,O)?e[O]:{}},i=function(e){return l(e,O)}}e.exports={set:n,get:o,has:i,enforce:function(e){return i(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}}},1943:function(e,t,r){var n=r(95),o=r(5495),i=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},3718:function(e,t,r){var n=r(7079);e.exports=Array.isArray||function(e){return"Array"==n(e)}},6541:function(e,t,r){var n=r(4229),o=/#|\.prototype\./,i=function(e,t){var r=s[a(e)];return r==u||r!=c&&("function"==typeof t?n(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=i.data={},c=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},5052:function(e){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},4231:function(e){e.exports=!1},8311:function(e,t,r){var n=r(5052),o=r(7079),i=r(95)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},9003:function(e,t,r){var n=r(1176),o=r(1943),i=r(4237),a=r(7636),s=r(8830),c=r(7281),u=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,r){var l,f,d,h,p,y,v,m=r&&r.that,b=!(!r||!r.AS_ENTRIES),g=!(!r||!r.IS_ITERATOR),O=!(!r||!r.INTERRUPTED),w=a(t,m,1+b+O),x=function(e){return l&&c(l),new u(!0,e)},S=function(e){return b?(n(e),O?w(e[0],e[1],x):w(e[0],e[1])):O?w(e,x):w(e)};if(g)l=e;else{if("function"!=typeof(f=s(e)))throw TypeError("Target is not iterable");if(o(f)){for(d=0,h=i(e.length);h>d;d++)if((p=S(e[d]))&&p instanceof u)return p;return new u(!1)}l=f.call(e)}for(y=l.next;!(v=y.call(l)).done;){try{p=S(v.value)}catch(e){throw c(l),e}if("object"==typeof p&&p&&p instanceof u)return p}return new u(!1)}},7281:function(e,t,r){var n=r(1176);e.exports=function(e){var t=e.return;if(void 0!==t)return n(t.call(e)).value}},693:function(e,t,r){"use strict";var n,o,i,a=r(4229),s=r(7567),c=r(5762),u=r(816),l=r(95),f=r(4231),d=l("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(n=o):h=!0);var p=null==n||a((function(){var e={};return n[d].call(e)!==e}));p&&(n={}),f&&!p||u(n,d)||c(n,d,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},5495:function(e){e.exports={}},3839:function(e,t,r){var n=r(8801),o=r(6358),i=r(4229);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){return!Symbol.sham&&(n?38===o:o>37&&o<41)}))},8694:function(e,t,r){var n=r(9859),o=r(8511),i=n.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},7272:function(e,t,r){var n=r(8311);e.exports=function(e){if(n(e))throw TypeError("The method doesn't accept regular expressions");return e}},2391:function(e,t,r){var n,o=r(1176),i=r(219),a=r(3837),s=r(5977),c=r(3777),u=r(2635),l=r(4399),f=l("IE_PROTO"),d=function(){},h=function(e){return"