From d607ea747fb836e58db57faf8f92204705e615ae Mon Sep 17 00:00:00 2001 From: Dimitris Pappas Date: Fri, 28 Jun 2019 01:12:57 +0300 Subject: [PATCH 01/10] Allow Multiple Reduction Functions --- demo/App.vue | 40 +++++++++++++++++-- src/Pivot.vue | 14 +++++-- src/PivotTable.vue | 99 +++++++++++++++++++++++++++------------------- 3 files changed, 105 insertions(+), 48 deletions(-) diff --git a/demo/App.vue b/demo/App.vue index ff2ef05..7280b7e 100755 --- a/demo/App.vue +++ b/demo/App.vue @@ -10,7 +10,7 @@ :fields="fields" :row-fields="rowFields" :col-fields="colFields" - :reducer="reducer" + :reducers="reducers" :default-show-settings="defaultShowSettings" > diff --git a/demo/data.js b/demo/data.js index f416b9a..0693e05 100644 --- a/demo/data.js +++ b/demo/data.js @@ -1,38 +1,17 @@ export default [ - {"country": "United States", "year": 2010, "gender": "male", "count": 153295220}, - {"country": "United States", "year": 2010, "gender": "female", "count": 156588400}, - {"country": "United States", "year": 2011, "gender": "male", "count": 154591960}, - {"country": "United States", "year": 2011, "gender": "female", "count": 157800200}, - {"country": "United States", "year": 2012, "gender": "male", "count": 155851840}, - {"country": "United States", "year": 2012, "gender": "female", "count": 158944800}, - {"country": "China", "year": 2010, "gender": "male", "count": 690256342}, - {"country": "China", "year": 2010, "gender": "female", "count": 650712406}, - {"country": "China", "year": 2011, "gender": "male", "count": 694106441}, - {"country": "China", "year": 2011, "gender": "female", "count": 654068030}, - {"country": "China", "year": 2012, "gender": "male", "count": 697964288}, - {"country": "China", "year": 2012, "gender": "female", "count": 657422649}, - /*{"country": "China", "year": 2013, "gender": "male", "count": 701775013}, - {"country": "China", "year": 2013, "gender": "female", "count": 660739286}, - {"country": "China", "year": 2014, "gender": "male", "count": 705465988}, - {"country": "China", "year": 2014, "gender": "female", "count": 663969676}, - {"country": "China", "year": 2015, "gender": "male", "count": 708977128}, - {"country": "China", "year": 2015, "gender": "female", "count": 667071829}, - {"country": "China", "year": 2016, "gender": "male", "count": 712290052}, - {"country": "China", "year": 2016, "gender": "female", "count": 670033273}, - {"country": "China", "year": 2017, "gender": "male", "count": 715392990}, - {"country": "China", "year": 2017, "gender": "female", "count": 672839688}, - {"country": "China", "year": 2018, "gender": "male", "count": 718240829}, - {"country": "China", "year": 2018, "gender": "female", "count": 675445659},*/ - {"country": "India", "year": 2010, "gender": "male", "count": 638354751}, - {"country": "India", "year": 2010, "gender": "female", "count": 592629727}, - {"country": "India", "year": 2011, "gender": "male", "count": 646873890}, - {"country": "India", "year": 2011, "gender": "female", "count": 600572093}, - {"country": "India", "year": 2012, "gender": "male", "count": 655193693}, - {"country": "India", "year": 2012, "gender": "female", "count": 608395922}, - {"country": "France", "year": 2010, "gender": "male", "count": 30675773}, - {"country": "France", "year": 2010, "gender": "female", "count": 32285363}, - {"country": "France", "year": 2011, "gender": "male", "count": 30815839}, - {"country": "France", "year": 2011, "gender": "female", "count": 32452566}, - {"country": "France", "year": 2012, "gender": "male", "count": 30948916}, - {"country": "France", "year": 2012, "gender": "female", "count": 32612882} -] \ No newline at end of file + {"level0":"KONICA MINOLTA GROUP","address":"Stadiou 5 ATHENS, 12122, Greece","application":null,"rto":null,"rpo":null}, + {"level0":"KONICA MINOLTA GROUP","level1":"KONICA ITALY","address":"Piazza Sicelia Roma, A45252, Italy","application":"Email (Outlook)","rto":12.0,"rpo":0.0}, + {"level0":"KONICA MINOLTA GROUP","level1":"KONICA ITALY","address":"Piazza Sicelia Roma, A45252, Italy","application":"SAP Accounting System","rto":168.0,"rpo":24.0}, + {"level0":"KONICA MINOLTA GROUP","level1":"KONICA ITALY","address":"Piazza Sicelia Roma, A45252, Italy","application":"Customer Information System","rto":12.0,"rpo":24.0}, + {"level0":"KONICA MINOLTA GROUP","level1":"KONICA ITALY","address":"Piazza Sicelia Roma, A45252, Italy","application":"MIS Reporting Tools","rto":0.0,"rpo":168.0}, + {"level0":"KONICA MINOLTA GROUP","level1":"KONICA ITALY","address":"Piazza Sicelia Roma, A45252, Italy","application":"HR System","rto":168.0,"rpo":24.0}, + {"level0":"KONICA MINOLTA GROUP","level1":"KONICA GREECE","address":"Stadiou 5 ATHENS, 12122, Greece","application":null,"rto":null,"rpo":null}, + {"level0":"KONICA MINOLTA GROUP","level1":"KONICA GREECE","level2":"Marketing (MKTG)","address":"Stadiou 5 ATHENS, 12122, Greece","application":null,"rto":null,"rpo":null}, + {"level0":"KONICA MINOLTA GROUP","level1":"KONICA GREECE","level2":"Human Resources (HR)","address":"Mela 41 Chalandri, 13244, Greece","application":null,"rto":null,"rpo":null}, + {"level0":"KONICA MINOLTA GROUP","level1":"KONICA GREECE","level2":"Marketing (MKTG)","level3":"Digital Marketing","address":"Stadiou 5 ATHENS, 12122, Greece","application":"Email (Outlook)","rto":12.0,"rpo":0.0}, + {"level0":"KONICA MINOLTA GROUP","level1":"KONICA GREECE","level2":"Marketing (MKTG)","level3":"Digital Marketing","address":"Stadiou 5 ATHENS, 12122, Greece","application":"SAP Accounting System","rto":24.0,"rpo":48.0}, + {"level0":"KONICA MINOLTA GROUP","level1":"KONICA GREECE","level2":"Marketing (MKTG)","level3":"Digital Marketing","address":"Stadiou 5 ATHENS, 12122, Greece","application":"Customer Information System","rto":48.0,"rpo":24.0}, + {"level0":"KONICA MINOLTA GROUP","level1":"KONICA GREECE","level2":"Marketing (MKTG)","level3":"Social Responsibility","address":"Stadiou 5 ATHENS, 12122, Greece","application":null,"rto":null,"rpo":null}, + {"level0":"KONICA MINOLTA GROUP","level1":"KONICA GREECE","level2":"Human Resources (HR)","level3":"Payroll Services","address":"Mela 41 Chalandri, 13244, Greece","application":null,"rto":null,"rpo":null}, + {"level0":"KONICA MINOLTA GROUP","level1":"KONICA GREECE","level2":"Human Resources (HR)","level3":"Recruiting Services","address":"Mela 41 Chalandri, 13244, Greece","application":null,"rto":null,"rpo":null} +] diff --git a/src/Pivot.vue b/src/Pivot.vue index 60c38b8..fcb927e 100644 --- a/src/Pivot.vue +++ b/src/Pivot.vue @@ -53,6 +53,7 @@ v-model="internal.colFields" :group="{name: 'fields', pull: pullFunction}" :clone="clone" + :move="moveCheck" class="d-flex flex-row drag-area border-primary" :class="dragAreaClass" @start="start" @@ -142,6 +143,7 @@ class="d-flex flex-column align-items-start drag-area border-primary" :class="dragAreaClass" :clone="clone" + :move="moveCheck" @start="start" @end="end">
From a6557fd664ec44e4de7e78837c51eaf0c94011b8 Mon Sep 17 00:00:00 2001 From: Dimitris Pappas Date: Wed, 3 Jul 2019 17:45:25 +0300 Subject: [PATCH 09/10] Update distribution --- dist/vue-pivot-table.browser.js | 6 ++++-- dist/vue-pivot-table.js | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/dist/vue-pivot-table.browser.js b/dist/vue-pivot-table.browser.js index 713cfa5..91df5de 100644 --- a/dist/vue-pivot-table.browser.js +++ b/dist/vue-pivot-table.browser.js @@ -1,12 +1,14 @@ -window.VuePivot=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=12)}([function(t,e){t.exports=function t(e,n){"use strict";var r,o,i=/(^([+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi,a=/(^[ ]*|[ ]*$)/g,s=/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[\/\-]\d{1,4}[\/\-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,l=/^0x[0-9a-f]+$/i,c=/^0/,d=function(e){return t.insensitive&&(""+e).toLowerCase()||""+e},u=d(e).replace(a,"")||"",f=d(n).replace(a,"")||"",h=u.replace(i,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),p=f.replace(i,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),g=parseInt(u.match(l),16)||1!==h.length&&u.match(s)&&Date.parse(u),v=parseInt(f.match(l),16)||g&&f.match(s)&&Date.parse(f)||null;if(v){if(gv)return 1}for(var m=0,y=Math.max(h.length,p.length);mo)return 1}return 0}},function(t,e,n){var r=n(8);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);(0,n(5).default)("49c17096",r,!1,{})},function(t,e,n){var r=n(11);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);(0,n(5).default)("fc9c31ce",r,!1,{})},function(t,e){t.exports=function(){function t(t){return t}function e(t){return"string"==typeof t?t.toLowerCase():t}function n(r,o){var i="function"==typeof this&&!this.firstBy&&this,a=function(n,r){if(r="number"==typeof r?{direction:r}:r||{},"function"!=typeof n){var o=n;n=function(t){return t[o]?t[o]:""}}if(1===n.length){var i=n,a=r.ignoreCase?e:t,s=r.cmp||function(t,e){return te?1:0};n=function(t,e){return s(a(i(t)),a(i(e)))}}return-1===r.direction?function(t,e){return-n(t,e)}:n}(r,o),s=i?function(t,e){return i(t,e)||a(t,e)}:a;return s.thenBy=n,s}return n.firstBy=n,n}()},function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var o=function(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}(r),i=r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"});return[n].concat(i).concat([o]).join("\n")}return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;on.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(o=0;on-1?n:e[t]},getComponent:function(){return this.$slots.default[0].componentInstance},resetTransitionData:function(t){if(this.noTransitionOnDrag&&this.transitionMode){this.getChildrenNodes()[t].data=null;var e=this.getComponent();e.children=[],e.kept=void 0}},onDragStart:function(t){this.context=this.getUnderlyingVm(t.item),t.item._underlying_vm_=this.clone(this.context.element),c=t.item},onDragAdd:function(t){var n=t.item._underlying_vm_;if(void 0!==n){e(t.item);var r=this.getVmIndex(t.newIndex);this.spliceList(r,0,n),this.computeIndexes();var o={element:n,newIndex:r};this.emitChanges({added:o})}},onDragRemove:function(t){if(n(this.rootContainer,t.item,t.oldIndex),this.isCloning)e(t.clone);else{var r=this.context.index;this.spliceList(r,1);var o={element:this.context.element,oldIndex:r};this.resetTransitionData(r),this.emitChanges({removed:o})}},onDragUpdate:function(t){e(t.item),n(t.from,t.item,t.oldIndex);var r=this.context.index,o=this.getVmIndex(t.newIndex);this.updatePosition(r,o);var i={element:this.context.element,oldIndex:r,newIndex:o};this.emitChanges({moved:i})},computeFutureIndex:function(t,e){if(!t.element)return 0;var n=[].concat(o(e.to.children)).filter(function(t){return"none"!==t.style.display}),r=n.indexOf(e.related),i=t.component.getVmIndex(r);return-1==n.indexOf(c)&&e.willInsertAfter?i+1:i},onDragMove:function(t,e){var n=this.move;if(!n||!this.realList)return!0;var o=this.getRelatedContextFromMoveEvent(t),i=this.context,a=this.computeFutureIndex(o,t);return r(i,{futureIndex:a}),r(t,{relatedContext:o,draggedContext:i}),n(t,e)},onDragEnd:function(t){this.computeIndexes(),c=null}}}}(e)}()},function(t,e,n){"use strict";var r=n(1);n.n(r).a},function(t,e,n){(t.exports=n(4)(!1)).push([t.i,"td[data-v-a5e6c936]{min-width:100px}",""])},function(t,e,n){var r,o; +window.VuePivot=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=15)}([function(t,e){t.exports=function t(e,n){"use strict";var r,o,i=/(^([+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi,a=/(^[ ]*|[ ]*$)/g,s=/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[\/\-]\d{1,4}[\/\-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,l=/^0x[0-9a-f]+$/i,c=/^0/,u=function(e){return t.insensitive&&(""+e).toLowerCase()||""+e},d=u(e).replace(a,"")||"",f=u(n).replace(a,"")||"",p=d.replace(i,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),h=f.replace(i,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),v=parseInt(d.match(l),16)||1!==p.length&&d.match(s)&&Date.parse(d),g=parseInt(f.match(l),16)||v&&f.match(s)&&Date.parse(f)||null;if(g){if(vg)return 1}for(var m=0,b=Math.max(p.length,h.length);mo)return 1}return 0}},function(t,e,n){var r=n(9);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);(0,n(5).default)("3c6fca3a",r,!1,{})},function(t,e,n){var r=n(12);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);(0,n(5).default)("32a83763",r,!1,{})},function(t,e,n){var r=n(14);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);(0,n(5).default)("547340ac",r,!1,{})},function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var o=function(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}(r),i=r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"});return[n].concat(i).concat([o]).join("\n")}return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;on.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(o=0;oe?1:0};n=function(t,e){return s(a(i(t)),a(i(e)))}}return-1===r.direction?function(t,e){return-n(t,e)}:n}(r,o),s=i?function(t,e){return i(t,e)||a(t,e)}:a;return s.thenBy=n,s}return n.firstBy=n,n}()},function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"02f4":function(t,e,n){var r=n("4588"),o=n("be13");t.exports=function(t){return function(e,n){var i,a,s=String(o(e)),l=r(n),c=s.length;return l<0||l>=c?t?"":void 0:(i=s.charCodeAt(l))<55296||i>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?t?s.charAt(l):i:t?s.slice(l,l+2):a-56320+(i-55296<<10)+65536}}},"0390":function(t,e,n){"use strict";var r=n("02f4")(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"07e3":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"0bfb":function(t,e,n){"use strict";var r=n("cb7c");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0fc9":function(t,e,n){var r=n("3a38"),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):i(t,e)}},1654:function(t,e,n){"use strict";var r=n("71c1")(!0);n("30f1")(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},1691:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"1af6":function(t,e,n){var r=n("63b6");r(r.S,"Array",{isArray:n("9003")})},"1bc3":function(t,e,n){var r=n("f772");t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},"1ec9":function(t,e,n){var r=n("f772"),o=n("e53d").document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},"20fd":function(t,e,n){"use strict";var r=n("d9f6"),o=n("aebd");t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},"214f":function(t,e,n){"use strict";n("b0c5");var r=n("2aba"),o=n("32e9"),i=n("79e5"),a=n("be13"),s=n("2b4c"),l=n("520a"),c=s("species"),u=!i(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}),d=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var f=s(t),p=!i(function(){var e={};return e[f]=function(){return 7},7!=""[t](e)}),h=p?!i(function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[c]=function(){return n}),n[f](""),!e}):void 0;if(!p||!h||"replace"===t&&!u||"split"===t&&!d){var v=/./[f],g=n(a,f,""[t],function(t,e,n,r,o){return e.exec===l?p&&!o?{done:!0,value:v.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),m=g[0],b=g[1];r(String.prototype,t,m),o(RegExp.prototype,f,2==e?function(t,e){return b.call(t,this,e)}:function(t){return b.call(t,this)})}}},"230e":function(t,e,n){var r=n("d3f4"),o=n("7726").document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},"23c6":function(t,e,n){var r=n("2d95"),o=n("2b4c")("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},"241e":function(t,e,n){var r=n("25eb");t.exports=function(t){return Object(r(t))}},"25eb":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"294c":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"2aba":function(t,e,n){var r=n("7726"),o=n("32e9"),i=n("69a8"),a=n("ca5a")("src"),s=n("fa5b"),l=(""+s).split("toString");n("8378").inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var c="function"==typeof n;c&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(c&&(i(n,a)||o(n,a,t[e]?""+t[e]:l.join(String(e)))),t===r?t[e]=n:s?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},"2b4c":function(t,e,n){var r=n("5537")("wks"),o=n("ca5a"),i=n("7726").Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"2fdb":function(t,e,n){"use strict";var r=n("5ca1"),o=n("d2c8");r(r.P+r.F*n("5147")("includes"),"String",{includes:function(t){return!!~o(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},"30f1":function(t,e,n){"use strict";var r=n("b8e3"),o=n("63b6"),i=n("9138"),a=n("35e8"),s=n("481b"),l=n("8f60"),c=n("45f2"),u=n("53e2"),d=n("5168")("iterator"),f=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,e,n,h,v,g,m){l(n,e,h);var b,y,w,_=function(t){if(!f&&t in F)return F[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},x=e+" Iterator",S="values"==v,C=!1,F=t.prototype,O=F[d]||F["@@iterator"]||v&&F[v],T=O||_(v),E=v?S?_("entries"):T:void 0,D="Array"==e&&F.entries||O;if(D&&(w=u(D.call(new t)))!==Object.prototype&&w.next&&(c(w,x,!0),r||"function"==typeof w[d]||a(w,d,p)),S&&O&&"values"!==O.name&&(C=!0,T=function(){return O.call(this)}),r&&!m||!f&&!C&&F[d]||a(F,d,T),s[e]=T,s[x]=p,v)if(b={values:S?T:_("values"),keys:g?T:_("keys"),entries:E},m)for(y in b)y in F||i(F,y,b[y]);else o(o.P+o.F*(f||C),e,b);return b}},"32a6":function(t,e,n){var r=n("241e"),o=n("c3a1");n("ce7e")("keys",function(){return function(t){return o(r(t))}})},"32e9":function(t,e,n){var r=n("86cc"),o=n("4630");t.exports=n("9e1e")?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},"32fc":function(t,e,n){var r=n("e53d").document;t.exports=r&&r.documentElement},"335c":function(t,e,n){var r=n("6b4c");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"355d":function(t,e){e.f={}.propertyIsEnumerable},"35e8":function(t,e,n){var r=n("d9f6"),o=n("aebd");t.exports=n("8e60")?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},"36c3":function(t,e,n){var r=n("335c"),o=n("25eb");t.exports=function(t){return r(o(t))}},3702:function(t,e,n){var r=n("481b"),o=n("5168")("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},"3a38":function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},"40c3":function(t,e,n){var r=n("6b4c"),o=n("5168")("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},4588:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},"45f2":function(t,e,n){var r=n("d9f6").f,o=n("07e3"),i=n("5168")("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"469f":function(t,e,n){n("6c1c"),n("1654"),t.exports=n("7d7b")},"481b":function(t,e){t.exports={}},"4aa6":function(t,e,n){t.exports=n("dc62")},"4bf8":function(t,e,n){var r=n("be13");t.exports=function(t){return Object(r(t))}},"4ee1":function(t,e,n){var r=n("5168")("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},t(i)}catch(t){}return n}},"50ed":function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},5147:function(t,e,n){var r=n("2b4c")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},5168:function(t,e,n){var r=n("dbdb")("wks"),o=n("62a0"),i=n("e53d").Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},5176:function(t,e,n){t.exports=n("51b6")},"51b6":function(t,e,n){n("a3c3"),t.exports=n("584a").Object.assign},"520a":function(t,e,n){"use strict";var r=n("0bfb"),o=RegExp.prototype.exec,i=String.prototype.replace,a=o,s=function(){var t=/a/,e=/b*/g;return o.call(t,"a"),o.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),l=void 0!==/()??/.exec("")[1];(s||l)&&(a=function(t){var e,n,a,c,u=this;return l&&(n=new RegExp("^"+u.source+"$(?!\\s)",r.call(u))),s&&(e=u.lastIndex),a=o.call(u,t),s&&a&&(u.lastIndex=u.global?a.index+a[0].length:e),l&&a&&a.length>1&&i.call(a[0],n,function(){for(c=1;c1?arguments[1]:void 0,g=void 0!==v,m=0,b=u(f);if(g&&(v=r(v,h>2?arguments[2]:void 0,2)),void 0==b||p==Array&&s(b))for(n=new p(e=l(f.length));e>m;m++)c(n,m,g?v(f[m],m):f[m]);else for(d=b.call(f),n=new p;!(o=d.next()).done;m++)c(n,m,g?a(d,v,[o.value,m],!0):o.value);return n.length=m,n}})},"54a1":function(t,e,n){n("6c1c"),n("1654"),t.exports=n("95d5")},5537:function(t,e,n){var r=n("8378"),o=n("7726"),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},5559:function(t,e,n){var r=n("dbdb")("keys"),o=n("62a0");t.exports=function(t){return r[t]||(r[t]=o(t))}},"584a":function(t,e){var n=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},"5b4e":function(t,e,n){var r=n("36c3"),o=n("b447"),i=n("0fc9");t.exports=function(t){return function(e,n,a){var s,l=r(e),c=o(l.length),u=i(a,c);if(t&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}}},"5ca1":function(t,e,n){var r=n("7726"),o=n("8378"),i=n("32e9"),a=n("2aba"),s=n("9b43"),l=function(t,e,n){var c,u,d,f,p=t&l.F,h=t&l.G,v=t&l.S,g=t&l.P,m=t&l.B,b=h?r:v?r[e]||(r[e]={}):(r[e]||{}).prototype,y=h?o:o[e]||(o[e]={}),w=y.prototype||(y.prototype={});for(c in h&&(n=e),n)d=((u=!p&&b&&void 0!==b[c])?b:n)[c],f=m&&u?s(d,r):g&&"function"==typeof d?s(Function.call,d):d,b&&a(b,c,d,t&l.U),y[c]!=d&&i(y,c,f),g&&w[c]!=d&&(w[c]=d)};r.core=o,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},"5d73":function(t,e,n){t.exports=n("469f")},"5f1b":function(t,e,n){"use strict";var r=n("23c6"),o=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var i=n.call(t,e);if("object"!=typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},"626a":function(t,e,n){var r=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"62a0":function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},"63b6":function(t,e,n){var r=n("e53d"),o=n("584a"),i=n("d864"),a=n("35e8"),s=n("07e3"),l=function(t,e,n){var c,u,d,f=t&l.F,p=t&l.G,h=t&l.S,v=t&l.P,g=t&l.B,m=t&l.W,b=p?o:o[e]||(o[e]={}),y=b.prototype,w=p?r:h?r[e]:(r[e]||{}).prototype;for(c in p&&(n=e),n)(u=!f&&w&&void 0!==w[c])&&s(b,c)||(d=u?w[c]:n[c],b[c]=p&&"function"!=typeof w[c]?n[c]:g&&u?i(d,r):m&&w[c]==d?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(d):v&&"function"==typeof d?i(Function.call,d):d,v&&((b.virtual||(b.virtual={}))[c]=d,t&l.R&&y&&!y[c]&&a(y,c,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},6762:function(t,e,n){"use strict";var r=n("5ca1"),o=n("c366")(!0);r(r.P,"Array",{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")("includes")},6821:function(t,e,n){var r=n("626a"),o=n("be13");t.exports=function(t){return r(o(t))}},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"6a99":function(t,e,n){var r=n("d3f4");t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},"6b4c":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"6c1c":function(t,e,n){n("c367");for(var r=n("e53d"),o=n("35e8"),i=n("481b"),a=n("5168")("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l=c?t?"":void 0:(i=s.charCodeAt(l))<55296||i>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?t?s.charAt(l):i:t?s.slice(l,l+2):a-56320+(i-55296<<10)+65536}}},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"774e":function(t,e,n){t.exports=n("d2d5")},"77f1":function(t,e,n){var r=n("4588"),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):i(t,e)}},"794b":function(t,e,n){t.exports=!n("8e60")&&!n("294c")(function(){return 7!=Object.defineProperty(n("1ec9")("div"),"a",{get:function(){return 7}}).a})},"79aa":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"7cd6":function(t,e,n){var r=n("40c3"),o=n("5168")("iterator"),i=n("481b");t.exports=n("584a").getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},"7d7b":function(t,e,n){var r=n("e4ae"),o=n("7cd6");t.exports=n("584a").getIterator=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return r(e.call(t))}},"7e90":function(t,e,n){var r=n("d9f6"),o=n("e4ae"),i=n("c3a1");t.exports=n("8e60")?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),s=a.length,l=0;s>l;)r.f(t,n=a[l++],e[n]);return t}},8378:function(t,e){var n=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},8436:function(t,e){t.exports=function(){}},"86cc":function(t,e,n){var r=n("cb7c"),o=n("c69a"),i=n("6a99"),a=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"8aae":function(t,e,n){n("32a6"),t.exports=n("584a").Object.keys},"8e60":function(t,e,n){t.exports=!n("294c")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"8f60":function(t,e,n){"use strict";var r=n("a159"),o=n("aebd"),i=n("45f2"),a={};n("35e8")(a,n("5168")("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:o(1,n)}),i(t,e+" Iterator")}},9003:function(t,e,n){var r=n("6b4c");t.exports=Array.isArray||function(t){return"Array"==r(t)}},9138:function(t,e,n){t.exports=n("35e8")},9306:function(t,e,n){"use strict";var r=n("c3a1"),o=n("9aa9"),i=n("355d"),a=n("241e"),s=n("335c"),l=Object.assign;t.exports=!l||n("294c")(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=l({},t)[n]||Object.keys(l({},e)).join("")!=r})?function(t,e){for(var n=a(t),l=arguments.length,c=1,u=o.f,d=i.f;l>c;)for(var f,p=s(arguments[c++]),h=u?r(p).concat(u(p)):r(p),v=h.length,g=0;v>g;)d.call(p,f=h[g++])&&(n[f]=p[f]);return n}:l},9427:function(t,e,n){var r=n("63b6");r(r.S,"Object",{create:n("a159")})},"95d5":function(t,e,n){var r=n("40c3"),o=n("5168")("iterator"),i=n("481b");t.exports=n("584a").isIterable=function(t){var e=Object(t);return void 0!==e[o]||"@@iterator"in e||i.hasOwnProperty(r(e))}},"9aa9":function(t,e){e.f=Object.getOwnPropertySymbols},"9b43":function(t,e,n){var r=n("d8e8");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},"9c6c":function(t,e,n){var r=n("2b4c")("unscopables"),o=Array.prototype;void 0==o[r]&&n("32e9")(o,r,{}),t.exports=function(t){o[r][t]=!0}},"9def":function(t,e,n){var r=n("4588"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},a159:function(t,e,n){var r=n("e4ae"),o=n("7e90"),i=n("1691"),a=n("5559")("IE_PROTO"),s=function(){},l=function(){var t,e=n("1ec9")("iframe"),r=i.length;for(e.style.display="none",n("32fc").appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("