(window.webpackJsonp=window.webpackJsonp||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(229)},function(e,t,n){e.exports=n(352)()},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},function(e,t,n){"use strict";function r(e){var t,n,i="";if(e)if("object"===typeof e)if(e.push)for(t=0;t0}function S(e){return Object.keys(e).map(function(t){return e[t]})}var _=!("undefined"===typeof window||!window.document||!window.document.createElement);var E,T=((E=function(e,t,n){var r=e[t];return!1===r||x(r)?null:new Error(n+" expect "+t+" \n to be a valid Number > 0 or equal to false. "+r+" given.")}).isRequired=function(e,t,n){if("undefined"===typeof e[t])return new Error("The prop "+t+" is marked as required in \n "+n+", but its value is undefined.");E(e,t,n)},E);function k(e){var t,n=e.delay,i=e.isRunning,o=e.closeToast,a=e.type,l=e.hide,c=e.className,u=e.style,h=e.controlledProgress,d=e.progress,p=e.rtl,m=Object(r.a)({},u,{animationDuration:n+"ms",animationPlayState:i?"running":"paused",opacity:l?0:1,transform:h?"scaleX("+d+")":null}),g=f()("Toastify__progress-bar",h?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated","Toastify__progress-bar--"+a,{"Toastify__progress-bar--rtl":p},c),v=((t={})[h&&d>=1?"onTransitionEnd":"onAnimationEnd"]=h&&d<1?null:o,t);return s.a.createElement("div",Object(r.a)({className:g,style:m},v))}function O(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}k.propTypes={delay:T.isRequired,isRunning:c.a.bool.isRequired,closeToast:c.a.func.isRequired,rtl:c.a.bool.isRequired,type:c.a.string,hide:c.a.bool,className:c.a.oneOfType([c.a.string,c.a.object]),progress:c.a.number,controlledProgress:c.a.bool},k.defaultProps={type:b.DEFAULT,hide:!1};var C=_&&/(msie|trident)/i.test(navigator.userAgent),A=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i=1?e.targetTouches[0].clientY:e.clientY}(e),t.drag.start!==t.drag.x&&(t.flag.canCloseOnClick=!1),t.ref.style.transform="translateX("+t.drag.deltaX+"px)",t.ref.style.opacity=1-Math.abs(t.drag.deltaX/t.drag.removalDistance))},t.onDragEnd=function(e){if(t.flag.canDrag){if(t.flag.canDrag=!1,Math.abs(t.drag.deltaX)>t.drag.removalDistance)return void t.setState({preventExitTransition:!0},t.props.closeToast);t.ref.style.transition="transform 0.2s, opacity 0.2s",t.ref.style.transform="translateX(0)",t.ref.style.opacity=1}},t.onDragTransitionEnd=function(){if(t.boundingRect){var e=t.boundingRect,n=e.top,r=e.bottom,i=e.left,o=e.right;t.props.pauseOnHover&&t.drag.x>=i&&t.drag.x<=o&&t.drag.y>=n&&t.drag.y<=r?t.pauseToast():t.playToast()}},t.onExitTransitionEnd=function(){if(C)t.props.onExited();else{var e=t.ref.scrollHeight,n=t.ref.style;requestAnimationFrame(function(){n.minHeight="initial",n.height=e+"px",n.transition="all 0.4s ",requestAnimationFrame(function(){n.height=0,n.padding=0,n.margin=0}),setTimeout(function(){return t.props.onExited()},400)})}},t}Object(o.a)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onOpen(this.props.children.props),this.props.draggable&&this.bindDragEvents(),this.props.pauseOnFocusLoss&&this.bindFocusEvents()},n.componentDidUpdate=function(e){e.draggable!==this.props.draggable&&(this.props.draggable?this.bindDragEvents():this.unbindDragEvents()),e.pauseOnFocusLoss!==this.props.pauseOnFocusLoss&&(this.props.pauseOnFocusLoss?this.bindFocusEvents():this.unbindFocusEvents())},n.componentWillUnmount=function(){this.props.onClose(this.props.children.props),this.props.draggable&&this.unbindDragEvents(),this.props.pauseOnFocusLoss&&this.unbindFocusEvents()},n.bindFocusEvents=function(){window.addEventListener("focus",this.playToast),window.addEventListener("blur",this.pauseToast)},n.unbindFocusEvents=function(){window.removeEventListener("focus",this.playToast),window.removeEventListener("blur",this.pauseToast)},n.bindDragEvents=function(){document.addEventListener("mousemove",this.onDragMove),document.addEventListener("mouseup",this.onDragEnd),document.addEventListener("touchmove",this.onDragMove),document.addEventListener("touchend",this.onDragEnd)},n.unbindDragEvents=function(){document.removeEventListener("mousemove",this.onDragMove),document.removeEventListener("mouseup",this.onDragEnd),document.removeEventListener("touchmove",this.onDragMove),document.removeEventListener("touchend",this.onDragEnd)},n.render=function(){var e=this,t=this.props,n=t.closeButton,i=t.children,o=t.autoClose,a=t.pauseOnHover,l=t.onClick,c=t.closeOnClick,u=t.type,h=t.hideProgressBar,d=t.closeToast,p=t.transition,m=t.position,g=t.className,v=t.bodyClassName,b=t.progressClassName,y=t.progressStyle,w=t.updateId,x=t.role,S=t.progress,_=t.rtl,E={className:f()("Toastify__toast","Toastify__toast--"+u,{"Toastify__toast--rtl":_},g)};o&&a&&(E.onMouseEnter=this.pauseToast,E.onMouseLeave=this.playToast),c&&(E.onClick=function(t){l&&l(t),e.flag.canCloseOnClick&&d()});var T=parseFloat(S)===S;return s.a.createElement(p,{in:this.props.in,appear:!0,onExited:this.onExitTransitionEnd,position:m,preventExitTransition:this.state.preventExitTransition},s.a.createElement("div",Object(r.a)({onClick:l},E,{ref:function(t){return e.ref=t},onMouseDown:this.onDragStart,onTouchStart:this.onDragStart,onMouseUp:this.onDragTransitionEnd,onTouchEnd:this.onDragTransitionEnd}),s.a.createElement("div",Object(r.a)({},this.props.in&&{role:x},{className:f()("Toastify__toast-body",v)}),i),n&&n,(o||T)&&s.a.createElement(k,Object(r.a)({},w&&!T?{key:"pb-"+w}:{},{rtl:_,delay:o,isRunning:this.state.isRunning,closeToast:d,hide:h,type:u,style:y,className:b,controlledProgress:T,progress:S}))))},t}(a.Component);function M(e){var t=e.closeToast,n=e.type,r=e.ariaLabel;return s.a.createElement("button",{className:"Toastify__close-button Toastify__close-button--"+n,type:"button",onClick:function(e){e.stopPropagation(),t(e)},"aria-label":r},"\u2716")}function P(e){var t=e.enter,n=e.exit,o=e.duration,a=void 0===o?750:o,l=e.appendPosition,c=void 0!==l&&l;return function(e){var o,l,u=e.children,f=e.position,h=e.preventExitTransition,d=Object(i.a)(e,["children","position","preventExitTransition"]),p=c?t+"--"+f:t,g=c?n+"--"+f:n;Array.isArray(a)&&2===a.length?(o=a[0],l=a[1]):o=l=a;return s.a.createElement(m.a,Object(r.a)({},d,{timeout:h?0:{enter:o,exit:l},onEnter:function(e){e.classList.add(p),e.style.animationFillMode="forwards",e.style.animationDuration=.001*o+"s"},onEntered:function(e){e.classList.remove(p),e.style.cssText=""},onExit:h?w:function(e){e.classList.add(g),e.style.animationFillMode="forwards",e.style.animationDuration=.001*l+"s"}}),u)}}A.propTypes={closeButton:c.a.oneOfType([c.a.node,c.a.bool]).isRequired,autoClose:T.isRequired,children:c.a.node.isRequired,closeToast:c.a.func.isRequired,position:c.a.oneOf(S(v)).isRequired,pauseOnHover:c.a.bool.isRequired,pauseOnFocusLoss:c.a.bool.isRequired,closeOnClick:c.a.bool.isRequired,transition:c.a.func.isRequired,rtl:c.a.bool.isRequired,hideProgressBar:c.a.bool.isRequired,draggable:c.a.bool.isRequired,draggablePercent:c.a.number.isRequired,in:c.a.bool,onExited:c.a.func,onOpen:c.a.func,onClose:c.a.func,type:c.a.oneOf(S(b)),className:c.a.oneOfType([c.a.string,c.a.object]),bodyClassName:c.a.oneOfType([c.a.string,c.a.object]),progressClassName:c.a.oneOfType([c.a.string,c.a.object]),progressStyle:c.a.object,progress:c.a.number,updateId:c.a.oneOfType([c.a.string,c.a.number]),ariaLabel:c.a.string,containerId:c.a.oneOfType([c.a.string,c.a.number]),role:c.a.string},A.defaultProps={type:b.DEFAULT,in:!0,onOpen:w,onClose:w,className:null,bodyClassName:null,progressClassName:null,updateId:null},M.propTypes={closeToast:c.a.func,arialLabel:c.a.string},M.defaultProps={ariaLabel:"close"};var R=P({enter:"Toastify__bounce-enter",exit:"Toastify__bounce-exit",appendPosition:!0}),D=(P({enter:"Toastify__slide-enter",exit:"Toastify__slide-exit",duration:[450,750],appendPosition:!0}),P({enter:"Toastify__zoom-enter",exit:"Toastify__zoom-exit"}),P({enter:"Toastify__flip-enter",exit:"Toastify__flip-exit"}),{list:new Map,on:function(e,t){return this.list.has(e)||this.list.set(e,[]),this.list.get(e).push(t),this},off:function(e){return this.list.delete(e),this},emit:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r0}function W(e,t){var n=function(e){return U()?e?I.get(e):I.get(L):null}(t.containerId);if(!n)return null;var r=n.collection[e];return"undefined"===typeof r?null:r}function H(e,t){return Object(r.a)({},e,{type:t,toastId:G(e)})}function Y(){return(Math.random().toString(36)+Date.now().toString(36)).substr(2,10)}function G(e){return e&&("string"===typeof e.toastId||"number"===typeof e.toastId&&!isNaN(e.toastId))?e.toastId:Y()}function V(e,t){return U()?D.emit(y.SHOW,e,t):(F.push({action:y.SHOW,content:e,options:t}),z&&_&&(z=!1,j=document.createElement("div"),document.body.appendChild(j),Object(g.render)(s.a.createElement(N,B),j))),t.toastId}var X=function(e,t){return V(e,H(t,t&&t.type||b.DEFAULT))},q=function(e){b[e]!==b.DEFAULT&&(X[b[e].toLowerCase()]=function(t,n){return V(t,H(n,n&&n.type||b[e]))})};for(var K in b)q(K);X.warn=X.warning,X.dismiss=function(e){return void 0===e&&(e=null),U()&&D.emit(y.CLEAR,e)},X.isActive=w,X.update=function(e,t){void 0===t&&(t={}),setTimeout(function(){var n=W(e,t);if(n){var i=n.options,o=n.content,a=Object(r.a)({},i,t,{toastId:t.toastId||e});t.toastId&&t.toastId!==e?a.staleToastId=e:a.updateId=Y();var s="undefined"!==typeof a.render?a.render:o;delete a.render,V(s,a)}},0)},X.done=function(e){X.update(e,{progress:1})},X.onChange=function(e){"function"===typeof e&&D.on(y.ON_CHANGE,e)},X.configure=function(e){z=!0,B=e},X.POSITION=v,X.TYPE=b,D.on(y.DID_MOUNT,function(e){L=e.props.containerId||e,I.set(L,e),X.isActive=function(t){return e.isToastActive(t)},F.forEach(function(e){D.emit(e.action,e.content,e.options)}),F=[]}).on(y.WILL_UNMOUNT,function(e){e?I.delete(e.props.containerId||e):I.clear(),X.isActive=w,_&&j&&document.body.removeChild(j)})},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(47);function i(e){for(var t=1;t<+~=|^:(),"'`\s])/g,_="undefined"!==typeof CSS&&CSS.escape,E=function(e){return _?_(e):e.replace(S,"\\$1")},T=function(){function e(e,t,n){this.type="style",this.key=void 0,this.isProcessed=!1,this.style=void 0,this.renderer=void 0,this.renderable=void 0,this.options=void 0;var r=n.sheet,i=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:i&&(this.renderer=new i)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var i=t;n&&!1===n.process||(i=this.options.jss.plugins.onChangeValue(t,e,this));var o=null==i||!1===i,a=e in this.style;if(o&&!a&&!r)return this;var s=o&&a;if(s?delete this.style[e]:this.style[e]=i,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,i),this;var l=this.options.sheet;return l&&l.attached,this},e}(),k=function(e){function t(t,n,r){var i;(i=e.call(this,t,n,r)||this).selectorText=void 0,i.id=void 0,i.renderable=void 0;var o=r.selector,a=r.scoped,s=r.sheet,l=r.generateId;return o?i.selectorText=o:!1!==a&&(i.id=l(Object(d.a)(Object(d.a)(i)),s),i.selectorText="."+E(i.id)),i}Object(h.a)(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!==typeof n?e[t]=n:Array.isArray(n)&&(e[t]=y(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?Object(r.a)({},e,{allowEmpty:!0}):e;return x(this.selectorText,this.style,n)},Object(f.a)(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(T),O={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new k(e,t,n)}},C={indent:1,children:!0},A=/@([\w-]+)/,M=function(){function e(e,t,n){this.type="conditional",this.at=void 0,this.key=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e;var i=e.match(A);for(var o in this.at=i?i[1]:"unknown",this.options=n,this.rules=new J(Object(r.a)({},n,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.toString=function(e){if(void 0===e&&(e=C),null==e.indent&&(e.indent=C.indent),null==e.children&&(e.children=C.children),!1===e.children)return this.key+" {}";var t=this.rules.toString(e);return t?this.key+" {\n"+t+"\n}":""},e}(),P=/@media|@supports\s+/,R={onCreateRule:function(e,t,n){return P.test(e)?new M(e,t,n):null}},D={indent:1,children:!0},N=/@keyframes\s+([\w-]+)/,I=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.key=void 0,this.name=void 0,this.id=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0;var i=e.match(N);i&&i[1]?this.name=i[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,a=n.sheet,s=n.generateId;for(var l in this.id=!1===o?this.name:E(s(this,a)),this.rules=new J(Object(r.a)({},n,{parent:this})),t)this.rules.add(l,t[l],Object(r.a)({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){if(void 0===e&&(e=D),null==e.indent&&(e.indent=D.indent),null==e.children&&(e.children=D.children),!1===e.children)return this.at+" "+this.id+" {}";var t=this.rules.toString(e);return t&&(t="\n"+t+"\n"),this.at+" "+this.id+" {"+t+"}"},e}(),L=/@keyframes\s+/,j=/\$([\w-]+)/g,B=function(e,t){return"string"===typeof e?e.replace(j,function(e,n){return n in t?t[n]:e}):e},F=function(e,t,n){var r=e[t],i=B(r,n);i!==r&&(e[t]=i)},z={onCreateRule:function(e,t,n){return"string"===typeof e&&L.test(e)?new I(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&F(e,"animation-name",n.keyframes),"animation"in e&&F(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return B(e,r.keyframes);default:return e}}},U=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i=this.index)t.push(e);else for(var r=0;rn)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=Object(p.a)(t,["attached"]),i="",o=0;o0){var n=function(e,t){for(var n=0;nt.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if((n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e))&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"===typeof r){var i=function(e){for(var t=fe(),n=0;nr)&&(n=r);try{if("insertRule"in e)e.insertRule(t,n);else if("appendRule"in e){e.appendRule(t)}}catch(i){return!1}return e.cssRules[n]},me=function(){var e=document.createElement("style");return e.textContent="\n",e},ge=function(){function e(e){this.getPropertyValue=se,this.setProperty=le,this.removeProperty=ce,this.setSelector=ue,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,e&&te.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,i=t.element;this.element=i||me(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var o=de();o&&this.element.setAttribute("nonce",o)}var t=e.prototype;return t.attach=function(){!this.element.parentNode&&this.sheet&&(!function(e,t){var n=t.insertionPoint,r=he(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"===typeof n.nodeType){var i=n,o=i.parentNode;o&&o.insertBefore(e,i.nextSibling)}else fe().appendChild(e)}(this.element,this.sheet.options),this.hasInsertedRules&&(this.hasInsertedRules=!1,this.deploy()))},t.detach=function(){var e=this.element.parentNode;e&&e.removeChild(this.element)},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n-1){var i=yt[e];if(!Array.isArray(i))return ut.js+mt(i)in t&&ut.css+i;if(!r)return!1;for(var o=0;ot?1:-1:e.length-t.length};return{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r={},i=Object.keys(t).sort(e),o=0;o0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,r=e.productionPrefix,i=void 0===r?"jss":r,o=e.seed,a=void 0===o?"":o,s=""===a?"":"".concat(a,"-"),l=0;return function(e,t){l+=1;var r=t.options.name;if(r&&0===r.indexOf("Mui")&&!t.options.link&&!n){if(-1!==Te.indexOf(e.key))return"Mui-".concat(e.key);var o="".concat(s).concat(r,"-").concat(e.key);return t.options.theme[Ee]&&""===a?"".concat(o,"-").concat(l):o}return"".concat(s).concat(i).concat(l)}}(),jss:Ft,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},Ut=a.a.createContext(zt);var Wt=-1e9;n(122);var Ht=n(51),Yt=n.n(Ht);function Gt(e,t){return t}var Vt=function(e){var t="function"===typeof e;return{create:function(n,i){var o;try{o=t?e(n):e}catch(l){throw l}if(!i||!n.overrides||!n.overrides[i])return o;var a=n.overrides[i],s=Object(r.a)({},o);return Object.keys(a).forEach(function(e){s[e]=Yt()(s[e],a[e],{arrayMerge:Gt})}),s},options:{},themingEnabled:t}},Xt={};function qt(e,t){var n=e.state,i=e.theme,o=e.stylesOptions,a=e.stylesCreator,s=e.name;if(!o.disableGeneration){var l=Se.get(o.sheetsManager,a,i);l||(l={refs:0,staticSheet:null,dynamicStyles:null},Se.set(o.sheetsManager,a,i,l));var c=Object(r.a)({},a.options,{},o,{theme:i,flip:"boolean"===typeof o.flip?o.flip:"rtl"===i.direction});c.generateId=c.serverGenerateClassName||c.generateClassName;var u=o.sheetsRegistry;if(0===l.refs){var f;o.sheetsCache&&(f=Se.get(o.sheetsCache,a,i));var h=a.create(i,s);f||((f=o.jss.createStyleSheet(h,Object(r.a)({link:!1},c))).attach(),o.sheetsCache&&Se.set(o.sheetsCache,a,i,f)),u&&u.add(f),l.staticSheet=f,l.dynamicStyles=function e(t){var n=null;for(var r in t){var i=t[r],o=typeof i;if("function"===o)n||(n={}),n[r]=i;else if("object"===o&&null!==i&&!Array.isArray(i)){var a=e(i);a&&(n||(n={}),n[r]=a)}}return n}(h)}if(l.dynamicStyles){var d=o.jss.createStyleSheet(l.dynamicStyles,Object(r.a)({link:!0},c));d.update(t).attach(),n.dynamicSheet=d,n.classes=Object(xe.a)({baseClasses:l.staticSheet.classes,newClasses:d.classes}),u&&u.add(d)}else n.classes=l.staticSheet.classes;l.refs+=1}}var Kt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,o=t.classNamePrefix,s=t.Component,l=t.defaultTheme,c=void 0===l?Xt:l,u=Object(i.a)(t,["name","classNamePrefix","Component","defaultTheme"]),f=Vt(e),h=n||o||"makeStyles";f.options={index:Wt+=1,name:n,meta:h,classNamePrefix:h};var d=f.themingEnabled||"string"===typeof n;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(d?Object(_e.a)():null)||c,i=Object(r.a)({},a.a.useContext(Ut),{},u),o=a.a.useRef(),l=a.a.useRef();return function(e,t){var n,r=a.a.useRef([]),i=a.a.useMemo(function(){return{}},t);r.current!==i&&(r.current=i,n=e()),a.a.useEffect(function(){return function(){n&&n()}},[i])}(function(){var r={name:n,state:{},stylesCreator:f,stylesOptions:i,theme:t};return qt(r,e),l.current=!1,o.current=r,function(){!function(e){var t=e.state,n=e.theme,r=e.stylesOptions,i=e.stylesCreator;if(!r.disableGeneration){var o=Se.get(r.sheetsManager,i,n);o.refs-=1;var a=r.sheetsRegistry;0===o.refs&&(Se.delete(r.sheetsManager,i,n),r.jss.removeStyleSheet(o.staticSheet),a&&a.remove(o.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}(r)}},[t,f]),a.a.useEffect(function(){l.current&&function(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}(o.current,e),l.current=!0}),function(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var i=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,i=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,i=!0),i&&(r.cacheClasses.value=Object(xe.a)({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}(o.current,e.classes,s)}};var $t=function(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var i,o=t.props[n];for(i in o)void 0===r[i]&&(r[i]=o[i]);return r},Zt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var o=t.defaultTheme,s=t.withTheme,c=void 0!==s&&s,u=t.name,f=Object(i.a)(t,["defaultTheme","withTheme","name"]),h=u,d=Kt(e,Object(r.a)({defaultTheme:o,Component:n,name:u||n.displayName,classNamePrefix:h},f)),p=a.a.forwardRef(function(e,t){e.classes;var s,l=e.innerRef,f=Object(i.a)(e,["classes","innerRef"]),h=d(e),p=f;return("string"===typeof u||c)&&(s=Object(_e.a)()||o,u&&(p=$t({theme:s,name:u,props:f})),c&&!p.theme&&(p.theme=s)),a.a.createElement(n,Object(r.a)({ref:l||t,classes:h},p))});return l()(p,n),p}},Jt=n(96);t.a=function(e,t){return Zt(e,Object(r.a)({defaultTheme:Jt.a},t))}},function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a}),n.d(t,"c",function(){return s});var r=n(0),i=n.n(r);function o(e,t){return i.a.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}function a(e,t){"function"===typeof e?e(t):e&&(e.current=t)}function s(e,t){return i.a.useMemo(function(){return null==e&&null==t?null:function(n){a(e,n),a(t,n)}},[e,t])}},function(e,t,n){e.exports=n(362)()},function(e,t,n){var r=n(22),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,n){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!==typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"===typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},function(e,t){"function"===typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},,function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function p(e,t){if(l.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return U(e).length;default:if(r)return z(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function g(e,t,n,r,i){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:v(e,t,n,r,i);if("number"===typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):v(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function v(e,t,n,r,i){var o,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var u=-1;for(o=n;os&&(n=s-l),o=n;o>=0;o--){for(var f=!0,h=0;hi&&(r=i):r=i;var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function E(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function T(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:c>223?3:c>191?2:1;if(i+f<=n)switch(f){case 1:c<128&&(u=c);break;case 2:128===(192&(o=e[i+1]))&&(l=(31&c)<<6|63&o)>127&&(u=l);break;case 3:o=e[i+1],a=e[i+2],128===(192&o)&&128===(192&a)&&(l=(15&c)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(l=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,f=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=f}return function(e){var t=e.length;if(t<=k)return String.fromCharCode.apply(String,e);var n="",r=0;for(;rthis.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return A(this,t,n);case"utf8":case"utf-8":return T(this,t,n);case"ascii":return O(this,t,n);case"latin1":case"binary":return C(this,t,n);case"base64":return E(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}.apply(this,arguments)},l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},l.prototype.compare=function(e,t,n,r,i){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),c=this.slice(r,i),u=e.slice(t,n),f=0;fi)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return y(this,e,t,n);case"ascii":return w(this,e,t,n);case"latin1":case"binary":return x(this,e,t,n);case"base64":return S(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var k=4096;function O(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function R(e,t,n,r,i,o){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function D(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function N(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function I(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function L(e,t,n,r,o){return o||I(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function j(e,t,n,r,o){return o||I(e,0,n,8),i.write(e,t,n,r,52,8),n+8}l.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},l.prototype.readUInt8=function(e,t){return t||P(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||P(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||P(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||P(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||P(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},l.prototype.readInt8=function(e,t){return t||P(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||P(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){t||P(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return t||P(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||P(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||P(e,4,this.length),i.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||P(e,4,this.length),i.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||P(e,8,this.length),i.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||P(e,8,this.length),i.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||R(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+i]=e/o&255;return t+n},l.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):D(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):D(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):N(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);R(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o>0)-s&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);R(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):D(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):D(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):N(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,n){return L(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return L(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return j(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return j(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(o<1e3||!l.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(o=t;o55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function U(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(B,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function W(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n(28))},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";n.d(t,"c",function(){return a}),n.d(t,"b",function(){return l}),n.d(t,"a",function(){return c}),n.d(t,"d",function(){return u});n(23);function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return en?n:e}function i(e){if(e.type)return e;if("#"===e.charAt(0))return i(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length/3,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map(function(e){return e+e})),n?"rgb(".concat(n.map(function(e){return parseInt(e,16)}).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(["Material-UI: unsupported `".concat(e,"` color."),"We support the following formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()."].join("\n"));var r=e.substring(t+1,e.length-1).split(",");return{type:n,values:r=r.map(function(e){return parseFloat(e)})}}function o(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map(function(e,t){return t<3?parseInt(e,10):e}):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function a(e,t){var n=s(e),r=s(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function s(e){var t="hsl"===(e=i(e)).type?i(function(e){var t=(e=i(e)).values,n=t[0],r=t[1]/100,a=t[2]/100,s=r*Math.min(a,1-a),l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return a-s*Math.max(Math.min(t-3,9-t,1),-1)},c="rgb",u=[Math.round(255*l(0)),Math.round(255*l(8)),Math.round(255*l(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),o({type:c,values:u})}(e)).values:e.values;return t=t.map(function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function l(e,t){return e=i(e),t=r(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,o(e)}function c(e,t){if(e=i(e),t=r(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return o(e)}function u(e,t){if(e=i(e),t=r(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return o(e)}},function(e,t,n){(function(e){!function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function o(e,t,n){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var a;"object"===typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{a=n(295).Buffer}catch(E){}function s(e,t,n){for(var r=0,i=Math.min(e.length,n),o=t;o=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return r}function l(e,t,n,r){for(var i=0,o=Math.min(e.length,n),a=t;a=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"===typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"===typeof e)return this._initNumber(e,t,n);if("object"===typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this.strip(),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initArray=function(e,t,n){if(r("number"===typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n=t;n-=6)i=s(e,n,n+6),this.words[r]|=i<>>26-o&4194303,(o+=24)>=26&&(o-=26,r++);n+6!==t&&(i=s(e,t,n+6),this.words[r]|=i<>>26-o&4194303),this.strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,a=o%r,s=Math.min(o,o-a)+n,c=0,u=n;u1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],u=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function h(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,l=a/67108864|0;n.words[0]=s;for(var c=1;c>>26,f=67108863&l,h=Math.min(c,t.length-1),d=Math.max(0,c-e.length+1);d<=h;d++){var p=c-d|0;u+=(a=(i=0|e.words[p])*(o=0|t.words[d])+f)/67108864|0,f=67108863&a}n.words[c]=0|f,l=0|u}return 0!==l?n.words[c]=0|l:n.length--,n.strip()}o.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var i=0,o=0,a=0;a>>24-i&16777215)||a!==this.length-1?c[6-l.length]+l+n:l+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.toString(16)+n);n.length%t!==0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var h=u[e],d=f[e];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(d).toString(e);n=(p=p.idivn(d)).isZero()?m+n:c[h-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%t!==0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return r("undefined"!==typeof a),this.toArrayLike(a,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,s,l="le"===t,c=new e(o),u=this.clone();if(l){for(s=0;!u.isZero();s++)a=u.andln(255),u.iushrn(8),c[s]=a;for(;s=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0===(8191&t)&&(n+=13,t>>>=13),0===(127&t)&&(n+=7,t>>>=7),0===(15&t)&&(n+=4,t>>>=4),0===(3&t)&&(n+=2,t>>>=2),0===(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"===typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&t;for(;0!==o&&a>26,this.words[a]=67108863&t;if(0===o&&a>>13,d=0|a[1],p=8191&d,m=d>>>13,g=0|a[2],v=8191&g,b=g>>>13,y=0|a[3],w=8191&y,x=y>>>13,S=0|a[4],_=8191&S,E=S>>>13,T=0|a[5],k=8191&T,O=T>>>13,C=0|a[6],A=8191&C,M=C>>>13,P=0|a[7],R=8191&P,D=P>>>13,N=0|a[8],I=8191&N,L=N>>>13,j=0|a[9],B=8191&j,F=j>>>13,z=0|s[0],U=8191&z,W=z>>>13,H=0|s[1],Y=8191&H,G=H>>>13,V=0|s[2],X=8191&V,q=V>>>13,K=0|s[3],$=8191&K,Z=K>>>13,J=0|s[4],Q=8191&J,ee=J>>>13,te=0|s[5],ne=8191&te,re=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],le=8191&se,ce=se>>>13,ue=0|s[8],fe=8191&ue,he=ue>>>13,de=0|s[9],pe=8191&de,me=de>>>13;n.negative=e.negative^t.negative,n.length=19;var ge=(c+(r=Math.imul(f,U))|0)+((8191&(i=(i=Math.imul(f,W))+Math.imul(h,U)|0))<<13)|0;c=((o=Math.imul(h,W))+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(p,U),i=(i=Math.imul(p,W))+Math.imul(m,U)|0,o=Math.imul(m,W);var ve=(c+(r=r+Math.imul(f,Y)|0)|0)+((8191&(i=(i=i+Math.imul(f,G)|0)+Math.imul(h,Y)|0))<<13)|0;c=((o=o+Math.imul(h,G)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(v,U),i=(i=Math.imul(v,W))+Math.imul(b,U)|0,o=Math.imul(b,W),r=r+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,G)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,G)|0;var be=(c+(r=r+Math.imul(f,X)|0)|0)+((8191&(i=(i=i+Math.imul(f,q)|0)+Math.imul(h,X)|0))<<13)|0;c=((o=o+Math.imul(h,q)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(w,U),i=(i=Math.imul(w,W))+Math.imul(x,U)|0,o=Math.imul(x,W),r=r+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,G)|0)+Math.imul(b,Y)|0,o=o+Math.imul(b,G)|0,r=r+Math.imul(p,X)|0,i=(i=i+Math.imul(p,q)|0)+Math.imul(m,X)|0,o=o+Math.imul(m,q)|0;var ye=(c+(r=r+Math.imul(f,$)|0)|0)+((8191&(i=(i=i+Math.imul(f,Z)|0)+Math.imul(h,$)|0))<<13)|0;c=((o=o+Math.imul(h,Z)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(_,U),i=(i=Math.imul(_,W))+Math.imul(E,U)|0,o=Math.imul(E,W),r=r+Math.imul(w,Y)|0,i=(i=i+Math.imul(w,G)|0)+Math.imul(x,Y)|0,o=o+Math.imul(x,G)|0,r=r+Math.imul(v,X)|0,i=(i=i+Math.imul(v,q)|0)+Math.imul(b,X)|0,o=o+Math.imul(b,q)|0,r=r+Math.imul(p,$)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(m,$)|0,o=o+Math.imul(m,Z)|0;var we=(c+(r=r+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,ee)|0)+Math.imul(h,Q)|0))<<13)|0;c=((o=o+Math.imul(h,ee)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(k,U),i=(i=Math.imul(k,W))+Math.imul(O,U)|0,o=Math.imul(O,W),r=r+Math.imul(_,Y)|0,i=(i=i+Math.imul(_,G)|0)+Math.imul(E,Y)|0,o=o+Math.imul(E,G)|0,r=r+Math.imul(w,X)|0,i=(i=i+Math.imul(w,q)|0)+Math.imul(x,X)|0,o=o+Math.imul(x,q)|0,r=r+Math.imul(v,$)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(b,$)|0,o=o+Math.imul(b,Z)|0,r=r+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0;var xe=(c+(r=r+Math.imul(f,ne)|0)|0)+((8191&(i=(i=i+Math.imul(f,re)|0)+Math.imul(h,ne)|0))<<13)|0;c=((o=o+Math.imul(h,re)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(A,U),i=(i=Math.imul(A,W))+Math.imul(M,U)|0,o=Math.imul(M,W),r=r+Math.imul(k,Y)|0,i=(i=i+Math.imul(k,G)|0)+Math.imul(O,Y)|0,o=o+Math.imul(O,G)|0,r=r+Math.imul(_,X)|0,i=(i=i+Math.imul(_,q)|0)+Math.imul(E,X)|0,o=o+Math.imul(E,q)|0,r=r+Math.imul(w,$)|0,i=(i=i+Math.imul(w,Z)|0)+Math.imul(x,$)|0,o=o+Math.imul(x,Z)|0,r=r+Math.imul(v,Q)|0,i=(i=i+Math.imul(v,ee)|0)+Math.imul(b,Q)|0,o=o+Math.imul(b,ee)|0,r=r+Math.imul(p,ne)|0,i=(i=i+Math.imul(p,re)|0)+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0;var Se=(c+(r=r+Math.imul(f,oe)|0)|0)+((8191&(i=(i=i+Math.imul(f,ae)|0)+Math.imul(h,oe)|0))<<13)|0;c=((o=o+Math.imul(h,ae)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(R,U),i=(i=Math.imul(R,W))+Math.imul(D,U)|0,o=Math.imul(D,W),r=r+Math.imul(A,Y)|0,i=(i=i+Math.imul(A,G)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,G)|0,r=r+Math.imul(k,X)|0,i=(i=i+Math.imul(k,q)|0)+Math.imul(O,X)|0,o=o+Math.imul(O,q)|0,r=r+Math.imul(_,$)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(E,$)|0,o=o+Math.imul(E,Z)|0,r=r+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,ee)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,ee)|0,r=r+Math.imul(v,ne)|0,i=(i=i+Math.imul(v,re)|0)+Math.imul(b,ne)|0,o=o+Math.imul(b,re)|0,r=r+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,ae)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,ae)|0;var _e=(c+(r=r+Math.imul(f,le)|0)|0)+((8191&(i=(i=i+Math.imul(f,ce)|0)+Math.imul(h,le)|0))<<13)|0;c=((o=o+Math.imul(h,ce)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(I,U),i=(i=Math.imul(I,W))+Math.imul(L,U)|0,o=Math.imul(L,W),r=r+Math.imul(R,Y)|0,i=(i=i+Math.imul(R,G)|0)+Math.imul(D,Y)|0,o=o+Math.imul(D,G)|0,r=r+Math.imul(A,X)|0,i=(i=i+Math.imul(A,q)|0)+Math.imul(M,X)|0,o=o+Math.imul(M,q)|0,r=r+Math.imul(k,$)|0,i=(i=i+Math.imul(k,Z)|0)+Math.imul(O,$)|0,o=o+Math.imul(O,Z)|0,r=r+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(E,Q)|0,o=o+Math.imul(E,ee)|0,r=r+Math.imul(w,ne)|0,i=(i=i+Math.imul(w,re)|0)+Math.imul(x,ne)|0,o=o+Math.imul(x,re)|0,r=r+Math.imul(v,oe)|0,i=(i=i+Math.imul(v,ae)|0)+Math.imul(b,oe)|0,o=o+Math.imul(b,ae)|0,r=r+Math.imul(p,le)|0,i=(i=i+Math.imul(p,ce)|0)+Math.imul(m,le)|0,o=o+Math.imul(m,ce)|0;var Ee=(c+(r=r+Math.imul(f,fe)|0)|0)+((8191&(i=(i=i+Math.imul(f,he)|0)+Math.imul(h,fe)|0))<<13)|0;c=((o=o+Math.imul(h,he)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(B,U),i=(i=Math.imul(B,W))+Math.imul(F,U)|0,o=Math.imul(F,W),r=r+Math.imul(I,Y)|0,i=(i=i+Math.imul(I,G)|0)+Math.imul(L,Y)|0,o=o+Math.imul(L,G)|0,r=r+Math.imul(R,X)|0,i=(i=i+Math.imul(R,q)|0)+Math.imul(D,X)|0,o=o+Math.imul(D,q)|0,r=r+Math.imul(A,$)|0,i=(i=i+Math.imul(A,Z)|0)+Math.imul(M,$)|0,o=o+Math.imul(M,Z)|0,r=r+Math.imul(k,Q)|0,i=(i=i+Math.imul(k,ee)|0)+Math.imul(O,Q)|0,o=o+Math.imul(O,ee)|0,r=r+Math.imul(_,ne)|0,i=(i=i+Math.imul(_,re)|0)+Math.imul(E,ne)|0,o=o+Math.imul(E,re)|0,r=r+Math.imul(w,oe)|0,i=(i=i+Math.imul(w,ae)|0)+Math.imul(x,oe)|0,o=o+Math.imul(x,ae)|0,r=r+Math.imul(v,le)|0,i=(i=i+Math.imul(v,ce)|0)+Math.imul(b,le)|0,o=o+Math.imul(b,ce)|0,r=r+Math.imul(p,fe)|0,i=(i=i+Math.imul(p,he)|0)+Math.imul(m,fe)|0,o=o+Math.imul(m,he)|0;var Te=(c+(r=r+Math.imul(f,pe)|0)|0)+((8191&(i=(i=i+Math.imul(f,me)|0)+Math.imul(h,pe)|0))<<13)|0;c=((o=o+Math.imul(h,me)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(B,Y),i=(i=Math.imul(B,G))+Math.imul(F,Y)|0,o=Math.imul(F,G),r=r+Math.imul(I,X)|0,i=(i=i+Math.imul(I,q)|0)+Math.imul(L,X)|0,o=o+Math.imul(L,q)|0,r=r+Math.imul(R,$)|0,i=(i=i+Math.imul(R,Z)|0)+Math.imul(D,$)|0,o=o+Math.imul(D,Z)|0,r=r+Math.imul(A,Q)|0,i=(i=i+Math.imul(A,ee)|0)+Math.imul(M,Q)|0,o=o+Math.imul(M,ee)|0,r=r+Math.imul(k,ne)|0,i=(i=i+Math.imul(k,re)|0)+Math.imul(O,ne)|0,o=o+Math.imul(O,re)|0,r=r+Math.imul(_,oe)|0,i=(i=i+Math.imul(_,ae)|0)+Math.imul(E,oe)|0,o=o+Math.imul(E,ae)|0,r=r+Math.imul(w,le)|0,i=(i=i+Math.imul(w,ce)|0)+Math.imul(x,le)|0,o=o+Math.imul(x,ce)|0,r=r+Math.imul(v,fe)|0,i=(i=i+Math.imul(v,he)|0)+Math.imul(b,fe)|0,o=o+Math.imul(b,he)|0;var ke=(c+(r=r+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,me)|0)+Math.imul(m,pe)|0))<<13)|0;c=((o=o+Math.imul(m,me)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(B,X),i=(i=Math.imul(B,q))+Math.imul(F,X)|0,o=Math.imul(F,q),r=r+Math.imul(I,$)|0,i=(i=i+Math.imul(I,Z)|0)+Math.imul(L,$)|0,o=o+Math.imul(L,Z)|0,r=r+Math.imul(R,Q)|0,i=(i=i+Math.imul(R,ee)|0)+Math.imul(D,Q)|0,o=o+Math.imul(D,ee)|0,r=r+Math.imul(A,ne)|0,i=(i=i+Math.imul(A,re)|0)+Math.imul(M,ne)|0,o=o+Math.imul(M,re)|0,r=r+Math.imul(k,oe)|0,i=(i=i+Math.imul(k,ae)|0)+Math.imul(O,oe)|0,o=o+Math.imul(O,ae)|0,r=r+Math.imul(_,le)|0,i=(i=i+Math.imul(_,ce)|0)+Math.imul(E,le)|0,o=o+Math.imul(E,ce)|0,r=r+Math.imul(w,fe)|0,i=(i=i+Math.imul(w,he)|0)+Math.imul(x,fe)|0,o=o+Math.imul(x,he)|0;var Oe=(c+(r=r+Math.imul(v,pe)|0)|0)+((8191&(i=(i=i+Math.imul(v,me)|0)+Math.imul(b,pe)|0))<<13)|0;c=((o=o+Math.imul(b,me)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(B,$),i=(i=Math.imul(B,Z))+Math.imul(F,$)|0,o=Math.imul(F,Z),r=r+Math.imul(I,Q)|0,i=(i=i+Math.imul(I,ee)|0)+Math.imul(L,Q)|0,o=o+Math.imul(L,ee)|0,r=r+Math.imul(R,ne)|0,i=(i=i+Math.imul(R,re)|0)+Math.imul(D,ne)|0,o=o+Math.imul(D,re)|0,r=r+Math.imul(A,oe)|0,i=(i=i+Math.imul(A,ae)|0)+Math.imul(M,oe)|0,o=o+Math.imul(M,ae)|0,r=r+Math.imul(k,le)|0,i=(i=i+Math.imul(k,ce)|0)+Math.imul(O,le)|0,o=o+Math.imul(O,ce)|0,r=r+Math.imul(_,fe)|0,i=(i=i+Math.imul(_,he)|0)+Math.imul(E,fe)|0,o=o+Math.imul(E,he)|0;var Ce=(c+(r=r+Math.imul(w,pe)|0)|0)+((8191&(i=(i=i+Math.imul(w,me)|0)+Math.imul(x,pe)|0))<<13)|0;c=((o=o+Math.imul(x,me)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(B,Q),i=(i=Math.imul(B,ee))+Math.imul(F,Q)|0,o=Math.imul(F,ee),r=r+Math.imul(I,ne)|0,i=(i=i+Math.imul(I,re)|0)+Math.imul(L,ne)|0,o=o+Math.imul(L,re)|0,r=r+Math.imul(R,oe)|0,i=(i=i+Math.imul(R,ae)|0)+Math.imul(D,oe)|0,o=o+Math.imul(D,ae)|0,r=r+Math.imul(A,le)|0,i=(i=i+Math.imul(A,ce)|0)+Math.imul(M,le)|0,o=o+Math.imul(M,ce)|0,r=r+Math.imul(k,fe)|0,i=(i=i+Math.imul(k,he)|0)+Math.imul(O,fe)|0,o=o+Math.imul(O,he)|0;var Ae=(c+(r=r+Math.imul(_,pe)|0)|0)+((8191&(i=(i=i+Math.imul(_,me)|0)+Math.imul(E,pe)|0))<<13)|0;c=((o=o+Math.imul(E,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(B,ne),i=(i=Math.imul(B,re))+Math.imul(F,ne)|0,o=Math.imul(F,re),r=r+Math.imul(I,oe)|0,i=(i=i+Math.imul(I,ae)|0)+Math.imul(L,oe)|0,o=o+Math.imul(L,ae)|0,r=r+Math.imul(R,le)|0,i=(i=i+Math.imul(R,ce)|0)+Math.imul(D,le)|0,o=o+Math.imul(D,ce)|0,r=r+Math.imul(A,fe)|0,i=(i=i+Math.imul(A,he)|0)+Math.imul(M,fe)|0,o=o+Math.imul(M,he)|0;var Me=(c+(r=r+Math.imul(k,pe)|0)|0)+((8191&(i=(i=i+Math.imul(k,me)|0)+Math.imul(O,pe)|0))<<13)|0;c=((o=o+Math.imul(O,me)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(B,oe),i=(i=Math.imul(B,ae))+Math.imul(F,oe)|0,o=Math.imul(F,ae),r=r+Math.imul(I,le)|0,i=(i=i+Math.imul(I,ce)|0)+Math.imul(L,le)|0,o=o+Math.imul(L,ce)|0,r=r+Math.imul(R,fe)|0,i=(i=i+Math.imul(R,he)|0)+Math.imul(D,fe)|0,o=o+Math.imul(D,he)|0;var Pe=(c+(r=r+Math.imul(A,pe)|0)|0)+((8191&(i=(i=i+Math.imul(A,me)|0)+Math.imul(M,pe)|0))<<13)|0;c=((o=o+Math.imul(M,me)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,r=Math.imul(B,le),i=(i=Math.imul(B,ce))+Math.imul(F,le)|0,o=Math.imul(F,ce),r=r+Math.imul(I,fe)|0,i=(i=i+Math.imul(I,he)|0)+Math.imul(L,fe)|0,o=o+Math.imul(L,he)|0;var Re=(c+(r=r+Math.imul(R,pe)|0)|0)+((8191&(i=(i=i+Math.imul(R,me)|0)+Math.imul(D,pe)|0))<<13)|0;c=((o=o+Math.imul(D,me)|0)+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,r=Math.imul(B,fe),i=(i=Math.imul(B,he))+Math.imul(F,fe)|0,o=Math.imul(F,he);var De=(c+(r=r+Math.imul(I,pe)|0)|0)+((8191&(i=(i=i+Math.imul(I,me)|0)+Math.imul(L,pe)|0))<<13)|0;c=((o=o+Math.imul(L,me)|0)+(i>>>13)|0)+(De>>>26)|0,De&=67108863;var Ne=(c+(r=Math.imul(B,pe))|0)+((8191&(i=(i=Math.imul(B,me))+Math.imul(F,pe)|0))<<13)|0;return c=((o=Math.imul(F,me))+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,l[0]=ge,l[1]=ve,l[2]=be,l[3]=ye,l[4]=we,l[5]=xe,l[6]=Se,l[7]=_e,l[8]=Ee,l[9]=Te,l[10]=ke,l[11]=Oe,l[12]=Ce,l[13]=Ae,l[14]=Me,l[15]=Pe,l[16]=Re,l[17]=De,l[18]=Ne,0!==c&&(l[19]=c,n.length++),n};function p(e,t,n){return(new m).mulp(e,t,n)}function m(e,t){this.x=e,this.y=t}Math.imul||(d=h),o.prototype.mulTo=function(e,t){var n=this.length+e.length;return 10===this.length&&10===e.length?d(this,e,t):n<63?h(this,e,t):n<1024?function(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,e,t):p(this,e,t)},m.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r>=1;return r},m.prototype.permute=function(e,t,n,r,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*t;a>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n>>i}return t}(e);if(0===t.length)return new o(1);for(var n=this,r=0;r=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(t=0;t>>26-n}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,c=0;c=0&&(0!==u||c>=i);c--){var f=0|this.words[c];this.words[c]=u<<26-o|f>>>o,u=f&s}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"===typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(l/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),i=e,a=0|i.words[i.length-1];0!==(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,l=r.length-i.length;if("mod"!==t){(s=new o(null)).length=l+1,s.words=new Array(s.length);for(var c=0;c=0;f--){var h=67108864*(0|r.words[i.length+f])+(0|r.words[i.length+f-1]);for(h=Math.min(h/a|0,67108863),r._ishlnsubmul(i,h,f);0!==r.negative;)h--,r.negative=0,r._ishlnsubmul(i,1,f),r.isZero()||(r.negative^=1);s&&(s.words[f]=h)}return s&&s.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},o.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),a=new o(0),s=new o(0),l=new o(1),c=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++c;for(var u=n.clone(),f=t.clone();!t.isZero();){for(var h=0,d=1;0===(t.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(u),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0===(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(u),l.isub(f)),s.iushrn(1),l.iushrn(1);t.cmp(n)>=0?(t.isub(n),i.isub(s),a.isub(l)):(n.isub(t),s.isub(i),l.isub(a))}return{a:s,b:l,gcd:n.iushln(c)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,a=new o(1),s=new o(0),l=n.clone();t.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,u=1;0===(t.words[0]&u)&&c<26;++c,u<<=1);if(c>0)for(t.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var f=0,h=1;0===(n.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(n.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);t.cmp(n)>=0?(t.isub(n),a.isub(s)):(n.isub(t),s.isub(a))}return(i=0===t.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"===typeof e);var t=e%26,n=(e-t)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new S(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var g={k256:null,p224:null,p192:null,p25519:null};function v(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function b(){v.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function y(){v.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function w(){v.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function x(){v.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function S(e){if("string"===typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function _(e){S.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}v.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},v.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t0?n.isub(this.p):n.strip(),n},v.prototype.split=function(e,t){e.iushrn(this.n,0,t)},v.prototype.imulK=function(e){return e.imul(this.k)},i(b,v),b.prototype.split=function(e,t){for(var n=Math.min(e.length,9),r=0;r>>22,i=o}i>>>=22,e.words[r-10]=i,0===i&&e.length>10?e.length-=10:e.length-=9},b.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(g[e])return g[e];var t;if("k256"===e)t=new b;else if("p224"===e)t=new y;else if("p192"===e)t=new w;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new x}return g[e]=t,t},S.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},S.prototype._verify2=function(e,t){r(0===(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},S.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},S.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},S.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},S.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},S.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},S.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},S.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},S.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},S.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},S.prototype.isqr=function(e){return this.imul(e,e.clone())},S.prototype.sqr=function(e){return this.mul(e,e)},S.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2===1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),l=s.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,c).cmp(l);)u.redIAdd(l);for(var f=this.pow(u,i),h=this.pow(e,i.addn(1).iushrn(1)),d=this.pow(e,i),p=a;0!==d.cmp(s);){for(var m=d,g=0;0!==m.cmp(s);g++)m=m.redSqr();r(g=0;r--){for(var c=t.words[r],u=l-1;u>=0;u--){var f=c>>u&1;i!==n[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===r&&0===u)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}l=26}return i},S.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},S.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new _(e)},i(_,S),_.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},_.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},_.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},_.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},_.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,n(83)(e))},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",function(){return r})},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}n.d(t,"a",function(){return r})},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l,c=[],u=!1,f=-1;function h(){u&&l&&(u=!1,l.length?c=l.concat(c):f=-1,c.length&&d())}function d(){if(!u){var e=s(h);u=!0;for(var t=c.length;t;){for(l=c,c=[];++f1)for(var n=1;n=0;){var o;if(i.isOdd()){var a=i.andln(r-1);o=a>(r>>1)-1?(r>>1)-a:a,i.isubn(o)}else o=0;n.push(o);for(var s=0!==i.cmpn(0)&&0===i.andln(r-1)?t+1:1,l=1;l0||t.cmpn(-i)>0;){var o,a,s,l=e.andln(3)+r&3,c=t.andln(3)+i&3;3===l&&(l=-1),3===c&&(c=-1),o=0===(1&l)?0:3!==(s=e.andln(7)+r&7)&&5!==s||2!==c?l:-l,n[0].push(o),a=0===(1&c)?0:3!==(s=t.andln(7)+i&7)&&5!==s||2!==l?c:-c,n[1].push(a),2*r===o+1&&(r=1-r),2*i===a+1&&(i=1-i),e.iushrn(1),t.iushrn(1)}return n},r.cachedProperty=function(e,t,n){var r="_"+t;e.prototype[t]=function(){return void 0!==this[r]?this[r]:this[r]=n.call(this)}},r.parseBytes=function(e){return"string"===typeof e?r.toArray(e,"hex"):e},r.intFromLE=function(e){return new i(e,"hex","le")}},function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"a",function(){return i});var r=function(e){return e.scrollTop};function i(e,t){var n=e.timeout,r=e.style,i=void 0===r?{}:r;return{duration:i.transitionDuration||"number"===typeof n?n:n[t.mode],delay:i.transitionDelay}}},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,n;function r(){return t.apply(null,arguments)}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function s(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(a(e,t))return!1;return!0}function l(e){return void 0===e}function c(e){return"number"===typeof e||"[object Number]"===Object.prototype.toString.call(e)}function u(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function f(e,t){var n,r=[],i=e.length;for(n=0;n>>0;for(t=0;t0)for(n=0;n=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,E=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)a(e,t)&&n.push(t);return n};var P=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,R=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,D={},N={};function I(e,t,n,r){var i=r;"string"===typeof r&&(i=function(){return this[r]()}),e&&(N[e]=i),t&&(N[t[0]]=function(){return M(i.apply(this,arguments),t[1],t[2])}),n&&(N[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function L(e,t){return e.isValid()?(t=j(t,e.localeData()),D[t]=D[t]||function(e){var t,n,r,i=e.match(P);for(t=0,n=i.length;t=0&&R.test(e);)e=e.replace(R,r),R.lastIndex=0,n-=1;return e}var B={};function F(e,t){var n=e.toLowerCase();B[n]=B[n+"s"]=B[t]=e}function z(e){return"string"===typeof e?B[e]||B[e.toLowerCase()]:void 0}function U(e){var t,n,r={};for(n in e)a(e,n)&&(t=z(n))&&(r[t]=e[n]);return r}var W={};function H(e,t){W[e]=t}function Y(e){return e%4===0&&e%100!==0||e%400===0}function G(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function V(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=G(t)),n}function X(e,t){return function(n){return null!=n?(K(this,e,n),r.updateOffset(this,t),this):q(this,e)}}function q(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function K(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&Y(e.year())&&1===e.month()&&29===e.date()?(n=V(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Me(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var $,Z=/\d/,J=/\d\d/,Q=/\d{3}/,ee=/\d{4}/,te=/[+-]?\d{6}/,ne=/\d\d?/,re=/\d\d\d\d?/,ie=/\d\d\d\d\d\d?/,oe=/\d{1,3}/,ae=/\d{1,4}/,se=/[+-]?\d{1,6}/,le=/\d+/,ce=/[+-]?\d+/,ue=/Z|[+-]\d\d:?\d\d/gi,fe=/Z|[+-]\d\d(?::?\d\d)?/gi,he=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function de(e,t,n){$[e]=O(t)?t:function(e,r){return e&&n?n:t}}function pe(e,t){return a($,e)?$[e](t._strict,t._locale):new RegExp(me(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function me(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}$={};var ge={};function ve(e,t){var n,r,i=t;for("string"===typeof e&&(e=[e]),c(t)&&(i=function(e,n){n[t]=V(e)}),r=e.length,n=0;n68?1900:2e3)};var ze=X("FullYear",!0);function Ue(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function We(e,t,n){var r=7+t-n,i=(7+Ue(e,0,r).getUTCDay()-t)%7;return-i+r-1}function He(e,t,n,r,i){var o,a,s=(7+n-r)%7,l=We(e,r,i),c=1+7*(t-1)+s+l;return c<=0?a=Fe(o=e-1)+c:c>Fe(e)?(o=e+1,a=c-Fe(e)):(o=e,a=c),{year:o,dayOfYear:a}}function Ye(e,t,n){var r,i,o=We(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(i=e.year()-1,r=a+Ge(i,t,n)):a>Ge(e.year(),t,n)?(r=a-Ge(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Ge(e,t,n){var r=We(e,t,n),i=We(e+1,t,n);return(Fe(e)-r+i)/7}function Ve(e,t){return e.slice(t,7).concat(e.slice(0,t))}I("w",["ww",2],"wo","week"),I("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),H("week",5),H("isoWeek",5),de("w",ne),de("ww",ne,J),de("W",ne),de("WW",ne,J),be(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=V(e)}),I("d",0,"do","day"),I("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),I("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),I("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),I("e",0,0,"weekday"),I("E",0,0,"isoWeekday"),F("day","d"),F("weekday","e"),F("isoWeekday","E"),H("day",11),H("weekday",11),H("isoWeekday",11),de("d",ne),de("e",ne),de("E",ne),de("dd",function(e,t){return t.weekdaysMinRegex(e)}),de("ddd",function(e,t){return t.weekdaysShortRegex(e)}),de("dddd",function(e,t){return t.weekdaysRegex(e)}),be(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:p(n).invalidWeekday=e}),be(["d","e","E"],function(e,t,n,r){t[r]=V(e)});var Xe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ke="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),$e=he,Ze=he,Je=he;function Qe(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=d([2e3,1]).day(t),r=me(this.weekdaysMin(n,"")),i=me(this.weekdaysShort(n,"")),o=me(this.weekdays(n,"")),a.push(r),s.push(i),l.push(o),c.push(r),c.push(i),c.push(o);a.sort(e),s.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function et(){return this.hours()%12||12}function tt(e,t){I(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function nt(e,t){return t._meridiemParse}I("H",["HH",2],0,"hour"),I("h",["hh",2],0,et),I("k",["kk",2],0,function(){return this.hours()||24}),I("hmm",0,0,function(){return""+et.apply(this)+M(this.minutes(),2)}),I("hmmss",0,0,function(){return""+et.apply(this)+M(this.minutes(),2)+M(this.seconds(),2)}),I("Hmm",0,0,function(){return""+this.hours()+M(this.minutes(),2)}),I("Hmmss",0,0,function(){return""+this.hours()+M(this.minutes(),2)+M(this.seconds(),2)}),tt("a",!0),tt("A",!1),F("hour","h"),H("hour",13),de("a",nt),de("A",nt),de("H",ne),de("h",ne),de("k",ne),de("HH",ne,J),de("hh",ne,J),de("kk",ne,J),de("hmm",re),de("hmmss",ie),de("Hmm",re),de("Hmmss",ie),ve(["H","HH"],Ee),ve(["k","kk"],function(e,t,n){var r=V(e);t[Ee]=24===r?0:r}),ve(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ve(["h","hh"],function(e,t,n){t[Ee]=V(e),p(n).bigHour=!0}),ve("hmm",function(e,t,n){var r=e.length-2;t[Ee]=V(e.substr(0,r)),t[Te]=V(e.substr(r)),p(n).bigHour=!0}),ve("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Ee]=V(e.substr(0,r)),t[Te]=V(e.substr(r,2)),t[ke]=V(e.substr(i)),p(n).bigHour=!0}),ve("Hmm",function(e,t,n){var r=e.length-2;t[Ee]=V(e.substr(0,r)),t[Te]=V(e.substr(r))}),ve("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Ee]=V(e.substr(0,r)),t[Te]=V(e.substr(r,2)),t[ke]=V(e.substr(i))});var rt,it=X("Hours",!0),ot={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Pe,monthsShort:Re,week:{dow:0,doy:6},weekdays:Xe,weekdaysMin:Ke,weekdaysShort:qe,meridiemParse:/[ap]\.?m?\.?/i},at={},st={};function lt(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n0;){if(r=ut(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&<(i,n)>=t-1)break;t--}o++}return rt}(e)}function pt(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[Se]<0||n[Se]>11?Se:n[_e]<1||n[_e]>Me(n[xe],n[Se])?_e:n[Ee]<0||n[Ee]>24||24===n[Ee]&&(0!==n[Te]||0!==n[ke]||0!==n[Oe])?Ee:n[Te]<0||n[Te]>59?Te:n[ke]<0||n[ke]>59?ke:n[Oe]<0||n[Oe]>999?Oe:-1,p(e)._overflowDayOfYear&&(t_e)&&(t=_e),p(e)._overflowWeeks&&-1===t&&(t=Ce),p(e)._overflowWeekday&&-1===t&&(t=Ae),p(e).overflow=t),e}var mt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,gt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,vt=/Z|[+-]\d\d(?::?\d\d)?/,bt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],yt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],wt=/^\/?Date\((-?\d+)/i,xt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,St={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function _t(e){var t,n,r,i,o,a,s=e._i,l=mt.exec(s)||gt.exec(s),c=bt.length,u=yt.length;if(l){for(p(e).iso=!0,t=0,n=c;t7)&&(l=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,c=Ye(Pt(),o,a),n=kt(t.gg,e._a[xe],c.year),r=kt(t.w,c.week),null!=t.d?((i=t.d)<0||i>6)&&(l=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(l=!0)):i=o),r<1||r>Ge(n,o,a)?p(e)._overflowWeeks=!0:null!=l?p(e)._overflowWeekday=!0:(s=He(n,r,i,o,a),e._a[xe]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=kt(e._a[xe],i[xe]),(e._dayOfYear>Fe(a)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=Ue(a,0,e._dayOfYear),e._a[Se]=n.getUTCMonth(),e._a[_e]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=i[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ee]&&0===e._a[Te]&&0===e._a[ke]&&0===e._a[Oe]&&(e._nextDay=!0,e._a[Ee]=0),e._d=(e._useUTC?Ue:function(e,t,n,r,i,o,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,o,a),s}).apply(null,s),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ee]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==o&&(p(e).weekdayMismatch=!0)}}function Ct(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],p(e).empty=!0;var t,n,i,o,a,s,l,c=""+e._i,u=c.length,f=0;for(i=j(e._f,e._locale).match(P)||[],l=i.length,t=0;t0&&p(e).unusedInput.push(a),c=c.slice(c.indexOf(n)+n.length),f+=n.length),N[o]?(n?p(e).empty=!1:p(e).unusedTokens.push(o),ye(o,n,e)):e._strict&&!n&&p(e).unusedTokens.push(o);p(e).charsLeftOver=u-f,c.length>0&&p(e).unusedInput.push(c),e._a[Ee]<=12&&!0===p(e).bigHour&&e._a[Ee]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[Ee]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[Ee],e._meridiem),null!==(s=p(e).era)&&(e._a[xe]=e._locale.erasConvertYear(s,e._a[xe])),Ot(e),pt(e)}else Tt(e);else _t(e)}function At(e){var t=e._i,n=e._f;return e._locale=e._locale||dt(e._l),null===t||void 0===n&&""===t?g({nullInput:!0}):("string"===typeof t&&(e._i=t=e._locale.preparse(t)),x(t)?new w(pt(t)):(u(t)?e._d=t:i(n)?function(e){var t,n,r,i,o,a,s=!1,l=e._f.length;if(0===l)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis?this:e:g()});function Nt(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return Pt();for(n=t[0],r=1;r=0?new Date(e+400,t,n)-cn:new Date(e,t,n).valueOf()}function hn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-cn:Date.UTC(e,t,n)}function dn(e,t){return t.erasAbbrRegex(e)}function pn(){var e,t,n=[],r=[],i=[],o=[],a=this.eras();for(e=0,t=a.length;eo&&(t=o),function(e,t,n,r,i){var o=He(e,t,n,r,i),a=Ue(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}.call(this,e,t,n,r,i))}I("N",0,0,"eraAbbr"),I("NN",0,0,"eraAbbr"),I("NNN",0,0,"eraAbbr"),I("NNNN",0,0,"eraName"),I("NNNNN",0,0,"eraNarrow"),I("y",["y",1],"yo","eraYear"),I("y",["yy",2],0,"eraYear"),I("y",["yyy",3],0,"eraYear"),I("y",["yyyy",4],0,"eraYear"),de("N",dn),de("NN",dn),de("NNN",dn),de("NNNN",function(e,t){return t.erasNameRegex(e)}),de("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ve(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?p(n).era=i:p(n).invalidEra=e}),de("y",le),de("yy",le),de("yyy",le),de("yyyy",le),de("yo",function(e,t){return t._eraYearOrdinalRegex||le}),ve(["y","yy","yyy","yyyy"],xe),ve(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[xe]=n._locale.eraYearOrdinalParse(e,i):t[xe]=parseInt(e,10)}),I(0,["gg",2],0,function(){return this.weekYear()%100}),I(0,["GG",2],0,function(){return this.isoWeekYear()%100}),mn("gggg","weekYear"),mn("ggggg","weekYear"),mn("GGGG","isoWeekYear"),mn("GGGGG","isoWeekYear"),F("weekYear","gg"),F("isoWeekYear","GG"),H("weekYear",1),H("isoWeekYear",1),de("G",ce),de("g",ce),de("GG",ne,J),de("gg",ne,J),de("GGGG",ae,ee),de("gggg",ae,ee),de("GGGGG",se,te),de("ggggg",se,te),be(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=V(e)}),be(["gg","GG"],function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)}),I("Q",0,"Qo","quarter"),F("quarter","Q"),H("quarter",7),de("Q",Z),ve("Q",function(e,t){t[Se]=3*(V(e)-1)}),I("D",["DD",2],"Do","date"),F("date","D"),H("date",9),de("D",ne),de("DD",ne,J),de("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ve(["D","DD"],_e),ve("Do",function(e,t){t[_e]=V(e.match(ne)[0])});var vn=X("Date",!0);I("DDD",["DDDD",3],"DDDo","dayOfYear"),F("dayOfYear","DDD"),H("dayOfYear",4),de("DDD",oe),de("DDDD",Q),ve(["DDD","DDDD"],function(e,t,n){n._dayOfYear=V(e)}),I("m",["mm",2],0,"minute"),F("minute","m"),H("minute",14),de("m",ne),de("mm",ne,J),ve(["m","mm"],Te);var bn=X("Minutes",!1);I("s",["ss",2],0,"second"),F("second","s"),H("second",15),de("s",ne),de("ss",ne,J),ve(["s","ss"],ke);var yn,wn,xn=X("Seconds",!1);for(I("S",0,0,function(){return~~(this.millisecond()/100)}),I(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),I(0,["SSS",3],0,"millisecond"),I(0,["SSSS",4],0,function(){return 10*this.millisecond()}),I(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),I(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),I(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),I(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),I(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),F("millisecond","ms"),H("millisecond",16),de("S",oe,Z),de("SS",oe,J),de("SSS",oe,Q),yn="SSSS";yn.length<=9;yn+="S")de(yn,le);function Sn(e,t){t[Oe]=V(1e3*("0."+e))}for(yn="S";yn.length<=9;yn+="S")ve(yn,Sn);wn=X("Milliseconds",!1),I("z",0,0,"zoneAbbr"),I("zz",0,0,"zoneName");var _n=w.prototype;function En(e){return e}_n.add=Jt,_n.calendar=function(e,t){var n;1===arguments.length&&(arguments[0]?x(n=arguments[0])||u(n)||en(n)||c(n)||function(e){var t=i(e),n=!1;return t&&(n=0===e.filter(function(t){return!c(t)&&en(e)}).length),t&&n}(n)||function(e){var t,n,r=o(e)&&!s(e),i=!1,l=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],c=l.length;for(t=0;tn.valueOf():n.valueOf()9999?L(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):O(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",L(n,"Z")):L(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},_n.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r="moment",i="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=i+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!==typeof Symbol&&null!=Symbol.for&&(_n[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),_n.toJSON=function(){return this.isValid()?this.toISOString():null},_n.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},_n.unix=function(){return Math.floor(this.valueOf()/1e3)},_n.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},_n.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},_n.eraName=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;ethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},_n.isLocal=function(){return!!this.isValid()&&!this._isUTC},_n.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},_n.isUtc=Yt,_n.isUTC=Yt,_n.zoneAbbr=function(){return this._isUTC?"UTC":""},_n.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},_n.dates=_("dates accessor is deprecated. Use date instead.",vn),_n.months=_("months accessor is deprecated. Use month instead",je),_n.years=_("years accessor is deprecated. Use year instead",ze),_n.zone=_("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!==typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),_n.isDSTShifted=_("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!l(this._isDSTShifted))return this._isDSTShifted;var e,t={};return y(t,this),(t=At(t))._a?(e=t._isUTC?d(t._a):Pt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r0):this._isDSTShifted=!1,this._isDSTShifted});var Tn=A.prototype;function kn(e,t,n,r){var i=dt(),o=d().set(r,t);return i[n](o,e)}function On(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return kn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=kn(e,r,n,"month");return i}function Cn(e,t,n,r){"boolean"===typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var i,o=dt(),a=e?o._week.dow:0,s=[];if(null!=n)return kn(t,(n+a)%7,r,"day");for(i=0;i<7;i++)s[i]=kn(t,(i+a)%7,r,"day");return s}Tn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return O(r)?r.call(t,n):r},Tn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(P).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},Tn.invalidDate=function(){return this._invalidDate},Tn.ordinal=function(e){return this._ordinal.replace("%d",e)},Tn.preparse=En,Tn.postformat=En,Tn.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return O(i)?i(e,t,n,r):i.replace(/%d/i,e)},Tn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return O(n)?n(t):n.replace(/%s/i,t)},Tn.set=function(e){var t,n;for(n in e)a(e,n)&&(O(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Tn.eras=function(e,t){var n,i,o,a=this._eras||dt("en")._eras;for(n=0,i=a.length;n=0)return l[r]},Tn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n},Tn.erasAbbrRegex=function(e){return a(this,"_erasAbbrRegex")||pn.call(this),e?this._erasAbbrRegex:this._erasRegex},Tn.erasNameRegex=function(e){return a(this,"_erasNameRegex")||pn.call(this),e?this._erasNameRegex:this._erasRegex},Tn.erasNarrowRegex=function(e){return a(this,"_erasNarrowRegex")||pn.call(this),e?this._erasNarrowRegex:this._erasRegex},Tn.months=function(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||De).test(t)?"format":"standalone"][e.month()]:i(this._months)?this._months:this._months.standalone},Tn.monthsShort=function(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[De.test(t)?"format":"standalone"][e.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Tn.monthsParse=function(e,t,n){var r,i,o;if(this._monthsParseExact)return function(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=d([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=we.call(this._shortMonthsParse,a))?i:null:-1!==(i=we.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=we.call(this._shortMonthsParse,a))?i:-1!==(i=we.call(this._longMonthsParse,a))?i:null:-1!==(i=we.call(this._longMonthsParse,a))?i:-1!==(i=we.call(this._shortMonthsParse,a))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=d([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},Tn.monthsRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||Be.call(this),e?this._monthsStrictRegex:this._monthsRegex):(a(this,"_monthsRegex")||(this._monthsRegex=Ie),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},Tn.monthsShortRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||Be.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(a(this,"_monthsShortRegex")||(this._monthsShortRegex=Ne),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},Tn.week=function(e){return Ye(e,this._week.dow,this._week.doy).week},Tn.firstDayOfYear=function(){return this._week.doy},Tn.firstDayOfWeek=function(){return this._week.dow},Tn.weekdays=function(e,t){var n=i(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ve(n,this._week.dow):e?n[e.day()]:n},Tn.weekdaysMin=function(e){return!0===e?Ve(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},Tn.weekdaysShort=function(e){return!0===e?Ve(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},Tn.weekdaysParse=function(e,t,n){var r,i,o;if(this._weekdaysParseExact)return function(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=d([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=we.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=we.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=we.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=we.call(this._weekdaysParse,a))?i:-1!==(i=we.call(this._shortWeekdaysParse,a))?i:-1!==(i=we.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=we.call(this._shortWeekdaysParse,a))?i:-1!==(i=we.call(this._weekdaysParse,a))?i:-1!==(i=we.call(this._minWeekdaysParse,a))?i:null:-1!==(i=we.call(this._minWeekdaysParse,a))?i:-1!==(i=we.call(this._weekdaysParse,a))?i:-1!==(i=we.call(this._shortWeekdaysParse,a))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=d([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},Tn.weekdaysRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Qe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=$e),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},Tn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Qe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ze),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Tn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Qe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Je),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Tn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},Tn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ft("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===V(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),r.lang=_("moment.lang is deprecated. Use moment.locale instead.",ft),r.langData=_("moment.langData is deprecated. Use moment.localeData instead.",dt);var An=Math.abs;function Mn(e,t,n,r){var i=Xt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Pn(e){return e<0?Math.floor(e):Math.ceil(e)}function Rn(e){return 4800*e/146097}function Dn(e){return 146097*e/4800}function Nn(e){return function(){return this.as(e)}}var In=Nn("ms"),Ln=Nn("s"),jn=Nn("m"),Bn=Nn("h"),Fn=Nn("d"),zn=Nn("w"),Un=Nn("M"),Wn=Nn("Q"),Hn=Nn("y");function Yn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Gn=Yn("milliseconds"),Vn=Yn("seconds"),Xn=Yn("minutes"),qn=Yn("hours"),Kn=Yn("days"),$n=Yn("months"),Zn=Yn("years"),Jn=Math.round,Qn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11},er=Math.abs;function tr(e){return(e>0)-(e<0)||+e}function nr(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,o,a,s,l=er(this._milliseconds)/1e3,c=er(this._days),u=er(this._months),f=this.asSeconds();return f?(e=G(l/60),t=G(e/60),l%=60,e%=60,n=G(u/12),u%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=f<0?"-":"",o=tr(this._months)!==tr(f)?"-":"",a=tr(this._days)!==tr(f)?"-":"",s=tr(this._milliseconds)!==tr(f)?"-":"",i+"P"+(n?o+n+"Y":"")+(u?o+u+"M":"")+(c?a+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var rr=Lt.prototype;return rr.isValid=function(){return this._isValid},rr.abs=function(){var e=this._data;return this._milliseconds=An(this._milliseconds),this._days=An(this._days),this._months=An(this._months),e.milliseconds=An(e.milliseconds),e.seconds=An(e.seconds),e.minutes=An(e.minutes),e.hours=An(e.hours),e.months=An(e.months),e.years=An(e.years),this},rr.add=function(e,t){return Mn(this,e,t,1)},rr.subtract=function(e,t){return Mn(this,e,t,-1)},rr.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=z(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Rn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Dn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},rr.asMilliseconds=In,rr.asSeconds=Ln,rr.asMinutes=jn,rr.asHours=Bn,rr.asDays=Fn,rr.asWeeks=zn,rr.asMonths=Un,rr.asQuarters=Wn,rr.asYears=Hn,rr.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*V(this._months/12):NaN},rr._bubble=function(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Pn(Dn(s)+a),a=0,s=0),l.milliseconds=o%1e3,e=G(o/1e3),l.seconds=e%60,t=G(e/60),l.minutes=t%60,n=G(t/60),l.hours=n%24,a+=G(n/24),i=G(Rn(a)),s+=i,a-=Pn(Dn(i)),r=G(s/12),s%=12,l.days=a,l.months=s,l.years=r,this},rr.clone=function(){return Xt(this)},rr.get=function(e){return e=z(e),this.isValid()?this[e+"s"]():NaN},rr.milliseconds=Gn,rr.seconds=Vn,rr.minutes=Xn,rr.hours=qn,rr.days=Kn,rr.weeks=function(){return G(this.days()/7)},rr.months=$n,rr.years=Zn,rr.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,i=!1,o=Qn;return"object"===typeof e&&(t=e,e=!1),"boolean"===typeof e&&(i=e),"object"===typeof t&&(o=Object.assign({},Qn,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),n=this.localeData(),r=function(e,t,n,r){var i=Xt(e).abs(),o=Jn(i.as("s")),a=Jn(i.as("m")),s=Jn(i.as("h")),l=Jn(i.as("d")),c=Jn(i.as("M")),u=Jn(i.as("w")),f=Jn(i.as("y")),h=o<=n.ss&&["s",o]||o0,h[4]=r,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,h)}(this,!i,o,n),i&&(r=n.pastFuture(+this,r)),n.postformat(r)},rr.toISOString=nr,rr.toString=nr,rr.toJSON=nr,rr.locale=nn,rr.localeData=on,rr.toIsoString=_("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",nr),rr.lang=rn,I("X",0,0,"unix"),I("x",0,0,"valueOf"),de("x",ce),de("X",/[+-]?\d+(\.\d{1,3})?/),ve("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),ve("x",function(e,t,n){n._d=new Date(V(e))}),r.version="2.29.4",t=Pt,r.fn=_n,r.min=function(){return Nt("isBefore",[].slice.call(arguments,0))},r.max=function(){return Nt("isAfter",[].slice.call(arguments,0))},r.now=function(){return Date.now?Date.now():+new Date},r.utc=d,r.unix=function(e){return Pt(1e3*e)},r.months=function(e,t){return On(e,t,"months")},r.isDate=u,r.locale=ft,r.invalid=g,r.duration=Xt,r.isMoment=x,r.weekdays=function(e,t,n){return Cn(e,t,n,"weekdays")},r.parseZone=function(){return Pt.apply(null,arguments).parseZone()},r.localeData=dt,r.isDuration=jt,r.monthsShort=function(e,t){return On(e,t,"monthsShort")},r.weekdaysMin=function(e,t,n){return Cn(e,t,n,"weekdaysMin")},r.defineLocale=ht,r.updateLocale=function(e,t){if(null!=t){var n,r,i=ot;null!=at[e]&&null!=at[e].parentLocale?at[e].set(C(at[e]._config,t)):(null!=(r=ut(e))&&(i=r._config),t=C(i,t),null==r&&(t.abbr=e),(n=new A(t)).parentLocale=at[e],at[e]=n),ft(e)}else null!=at[e]&&(null!=at[e].parentLocale?(at[e]=at[e].parentLocale,e===ft()&&ft(e)):null!=at[e]&&delete at[e]);return at[e]},r.locales=function(){return E(at)},r.weekdaysShort=function(e,t,n){return Cn(e,t,n,"weekdaysShort")},r.normalizeUnits=z,r.relativeTimeRounding=function(e){return void 0===e?Jn:"function"===typeof e&&(Jn=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==Qn[e]&&(void 0===t?Qn[e]:(Qn[e]=t,"s"===e&&(Qn.ss=t-1),!0))},r.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=_n,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()}).call(this,n(83)(e))},function(e,t,n){"use strict";var r=n(2);function i(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,i=e.length;r1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],r=t&&t.split("/")||[],a=e&&i(e),s=t&&i(t),l=a||s;if(e&&i(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return"/";var c=void 0;if(r.length){var u=r[r.length-1];c="."===u||".."===u||""===u}else c=!1;for(var f=0,h=r.length;h>=0;h--){var d=r[h];"."===d?o(r,h):".."===d?(o(r,h),f++):f&&(o(r,h),f--)}if(!l)for(;f--;f)r.unshift("..");!l||""===r[0]||r[0]&&i(r[0])||r.unshift("");var p=r.join("/");return c&&"/"!==p.substr(-1)&&(p+="/"),p},s="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var l=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every(function(t,r){return e(t,n[r])});var r="undefined"===typeof t?"undefined":s(t);if(r!==("undefined"===typeof n?"undefined":s(n)))return!1;if("object"===r){var i=t.valueOf(),o=n.valueOf();if(i!==t||o!==n)return e(i,o);var a=Object.keys(t),l=Object.keys(n);return a.length===l.length&&a.every(function(r){return e(t[r],n[r])})}return!1},c=n(33);function u(e){return"/"===e.charAt(0)?e:"/"+e}function f(e){return"/"===e.charAt(0)?e.substr(1):e}function h(e,t){return function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i}function m(e,t,n,i){var o;"string"===typeof e?(o=function(e){var t=e||"/",n="",r="",i=t.indexOf("#");-1!==i&&(r=t.substr(i),t=t.substr(0,i));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(o=Object(r.a)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return n&&(o.key=n),i?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=a(o.pathname,i.pathname)):o.pathname=i.pathname:o.pathname||(o.pathname="/"),o}function g(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&l(e.state,t.state)}function v(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,i){if(null!=e){var o="function"===typeof e?e(t,n):e;"string"===typeof o?"function"===typeof r?r(o,i):i(!0):i(!1!==o)}else i(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter(function(e){return e!==r})}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r=0?t:0)+"#"+e)}function C(e){void 0===e&&(e={}),b||Object(c.a)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),i=n.getUserConfirmation,o=void 0===i?y:i,a=n.hashType,s=void 0===a?"slash":a,l=e.basename?d(u(e.basename)):"",f=T[s],w=f.encodePath,x=f.decodePath;function S(){var e=x(k());return l&&(e=h(e,l)),m(e)}var _=v();function C(e){Object(r.a)(z,e),z.length=t.length,_.notifyListeners(z.location,z.action)}var A=!1,M=null;function P(){var e=k(),t=w(e);if(e!==t)O(t);else{var n=S(),r=z.location;if(!A&&g(r,n))return;if(M===p(n))return;M=null,function(e){if(A)A=!1,C();else{_.confirmTransitionTo(e,"POP",o,function(t){t?C({action:"POP",location:e}):function(e){var t=z.location,n=I.lastIndexOf(p(t));-1===n&&(n=0);var r=I.lastIndexOf(p(e));-1===r&&(r=0);var i=n-r;i&&(A=!0,L(i))}(e)})}}(n)}}var R=k(),D=w(R);R!==D&&O(D);var N=S(),I=[p(N)];function L(e){t.go(e)}var j=0;function B(e){1===(j+=e)&&1===e?window.addEventListener(E,P):0===j&&window.removeEventListener(E,P)}var F=!1;var z={length:t.length,action:"POP",location:N,createHref:function(e){return"#"+w(l+p(e))},push:function(e,t){var n=m(e,void 0,void 0,z.location);_.confirmTransitionTo(n,"PUSH",o,function(e){if(e){var t=p(n),r=w(l+t);if(k()!==r){M=t,function(e){window.location.hash=e}(r);var i=I.lastIndexOf(p(z.location)),o=I.slice(0,-1===i?0:i+1);o.push(t),I=o,C({action:"PUSH",location:n})}else C()}})},replace:function(e,t){var n=m(e,void 0,void 0,z.location);_.confirmTransitionTo(n,"REPLACE",o,function(e){if(e){var t=p(n),r=w(l+t);k()!==r&&(M=t,O(r));var i=I.indexOf(p(z.location));-1!==i&&(I[i]=t),C({action:"REPLACE",location:n})}})},go:L,goBack:function(){L(-1)},goForward:function(){L(1)},block:function(e){void 0===e&&(e=!1);var t=_.setPrompt(e);return F||(B(1),F=!0),function(){return F&&(F=!1,B(-1)),t()}},listen:function(e){var t=_.appendListener(e);return B(1),function(){B(-1),t()}}};return z}function A(e,t,n){return Math.min(Math.max(e,t),n)}function M(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,i=t.initialEntries,o=void 0===i?["/"]:i,a=t.initialIndex,s=void 0===a?0:a,l=t.keyLength,c=void 0===l?6:l,u=v();function f(e){Object(r.a)(w,e),w.length=w.entries.length,u.notifyListeners(w.location,w.action)}function h(){return Math.random().toString(36).substr(2,c)}var d=A(s,0,o.length-1),g=o.map(function(e){return m(e,void 0,"string"===typeof e?h():e.key||h())}),b=p;function y(e){var t=A(w.index+e,0,w.entries.length-1),r=w.entries[t];u.confirmTransitionTo(r,"POP",n,function(e){e?f({action:"POP",location:r,index:t}):f()})}var w={length:g.length,action:"POP",location:g[d],index:d,entries:g,createHref:b,push:function(e,t){var r=m(e,t,h(),w.location);u.confirmTransitionTo(r,"PUSH",n,function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),f({action:"PUSH",location:r,index:t,entries:n})}})},replace:function(e,t){var r=m(e,t,h(),w.location);u.confirmTransitionTo(r,"REPLACE",n,function(e){e&&(w.entries[w.index]=r,f({action:"REPLACE",location:r}))})},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=w.index+e;return t>=0&&t0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,s=void 0===n?o.standard:n,l=t.easing,c=void 0===l?i.easeInOut:l,u=t.delay,f=void 0===u?0:u;Object(r.a)(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map(function(e){return"".concat(e," ").concat("string"===typeof s?s:a(s)," ").concat(c," ").concat("string"===typeof f?f:a(f))}).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}}},function(e,t,n){"use strict";n.d(t,"a",function(){return f}),n.d(t,"b",function(){return d});var r=n(24),i=n(0),o=n.n(i),a=n(53),s=n(39),l=(n(1),n(2)),c=n(29),u=n(33),f=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i=e.length)&&56320===(64512&e.charCodeAt(t+1)))}function a(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function s(e){return 1===e.length?"0"+e:e}function l(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=i,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"===typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!==0&&(e="0"+e),i=0;i>6|192,n[r++]=63&a|128):o(e,i)?(a=65536+((1023&a)<<10)+(1023&e.charCodeAt(++i)),n[r++]=a>>18|240,n[r++]=a>>12&63|128,n[r++]=a>>6&63|128,n[r++]=63&a|128):(n[r++]=a>>12|224,n[r++]=a>>6&63|128,n[r++]=63&a|128)}else for(i=0;i>>0}return a},t.split32=function(e,t){for(var n=new Array(4*e.length),r=0,i=0;r>>24,n[i+1]=o>>>16&255,n[i+2]=o>>>8&255,n[i+3]=255&o):(n[i+3]=o>>>24,n[i+2]=o>>>16&255,n[i+1]=o>>>8&255,n[i]=255&o)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},t.sum32_5=function(e,t,n,r,i){return e+t+n+r+i>>>0},t.sum64=function(e,t,n,r){var i=e[t],o=r+e[t+1]>>>0,a=(o>>0,e[t+1]=o},t.sum64_hi=function(e,t,n,r){return(t+r>>>0>>0},t.sum64_lo=function(e,t,n,r){return t+r>>>0},t.sum64_4_hi=function(e,t,n,r,i,o,a,s){var l=0,c=t;return l+=(c=c+r>>>0)>>0)>>0)>>0},t.sum64_4_lo=function(e,t,n,r,i,o,a,s){return t+r+o+s>>>0},t.sum64_5_hi=function(e,t,n,r,i,o,a,s,l,c){var u=0,f=t;return u+=(f=f+r>>>0)>>0)>>0)>>0)>>0},t.sum64_5_lo=function(e,t,n,r,i,o,a,s,l,c){return t+r+o+s+c>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(0),i=n.n(r),o=n(45);function a(){return i.a.useContext(o.a)}},function(e,t,n){"use strict";function r(e){var t=e.props,n=e.states,r=e.muiFormControl;return n.reduce(function(e,n){return e[n]=t[n],r&&"undefined"===typeof t[n]&&(e[n]=r[n]),e},{})}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";n.d(t,"b",function(){return a});var r=n(0),i=n.n(r),o=i.a.createContext();function a(){return i.a.useContext(o)}t.a=o},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(0),i=n.n(r),o="undefined"!==typeof window?i.a.useLayoutEffect:i.a.useEffect;function a(e){var t=i.a.useRef(e);return o(function(){t.current=e}),i.a.useCallback(function(e){return(0,t.current)(e)},[])}},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",function(){return r})},,function(e,t,n){var r=n(10).Buffer,i=n(60).Transform,o=n(107).StringDecoder;function a(e){i.call(this),this.hashMode="string"===typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}n(11)(a,i),a.prototype.update=function(e,t,n){"string"===typeof e&&(e=r.from(e,t));var i=this._update(e);return this.hashMode?this:(n&&(i=this._toString(i,n)),i)},a.prototype.setAutoPadding=function(){},a.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},a.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},a.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},a.prototype._transform=function(e,t,n){var r;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(i){r=i}finally{n(r)}},a.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(n){t=n}e(t)},a.prototype._finalOrDigest=function(e){var t=this.__final()||r.alloc(0);return e&&(t=this._toString(t,e,!0)),t},a.prototype._toString=function(e,t,n){if(this._decoder||(this._decoder=new o(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var r=this._decoder.write(e);return n&&(r+=this._decoder.end()),r},e.exports=a},function(e,t,n){"use strict";var r=!0;t.a=function(e,t){if(!r){if(e)return;var n="Warning: "+t;"undefined"!==typeof console&&console.warn(n);try{throw Error(n)}catch(i){}}}},function(e,t,n){"use strict";var r=function(e){return function(e){return!!e&&"object"===typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===i}(e)}(e)};var i="function"===typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function o(e,t){return!1!==t.clone&&t.isMergeableObject(e)?c((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function a(e,t,n){return e.concat(t).map(function(e){return o(e,n)})}function s(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return e.propertyIsEnumerable(t)}):[]}(e))}function l(e,t,n){var r={};return n.isMergeableObject(e)&&s(e).forEach(function(t){r[t]=o(e[t],n)}),s(t).forEach(function(i){n.isMergeableObject(t[i])&&e[i]?r[i]=function(e,t){if(!t.customMerge)return c;var n=t.customMerge(e);return"function"===typeof n?n:c}(i,n)(e[i],t[i],n):r[i]=o(t[i],n)}),r}function c(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||a,n.isMergeableObject=n.isMergeableObject||r;var i=Array.isArray(t);return i===Array.isArray(e)?i?n.arrayMerge(e,t,n):l(e,t,n):o(t,n)}c.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,n){return c(e,n,t)},{})};var u=c;e.exports=u},function(e,t,n){"use strict";var r=n(201);function i(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t1&&void 0!==arguments[1]&&arguments[1];return e&&(r(e.value)&&""!==e.value||t&&r(e.defaultValue)&&""!==e.defaultValue)}function o(e){return e.startAdornment}n.d(t,"b",function(){return i}),n.d(t,"a",function(){return o})},function(e,t,n){"use strict";var r=n(0),i=n.n(r);t.a=i.a.createContext(null)},function(e,t,n){"use strict";n.d(t,"b",function(){return us}),n.d(t,"a",function(){return Ss});var r={version:"0.18.5"},i=1200,o=1252,a=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],s={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},l=function(e){-1!=a.indexOf(e)&&(o=s[0]=e)};var c=function(e){i=e,l(e)};function u(){c(1200),l(1252)}function f(e){for(var t=[],n=0;n>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n+1)+(e.charCodeAt(2*n)<<8));return t.join("")}var h,d=function(e){return String.fromCharCode(e)},p=function(e){return String.fromCharCode(e)};var m=null,g=!0,v="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function b(e){for(var t="",n=0,r=0,i=0,o=0,a=0,s=0,l=0,c=0;c>2,a=(3&n)<<4|(r=e.charCodeAt(c++))>>4,s=(15&r)<<2|(i=e.charCodeAt(c++))>>6,l=63&i,isNaN(r)?s=l=64:isNaN(i)&&(l=64),t+=v.charAt(o)+v.charAt(a)+v.charAt(s)+v.charAt(l);return t}function y(e){var t="",n=0,r=0,i=0,o=0,a=0,s=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var l=0;l>4,t+=String.fromCharCode(n),r=(15&o)<<4|(a=v.indexOf(e.charAt(l++)))>>2,64!==a&&(t+=String.fromCharCode(r)),i=(3&a)<<6|(s=v.indexOf(e.charAt(l++))),64!==s&&(t+=String.fromCharCode(i));return t}var w=function(){return"undefined"!==typeof Buffer&&"undefined"!==typeof process&&"undefined"!==typeof process.versions&&!!process.versions.node}(),x=function(){if("undefined"!==typeof Buffer){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch(t){e=!0}return e?function(e,t){return t?new Buffer(e,t):new Buffer(e)}:Buffer.from.bind(Buffer)}return function(){}}();function S(e){return w?Buffer.alloc?Buffer.alloc(e):new Buffer(e):"undefined"!=typeof Uint8Array?new Uint8Array(e):new Array(e)}function _(e){return w?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):"undefined"!=typeof Uint8Array?new Uint8Array(e):new Array(e)}var E=function(e){return w?x(e,"binary"):e.split("").map(function(e){return 255&e.charCodeAt(0)})};function T(e){if("undefined"===typeof ArrayBuffer)return E(e);for(var t=new ArrayBuffer(e.length),n=new Uint8Array(t),r=0;r!=e.length;++r)n[r]=255&e.charCodeAt(r);return t}function k(e){if(Array.isArray(e))return e.map(function(e){return String.fromCharCode(e)}).join("");for(var t=[],n=0;n=0;)t+=e.charAt(n--);return t}function P(e,t){var n=""+e;return n.length>=t?n:We("0",t-n.length)+n}function R(e,t){var n=""+e;return n.length>=t?n:We(" ",t-n.length)+n}function D(e,t){var n=""+e;return n.length>=t?n:n+We(" ",t-n.length)}var N=Math.pow(2,32);function I(e,t){return e>N||e<-N?function(e,t){var n=""+Math.round(e);return n.length>=t?n:We("0",t-n.length)+n}(e,t):function(e,t){var n=""+e;return n.length>=t?n:We("0",t-n.length)+n}(Math.round(e),t)}function L(e,t){return t=t||0,e.length>=7+t&&103===(32|e.charCodeAt(t))&&101===(32|e.charCodeAt(t+1))&&110===(32|e.charCodeAt(t+2))&&101===(32|e.charCodeAt(t+3))&&114===(32|e.charCodeAt(t+4))&&97===(32|e.charCodeAt(t+5))&&108===(32|e.charCodeAt(t+6))}var j=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],B=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];var F={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"\u4e0a\u5348/\u4e0b\u5348 "hh"\u6642"mm"\u5206"ss"\u79d2 "'},z={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},U={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function W(e,t,n){for(var r=e<0?-1:1,i=e*r,o=0,a=1,s=0,l=1,c=0,u=0,f=Math.floor(i);ct&&(c>t?(u=l,s=o):(u=c,s=a)),!n)return[0,r*s,u];var h=Math.floor(r*s/u);return[h,r*s-h*u,u]}function H(e,t,n){if(e>2958465||e<0)return null;var r=0|e,i=Math.floor(86400*(e-r)),o=0,a=[],s={D:r,T:i,u:86400*(e-r)-i,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(s.u)<1e-6&&(s.u=0),t&&t.date1904&&(r+=1462),s.u>.9999&&(s.u=0,86400==++i&&(s.T=i=0,++r,++s.D)),60===r)a=n?[1317,10,29]:[1900,2,29],o=3;else if(0===r)a=n?[1317,8,29]:[1900,1,0],o=6;else{r>60&&--r;var l=new Date(1900,0,1);l.setDate(l.getDate()+r-1),a=[l.getFullYear(),l.getMonth()+1,l.getDate()],o=l.getDay(),r<60&&(o=(o+6)%7),n&&(o=function(e,t){t[0]-=581;var n=e.getDay();e<60&&(n=(n+6)%7);return n}(l,a))}return s.y=a[0],s.m=a[1],s.d=a[2],s.S=i%60,i=Math.floor(i/60),s.M=i%60,i=Math.floor(i/60),s.H=i,s.q=o,s}var Y=new Date(1899,11,31,0,0,0),G=Y.getTime(),V=new Date(1900,2,1,0,0,0);function X(e,t){var n=e.getTime();return t?n-=1262304e5:e>=V&&(n+=864e5),(n-(G+6e4*(e.getTimezoneOffset()-Y.getTimezoneOffset())))/864e5}function q(e){return-1==e.indexOf(".")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function K(e){var t,n=Math.floor(Math.log(Math.abs(e))*Math.LOG10E);return t=n>=-4&&n<=-1?e.toPrecision(10+n):Math.abs(n)<=9?function(e){var t=e<0?12:11,n=q(e.toFixed(12));return n.length<=t?n:(n=e.toPrecision(10)).length<=t?n:e.toExponential(5)}(e):10===n?e.toFixed(10).substr(0,12):function(e){var t=q(e.toFixed(11));return t.length>(e<0?12:11)||"0"===t||"-0"===t?e.toPrecision(6):t}(e),q(function(e){return-1==e.indexOf("E")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}(t.toUpperCase()))}function Z(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(0|e)===e?e.toString(10):K(e);case"undefined":return"";case"object":if(null==e)return"";if(e instanceof Date)return ge(14,X(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function J(e,t,n,r){var i,o="",a=0,s=0,l=n.y,c=0;switch(e){case 98:l=n.y+543;case 121:switch(t.length){case 1:case 2:i=l%100,c=2;break;default:i=l%1e4,c=4}break;case 109:switch(t.length){case 1:case 2:i=n.m,c=t.length;break;case 3:return B[n.m-1][1];case 5:return B[n.m-1][0];default:return B[n.m-1][2]}break;case 100:switch(t.length){case 1:case 2:i=n.d,c=t.length;break;case 3:return j[n.q][0];default:return j[n.q][1]}break;case 104:switch(t.length){case 1:case 2:i=1+(n.H+11)%12,c=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:i=n.H,c=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:i=n.M,c=t.length;break;default:throw"bad minute format: "+t}break;case 115:if("s"!=t&&"ss"!=t&&".0"!=t&&".00"!=t&&".000"!=t)throw"bad second format: "+t;return 0!==n.u||"s"!=t&&"ss"!=t?(s=r>=2?3===r?1e3:100:1===r?10:1,(a=Math.round(s*(n.S+n.u)))>=60*s&&(a=0),"s"===t?0===a?"0":""+a/s:(o=P(a,2+r),"ss"===t?o.substr(0,2):"."+o.substr(2,t.length-1))):P(n.S,t.length);case 90:switch(t){case"[h]":case"[hh]":i=24*n.D+n.H;break;case"[m]":case"[mm]":i=60*(24*n.D+n.H)+n.M;break;case"[s]":case"[ss]":i=60*(60*(24*n.D+n.H)+n.M)+Math.round(n.S+n.u);break;default:throw"bad abstime format: "+t}c=3===t.length?1:2;break;case 101:i=l,c=1}return c>0?P(i,c):""}function Q(e){if(e.length<=3)return e;for(var t=e.length%3,n=e.substr(0,t);t!=e.length;t+=3)n+=(n.length>0?",":"")+e.substr(t,3);return n}var ee=/%/g;var te=/# (\?+)( ?)\/( ?)(\d+)/;var ne=/^#*0*\.([0#]+)/,re=/\).*[0#]/,ie=/\(###\) ###\\?-####/;function oe(e){for(var t,n="",r=0;r!=e.length;++r)switch(t=e.charCodeAt(r)){case 35:break;case 63:n+=" ";break;case 48:n+="0";break;default:n+=String.fromCharCode(t)}return n}function ae(e,t){var n=Math.pow(10,t);return""+Math.round(e*n)/n}function se(e,t){var n=e-Math.floor(e),r=Math.pow(10,t);return t<(""+Math.round(n*r)).length?0:Math.round(n*r)}function le(e,t,n){if(40===e.charCodeAt(0)&&!t.match(re)){var r=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return n>=0?le("n",r,n):"("+le("n",r,-n)+")"}if(44===t.charCodeAt(t.length-1))return function(e,t,n){for(var r=t.length-1;44===t.charCodeAt(r-1);)--r;return ue(e,t.substr(0,r),n/Math.pow(10,3*(t.length-r)))}(e,t,n);if(-1!==t.indexOf("%"))return function(e,t,n){var r=t.replace(ee,""),i=t.length-r.length;return ue(e,r,n*Math.pow(10,2*i))+We("%",i)}(e,t,n);if(-1!==t.indexOf("E"))return function e(t,n){var r,i=t.indexOf("E")-t.indexOf(".")-1;if(t.match(/^#+0.0E\+0$/)){if(0==n)return"0.0E+0";if(n<0)return"-"+e(t,-n);var o=t.indexOf(".");-1===o&&(o=t.indexOf("E"));var a=Math.floor(Math.log(n)*Math.LOG10E)%o;if(a<0&&(a+=o),-1===(r=(n/Math.pow(10,a)).toPrecision(i+1+(o+a)%o)).indexOf("e")){var s=Math.floor(Math.log(n)*Math.LOG10E);for(-1===r.indexOf(".")?r=r.charAt(0)+"."+r.substr(1)+"E+"+(s-r.length+a):r+="E+"+(s-a);"0."===r.substr(0,2);)r=(r=r.charAt(0)+r.substr(2,o)+"."+r.substr(2+o)).replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(e,t,n,r){return t+n+r.substr(0,(o+a)%o)+"."+r.substr(a)+"E"})}else r=n.toExponential(i);return t.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),t.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}(t,n);if(36===t.charCodeAt(0))return"$"+le(e,t.substr(" "==t.charAt(1)?2:1),n);var i,o,a,s,l=Math.abs(n),c=n<0?"-":"";if(t.match(/^00+$/))return c+I(l,t.length);if(t.match(/^[#?]+$/))return"0"===(i=I(n,0))&&(i=""),i.length>t.length?i:oe(t.substr(0,t.length-i.length))+i;if(o=t.match(te))return function(e,t,n){var r=parseInt(e[4],10),i=Math.round(t*r),o=Math.floor(i/r),a=i-o*r,s=r;return n+(0===o?"":""+o)+" "+(0===a?We(" ",e[1].length+1+e[4].length):R(a,e[1].length)+e[2]+"/"+e[3]+P(s,e[4].length))}(o,l,c);if(t.match(/^#+0+$/))return c+I(l,t.length-t.indexOf("0"));if(o=t.match(ne))return i=ae(n,o[1].length).replace(/^([^\.]+)$/,"$1."+oe(o[1])).replace(/\.$/,"."+oe(o[1])).replace(/\.(\d*)$/,function(e,t){return"."+t+We("0",oe(o[1]).length-t.length)}),-1!==t.indexOf("0.")?i:i.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),o=t.match(/^(0*)\.(#*)$/))return c+ae(l,o[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,o[1].length?"0.":".");if(o=t.match(/^#{1,3},##0(\.?)$/))return c+Q(I(l,0));if(o=t.match(/^#,##0\.([#0]*0)$/))return n<0?"-"+le(e,t,-n):Q(""+(Math.floor(n)+function(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}(n,o[1].length)))+"."+P(se(n,o[1].length),o[1].length);if(o=t.match(/^#,#*,#0/))return le(e,t.replace(/^#,#*,/,""),n);if(o=t.match(/^([0#]+)(\\?-([0#]+))+$/))return i=M(le(e,t.replace(/[\\-]/g,""),n)),a=0,M(M(t.replace(/\\/g,"")).replace(/[0#]/g,function(e){return a-2147483648?""+(e>=0?0|e:e-1|0):""+Math.floor(e)}(n)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(e){return"00,"+(e.length<3?P(0,3-e.length):"")+e})+"."+P(a,o[1].length);switch(t){case"###,##0.00":return le(e,"#,##0.00",n);case"###,###":case"##,###":case"#,###":var d=Q(I(l,0));return"0"!==d?c+d:"";case"###,###.00":return le(e,"###,##0.00",n).replace(/^0\./,".");case"#,###.00":return le(e,"#,##0.00",n).replace(/^0\./,".")}throw new Error("unsupported format |"+t+"|")}function ce(e,t,n){if(40===e.charCodeAt(0)&&!t.match(re)){var r=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return n>=0?ce("n",r,n):"("+ce("n",r,-n)+")"}if(44===t.charCodeAt(t.length-1))return function(e,t,n){for(var r=t.length-1;44===t.charCodeAt(r-1);)--r;return ue(e,t.substr(0,r),n/Math.pow(10,3*(t.length-r)))}(e,t,n);if(-1!==t.indexOf("%"))return function(e,t,n){var r=t.replace(ee,""),i=t.length-r.length;return ue(e,r,n*Math.pow(10,2*i))+We("%",i)}(e,t,n);if(-1!==t.indexOf("E"))return function e(t,n){var r,i=t.indexOf("E")-t.indexOf(".")-1;if(t.match(/^#+0.0E\+0$/)){if(0==n)return"0.0E+0";if(n<0)return"-"+e(t,-n);var o=t.indexOf(".");-1===o&&(o=t.indexOf("E"));var a=Math.floor(Math.log(n)*Math.LOG10E)%o;if(a<0&&(a+=o),!(r=(n/Math.pow(10,a)).toPrecision(i+1+(o+a)%o)).match(/[Ee]/)){var s=Math.floor(Math.log(n)*Math.LOG10E);-1===r.indexOf(".")?r=r.charAt(0)+"."+r.substr(1)+"E+"+(s-r.length+a):r+="E+"+(s-a),r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(e,t,n,r){return t+n+r.substr(0,(o+a)%o)+"."+r.substr(a)+"E"})}else r=n.toExponential(i);return t.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),t.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}(t,n);if(36===t.charCodeAt(0))return"$"+ce(e,t.substr(" "==t.charAt(1)?2:1),n);var i,o,a,s,l=Math.abs(n),c=n<0?"-":"";if(t.match(/^00+$/))return c+P(l,t.length);if(t.match(/^[#?]+$/))return i=""+n,0===n&&(i=""),i.length>t.length?i:oe(t.substr(0,t.length-i.length))+i;if(o=t.match(te))return function(e,t,n){return n+(0===t?"":""+t)+We(" ",e[1].length+2+e[4].length)}(o,l,c);if(t.match(/^#+0+$/))return c+P(l,t.length-t.indexOf("0"));if(o=t.match(ne))return i=(i=(""+n).replace(/^([^\.]+)$/,"$1."+oe(o[1])).replace(/\.$/,"."+oe(o[1]))).replace(/\.(\d*)$/,function(e,t){return"."+t+We("0",oe(o[1]).length-t.length)}),-1!==t.indexOf("0.")?i:i.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),o=t.match(/^(0*)\.(#*)$/))return c+(""+l).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,o[1].length?"0.":".");if(o=t.match(/^#{1,3},##0(\.?)$/))return c+Q(""+l);if(o=t.match(/^#,##0\.([#0]*0)$/))return n<0?"-"+ce(e,t,-n):Q(""+n)+"."+We("0",o[1].length);if(o=t.match(/^#,#*,#0/))return ce(e,t.replace(/^#,#*,/,""),n);if(o=t.match(/^([0#]+)(\\?-([0#]+))+$/))return i=M(ce(e,t.replace(/[\\-]/g,""),n)),a=0,M(M(t.replace(/\\/g,"")).replace(/[0#]/g,function(e){return a-1||"\\"==n&&"-"==e.charAt(t+1)&&"0#".indexOf(e.charAt(t+2))>-1););break;case"?":for(;e.charAt(++t)===n;);break;case"*":++t," "!=e.charAt(t)&&"*"!=e.charAt(t)||++t;break;case"(":case")":++t;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;t-1;);break;case" ":default:++t}return!1}var de=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function pe(e,t){if(null==t)return!1;var n=parseFloat(t[2]);switch(t[1]){case"=":if(e==n)return!0;break;case">":if(e>n)return!0;break;case"<":if(e":if(e!=n)return!0;break;case">=":if(e>=n)return!0;break;case"<=":if(e<=n)return!0}return!1}function me(e,t){var n=function(e){for(var t=[],n=!1,r=0,i=0;r-1&&--r,n.length>4)throw new Error("cannot find right format for |"+n.join("|")+"|");if("number"!==typeof t)return[4,4===n.length||i>-1?n[n.length-1]:"@"];switch(n.length){case 1:n=i>-1?["General","General","General",n[0]]:[n[0],n[0],n[0],"@"];break;case 2:n=i>-1?[n[0],n[0],n[0],n[1]]:[n[0],n[1],n[0],"@"];break;case 3:n=i>-1?[n[0],n[1],n[0],n[2]]:[n[0],n[1],n[2],"@"]}var o=t>0?n[0]:t<0?n[1]:n[2];if(-1===n[0].indexOf("[")&&-1===n[1].indexOf("["))return[r,o];if(null!=n[0].match(/\[[=<>]/)||null!=n[1].match(/\[[=<>]/)){var a=n[0].match(de),s=n[1].match(de);return pe(t,a)?[r,n[0]]:pe(t,s)?[r,n[1]]:[r,n[null!=a&&null!=s?2:1]]}return[r,o]}function ge(e,t,n){null==n&&(n={});var r="";switch(typeof e){case"string":r="m/d/yy"==e&&n.dateNF?n.dateNF:e;break;case"number":null==(r=14==e&&n.dateNF?n.dateNF:(null!=n.table?n.table:F)[e])&&(r=n.table&&n.table[z[e]]||F[z[e]]),null==r&&(r=U[e]||"General")}if(L(r,0))return Z(t,n);t instanceof Date&&(t=X(t,n.date1904));var i=me(r,t);if(L(i[1]))return Z(t,n);if(!0===t)t="TRUE";else if(!1===t)t="FALSE";else if(""===t||null==t)return"";return function(e,t,n,r){for(var i,o,a,s=[],l="",c=0,u="",f="t",h="H";c=12?"P":"A"),m.t="T",h="h",c+=3):"AM/PM"===e.substr(c,5).toUpperCase()?(null!=i&&(m.v=i.H>=12?"PM":"AM"),m.t="T",c+=5,h="h"):"\u4e0a\u5348/\u4e0b\u5348"===e.substr(c,5).toUpperCase()?(null!=i&&(m.v=i.H>=12?"\u4e0b\u5348":"\u4e0a\u5348"),m.t="T",c+=5,h="h"):(m.t="t",++c),null==i&&"T"===m.t)return"";s[s.length]=m,f=u;break;case"[":for(l=u;"]"!==e.charAt(c++)&&c-1&&(l=(l.match(/\$([^-\[\]]*)/)||[])[1]||"$",he(e)||(s[s.length]={t:"t",v:l}));break;case".":if(null!=i){for(l=u;++c-1;)l+=u;s[s.length]={t:"n",v:l};break;case"?":for(l=u;e.charAt(++c)===u;)l+=u;s[s.length]={t:u,v:l},f=u;break;case"*":++c," "!=e.charAt(c)&&"*"!=e.charAt(c)||++c;break;case"(":case")":s[s.length]={t:1===r?"t":u,v:u},++c;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(l=u;c-1;)l+=e.charAt(c);s[s.length]={t:"D",v:l};break;case" ":s[s.length]={t:u,v:u},++c;break;case"$":s[s.length]={t:"t",v:"$"},++c;break;default:if(-1===",$-+/():!^&'~{}<>=\u20acacfijklopqrtuvwxzP".indexOf(u))throw new Error("unrecognized character "+u+" in "+e);s[s.length]={t:"t",v:u},++c}var g,v=0,b=0;for(c=s.length-1,f="t";c>=0;--c)switch(s[c].t){case"h":case"H":s[c].t=h,f="h",v<1&&(v=1);break;case"s":(g=s[c].v.match(/\.0+$/))&&(b=Math.max(b,g[0].length-1)),v<3&&(v=3);case"d":case"y":case"M":case"e":f=s[c].t;break;case"m":"s"===f&&(s[c].t="M",v<2&&(v=2));break;case"X":break;case"Z":v<1&&s[c].v.match(/[Hh]/)&&(v=1),v<2&&s[c].v.match(/[Mm]/)&&(v=2),v<3&&s[c].v.match(/[Ss]/)&&(v=3)}switch(v){case 0:break;case 1:i.u>=.5&&(i.u=0,++i.S),i.S>=60&&(i.S=0,++i.M),i.M>=60&&(i.M=0,++i.H);break;case 2:i.u>=.5&&(i.u=0,++i.S),i.S>=60&&(i.S=0,++i.M)}var y,w="";for(c=0;c0){40==w.charCodeAt(0)?(x=t<0&&45===w.charCodeAt(0)?-t:t,S=ue("n",w,x)):(S=ue("n",w,x=t<0&&r>1?-t:t),x<0&&s[0]&&"t"==s[0].t&&(S=S.substr(1),s[0].v="-"+s[0].v)),y=S.length-1;var E=s.length;for(c=0;c-1){E=c;break}var T=s.length;if(E===s.length&&-1===S.indexOf("E")){for(c=s.length-1;c>=0;--c)null!=s[c]&&-1!=="n?".indexOf(s[c].t)&&(y>=s[c].v.length-1?(y-=s[c].v.length,s[c].v=S.substr(y+1,s[c].v.length)):y<0?s[c].v="":(s[c].v=S.substr(0,y+1),y=-1),s[c].t="t",T=c);y>=0&&T=0;--c)if(null!=s[c]&&-1!=="n?".indexOf(s[c].t)){for(o=s[c].v.indexOf(".")>-1&&c===E?s[c].v.indexOf(".")-1:s[c].v.length-1,_=s[c].v.substr(o+1);o>=0;--o)y>=0&&("0"===s[c].v.charAt(o)||"#"===s[c].v.charAt(o))&&(_=S.charAt(y--)+_);s[c].v=_,s[c].t="t",T=c}for(y>=0&&T-1&&c===E?s[c].v.indexOf(".")+1:0,_=s[c].v.substr(0,o);o-1&&(x=r>1&&t<0&&c>0&&"-"===s[c-1].v?-t:t,s[c].v=ue(s[c].t,s[c].v,x),s[c].t="t");var k="";for(c=0;c!==s.length;++c)null!=s[c]&&(k+=s[c].v);return k}(i[1],t,n,i[0])}function ve(e,t){if("number"!=typeof t){t=+t||-1;for(var n=0;n<392;++n)if(void 0!=F[n]){if(F[n]==e){t=n;break}}else t<0&&(t=n);t<0&&(t=391)}return F[t]=e,t}function be(e){for(var t=0;392!=t;++t)void 0!==e[t]&&ve(e[t],t)}function ye(){var e;e||(e={}),e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"\u4e0a\u5348/\u4e0b\u5348 "hh"\u6642"mm"\u5206"ss"\u79d2 "',F=e}var we=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;var xe=function(){var e={};e.version="1.2.0";var t=function(){for(var e=0,t=new Array(256),n=0;256!=n;++n)e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=n)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1,t[n]=e;return"undefined"!==typeof Int32Array?new Int32Array(t):t}();var n=function(e){var t=0,n=0,r=0,i="undefined"!==typeof Int32Array?new Int32Array(4096):new Array(4096);for(r=0;256!=r;++r)i[r]=e[r];for(r=0;256!=r;++r)for(n=e[r],t=256+r;t<4096;t+=256)n=i[t]=n>>>8^e[255&n];var o=[];for(r=1;16!=r;++r)o[r-1]="undefined"!==typeof Int32Array?i.subarray(256*r,256*r+256):i.slice(256*r,256*r+256);return o}(t),r=n[0],i=n[1],o=n[2],a=n[3],s=n[4],l=n[5],c=n[6],u=n[7],f=n[8],h=n[9],d=n[10],p=n[11],m=n[12],g=n[13],v=n[14];return e.table=t,e.bstr=function(e,n){for(var r=-1^n,i=0,o=e.length;i>>8^t[255&(r^e.charCodeAt(i++))];return~r},e.buf=function(e,n){for(var b=-1^n,y=e.length-15,w=0;w>8&255]^m[e[w++]^b>>16&255]^p[e[w++]^b>>>24]^d[e[w++]]^h[e[w++]]^f[e[w++]]^u[e[w++]]^c[e[w++]]^l[e[w++]]^s[e[w++]]^a[e[w++]]^o[e[w++]]^i[e[w++]]^r[e[w++]]^t[e[w++]];for(y+=15;w>>8^t[255&(b^e[w++])];return~b},e.str=function(e,n){for(var r=-1^n,i=0,o=e.length,a=0,s=0;i>>8^t[255&(r^a)]:a<2048?r=(r=r>>>8^t[255&(r^(192|a>>6&31))])>>>8^t[255&(r^(128|63&a))]:a>=55296&&a<57344?(a=64+(1023&a),s=1023&e.charCodeAt(i++),r=(r=(r=(r=r>>>8^t[255&(r^(240|a>>8&7))])>>>8^t[255&(r^(128|a>>2&63))])>>>8^t[255&(r^(128|s>>6&15|(3&a)<<4))])>>>8^t[255&(r^(128|63&s))]):r=(r=(r=r>>>8^t[255&(r^(224|a>>12&15))])>>>8^t[255&(r^(128|a>>6&63))])>>>8^t[255&(r^(128|63&a))];return~r},e}(),Se=function(){var e,t={};function n(e){if("/"==e.charAt(e.length-1))return-1===e.slice(0,-1).indexOf("/")?e:n(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(0,t+1)}function r(e){if("/"==e.charAt(e.length-1))return r(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(t+1)}function i(e,t){"string"===typeof t&&(t=new Date(t));var n=t.getHours();n=(n=n<<6|t.getMinutes())<<5|t.getSeconds()>>>1,e.write_shift(2,n);var r=t.getFullYear()-1980;r=(r=r<<4|t.getMonth()+1)<<5|t.getDate(),e.write_shift(2,r)}function o(e){Qt(e,0);for(var t={},n=0;e.l<=e.length-4;){var r=e.read_shift(2),i=e.read_shift(2),o=e.l+i,a={};switch(r){case 21589:1&(n=e.read_shift(1))&&(a.mtime=e.read_shift(4)),i>5&&(2&n&&(a.atime=e.read_shift(4)),4&n&&(a.ctime=e.read_shift(4))),a.mtime&&(a.mt=new Date(1e3*a.mtime))}e.l=o,t[r]=a}return t}function a(){return e||(e={})}function s(e,t){if(80==e[0]&&75==e[1])return fe(e,t);if(109==(32|e[0])&&105==(32|e[1]))return function(e,t){if("mime-version:"!=P(e.slice(0,13)).toLowerCase())throw new Error("Unsupported MAD header");var n=t&&t.root||"",r=(w&&Buffer.isBuffer(e)?e.toString("binary"):P(e)).split("\r\n"),i=0,o="";for(i=0;i0&&(n=(n=n.slice(0,n.length-1)).slice(0,n.lastIndexOf("/")+1),o.slice(0,n.length)!=n););var a=(r[1]||"").match(/boundary="(.*?)"/);if(!a)throw new Error("MAD cannot find boundary");var s="--"+(a[1]||""),l={FileIndex:[],FullPaths:[]};f(l);var c,u=0;for(i=0;i>>2)-1;if(!s)return;for(var c=0;c=i&&(h-=i),!a[h]){l=[];var p=[];for(f=h;f>=0;){p[f]=!0,a[f]=!0,s[s.length]=f,l.push(e[f]);var m=n[Math.floor(4*f/r)];if(r<4+(d=4*f&c))throw new Error("FAT boundary crossed: "+f+" 4 "+r);if(!e[m])break;if(f=Gt(e[m],d),p[f])break}o[h]={nodes:s,data:wt([l])}}return o}(_,o,d,h);E[o].name="!Directory",r>0&&a!==g&&(E[a].name="!MiniFAT"),E[d[0]].name="!FAT",E.fat_addrs=d,E.ssz=h;var T=[],k=[],O=[];!function(e,t,n,r,i,o,a,s){for(var f,h=0,d=r.length?2:0,p=t[e].data,m=0,v=0;m0&&h!==g&&(t[h].name="!StreamData")):y.size>=4096?(y.storage="fat",void 0===t[y.start]&&(t[y.start]=c(n,y.start,t.fat_addrs,t.ssz)),t[y.start].name=y.name,y.content=t[y.start].data.slice(0,y.size)):(y.storage="minifat",y.size<0?y.size=0:h!==g&&y.start!==g&&t[h]&&(y.content=l(y,t[h].data,(t[s]||{}).data))),y.content&&Qt(y.content,0),o[f]=y,a.push(y)}}(o,E,_,T,r,{},k,a),function(e,t,n){for(var r=0,i=0,o=0,a=0,s=0,l=n.length,c=[],u=[];r0&&a>=0;)o.push(t.slice(a*m,a*m+m)),i-=m,a=Gt(n,4*a);return 0===o.length?tn(0):O(o).slice(0,e.size)}function c(e,t,n,r,i){var o=[],a=[];i||(i=[]);var s=r-1,l=0,c=0;for(l=t;l>=0;){i[l]=!0,o[o.length]=l,a.push(e[l]);var u=n[Math.floor(4*l/r)];if(r<4+(c=4*l&s))throw new Error("FAT boundary crossed: "+l+" 4 "+r);if(!e[u])break;l=Gt(e[u],c)}return{nodes:o,data:wt([a])}}function u(e,t){return new Date(1e3*(Yt(e,t+4)/1e7*Math.pow(2,32)+Yt(e,t)/1e7-11644473600))}function f(e,t){var n=t||{},r=n.root||"Root Entry";if(e.FullPaths||(e.FullPaths=[]),e.FileIndex||(e.FileIndex=[]),e.FullPaths.length!==e.FileIndex.length)throw new Error("inconsistent CFB structure");0===e.FullPaths.length&&(e.FullPaths[0]=r+"/",e.FileIndex[0]={name:r,type:5}),n.CLSID&&(e.FileIndex[0].clsid=n.CLSID),function(e){var t="\x01Sh33tJ5";if(Se.find(e,"/"+t))return;var n=tn(4);n[0]=55,n[1]=n[3]=50,n[2]=54,e.FileIndex.push({name:t,type:2,content:n,size:4,L:69,R:69,C:69}),e.FullPaths.push(e.FullPaths[0]+t),h(e)}(e)}function h(e,t){f(e);for(var i=!1,o=!1,a=e.FullPaths.length-1;a>=0;--a){var s=e.FileIndex[a];switch(s.type){case 0:o?i=!0:(e.FileIndex.pop(),e.FullPaths.pop());break;case 1:case 2:case 5:o=!0,isNaN(s.R*s.L*s.C)&&(i=!0),s.R>-1&&s.L>-1&&s.R==s.L&&(i=!0);break;default:i=!0}}if(i||t){var l=new Date(1987,1,19),c=0,u=Object.create?Object.create(null):{},h=[];for(a=0;a1?1:-1,p.size=0,p.type=5;else if("/"==m.slice(-1)){for(c=a+1;c=h.length?-1:c,c=a+1;c=h.length?-1:c,p.type=1}else n(e.FullPaths[a+1]||"")==n(m)&&(p.R=a+1),p.type=2}}}function d(e,t){var n=t||{};if("mad"==n.fileType)return function(e,t){for(var n=t||{},r=n.boundary||"SheetJS",i=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+(r="------="+r).slice(2)+'"',"","",""],o=e.FullPaths[0],a=o,s=e.FileIndex[0],l=1;l=32&&d<128&&++f;var m=f>=4*h/5;i.push(r),i.push("Content-Location: "+(n.root||"file:///C:/SheetJS/")+a),i.push("Content-Transfer-Encoding: "+(m?"quoted-printable":"base64")),i.push("Content-Type: "+pe(s,a)),i.push(""),i.push(m?ge(u):me(u))}return i.push(r+"--\r\n"),i.join("\r\n")}(e,n);switch(h(e),n.fileType){case"zip":return function(e,t){var n=t||{},r=[],o=[],a=tn(1),s=n.compression?8:0,l=0;0;var c=0,u=0,f=0,h=0,d=e.FullPaths[0],m=d,g=e.FileIndex[0],v=[],b=0;for(c=1;c0&&(o<4096?t+=o+63>>6:n+=o+511>>9)}}for(var a=e.FullPaths.length+3>>2,s=t+127>>7,l=(t+7>>3)+n+a+s,c=l+127>>7,u=c<=109?0:Math.ceil((c-109)/127);l+c+u+127>>7>c;)u=++c<=109?0:Math.ceil((c-109)/127);var f=[1,u,c,s,a,n,t,0];return e.FileIndex[0].size=t<<6,f[7]=(e.FileIndex[0].start=f[0]+f[1]+f[2]+f[3]+f[4]+f[5])+(f[6]+7>>3),f}(e),o=tn(r[7]<<9),a=0,s=0;for(a=0;a<8;++a)o.write_shift(1,T[a]);for(a=0;a<8;++a)o.write_shift(2,0);for(o.write_shift(2,62),o.write_shift(2,3),o.write_shift(2,65534),o.write_shift(2,9),o.write_shift(2,6),a=0;a<3;++a)o.write_shift(2,0);for(o.write_shift(4,0),o.write_shift(4,r[2]),o.write_shift(4,r[0]+r[1]+r[2]+r[3]-1),o.write_shift(4,0),o.write_shift(4,4096),o.write_shift(4,r[3]?r[0]+r[1]+r[2]-1:g),o.write_shift(4,r[3]),o.write_shift(-4,r[1]?r[0]-1:g),o.write_shift(4,r[1]),a=0;a<109;++a)o.write_shift(-4,a>9)));for(l(r[6]+7>>3);511&o.l;)o.write_shift(-4,M.ENDOFCHAIN);for(s=a=0,c=0;c=4096||(f.start=s,l(u+63>>6)));for(;511&o.l;)o.write_shift(-4,M.ENDOFCHAIN);for(a=0;a=4096)if(o.l=f.start+1<<9,w&&Buffer.isBuffer(f.content))f.content.copy(o,o.l,0,f.size),o.l+=f.size+511&-512;else{for(c=0;c0&&f.size<4096)if(w&&Buffer.isBuffer(f.content))f.content.copy(o,o.l,0,f.size),o.l+=f.size+63&-64;else{for(c=0;c>16|t>>8|t)}for(var L="undefined"!==typeof Uint8Array,j=L?new Uint8Array(256):[],B=0;B<256;++B)j[B]=I(B);function F(e,t){var n=j[255&e];return t<=8?n>>>8-t:(n=n<<8|j[e>>8&255],t<=16?n>>>16-t:(n=n<<8|j[e>>16&255])>>>24-t)}function z(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=6?0:e[r+1]<<8))>>>n&3}function U(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=5?0:e[r+1]<<8))>>>n&7}function W(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=3?0:e[r+1]<<8))>>>n&31}function H(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=1?0:e[r+1]<<8))>>>n&127}function Y(e,t,n){var r=7&t,i=t>>>3,o=(1<>>r;return n<8-r?a&o:(a|=e[i+1]<<8-r,n<16-r?a&o:(a|=e[i+2]<<16-r,n<24-r?a&o:(a|=e[i+3]<<24-r)&o))}function G(e,t,n){var r=7&t,i=t>>>3;return r<=5?e[i]|=(7&n)<>8-r),t+3}function V(e,t,n){return n=(1&n)<<(7&t),e[t>>>3]|=n,t+1}function X(e,t,n){var r=t>>>3;return n<<=7&t,e[r]|=255&n,n>>>=8,e[r+1]=n,t+8}function q(e,t,n){var r=t>>>3;return n<<=7&t,e[r]|=255&n,n>>>=8,e[r+1]=255&n,e[r+2]=n>>>8,t+16}function K(e,t){var n=e.length,r=2*n>t?2*n:t+5,i=0;if(n>=t)return e;if(w){var o=_(r);if(e.copy)e.copy(o);else for(;i>r-f,a=(1<=0;--a)t[s|a<0;)t[t.l++]=e[n++]}return t.l}(t,n):function(t,n){for(var i=0,o=0,a=L?new Uint16Array(32768):[];o0;)n[n.l++]=t[o++];i=8*n.l}else{i=G(n,i,+!(o+s!=t.length)+2);for(var l=0;s-- >0;){var c=t[o],u=-1,f=0;if((u=a[l=32767&(l<<5^c)])&&((u|=-32768&o)>o&&(u-=32768),u2){(c=r[f])<=22?i=X(n,i,j[c+1]>>1)-1:(X(n,i,3),X(n,i+=5,j[c-23]>>5),i+=3);var h=c<8?0:c-4>>2;h>0&&(q(n,i,f-D[c]),i+=h),c=e[o-u],i=X(n,i,j[c]>>3),i-=3;var d=c<4?0:c-2>>1;d>0&&(q(n,i,o-u-N[c]),i+=d);for(var p=0;p>>3;return(e[r]|(n<=4?0:e[r+1]<<8))>>>n&15}(e,t+=5)+4;t+=4;for(var o=0,a=L?new Uint8Array(19):$(19),s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],l=1,c=L?new Uint8Array(8):$(8),u=L?new Uint8Array(8):$(8),f=a.length,h=0;h>8-p;for(var m=(1<<7-p)-1;m>=0;--m)oe[d|m<>>=3){case 16:for(o=3+z(e,t),t+=2,d=g[g.length-1];o-- >0;)g.push(d);break;case 17:for(o=3+U(e,t),t+=3;o-- >0;)g.push(0);break;case 18:for(o=11+H(e,t),t+=7;o-- >0;)g.push(0);break;default:g.push(d),l>>0,s=0,l=0;0==(1&r);)if(r=U(e,n),n+=3,r>>>1!=0)for(r>>1==1?(s=9,l=5):(n=le(e,n),s=ae,l=se);;){!t&&a>>1==1?J[c]:re[c];if(n+=15&u,0===((u>>>=4)>>>8&255))i[o++]=u;else{if(256==u)break;var f=(u-=257)<8?0:u-4>>2;f>5&&(f=0);var h=o+D[u];f>0&&(h+=Y(e,n,f),n+=f),c=Y(e,n,l),n+=15&(u=r>>>1==1?Q[c]:ie[c]);var d=(u>>>=4)<4?0:u-2>>1,p=N[u];for(d>0&&(p+=Y(e,n,d),n+=d),!t&&a>>3]|e[1+(n>>>3)]<<8;if(n+=32,m>0)for(!t&&a0;)i[o++]=e[n>>>3],n+=8}return t?[i,n+7>>>3]:[i.slice(0,o),n+7>>>3]}(e.slice(e.l||0),t);return e.l+=n[1],n[0]}function ue(e,t){if(!e)throw new Error(t);"undefined"!==typeof console&&console.error(t)}function fe(e,t){var n=e;Qt(n,0);var r={FileIndex:[],FullPaths:[]};f(r,{root:t.root});for(var i=n.length-4;(80!=n[i]||75!=n[i+1]||5!=n[i+2]||6!=n[i+3])&&i>=0;)--i;n.l=i+4,n.l+=4;var a=n.read_shift(2);n.l+=6;var s=n.read_shift(4);for(n.l=s,i=0;i>>=5);n>>>=4,r.setMilliseconds(0),r.setFullYear(n+1980),r.setMonth(o-1),r.setDate(i);var a=31&t,s=63&(t>>>=5);return t>>>=6,r.setHours(t),r.setMinutes(s),r.setSeconds(a<<1),r}(e);if(8257&a)throw new Error("Unsupported ZIP encryption");e.read_shift(4);for(var c=e.read_shift(4),u=e.read_shift(4),f=e.read_shift(2),h=e.read_shift(2),d="",m=0;m0?n.setTime(n.getTime()+60*n.getTimezoneOffset()*1e3):t<0&&n.setTime(n.getTime()-60*n.getTimezoneOffset()*1e3),n;if(e instanceof Date)return e;if(1917==je.getFullYear()&&!isNaN(n.getFullYear())){var r=n.getFullYear();return e.indexOf(""+r)>-1?n:(n.setFullYear(n.getFullYear()+100),n)}var i=e.match(/\d+/g)||["2017","2","19","0","0","0"],o=new Date(+i[0],+i[1]-1,+i[2],+i[3]||0,+i[4]||0,+i[5]||0);return e.indexOf("Z")>-1&&(o=new Date(o.getTime()-60*o.getTimezoneOffset()*1e3)),o}function ze(e,t){if(w&&Buffer.isBuffer(e)){if(t){if(255==e[0]&&254==e[1])return ct(e.slice(2).toString("utf16le"));if(254==e[1]&&255==e[2])return ct(f(e.slice(2).toString("binary")))}return e.toString("binary")}if("undefined"!==typeof TextDecoder)try{if(t){if(255==e[0]&&254==e[1])return ct(new TextDecoder("utf-16le").decode(e.slice(2)));if(254==e[0]&&255==e[1])return ct(new TextDecoder("utf-16be").decode(e.slice(2)))}var n={"\u20ac":"\x80","\u201a":"\x82","\u0192":"\x83","\u201e":"\x84","\u2026":"\x85","\u2020":"\x86","\u2021":"\x87","\u02c6":"\x88","\u2030":"\x89","\u0160":"\x8a","\u2039":"\x8b","\u0152":"\x8c","\u017d":"\x8e","\u2018":"\x91","\u2019":"\x92","\u201c":"\x93","\u201d":"\x94","\u2022":"\x95","\u2013":"\x96","\u2014":"\x97","\u02dc":"\x98","\u2122":"\x99","\u0161":"\x9a","\u203a":"\x9b","\u0153":"\x9c","\u017e":"\x9e","\u0178":"\x9f"};return Array.isArray(e)&&(e=new Uint8Array(e)),new TextDecoder("latin1").decode(e).replace(/[\u20ac\u201a\u0192\u201e\u2026\u2020\u2021\u02c6\u2030\u0160\u2039\u0152\u017d\u2018\u2019\u201c\u201d\u2022\u2013\u2014\u02dc\u2122\u0161\u203a\u0153\u017e\u0178]/g,function(e){return n[e]||e})}catch(o){}for(var r=[],i=0;i!=e.length;++i)r.push(String.fromCharCode(e[i]));return r.join("")}function Ue(e){if("undefined"!=typeof JSON&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if("object"!=typeof e||null==e)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=Ue(e[n]));return t}function We(e,t){for(var n="";n.length3&&-1==Ye.indexOf(a))return n}else if(a.match(/[a-z]/))return n;return r<0||r>8099?n:(i>0||o>1)&&101!=r?t:e.match(/[^-0-9:,\/\\]/)?n:t}function Ve(e,t,n){if(e.FullPaths){var r;if("string"==typeof n)return r=w?x(n):function(e){for(var t=[],n=0,r=e.length+250,i=S(e.length+255),o=0;o>6&31,i[n++]=128|63&a;else if(a>=55296&&a<57344){a=64+(1023&a);var s=1023&e.charCodeAt(++o);i[n++]=240|a>>8&7,i[n++]=128|a>>2&63,i[n++]=128|s>>6&15|(3&a)<<4,i[n++]=128|63&s}else i[n++]=224|a>>12&15,i[n++]=128|a>>6&63,i[n++]=128|63&a;n>r&&(t.push(i.slice(0,n)),n=0,i=S(65535),r=65530)}return t.push(i.slice(0,n)),O(t)}(n),Se.utils.cfb_add(e,t,r);Se.utils.cfb_add(e,t,n)}else e.file(t,n)}function Xe(){return Se.utils.cfb_new()}var qe='\r\n';var Ke={""":'"',"'":"'",">":">","<":"<","&":"&"},$e=Ce(Ke),Ze=/[&<>'"]/g,Je=/[\u0000-\u0008\u000b-\u001f]/g;function Qe(e){return(e+"").replace(Ze,function(e){return $e[e]}).replace(Je,function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"})}function et(e){return Qe(e).replace(/ /g,"_x0020_")}var tt=/[\u0000-\u001f]/g;function nt(e){return(e+"").replace(Ze,function(e){return $e[e]}).replace(/\n/g,"
").replace(tt,function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"})}function rt(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function it(e){for(var t="",n=0,r=0,i=0,o=0,a=0,s=0;n191&&r<224?(a=(31&r)<<6,a|=63&i,t+=String.fromCharCode(a)):(o=e.charCodeAt(n++),r<240?t+=String.fromCharCode((15&r)<<12|(63&i)<<6|63&o):(s=((7&r)<<18|(63&i)<<12|(63&o)<<6|63&(a=e.charCodeAt(n++)))-65536,t+=String.fromCharCode(55296+(s>>>10&1023)),t+=String.fromCharCode(56320+(1023&s)))));return t}function ot(e){var t,n,r,i=S(2*e.length),o=1,a=0,s=0;for(n=0;n>>10&1023),t=56320+(1023&t)),0!==s&&(i[a++]=255&s,i[a++]=s>>>8,s=0),i[a++]=t%256,i[a++]=t>>>8;return i.slice(0,a).toString("ucs2")}function at(e){return x(e,"binary").toString("utf8")}var st="foo bar baz\xe2\x98\x83\xf0\x9f\x8d\xa3",lt=w&&(at(st)==it(st)&&at||ot(st)==it(st)&&ot)||it,ct=w?function(e){return x(e,"utf8").toString("binary")}:function(e){for(var t=[],n=0,r=0,i=0;n>6))),t.push(String.fromCharCode(128+(63&r)));break;case r>=55296&&r<57344:r-=55296,i=e.charCodeAt(n++)-56320+(r<<10),t.push(String.fromCharCode(240+(i>>18&7))),t.push(String.fromCharCode(144+(i>>12&63))),t.push(String.fromCharCode(128+(i>>6&63))),t.push(String.fromCharCode(128+(63&i)));break;default:t.push(String.fromCharCode(224+(r>>12))),t.push(String.fromCharCode(128+(r>>6&63))),t.push(String.fromCharCode(128+(63&r)))}return t.join("")},ut=function(){var e=[["nbsp"," "],["middot","\xb7"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]});return function(t){for(var n=t.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+/g,"\n").replace(/<[^>]*>/g,""),r=0;r"+t+""}function dt(e){return ke(e).map(function(t){return" "+t+'="'+e[t]+'"'}).join("")}function pt(e,t,n){return"<"+e+(null!=n?dt(n):"")+(null!=t?(t.match(ft)?' xml:space="preserve"':"")+">"+t+""}function mt(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(n){if(t)throw n}return""}var gt={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"},vt=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"],bt={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};var yt=function(e){for(var t=[],n=0;n0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(e){return Buffer.isBuffer(e)?e:x(e)})):yt(e)}:yt,xt=function(e,t,n){for(var r=[],i=t;i0?kt(e,t+4,t+4+n-1):""},Ct=Ot,At=function(e,t){var n=Yt(e,t);return n>0?kt(e,t+4,t+4+n-1):""},Mt=At,Pt=function(e,t){var n=2*Yt(e,t);return n>0?kt(e,t+4,t+4+n-1):""},Rt=Pt,Dt=function(e,t){var n=Yt(e,t);return n>0?St(e,t+4,t+4+n):""},Nt=Dt,It=function(e,t){var n=Yt(e,t);return n>0?kt(e,t+4,t+4+n):""},Lt=It,jt=function(e,t){return function(e,t){for(var n=1-2*(e[t+7]>>>7),r=((127&e[t+7])<<4)+(e[t+6]>>>4&15),i=15&e[t+6],o=5;o>=0;--o)i=256*i+e[t+o];return 2047==r?0==i?n*(1/0):NaN:(0==r?r=-1022:(r-=1023,i+=Math.pow(2,52)),n*Math.pow(2,r-52)*i)}(e,t)},Bt=jt,Ft=function(e){return Array.isArray(e)||"undefined"!==typeof Uint8Array&&e instanceof Uint8Array};function zt(){St=function(e,t,n){return h.utils.decode(1200,e.slice(t,n)).replace(C,"")},kt=function(e,t,n){return h.utils.decode(65001,e.slice(t,n))},Ct=function(e,t){var n=Yt(e,t);return n>0?h.utils.decode(o,e.slice(t+4,t+4+n-1)):""},Mt=function(e,t){var n=Yt(e,t);return n>0?h.utils.decode(i,e.slice(t+4,t+4+n-1)):""},Rt=function(e,t){var n=2*Yt(e,t);return n>0?h.utils.decode(1200,e.slice(t+4,t+4+n-1)):""},Nt=function(e,t){var n=Yt(e,t);return n>0?h.utils.decode(1200,e.slice(t+4,t+4+n)):""},Lt=function(e,t){var n=Yt(e,t);return n>0?h.utils.decode(65001,e.slice(t+4,t+4+n)):""}}w&&(Ct=function(e,t){if(!Buffer.isBuffer(e))return Ot(e,t);var n=e.readUInt32LE(t);return n>0?e.toString("utf8",t+4,t+4+n-1):""},Mt=function(e,t){if(!Buffer.isBuffer(e))return At(e,t);var n=e.readUInt32LE(t);return n>0?e.toString("utf8",t+4,t+4+n-1):""},Rt=function(e,t){if(!Buffer.isBuffer(e))return Pt(e,t);var n=2*e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+n-1)},Nt=function(e,t){if(!Buffer.isBuffer(e))return Dt(e,t);var n=e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+n)},Lt=function(e,t){if(!Buffer.isBuffer(e))return It(e,t);var n=e.readUInt32LE(t);return e.toString("utf8",t+4,t+4+n)},Bt=function(e,t){return Buffer.isBuffer(e)?e.readDoubleLE(t):jt(e,t)},Ft=function(e){return Buffer.isBuffer(e)||Array.isArray(e)||"undefined"!==typeof Uint8Array&&e instanceof Uint8Array}),"undefined"!==typeof h&&zt();var Ut=function(e,t){return e[t]},Wt=function(e,t){return 256*e[t+1]+e[t]},Ht=function(e,t){var n=256*e[t+1]+e[t];return n<32768?n:-1*(65535-n+1)},Yt=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},Gt=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},Vt=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function Xt(e,t){var n,r,o,a,s,l,c="",u=[];switch(t){case"dbcs":if(l=this.l,w&&Buffer.isBuffer(this))c=this.slice(this.l,this.l+2*e).toString("utf16le");else for(s=0;s0?Gt:Vt)(this,this.l),this.l+=4,n):(r=Yt(this,this.l),this.l+=4,r);case 8:case-8:if("f"===t)return r=8==e?Bt(this,this.l):Bt([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,r;e=8;case 16:c=Et(this,this.l,e)}}return this.l+=e,c}var qt=function(e,t,n){e[n]=255&t,e[n+1]=t>>>8&255,e[n+2]=t>>>16&255,e[n+3]=t>>>24&255},Kt=function(e,t,n){e[n]=255&t,e[n+1]=t>>8&255,e[n+2]=t>>16&255,e[n+3]=t>>24&255},$t=function(e,t,n){e[n]=255&t,e[n+1]=t>>>8&255};function Zt(e,t,n){var r=0,i=0;if("dbcs"===n){for(i=0;i!=t.length;++i)$t(this,t.charCodeAt(i),this.l+2*i);r=2*t.length}else if("sbcs"===n){if("undefined"!==typeof h&&874==o)for(i=0;i!=t.length;++i){var a=h.utils.encode(o,t.charAt(i));this[this.l+i]=a[0]}else for(t=t.replace(/[^\x00-\x7F]/g,"_"),i=0;i!=t.length;++i)this[this.l+i]=255&t.charCodeAt(i);r=t.length}else{if("hex"===n){for(;i>8}for(;this.l>>=8,this[this.l+1]=255&t;break;case 3:r=3,this[this.l]=255&t,t>>>=8,this[this.l+1]=255&t,t>>>=8,this[this.l+2]=255&t;break;case 4:r=4,qt(this,t,this.l);break;case 8:if(r=8,"f"===n){!function(e,t,n){var r=(t<0||1/t==-1/0?1:0)<<7,i=0,o=0,a=r?-t:t;isFinite(a)?0==a?i=o=0:(i=Math.floor(Math.log(a)/Math.LN2),o=a*Math.pow(2,52-i),i<=-1023&&(!isFinite(o)||o>4|r}(this,t,this.l);break}case 16:break;case-4:r=4,Kt(this,t,this.l)}}return this.l+=r,this}function Jt(e,t){var n=Et(this,this.l,e.length>>1);if(n!==e)throw new Error(t+"Expected "+e+" saw "+n);this.l+=e.length>>1}function Qt(e,t){e.l=t,e.read_shift=Xt,e.chk=Jt,e.write_shift=Zt}function en(e,t){e.l+=t}function tn(e){var t=S(e);return Qt(t,0),t}function nn(){var e=[],t=w?256:2048,n=function(e){var t=tn(e);return Qt(t,0),t},r=n(t),i=function(){r&&(r.length>r.l&&((r=r.slice(0,r.l)).l=r.length),r.length>0&&e.push(r),r=null)},o=function(e){return r&&e=128?1:0)+1,r>=128&&++i,r>=16384&&++i,r>=2097152&&++i;var a=e.next(i);o<=127?a.write_shift(1,o):(a.write_shift(1,128+(127&o)),a.write_shift(1,o>>7));for(var s=0;4!=s;++s){if(!(r>=128)){a.write_shift(1,r);break}a.write_shift(1,128+(127&r)),r>>=7}r>0&&Ft(n)&&e.push(n)}}function on(e,t,n){var r=Ue(e);if(t.s?(r.cRel&&(r.c+=t.s.c),r.rRel&&(r.r+=t.s.r)):(r.cRel&&(r.c+=t.c),r.rRel&&(r.r+=t.r)),!n||n.biff<12){for(;r.c>=256;)r.c-=256;for(;r.r>=65536;)r.r-=65536}return r}function an(e,t,n){var r=Ue(e);return r.s=on(r.s,t.s,n),r.e=on(r.e,t.s,n),r}function sn(e,t){if(e.cRel&&e.c<0)for(e=Ue(e);e.c<0;)e.c+=t>8?16384:256;if(e.rRel&&e.r<0)for(e=Ue(e);e.r<0;)e.r+=t>8?1048576:t>5?65536:16384;var n=pn(e);return e.cRel||null==e.cRel||(n=n.replace(/^([A-Z])/,"$$$1")),e.rRel||null==e.rRel||(n=function(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}(n)),n}function ln(e,t){return 0!=e.s.r||e.s.rRel||e.e.r!=(t.biff>=12?1048575:t.biff>=8?65536:16384)||e.e.rRel?0!=e.s.c||e.s.cRel||e.e.c!=(t.biff>=12?16383:255)||e.e.cRel?sn(e.s,t.biff)+":"+sn(e.e,t.biff):(e.s.rRel?"":"$")+un(e.s.r)+":"+(e.e.rRel?"":"$")+un(e.e.r):(e.s.cRel?"":"$")+hn(e.s.c)+":"+(e.e.cRel?"":"$")+hn(e.e.c)}function cn(e){return parseInt(e.replace(/\$(\d+)$/,"$1"),10)-1}function un(e){return""+(e+1)}function fn(e){for(var t=e.replace(/^\$([A-Z])/,"$1"),n=0,r=0;r!==t.length;++r)n=26*n+t.charCodeAt(r)-64;return n-1}function hn(e){if(e<0)throw new Error("invalid column "+e);var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function dn(e){for(var t=0,n=0,r=0;r=48&&i<=57?t=10*t+(i-48):i>=65&&i<=90&&(n=26*n+(i-64))}return{c:n-1,r:t-1}}function pn(e){for(var t=e.c+1,n="";t;t=(t-1)/26|0)n=String.fromCharCode((t-1)%26+65)+n;return n+(e.r+1)}function mn(e){var t=e.indexOf(":");return-1==t?{s:dn(e),e:dn(e)}:{s:dn(e.slice(0,t)),e:dn(e.slice(t+1))}}function gn(e,t){return"undefined"===typeof t||"number"===typeof t?gn(e.s,e.e):("string"!==typeof e&&(e=pn(e)),"string"!==typeof t&&(t=pn(t)),e==t?e:e+":"+t)}function vn(e){var t={s:{c:0,r:0},e:{c:0,r:0}},n=0,r=0,i=0,o=e.length;for(n=0;r26);++r)n=26*n+i;for(t.s.c=--n,n=0;r9);++r)n=10*n+i;if(t.s.r=--n,r===o||10!=i)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++r,n=0;r!=o&&!((i=e.charCodeAt(r)-64)<1||i>26);++r)n=26*n+i;for(t.e.c=--n,n=0;r!=o&&!((i=e.charCodeAt(r)-48)<0||i>9);++r)n=10*n+i;return t.e.r=--n,t}function bn(e,t){var n="d"==e.t&&t instanceof Date;if(null!=e.z)try{return e.w=ge(e.z,n?Pe(t):t)}catch(r){}try{return e.w=ge((e.XF||{}).numFmtId||(n?14:0),n?Pe(t):t)}catch(r){return""+t}}function yn(e,t,n){return null==e||null==e.t||"z"==e.t?"":void 0!==e.w?e.w:("d"==e.t&&!e.z&&n&&n.dateNF&&(e.z=n.dateNF),"e"==e.t?tr[e.v]||e.v:bn(e,void 0==t?e.v:t))}function wn(e,t){var n=t&&t.sheet?t.sheet:"Sheet1",r={};return r[n]=e,{SheetNames:[n],Sheets:r}}function xn(e,t,n){var r=n||{},i=e?Array.isArray(e):r.dense;null!=m&&null==i&&(i=m);var o=e||(i?[]:{}),a=0,s=0;if(o&&null!=r.origin){if("number"==typeof r.origin)a=r.origin;else{var l="string"==typeof r.origin?dn(r.origin):r.origin;a=l.r,s=l.c}o["!ref"]||(o["!ref"]="A1:A1")}var c={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(o["!ref"]){var u=vn(o["!ref"]);c.s.c=u.s.c,c.s.r=u.s.r,c.e.c=Math.max(c.e.c,u.e.c),c.e.r=Math.max(c.e.r,u.e.r),-1==a&&(c.e.r=a=u.e.r+1)}for(var f=0;f!=t.length;++f)if(t[f]){if(!Array.isArray(t[f]))throw new Error("aoa_to_sheet expects an array of arrays");for(var h=0;h!=t[f].length;++h)if("undefined"!==typeof t[f][h]){var d={v:t[f][h]},p=a+f,g=s+h;if(c.s.r>p&&(c.s.r=p),c.s.c>g&&(c.s.c=g),c.e.r0&&t.write_shift(0,e,"dbcs"),n?t.slice(0,t.l):t}function kn(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function On(e,t){var n=e.l,r=e.read_shift(1),i=En(e),o=[],a={t:i,h:i};if(0!==(1&r)){for(var s=e.read_shift(4),l=0;l!=s;++l)o.push(kn(e));a.r=o}else a.r=[{ich:0,ifnt:0}];return e.l=n+t,a}var Cn=On;function An(e,t){var n=!1;return null==t&&(n=!0,t=tn(23+4*e.t.length)),t.write_shift(1,1),Tn(e.t,t),t.write_shift(4,1),function(e,t){t||(t=tn(4)),t.write_shift(2,e.ich||0),t.write_shift(2,e.ifnt||0)}({ich:0,ifnt:0},t),n?t.slice(0,t.l):t}function Mn(e){var t=e.read_shift(4),n=e.read_shift(2);return n+=e.read_shift(1)<<16,e.l++,{c:t,iStyleRef:n}}function Pn(e,t){return null==t&&(t=tn(8)),t.write_shift(-4,e.c),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}function Rn(e){var t=e.read_shift(2);return t+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:t}}function Dn(e,t){return null==t&&(t=tn(4)),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}var Nn=En,In=Tn;function Ln(e){var t=e.read_shift(4);return 0===t||4294967295===t?"":e.read_shift(t,"dbcs")}function jn(e,t){var n=!1;return null==t&&(n=!0,t=tn(127)),t.write_shift(4,e.length>0?e.length:4294967295),e.length>0&&t.write_shift(0,e,"dbcs"),n?t.slice(0,t.l):t}var Bn=En,Fn=Ln,zn=jn;function Un(e){var t=e.slice(e.l,e.l+4),n=1&t[0],r=2&t[0];e.l+=4;var i=0===r?Bt([0,0,0,0,252&t[0],t[1],t[2],t[3]],0):Gt(t,0)>>2;return n?i/100:i}function Wn(e,t){null==t&&(t=tn(4));var n=0,r=0,i=100*e;if(e==(0|e)&&e>=-(1<<29)&&e<1<<29?r=1:i==(0|i)&&i>=-(1<<29)&&i<1<<29&&(r=1,n=1),!r)throw new Error("unsupported RkNumber "+e);t.write_shift(-4,((n?i:e)<<2)+(n+2))}function Hn(e){var t={s:{},e:{}};return t.s.r=e.read_shift(4),t.e.r=e.read_shift(4),t.s.c=e.read_shift(4),t.e.c=e.read_shift(4),t}var Yn=Hn,Gn=function(e,t){return t||(t=tn(16)),t.write_shift(4,e.s.r),t.write_shift(4,e.e.r),t.write_shift(4,e.s.c),t.write_shift(4,e.e.c),t};function Vn(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function Xn(e,t){return(t||tn(8)).write_shift(8,e,"f")}function qn(e,t){if(t||(t=tn(8)),!e||e.auto)return t.write_shift(4,0),t.write_shift(4,0),t;null!=e.index?(t.write_shift(1,2),t.write_shift(1,e.index)):null!=e.theme?(t.write_shift(1,6),t.write_shift(1,e.theme)):(t.write_shift(1,5),t.write_shift(1,0));var n=e.tint||0;if(n>0?n*=32767:n<0&&(n*=32768),t.write_shift(2,n),e.rgb&&null==e.theme){var r=e.rgb||"FFFFFF";"number"==typeof r&&(r=("000000"+r.toString(16)).slice(-6)),t.write_shift(1,parseInt(r.slice(0,2),16)),t.write_shift(1,parseInt(r.slice(2,4),16)),t.write_shift(1,parseInt(r.slice(4,6),16)),t.write_shift(1,255)}else t.write_shift(2,0),t.write_shift(1,0),t.write_shift(1,0);return t}var Kn=2,$n=3,Zn={1:{n:"CodePage",t:Kn},2:{n:"Category",t:80},3:{n:"PresentationFormat",t:80},4:{n:"ByteCount",t:$n},5:{n:"LineCount",t:$n},6:{n:"ParagraphCount",t:$n},7:{n:"SlideCount",t:$n},8:{n:"NoteCount",t:$n},9:{n:"HiddenCount",t:$n},10:{n:"MultimediaClipCount",t:$n},11:{n:"ScaleCrop",t:11},12:{n:"HeadingPairs",t:4108},13:{n:"TitlesOfParts",t:4126},14:{n:"Manager",t:80},15:{n:"Company",t:80},16:{n:"LinksUpToDate",t:11},17:{n:"CharacterCount",t:$n},19:{n:"SharedDoc",t:11},22:{n:"HyperlinksChanged",t:11},23:{n:"AppVersion",t:$n,p:"version"},24:{n:"DigSig",t:65},26:{n:"ContentType",t:80},27:{n:"ContentStatus",t:80},28:{n:"Language",t:80},29:{n:"Version",t:80},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},Jn={1:{n:"CodePage",t:Kn},2:{n:"Title",t:80},3:{n:"Subject",t:80},4:{n:"Author",t:80},5:{n:"Keywords",t:80},6:{n:"Comments",t:80},7:{n:"Template",t:80},8:{n:"LastAuthor",t:80},9:{n:"RevNumber",t:80},10:{n:"EditTime",t:64},11:{n:"LastPrinted",t:64},12:{n:"CreatedDate",t:64},13:{n:"ModifiedDate",t:64},14:{n:"PageCount",t:$n},15:{n:"WordCount",t:$n},16:{n:"CharCount",t:$n},17:{n:"Thumbnail",t:71},18:{n:"Application",t:80},19:{n:"DocSecurity",t:$n},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}};function Qn(e){return e.map(function(e){return[e>>16&255,e>>8&255,255&e]})}var er=Ue(Qn([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])),tr={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},nr={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},rr={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function ir(e,t){var n,r=function(e){for(var t=[],n=ke(e),r=0;r!==n.length;++r)null==t[e[n[r]]]&&(t[e[n[r]]]=[]),t[e[n[r]]].push(n[r]);return t}(nr),i=[];i[i.length]=qe,i[i.length]=pt("Types",null,{xmlns:gt.CT,"xmlns:xsd":gt.xsd,"xmlns:xsi":gt.xsi}),i=i.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map(function(e){return pt("Default",null,{Extension:e[0],ContentType:e[1]})}));var o=function(r){e[r]&&e[r].length>0&&(n=e[r][0],i[i.length]=pt("Override",null,{PartName:("/"==n[0]?"":"/")+n,ContentType:rr[r][t.bookType]||rr[r].xlsx}))},a=function(n){(e[n]||[]).forEach(function(e){i[i.length]=pt("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:rr[n][t.bookType]||rr[n].xlsx})})},s=function(t){(e[t]||[]).forEach(function(e){i[i.length]=pt("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:r[t][0]})})};return o("workbooks"),a("sheets"),a("charts"),s("themes"),["strs","styles"].forEach(o),["coreprops","extprops","custprops"].forEach(s),s("vba"),s("comments"),s("threadedcomments"),s("drawings"),a("metadata"),s("people"),i.length>2&&(i[i.length]="",i[1]=i[1].replace("/>",">")),i.join("")}var or={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function ar(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function sr(e){var t=[qe,pt("Relationships",null,{xmlns:gt.RELS})];return ke(e["!id"]).forEach(function(n){t[t.length]=pt("Relationship",null,e["!id"][n])}),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function lr(e,t,n,r,i,o){if(i||(i={}),e["!id"]||(e["!id"]={}),e["!idx"]||(e["!idx"]=1),t<0)for(t=e["!idx"];e["!id"]["rId"+t];++t);if(e["!idx"]=t+1,i.Id="rId"+t,i.Type=r,i.Target=n,o?i.TargetMode=o:[or.HLINK,or.XPATH,or.XMISS].indexOf(i.Type)>-1&&(i.TargetMode="External"),e["!id"][i.Id])throw new Error("Cannot rewrite rId "+t);return e["!id"][i.Id]=i,e[("/"+i.Target).replace("//","/")]=i,t}function cr(e,t,n){return[' \n',' \n'," \n"].join("")}function ur(){return'SheetJS '+r.version+""}var fr=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]];function hr(e,t,n,r,i){null==i[e]&&null!=t&&""!==t&&(i[e]=t,t=Qe(t),r[r.length]=n?pt(e,t,n):ht(e,t))}function dr(e,t){var n=t||{},r=[qe,pt("cp:coreProperties",null,{"xmlns:cp":gt.CORE_PROPS,"xmlns:dc":gt.dc,"xmlns:dcterms":gt.dcterms,"xmlns:dcmitype":gt.dcmitype,"xmlns:xsi":gt.xsi})],i={};if(!e&&!n.Props)return r.join("");e&&(null!=e.CreatedDate&&hr("dcterms:created","string"===typeof e.CreatedDate?e.CreatedDate:mt(e.CreatedDate,n.WTF),{"xsi:type":"dcterms:W3CDTF"},r,i),null!=e.ModifiedDate&&hr("dcterms:modified","string"===typeof e.ModifiedDate?e.ModifiedDate:mt(e.ModifiedDate,n.WTF),{"xsi:type":"dcterms:W3CDTF"},r,i));for(var o=0;o!=fr.length;++o){var a=fr[o],s=n.Props&&null!=n.Props[a[1]]?n.Props[a[1]]:e?e[a[1]]:null;!0===s?s="1":!1===s?s="0":"number"==typeof s&&(s=String(s)),null!=s&&hr(a[0],s,null,r,i)}return r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}var pr=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]],mr=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function gr(e){var t=[],n=pt;return e||(e={}),e.Application="SheetJS",t[t.length]=qe,t[t.length]=pt("Properties",null,{xmlns:gt.EXT_PROPS,"xmlns:vt":gt.vt}),pr.forEach(function(r){if(void 0!==e[r[1]]){var i;switch(r[2]){case"string":i=Qe(String(e[r[1]]));break;case"bool":i=e[r[1]]?"true":"false"}void 0!==i&&(t[t.length]=n(r[0],i))}}),t[t.length]=n("HeadingPairs",n("vt:vector",n("vt:variant","Worksheets")+n("vt:variant",n("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"})),t[t.length]=n("TitlesOfParts",n("vt:vector",e.SheetNames.map(function(e){return""+Qe(e)+""}).join(""),{size:e.Worksheets,baseType:"lpstr"})),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function vr(e){var t=[qe,pt("Properties",null,{xmlns:gt.CUST_PROPS,"xmlns:vt":gt.vt})];if(!e)return t.join("");var n=1;return ke(e).forEach(function(r){++n,t[t.length]=pt("property",function(e,t){switch(typeof e){case"string":var n=pt("vt:lpwstr",Qe(e));return t&&(n=n.replace(/"/g,"_x0022_")),n;case"number":return pt((0|e)==e?"vt:i4":"vt:r8",Qe(String(e)));case"boolean":return pt("vt:bool",e?"true":"false")}if(e instanceof Date)return pt("vt:filetime",mt(e));throw new Error("Unable to serialize "+e)}(e[r],!0),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:n,name:Qe(r)})}),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}var br={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"};function yr(e,t){var n=tn(4),r=tn(4);switch(n.write_shift(4,80==e?31:e),e){case 3:r.write_shift(-4,t);break;case 5:(r=tn(8)).write_shift(8,t,"f");break;case 11:r.write_shift(4,t?1:0);break;case 64:r=function(e){var t=("string"==typeof e?new Date(Date.parse(e)):e).getTime()/1e3+11644473600,n=t%Math.pow(2,32),r=(t-n)/Math.pow(2,32);r*=1e7;var i=(n*=1e7)/Math.pow(2,32)|0;i>0&&(n%=Math.pow(2,32),r+=i);var o=tn(8);return o.write_shift(4,n),o.write_shift(4,r),o}(t);break;case 31:case 80:for((r=tn(4+2*(t.length+1)+(t.length%2?0:2))).write_shift(4,t.length+1),r.write_shift(0,t,"dbcs");r.l!=r.length;)r.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+t)}return O([n,r])}var wr=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function xr(e){switch(typeof e){case"boolean":return 11;case"number":return(0|e)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64}return-1}function Sr(e,t,n){var r=tn(8),i=[],o=[],a=8,s=0,l=tn(8),c=tn(8);if(l.write_shift(4,2),l.write_shift(4,1200),c.write_shift(4,1),o.push(l),i.push(c),a+=8+l.length,!t){(c=tn(8)).write_shift(4,0),i.unshift(c);var u=[tn(4)];for(u[0].write_shift(4,e.length),s=0;s-1||mr.indexOf(e[s][0])>-1)&&null!=e[s][1]){var h=e[s][1],d=0;if(t){var p=n[d=+t[e[s][0]]];if("version"==p.p&&"string"==typeof h){var m=h.split(".");h=(+m[0]<<16)+(+m[1]||0)}l=yr(p.t,h)}else{var g=xr(h);-1==g&&(g=31,h=String(h)),l=yr(g,h)}o.push(l),(c=tn(8)).write_shift(4,t?d:2+s),i.push(c),a+=8+l.length}var v=8*(o.length+1);for(s=0;s=12?2:1),o="sbcs-cont",a=i;(n&&n.biff>=8&&(i=1200),n&&8!=n.biff)?12==n.biff&&(o="wstr"):e.read_shift(1)&&(o="dbcs-cont");n.biff>=2&&n.biff<=5&&(o="cpstr");var s=r?e.read_shift(r,o):"";return i=a,s}function Mr(e){var t=e.t||"",n=tn(3);n.write_shift(2,t.length),n.write_shift(1,1);var r=tn(2*t.length);return r.write_shift(2*t.length,t,"utf16le"),O([n,r])}function Pr(e,t,n){if(n){if(n.biff>=2&&n.biff<=5)return e.read_shift(t,"cpstr");if(n.biff>=12)return e.read_shift(t,"dbcs-cont")}return 0===e.read_shift(1)?e.read_shift(t,"sbcs-cont"):e.read_shift(t,"dbcs-cont")}function Rr(e,t,n){var r=e.read_shift(n&&2==n.biff?1:2);return 0===r?(e.l++,""):Pr(e,r,n)}function Dr(e,t,n){if(n.biff>5)return Rr(e,0,n);var r=e.read_shift(1);return 0===r?(e.l++,""):e.read_shift(r,n.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function Nr(e,t,n){return n||(n=tn(3+2*e.length)),n.write_shift(2,e.length),n.write_shift(1,1),n.write_shift(31,e,"utf16le"),n}function Ir(e,t){t||(t=tn(6+2*e.length)),t.write_shift(4,1+e.length);for(var n=0;n-1?31:23;switch(r.charAt(0)){case"#":o=28;break;case".":o&=-3}t.write_shift(4,2),t.write_shift(4,o);var a=[8,6815827,6619237,4849780,83];for(n=0;n-1?r.slice(0,i):r;for(t.write_shift(4,2*(s.length+1)),n=0;n-1?r.slice(i+1):"",t)}else{for(a="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),n=0;n8?4:2;return[e.read_shift(r),e.read_shift(r,"i"),e.read_shift(r,"i")]}function Fr(e){var t=e.read_shift(2),n=e.read_shift(2);return{s:{c:e.read_shift(2),r:t},e:{c:e.read_shift(2),r:n}}}function zr(e,t){return t||(t=tn(8)),t.write_shift(2,e.s.r),t.write_shift(2,e.e.r),t.write_shift(2,e.s.c),t.write_shift(2,e.e.c),t}function Ur(e,t,n){var r=1536,i=16;switch(n.bookType){case"biff8":break;case"biff5":r=1280,i=8;break;case"biff4":r=4,i=6;break;case"biff3":r=3,i=6;break;case"biff2":r=2,i=4;break;case"xla":break;default:throw new Error("unsupported BIFF version")}var o=tn(i);return o.write_shift(2,r),o.write_shift(2,t),i>4&&o.write_shift(2,29282),i>6&&o.write_shift(2,1997),i>8&&(o.write_shift(2,49161),o.write_shift(2,1),o.write_shift(2,1798),o.write_shift(2,0)),o}function Wr(e,t){var n=!t||t.biff>=8?2:1,r=tn(8+n*e.name.length);r.write_shift(4,e.pos),r.write_shift(1,e.hs||0),r.write_shift(1,e.dt),r.write_shift(1,e.name.length),t.biff>=8&&r.write_shift(1,1),r.write_shift(n*e.name.length,e.name,t.biff<8?"sbcs":"utf16le");var i=r.slice(0,r.l);return i.l=r.l,i}function Hr(e,t,n,r){var i=n&&5==n.biff;r||(r=tn(i?3+t.length:5+2*t.length)),r.write_shift(2,e),r.write_shift(i?1:2,t.length),i||r.write_shift(1,1),r.write_shift((i?1:2)*t.length,t,i?"sbcs":"utf16le");var o=r.length>r.l?r.slice(0,r.l):r;return null==o.l&&(o.l=o.length),o}function Yr(e,t,n,r){var i=n&&5==n.biff;r||(r=tn(i?16:20)),r.write_shift(2,0),e.style?(r.write_shift(2,e.numFmtId||0),r.write_shift(2,65524)):(r.write_shift(2,e.numFmtId||0),r.write_shift(2,t<<4));var o=0;return e.numFmtId>0&&i&&(o|=1024),r.write_shift(4,o),r.write_shift(4,0),i||r.write_shift(4,0),r.write_shift(2,0),r}function Gr(e,t,n){if(n.biff<8)return function(e,t,n){3==e[e.l+1]&&e[e.l]++;var r=Ar(e,0,n);return 3==r.charCodeAt(0)?r.slice(1):r}(e,0,n);for(var r=[],i=e.l+t,o=e.read_shift(n.biff>8?4:2);0!==o--;)r.push(Br(e,n.biff,n));if(e.l!=i)throw new Error("Bad ExternSheet: "+e.l+" != "+i);return r}function Vr(e){var t=tn(24),n=dn(e[0]);t.write_shift(2,n.r),t.write_shift(2,n.r),t.write_shift(2,n.c),t.write_shift(2,n.c);for(var r="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),i=0;i<16;++i)t.write_shift(1,parseInt(r[i],16));return O([t,Lr(e[1])])}function Xr(e){var t=e[1].Tooltip,n=tn(10+2*(t.length+1));n.write_shift(2,2048);var r=dn(e[0]);n.write_shift(2,r.r),n.write_shift(2,r.r),n.write_shift(2,r.c),n.write_shift(2,r.c);for(var i=0;i=12?4:2,i=e.read_shift(r),o=e.read_shift(r),a=e.read_shift(r),s=e.read_shift(r),l=e.read_shift(2);2==r&&(e.l+=2);var c={s:i,e:o,w:a,ixfe:s,flags:l};return(n.biff>=5||!n.biff)&&(c.level=l>>8&7),c}var Kr=function(){var e={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,108:863,134:737,135:852,136:857,204:1257,255:16969},t=Ce({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127});function n(t,n){var r=n||{};r.dateNF||(r.dateNF="yyyymmdd");var i=Sn(function(t,n){var r=[],i=S(1);switch(n.type){case"base64":i=E(y(t));break;case"binary":i=E(t);break;case"buffer":case"array":i=t}Qt(i,0);var o=i.read_shift(1),a=!!(136&o),s=!1,l=!1;switch(o){case 2:case 3:break;case 48:case 49:s=!0,a=!0;break;case 131:case 139:break;case 140:l=!0;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+o.toString(16))}var c=0,u=521;2==o&&(c=i.read_shift(2)),i.l+=3,2!=o&&(c=i.read_shift(4)),c>1048576&&(c=1e6),2!=o&&(u=i.read_shift(2));var f=i.read_shift(2),d=n.codepage||1252;2!=o&&(i.l+=16,i.read_shift(1),0!==i[i.l]&&(d=e[i[i.l]]),i.l+=1,i.l+=2),l&&(i.l+=36);for(var p=[],m={},g=Math.min(i.length,2==o?521:u-10-(s?264:0)),v=l?32:11;i.l0;)if(42!==i[i.l])for(++i.l,r[++b]=[],w=0,w=0;w!=p.length;++w){var x=i.slice(i.l,i.l+p[w].len);i.l+=p[w].len,Qt(x,0);var _=h.utils.decode(d,x);switch(p[w].type){case"C":_.trim().length&&(r[b][w]=_.replace(/\s+$/,""));break;case"D":8===_.length?r[b][w]=new Date(+_.slice(0,4),+_.slice(4,6)-1,+_.slice(6,8)):r[b][w]=_;break;case"F":r[b][w]=parseFloat(_.trim());break;case"+":case"I":r[b][w]=l?2147483648^x.read_shift(-4,"i"):x.read_shift(4,"i");break;case"L":switch(_.trim().toUpperCase()){case"Y":case"T":r[b][w]=!0;break;case"N":case"F":r[b][w]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+_+"|")}break;case"M":if(!a)throw new Error("DBF Unexpected MEMO for type "+o.toString(16));r[b][w]="##MEMO##"+(l?parseInt(_.trim(),10):x.read_shift(4));break;case"N":(_=_.replace(/\u0000/g,"").trim())&&"."!=_&&(r[b][w]=+_||0);break;case"@":r[b][w]=new Date(x.read_shift(-8,"f")-621356832e5);break;case"T":r[b][w]=new Date(864e5*(x.read_shift(4)-2440588)+x.read_shift(4));break;case"Y":r[b][w]=x.read_shift(4,"i")/1e4+x.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":r[b][w]=-x.read_shift(-8,"f");break;case"B":if(s&&8==p[w].len){r[b][w]=x.read_shift(8,"f");break}case"G":case"P":x.l+=p[w].len;break;case"0":if("_NullFlags"===p[w].name)break;default:throw new Error("DBF Unsupported data type "+p[w].type)}}else i.l+=f;if(2!=o&&i.l=0&&c(+i.codepage),"string"==i.type)throw new Error("Cannot write DBF to JS string");var a=nn(),s=hs(e,{header:1,raw:!0,cellDates:!0}),l=s[0],u=s.slice(1),f=e["!cols"]||[],h=0,d=0,p=0,m=1;for(h=0;h250&&(S=250),"C"==(x=((f[h]||{}).DBF||{}).type)&&f[h].DBF.len>S&&(S=f[h].DBF.len),"B"==w&&"N"==x&&(w="N",y[h]=f[h].DBF.dec,S=f[h].DBF.len),b[h]="C"==w||"N"==x?S:r[w]||0,m+=b[h],v[h]=w}else v[h]="?"}var E=a.next(32);for(E.write_shift(4,318902576),E.write_shift(4,u.length),E.write_shift(2,296+32*p),E.write_shift(2,m),h=0;h<4;++h)E.write_shift(4,0);for(E.write_shift(4,0|(+t[o]||3)<<8),h=0,d=0;h":190,"?":191,"{":223},t=new RegExp("\x1bN("+ke(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),n=function(t,n){var r=e[n];return"number"==typeof r?p(r):r},r=function(e,t,n){var r=t.charCodeAt(0)-32<<4|n.charCodeAt(0)-48;return 59==r?e:p(r)};function i(e,i){var o,a=e.split(/[\n\r]+/),s=-1,l=-1,u=0,f=0,d=[],p=[],m=null,g={},v=[],b=[],y=[],w=0;for(+i.codepage>=0&&c(+i.codepage);u!==a.length;++u){w=0;var x,S=a[u].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,r).replace(t,n),_=S.replace(/;;/g,"\0").split(";").map(function(e){return e.replace(/\u0000/g,";")}),E=_[0];if(S.length>0)switch(E){case"ID":case"E":case"B":case"O":case"W":break;case"P":"P"==_[1].charAt(0)&&p.push(S.slice(3).replace(/;;/g,";"));break;case"C":var T=!1,k=!1,O=!1,C=!1,A=-1,M=-1;for(f=1;f<_.length;++f)switch(_[f].charAt(0)){case"A":break;case"X":l=parseInt(_[f].slice(1))-1,k=!0;break;case"Y":for(s=parseInt(_[f].slice(1))-1,k||(l=0),o=d.length;o<=s;++o)d[o]=[];break;case"K":'"'===(x=_[f].slice(1)).charAt(0)?x=x.slice(1,x.length-1):"TRUE"===x?x=!0:"FALSE"===x?x=!1:isNaN(He(x))?isNaN(Ge(x).getDate())||(x=Fe(x)):(x=He(x),null!==m&&he(m)&&(x=Ie(x))),"undefined"!==typeof h&&"string"==typeof x&&"string"!=(i||{}).type&&(i||{}).codepage&&(x=h.utils.decode(i.codepage,x)),T=!0;break;case"E":C=!0;var P=Wi(_[f].slice(1),{r:s,c:l});d[s][l]=[d[s][l],P];break;case"S":O=!0,d[s][l]=[d[s][l],"S5S"];break;case"G":break;case"R":A=parseInt(_[f].slice(1))-1;break;case"C":M=parseInt(_[f].slice(1))-1;break;default:if(i&&i.WTF)throw new Error("SYLK bad record "+S)}if(T&&(d[s][l]&&2==d[s][l].length?d[s][l][0]=x:d[s][l]=x,m=null),O){if(C)throw new Error("SYLK shared formula cannot have own formula");var R=A>-1&&d[A][M];if(!R||!R[1])throw new Error("SYLK shared formula cannot find base");d[s][l][1]=Gi(R[1],{r:s-A,c:l-M})}break;case"F":var D=0;for(f=1;f<_.length;++f)switch(_[f].charAt(0)){case"X":l=parseInt(_[f].slice(1))-1,++D;break;case"Y":for(s=parseInt(_[f].slice(1))-1,o=d.length;o<=s;++o)d[o]=[];break;case"M":w=parseInt(_[f].slice(1))/20;break;case"F":case"G":break;case"P":m=p[parseInt(_[f].slice(1))];break;case"S":case"D":case"N":break;case"W":for(y=_[f].slice(1).split(" "),o=parseInt(y[0],10);o<=parseInt(y[1],10);++o)w=parseInt(y[2],10),b[o-1]=0===w?{hidden:!0}:{wch:w},pi(b[o-1]);break;case"C":b[l=parseInt(_[f].slice(1))-1]||(b[l]={});break;case"R":v[s=parseInt(_[f].slice(1))-1]||(v[s]={}),w>0?(v[s].hpt=w,v[s].hpx=vi(w)):0===w&&(v[s].hidden=!0);break;default:if(i&&i.WTF)throw new Error("SYLK bad record "+S)}D<1&&(m=null);break;default:if(i&&i.WTF)throw new Error("SYLK bad record "+S)}}return v.length>0&&(g["!rows"]=v),b.length>0&&(g["!cols"]=b),i&&i.sheetRows&&(d=d.slice(0,i.sheetRows)),[d,g]}function o(e,t){var n=function(e,t){switch(t.type){case"base64":return i(y(e),t);case"binary":return i(e,t);case"buffer":return i(w&&Buffer.isBuffer(e)?e.toString("binary"):k(e),t);case"array":return i(ze(e),t)}throw new Error("Unrecognized type "+t.type)}(e,t),r=n[0],o=n[1],a=Sn(r,t);return ke(o).forEach(function(e){a[e]=o[e]}),a}function a(e,t,n,r){var i="C;Y"+(n+1)+";X"+(r+1)+";K";switch(e.t){case"n":i+=e.v||0,e.f&&!e.F&&(i+=";E"+Yi(e.f,{r:n,c:r}));break;case"b":i+=e.v?"TRUE":"FALSE";break;case"e":i+=e.w||e.v;break;case"d":i+='"'+(e.w||e.v)+'"';break;case"s":i+='"'+e.v.replace(/"/g,"").replace(/;/g,";;")+'"'}return i}return e["|"]=254,{to_workbook:function(e,t){return wn(o(e,t),t)},to_sheet:o,from_sheet:function(e,t){var n,r,i=["ID;PWXL;N;E"],o=[],s=vn(e["!ref"]),l=Array.isArray(e),c="\r\n";i.push("P;PGeneral"),i.push("F;P0;DG0G8;M255"),e["!cols"]&&(r=i,e["!cols"].forEach(function(e,t){var n="F;W"+(t+1)+" "+(t+1)+" ";e.hidden?n+="0":("number"!=typeof e.width||e.wpx||(e.wpx=fi(e.width)),"number"!=typeof e.wpx||e.wch||(e.wch=hi(e.wpx)),"number"==typeof e.wch&&(n+=Math.round(e.wch)))," "!=n.charAt(n.length-1)&&r.push(n)})),e["!rows"]&&function(e,t){t.forEach(function(t,n){var r="F;";t.hidden?r+="M0;":t.hpt?r+="M"+20*t.hpt+";":t.hpx&&(r+="M"+20*gi(t.hpx)+";"),r.length>2&&e.push(r+"R"+(n+1))})}(i,e["!rows"]),i.push("B;Y"+(s.e.r-s.s.r+1)+";X"+(s.e.c-s.s.c+1)+";D"+[s.s.c,s.s.r,s.e.c,s.e.r].join(" "));for(var u=s.s.r;u<=s.e.r;++u)for(var f=s.s.c;f<=s.e.c;++f){var h=pn({r:u,c:f});(n=l?(e[u]||[])[f]:e[h])&&(null!=n.v||n.f&&!n.F)&&o.push(a(n,0,u,f))}return i.join(c)+c+o.join(c)+c+"E"+c}}}(),Zr=function(){function e(e,t){for(var n=e.split("\n"),r=-1,i=-1,o=0,a=[];o!==n.length;++o)if("BOT"!==n[o].trim()){if(!(r<0)){for(var s=n[o].trim().split(","),l=s[0],c=s[1],u=n[++o]||"";1&(u.match(/["]/g)||[]).length&&o=0?s=c:i=c}}),l>=0&&-1==s&&i>=0&&(s=i,i=-1);var c=(""+(r>=0?r:(new Date).getFullYear())).slice(-4)+"-"+("00"+(i>=1?i:1)).slice(-2)+"-"+("00"+(o>=1?o:1)).slice(-2);7==c.length&&(c="0"+c),8==c.length&&(c="20"+c);var u=("00"+(a>=0?a:0)).slice(-2)+":"+("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(l>=0?l:0)).slice(-2);return-1==a&&-1==s&&-1==l?c:-1==r&&-1==i&&-1==o?u:c+"T"+u}(0,n.dateNF,t.match(v)||[]),i=1),n.cellDates?(r.t="d",r.v=Fe(t,i)):(r.t="n",r.v=Pe(Fe(t,i))),!1!==n.cellText&&(r.w=ge(r.z,r.v instanceof Date?Pe(r.v):r.v)),n.cellNF||delete r.z}else r.t="s",r.v=t;else r.t="n",!1!==n.cellText&&(r.w=t),r.v=c;if("z"==r.t||(n.dense?(o[s]||(o[s]=[]),o[s][l]=r):o[pn({c:l,r:s})]=r),u=f+1,g=e.charCodeAt(u),a.e.c0&&b(),o["!ref"]=gn(a),o}function o(t,n){return n&&n.PRN?n.FS?i(t,n):"sep="==t.slice(0,4)?i(t,n):t.indexOf("\t")>=0||t.indexOf(",")>=0||t.indexOf(";")>=0?i(t,n):Sn(function(t,n){var r=n||{},i=[];if(!t||0===t.length)return i;for(var o=t.split(/[\r\n]/),a=o.length-1;a>=0&&0===o[a].length;)--a;for(var s=10,l=0,c=0;c<=a;++c)-1==(l=o[c].indexOf(" "))?l=o[c].length:l++,s=Math.max(s,l);for(c=0;c<=a;++c){i[c]=[];var u=0;for(e(o[c].slice(0,s).trim(),i,c,u,r),u=1;u<=(o[c].length-s)/10+1;++u)e(o[c].slice(s+10*(u-1),s+10*u).trim(),i,c,u,r)}return r.sheetRows&&(i=i.slice(0,r.sheetRows)),i}(t,n),n):i(t,n)}function a(e,t){var n="",r="string"==t.type?[0,0,0,0]:os(e,t);switch(t.type){case"base64":n=y(e);break;case"binary":n=e;break;case"buffer":n=65001==t.codepage?e.toString("utf8"):t.codepage&&"undefined"!==typeof h?h.utils.decode(t.codepage,e):w&&Buffer.isBuffer(e)?e.toString("binary"):k(e);break;case"array":n=ze(e);break;case"string":n=e;break;default:throw new Error("Unrecognized type "+t.type)}return 239==r[0]&&187==r[1]&&191==r[2]?n=lt(n.slice(3)):"string"!=t.type&&"buffer"!=t.type&&65001==t.codepage?n=lt(n):"binary"==t.type&&"undefined"!==typeof h&&t.codepage&&(n=h.utils.decode(t.codepage,h.utils.encode(28591,n))),"socialcalc:version:"==n.slice(0,19)?Jr.to_sheet("string"==t.type?n:lt(n),t):o(n,t)}return{to_workbook:function(e,t){return wn(a(e,t),t)},to_sheet:a,from_sheet:function(e){for(var t,n=[],r=vn(e["!ref"]),i=Array.isArray(e),o=r.s.r;o<=r.e.r;++o){for(var a=[],s=r.s.c;s<=r.e.c;++s){var l=pn({r:o,c:s});if((t=i?(e[o]||[])[s]:e[l])&&null!=t.v){for(var c=(t.w||(yn(t),t.w)||"").slice(0,10);c.length<10;)c+=" ";a.push(c+(0===s?" ":""))}else a.push(" ")}n.push(a.join(""))}return n.join("\n")}}}();var ei=function(){function e(e,t,n){if(e){Qt(e,e.l||0);for(var r=n.Enum||w;e.l=16&&5==t[14]&&108===t[15])throw new Error("Unsupported Works 3 for Mac file");if(2==t[2])r.Enum=w,e(t,function(e,t,n){switch(n){case 0:r.vers=e,e>=4096&&(r.qpro=!0);break;case 6:f=e;break;case 204:e&&(a=e);break;case 222:a=e;break;case 15:case 51:r.qpro||(e[1].v=e[1].v.slice(1));case 13:case 14:case 16:14==n&&112==(112&e[2])&&(15&e[2])>1&&(15&e[2])<15&&(e[1].z=r.dateNF||F[14],r.cellDates&&(e[1].t="d",e[1].v=Ie(e[1].v))),r.qpro&&e[3]>s&&(i["!ref"]=gn(f),l[o]=i,c.push(o),i=r.dense?[]:{},f={s:{r:0,c:0},e:{r:0,c:0}},s=e[3],o=a||"Sheet"+(s+1),a="");var u=r.dense?(i[e[0].r]||[])[e[0].c]:i[pn(e[0])];if(u){u.t=e[1].t,u.v=e[1].v,null!=e[1].z&&(u.z=e[1].z),null!=e[1].f&&(u.f=e[1].f);break}r.dense?(i[e[0].r]||(i[e[0].r]=[]),i[e[0].r][e[0].c]=e[1]):i[pn(e[0])]=e[1]}},r);else{if(26!=t[2]&&14!=t[2])throw new Error("Unrecognized LOTUS BOF "+t[2]);r.Enum=x,14==t[2]&&(r.qpro=!0,t.l=0),e(t,function(e,t,n){switch(n){case 204:o=e;break;case 22:e[1].v=e[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(e[3]>s&&(i["!ref"]=gn(f),l[o]=i,c.push(o),i=r.dense?[]:{},f={s:{r:0,c:0},e:{r:0,c:0}},s=e[3],o="Sheet"+(s+1)),h>0&&e[0].r>=h)break;r.dense?(i[e[0].r]||(i[e[0].r]=[]),i[e[0].r][e[0].c]=e[1]):i[pn(e[0])]=e[1],f.e.c=128?95:o)}return r.write_shift(1,0),r}function o(e,t,n){var r=tn(7);return r.write_shift(1,255),r.write_shift(2,t),r.write_shift(2,e),r.write_shift(2,n,"i"),r}function a(e,t,n){var r=tn(13);return r.write_shift(1,255),r.write_shift(2,t),r.write_shift(2,e),r.write_shift(8,n,"f"),r}function s(e,t,n){var r=32768&t;return t=(r?e:0)+((t&=-32769)>=8192?t-16384:t),(r?"":"$")+(n?hn(t):un(t))}var l={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},u=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function f(e){var t=[{c:0,r:0},{t:"n",v:0},0];return t[0].r=e.read_shift(2),t[3]=e[e.l++],t[0].c=e[e.l++],t}function h(e,t,n,r){var i=tn(6+r.length);i.write_shift(2,e),i.write_shift(1,n),i.write_shift(1,t),i.write_shift(1,39);for(var o=0;o=128?95:a)}return i.write_shift(1,0),i}function d(e,t){var n=f(e),r=e.read_shift(4),i=e.read_shift(4),o=e.read_shift(2);if(65535==o)return 0===r&&3221225472===i?(n[1].t="e",n[1].v=15):0===r&&3489660928===i?(n[1].t="e",n[1].v=42):n[1].v=0,n;var a=32768&o;return o=(32767&o)-16446,n[1].v=(1-2*a)*(i*Math.pow(2,o+32)+r*Math.pow(2,o)),n}function p(e,t,n,r){var i=tn(14);if(i.write_shift(2,e),i.write_shift(1,n),i.write_shift(1,t),0==r)return i.write_shift(4,0),i.write_shift(4,0),i.write_shift(2,65535),i;var o,a=0,s=0,l=0;return r<0&&(a=1,r=-r),s=0|Math.log2(r),0==(2147483648&(l=(r/=Math.pow(2,s-31))>>>0))&&(++s,l=(r/=2)>>>0),r-=l,l|=2147483648,l>>>=0,o=(r*=Math.pow(2,32))>>>0,i.write_shift(4,o),i.write_shift(4,l),s+=16383+(a?32768:0),i.write_shift(2,s),i}function g(e,t){var n=f(e),r=e.read_shift(8,"f");return n[1].v=r,n}function v(e,t){return 0==e[e.l+t-1]?e.read_shift(t,"cstr"):""}function b(e,t){var n=tn(5+e.length);n.write_shift(2,14e3),n.write_shift(2,t);for(var r=0;r127?95:i}return n[n.l++]=0,n}var w={0:{n:"BOF",f:kr},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:function(e,t,n){var r={s:{c:0,r:0},e:{c:0,r:0}};return 8==t&&n.qpro?(r.s.c=e.read_shift(1),e.l++,r.s.r=e.read_shift(2),r.e.c=e.read_shift(1),e.l++,r.e.r=e.read_shift(2),r):(r.s.c=e.read_shift(2),r.s.r=e.read_shift(2),12==t&&n.qpro&&(e.l+=2),r.e.c=e.read_shift(2),r.e.r=e.read_shift(2),12==t&&n.qpro&&(e.l+=2),65535==r.s.c&&(r.s.c=r.e.c=r.s.r=r.e.r=0),r)}},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:function(e,t,r){var i=n(e,0,r);return i[1].v=e.read_shift(2,"i"),i}},14:{n:"NUMBER",f:function(e,t,r){var i=n(e,0,r);return i[1].v=e.read_shift(8,"f"),i}},15:{n:"LABEL",f:r},16:{n:"FORMULA",f:function(e,t,r){var i=e.l+t,o=n(e,0,r);if(o[1].v=e.read_shift(8,"f"),r.qpro)e.l=i;else{var a=e.read_shift(2);!function(e,t){Qt(e,0);for(var n=[],r=0,i="",o="",a="",c="";e.ln.length)return void console.error("WK1 bad formula parse 0x"+f.toString(16)+":|"+n.join("|")+"|");var m=n.slice(-r);n.length-=r,n.push(l[f][0]+"("+m.join(",")+")")}}}1==n.length?t[1].f=""+n[0]:console.error("WK1 bad formula parse |"+n.join("|")+"|")}(e.slice(e.l,e.l+a),o),e.l+=a}return o}},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:r},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:v},222:{n:"SHEETNAMELP",f:function(e,t){var n=e[e.l++];n>t-1&&(n=t-1);for(var r="";r.length>1;if(1&n[1].v)switch(7&r){case 0:r=5e3*(r>>3);break;case 1:r=500*(r>>3);break;case 2:r=(r>>3)/20;break;case 3:r=(r>>3)/200;break;case 4:r=(r>>3)/2e3;break;case 5:r=(r>>3)/2e4;break;case 6:r=(r>>3)/16;break;case 7:r=(r>>3)/64}return n[1].v=r,n}},25:{n:"FORMULA19",f:function(e,t){var n=d(e);return e.l+=t-14,n}},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:function(e,t){for(var n={},r=e.l+t;e.l>6,n}},38:{n:"??"},39:{n:"NUMBER27",f:g},40:{n:"FORMULA28",f:function(e,t){var n=g(e);return e.l+=t-10,n}},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:v},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:function(e,t,n){if(n.qpro&&!(t<21)){var r=e.read_shift(1);return e.l+=17,e.l+=1,e.l+=2,[r,e.read_shift(t-21,"cstr")]}}},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:function(e,t){var n=t||{};if(+n.codepage>=0&&c(+n.codepage),"string"==n.type)throw new Error("Cannot write WK1 to JS string");var r=nn(),s=vn(e["!ref"]),l=Array.isArray(e),u=[];va(r,0,function(e){var t=tn(2);return t.write_shift(2,e),t}(1030)),va(r,6,function(e){var t=tn(8);return t.write_shift(2,e.s.c),t.write_shift(2,e.s.r),t.write_shift(2,e.e.c),t.write_shift(2,e.e.r),t}(s));for(var f=Math.min(s.e.r,8191),h=s.s.r;h<=f;++h)for(var d=un(h),p=s.s.c;p<=s.e.c;++p){h===s.s.r&&(u[p]=hn(p));var m=u[p]+d,g=l?(e[h]||[])[p]:e[m];g&&"z"!=g.t&&("n"==g.t?(0|g.v)==g.v&&g.v>=-32768&&g.v<=32767?va(r,13,o(h,p,g.v)):va(r,14,a(h,p,g.v)):va(r,15,i(h,p,yn(g).slice(0,239))))}return va(r,1),r.end()},book_to_wk3:function(e,t){var n=t||{};if(+n.codepage>=0&&c(+n.codepage),"string"==n.type)throw new Error("Cannot write WK3 to JS string");var r=nn();va(r,0,function(e){var t=tn(26);t.write_shift(2,4096),t.write_shift(2,4),t.write_shift(4,0);for(var n=0,r=0,i=0,o=0;o8191&&(n=8191),t.write_shift(2,n),t.write_shift(1,i),t.write_shift(1,r),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(1,1),t.write_shift(1,2),t.write_shift(4,0),t.write_shift(4,0),t}(e));for(var i=0,o=0;i";i.r?o+=i.r:(o+=""),o+="",n[n.length]=o}return n.length>2&&(n[n.length]="",n[1]=n[1].replace("/>",">")),n.join("")}var ri=function(e,t){var n=!1;return null==t&&(n=!0,t=tn(15+4*e.t.length)),t.write_shift(1,0),Tn(e.t,t),n?t.slice(0,t.l):t};function ii(e){var t=nn();rn(t,159,function(e,t){return t||(t=tn(8)),t.write_shift(4,e.Count),t.write_shift(4,e.Unique),t}(e));for(var n=0;n=0;--n)r=((0===(16384&r)?0:1)|r<<1&32767)^t[n];return 52811^r}var si=function(){function e(e,n){switch(n.type){case"base64":return t(y(e),n);case"binary":return t(e,n);case"buffer":return t(w&&Buffer.isBuffer(e)?e.toString("binary"):k(e),n);case"array":return t(ze(e),n)}throw new Error("Unrecognized type "+n.type)}function t(e,t){var n=(t||{}).dense?[]:{},r=e.match(/\\trowd.*?\\row\b/g);if(!r.length)throw new Error("RTF missing table");var i={s:{c:0,r:0},e:{c:0,r:r.length-1}};return r.forEach(function(e,t){Array.isArray(n)&&(n[t]=[]);for(var r,o=/\\\w+\b/g,a=0,s=-1;r=o.exec(e);){switch(r[0]){case"\\cell":var l=e.slice(a,o.lastIndex-r[0].length);if(" "==l[0]&&(l=l.slice(1)),++s,l.length){var c={v:l,t:"s"};Array.isArray(n)?n[t][s]=c:n[pn({r:t,c:s})]=c}}a=o.lastIndex}s>i.e.c&&(i.e.c=s)}),n["!ref"]=gn(i),n}return{to_workbook:function(t,n){return wn(e(t,n),n)},to_sheet:e,from_sheet:function(e){for(var t,n=["{\\rtf1\\ansi"],r=vn(e["!ref"]),i=Array.isArray(e),o=r.s.r;o<=r.e.r;++o){n.push("\\trowd\\trautofit1");for(var a=r.s.c;a<=r.e.c;++a)n.push("\\cellx"+(a+1));for(n.push("\\pard\\intbl"),a=r.s.c;a<=r.e.c;++a){var s=pn({r:o,c:a});(t=i?(e[o]||[])[a]:e[s])&&(null!=t.v||t.f&&!t.F)&&(n.push(" "+(t.w||(yn(t),t.w))),n.push("\\cell"))}n.push("\\pard\\intbl\\row")}return n.join("")+"}"}}}();function li(e){for(var t=0,n=1;3!=t;++t)n=256*n+(e[t]>255?255:e[t]<0?0:e[t]);return n.toString(16).toUpperCase().slice(1)}var ci=6,ui=ci;function fi(e){return Math.floor((e+Math.round(128/ui)/256)*ui)}function hi(e){return Math.floor((e-5)/ui*100+.5)/100}function di(e){return Math.round((e*ui+5)/ui*256)/256}function pi(e){e.width?(e.wpx=fi(e.width),e.wch=hi(e.wpx),e.MDW=ui):e.wpx?(e.wch=hi(e.wpx),e.width=di(e.wch),e.MDW=ui):"number"==typeof e.wch&&(e.width=di(e.wch),e.wpx=fi(e.width),e.MDW=ui),e.customWidth&&delete e.customWidth}var mi=96;function gi(e){return 96*e/mi}function vi(e){return e*mi/96}function bi(e,t){var n,r=[qe,pt("styleSheet",null,{xmlns:vt[0],"xmlns:vt":gt.vt})];return e.SSF&&null!=(n=function(e){var t=[""];return[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var r=n[0];r<=n[1];++r)null!=e[r]&&(t[t.length]=pt("numFmt",null,{numFmtId:r,formatCode:Qe(e[r])}))}),1===t.length?"":(t[t.length]="",t[0]=pt("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}(e.SSF))&&(r[r.length]=n),r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',(n=function(e){var t=[];return t[t.length]=pt("cellXfs",null),e.forEach(function(e){t[t.length]=pt("xf",null,e)}),t[t.length]="",2===t.length?"":(t[0]=pt("cellXfs",null,{count:t.length-2}).replace("/>",">"),t.join(""))}(t.cellXfs))&&(r[r.length]=n),r[r.length]='',r[r.length]='',r[r.length]='',r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}function yi(e,t,n){n||(n=tn(6+4*t.length)),n.write_shift(2,e),Tn(t,n);var r=n.length>n.l?n.slice(0,n.l):n;return null==n.l&&(n.l=n.length),r}function wi(e,t){t||(t=tn(153)),t.write_shift(2,20*e.sz),function(e,t){t||(t=tn(2));var n=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);t.write_shift(1,n),t.write_shift(1,0)}(e,t),t.write_shift(2,e.bold?700:400);var n=0;"superscript"==e.vertAlign?n=1:"subscript"==e.vertAlign&&(n=2),t.write_shift(2,n),t.write_shift(1,e.underline||0),t.write_shift(1,e.family||0),t.write_shift(1,e.charset||0),t.write_shift(1,0),qn(e.color,t);var r=0;return"major"==e.scheme&&(r=1),"minor"==e.scheme&&(r=2),t.write_shift(1,r),Tn(e.name,t),t.length>t.l?t.slice(0,t.l):t}var xi,Si=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],_i=en;function Ei(e,t){t||(t=tn(84)),xi||(xi=Ce(Si));var n=xi[e.patternType];null==n&&(n=40),t.write_shift(4,n);var r=0;if(40!=n)for(qn({auto:1},t),qn({auto:1},t);r<12;++r)t.write_shift(4,0);else{for(;r<4;++r)t.write_shift(4,0);for(;r<12;++r)t.write_shift(4,0)}return t.length>t.l?t.slice(0,t.l):t}function Ti(e,t,n){n||(n=tn(16)),n.write_shift(2,t||0),n.write_shift(2,e.numFmtId||0),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(1,0),n.write_shift(1,0);return n.write_shift(1,0),n.write_shift(1,0),n.write_shift(1,0),n.write_shift(1,0),n}function ki(e,t){return t||(t=tn(10)),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(4,0),t.write_shift(4,0),t}var Oi=en;function Ci(e){var t;rn(e,613,_n(1)),rn(e,46,(t||(t=tn(51)),t.write_shift(1,0),ki(0,t),ki(0,t),ki(0,t),ki(0,t),ki(0,t),t.length>t.l?t.slice(0,t.l):t)),rn(e,614)}function Ai(e){var t,n;rn(e,619,_n(1)),rn(e,48,(t={xfId:0,builtinId:0,name:"Normal"},n||(n=tn(52)),n.write_shift(4,t.xfId),n.write_shift(2,1),n.write_shift(1,+t.builtinId),n.write_shift(1,0),jn(t.name||"",n),n.length>n.l?n.slice(0,n.l):n)),rn(e,620)}function Mi(e){rn(e,508,function(e,t,n){var r=tn(2052);return r.write_shift(4,e),jn(t,r),jn(n,r),r.length>r.l?r.slice(0,r.l):r}(0,"TableStyleMedium9","PivotStyleMedium4")),rn(e,509)}function Pi(e,t){var n=nn();return rn(n,278),function(e,t){if(t){var n=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(e){for(var r=e[0];r<=e[1];++r)null!=t[r]&&++n}),0!=n&&(rn(e,615,_n(n)),[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var r=n[0];r<=n[1];++r)null!=t[r]&&rn(e,44,yi(r,t[r]))}),rn(e,616))}}(n,e.SSF),function(e){rn(e,611,_n(1)),rn(e,43,wi({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),rn(e,612)}(n),function(e){rn(e,603,_n(2)),rn(e,45,Ei({patternType:"none"})),rn(e,45,Ei({patternType:"gray125"})),rn(e,604)}(n),Ci(n),function(e){rn(e,626,_n(1)),rn(e,47,Ti({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),rn(e,627)}(n),function(e,t){rn(e,617,_n(t.length)),t.forEach(function(t){rn(e,47,Ti(t,0))}),rn(e,618)}(n,t.cellXfs),Ai(n),function(e){rn(e,505,_n(0)),rn(e,506)}(n),Mi(n),rn(n,279),n.end()}function Ri(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&"string"==typeof e.raw)return e.raw;var n=[qe];return n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n.join("")}function Di(){var e=nn();return rn(e,332),rn(e,334,_n(1)),rn(e,335,function(e){var t=tn(12+2*e.name.length);return t.write_shift(4,e.flags),t.write_shift(4,e.version),Tn(e.name,t),t.slice(0,t.l)}({name:"XLDAPR",version:12e4,flags:3496657072})),rn(e,336),rn(e,339,function(e,t){var n=tn(8+2*t.length);return n.write_shift(4,e),Tn(t,n),n.slice(0,n.l)}(1,"XLDAPR")),rn(e,52),rn(e,35,_n(514)),rn(e,4096,_n(0)),rn(e,4097,Or(1)),rn(e,36),rn(e,53),rn(e,340),rn(e,337,function(e,t){var n=tn(8);return n.write_shift(4,e),n.write_shift(4,t?1:0),n}(1,!0)),rn(e,51,function(e){var t=tn(4+8*e.length);t.write_shift(4,e.length);for(var n=0;n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n'),e.join("")}var Ii=1024;function Li(e,t){for(var n=[21600,21600],r=["m0,0l0",n[1],n[0],n[1],n[0],"0xe"].join(","),i=[pt("xml",null,{"xmlns:v":bt.v,"xmlns:o":bt.o,"xmlns:x":bt.x,"xmlns:mv":bt.mv}).replace(/\/>/,">"),pt("o:shapelayout",pt("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),pt("v:shapetype",[pt("v:stroke",null,{joinstyle:"miter"}),pt("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:n.join(","),path:r})];Ii<1e3*e;)Ii+=1e3;return t.forEach(function(e){var t=dn(e[0]),n={color2:"#BEFF82",type:"gradient"};"gradient"==n.type&&(n.angle="-180");var r="gradient"==n.type?pt("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,o=pt("v:fill",r,n);++Ii,i=i.concat(["",o,pt("v:shadow",null,{on:"t",obscured:"t"}),pt("v:path",null,{"o:connecttype":"none"}),'
','',"","",ht("x:Anchor",[t.c+1,0,t.r+1,0,t.c+3,20,t.r+5,20].join(",")),ht("x:AutoFill","False"),ht("x:Row",String(t.r)),ht("x:Column",String(t.c)),e[1].hidden?"":"","",""])}),i.push(""),i.join("")}function ji(e){var t=[qe,pt("comments",null,{xmlns:vt[0]})],n=[];return t.push(""),e.forEach(function(e){e[1].forEach(function(e){var r=Qe(e.a);-1==n.indexOf(r)&&(n.push(r),t.push(""+r+"")),e.T&&e.ID&&-1==n.indexOf("tc="+e.ID)&&(n.push("tc="+e.ID),t.push("tc="+e.ID+""))})}),0==n.length&&(n.push("SheetJ5"),t.push("SheetJ5")),t.push(""),t.push(""),e.forEach(function(e){var r=0,i=[];if(e[1][0]&&e[1][0].T&&e[1][0].ID?r=n.indexOf("tc="+e[1][0].ID):e[1].forEach(function(e){e.a&&(r=n.indexOf(Qe(e.a))),i.push(e.t||"")}),t.push(''),i.length<=1)t.push(ht("t",Qe(i[0]||"")));else{for(var o="Comment:\n "+i[0]+"\n",a=1;a")}),t.push(""),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function Bi(e,t,n){var r=[qe,pt("ThreadedComments",null,{xmlns:gt.TCMNT}).replace(/[\/]>/,">")];return e.forEach(function(e){var i="";(e[1]||[]).forEach(function(o,a){if(o.T){o.a&&-1==t.indexOf(o.a)&&t.push(o.a);var s={ref:e[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+n.tcid++).slice(-12)+"}"};0==a?i=s.id:s.parentId=i,o.ID=s.id,o.a&&(s.personId="{54EE7950-7262-4200-6969-"+("000000000000"+t.indexOf(o.a)).slice(-12)+"}"),r.push(pt("threadedComment",ht("text",o.t||""),s))}else delete o.ID})}),r.push(""),r.join("")}var Fi=En;function zi(e){var t=nn(),n=[];return rn(t,628),rn(t,630),e.forEach(function(e){e[1].forEach(function(e){n.indexOf(e.a)>-1||(n.push(e.a.slice(0,54)),rn(t,632,Tn(e.a.slice(0,54))))})}),rn(t,631),rn(t,633),e.forEach(function(e){e[1].forEach(function(r){r.iauthor=n.indexOf(r.a);var i,o,a={s:dn(e[0]),e:dn(e[0])};rn(t,635,(i=[a,r],null==o&&(o=tn(36)),o.write_shift(4,i[1].iauthor),Gn(i[0],o),o.write_shift(4,0),o.write_shift(4,0),o.write_shift(4,0),o.write_shift(4,0),o)),r.t&&r.t.length>0&&rn(t,637,An(r)),rn(t,636),delete r.iauthor})}),rn(t,634),rn(t,629),t.end()}var Ui=["xlsb","xlsm","xlam","biff8","xla"];var Wi=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,t={r:0,c:0};function n(e,n,r,i){var o=!1,a=!1;0==r.length?a=!0:"["==r.charAt(0)&&(a=!0,r=r.slice(1,-1)),0==i.length?o=!0:"["==i.charAt(0)&&(o=!0,i=i.slice(1,-1));var s=r.length>0?0|parseInt(r,10):0,l=i.length>0?0|parseInt(i,10):0;return o?l+=t.c:--l,a?s+=t.r:--s,n+(o?"":"$")+hn(l)+(a?"":"$")+un(s)}return function(r,i){return t=i,r.replace(e,n)}}(),Hi=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,Yi=function(){return function(e,t){return e.replace(Hi,function(e,n,r,i,o,a){var s=fn(i)-(r?0:t.c),l=cn(a)-(o?0:t.r);return n+"R"+(0==l?"":o?l+1:"["+l+"]")+"C"+(0==s?"":r?s+1:"["+s+"]")})}}();function Gi(e,t){return e.replace(Hi,function(e,n,r,i,o,a){return n+("$"==r?r+i:hn(fn(i)+t.c))+("$"==o?o+a:un(cn(a)+t.r))})}function Vi(e){e.l+=1}function Xi(e,t){var n=e.read_shift(1==t?1:2);return[16383&n,n>>14&1,n>>15&1]}function qi(e,t,n){var r=2;if(n){if(n.biff>=2&&n.biff<=5)return Ki(e);12==n.biff&&(r=4)}var i=e.read_shift(r),o=e.read_shift(r),a=Xi(e,2),s=Xi(e,2);return{s:{r:i,c:a[0],cRel:a[1],rRel:a[2]},e:{r:o,c:s[0],cRel:s[1],rRel:s[2]}}}function Ki(e){var t=Xi(e,2),n=Xi(e,2),r=e.read_shift(1),i=e.read_shift(1);return{s:{r:t[0],c:r,cRel:t[1],rRel:t[2]},e:{r:n[0],c:i,cRel:n[1],rRel:n[2]}}}function $i(e,t,n){if(n&&n.biff>=2&&n.biff<=5)return function(e){var t=Xi(e,2),n=e.read_shift(1);return{r:t[0],c:n,cRel:t[1],rRel:t[2]}}(e);var r=e.read_shift(n&&12==n.biff?4:2),i=Xi(e,2);return{r:r,c:i[0],cRel:i[1],rRel:i[2]}}function Zi(e){var t=e.read_shift(2),n=e.read_shift(2);return{r:t,c:255&n,fQuoted:!!(16384&n),cRel:n>>15,rRel:n>>15}}function Ji(e){var t=1&e[e.l+1];return e.l+=4,[t,1]}function Qi(e){return[e.read_shift(1),e.read_shift(1)]}function eo(e,t){var n=[e.read_shift(1)];if(12==t)switch(n[0]){case 2:n[0]=4;break;case 4:n[0]=16;break;case 0:n[0]=1;break;case 1:n[0]=2}switch(n[0]){case 4:n[1]=Er(e,1)?"TRUE":"FALSE",12!=t&&(e.l+=7);break;case 37:case 16:n[1]=tr[e[e.l]],e.l+=12==t?4:8;break;case 0:e.l+=8;break;case 1:n[1]=Vn(e);break;case 2:n[1]=Dr(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+n[0])}return n}function to(e,t,n){for(var r=e.read_shift(12==n.biff?4:2),i=[],o=0;o!=r;++o)i.push((12==n.biff?Yn:Fr)(e,8));return i}function no(e,t,n){var r=0,i=0;12==n.biff?(r=e.read_shift(4),i=e.read_shift(4)):(i=1+e.read_shift(1),r=1+e.read_shift(2)),n.biff>=2&&n.biff<8&&(--r,0==--i&&(i=256));for(var o=0,a=[];o!=r&&(a[o]=[]);++o)for(var s=0;s!=i;++s)a[o][s]=eo(e,n.biff);return a}function ro(e,t,n){return e.l+=2,[Zi(e)]}function io(e){return e.l+=6,[]}function oo(e){return e.l+=2,[kr(e),1&e.read_shift(2)]}var ao=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];var so={1:{n:"PtgExp",f:function(e,t,n){return e.l++,n&&12==n.biff?[e.read_shift(4,"i"),0]:[e.read_shift(2),e.read_shift(n&&2==n.biff?1:2)]}},2:{n:"PtgTbl",f:en},3:{n:"PtgAdd",f:Vi},4:{n:"PtgSub",f:Vi},5:{n:"PtgMul",f:Vi},6:{n:"PtgDiv",f:Vi},7:{n:"PtgPower",f:Vi},8:{n:"PtgConcat",f:Vi},9:{n:"PtgLt",f:Vi},10:{n:"PtgLe",f:Vi},11:{n:"PtgEq",f:Vi},12:{n:"PtgGe",f:Vi},13:{n:"PtgGt",f:Vi},14:{n:"PtgNe",f:Vi},15:{n:"PtgIsect",f:Vi},16:{n:"PtgUnion",f:Vi},17:{n:"PtgRange",f:Vi},18:{n:"PtgUplus",f:Vi},19:{n:"PtgUminus",f:Vi},20:{n:"PtgPercent",f:Vi},21:{n:"PtgParen",f:Vi},22:{n:"PtgMissArg",f:Vi},23:{n:"PtgStr",f:function(e,t,n){return e.l++,Ar(e,0,n)}},26:{n:"PtgSheet",f:function(e,t,n){return e.l+=5,e.l+=2,e.l+=2==n.biff?1:4,["PTGSHEET"]}},27:{n:"PtgEndSheet",f:function(e,t,n){return e.l+=2==n.biff?4:5,["PTGENDSHEET"]}},28:{n:"PtgErr",f:function(e){return e.l++,tr[e.read_shift(1)]}},29:{n:"PtgBool",f:function(e){return e.l++,0!==e.read_shift(1)}},30:{n:"PtgInt",f:function(e){return e.l++,e.read_shift(2)}},31:{n:"PtgNum",f:function(e){return e.l++,Vn(e)}},32:{n:"PtgArray",f:function(e,t,n){var r=(96&e[e.l++])>>5;return e.l+=2==n.biff?6:12==n.biff?14:7,[r]}},33:{n:"PtgFunc",f:function(e,t,n){var r=(96&e[e.l])>>5;e.l+=1;var i=e.read_shift(n&&n.biff<=3?1:2);return[Oo[i],ko[i],r]}},34:{n:"PtgFuncVar",f:function(e,t,n){var r=e[e.l++],i=e.read_shift(1),o=n&&n.biff<=3?[88==r?-1:0,e.read_shift(1)]:function(e){return[e[e.l+1]>>7,32767&e.read_shift(2)]}(e);return[i,(0===o[0]?ko:To)[o[1]]]}},35:{n:"PtgName",f:function(e,t,n){var r=e.read_shift(1)>>>5&3,i=!n||n.biff>=8?4:2,o=e.read_shift(i);switch(n.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12}return[r,0,o]}},36:{n:"PtgRef",f:function(e,t,n){var r=(96&e[e.l])>>5;return e.l+=1,[r,$i(e,0,n)]}},37:{n:"PtgArea",f:function(e,t,n){return[(96&e[e.l++])>>5,qi(e,n.biff>=2&&n.biff,n)]}},38:{n:"PtgMemArea",f:function(e,t,n){var r=e.read_shift(1)>>>5&3;return e.l+=n&&2==n.biff?3:4,[r,e.read_shift(n&&2==n.biff?1:2)]}},39:{n:"PtgMemErr",f:en},40:{n:"PtgMemNoMem",f:en},41:{n:"PtgMemFunc",f:function(e,t,n){return[e.read_shift(1)>>>5&3,e.read_shift(n&&2==n.biff?1:2)]}},42:{n:"PtgRefErr",f:function(e,t,n){var r=e.read_shift(1)>>>5&3;return e.l+=4,n.biff<8&&e.l--,12==n.biff&&(e.l+=2),[r]}},43:{n:"PtgAreaErr",f:function(e,t,n){var r=(96&e[e.l++])>>5;return e.l+=n&&n.biff>8?12:n.biff<8?6:8,[r]}},44:{n:"PtgRefN",f:function(e,t,n){var r=(96&e[e.l])>>5;return e.l+=1,[r,function(e,t,n){var r=n&&n.biff?n.biff:8;if(r>=2&&r<=5)return function(e){var t=e.read_shift(2),n=e.read_shift(1),r=(32768&t)>>15,i=(16384&t)>>14;return t&=16383,1==r&&t>=8192&&(t-=16384),1==i&&n>=128&&(n-=256),{r:t,c:n,cRel:i,rRel:r}}(e);var i=e.read_shift(r>=12?4:2),o=e.read_shift(2),a=(16384&o)>>14,s=(32768&o)>>15;if(o&=16383,1==s)for(;i>524287;)i-=1048576;if(1==a)for(;o>8191;)o-=16384;return{r:i,c:o,cRel:a,rRel:s}}(e,0,n)]}},45:{n:"PtgAreaN",f:function(e,t,n){return[(96&e[e.l++])>>5,function(e,t,n){if(n.biff<8)return Ki(e);var r=e.read_shift(12==n.biff?4:2),i=e.read_shift(12==n.biff?4:2),o=Xi(e,2),a=Xi(e,2);return{s:{r:r,c:o[0],cRel:o[1],rRel:o[2]},e:{r:i,c:a[0],cRel:a[1],rRel:a[2]}}}(e,0,n)]}},46:{n:"PtgMemAreaN",f:function(e){return[e.read_shift(1)>>>5&3,e.read_shift(2)]}},47:{n:"PtgMemNoMemN",f:function(e){return[e.read_shift(1)>>>5&3,e.read_shift(2)]}},57:{n:"PtgNameX",f:function(e,t,n){return 5==n.biff?function(e){var t=e.read_shift(1)>>>5&3,n=e.read_shift(2,"i");e.l+=8;var r=e.read_shift(2);return e.l+=12,[t,n,r]}(e):[e.read_shift(1)>>>5&3,e.read_shift(2),e.read_shift(4)]}},58:{n:"PtgRef3d",f:function(e,t,n){var r=(96&e[e.l])>>5;e.l+=1;var i=e.read_shift(2);return n&&5==n.biff&&(e.l+=12),[r,i,$i(e,0,n)]}},59:{n:"PtgArea3d",f:function(e,t,n){var r=(96&e[e.l++])>>5,i=e.read_shift(2,"i");if(n)switch(n.biff){case 5:e.l+=12}return[r,i,qi(e,0,n)]}},60:{n:"PtgRefErr3d",f:function(e,t,n){var r=(96&e[e.l++])>>5,i=e.read_shift(2),o=4;if(n)switch(n.biff){case 5:o=15;break;case 12:o=6}return e.l+=o,[r,i]}},61:{n:"PtgAreaErr3d",f:function(e,t,n){var r=(96&e[e.l++])>>5,i=e.read_shift(2),o=8;if(n)switch(n.biff){case 5:e.l+=12,o=6;break;case 12:o=12}return e.l+=o,[r,i]}},255:{}},lo={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},co={1:{n:"PtgElfLel",f:oo},2:{n:"PtgElfRw",f:ro},3:{n:"PtgElfCol",f:ro},6:{n:"PtgElfRwV",f:ro},7:{n:"PtgElfColV",f:ro},10:{n:"PtgElfRadical",f:ro},11:{n:"PtgElfRadicalS",f:io},13:{n:"PtgElfColS",f:io},15:{n:"PtgElfColSV",f:io},16:{n:"PtgElfRadicalLel",f:oo},25:{n:"PtgList",f:function(e){e.l+=2;var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(4),i=e.read_shift(2),o=e.read_shift(2);return{ixti:t,coltype:3&n,rt:ao[n>>2&31],idx:r,c:i,C:o}}},29:{n:"PtgSxName",f:function(e){return e.l+=2,[e.read_shift(4)]}},255:{}},uo={0:{n:"PtgAttrNoop",f:function(e){return e.l+=4,[0,0]}},1:{n:"PtgAttrSemi",f:function(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=n&&2==n.biff?3:4,[r]}},2:{n:"PtgAttrIf",f:function(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=2,[r,e.read_shift(n&&2==n.biff?1:2)]}},4:{n:"PtgAttrChoose",f:function(e,t,n){e.l+=2;for(var r=e.read_shift(n&&2==n.biff?1:2),i=[],o=0;o<=r;++o)i.push(e.read_shift(n&&2==n.biff?1:2));return i}},8:{n:"PtgAttrGoto",f:function(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=2,[r,e.read_shift(n&&2==n.biff?1:2)]}},16:{n:"PtgAttrSum",f:function(e,t,n){e.l+=n&&2==n.biff?3:4}},32:{n:"PtgAttrBaxcel",f:Ji},33:{n:"PtgAttrBaxcel",f:Ji},64:{n:"PtgAttrSpace",f:function(e){return e.read_shift(2),Qi(e)}},65:{n:"PtgAttrSpaceSemi",f:function(e){return e.read_shift(2),Qi(e)}},128:{n:"PtgAttrIfError",f:function(e){var t=255&e[e.l+1]?1:0;return e.l+=2,[t,e.read_shift(2)]}},255:{}};function fo(e,t,n,r){if(r.biff<8)return en(e,t);for(var i=e.l+t,o=[],a=0;a!==n.length;++a)switch(n[a][0]){case"PtgArray":n[a][1]=no(e,0,r),o.push(n[a][1]);break;case"PtgMemArea":n[a][2]=to(e,n[a][1],r),o.push(n[a][2]);break;case"PtgExp":r&&12==r.biff&&(n[a][1][1]=e.read_shift(4),o.push(n[a][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+n[a][0]}return 0!==(t=i-e.l)&&o.push(en(e,t)),o}function ho(e,t,n){for(var r,i,o=e.l+t,a=[];o!=e.l;)t=o-e.l,i=e[e.l],r=so[i]||so[lo[i]],24!==i&&25!==i||(r=(24===i?co:uo)[e[e.l+1]]),r&&r.f?a.push([r.n,r.f(e,t,n)]):en(e,t);return a}function po(e){for(var t=[],n=0;n=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function go(e,t,n){if(!e)return"SH33TJSERR0";if(n.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var r=e.XTI[t];if(n.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),0==t?"":e.XTI[t-1];if(!r)return"SH33TJSERR1";var i="";if(n.biff>8)switch(e[r[0]][0]){case 357:return i=-1==r[1]?"#REF":e.SheetNames[r[1]],r[1]==r[2]?i:i+":"+e.SheetNames[r[2]];case 358:return null!=n.SID?e.SheetNames[n.SID]:"SH33TJSSAME"+e[r[0]][0];case 355:default:return"SH33TJSSRC"+e[r[0]][0]}switch(e[r[0]][0][0]){case 1025:return i=-1==r[1]?"#REF":e.SheetNames[r[1]]||"SH33TJSERR3",r[1]==r[2]?i:i+":"+e.SheetNames[r[2]];case 14849:return e[r[0]].slice(1).map(function(e){return e.Name}).join(";;");default:return e[r[0]][0][3]?(i=-1==r[1]?"#REF":e[r[0]][0][3][r[1]]||"SH33TJSERR4",r[1]==r[2]?i:i+":"+e[r[0]][0][3][r[2]]):"SH33TJSERR2"}}function vo(e,t,n){var r=go(e,t,n);return"#REF"==r?r:function(e,t){if(!e&&!(t&&t.biff<=5&&t.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e)?"'"+e+"'":e}(r,n)}function bo(e,t,n,r,i){var o,a,s,l,c=i&&i.biff||8,u={s:{c:0,r:0},e:{c:0,r:0}},f=[],h=0,d=0,p="";if(!e[0]||!e[0][0])return"";for(var m=-1,g="",v=0,b=e[0].length;v=0){switch(e[0][m][1][0]){case 0:g=We(" ",e[0][m][1][1]);break;case 1:g=We("\r",e[0][m][1][1]);break;default:if(g="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][m][1][0])}a+=g,m=-1}f.push(a+mo[y[0]]+o);break;case"PtgIsect":o=f.pop(),a=f.pop(),f.push(a+" "+o);break;case"PtgUnion":o=f.pop(),a=f.pop(),f.push(a+","+o);break;case"PtgRange":o=f.pop(),a=f.pop(),f.push(a+":"+o);break;case"PtgAttrChoose":case"PtgAttrGoto":case"PtgAttrIf":case"PtgAttrIfError":break;case"PtgRef":s=on(y[1][1],u,i),f.push(sn(s,c));break;case"PtgRefN":s=n?on(y[1][1],n,i):y[1][1],f.push(sn(s,c));break;case"PtgRef3d":h=y[1][1],s=on(y[1][2],u,i);p=vo(r,h,i);f.push(p+"!"+sn(s,c));break;case"PtgFunc":case"PtgFuncVar":var w=y[1][0],x=y[1][1];w||(w=0);var S=0==(w&=127)?[]:f.slice(-w);f.length-=w,"User"===x&&(x=S.shift()),f.push(x+"("+S.join(",")+")");break;case"PtgBool":f.push(y[1]?"TRUE":"FALSE");break;case"PtgInt":f.push(y[1]);break;case"PtgNum":f.push(String(y[1]));break;case"PtgStr":f.push('"'+y[1].replace(/"/g,'""')+'"');break;case"PtgErr":f.push(y[1]);break;case"PtgAreaN":l=an(y[1][1],n?{s:n}:u,i),f.push(ln(l,i));break;case"PtgArea":l=an(y[1][1],u,i),f.push(ln(l,i));break;case"PtgArea3d":h=y[1][1],l=y[1][2],p=vo(r,h,i),f.push(p+"!"+ln(l,i));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":d=y[1][2];var _=(r.names||[])[d-1]||(r[0]||[])[d],E=_?_.Name:"SH33TJSNAME"+String(d);E&&"_xlfn."==E.slice(0,6)&&!i.xlfn&&(E=E.slice(6)),f.push(E);break;case"PtgNameX":var T,k=y[1][1];if(d=y[1][2],!(i.biff<=5)){var O="";if(14849==((r[k]||[])[0]||[])[0]||(1025==((r[k]||[])[0]||[])[0]?r[k][d]&&r[k][d].itab>0&&(O=r.SheetNames[r[k][d].itab-1]+"!"):O=r.SheetNames[d-1]+"!"),r[k]&&r[k][d])O+=r[k][d].Name;else if(r[0]&&r[0][d])O+=r[0][d].Name;else{var C=(go(r,k,i)||"").split(";;");C[d-1]?O=C[d-1]:O+="SH33TJSERRX"}f.push(O);break}k<0&&(k=-k),r[k]&&(T=r[k][d]),T||(T={Name:"SH33TJSERRY"}),f.push(T.Name);break;case"PtgParen":var A="(",M=")";if(m>=0){switch(g="",e[0][m][1][0]){case 2:A=We(" ",e[0][m][1][1])+A;break;case 3:A=We("\r",e[0][m][1][1])+A;break;case 4:M=We(" ",e[0][m][1][1])+M;break;case 5:M=We("\r",e[0][m][1][1])+M;break;default:if(i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][m][1][0])}m=-1}f.push(A+f.pop()+M);break;case"PtgRefErr":case"PtgRefErr3d":f.push("#REF!");break;case"PtgExp":s={c:y[1][1],r:y[1][0]};var P={c:n.c,r:n.r};if(r.sharedf[pn(s)]){var R=r.sharedf[pn(s)];f.push(bo(R,u,P,r,i))}else{var D=!1;for(o=0;o!=r.arrayf.length;++o)if(a=r.arrayf[o],!(s.ca[0].e.c)&&!(s.ra[0].e.r)){f.push(bo(a[1],u,P,r,i)),D=!0;break}D||f.push(y[1])}break;case"PtgArray":f.push("{"+po(y[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":m=v;break;case"PtgTbl":case"PtgMemErr":break;case"PtgMissArg":f.push("");break;case"PtgAreaErr":case"PtgAreaErr3d":f.push("#REF!");break;case"PtgList":f.push("Table"+y[1].idx+"[#"+y[1].rt+"]");break;case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":case"PtgMemFunc":case"PtgMemNoMem":break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":default:throw new Error("Unrecognized Formula Token: "+String(y))}if(3!=i.biff&&m>=0&&-1==["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"].indexOf(e[0][v][0])){var N=!0;switch((y=e[0][m])[1][0]){case 4:N=!1;case 0:g=We(" ",y[1][1]);break;case 5:N=!1;case 1:g=We("\r",y[1][1]);break;default:if(g="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+y[1][0])}f.push((N?g:"")+f.pop()+(N?"":g)),m=-1}}if(f.length>1&&i.WTF)throw new Error("bad formula stack");return f[0]}function yo(e,t,n,r,i){var o=jr(t,n,i),a=function(e){if(null==e){var t=tn(8);return t.write_shift(1,3),t.write_shift(1,0),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,65535),t}return Xn("number"==typeof e?e:0)}(e.v),s=tn(6);s.write_shift(2,33),s.write_shift(4,0);for(var l=tn(e.bf.length),c=0;c0?fo(e,o,i,n):null]}var xo=wo,So=wo,_o=wo,Eo=wo,To={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},ko={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},Oo={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};var Co="undefined"!==typeof Map;function Ao(e,t,n){var r=0,i=e.length;if(n){if(Co?n.has(t):Object.prototype.hasOwnProperty.call(n,t))for(var o=Co?n.get(t):n[t];r-1?(n.width=di(r),n.customWidth=1):null!=t.width&&(n.width=t.width),t.hidden&&(n.hidden=!0),null!=t.level&&(n.outlineLevel=n.level=t.level),n}function Po(e,t){if(e){var n=[.7,.7,.75,.75,.3,.3];"xlml"==t&&(n=[1,1,1,1,.5,.5]),null==e.left&&(e.left=n[0]),null==e.right&&(e.right=n[1]),null==e.top&&(e.top=n[2]),null==e.bottom&&(e.bottom=n[3]),null==e.header&&(e.header=n[4]),null==e.footer&&(e.footer=n[5])}}function Ro(e,t,n){var r=n.revssf[null!=t.z?t.z:"General"],i=60,o=e.length;if(null==r&&n.ssf)for(;i<392;++i)if(null==n.ssf[i]){ve(t.z,i),n.ssf[i]=t.z,n.revssf[t.z]=r=i;break}for(i=0;i!=o;++i)if(e[i].numFmtId===r)return i;return e[o]={numFmtId:r,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},o}function Do(e,t,n){if(e&&e["!ref"]){var r=vn(e["!ref"]);if(r.e.c32767)throw new Error("Text length must not exceed 32767 characters");if(r&&r.bookSST){s=ht("v",""+Ao(r.Strings,e.v,r.revStrings)),l.t="s";break}l.t="str"}if(e.t!=o&&(e.t=o,e.v=a),"string"==typeof e.f&&e.f){var u=e.F&&e.F.slice(0,t.length)==t?{t:"array",ref:e.F}:null;s=pt("f",Qe(e.f),u)+(null!=e.v?s:"")}return e.l&&n["!links"].push([t,e.l]),e.D&&(l.cm=1),pt("c",s,l)}function jo(e,t,n,r){var i,o=[qe,pt("worksheet",null,{xmlns:vt[0],"xmlns:r":gt.r})],a=n.SheetNames[e],s="",l=n.Sheets[a];null==l&&(l={});var c=l["!ref"]||"A1",u=vn(c);if(u.e.c>16383||u.e.r>1048575){if(t.WTF)throw new Error("Range "+c+" exceeds format limit A1:XFD1048576");u.e.c=Math.min(u.e.c,16383),u.e.r=Math.min(u.e.c,1048575),c=gn(u)}r||(r={}),l["!comments"]=[];var f=[];!function(e,t,n,r,i){var o=!1,a={},s=null;if("xlsx"!==r.bookType&&t.vbaraw){var l=t.SheetNames[n];try{t.Workbook&&(l=t.Workbook.Sheets[n].CodeName||l)}catch(u){}o=!0,a.codeName=ct(Qe(l))}if(e&&e["!outline"]){var c={summaryBelow:1,summaryRight:1};e["!outline"].above&&(c.summaryBelow=0),e["!outline"].left&&(c.summaryRight=0),s=(s||"")+pt("outlinePr",null,c)}(o||s)&&(i[i.length]=pt("sheetPr",s,a))}(l,n,e,t,o),o[o.length]=pt("dimension",null,{ref:c}),o[o.length]=function(e,t,n,r){var i={workbookViewId:"0"};return(((r||{}).Workbook||{}).Views||[])[0]&&(i.rightToLeft=r.Workbook.Views[0].RTL?"1":"0"),pt("sheetViews",pt("sheetView",null,i),{})}(0,0,0,n),t.sheetFormat&&(o[o.length]=pt("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),null!=l["!cols"]&&l["!cols"].length>0&&(o[o.length]=function(e,t){for(var n,r=[""],i=0;i!=t.length;++i)(n=t[i])&&(r[r.length]=pt("col",null,Mo(i,n)));return r[r.length]="",r.join("")}(0,l["!cols"])),o[i=o.length]="",l["!links"]=[],null!=l["!ref"]&&(s=function(e,t,n,r){var i,o,a=[],s=[],l=vn(e["!ref"]),c="",u="",f=[],h=0,d=0,p=e["!rows"],m=Array.isArray(e),g={r:u},v=-1;for(d=l.s.c;d<=l.e.c;++d)f[d]=hn(d);for(h=l.s.r;h<=l.e.r;++h){for(s=[],u=un(h),d=l.s.c;d<=l.e.c;++d){i=f[d]+u;var b=m?(e[h]||[])[d]:e[i];void 0!==b&&null!=(c=Lo(b,i,e,t))&&s.push(c)}(s.length>0||p&&p[h])&&(g={r:u},p&&p[h]&&((o=p[h]).hidden&&(g.hidden=1),v=-1,o.hpx?v=gi(o.hpx):o.hpt&&(v=o.hpt),v>-1&&(g.ht=v,g.customHeight=1),o.level&&(g.outlineLevel=o.level)),a[a.length]=pt("row",s.join(""),g))}if(p)for(;h-1&&(g.ht=v,g.customHeight=1),o.level&&(g.outlineLevel=o.level),a[a.length]=pt("row","",g));return a.join("")}(l,t,0,0)).length>0&&(o[o.length]=s),o.length>i+1&&(o[o.length]="",o[i]=o[i].replace("/>",">")),l["!protect"]&&(o[o.length]=function(e){var t={sheet:1};return No.forEach(function(n){null!=e[n]&&e[n]&&(t[n]="1")}),Io.forEach(function(n){null==e[n]||e[n]||(t[n]="0")}),e.password&&(t.password=ai(e.password).toString(16).toUpperCase()),pt("sheetProtection",null,t)}(l["!protect"])),null!=l["!autofilter"]&&(o[o.length]=function(e,t,n,r){var i="string"==typeof e.ref?e.ref:gn(e.ref);n.Workbook||(n.Workbook={Sheets:[]}),n.Workbook.Names||(n.Workbook.Names=[]);var o=n.Workbook.Names,a=mn(i);a.s.r==a.e.r&&(a.e.r=mn(t["!ref"]).e.r,i=gn(a));for(var s=0;s0&&(o[o.length]=function(e){if(0===e.length)return"";for(var t='',n=0;n!=e.length;++n)t+='';return t+""}(l["!merges"]));var h,d,p=-1,m=-1;return l["!links"].length>0&&(o[o.length]="",l["!links"].forEach(function(e){e[1].Target&&(h={ref:e[0]},"#"!=e[1].Target.charAt(0)&&(m=lr(r,-1,Qe(e[1].Target).replace(/#.*$/,""),or.HLINK),h["r:id"]="rId"+m),(p=e[1].Target.indexOf("#"))>-1&&(h.location=Qe(e[1].Target.slice(p+1))),e[1].Tooltip&&(h.tooltip=Qe(e[1].Tooltip)),o[o.length]=pt("hyperlink",null,h))}),o[o.length]=""),delete l["!links"],null!=l["!margins"]&&(o[o.length]=(Po(d=l["!margins"]),pt("pageMargins",null,d))),t&&!t.ignoreEC&&void 0!=t.ignoreEC||(o[o.length]=ht("ignoredErrors",pt("ignoredError",null,{numberStoredAsText:1,sqref:c}))),f.length>0&&(m=lr(r,-1,"../drawings/drawing"+(e+1)+".xml",or.DRAW),o[o.length]=pt("drawing",null,{"r:id":"rId"+m}),l["!drawing"]=f),l["!comments"].length>0&&(m=lr(r,-1,"../drawings/vmlDrawing"+(e+1)+".vml",or.VML),o[o.length]=pt("legacyDrawing",null,{"r:id":"rId"+m}),l["!legacy"]=m),o.length>1&&(o[o.length]="",o[1]=o[1].replace("/>",">")),o.join("")}function Bo(e,t,n,r){var i=function(e,t,n){var r=tn(145),i=(n["!rows"]||[])[e]||{};r.write_shift(4,e),r.write_shift(4,0);var o=320;i.hpx?o=20*gi(i.hpx):i.hpt&&(o=20*i.hpt),r.write_shift(2,o),r.write_shift(1,0);var a=0;i.level&&(a|=i.level),i.hidden&&(a|=16),(i.hpx||i.hpt)&&(a|=32),r.write_shift(1,a),r.write_shift(1,0);var s=0,l=r.l;r.l+=4;for(var c={r:e,c:0},u=0;u<16;++u)if(!(t.s.c>u+1<<10||t.e.cr.l?r.slice(0,r.l):r}(r,n,t);(i.length>17||(t["!rows"]||[])[r])&&rn(e,0,i)}var Fo=Yn,zo=Gn;function Uo(e){return[Rn(e),Vn(e),"n"]}var Wo=Yn,Ho=Gn;var Yo=["left","right","top","bottom","header","footer"];function Go(e,t,n,r,i,o,a){if(void 0===t.v)return!1;var s="";switch(t.t){case"b":s=t.v?"1":"0";break;case"d":(t=Ue(t)).z=t.z||F[14],t.v=Pe(Fe(t.v)),t.t="n";break;case"n":case"e":s=""+t.v;break;default:s=t.v}var l={r:n,c:r};switch(l.s=Ro(i.cellXfs,t,i),t.l&&o["!links"].push([pn(l),t.l]),t.c&&o["!comments"].push([pn(l),t.c]),t.t){case"s":case"str":return i.bookSST?(s=Ao(i.Strings,t.v,i.revStrings),l.t="s",l.v=s,a?rn(e,18,function(e,t,n){return null==n&&(n=tn(8)),Dn(t,n),n.write_shift(4,t.v),n}(0,l)):rn(e,7,function(e,t,n){return null==n&&(n=tn(12)),Pn(t,n),n.write_shift(4,t.v),n}(0,l))):(l.t="str",a?rn(e,17,function(e,t,n){return null==n&&(n=tn(8+4*e.v.length)),Dn(t,n),Tn(e.v,n),n.length>n.l?n.slice(0,n.l):n}(t,l)):rn(e,6,function(e,t,n){return null==n&&(n=tn(12+4*e.v.length)),Pn(t,n),Tn(e.v,n),n.length>n.l?n.slice(0,n.l):n}(t,l))),!0;case"n":return t.v==(0|t.v)&&t.v>-1e3&&t.v<1e3?a?rn(e,13,function(e,t,n){return null==n&&(n=tn(8)),Dn(t,n),Wn(e.v,n),n}(t,l)):rn(e,2,function(e,t,n){return null==n&&(n=tn(12)),Pn(t,n),Wn(e.v,n),n}(t,l)):a?rn(e,16,function(e,t,n){return null==n&&(n=tn(12)),Dn(t,n),Xn(e.v,n),n}(t,l)):rn(e,5,function(e,t,n){return null==n&&(n=tn(16)),Pn(t,n),Xn(e.v,n),n}(t,l)),!0;case"b":return l.t="b",a?rn(e,15,function(e,t,n){return null==n&&(n=tn(5)),Dn(t,n),n.write_shift(1,e.v?1:0),n}(t,l)):rn(e,4,function(e,t,n){return null==n&&(n=tn(9)),Pn(t,n),n.write_shift(1,e.v?1:0),n}(t,l)),!0;case"e":return l.t="e",a?rn(e,14,function(e,t,n){return null==n&&(n=tn(8)),Dn(t,n),n.write_shift(1,e.v),n.write_shift(2,0),n.write_shift(1,0),n}(t,l)):rn(e,3,function(e,t,n){return null==n&&(n=tn(9)),Pn(t,n),n.write_shift(1,e.v),n}(t,l)),!0}return a?rn(e,12,function(e,t,n){return null==n&&(n=tn(4)),Dn(t,n)}(0,l)):rn(e,1,function(e,t,n){return null==n&&(n=tn(8)),Pn(t,n)}(0,l)),!0}function Vo(e,t){var n,r;t&&t["!merges"]&&(rn(e,177,(n=t["!merges"].length,null==r&&(r=tn(4)),r.write_shift(4,n),r)),t["!merges"].forEach(function(t){rn(e,176,Ho(t))}),rn(e,178))}function Xo(e,t){t&&t["!cols"]&&(rn(e,390),t["!cols"].forEach(function(t,n){t&&rn(e,60,function(e,t,n){null==n&&(n=tn(18));var r=Mo(e,t);n.write_shift(-4,e),n.write_shift(-4,e),n.write_shift(4,256*(r.width||10)),n.write_shift(4,0);var i=0;return t.hidden&&(i|=1),"number"==typeof r.width&&(i|=2),t.level&&(i|=t.level<<8),n.write_shift(2,i),n}(n,t))}),rn(e,391))}function qo(e,t){t&&t["!ref"]&&(rn(e,648),rn(e,649,function(e){var t=tn(24);return t.write_shift(4,4),t.write_shift(4,1),Gn(e,t),t}(vn(t["!ref"]))),rn(e,650))}function Ko(e,t,n){t["!links"].forEach(function(t){if(t[1].Target){var r=lr(n,-1,t[1].Target.replace(/#.*$/,""),or.HLINK);rn(e,494,function(e,t){var n=tn(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));Gn({s:dn(e[0]),e:dn(e[0])},n),zn("rId"+t,n);var r=e[1].Target.indexOf("#");return Tn((-1==r?"":e[1].Target.slice(r+1))||"",n),Tn(e[1].Tooltip||"",n),Tn("",n),n.slice(0,n.l)}(t,r))}}),delete t["!links"]}function $o(e,t,n){rn(e,133),rn(e,137,function(e,t,n){null==n&&(n=tn(30));var r=924;return(((t||{}).Views||[])[0]||{}).RTL&&(r|=32),n.write_shift(2,r),n.write_shift(4,0),n.write_shift(4,0),n.write_shift(4,0),n.write_shift(1,0),n.write_shift(1,0),n.write_shift(2,0),n.write_shift(2,100),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(4,0),n}(0,n)),rn(e,138),rn(e,134)}function Zo(e,t){var n,r;t["!protect"]&&rn(e,535,(n=t["!protect"],null==r&&(r=tn(66)),r.write_shift(2,n.password?ai(n.password):0),r.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach(function(e){e[1]?r.write_shift(4,null==n[e[0]]||n[e[0]]?0:1):r.write_shift(4,null!=n[e[0]]&&n[e[0]]?0:1)}),r))}function Jo(e,t,n,r){var i=nn(),o=n.SheetNames[e],a=n.Sheets[o]||{},s=o;try{n&&n.Workbook&&(s=n.Workbook.Sheets[e].CodeName||s)}catch(f){}var l,c,u=vn(a["!ref"]||"A1");if(u.e.c>16383||u.e.r>1048575){if(t.WTF)throw new Error("Range "+(a["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");u.e.c=Math.min(u.e.c,16383),u.e.r=Math.min(u.e.c,1048575)}return a["!links"]=[],a["!comments"]=[],rn(i,129),(n.vbaraw||a["!outline"])&&rn(i,147,function(e,t,n){null==n&&(n=tn(84+4*e.length));var r=192;t&&(t.above&&(r&=-65),t.left&&(r&=-129)),n.write_shift(1,r);for(var i=1;i<3;++i)n.write_shift(1,0);return qn({auto:1},n),n.write_shift(-4,-1),n.write_shift(-4,-1),In(e,n),n.slice(0,n.l)}(s,a["!outline"])),rn(i,148,zo(u)),$o(i,0,n.Workbook),Xo(i,a),function(e,t,n,r){var i,o=vn(t["!ref"]||"A1"),a="",s=[];rn(e,145);var l=Array.isArray(t),c=o.e.r;t["!rows"]&&(c=Math.max(o.e.r,t["!rows"].length-1));for(var u=o.s.r;u<=c;++u){a=un(u),Bo(e,t,o,u);var f=!1;if(u<=o.e.r)for(var h=o.s.c;h<=o.e.c;++h){u===o.s.r&&(s[h]=hn(h)),i=s[h]+a;var d=l?(t[u]||[])[h]:t[i];f=!!d&&Go(e,d,u,h,r,t,f)}}rn(e,146)}(i,a,0,t),Zo(i,a),function(e,t,n,r){if(t["!autofilter"]){var i=t["!autofilter"],o="string"===typeof i.ref?i.ref:gn(i.ref);n.Workbook||(n.Workbook={Sheets:[]}),n.Workbook.Names||(n.Workbook.Names=[]);var a=n.Workbook.Names,s=mn(o);s.s.r==s.e.r&&(s.e.r=mn(t["!ref"]).e.r,o=gn(s));for(var l=0;l0){var i=lr(r,-1,"../drawings/vmlDrawing"+(n+1)+".vml",or.VML);rn(e,551,zn("rId"+i)),t["!legacy"]=i}}(i,a,e,r),rn(i,130),i.end()}var Qo=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]];var ea="][*?/\\".split("");function ta(e,t){if(e.length>31){if(t)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var n=!0;return ea.forEach(function(r){if(-1!=e.indexOf(r)){if(!t)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");n=!1}}),n}function na(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var t,n,r,i=e.Workbook&&e.Workbook.Sheets||[];t=e.SheetNames,n=i,r=!!e.vbaraw,t.forEach(function(e,i){ta(e);for(var o=0;o22)throw new Error("Bad Code Name: Worksheet"+a)}});for(var o=0;o0,r={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(Qo.forEach(function(t){null!=e.Workbook.WBProps[t[0]]&&e.Workbook.WBProps[t[0]]!=t[1]&&(r[t[0]]=e.Workbook.WBProps[t[0]])}),e.Workbook.WBProps.CodeName&&(r.codeName=e.Workbook.WBProps.CodeName,delete r.CodeName)),t[t.length]=pt("workbookPr",null,r);var i=e.Workbook&&e.Workbook.Sheets||[],o=0;if(i&&i[0]&&i[0].Hidden){for(t[t.length]="",o=0;o!=e.SheetNames.length&&i[o]&&i[o].Hidden;++o);o==e.SheetNames.length&&(o=0),t[t.length]='',t[t.length]=""}for(t[t.length]="",o=0;o!=e.SheetNames.length;++o){var a={name:Qe(e.SheetNames[o].slice(0,31))};if(a.sheetId=""+(o+1),a["r:id"]="rId"+(o+1),i[o])switch(i[o].Hidden){case 1:a.state="hidden";break;case 2:a.state="veryHidden"}t[t.length]=pt("sheet",null,a)}return t[t.length]="",n&&(t[t.length]="",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach(function(e){var n={name:e.Name};e.Comment&&(n.comment=e.Comment),null!=e.Sheet&&(n.localSheetId=""+e.Sheet),e.Hidden&&(n.hidden="1"),e.Ref&&(t[t.length]=pt("definedName",Qe(e.Ref),n))}),t[t.length]=""),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function ia(e,t){if(t.Workbook&&t.Workbook.Sheets){for(var n,r,i=t.Workbook.Sheets,o=0,a=-1,s=-1;oa))rn(e,135),rn(e,158,(n=a,r||(r=tn(29)),r.write_shift(-4,0),r.write_shift(-4,460),r.write_shift(4,28800),r.write_shift(4,17600),r.write_shift(4,500),r.write_shift(4,n),r.write_shift(4,n),r.write_shift(1,120),r.length>r.l?r.slice(0,r.l):r)),rn(e,136)}}function oa(e,t){var n=nn();return rn(n,131),rn(n,128,function(e,t){t||(t=tn(127));for(var n=0;4!=n;++n)t.write_shift(4,0);return Tn("SheetJS",t),Tn(r.version,t),Tn(r.version,t),Tn("7262",t),t.length>t.l?t.slice(0,t.l):t}()),rn(n,153,function(e,t){t||(t=tn(72));var n=0;return e&&e.filterPrivacy&&(n|=8),t.write_shift(4,n),t.write_shift(4,0),In(e&&e.CodeName||"ThisWorkbook",t),t.slice(0,t.l)}(e.Workbook&&e.Workbook.WBProps||null)),ia(n,e),function(e,t){rn(e,143);for(var n=0;n!=t.SheetNames.length;++n){var r={Hidden:t.Workbook&&t.Workbook.Sheets&&t.Workbook.Sheets[n]&&t.Workbook.Sheets[n].Hidden||0,iTabID:n+1,strRelID:"rId"+(n+1),name:t.SheetNames[n]};rn(e,156,(i=r,(o=void 0)||(o=tn(127)),o.write_shift(4,i.Hidden),o.write_shift(4,i.iTabID),zn(i.strRelID,o),Tn(i.name.slice(0,31),o),o.length>o.l?o.slice(0,o.l):o))}var i,o;rn(e,144)}(n,e),rn(n,132),n.end()}function aa(e,t,n,r,i){return(".bin"===t.slice(-4)?Jo:jo)(e,n,r,i)}function sa(e,t,n){return(".bin"===t.slice(-4)?zi:ji)(e,n)}function la(e,t){var n=[];return e.Props&&n.push(function(e,t){var n=[];return ke(br).map(function(e){for(var t=0;t'+i.join("")+""}(e.Props,e.Custprops)),n.join("")}function ca(e){return pt("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+Yi(e.Ref,{r:0,c:0})})}function ua(e,t,n,r,i,o,a){if(!e||void 0==e.v&&void 0==e.f)return"";var s={};if(e.f&&(s["ss:Formula"]="="+Qe(Yi(e.f,a))),e.F&&e.F.slice(0,t.length)==t){var l=dn(e.F.slice(t.length+1));s["ss:ArrayRange"]="RC:R"+(l.r==a.r?"":"["+(l.r-a.r)+"]")+"C"+(l.c==a.c?"":"["+(l.c-a.c)+"]")}if(e.l&&e.l.Target&&(s["ss:HRef"]=Qe(e.l.Target),e.l.Tooltip&&(s["x:HRefScreenTip"]=Qe(e.l.Tooltip))),n["!merges"])for(var c=n["!merges"],u=0;u!=c.length;++u)c[u].s.c==a.c&&c[u].s.r==a.r&&(c[u].e.c>c[u].s.c&&(s["ss:MergeAcross"]=c[u].e.c-c[u].s.c),c[u].e.r>c[u].s.r&&(s["ss:MergeDown"]=c[u].e.r-c[u].s.r));var f="",h="";switch(e.t){case"z":if(!r.sheetStubs)return"";break;case"n":f="Number",h=String(e.v);break;case"b":f="Boolean",h=e.v?"1":"0";break;case"e":f="Error",h=tr[e.v];break;case"d":f="DateTime",h=new Date(e.v).toISOString(),null==e.z&&(e.z=e.z||F[14]);break;case"s":f="String",h=((e.v||"")+"").replace(Ze,function(e){return $e[e]}).replace(tt,function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"})}var d=Ro(r.cellXfs,e,r);s["ss:StyleID"]="s"+(21+d),s["ss:Index"]=a.c+1;var p=null!=e.v?h:"",m="z"==e.t?"":''+p+"";return(e.c||[]).length>0&&(m+=e.c.map(function(e){var t=pt("ss:Data",(e.t||"").replace(/(\r\n|[\r\n])/g," "),{xmlns:"http://www.w3.org/TR/REC-html40"});return pt("Comment",t,{"ss:Author":e.a})}).join("")),pt("Cell",m,s)}function fa(e,t){var n='"}function ha(e,t,n){var r=[],i=n.SheetNames[e],o=n.Sheets[i],a=o?function(e,t,n,r){if(!e)return"";if(!((r||{}).Workbook||{}).Names)return"";for(var i=r.Workbook.Names,o=[],a=0;a0&&r.push(""+a+""),(a=o?function(e,t,n,r){if(!e["!ref"])return"";var i=vn(e["!ref"]),o=e["!merges"]||[],a=0,s=[];e["!cols"]&&e["!cols"].forEach(function(e,t){pi(e);var n=!!e.width,r=Mo(t,e),i={"ss:Index":t+1};n&&(i["ss:Width"]=fi(r.width)),e.hidden&&(i["ss:Hidden"]="1"),s.push(pt("Column",null,i))});for(var l=Array.isArray(e),c=i.s.r;c<=i.e.r;++c){for(var u=[fa(c,(e["!rows"]||[])[c])],f=i.s.c;f<=i.e.c;++f){var h=!1;for(a=0;a!=o.length;++a)if(!(o[a].s.c>f)&&!(o[a].s.r>c)&&!(o[a].e.c"),u.length>2&&s.push(u.join(""))}return s.join("")}(o,t):"").length>0&&r.push(""+a+"
"),r.push(function(e,t,n,r){if(!e)return"";var i=[];if(e["!margins"]&&(i.push(""),e["!margins"].header&&i.push(pt("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&i.push(pt("Footer",null,{"x:Margin":e["!margins"].footer})),i.push(pt("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"})),i.push("")),r&&r.Workbook&&r.Workbook.Sheets&&r.Workbook.Sheets[n])if(r.Workbook.Sheets[n].Hidden)i.push(pt("Visible",1==r.Workbook.Sheets[n].Hidden?"SheetHidden":"SheetVeryHidden",{}));else{for(var o=0;o")}return((((r||{}).Workbook||{}).Views||[])[0]||{}).RTL&&i.push(""),e["!protect"]&&(i.push(ht("ProtectContents","True")),e["!protect"].objects&&i.push(ht("ProtectObjects","True")),e["!protect"].scenarios&&i.push(ht("ProtectScenarios","True")),null==e["!protect"].selectLockedCells||e["!protect"].selectLockedCells?null==e["!protect"].selectUnlockedCells||e["!protect"].selectUnlockedCells||i.push(ht("EnableSelection","UnlockedCells")):i.push(ht("EnableSelection","NoSelection")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(t){e["!protect"][t[0]]&&i.push("<"+t[1]+"/>")})),0==i.length?"":pt("WorksheetOptions",i.join(""),{xmlns:bt.x})}(o,0,e,n)),r.join("")}function da(e,t){t||(t={}),e.SSF||(e.SSF=Ue(F)),e.SSF&&(ye(),be(e.SSF),t.revssf=Ae(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF,t.cellXfs=[],Ro(t.cellXfs,{},{revssf:{General:0}}));var n=[];n.push(la(e,t)),n.push(""),n.push(""),n.push("");for(var r=0;r'];return t.cellXfs.forEach(function(e,t){var r=[];r.push(pt("NumberFormat",null,{"ss:Format":Qe(F[e.numFmtId])}));var i={"ss:ID":"s"+(21+t)};n.push(pt("Style",r.join(""),i))}),pt("Styles",n.join(""))}(0,t),n[3]=function(e){if(!((e||{}).Workbook||{}).Names)return"";for(var t=e.Workbook.Names,n=[],r=0;r-1||mr.indexOf(o[a][0])>-1||null!=o[a][1]&&c.push(o[a]);i.length&&Se.utils.cfb_add(t,"/\x05SummaryInformation",_r(i,pa.SI,l,Jn)),(r.length||c.length)&&Se.utils.cfb_add(t,"/\x05DocumentSummaryInformation",_r(r,pa.DSI,s,Zn,c.length?c:null,pa.UDI))}(e,r),8==n.biff&&e.vbaraw&&function(e,t){t.FullPaths.forEach(function(n,r){if(0!=r){var i=n.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");"/"!==i.slice(-1)&&Se.utils.cfb_add(e,i,t.FileIndex[r].content)}})}(r,Se.read(e.vbaraw,{type:"string"==typeof e.vbaraw?"binary":"buffer"})),r}var ga={0:{f:function(e,t){var n={},r=e.l+t;n.r=e.read_shift(4),e.l+=4;var i=e.read_shift(2);e.l+=1;var o=e.read_shift(1);return e.l=r,7&o&&(n.level=7&o),16&o&&(n.hidden=!0),32&o&&(n.hpt=i/20),n}},1:{f:function(e){return[Mn(e)]}},2:{f:function(e){return[Mn(e),Un(e),"n"]}},3:{f:function(e){return[Mn(e),e.read_shift(1),"e"]}},4:{f:function(e){return[Mn(e),e.read_shift(1),"b"]}},5:{f:function(e){return[Mn(e),Vn(e),"n"]}},6:{f:function(e){return[Mn(e),En(e),"str"]}},7:{f:function(e){return[Mn(e),e.read_shift(4),"s"]}},8:{f:function(e,t,n){var r=e.l+t,i=Mn(e);i.r=n["!row"];var o=[i,En(e),"str"];if(n.cellFormula){e.l+=2;var a=So(e,r-e.l,n);o[3]=bo(a,0,i,n.supbooks,n)}else e.l=r;return o}},9:{f:function(e,t,n){var r=e.l+t,i=Mn(e);i.r=n["!row"];var o=[i,Vn(e),"n"];if(n.cellFormula){e.l+=2;var a=So(e,r-e.l,n);o[3]=bo(a,0,i,n.supbooks,n)}else e.l=r;return o}},10:{f:function(e,t,n){var r=e.l+t,i=Mn(e);i.r=n["!row"];var o=[i,e.read_shift(1),"b"];if(n.cellFormula){e.l+=2;var a=So(e,r-e.l,n);o[3]=bo(a,0,i,n.supbooks,n)}else e.l=r;return o}},11:{f:function(e,t,n){var r=e.l+t,i=Mn(e);i.r=n["!row"];var o=[i,e.read_shift(1),"e"];if(n.cellFormula){e.l+=2;var a=So(e,r-e.l,n);o[3]=bo(a,0,i,n.supbooks,n)}else e.l=r;return o}},12:{f:function(e){return[Rn(e)]}},13:{f:function(e){return[Rn(e),Un(e),"n"]}},14:{f:function(e){return[Rn(e),e.read_shift(1),"e"]}},15:{f:function(e){return[Rn(e),e.read_shift(1),"b"]}},16:{f:Uo},17:{f:function(e){return[Rn(e),En(e),"str"]}},18:{f:function(e){return[Rn(e),e.read_shift(4),"s"]}},19:{f:On},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:function(e,t,n){var r=e.l+t;e.l+=4,e.l+=1;var i=e.read_shift(4),o=Bn(e),a=_o(e,0,n),s=Ln(e);e.l=r;var l={Name:o,Ptg:a};return i<268435455&&(l.Sheet=i),s&&(l.Comment=s),l}},40:{},42:{},43:{f:function(e,t,n){var r={};r.sz=e.read_shift(2)/20;var i=function(e){var t=e.read_shift(1);return e.l++,{fBold:1&t,fItalic:2&t,fUnderline:4&t,fStrikeout:8&t,fOutline:16&t,fShadow:32&t,fCondense:64&t,fExtend:128&t}}(e);switch(i.fItalic&&(r.italic=1),i.fCondense&&(r.condense=1),i.fExtend&&(r.extend=1),i.fShadow&&(r.shadow=1),i.fOutline&&(r.outline=1),i.fStrikeout&&(r.strike=1),700===e.read_shift(2)&&(r.bold=1),e.read_shift(2)){case 1:r.vertAlign="superscript";break;case 2:r.vertAlign="subscript"}var o=e.read_shift(1);0!=o&&(r.underline=o);var a=e.read_shift(1);a>0&&(r.family=a);var s=e.read_shift(1);switch(s>0&&(r.charset=s),e.l++,r.color=function(e){var t={},n=e.read_shift(1)>>>1,r=e.read_shift(1),i=e.read_shift(2,"i"),o=e.read_shift(1),a=e.read_shift(1),s=e.read_shift(1);switch(e.l++,n){case 0:t.auto=1;break;case 1:t.index=r;var l=er[r];l&&(t.rgb=li(l));break;case 2:t.rgb=li([o,a,s]);break;case 3:t.theme=r}return 0!=i&&(t.tint=i>0?i/32767:i/32768),t}(e),e.read_shift(1)){case 1:r.scheme="major";break;case 2:r.scheme="minor"}return r.name=En(e),r}},44:{f:function(e,t){return[e.read_shift(2),En(e)]}},45:{f:_i},46:{f:Oi},47:{f:function(e,t){var n=e.l+t,r=e.read_shift(2),i=e.read_shift(2);return e.l=n,{ixfe:r,numFmtId:i}}},48:{},49:{f:function(e){return e.read_shift(4,"i")}},50:{},51:{f:function(e){for(var t=[],n=e.read_shift(4);n-- >0;)t.push([e.read_shift(4),e.read_shift(4)]);return t}},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:qr},62:{f:function(e){return[Mn(e),On(e),"is"]}},63:{f:function(e){var t={};t.i=e.read_shift(4);var n={};n.r=e.read_shift(4),n.c=e.read_shift(4),t.r=pn(n);var r=e.read_shift(1);return 2&r&&(t.l="1"),8&r&&(t.a="1"),t}},64:{f:function(){}},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:en,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:function(e){var t=e.read_shift(2);return e.l+=28,{RTL:32&t}}},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:function(e,t){var n={},r=e[e.l];return++e.l,n.above=!(64&r),n.left=!(128&r),e.l+=18,n.name=Nn(e,t-19),n}},148:{f:Fo,p:16},151:{f:function(){}},152:{},153:{f:function(e,t){var n={},r=e.read_shift(4);n.defaultThemeVersion=e.read_shift(4);var i=t>8?En(e):"";return i.length>0&&(n.CodeName=i),n.autoCompressPictures=!!(65536&r),n.backupFile=!!(64&r),n.checkCompatibility=!!(4096&r),n.date1904=!!(1&r),n.filterPrivacy=!!(8&r),n.hidePivotFieldList=!!(1024&r),n.promptedSolutions=!!(16&r),n.publishItems=!!(2048&r),n.refreshAllConnections=!!(262144&r),n.saveExternalLinkValues=!!(128&r),n.showBorderUnselectedTables=!!(4&r),n.showInkAnnotation=!!(32&r),n.showObjects=["all","placeholders","none"][r>>13&3],n.showPivotChartFilter=!!(32768&r),n.updateLinks=["userSet","never","always"][r>>8&3],n}},154:{},155:{},156:{f:function(e,t){var n={};return n.Hidden=e.read_shift(4),n.iTabID=e.read_shift(4),n.strRelID=Fn(e,t-8),n.name=En(e),n}},157:{},158:{},159:{T:1,f:function(e){return[e.read_shift(4),e.read_shift(4)]}},160:{T:-1},161:{T:1,f:Yn},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:Wo},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:function(e,t){return{flags:e.read_shift(4),version:e.read_shift(4),name:En(e)}}},336:{T:-1},337:{f:function(e){return e.l+=4,0!=e.read_shift(4)},T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:Fn},357:{},358:{},359:{},360:{T:1},361:{},362:{f:Gr},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:function(e,t,n){var r=e.l+t,i=Hn(e),o=e.read_shift(1),a=[i];if(a[2]=o,n.cellFormula){var s=xo(e,r-e.l,n);a[1]=s}else e.l=r;return a}},427:{f:function(e,t,n){var r=e.l+t,i=[Yn(e,16)];if(n.cellFormula){var o=Eo(e,r-e.l,n);i[1]=o,e.l=r}else e.l=r;return i}},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:function(e){var t={};return Yo.forEach(function(n){t[n]=Vn(e)}),t}},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:function(){}},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:function(e,t){var n=e.l+t,r=Yn(e,16),i=Ln(e),o=En(e),a=En(e),s=En(e);e.l=n;var l={rfx:r,relId:i,loc:o,display:s};return a&&(l.Tooltip=a),l}},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:Fn},551:{},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:Fi},633:{T:1},634:{T:-1},635:{T:1,f:function(e){var t={};t.iauthor=e.read_shift(4);var n=Yn(e,16);return t.rfx=n.s,t.ref=pn(n.s),e.l+=16,t}},636:{T:-1},637:{f:Cn},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:function(e,t){return e.l+=10,{name:En(e)}}},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:function(){}},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}};function va(e,t,n,r){var i=t;if(!isNaN(i)){var o=r||(n||[]).length||0,a=e.next(4);a.write_shift(2,i),a.write_shift(2,o),o>0&&Ft(n)&&e.push(n)}}function ba(e,t,n){return e||(e=tn(7)),e.write_shift(2,t),e.write_shift(2,n),e.write_shift(2,0),e.write_shift(1,0),e}function ya(e,t,n,r){if(null!=t.v)switch(t.t){case"d":case"n":var i="d"==t.t?Pe(Fe(t.v)):t.v;return void(i==(0|i)&&i>=0&&i<65536?va(e,2,function(e,t,n){var r=tn(9);return ba(r,e,t),r.write_shift(2,n),r}(n,r,i)):va(e,3,function(e,t,n){var r=tn(15);return ba(r,e,t),r.write_shift(8,n,"f"),r}(n,r,i)));case"b":case"e":return void va(e,5,function(e,t,n,r){var i=tn(9);return ba(i,e,t),Cr(n,r||"b",i),i}(n,r,t.v,t.t));case"s":case"str":return void va(e,4,function(e,t,n){var r=tn(8+2*n.length);return ba(r,e,t),r.write_shift(1,n.length),r.write_shift(n.length,n,"sbcs"),r.l255||a.e.r>16383){if(r.WTF)throw new Error("Range "+(t["!ref"]||"A1")+" exceeds format limit A1:IV16384");a.e.c=Math.min(a.e.c,255),a.e.r=Math.min(a.e.c,16383),i=gn(a)}for(var c=a.s.r;c<=a.e.r;++c){s=un(c);for(var u=a.s.c;u<=a.e.c;++u){c===a.s.r&&(l[u]=hn(u)),i=l[u]+s;var f=o?(t[c]||[])[u]:t[i];f&&ya(e,f,c,u)}}}(r,e.Sheets[e.SheetNames[i]],0,n),va(r,10),r.end()}function xa(e,t,n){va(e,49,function(e,t){var n=e.name||"Arial",r=t&&5==t.biff,i=tn(r?15+n.length:16+2*n.length);return i.write_shift(2,20*(e.sz||12)),i.write_shift(4,0),i.write_shift(2,400),i.write_shift(4,0),i.write_shift(2,0),i.write_shift(1,n.length),r||i.write_shift(1,1),i.write_shift((r?1:2)*n.length,n,r?"sbcs":"utf16le"),i}({sz:12,color:{theme:1},name:"Arial",family:2,scheme:"minor"},n))}function Sa(e,t){if(t){var n=0;t.forEach(function(t,r){++n<=256&&t&&va(e,125,function(e,t){var n=tn(12);n.write_shift(2,t),n.write_shift(2,t),n.write_shift(2,256*e.width),n.write_shift(2,0);var r=0;return e.hidden&&(r|=1),n.write_shift(1,r),r=e.level||0,n.write_shift(1,r),n.write_shift(2,0),n}(Mo(r,t),r))})}}function _a(e,t,n,r,i){var o=16+Ro(i.cellXfs,t,i);if(null!=t.v||t.bf)if(t.bf)va(e,6,yo(t,n,r,0,o));else switch(t.t){case"d":case"n":va(e,515,function(e,t,n,r){var i=tn(14);return jr(e,t,r,i),Xn(n,i),i}(n,r,"d"==t.t?Pe(Fe(t.v)):t.v,o));break;case"b":case"e":va(e,517,function(e,t,n,r,i,o){var a=tn(8);return jr(e,t,r,a),Cr(n,o,a),a}(n,r,t.v,o,0,t.t));break;case"s":case"str":if(i.bookSST)va(e,253,function(e,t,n,r){var i=tn(10);return jr(e,t,r,i),i.write_shift(4,n),i}(n,r,Ao(i.Strings,t.v,i.revStrings),o));else va(e,516,function(e,t,n,r,i){var o=!i||8==i.biff,a=tn(+o+8+(1+o)*n.length);return jr(e,t,r,a),a.write_shift(2,n.length),o&&a.write_shift(1,1),a.write_shift((1+o)*n.length,n,o?"utf16le":"sbcs"),a}(n,r,(t.v||"").slice(0,255),o,i));break;default:va(e,513,jr(n,r,o))}else va(e,513,jr(n,r,o))}function Ea(e,t,n){var r,i=nn(),o=n.SheetNames[e],a=n.Sheets[o]||{},s=(n||{}).Workbook||{},l=(s.Sheets||[])[e]||{},c=Array.isArray(a),u=8==t.biff,f="",h=[],d=vn(a["!ref"]||"A1"),p=u?65536:16384;if(d.e.c>255||d.e.r>=p){if(t.WTF)throw new Error("Range "+(a["!ref"]||"A1")+" exceeds format limit A1:IV16384");d.e.c=Math.min(d.e.c,255),d.e.r=Math.min(d.e.c,p-1)}va(i,2057,Ur(0,16,t)),va(i,13,Or(1)),va(i,12,Or(100)),va(i,15,Tr(!0)),va(i,17,Tr(!1)),va(i,16,Xn(.001)),va(i,95,Tr(!0)),va(i,42,Tr(!1)),va(i,43,Tr(!1)),va(i,130,Or(1)),va(i,128,function(e){var t=tn(8);return t.write_shift(4,0),t.write_shift(2,e[0]?e[0]+1:0),t.write_shift(2,e[1]?e[1]+1:0),t}([0,0])),va(i,131,Tr(!1)),va(i,132,Tr(!1)),u&&Sa(i,a["!cols"]),va(i,512,function(e,t){var n=8!=t.biff&&t.biff?2:4,r=tn(2*n+6);return r.write_shift(n,e.s.r),r.write_shift(n,e.e.r+1),r.write_shift(2,e.s.c),r.write_shift(2,e.e.c+1),r.write_shift(2,0),r}(d,t)),u&&(a["!links"]=[]);for(var m=d.s.r;m<=d.e.r;++m){f=un(m);for(var g=d.s.c;g<=d.e.c;++g){m===d.s.r&&(h[g]=hn(g)),r=h[g]+f;var v=c?(a[m]||[])[g]:a[r];v&&(_a(i,v,m,g,t),u&&v.l&&a["!links"].push([r,v.l]))}}var b=l.CodeName||l.name||o;return u&&va(i,574,function(e){var t=tn(18),n=1718;return e&&e.RTL&&(n|=64),t.write_shift(2,n),t.write_shift(4,0),t.write_shift(4,64),t.write_shift(4,0),t.write_shift(4,0),t}((s.Views||[])[0])),u&&(a["!merges"]||[]).length&&va(i,229,function(e){var t=tn(2+8*e.length);t.write_shift(2,e.length);for(var n=0;n255&&"undefined"!=typeof console&&console.error&&console.error("Worksheet '"+e.SheetNames[n]+"' extends beyond column IV (255). Data may be lost.")}var i=t||{};switch(i.biff||2){case 8:case 5:return function(e,t){var n=t||{},r=[];e&&!e.SSF&&(e.SSF=Ue(F)),e&&e.SSF&&(ye(),be(e.SSF),n.revssf=Ae(e.SSF),n.revssf[e.SSF[65535]]=0,n.ssf=e.SSF),n.Strings=[],n.Strings.Count=0,n.Strings.Unique=0,ns(n),n.cellXfs=[],Ro(n.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});for(var i=0;in||i[c].s.c>a)&&!(i[c].e.r1&&(d.rowspan=s),l>1&&(d.colspan=l),r.editable?h=''+h+"":f&&(d["data-t"]=f&&f.t||"z",null!=f.v&&(d["data-v"]=f.v),null!=f.z&&(d["data-z"]=f.z),f.l&&"#"!=(f.l.Target||"#").charAt(0)&&(h=''+h+"")),d.id=(r.id||"sjs")+"-"+u,o.push(pt("td",h,d))}}return""+o.join("")+""}var Ca='SheetJS Table Export',Aa="";function Ma(e,t,n){return[].join("")+""}function Pa(e,t){var n=t||{},r=null!=n.header?n.header:Ca,i=null!=n.footer?n.footer:Aa,o=[r],a=mn(e["!ref"]);n.dense=Array.isArray(e),o.push(Ma(0,0,n));for(var s=a.s.r;s<=a.e.r;++s)o.push(Oa(e,a,s,n));return o.push(""+i),o.join("")}function Ra(e,t,n){var r=n||{};null!=m&&(r.dense=m);var i=0,o=0;if(null!=r.origin)if("number"==typeof r.origin)i=r.origin;else{var a="string"==typeof r.origin?dn(r.origin):r.origin;i=a.r,o=a.c}var s=t.getElementsByTagName("tr"),l=Math.min(r.sheetRows||1e7,s.length),c={s:{r:0,c:0},e:{r:i,c:o}};if(e["!ref"]){var u=mn(e["!ref"]);c.s.r=Math.min(c.s.r,u.s.r),c.s.c=Math.min(c.s.c,u.s.c),c.e.r=Math.max(c.e.r,u.e.r),c.e.c=Math.max(c.e.c,u.e.c),-1==i&&(c.e.r=i=u.e.r+1)}var f=[],h=0,d=e["!rows"]||(e["!rows"]=[]),p=0,g=0,v=0,b=0,y=0,w=0;for(e["!cols"]||(e["!cols"]=[]);p1||w>1)&&f.push({s:{r:g+i,c:b+o},e:{r:g+i+(y||1)-1,c:b+o+(w||1)-1}});var O={t:"s",v:E},C=_.getAttribute("data-t")||_.getAttribute("t")||"";null!=E&&(0==E.length?O.t=C||"z":r.raw||0==E.trim().length||"s"==C||("TRUE"===E?O={t:"b",v:!0}:"FALSE"===E?O={t:"b",v:!1}:isNaN(He(E))?isNaN(Ge(E).getDate())||(O={t:"d",v:Fe(E)},r.cellDates||(O={t:"n",v:Pe(O.v)}),O.z=r.dateNF||F[14]):O={t:"n",v:He(E)})),void 0===O.z&&null!=T&&(O.z=T);var A="",M=_.getElementsByTagName("A");if(M&&M.length)for(var P=0;P=l&&(e["!fullref"]=gn((c.e.r=s.length-p+g-1+i,c))),e}function Da(e,t){return Ra((t||{}).dense?[]:{},e,t)}function Na(e){var t="",n=function(e){return e.ownerDocument.defaultView&&"function"===typeof e.ownerDocument.defaultView.getComputedStyle?e.ownerDocument.defaultView.getComputedStyle:"function"===typeof getComputedStyle?getComputedStyle:null}(e);return n&&(t=n(e).getPropertyValue("display")),t||(t=e.style&&e.style.display),"none"===t}var Ia=function(){var e=["",'',"",'',"",'',"",""].join(""),t=""+e+"";return function(){return qe+t}}(),La=function(){var e=" \n",t=function(t,n,r){var i=[];i.push(' \n');var o=0,a=0,s=mn(t["!ref"]||"A1"),l=t["!merges"]||[],c=0,u=Array.isArray(t);if(t["!cols"])for(a=0;a<=s.e.c;++a)i.push(" \n");var f="",h=t["!rows"]||[];for(o=0;o\n");for(;o<=s.e.r;++o){for(f=h[o]?' table:style-name="ro'+h[o].ods+'"':"",i.push(" \n"),a=0;aa)&&!(l[c].s.r>o)&&!(l[c].e.c\n");else{var g=pn({r:o,c:a}),v=u?(t[o]||[])[a]:t[g];if(v&&v.f&&(p["table:formula"]=Qe(("of:="+v.f.replace(Hi,"$1[.$2$3$4$5]").replace(/\]:\[/g,":")).replace(/;/g,"|").replace(/,/g,";")),v.F&&v.F.slice(0,g.length)==g)){var b=mn(v.F);p["table:number-matrix-columns-spanned"]=b.e.c-b.s.c+1,p["table:number-matrix-rows-spanned"]=b.e.r-b.s.r+1}if(v){switch(v.t){case"b":m=v.v?"TRUE":"FALSE",p["office:value-type"]="boolean",p["office:boolean-value"]=v.v?"true":"false";break;case"n":m=v.w||String(v.v||0),p["office:value-type"]="float",p["office:value"]=v.v||0;break;case"s":case"str":m=null==v.v?"":v.v,p["office:value-type"]="string";break;case"d":m=v.w||Fe(v.v).toISOString(),p["office:value-type"]="date",p["office:date-value"]=Fe(v.v).toISOString(),p["table:style-name"]="ce1";break;default:i.push(e);continue}var y=Qe(m).replace(/ +/g,function(e){return''}).replace(/\t/g,"").replace(/\n/g,"").replace(/^ /,"").replace(/ $/,"");if(v.l&&v.l.Target){var w=v.l.Target;"#"==(w="#"==w.charAt(0)?"#"+w.slice(1).replace(/\./,"!"):w).charAt(0)||w.match(/^\w+:/)||(w="../"+w),y=pt("text:a",y,{"xlink:href":w.replace(/&/g,"&")})}i.push(" "+pt("table:table-cell",pt("text:p",y,{}),p)+"\n")}else i.push(e)}}i.push(" \n")}return i.push(" \n"),i.join("")};return function(e,n){var r=[qe],i=dt({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),o=dt({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});"fods"==n.bookType?(r.push("\n"),r.push(ur().replace(/office:document-meta/g,"office:meta"))):r.push("\n"),function(e,t){e.push(" \n"),e.push(' \n'),e.push(' \n'),e.push(" /\n"),e.push(' \n'),e.push(" /\n"),e.push(" \n"),e.push(" \n");var n=0;t.SheetNames.map(function(e){return t.Sheets[e]}).forEach(function(t){if(t&&t["!cols"])for(var r=0;r\n'),e.push(' \n'),e.push(" \n"),++n}});var r=0;t.SheetNames.map(function(e){return t.Sheets[e]}).forEach(function(t){if(t&&t["!rows"])for(var n=0;n\n'),e.push(' \n'),e.push(" \n"),++r}}),e.push(' \n'),e.push(' \n'),e.push(" \n"),e.push(' \n'),e.push(" \n")}(r,e),r.push(" \n"),r.push(" \n");for(var a=0;a!=e.SheetNames.length;++a)r.push(t(e.Sheets[e.SheetNames[a]],e,a));return r.push(" \n"),r.push(" \n"),"fods"==n.bookType?r.push(""):r.push(""),r.join("")}}();function ja(e,t){if("fods"==t.bookType)return La(e,t);var n=Xe(),r="",i=[],o=[];return Ve(n,r="mimetype","application/vnd.oasis.opendocument.spreadsheet"),Ve(n,r="content.xml",La(e,t)),i.push([r,"text/xml"]),o.push([r,"ContentFile"]),Ve(n,r="styles.xml",Ia(e,t)),i.push([r,"text/xml"]),o.push([r,"StylesFile"]),Ve(n,r="meta.xml",qe+ur()),i.push([r,"text/xml"]),o.push([r,"MetadataFile"]),Ve(n,r="manifest.rdf",function(e){var t,n,r=[qe];r.push('\n');for(var i=0;i!=e.length;++i)r.push(cr(e[i][0],e[i][1])),r.push((t="",n=e[i][0],[' \n',' \n'," \n"].join("")));return r.push(cr("","Document","pkg")),r.push(""),r.join("")}(o)),i.push([r,"application/rdf+xml"]),Ve(n,r="META-INF/manifest.xml",function(e){var t=[qe];t.push('\n'),t.push(' \n');for(var n=0;n\n');return t.push(""),t.join("")}(i)),n}function Ba(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function Fa(e){return"undefined"!=typeof TextEncoder?(new TextEncoder).encode(e):E(ct(e))}function za(e){var t=e.reduce(function(e,t){return e+t.length},0),n=new Uint8Array(t),r=0;return e.forEach(function(e){n.set(e,r),r+=e.length}),n}function Ua(e,t){var n=t?t[0]:0,r=127&e[n];e:if(e[n++]>=128){if(r|=(127&e[n])<<7,e[n++]<128)break e;if(r|=(127&e[n])<<14,e[n++]<128)break e;if(r|=(127&e[n])<<21,e[n++]<128)break e;if(r+=(127&e[n])*Math.pow(2,28),++n,e[n++]<128)break e;if(r+=(127&e[n])*Math.pow(2,35),++n,e[n++]<128)break e;if(r+=(127&e[n])*Math.pow(2,42),++n,e[n++]<128)break e}return t&&(t[0]=n),r}function Wa(e){var t=new Uint8Array(7);t[0]=127&e;var n=1;e:if(e>127){if(t[n-1]|=128,t[n]=e>>7&127,++n,e<=16383)break e;if(t[n-1]|=128,t[n]=e>>14&127,++n,e<=2097151)break e;if(t[n-1]|=128,t[n]=e>>21&127,++n,e<=268435455)break e;if(t[n-1]|=128,t[n]=e/256>>>21&127,++n,e<=34359738367)break e;if(t[n-1]|=128,t[n]=e/65536>>>21&127,++n,e<=4398046511103)break e;t[n-1]|=128,t[n]=e/16777216>>>21&127,++n}return t.slice(0,n)}function Ha(e){var t=0,n=127&e[t];e:if(e[t++]>=128){if(n|=(127&e[t])<<7,e[t++]<128)break e;if(n|=(127&e[t])<<14,e[t++]<128)break e;if(n|=(127&e[t])<<21,e[t++]<128)break e;n|=(127&e[t])<<28}return n}function Ya(e){for(var t=[],n=[0];n[0]=128;);r=e.slice(l,n[0]);break;case 5:s=4,r=e.slice(n[0],n[0]+s),n[0]+=s;break;case 1:s=8,r=e.slice(n[0],n[0]+s),n[0]+=s;break;case 2:s=Ua(e,n),r=e.slice(n[0],n[0]+s),n[0]+=s;break;case 3:case 4:default:throw new Error("PB Type ".concat(a," for Field ").concat(o," at offset ").concat(i))}var c={data:r,type:a};null==t[o]?t[o]=[c]:t[o].push(c)}return t}function Ga(e){var t=[];return e.forEach(function(e,n){e.forEach(function(e){e.data&&(t.push(Wa(8*n+e.type)),2==e.type&&t.push(Wa(e.data.length)),t.push(e.data))})}),za(t)}function Va(e){for(var t,n=[],r=[0];r[0]>>0>0),n.push(a)}return n}function Xa(e){var t=[];return e.forEach(function(e){var n=[];n[1]=[{data:Wa(e.id),type:0}],n[2]=[],null!=e.merge&&(n[3]=[{data:Wa(+!!e.merge),type:0}]);var r=[];e.messages.forEach(function(e){r.push(e.data),e.meta[3]=[{type:0,data:Wa(e.data.length)}],n[2].push({data:Ga(e.meta),type:2})});var i=Ga(n);t.push(Wa(i.length)),t.push(i),r.forEach(function(e){return t.push(e)})}),za(t)}function qa(e,t){if(0!=e)throw new Error("Unexpected Snappy chunk type ".concat(e));for(var n=[0],r=Ua(t,n),i=[];n[0]>2&7),a=(224&t[n[0]++])<<3,a|=t[n[0]++]):(s=1+(t[n[0]++]>>2),2==o?(a=t[n[0]]|t[n[0]+1]<<8,n[0]+=2):(a=(t[n[0]]|t[n[0]+1]<<8|t[n[0]+2]<<16|t[n[0]+3]<<24)>>>0,n[0]+=4)),i=[za(i)],0==a)throw new Error("Invalid offset 0");if(a>i[0].length)throw new Error("Invalid offset beyond length");if(s>=a)for(i.push(i[0].slice(-a)),s-=a;s>=i[i.length-1].length;)i.push(i[i.length-1]),s-=i[i.length-1].length;i.push(i[0].slice(-a,-a+s))}else{var l=t[n[0]++]>>2;if(l<60)++l;else{var c=l-59;l=t[n[0]],c>1&&(l|=t[n[0]+1]<<8),c>2&&(l|=t[n[0]+2]<<16),c>3&&(l|=t[n[0]+3]<<24),l>>>=0,l++,n[0]+=c}i.push(t.slice(n[0],n[0]+l)),n[0]+=l}}var u=za(i);if(u.length!=r)throw new Error("Unexpected length: ".concat(u.length," != ").concat(r));return u}function Ka(e){for(var t=[],n=0;n>8&255]))):r<=16777216?(a+=4,t.push(new Uint8Array([248,r-1&255,r-1>>8&255,r-1>>16&255]))):r<=4294967296&&(a+=5,t.push(new Uint8Array([252,r-1&255,r-1>>8&255,r-1>>16&255,r-1>>>24&255]))),t.push(e.slice(n,n+r)),a+=r,i[0]=0,i[1]=255&a,i[2]=a>>8&255,i[3]=a>>16&255,n+=r}return za(t)}function Za(e,t){var n=new Uint8Array(32),r=Ba(n),i=12,o=0;switch(n[0]=5,e.t){case"n":n[1]=2,function(e,t,n){var r=Math.floor(0==n?0:Math.LOG10E*Math.log(Math.abs(n)))+6176-20,i=n/Math.pow(10,r-6176);e[t+15]|=r>>7,e[t+14]|=(127&r)<<1;for(var o=0;i>=1;++o,i/=256)e[t+o]=255&i;e[t+15]|=n>=0?0:128}(n,i,e.v),o|=1,i+=16;break;case"b":n[1]=6,r.setFloat64(i,e.v?1:0,!0),o|=2,i+=8;break;case"s":if(-1==t.indexOf(e.v))throw new Error("Value ".concat(e.v," missing from SST!"));n[1]=3,r.setUint32(i,t.indexOf(e.v),!0),o|=8,i+=4;break;default:throw"unsupported cell type "+e.t}return r.setUint32(8,o,!0),n.slice(0,i)}function Ja(e,t){var n=new Uint8Array(32),r=Ba(n),i=12,o=0;switch(n[0]=3,e.t){case"n":n[2]=2,r.setFloat64(i,e.v,!0),o|=32,i+=8;break;case"b":n[2]=6,r.setFloat64(i,e.v?1:0,!0),o|=32,i+=8;break;case"s":if(-1==t.indexOf(e.v))throw new Error("Value ".concat(e.v," missing from SST!"));n[2]=3,r.setUint32(i,t.indexOf(e.v),!0),o|=16,i+=4;break;default:throw"unsupported cell type "+e.t}return r.setUint32(4,o,!0),n.slice(0,i)}function Qa(e){return Ua(Ya(e)[1][0].data)}function es(e,t,n){var r,i,o,a;if(!(null==(r=e[6])?void 0:r[0])||!(null==(i=e[7])?void 0:i[0]))throw"Mutation only works on post-BNC storages!";if((null==(a=null==(o=e[8])?void 0:o[0])?void 0:a.data)&&Ha(e[8][0].data)>0||!1)throw"Math only works with normal offsets";for(var s=0,l=Ba(e[7][0].data),c=0,u=[],f=Ba(e[4][0].data),h=0,d=[],p=0;p1&&console.error("The Numbers writer currently writes only the first table");var r=mn(n["!ref"]);r.s.r=r.s.c=0;var i=!1;r.e.c>9&&(i=!0,r.e.c=9),r.e.r>49&&(i=!0,r.e.r=49),i&&console.error("The Numbers writer is currently limited to ".concat(gn(r)));var o=hs(n,{range:r,header:1}),a=["~Sh33tJ5~"];o.forEach(function(e){return e.forEach(function(e){"string"==typeof e&&a.push(e)})});var s={},l=[],c=Se.read(t.numbers,{type:"base64"});c.FileIndex.map(function(e,t){return[e,c.FullPaths[t]]}).forEach(function(e){var t=e[0],n=e[1];2==t.type&&t.name.match(/\.iwa/)&&Va(Ka(t.content)).forEach(function(e){l.push(e.id),s[e.id]={deps:[],location:n,type:Ha(e.messages[0].meta[1][0].data)}})}),l.sort(function(e,t){return e-t});var u=l.filter(function(e){return e>1}).map(function(e){return[e,Wa(e)]});c.FileIndex.map(function(e,t){return[e,c.FullPaths[t]]}).forEach(function(e){var t=e[0];e[1],t.name.match(/\.iwa/)&&Va(Ka(t.content)).forEach(function(e){e.messages.forEach(function(t){u.forEach(function(t){e.messages.some(function(e){return 11006!=Ha(e.meta[1][0].data)&&function(e,t){e:for(var n=0;n<=e.length-t.length;++n){for(var r=0;r-1,i={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};ns(t=t||{});var o=Xe(),a="",s=0;t.cellXfs=[],Ro(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});if(Ve(o,a="docProps/core.xml",dr(e.Props,t)),i.coreprops.push(a),lr(t.rels,2,a,or.CORE_PROPS),a="docProps/app.xml",e.Props&&e.Props.SheetNames);else if(e.Workbook&&e.Workbook.Sheets){for(var l=[],c=0;c0&&(Ve(o,a="docProps/custom.xml",vr(e.Custprops)),i.custprops.push(a),lr(t.rels,4,a,or.CUST_PROPS));for(s=1;s<=e.SheetNames.length;++s){var u={"!id":{}},f=e.Sheets[e.SheetNames[s-1]],h=(f||{})["!type"]||"sheet";switch(h){case"chart":default:Ve(o,a="xl/worksheets/sheet"+s+"."+n,aa(s-1,a,t,e,u)),i.sheets.push(a),lr(t.wbrels,-1,"worksheets/sheet"+s+"."+n,or.WS[0])}if(f){var d=f["!comments"],p=!1,m="";d&&d.length>0&&(Ve(o,m="xl/comments"+s+"."+n,sa(d,m,t)),i.comments.push(m),lr(u,-1,"../comments"+s+"."+n,or.CMNT),p=!0),f["!legacy"]&&p&&Ve(o,"xl/drawings/vmlDrawing"+s+".vml",Li(s,f["!comments"])),delete f["!comments"],delete f["!legacy"]}u["!id"].rId1&&Ve(o,ar(a),sr(u))}null!=t.Strings&&t.Strings.length>0&&(Ve(o,a="xl/sharedStrings."+n,function(e,t,n){return(".bin"===t.slice(-4)?ii:ni)(e,n)}(t.Strings,a,t)),i.strs.push(a),lr(t.wbrels,-1,"sharedStrings."+n,or.SST));Ve(o,a="xl/workbook."+n,function(e,t,n){return(".bin"===t.slice(-4)?oa:ra)(e,n)}(e,a,t)),i.workbooks.push(a),lr(t.rels,1,a,or.WB),Ve(o,a="xl/theme/theme1.xml",Ri(e.Themes,t)),i.themes.push(a),lr(t.wbrels,-1,"theme/theme1.xml",or.THEME),Ve(o,a="xl/styles."+n,function(e,t,n){return(".bin"===t.slice(-4)?Pi:bi)(e,n)}(e,a,t)),i.styles.push(a),lr(t.wbrels,-1,"styles."+n,or.STY),e.vbaraw&&r&&(Ve(o,a="xl/vbaProject.bin",e.vbaraw),i.vba.push(a),lr(t.wbrels,-1,"vbaProject.bin",or.VBA));return Ve(o,a="xl/metadata."+n,(g=a,(".bin"===g.slice(-4)?Di:Ni)())),i.metadata.push(a),lr(t.wbrels,-1,"metadata."+n,or.XLMETA),Ve(o,"[Content_Types].xml",ir(i,t)),Ve(o,"_rels/.rels",sr(t.rels)),Ve(o,"xl/_rels/workbook."+n+".rels",sr(t.wbrels)),delete t.revssf,delete t.ssf,o;var g}(e,t):is(e,t)}function is(e,t){Ii=1024,e&&!e.SSF&&(e.SSF=Ue(F)),e&&e.SSF&&(ye(),be(e.SSF),t.revssf=Ae(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,Co?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var n=Ui.indexOf(t.bookType)>-1,r={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};ns(t=t||{});var i=Xe(),o="",a=0;if(t.cellXfs=[],Ro(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),Ve(i,o="docProps/core.xml",dr(e.Props,t)),r.coreprops.push(o),lr(t.rels,2,o,or.CORE_PROPS),o="docProps/app.xml",e.Props&&e.Props.SheetNames);else if(e.Workbook&&e.Workbook.Sheets){for(var s=[],l=0;l0&&(Ve(i,o="docProps/custom.xml",vr(e.Custprops)),r.custprops.push(o),lr(t.rels,4,o,or.CUST_PROPS));var c=["SheetJ5"];for(t.tcid=0,a=1;a<=e.SheetNames.length;++a){var u={"!id":{}},f=e.Sheets[e.SheetNames[a-1]];switch((f||{})["!type"]||"sheet"){case"chart":default:Ve(i,o="xl/worksheets/sheet"+a+".xml",jo(a-1,t,e,u)),r.sheets.push(o),lr(t.wbrels,-1,"worksheets/sheet"+a+".xml",or.WS[0])}if(f){var h=f["!comments"],d=!1,p="";if(h&&h.length>0){var m=!1;h.forEach(function(e){e[1].forEach(function(e){1==e.T&&(m=!0)})}),m&&(Ve(i,p="xl/threadedComments/threadedComment"+a+".xml",Bi(h,c,t)),r.threadedcomments.push(p),lr(u,-1,"../threadedComments/threadedComment"+a+".xml",or.TCMNT)),Ve(i,p="xl/comments"+a+".xml",ji(h)),r.comments.push(p),lr(u,-1,"../comments"+a+".xml",or.CMNT),d=!0}f["!legacy"]&&d&&Ve(i,"xl/drawings/vmlDrawing"+a+".vml",Li(a,f["!comments"])),delete f["!comments"],delete f["!legacy"]}u["!id"].rId1&&Ve(i,ar(o),sr(u))}return null!=t.Strings&&t.Strings.length>0&&(Ve(i,o="xl/sharedStrings.xml",ni(t.Strings,t)),r.strs.push(o),lr(t.wbrels,-1,"sharedStrings.xml",or.SST)),Ve(i,o="xl/workbook.xml",ra(e)),r.workbooks.push(o),lr(t.rels,1,o,or.WB),Ve(i,o="xl/theme/theme1.xml",Ri(e.Themes,t)),r.themes.push(o),lr(t.wbrels,-1,"theme/theme1.xml",or.THEME),Ve(i,o="xl/styles.xml",bi(e,t)),r.styles.push(o),lr(t.wbrels,-1,"styles.xml",or.STY),e.vbaraw&&n&&(Ve(i,o="xl/vbaProject.bin",e.vbaraw),r.vba.push(o),lr(t.wbrels,-1,"vbaProject.bin",or.VBA)),Ve(i,o="xl/metadata.xml",Ni()),r.metadata.push(o),lr(t.wbrels,-1,"metadata.xml",or.XLMETA),c.length>1&&(Ve(i,o="xl/persons/person.xml",function(e){var t=[qe,pt("personList",null,{xmlns:gt.TCMNT,"xmlns:x":vt[0]}).replace(/[\/]>/,">")];return e.forEach(function(e,n){t.push(pt("person",null,{displayName:e,id:"{54EE7950-7262-4200-6969-"+("000000000000"+n).slice(-12)+"}",userId:e,providerId:"None"}))}),t.push(""),t.join("")}(c)),r.people.push(o),lr(t.wbrels,-1,"persons/person.xml",or.PEOPLE)),Ve(i,"[Content_Types].xml",ir(r,t)),Ve(i,"_rels/.rels",sr(t.rels)),Ve(i,"xl/_rels/workbook.xml.rels",sr(t.wbrels)),delete t.revssf,delete t.ssf,i}function os(e,t){var n="";switch((t||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":n=y(e.slice(0,12));break;case"binary":n=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(t&&t.type||"undefined"))}return[n.charCodeAt(0),n.charCodeAt(1),n.charCodeAt(2),n.charCodeAt(3),n.charCodeAt(4),n.charCodeAt(5),n.charCodeAt(6),n.charCodeAt(7)]}function as(e,t){switch(t.type){case"base64":case"binary":break;case"buffer":case"array":t.type="";break;case"file":return Te(t.file,Se.write(e,{type:w?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");default:throw new Error("Unrecognized type "+t.type)}return Se.write(e,t)}function ss(e,t){var n={},r=w?"nodebuffer":"undefined"!==typeof Uint8Array?"array":"string";if(t.compression&&(n.compression="DEFLATE"),t.password)n.type=r;else switch(t.type){case"base64":n.type="base64";break;case"binary":n.type="string";break;case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");case"buffer":case"file":n.type=r;break;default:throw new Error("Unrecognized type "+t.type)}var i=e.FullPaths?Se.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[n.type]||n.type,compression:!!t.compression}):e.generate(n);if("undefined"!==typeof Deno&&"string"==typeof i){if("binary"==t.type||"base64"==t.type)return i;i=new Uint8Array(T(i))}return t.password&&"undefined"!==typeof encrypt_agile?as(encrypt_agile(i,t.password),t):"file"===t.type?Te(t.file,i):"string"==t.type?lt(i):i}function ls(e,t,n){n||(n="");var r=n+e;switch(t.type){case"base64":return b(ct(r));case"binary":return ct(r);case"string":return e;case"file":return Te(t.file,r,"utf8");case"buffer":return w?x(r,"utf8"):"undefined"!==typeof TextEncoder?(new TextEncoder).encode(r):ls(r,{type:"binary"}).split("").map(function(e){return e.charCodeAt(0)})}throw new Error("Unrecognized type "+t.type)}function cs(e,t){switch(t.type){case"string":case"base64":case"binary":for(var n="",r=0;r0&&(i=0);var f=un(l.s.r),h=[],d=[],p=0,m=0,g=Array.isArray(e),v=l.s.r,b=0,y={};g&&!e[v]&&(e[v]=[]);var w=c.skipHidden&&e["!cols"]||[],x=c.skipHidden&&e["!rows"]||[];for(b=l.s.c;b<=l.e.c;++b)if(!(w[b]||{}).hidden)switch(h[b]=hn(b),n=g?e[v][b]:e[h[b]+f],r){case 1:o[b]=b-l.s.c;break;case 2:o[b]=h[b];break;case 3:o[b]=c.header[b-l.s.c];break;default:if(null==n&&(n={w:"__EMPTY",t:"s"}),s=a=yn(n,null,c),m=y[a]||0){do{s=a+"_"+m++}while(y[s]);y[a]=m,y[s]=1}else y[a]=1;o[b]=s}for(v=l.s.r+i;v<=l.e.r;++v)if(!(x[v]||{}).hidden){var S=fs(e,l,v,h,r,o,g,c);(!1===S.isempty||(1===r?!1!==c.blankrows:c.blankrows))&&(d[p++]=S.row)}return d.length=p,d}var ds=/"/g;function ps(e,t,n,r,i,o,a,s){for(var l=!0,c=[],u="",f=un(n),h=t.s.c;h<=t.e.c;++h)if(r[h]){var d=s.dense?(e[n]||[])[h]:e[r[h]+f];if(null==d)u="";else if(null!=d.v){l=!1,u=""+(s.rawNumbers&&"n"==d.t?d.v:yn(d,null,s));for(var p=0,m=0;p!==u.length;++p)if((m=u.charCodeAt(p))===i||m===o||34===m||s.forceQuotes){u='"'+u.replace(ds,'""')+'"';break}"ID"==u&&(u='"ID"')}else null==d.f||d.F?u="":(l=!1,(u="="+d.f).indexOf(",")>=0&&(u='"'+u.replace(ds,'""')+'"'));c.push(u)}return!1===s.blankrows&&l?null:c.join(a)}function ms(e,t){var n=[],r=null==t?{}:t;if(null==e||null==e["!ref"])return"";var i=vn(e["!ref"]),o=void 0!==r.FS?r.FS:",",a=o.charCodeAt(0),s=void 0!==r.RS?r.RS:"\n",l=s.charCodeAt(0),c=new RegExp(("|"==o?"\\|":o)+"+$"),u="",f=[];r.dense=Array.isArray(e);for(var h=r.skipHidden&&e["!cols"]||[],d=r.skipHidden&&e["!rows"]||[],p=i.s.c;p<=i.e.c;++p)(h[p]||{}).hidden||(f[p]=hn(p));for(var m=0,g=i.s.r;g<=i.e.r;++g)(d[g]||{}).hidden||null!=(u=ps(e,i,g,f,a,l,o,r))&&(r.strip&&(u=u.replace(c,"")),(u||!1!==r.blankrows)&&n.push((m++?s:"")+u));return delete r.dense,n.join("")}function gs(e,t){t||(t={}),t.FS="\t",t.RS="\n";var n=ms(e,t);if("undefined"==typeof h||"string"==t.type)return n;var r=h.utils.encode(1200,n,"str");return String.fromCharCode(255)+String.fromCharCode(254)+r}function vs(e,t,n){var r,i=n||{},o=+!i.skipHeader,a=e||{},s=0,l=0;if(a&&null!=i.origin)if("number"==typeof i.origin)s=i.origin;else{var c="string"==typeof i.origin?dn(i.origin):i.origin;s=c.r,l=c.c}var u={s:{c:0,r:0},e:{c:l,r:s+t.length-1+o}};if(a["!ref"]){var f=vn(a["!ref"]);u.e.c=Math.max(u.e.c,f.e.c),u.e.r=Math.max(u.e.r,f.e.r),-1==s&&(s=f.e.r+1,u.e.r=s+t.length-1+o)}else-1==s&&(s=0,u.e.r=t.length-1+o);var h=i.header||[],d=0;t.forEach(function(e,t){ke(e).forEach(function(n){-1==(d=h.indexOf(n))&&(h[d=h.length]=n);var c=e[n],u="z",f="",p=pn({c:l+d,r:s+t+o});r=bs(a,p),!c||"object"!==typeof c||c instanceof Date?("number"==typeof c?u="n":"boolean"==typeof c?u="b":"string"==typeof c?u="s":c instanceof Date?(u="d",i.cellDates||(u="n",c=Pe(c)),f=i.dateNF||F[14]):null===c&&i.nullError&&(u="e",c=0),r?(r.t=u,r.v=c,delete r.w,delete r.R,f&&(r.z=f)):a[p]=r={t:u,v:c},f&&(r.z=f)):a[p]=c})}),u.e.c=Math.max(u.e.c,l+h.length-1);var p=un(s);if(o)for(d=0;d=65535)throw new Error("Too many worksheets");if(r&&e.SheetNames.indexOf(n)>=0){var o=n.match(/(^.*?)(\d+)$/);i=o&&+o[2]||0;var a=o&&o[1]||n;for(++i;i<=65535&&-1!=e.SheetNames.indexOf(n=a+i);++i);}if(ta(n),e.SheetNames.indexOf(n)>=0)throw new Error("Worksheet with name |"+n+"| already exists!");return e.SheetNames.push(n),e.Sheets[n]=t,n}function xs(e,t,n){return t?(e.l={Target:t},n&&(e.l.Tooltip=n)):delete e.l,e}var Ss={encode_col:hn,encode_row:un,encode_cell:pn,encode_range:gn,decode_col:fn,decode_row:cn,split_cell:function(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")},decode_cell:dn,decode_range:mn,format_cell:yn,sheet_add_aoa:xn,sheet_add_json:vs,sheet_add_dom:Ra,aoa_to_sheet:Sn,json_to_sheet:function(e,t){return vs(null,e,t)},table_to_sheet:Da,table_to_book:function(e,t){return wn(Da(e,t),t)},sheet_to_csv:ms,sheet_to_txt:gs,sheet_to_json:hs,sheet_to_html:Pa,sheet_to_formulae:function(e){var t,n="",r="";if(null==e||null==e["!ref"])return[];var i,o=vn(e["!ref"]),a="",s=[],l=[],c=Array.isArray(e);for(i=o.s.c;i<=o.e.c;++i)s[i]=hn(i);for(var u=o.s.r;u<=o.e.r;++u)for(a=un(u),i=o.s.c;i<=o.e.c;++i)if(n=s[i]+a,r="",void 0!==(t=c?(e[u]||[])[i]:e[n])){if(null!=t.F){if(n=t.F,!t.f)continue;r=t.f,-1==n.indexOf(":")&&(n=n+":"+n)}if(null!=t.f)r=t.f;else{if("z"==t.t)continue;if("n"==t.t&&null!=t.v)r=""+t.v;else if("b"==t.t)r=t.v?"TRUE":"FALSE";else if(void 0!==t.w)r="'"+t.w;else{if(void 0===t.v)continue;r="s"==t.t?"'"+t.v:""+t.v}}l[l.length]=n+"="+r}return l},sheet_to_row_object_array:hs,sheet_get_cell:bs,book_new:ys,book_append_sheet:ws,book_set_sheet_visibility:function(e,t,n){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var r=function(e,t){if("number"==typeof t){if(t>=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}if("string"==typeof t){var n=e.SheetNames.indexOf(t);if(n>-1)return n;throw new Error("Cannot find sheet name |"+t+"|")}throw new Error("Cannot find sheet |"+t+"|")}(e,t);switch(e.Workbook.Sheets[r]||(e.Workbook.Sheets[r]={}),n){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+n)}e.Workbook.Sheets[r].Hidden=n},cell_set_number_format:function(e,t){return e.z=t,e},cell_set_hyperlink:xs,cell_set_internal_link:function(e,t,n){return xs(e,"#"+t,n)},cell_add_comment:function(e,t,n){e.c||(e.c=[]),e.c.push({t:t,a:n||"SheetJS"})},sheet_set_array_formula:function(e,t,n,r){for(var i="string"!=typeof t?t:vn(t),o="string"==typeof t?t:gn(t),a=i.s.r;a<=i.e.r;++a)for(var s=i.s.c;s<=i.e.c;++s){var l=bs(e,a,s);l.t="n",l.F=o,delete l.v,a==i.s.r&&s==i.s.c&&(l.f=n,r&&(l.D=!0))}return e},consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};r.version},,,function(e,t,n){e.exports=i;var r=n(103).EventEmitter;function i(){r.call(this)}n(11)(i,r),i.Readable=n(104),i.Writable=n(262),i.Duplex=n(263),i.Transform=n(264),i.PassThrough=n(265),i.Stream=i,i.prototype.pipe=function(e,t){var n=this;function i(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(n.on("end",s),n.on("close",l));var a=!1;function s(){a||(a=!0,e.end())}function l(){a||(a=!0,"function"===typeof e.destroy&&e.destroy())}function c(e){if(u(),0===r.listenerCount(this,"error"))throw e}function u(){n.removeListener("data",i),e.removeListener("drain",o),n.removeListener("end",s),n.removeListener("close",l),n.removeListener("error",c),e.removeListener("error",c),n.removeListener("end",u),n.removeListener("close",u),e.removeListener("close",u)}return n.on("error",c),e.on("error",c),n.on("end",u),n.on("close",u),e.on("close",u),e.emit("pipe",n),e}},function(e,t,n){"use strict";(function(t,r){var i=65536,o=4294967295;var a=n(10).Buffer,s=t.crypto||t.msCrypto;s&&s.getRandomValues?e.exports=function(e,t){if(e>o)throw new RangeError("requested too many random bytes");var n=a.allocUnsafe(e);if(e>0)if(e>i)for(var l=0;l=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0,i=(n-r)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var o=this._hash();return e?o.toString(e):o},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bottom=u,t.cloneLayout=function(e){for(var t=Array(e.length),n=0,r=e.length;nn&&(n=t);return n}function f(e){return{w:e.w,h:e.h,x:e.x,y:e.y,i:e.i,minW:e.minW,maxW:e.maxW,minH:e.minH,maxH:e.maxH,moved:Boolean(e.moved),static:Boolean(e.static),isDraggable:e.isDraggable,isResizable:e.isResizable}}var h=n(366);function d(e,t){return e.i!==t.i&&(!(e.x+e.w<=t.x)&&(!(e.x>=t.x+t.w)&&(!(e.y+e.h<=t.y)&&!(e.y>=t.y+t.h))))}function p(e,t,n){for(var r=S(e),i=T(e,t),o=Array(e.length),a=0,s=i.length;at.y+t.h)break;d(t,a)&&g(e,a,n+t[i],r)}}t[r]=n}function v(e,t,n,r,i){var o,a="horizontal"===n;if("vertical"===n)for(t.y=Math.min(u(e),t.y);t.y>0&&!w(e,t);)t.y--;else if(a)for(t.y=Math.min(u(e),t.y);t.x>0&&!w(e,t);)t.x--;for(;o=w(e,t);)a?g(i,t,o.x+o.w,"x"):g(i,t,o.y+o.h,"y"),a&&t.x+t.w>r&&(t.x=r-t.w,t.y++);return t}function b(e,t){for(var n=S(e),r=0,i=e.length;rt.cols&&(o.x=t.cols-o.w),o.x<0&&(o.x=0,o.w=t.cols),o.static)for(;w(n,o);)o.y++;else n.push(o)}return e}function y(e,t){for(var n=0,r=e.length;n=r:"horizontal"===a&&"number"===typeof n&&l>=n)&&(u=u.reverse());var f=x(u,t);if(o&&f.length)return A("Collision prevented on ".concat(t.i,", reverting.")),t.x=l,t.y=c,t.moved=!1,e;for(var h=0,d=f.length;ht.y||e.y===t.y&&e.x>t.x?1:e.y===t.y&&e.x===t.x?0:-1})}function O(e){return[].concat(e).sort(function(e,t){return e.x>t.x||e.x===t.x&&e.y>t.y?1:-1})}function C(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Layout",n=["x","y","w","h"];if(!Array.isArray(e))throw new Error(t+" must be an array!");for(var r=0,i=e.length;r>>1,z=[["ary",E],["bind",v],["bindKey",b],["curry",w],["curryRight",x],["flip",k],["partial",S],["partialRight",_],["rearg",T]],U="[object Arguments]",W="[object Array]",H="[object AsyncFunction]",Y="[object Boolean]",G="[object Date]",V="[object DOMException]",X="[object Error]",q="[object Function]",K="[object GeneratorFunction]",$="[object Map]",Z="[object Number]",J="[object Null]",Q="[object Object]",ee="[object Proxy]",te="[object RegExp]",ne="[object Set]",re="[object String]",ie="[object Symbol]",oe="[object Undefined]",ae="[object WeakMap]",se="[object WeakSet]",le="[object ArrayBuffer]",ce="[object DataView]",ue="[object Float32Array]",fe="[object Float64Array]",he="[object Int8Array]",de="[object Int16Array]",pe="[object Int32Array]",me="[object Uint8Array]",ge="[object Uint8ClampedArray]",ve="[object Uint16Array]",be="[object Uint32Array]",ye=/\b__p \+= '';/g,we=/\b(__p \+=) '' \+/g,xe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Se=/&(?:amp|lt|gt|quot|#39);/g,_e=/[&<>"']/g,Ee=RegExp(Se.source),Te=RegExp(_e.source),ke=/<%-([\s\S]+?)%>/g,Oe=/<%([\s\S]+?)%>/g,Ce=/<%=([\s\S]+?)%>/g,Ae=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Me=/^\w*$/,Pe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Re=/[\\^$.*+?()[\]{}|]/g,De=RegExp(Re.source),Ne=/^\s+|\s+$/g,Ie=/^\s+/,Le=/\s+$/,je=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Be=/\{\n\/\* \[wrapped with (.+)\] \*/,Fe=/,? & /,ze=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ue=/\\(\\)?/g,We=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,He=/\w*$/,Ye=/^[-+]0x[0-9a-f]+$/i,Ge=/^0b[01]+$/i,Ve=/^\[object .+?Constructor\]$/,Xe=/^0o[0-7]+$/i,qe=/^(?:0|[1-9]\d*)$/,Ke=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,$e=/($^)/,Ze=/['\n\r\u2028\u2029\\]/g,Je="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Qe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",et="[\\ud800-\\udfff]",tt="["+Qe+"]",nt="["+Je+"]",rt="\\d+",it="[\\u2700-\\u27bf]",ot="[a-z\\xdf-\\xf6\\xf8-\\xff]",at="[^\\ud800-\\udfff"+Qe+rt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",st="\\ud83c[\\udffb-\\udfff]",lt="[^\\ud800-\\udfff]",ct="(?:\\ud83c[\\udde6-\\uddff]){2}",ut="[\\ud800-\\udbff][\\udc00-\\udfff]",ft="[A-Z\\xc0-\\xd6\\xd8-\\xde]",ht="(?:"+ot+"|"+at+")",dt="(?:"+ft+"|"+at+")",pt="(?:"+nt+"|"+st+")"+"?",mt="[\\ufe0e\\ufe0f]?"+pt+("(?:\\u200d(?:"+[lt,ct,ut].join("|")+")[\\ufe0e\\ufe0f]?"+pt+")*"),gt="(?:"+[it,ct,ut].join("|")+")"+mt,vt="(?:"+[lt+nt+"?",nt,ct,ut,et].join("|")+")",bt=RegExp("['\u2019]","g"),yt=RegExp(nt,"g"),wt=RegExp(st+"(?="+st+")|"+vt+mt,"g"),xt=RegExp([ft+"?"+ot+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?="+[tt,ft,"$"].join("|")+")",dt+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?="+[tt,ft+ht,"$"].join("|")+")",ft+"?"+ht+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?",ft+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",rt,gt].join("|"),"g"),St=RegExp("[\\u200d\\ud800-\\udfff"+Je+"\\ufe0e\\ufe0f]"),_t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Et=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Tt=-1,kt={};kt[ue]=kt[fe]=kt[he]=kt[de]=kt[pe]=kt[me]=kt[ge]=kt[ve]=kt[be]=!0,kt[U]=kt[W]=kt[le]=kt[Y]=kt[ce]=kt[G]=kt[X]=kt[q]=kt[$]=kt[Z]=kt[Q]=kt[te]=kt[ne]=kt[re]=kt[ae]=!1;var Ot={};Ot[U]=Ot[W]=Ot[le]=Ot[ce]=Ot[Y]=Ot[G]=Ot[ue]=Ot[fe]=Ot[he]=Ot[de]=Ot[pe]=Ot[$]=Ot[Z]=Ot[Q]=Ot[te]=Ot[ne]=Ot[re]=Ot[ie]=Ot[me]=Ot[ge]=Ot[ve]=Ot[be]=!0,Ot[X]=Ot[q]=Ot[ae]=!1;var Ct={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},At=parseFloat,Mt=parseInt,Pt="object"==typeof e&&e&&e.Object===Object&&e,Rt="object"==typeof self&&self&&self.Object===Object&&self,Dt=Pt||Rt||Function("return this")(),Nt=t&&!t.nodeType&&t,It=Nt&&"object"==typeof r&&r&&!r.nodeType&&r,Lt=It&&It.exports===Nt,jt=Lt&&Pt.process,Bt=function(){try{var e=It&&It.require&&It.require("util").types;return e||jt&&jt.binding&&jt.binding("util")}catch(t){}}(),Ft=Bt&&Bt.isArrayBuffer,zt=Bt&&Bt.isDate,Ut=Bt&&Bt.isMap,Wt=Bt&&Bt.isRegExp,Ht=Bt&&Bt.isSet,Yt=Bt&&Bt.isTypedArray;function Gt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Vt(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i-1}function Jt(e,t,n){for(var r=-1,i=null==e?0:e.length;++r-1;);return n}function xn(e,t){for(var n=e.length;n--&&ln(t,e[n],0)>-1;);return n}var Sn=dn({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),_n=dn({"&":"&","<":"<",">":">",'"':""","'":"'"});function En(e){return"\\"+Ct[e]}function Tn(e){return St.test(e)}function kn(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function On(e,t){return function(n){return e(t(n))}}function Cn(e,t){for(var n=-1,r=e.length,i=0,o=[];++n",""":'"',"'":"'"});var Nn=function e(t){var n=(t=null==t?Dt:Nn.defaults(Dt.Object(),t,Nn.pick(Dt,Et))).Array,r=t.Date,i=t.Error,Je=t.Function,Qe=t.Math,et=t.Object,tt=t.RegExp,nt=t.String,rt=t.TypeError,it=n.prototype,ot=Je.prototype,at=et.prototype,st=t["__core-js_shared__"],lt=ot.toString,ct=at.hasOwnProperty,ut=0,ft=function(){var e=/[^.]+$/.exec(st&&st.keys&&st.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),ht=at.toString,dt=lt.call(et),pt=Dt._,mt=tt("^"+lt.call(ct).replace(Re,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),gt=Lt?t.Buffer:o,vt=t.Symbol,wt=t.Uint8Array,St=gt?gt.allocUnsafe:o,Ct=On(et.getPrototypeOf,et),Pt=et.create,Rt=at.propertyIsEnumerable,Nt=it.splice,It=vt?vt.isConcatSpreadable:o,jt=vt?vt.iterator:o,Bt=vt?vt.toStringTag:o,on=function(){try{var e=Bo(et,"defineProperty");return e({},"",{}),e}catch(t){}}(),dn=t.clearTimeout!==Dt.clearTimeout&&t.clearTimeout,In=r&&r.now!==Dt.Date.now&&r.now,Ln=t.setTimeout!==Dt.setTimeout&&t.setTimeout,jn=Qe.ceil,Bn=Qe.floor,Fn=et.getOwnPropertySymbols,zn=gt?gt.isBuffer:o,Un=t.isFinite,Wn=it.join,Hn=On(et.keys,et),Yn=Qe.max,Gn=Qe.min,Vn=r.now,Xn=t.parseInt,qn=Qe.random,Kn=it.reverse,$n=Bo(t,"DataView"),Zn=Bo(t,"Map"),Jn=Bo(t,"Promise"),Qn=Bo(t,"Set"),er=Bo(t,"WeakMap"),tr=Bo(et,"create"),nr=er&&new er,rr={},ir=ua($n),or=ua(Zn),ar=ua(Jn),sr=ua(Qn),lr=ua(er),cr=vt?vt.prototype:o,ur=cr?cr.valueOf:o,fr=cr?cr.toString:o;function hr(e){if(Os(e)&&!gs(e)&&!(e instanceof gr)){if(e instanceof mr)return e;if(ct.call(e,"__wrapped__"))return fa(e)}return new mr(e)}var dr=function(){function e(){}return function(t){if(!ks(t))return{};if(Pt)return Pt(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function pr(){}function mr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function gr(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=j,this.__views__=[]}function vr(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function Nr(e,t,n,r,i,a){var s,l=t&h,c=t&d,u=t&p;if(n&&(s=i?n(e,r,i,a):n(e)),s!==o)return s;if(!ks(e))return e;var f=gs(e);if(f){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&ct.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!l)return to(e,s)}else{var m=Uo(e),g=m==q||m==K;if(ws(e))return Ki(e,l);if(m==Q||m==U||g&&!i){if(s=c||g?{}:Ho(e),!l)return c?function(e,t){return no(e,zo(e),t)}(e,function(e,t){return e&&no(t,il(t),e)}(s,e)):function(e,t){return no(e,Fo(e),t)}(e,Mr(s,e))}else{if(!Ot[m])return i?e:{};s=function(e,t,n){var r,i=e.constructor;switch(t){case le:return $i(e);case Y:case G:return new i(+e);case ce:return function(e,t){var n=t?$i(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case ue:case fe:case he:case de:case pe:case me:case ge:case ve:case be:return Zi(e,n);case $:return new i;case Z:case re:return new i(e);case te:return function(e){var t=new e.constructor(e.source,He.exec(e));return t.lastIndex=e.lastIndex,t}(e);case ne:return new i;case ie:return r=e,ur?et(ur.call(r)):{}}}(e,m,l)}}a||(a=new xr);var v=a.get(e);if(v)return v;a.set(e,s),Rs(e)?e.forEach(function(r){s.add(Nr(r,t,n,r,e,a))}):Cs(e)&&e.forEach(function(r,i){s.set(i,Nr(r,t,n,i,e,a))});var b=f?o:(u?c?Po:Mo:c?il:rl)(e);return Xt(b||e,function(r,i){b&&(r=e[i=r]),Or(s,i,Nr(r,t,n,i,e,a))}),s}function Ir(e,t,n){var r=n.length;if(null==e)return!r;for(e=et(e);r--;){var i=n[r],a=t[i],s=e[i];if(s===o&&!(i in e)||!a(s))return!1}return!0}function Lr(e,t,n){if("function"!=typeof e)throw new rt(l);return ra(function(){e.apply(o,n)},t)}function jr(e,t,n,r){var i=-1,o=Zt,s=!0,l=e.length,c=[],u=t.length;if(!l)return c;n&&(t=Qt(t,vn(n))),r?(o=Jt,s=!1):t.length>=a&&(o=yn,s=!1,t=new wr(t));e:for(;++i-1},br.prototype.set=function(e,t){var n=this.__data__,r=Cr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},yr.prototype.clear=function(){this.size=0,this.__data__={hash:new vr,map:new(Zn||br),string:new vr}},yr.prototype.delete=function(e){var t=Lo(this,e).delete(e);return this.size-=t?1:0,t},yr.prototype.get=function(e){return Lo(this,e).get(e)},yr.prototype.has=function(e){return Lo(this,e).has(e)},yr.prototype.set=function(e,t){var n=Lo(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},wr.prototype.add=wr.prototype.push=function(e){return this.__data__.set(e,c),this},wr.prototype.has=function(e){return this.__data__.has(e)},xr.prototype.clear=function(){this.__data__=new br,this.size=0},xr.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},xr.prototype.get=function(e){return this.__data__.get(e)},xr.prototype.has=function(e){return this.__data__.has(e)},xr.prototype.set=function(e,t){var n=this.__data__;if(n instanceof br){var r=n.__data__;if(!Zn||r.length0&&n(s)?t>1?Hr(s,t-1,n,r,i):en(i,s):r||(i[i.length]=s)}return i}var Yr=ao(),Gr=ao(!0);function Vr(e,t){return e&&Yr(e,t,rl)}function Xr(e,t){return e&&Gr(e,t,rl)}function qr(e,t){return $t(t,function(t){return _s(e[t])})}function Kr(e,t){for(var n=0,r=(t=Gi(t,e)).length;null!=e&&nt}function Qr(e,t){return null!=e&&ct.call(e,t)}function ei(e,t){return null!=e&&t in et(e)}function ti(e,t,r){for(var i=r?Jt:Zt,a=e[0].length,s=e.length,l=s,c=n(s),u=1/0,f=[];l--;){var h=e[l];l&&t&&(h=Qt(h,vn(t))),u=Gn(h.length,u),c[l]=!r&&(t||a>=120&&h.length>=120)?new wr(l&&h):o}h=e[0];var d=-1,p=c[0];e:for(;++d=s)return l;var c=n[r];return l*("desc"==c?-1:1)}}return e.index-t.index}(e,t,n)})}function vi(e,t,n){for(var r=-1,i=t.length,o={};++r-1;)s!==e&&Nt.call(s,l,1),Nt.call(e,l,1);return e}function yi(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;Go(i)?Nt.call(e,i,1):ji(e,i)}}return e}function wi(e,t){return e+Bn(qn()*(t-e+1))}function xi(e,t){var n="";if(!e||t<1||t>N)return n;do{t%2&&(n+=e),(t=Bn(t/2))&&(e+=e)}while(t);return n}function Si(e,t){return ia(Qo(e,t,Al),e+"")}function _i(e){return _r(hl(e))}function Ei(e,t){var n=hl(e);return sa(n,Dr(t,0,n.length))}function Ti(e,t,n,r){if(!ks(e))return e;for(var i=-1,a=(t=Gi(t,e)).length,s=a-1,l=e;null!=l&&++io?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var a=n(o);++i>>1,a=e[o];null!==a&&!Ns(a)&&(n?a<=t:a=a){var u=t?null:So(e);if(u)return An(u);s=!1,i=yn,c=new wr}else c=t?[]:l;e:for(;++r=r?e:Ai(e,t,n)}var qi=dn||function(e){return Dt.clearTimeout(e)};function Ki(e,t){if(t)return e.slice();var n=e.length,r=St?St(n):new e.constructor(n);return e.copy(r),r}function $i(e){var t=new e.constructor(e.byteLength);return new wt(t).set(new wt(e)),t}function Zi(e,t){var n=t?$i(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Ji(e,t){if(e!==t){var n=e!==o,r=null===e,i=e===e,a=Ns(e),s=t!==o,l=null===t,c=t===t,u=Ns(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||r&&s&&c||!n&&c||!i)return 1;if(!r&&!a&&!u&&e1?n[i-1]:o,s=i>2?n[2]:o;for(a=e.length>3&&"function"==typeof a?(i--,a):o,s&&Vo(n[0],n[1],s)&&(a=i<3?o:a,i=1),t=et(t);++r-1?i[a?t[s]:s]:o}}function fo(e){return Ao(function(t){var n=t.length,r=n,i=mr.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new rt(l);if(i&&!s&&"wrapper"==Do(a))var s=new mr([],!0)}for(r=s?r:n;++r1&&w.reverse(),h&&ul))return!1;var u=a.get(e);if(u&&a.get(t))return u==t;var f=-1,h=!0,d=n&g?new wr:o;for(a.set(e,t),a.set(t,e);++f-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(je,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Xt(z,function(n){var r="_."+n[0];t&n[1]&&!Zt(e,r)&&e.push(r)}),e.sort()}(function(e){var t=e.match(Be);return t?t[1].split(Fe):[]}(r),n)))}function aa(e){var t=0,n=0;return function(){var r=Vn(),i=M-(r-n);if(n=r,i>0){if(++t>=A)return arguments[0]}else t=0;return e.apply(o,arguments)}}function sa(e,t){var n=-1,r=e.length,i=r-1;for(t=t===o?r:t;++n1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,Pa(e,n)});function Ba(e){var t=hr(e);return t.__chain__=!0,t}function Fa(e,t){return t(e)}var za=Ao(function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return Rr(t,e)};return!(t>1||this.__actions__.length)&&r instanceof gr&&Go(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:Fa,args:[i],thisArg:o}),new mr(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(o),e})):this.thru(i)});var Ua=ro(function(e,t,n){ct.call(e,n)?++e[n]:Pr(e,n,1)});var Wa=uo(ma),Ha=uo(ga);function Ya(e,t){return(gs(e)?Xt:Br)(e,Io(t,3))}function Ga(e,t){return(gs(e)?qt:Fr)(e,Io(t,3))}var Va=ro(function(e,t,n){ct.call(e,n)?e[n].push(t):Pr(e,n,[t])});var Xa=Si(function(e,t,r){var i=-1,o="function"==typeof t,a=bs(e)?n(e.length):[];return Br(e,function(e){a[++i]=o?Gt(t,e,r):ni(e,t,r)}),a}),qa=ro(function(e,t,n){Pr(e,n,t)});function Ka(e,t){return(gs(e)?Qt:fi)(e,Io(t,3))}var $a=ro(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]});var Za=Si(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Vo(e,t[0],t[1])?t=[]:n>2&&Vo(t[0],t[1],t[2])&&(t=[t[0]]),gi(e,Hr(t,1),[])}),Ja=In||function(){return Dt.Date.now()};function Qa(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Eo(e,E,o,o,o,o,t)}function es(e,t){var n;if("function"!=typeof t)throw new rt(l);return e=zs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var ts=Si(function(e,t,n){var r=v;if(n.length){var i=Cn(n,No(ts));r|=S}return Eo(e,r,t,n,i)}),ns=Si(function(e,t,n){var r=v|b;if(n.length){var i=Cn(n,No(ns));r|=S}return Eo(t,r,e,n,i)});function rs(e,t,n){var r,i,a,s,c,u,f=0,h=!1,d=!1,p=!0;if("function"!=typeof e)throw new rt(l);function m(t){var n=r,a=i;return r=i=o,f=t,s=e.apply(a,n)}function g(e){var n=e-u;return u===o||n>=t||n<0||d&&e-f>=a}function v(){var e=Ja();if(g(e))return b(e);c=ra(v,function(e){var n=t-(e-u);return d?Gn(n,a-(e-f)):n}(e))}function b(e){return c=o,p&&r?m(e):(r=i=o,s)}function y(){var e=Ja(),n=g(e);if(r=arguments,i=this,u=e,n){if(c===o)return function(e){return f=e,c=ra(v,t),h?m(e):s}(u);if(d)return qi(c),c=ra(v,t),m(u)}return c===o&&(c=ra(v,t)),s}return t=Ws(t)||0,ks(n)&&(h=!!n.leading,a=(d="maxWait"in n)?Yn(Ws(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),y.cancel=function(){c!==o&&qi(c),f=0,r=u=i=c=o},y.flush=function(){return c===o?s:b(Ja())},y}var is=Si(function(e,t){return Lr(e,1,t)}),os=Si(function(e,t,n){return Lr(e,Ws(t)||0,n)});function as(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new rt(l);var n=function n(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(as.Cache||yr),n}function ss(e){if("function"!=typeof e)throw new rt(l);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}as.Cache=yr;var ls=Vi(function(e,t){var n=(t=1==t.length&&gs(t[0])?Qt(t[0],vn(Io())):Qt(Hr(t,1),vn(Io()))).length;return Si(function(r){for(var i=-1,o=Gn(r.length,n);++i=t}),ms=ri(function(){return arguments}())?ri:function(e){return Os(e)&&ct.call(e,"callee")&&!Rt.call(e,"callee")},gs=n.isArray,vs=Ft?vn(Ft):function(e){return Os(e)&&Zr(e)==le};function bs(e){return null!=e&&Ts(e.length)&&!_s(e)}function ys(e){return Os(e)&&bs(e)}var ws=zn||Wl,xs=zt?vn(zt):function(e){return Os(e)&&Zr(e)==G};function Ss(e){if(!Os(e))return!1;var t=Zr(e);return t==X||t==V||"string"==typeof e.message&&"string"==typeof e.name&&!Ms(e)}function _s(e){if(!ks(e))return!1;var t=Zr(e);return t==q||t==K||t==H||t==ee}function Es(e){return"number"==typeof e&&e==zs(e)}function Ts(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=N}function ks(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Os(e){return null!=e&&"object"==typeof e}var Cs=Ut?vn(Ut):function(e){return Os(e)&&Uo(e)==$};function As(e){return"number"==typeof e||Os(e)&&Zr(e)==Z}function Ms(e){if(!Os(e)||Zr(e)!=Q)return!1;var t=Ct(e);if(null===t)return!0;var n=ct.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&<.call(n)==dt}var Ps=Wt?vn(Wt):function(e){return Os(e)&&Zr(e)==te};var Rs=Ht?vn(Ht):function(e){return Os(e)&&Uo(e)==ne};function Ds(e){return"string"==typeof e||!gs(e)&&Os(e)&&Zr(e)==re}function Ns(e){return"symbol"==typeof e||Os(e)&&Zr(e)==ie}var Is=Yt?vn(Yt):function(e){return Os(e)&&Ts(e.length)&&!!kt[Zr(e)]};var Ls=yo(ui),js=yo(function(e,t){return e<=t});function Bs(e){if(!e)return[];if(bs(e))return Ds(e)?Rn(e):to(e);if(jt&&e[jt])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[jt]());var t=Uo(e);return(t==$?kn:t==ne?An:hl)(e)}function Fs(e){return e?(e=Ws(e))===D||e===-D?(e<0?-1:1)*I:e===e?e:0:0===e?e:0}function zs(e){var t=Fs(e),n=t%1;return t===t?n?t-n:t:0}function Us(e){return e?Dr(zs(e),0,j):0}function Ws(e){if("number"==typeof e)return e;if(Ns(e))return L;if(ks(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ks(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Ne,"");var n=Ge.test(e);return n||Xe.test(e)?Mt(e.slice(2),n?2:8):Ye.test(e)?L:+e}function Hs(e){return no(e,il(e))}function Ys(e){return null==e?"":Ii(e)}var Gs=io(function(e,t){if($o(t)||bs(t))no(t,rl(t),e);else for(var n in t)ct.call(t,n)&&Or(e,n,t[n])}),Vs=io(function(e,t){no(t,il(t),e)}),Xs=io(function(e,t,n,r){no(t,il(t),e,r)}),qs=io(function(e,t,n,r){no(t,rl(t),e,r)}),Ks=Ao(Rr);var $s=Si(function(e,t){e=et(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&Vo(t[0],t[1],i)&&(r=1);++n1),t}),no(e,Po(e),n),r&&(n=Nr(n,h|d|p,Oo));for(var i=t.length;i--;)ji(n,t[i]);return n});var ll=Ao(function(e,t){return null==e?{}:function(e,t){return vi(e,t,function(t,n){return Qs(e,n)})}(e,t)});function cl(e,t){if(null==e)return{};var n=Qt(Po(e),function(e){return[e]});return t=Io(t),vi(e,n,function(e,n){return t(e,n[0])})}var ul=_o(rl),fl=_o(il);function hl(e){return null==e?[]:bn(e,rl(e))}var dl=lo(function(e,t,n){return t=t.toLowerCase(),e+(n?pl(t):t)});function pl(e){return Sl(Ys(e).toLowerCase())}function ml(e){return(e=Ys(e))&&e.replace(Ke,Sn).replace(yt,"")}var gl=lo(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),vl=lo(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),bl=so("toLowerCase");var yl=lo(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()});var wl=lo(function(e,t,n){return e+(n?" ":"")+Sl(t)});var xl=lo(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Sl=so("toUpperCase");function _l(e,t,n){return e=Ys(e),(t=n?o:t)===o?function(e){return _t.test(e)}(e)?function(e){return e.match(xt)||[]}(e):function(e){return e.match(ze)||[]}(e):e.match(t)||[]}var El=Si(function(e,t){try{return Gt(e,o,t)}catch(n){return Ss(n)?n:new i(n)}}),Tl=Ao(function(e,t){return Xt(t,function(t){t=ca(t),Pr(e,t,ts(e[t],e))}),e});function kl(e){return function(){return e}}var Ol=fo(),Cl=fo(!0);function Al(e){return e}function Ml(e){return si("function"==typeof e?e:Nr(e,h))}var Pl=Si(function(e,t){return function(n){return ni(n,e,t)}}),Rl=Si(function(e,t){return function(n){return ni(e,n,t)}});function Dl(e,t,n){var r=rl(t),i=qr(t,r);null!=n||ks(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=qr(t,rl(t)));var o=!(ks(n)&&"chain"in n)||!!n.chain,a=_s(e);return Xt(i,function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__);return(n.__actions__=to(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,en([this.value()],arguments))})}),e}function Nl(){}var Il=go(Qt),Ll=go(Kt),jl=go(rn);function Bl(e){return Xo(e)?hn(ca(e)):function(e){return function(t){return Kr(t,e)}}(e)}var Fl=bo(),zl=bo(!0);function Ul(){return[]}function Wl(){return!1}var Hl=mo(function(e,t){return e+t},0),Yl=xo("ceil"),Gl=mo(function(e,t){return e/t},1),Vl=xo("floor");var Xl=mo(function(e,t){return e*t},1),ql=xo("round"),Kl=mo(function(e,t){return e-t},0);return hr.after=function(e,t){if("function"!=typeof t)throw new rt(l);return e=zs(e),function(){if(--e<1)return t.apply(this,arguments)}},hr.ary=Qa,hr.assign=Gs,hr.assignIn=Vs,hr.assignInWith=Xs,hr.assignWith=qs,hr.at=Ks,hr.before=es,hr.bind=ts,hr.bindAll=Tl,hr.bindKey=ns,hr.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return gs(e)?e:[e]},hr.chain=Ba,hr.chunk=function(e,t,r){t=(r?Vo(e,t,r):t===o)?1:Yn(zs(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var a=0,s=0,l=n(jn(i/t));ai?0:i+n),(r=r===o||r>i?i:zs(r))<0&&(r+=i),r=n>r?0:Us(r);n>>0)?(e=Ys(e))&&("string"==typeof t||null!=t&&!Ps(t))&&!(t=Ii(t))&&Tn(e)?Xi(Rn(e),0,n):e.split(t,n):[]},hr.spread=function(e,t){if("function"!=typeof e)throw new rt(l);return t=null==t?0:Yn(zs(t),0),Si(function(n){var r=n[t],i=Xi(n,0,t);return r&&en(i,r),Gt(e,this,i)})},hr.tail=function(e){var t=null==e?0:e.length;return t?Ai(e,1,t):[]},hr.take=function(e,t,n){return e&&e.length?Ai(e,0,(t=n||t===o?1:zs(t))<0?0:t):[]},hr.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Ai(e,(t=r-(t=n||t===o?1:zs(t)))<0?0:t,r):[]},hr.takeRightWhile=function(e,t){return e&&e.length?Fi(e,Io(t,3),!1,!0):[]},hr.takeWhile=function(e,t){return e&&e.length?Fi(e,Io(t,3)):[]},hr.tap=function(e,t){return t(e),e},hr.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new rt(l);return ks(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),rs(e,t,{leading:r,maxWait:t,trailing:i})},hr.thru=Fa,hr.toArray=Bs,hr.toPairs=ul,hr.toPairsIn=fl,hr.toPath=function(e){return gs(e)?Qt(e,ca):Ns(e)?[e]:to(la(Ys(e)))},hr.toPlainObject=Hs,hr.transform=function(e,t,n){var r=gs(e),i=r||ws(e)||Is(e);if(t=Io(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:ks(e)&&_s(o)?dr(Ct(e)):{}}return(i?Xt:Vr)(e,function(e,r,i){return t(n,e,r,i)}),n},hr.unary=function(e){return Qa(e,1)},hr.union=Oa,hr.unionBy=Ca,hr.unionWith=Aa,hr.uniq=function(e){return e&&e.length?Li(e):[]},hr.uniqBy=function(e,t){return e&&e.length?Li(e,Io(t,2)):[]},hr.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?Li(e,o,t):[]},hr.unset=function(e,t){return null==e||ji(e,t)},hr.unzip=Ma,hr.unzipWith=Pa,hr.update=function(e,t,n){return null==e?e:Bi(e,t,Yi(n))},hr.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:Bi(e,t,Yi(n),r)},hr.values=hl,hr.valuesIn=function(e){return null==e?[]:bn(e,il(e))},hr.without=Ra,hr.words=_l,hr.wrap=function(e,t){return cs(Yi(t),e)},hr.xor=Da,hr.xorBy=Na,hr.xorWith=Ia,hr.zip=La,hr.zipObject=function(e,t){return Wi(e||[],t||[],Or)},hr.zipObjectDeep=function(e,t){return Wi(e||[],t||[],Ti)},hr.zipWith=ja,hr.entries=ul,hr.entriesIn=fl,hr.extend=Vs,hr.extendWith=Xs,Dl(hr,hr),hr.add=Hl,hr.attempt=El,hr.camelCase=dl,hr.capitalize=pl,hr.ceil=Yl,hr.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=Ws(n))===n?n:0),t!==o&&(t=(t=Ws(t))===t?t:0),Dr(Ws(e),t,n)},hr.clone=function(e){return Nr(e,p)},hr.cloneDeep=function(e){return Nr(e,h|p)},hr.cloneDeepWith=function(e,t){return Nr(e,h|p,t="function"==typeof t?t:o)},hr.cloneWith=function(e,t){return Nr(e,p,t="function"==typeof t?t:o)},hr.conformsTo=function(e,t){return null==t||Ir(e,t,rl(t))},hr.deburr=ml,hr.defaultTo=function(e,t){return null==e||e!==e?t:e},hr.divide=Gl,hr.endsWith=function(e,t,n){e=Ys(e),t=Ii(t);var r=e.length,i=n=n===o?r:Dr(zs(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},hr.eq=hs,hr.escape=function(e){return(e=Ys(e))&&Te.test(e)?e.replace(_e,_n):e},hr.escapeRegExp=function(e){return(e=Ys(e))&&De.test(e)?e.replace(Re,"\\$&"):e},hr.every=function(e,t,n){var r=gs(e)?Kt:zr;return n&&Vo(e,t,n)&&(t=o),r(e,Io(t,3))},hr.find=Wa,hr.findIndex=ma,hr.findKey=function(e,t){return an(e,Io(t,3),Vr)},hr.findLast=Ha,hr.findLastIndex=ga,hr.findLastKey=function(e,t){return an(e,Io(t,3),Xr)},hr.floor=Vl,hr.forEach=Ya,hr.forEachRight=Ga,hr.forIn=function(e,t){return null==e?e:Yr(e,Io(t,3),il)},hr.forInRight=function(e,t){return null==e?e:Gr(e,Io(t,3),il)},hr.forOwn=function(e,t){return e&&Vr(e,Io(t,3))},hr.forOwnRight=function(e,t){return e&&Xr(e,Io(t,3))},hr.get=Js,hr.gt=ds,hr.gte=ps,hr.has=function(e,t){return null!=e&&Wo(e,t,Qr)},hr.hasIn=Qs,hr.head=ba,hr.identity=Al,hr.includes=function(e,t,n,r){e=bs(e)?e:hl(e),n=n&&!r?zs(n):0;var i=e.length;return n<0&&(n=Yn(i+n,0)),Ds(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&ln(e,t,n)>-1},hr.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:zs(n);return i<0&&(i=Yn(r+i,0)),ln(e,t,i)},hr.inRange=function(e,t,n){return t=Fs(t),n===o?(n=t,t=0):n=Fs(n),function(e,t,n){return e>=Gn(t,n)&&e=-N&&e<=N},hr.isSet=Rs,hr.isString=Ds,hr.isSymbol=Ns,hr.isTypedArray=Is,hr.isUndefined=function(e){return e===o},hr.isWeakMap=function(e){return Os(e)&&Uo(e)==ae},hr.isWeakSet=function(e){return Os(e)&&Zr(e)==se},hr.join=function(e,t){return null==e?"":Wn.call(e,t)},hr.kebabCase=gl,hr.last=Sa,hr.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=zs(n))<0?Yn(r+i,0):Gn(i,r-1)),t===t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):sn(e,un,i,!0)},hr.lowerCase=vl,hr.lowerFirst=bl,hr.lt=Ls,hr.lte=js,hr.max=function(e){return e&&e.length?Ur(e,Al,Jr):o},hr.maxBy=function(e,t){return e&&e.length?Ur(e,Io(t,2),Jr):o},hr.mean=function(e){return fn(e,Al)},hr.meanBy=function(e,t){return fn(e,Io(t,2))},hr.min=function(e){return e&&e.length?Ur(e,Al,ui):o},hr.minBy=function(e,t){return e&&e.length?Ur(e,Io(t,2),ui):o},hr.stubArray=Ul,hr.stubFalse=Wl,hr.stubObject=function(){return{}},hr.stubString=function(){return""},hr.stubTrue=function(){return!0},hr.multiply=Xl,hr.nth=function(e,t){return e&&e.length?mi(e,zs(t)):o},hr.noConflict=function(){return Dt._===this&&(Dt._=pt),this},hr.noop=Nl,hr.now=Ja,hr.pad=function(e,t,n){e=Ys(e);var r=(t=zs(t))?Pn(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return vo(Bn(i),n)+e+vo(jn(i),n)},hr.padEnd=function(e,t,n){e=Ys(e);var r=(t=zs(t))?Pn(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var i=qn();return Gn(e+i*(t-e+At("1e-"+((i+"").length-1))),t)}return wi(e,t)},hr.reduce=function(e,t,n){var r=gs(e)?tn:pn,i=arguments.length<3;return r(e,Io(t,4),n,i,Br)},hr.reduceRight=function(e,t,n){var r=gs(e)?nn:pn,i=arguments.length<3;return r(e,Io(t,4),n,i,Fr)},hr.repeat=function(e,t,n){return t=(n?Vo(e,t,n):t===o)?1:zs(t),xi(Ys(e),t)},hr.replace=function(){var e=arguments,t=Ys(e[0]);return e.length<3?t:t.replace(e[1],e[2])},hr.result=function(e,t,n){var r=-1,i=(t=Gi(t,e)).length;for(i||(i=1,e=o);++rN)return[];var n=j,r=Gn(e,j);t=Io(t),e-=j;for(var i=gn(r,t);++n=a)return e;var l=n-Pn(r);if(l<1)return r;var c=s?Xi(s,0,l).join(""):e.slice(0,l);if(i===o)return c+r;if(s&&(l+=c.length-l),Ps(i)){if(e.slice(l).search(i)){var u,f=c;for(i.global||(i=tt(i.source,Ys(He.exec(i))+"g")),i.lastIndex=0;u=i.exec(f);)var h=u.index;c=c.slice(0,h===o?l:h)}}else if(e.indexOf(Ii(i),l)!=l){var d=c.lastIndexOf(i);d>-1&&(c=c.slice(0,d))}return c+r},hr.unescape=function(e){return(e=Ys(e))&&Ee.test(e)?e.replace(Se,Dn):e},hr.uniqueId=function(e){var t=++ut;return Ys(e)+t},hr.upperCase=xl,hr.upperFirst=Sl,hr.each=Ya,hr.eachRight=Ga,hr.first=ba,Dl(hr,function(){var e={};return Vr(hr,function(t,n){ct.call(hr.prototype,n)||(e[n]=t)}),e}(),{chain:!1}),hr.VERSION="4.17.15",Xt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){hr[e].placeholder=hr}),Xt(["drop","take"],function(e,t){gr.prototype[e]=function(n){n=n===o?1:Yn(zs(n),0);var r=this.__filtered__&&!t?new gr(this):this.clone();return r.__filtered__?r.__takeCount__=Gn(n,r.__takeCount__):r.__views__.push({size:Gn(n,j),type:e+(r.__dir__<0?"Right":"")}),r},gr.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),Xt(["filter","map","takeWhile"],function(e,t){var n=t+1,r=n==P||3==n;gr.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Io(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),Xt(["head","last"],function(e,t){var n="take"+(t?"Right":"");gr.prototype[e]=function(){return this[n](1).value()[0]}}),Xt(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");gr.prototype[e]=function(){return this.__filtered__?new gr(this):this[n](1)}}),gr.prototype.compact=function(){return this.filter(Al)},gr.prototype.find=function(e){return this.filter(e).head()},gr.prototype.findLast=function(e){return this.reverse().find(e)},gr.prototype.invokeMap=Si(function(e,t){return"function"==typeof e?new gr(this):this.map(function(n){return ni(n,e,t)})}),gr.prototype.reject=function(e){return this.filter(ss(Io(e)))},gr.prototype.slice=function(e,t){e=zs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new gr(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=zs(t))<0?n.dropRight(-t):n.take(t-e)),n)},gr.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},gr.prototype.toArray=function(){return this.take(j)},Vr(gr.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=hr[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);i&&(hr.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,l=t instanceof gr,c=s[0],u=l||gs(t),f=function(e){var t=i.apply(hr,en([e],s));return r&&h?t[0]:t};u&&n&&"function"==typeof c&&1!=c.length&&(l=u=!1);var h=this.__chain__,d=!!this.__actions__.length,p=a&&!h,m=l&&!d;if(!a&&u){t=m?t:new gr(this);var g=e.apply(t,s);return g.__actions__.push({func:Fa,args:[f],thisArg:o}),new mr(g,h)}return p&&m?e.apply(this,s):(g=this.thru(f),p?r?g.value()[0]:g.value():g)})}),Xt(["pop","push","shift","sort","splice","unshift"],function(e){var t=it[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);hr.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(gs(i)?i:[],e)}return this[n](function(n){return t.apply(gs(n)?n:[],e)})}}),Vr(gr.prototype,function(e,t){var n=hr[t];if(n){var r=n.name+"";ct.call(rr,r)||(rr[r]=[]),rr[r].push({name:t,func:n})}}),rr[ho(o,b).name]=[{name:"wrapper",func:o}],gr.prototype.clone=function(){var e=new gr(this.__wrapped__);return e.__actions__=to(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=to(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=to(this.__views__),e},gr.prototype.reverse=function(){if(this.__filtered__){var e=new gr(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},gr.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=gs(e),r=t<0,i=n?e.length:0,o=function(e,t,n){for(var r=-1,i=n.length;++r=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},hr.prototype.plant=function(e){for(var t,n=this;n instanceof pr;){var r=fa(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},hr.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof gr){var t=e;return this.__actions__.length&&(t=new gr(this)),(t=t.reverse()).__actions__.push({func:Fa,args:[ka],thisArg:o}),new mr(t,this.__chain__)}return this.thru(ka)},hr.prototype.toJSON=hr.prototype.valueOf=hr.prototype.value=function(){return zi(this.__wrapped__,this.__actions__)},hr.prototype.first=hr.prototype.head,jt&&(hr.prototype[jt]=function(){return this}),hr}();Dt._=Nn,(i=function(){return Nn}.call(t,n,t,r))===o||(r.exports=i)}).call(this)}).call(this,n(28),n(83)(e))},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(13),a=n.n(o),s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var c={get:function(e,t,n){if(!t)return e;var r=f(t),i=void 0;try{i=r.reduce(function(e,t){return e[t]},e)}catch(o){}return"undefined"!==typeof i?i:n},set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],n=arguments[2],r=f(t),i=void 0,o=e;for(;(i=r.shift())&&r.length;)o[i]||(o[i]={}),o=o[i];return o[i]=n,e},takeRight:function(e,t){var n=t>e.length?0:e.length-t;return e.slice(n)},last:function(e){return e[e.length-1]},orderBy:function(e,t,n,r){return e.sort(function(e,i){for(var o=0;o1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e;return"function"===typeof e?i.a.createElement(e,t):n},asPx:function(e){return e=Number(e),Number.isNaN(e)?null:e+"px"}};function u(e){return Array.isArray(e)}function f(e){return function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(u(t))for(var r=0;r=i.pages?i.pages-1:i.page,0)),this.setState(i,function(){t&&t(),r.page===i.page&&r.pageSize===i.pageSize&&r.sorted===i.sorted&&r.filtered===i.filtered||n.fireFetchData()})}}]),n}()},p=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(l){i=!0,o=l}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),m=Object.assign||function(e){for(var t=1;t-1)&&c.getFirstDefined(e.show,!0)});return m({},e,{columns:t})}return e})).filter(function(e){return e.columns?e.columns.length:!(a.indexOf(e.id)>-1)&&c.getFirstDefined(e.show,!0)})).findIndex(function(e){return e.pivot});if(a.length){var P=[];a.forEach(function(e){var t=k.find(function(t){return t.id===e});t&&P.push(t)});var R=P.reduce(function(e,t){return e&&e===t.parentColumn&&t.parentColumn},P[0].parentColumn),D=_&&R.Header,N={Header:D=D||function(){return i.a.createElement("strong",null,"Pivoted")},columns:P.map(function(e){return m({},n.props.pivotDefaults,e,{pivoted:!0})})};M>=0?(N=m({},C[M],N),C.splice(M,1,N)):C.unshift(N)}var I=[],L=[],j=function(e,t){I.push(m({},n.props.column,t,{columns:e})),L=[]};C.forEach(function(e){if(e.columns)return A=A.concat(e.columns),L.length>0&&j(L),void j(e.columns,e);A.push(e),L.push(e)}),_&&L.length>0&&j(L);var B=this.resolvedData;this.resolvedData&&!t||(B=l(s),this.resolvedData=B),B=B.map(function(e,t){return function e(t,n){var r,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=(v(r={},y,t),v(r,w,n),v(r,h,t[h]),v(r,g,i),r);return k.forEach(function(e){e.expander||(o[e.id]=e.accessor(t))}),o[h]&&(o[h]=o[h].map(function(t,n){return e(t,n,i+1)})),o}(e,t)});var F=A.filter(function(e){return!e.expander&&e.aggregate});if(a.length){B=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(r===n.length)return t;var i=Object.entries(c.groupBy(t,n[r])).map(function(e){var t,i=p(e,2),o=i[0],a=i[1];return v(t={},u,n[r]),v(t,f,o),v(t,n[r],o),v(t,h,a),v(t,g,r),v(t,x,!0),t});return i=i.map(function(t){var i,o=e(t[h],n,r+1);return m({},t,(v(i={},h,o),v(i,d,!0),i),function(e){var t={};return F.forEach(function(n){var r=e.map(function(e){return e[n.id]});t[n.id]=n.aggregate(r,e)}),t}(o))})}(B,a)}return m({},e,{resolvedData:B,allVisibleColumns:A,headerGroups:I,allDecoratedColumns:k,hasHeaderGroups:_})}},{key:"getSortedData",value:function(e){var t=e.manual,n=e.sorted,r=e.filtered,i=e.defaultFilterMethod,o=e.resolvedData,a=e.allDecoratedColumns,s={};return a.filter(function(e){return e.sortMethod}).forEach(function(e){s[e.id]=e.sortMethod}),{sortedData:t?o:this.sortData(this.filterData(o,r,i,a),n,s)}}},{key:"fireFetchData",value:function(){var e=m({},this.getResolvedState(),{page:this.getStateOrProp("page"),pageSize:this.getStateOrProp("pageSize"),filter:this.getStateOrProp("filter")});this.props.onFetchData(e,this)}},{key:"getPropOrState",value:function(e){return c.getFirstDefined(this.props[e],this.state[e])}},{key:"getStateOrProp",value:function(e){return c.getFirstDefined(this.state[e],this.props[e])}},{key:"filterData",value:function(e,t,n,r){var i=this,o=e;return t.length&&(o=(o=t.reduce(function(e,t){var i=r.find(function(e){return e.id===t.id});if(!i||!1===i.filterable)return e;var o=i.filterMethod||n;return i.filterAll?o(t,e,i):e.filter(function(e){return o(t,e,i)})},o)).map(function(e){return e[i.props.subRowsKey]?m({},e,v({},i.props.subRowsKey,i.filterData(e[i.props.subRowsKey],t,n,r))):e}).filter(function(e){return!e[i.props.subRowsKey]||e[i.props.subRowsKey].length>0})),o}},{key:"sortData",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t.length)return e;var i=(this.props.orderByMethod||c.orderBy)(e,t.map(function(e){return r[e.id]?function(t,n){return r[e.id](t[e.id],n[e.id],e.desc)}:function(t,r){return n.props.defaultSortMethod(t[e.id],r[e.id],e.desc)}}),t.map(function(e){return!e.desc}),this.props.indexKey);return i.forEach(function(e){e[n.props.subRowsKey]&&(e[n.props.subRowsKey]=n.sortData(e[n.props.subRowsKey],t,r))}),i}},{key:"getMinRows",value:function(){return c.getFirstDefined(this.props.minRows,this.getStateOrProp("pageSize"))}},{key:"onPageChange",value:function(e){var t=this.props,n=t.onPageChange,r=t.collapseOnPageChange,i={page:e};r&&(i.expanded={}),this.setStateWithData(i,function(){return n&&n(e)})}},{key:"onPageSizeChange",value:function(e){var t=this.props.onPageSizeChange,n=this.getResolvedState(),r=n.pageSize*n.page,i=Math.floor(r/e);this.setStateWithData({pageSize:e,page:i},function(){return t&&t(e,i)})}},{key:"sortColumn",value:function(e,t){var n=this.getResolvedState(),r=n.sorted,i=n.skipNextSort,o=n.defaultSortDesc,a=Object.prototype.hasOwnProperty.call(e,"defaultSortDesc")?e.defaultSortDesc:o,s=!a;if(i)this.setStateWithData({skipNextSort:!1});else{var l=this.props.onSortedChange,u=c.clone(r||[]).map(function(e){return e.desc=c.isSortingDesc(e),e});if(c.isArray(e)){var f=u.findIndex(function(t){return t.id===e[0].id});if(f>-1)u[f].desc===s?t?u.splice(f,e.length):e.forEach(function(e,t){u[f+t].desc=a}):e.forEach(function(e,t){u[f+t].desc=s}),t||(u=u.slice(f,e.length));else u=t?u.concat(e.map(function(e){return{id:e.id,desc:a}})):e.map(function(e){return{id:e.id,desc:a}})}else{var h=u.findIndex(function(t){return t.id===e.id});if(h>-1){var d=u[h];d.desc===s?t?u.splice(h,1):(d.desc=a,u=[d]):(d.desc=s,t||(u=[d]))}else t?u.push({id:e.id,desc:a}):u=[{id:e.id,desc:a}]}this.setStateWithData({page:!r.length&&u.length||!t?0:this.state.page,sorted:u},function(){return l&&l(u,e,t)})}}},{key:"filterColumn",value:function(e,t){var n=this.getResolvedState().filtered,r=this.props.onFilteredChange,i=(n||[]).filter(function(t){return t.id!==e.id});""!==t&&i.push({id:e.id,value:t}),this.setStateWithData({filtered:i},function(){return r&&r(i,e,t)})}},{key:"resizeColumnStart",value:function(e,t,n){var r=this;e.stopPropagation();var i=e.target.parentElement.getBoundingClientRect().width,o=void 0;o=n?e.changedTouches[0].pageX:e.pageX,this.trapEvents=!0,this.setStateWithData({currentlyResizing:{id:t.id,startX:o,parentWidth:i}},function(){n?(document.addEventListener("touchmove",r.resizeColumnMoving),document.addEventListener("touchcancel",r.resizeColumnEnd),document.addEventListener("touchend",r.resizeColumnEnd)):(document.addEventListener("mousemove",r.resizeColumnMoving),document.addEventListener("mouseup",r.resizeColumnEnd),document.addEventListener("mouseleave",r.resizeColumnEnd))})}},{key:"resizeColumnMoving",value:function(e){e.stopPropagation();var t=this.props,n=t.onResizedChange,r=t.column,i=this.getResolvedState(),o=i.resized,a=i.currentlyResizing,s=i.columns.find(function(e){return e.accessor===a.id||e.id===a.id}),l=s&&null!=s.minResizeWidth?s.minResizeWidth:r.minResizeWidth,c=o.filter(function(e){return e.id!==a.id}),u=void 0;"touchmove"===e.type?u=e.changedTouches[0].pageX:"mousemove"===e.type&&(u=e.pageX);var f=Math.max(a.parentWidth+u-a.startX,l);c.push({id:a.id,value:f}),this.setStateWithData({resized:c},function(){return n&&n(c,e)})}},{key:"resizeColumnEnd",value:function(e){e.stopPropagation();var t="touchend"===e.type||"touchcancel"===e.type;t&&(document.removeEventListener("touchmove",this.resizeColumnMoving),document.removeEventListener("touchcancel",this.resizeColumnEnd),document.removeEventListener("touchend",this.resizeColumnEnd)),document.removeEventListener("mousemove",this.resizeColumnMoving),document.removeEventListener("mouseup",this.resizeColumnEnd),document.removeEventListener("mouseleave",this.resizeColumnEnd),t||this.setStateWithData({skipNextSort:!0,currentlyResizing:!1})}}]),n}()},w=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var O=function(){return{}},C={data:[],resolveData:function(e){return e},loading:!1,showPagination:!0,showPaginationTop:!1,showPaginationBottom:!0,showPageSizeOptions:!0,pageSizeOptions:[5,10,20,25,50,100],defaultPage:0,defaultPageSize:20,showPageJump:!0,collapseOnSortingChange:!0,collapseOnPageChange:!0,collapseOnDataChange:!0,freezeWhenExpanded:!1,sortable:!0,multiSort:!0,resizable:!0,filterable:!1,defaultSortDesc:!1,defaultSorted:[],defaultFiltered:[],defaultResized:[],defaultExpanded:{},defaultFilterMethod:function(e,t,n){var r=e.pivotId||e.id;return void 0===t[r]||String(t[r]).startsWith(e.value)},defaultSortMethod:function(e,t,n){return t=null===t||void 0===t?"":t,(e="string"===typeof(e=null===e||void 0===e?"":e)?e.toLowerCase():e)>(t="string"===typeof t?t.toLowerCase():t)?1:e1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1;return[t.map(function(t,i){var o=D({},t,{_viewIndex:r+=1}),a=n.concat([i]);if(o[V]&&c.get(re,a)){var s=e(o[V],a,r),l=R(s,2);o[V]=l[0],r=l[1]}return o}),r]}(De),Fe=R(Be,1);De=Fe[0];var ze=Q>0,Ue=Q+12&&void 0!==arguments[2]?arguments[2]:[],s={original:n[q],row:n,index:n[K],viewIndex:He+=1,pageSize:J,page:Q,level:o.length,nestingPath:o.concat([r]),aggregated:n[X],groupedByPivot:n[$],subRows:n[V]},l=c.get(re,s.nestingPath),u=w(Ye,s,void 0,e),f=c.splitProps(x(Ye,s,void 0,e));return i.a.createElement(ce,D({key:s.nestingPath.join("_")},u),i.a.createElement(ue,D({className:a()(f.className,n._viewIndex%2?"-even":"-odd"),style:f.style},f.rest),ke.map(function(t,r){var o=ne.find(function(e){return e.id===t.id})||{},u="function"===typeof t.show?t.show():t.show,f=c.getFirstDefined(o.value,t.width,t.minWidth),h=c.getFirstDefined(o.value,t.width,t.maxWidth),d=c.splitProps(S(Ye,s,t,e)),p=c.splitProps(t.getProps(Ye,s,t,e)),m=[d.className,t.className,p.className],g=D({},d.style,t.style,p.style),v=D({},s,{isExpanded:l,column:D({},t),value:s.row[t.id],pivoted:t.pivoted,expander:t.expander,resized:ne,show:u,width:f,maxWidth:h,tdProps:d,columnProps:p,classes:m,styles:g}),b=v.value,y=void 0,w=void 0,x=void 0,_=c.normalizeComponent(t.Cell,v,b),E=t.Aggregated||(t.aggregate?t.Cell:Se),T=t.Expander||ye,k=t.PivotValue||we,O=xe||function(e){return i.a.createElement("div",null,i.a.createElement(T,e),i.a.createElement(k,e))},C=t.Pivot||O;(v.pivoted||v.expander)&&(v.expandable=!0,y=!0,!v.pivoted||v.subRows||ge||(v.expandable=!1)),v.pivoted?(w=s.row[H]===t.id&&v.subRows,x=G.indexOf(t.id)>G.indexOf(s.row[H])&&v.subRows,_=w?c.normalizeComponent(C,D({},v,{value:n[Y]}),n[Y]):x?c.normalizeComponent(E,v,b):null):v.aggregated&&(_=c.normalizeComponent(E,v,b)),v.expander&&(_=c.normalizeComponent(T,v,n[Y]),G&&(v.groupedByPivot&&(_=null),v.subRows||ge||(_=null)));var A=y?function(t){var n=c.clone(re);return n=l?c.set(n,v.nestingPath,!1):c.set(n,v.nestingPath,{}),e.setStateWithData({expanded:n},function(){return oe&&oe(n,v.nestingPath,t,v)})}:function(){},M={onClick:A};return d.rest.onClick&&(M.onClick=function(e){d.rest.onClick(e,function(){return A(e)})}),p.rest.onClick&&(M.onClick=function(e){p.rest.onClick(e,function(){return A(e)})}),i.a.createElement(he,D({key:r+"-"+t.id,className:a()(m,!v.expandable&&!u&&"hidden",v.expandable&&"rt-expandable",(w||x)&&"rt-pivot"),style:D({},g,{flex:f+" 0 auto",width:c.asPx(f),maxWidth:c.asPx(h)})},d.rest,p.rest,M),_)})),s.subRows&&l&&s.subRows.map(function(e,n){return t(e,n,s.nestingPath)}),ge&&!s.subRows&&l&&ge(s,function(){var e=c.clone(re);c.set(e,s.nestingPath,!1)}))}(t,n)}),Ie.map(et)),Le?function(){var t=c.splitProps(_(Ye,void 0,void 0,e)),n=c.splitProps(E(Ye,void 0,void 0,e));return i.a.createElement(de,D({className:t.className,style:D({},t.style,{minWidth:We+"px"})},t.rest),i.a.createElement(ue,D({className:a()(n.className),style:n.style},n.rest),ke.map(tt)))}():null),P&&I?i.a.createElement("div",{className:"pagination-bottom"},nt(!1)):null,!De.length&&i.a.createElement(ve,Ke,c.normalizeComponent(B)),i.a.createElement(me,D({loading:Z,loadingText:j},qe)))};return n?n(Ye,rt,this):rt()}}]),t}();I.propTypes=P,I.defaultProps=C;t.a=I},function(e,t,n){"use strict";var r=n(68);function i(){return!function(){if("object"!==typeof navigator||"string"!==typeof navigator.userAgent)return!1;return navigator.userAgent.indexOf("Node.js")>=0||navigator.userAgent.indexOf("jsdom")>=0}()&&("object"===typeof document&&"string"===typeof document.cookie)}function o(e,t){void 0===t&&(t={});var n=function(e){if(e&&"j"===e[0]&&":"===e[1])return e.substr(2);return e}(e);if(function(e,t){return"undefined"===typeof t&&(t=!e||"{"!==e[0]&&"["!==e[0]&&'"'!==e[0]),!t}(n,t.doNotParse))try{return JSON.parse(n)}catch(r){}return e}var a=n(101),s=function(){function e(e){var t=this;this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.cookies=function(e){return"string"===typeof e?r.parse(e):"object"===typeof e&&null!==e?e:{}}(e),new Promise(function(){t.HAS_DOCUMENT_COOKIE=i()}).catch(function(){})}return e.prototype._updateBrowserValues=function(){this.HAS_DOCUMENT_COOKIE&&(this.cookies=r.parse(document.cookie))},e.prototype._emitChange=function(e){for(var t=0;t=0&&this.changeListeners.splice(t,1)},e}();t.a=s},function(e,t,n){"use strict";t.parse=function(e,t){if("string"!==typeof e)throw new TypeError("argument str must be a string");for(var n={},i=t||{},a=e.split(o),l=i.decode||r,c=0;c=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var i=0;i>>24&255,r[i++]=e>>>16&255,r[i++]=e>>>8&255,r[i++]=255&e}else for(r[i++]=255&e,r[i++]=e>>>8&255,r[i++]=e>>>16&255,r[i++]=e>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,o=8;o=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return e}}),l=r[n];n=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),p(n)?r.showHidden=n:n&&t._extend(r,n),b(r.showHidden)&&(r.showHidden=!1),b(r.depth)&&(r.depth=2),b(r.colors)&&(r.colors=!1),b(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=l),u(r,e,r.depth)}function l(e,t){var n=s.styles[t];return n?"\x1b["+s.colors[n][0]+"m"+e+"\x1b["+s.colors[n][1]+"m":e}function c(e,t){return e}function u(e,n,r){if(e.customInspect&&n&&_(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return v(i)||(i=u(e,i,r)),i}var o=function(e,t){if(b(t))return e.stylize("undefined","undefined");if(v(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(g(t))return e.stylize(""+t,"number");if(p(t))return e.stylize(""+t,"boolean");if(m(t))return e.stylize("null","null")}(e,n);if(o)return o;var a=Object.keys(n),s=function(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),S(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return f(n);if(0===a.length){if(_(n)){var l=n.name?": "+n.name:"";return e.stylize("[Function"+l+"]","special")}if(y(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(x(n))return e.stylize(Date.prototype.toString.call(n),"date");if(S(n))return f(n)}var c,w="",E=!1,T=["{","}"];(d(n)&&(E=!0,T=["[","]"]),_(n))&&(w=" [Function"+(n.name?": "+n.name:"")+"]");return y(n)&&(w=" "+RegExp.prototype.toString.call(n)),x(n)&&(w=" "+Date.prototype.toUTCString.call(n)),S(n)&&(w=" "+f(n)),0!==a.length||E&&0!=n.length?r<0?y(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),c=E?function(e,t,n,r,i){for(var o=[],a=0,s=t.length;a=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(c,w,T)):T[0]+w+T[1]}function f(e){return"["+Error.prototype.toString.call(e)+"]"}function h(e,t,n,r,i,o){var a,s,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),O(r,i)||(a="["+i+"]"),s||(e.seen.indexOf(l.value)<0?(s=m(n)?u(e,l.value,null):u(e,l.value,n-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+s.split("\n").map(function(e){return" "+e}).join("\n")):s=e.stylize("[Circular]","special")),b(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function d(e){return Array.isArray(e)}function p(e){return"boolean"===typeof e}function m(e){return null===e}function g(e){return"number"===typeof e}function v(e){return"string"===typeof e}function b(e){return void 0===e}function y(e){return w(e)&&"[object RegExp]"===E(e)}function w(e){return"object"===typeof e&&null!==e}function x(e){return w(e)&&"[object Date]"===E(e)}function S(e){return w(e)&&("[object Error]"===E(e)||e instanceof Error)}function _(e){return"function"===typeof e}function E(e){return Object.prototype.toString.call(e)}function T(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(n){if(b(o)&&(o=Object({NODE_ENV:"production",PUBLIC_URL:""}).NODE_DEBUG||""),n=n.toUpperCase(),!a[n])if(new RegExp("\\b"+n+"\\b","i").test(o)){var r=e.pid;a[n]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",n,r,e)}}else a[n]=function(){};return a[n]},t.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=d,t.isBoolean=p,t.isNull=m,t.isNullOrUndefined=function(e){return null==e},t.isNumber=g,t.isString=v,t.isSymbol=function(e){return"symbol"===typeof e},t.isUndefined=b,t.isRegExp=y,t.isObject=w,t.isDate=x,t.isError=S,t.isFunction=_,t.isPrimitive=function(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e},t.isBuffer=n(266);var k=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function O(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",function(){var e=new Date,t=[T(e.getHours()),T(e.getMinutes()),T(e.getSeconds())].join(":");return[e.getDate(),k[e.getMonth()],t].join(" ")}(),t.format.apply(t,arguments))},t.inherits=n(267),t._extend=function(e,t){if(!t||!w(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var C="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;function A(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}t.promisify=function(e){if("function"!==typeof e)throw new TypeError('The "original" argument must be of type Function');if(C&&e[C]){var t;if("function"!==typeof(t=e[C]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,C,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise(function(e,r){t=e,n=r}),i=[],o=0;o>>24]^u[p>>>16&255]^f[m>>>8&255]^h[255&g]^t[v++],a=c[p>>>24]^u[m>>>16&255]^f[g>>>8&255]^h[255&d]^t[v++],s=c[m>>>24]^u[g>>>16&255]^f[d>>>8&255]^h[255&p]^t[v++],l=c[g>>>24]^u[d>>>16&255]^f[p>>>8&255]^h[255&m]^t[v++],d=o,p=a,m=s,g=l;return o=(r[d>>>24]<<24|r[p>>>16&255]<<16|r[m>>>8&255]<<8|r[255&g])^t[v++],a=(r[p>>>24]<<24|r[m>>>16&255]<<16|r[g>>>8&255]<<8|r[255&d])^t[v++],s=(r[m>>>24]<<24|r[g>>>16&255]<<16|r[d>>>8&255]<<8|r[255&p])^t[v++],l=(r[g>>>24]<<24|r[d>>>16&255]<<16|r[p>>>8&255]<<8|r[255&m])^t[v++],[o>>>=0,a>>>=0,s>>>=0,l>>>=0]}var s=[0,1,2,4,8,16,32,64,128,27,54],l=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var n=[],r=[],i=[[],[],[],[]],o=[[],[],[],[]],a=0,s=0,l=0;l<256;++l){var c=s^s<<1^s<<2^s<<3^s<<4;c=c>>>8^255&c^99,n[a]=c,r[c]=a;var u=e[a],f=e[u],h=e[f],d=257*e[c]^16843008*c;i[0][a]=d<<24|d>>>8,i[1][a]=d<<16|d>>>16,i[2][a]=d<<8|d>>>24,i[3][a]=d,d=16843009*h^65537*f^257*u^16843008*a,o[0][c]=d<<24|d>>>8,o[1][c]=d<<16|d>>>16,o[2][c]=d<<8|d>>>24,o[3][c]=d,0===a?a=s=1:(a=u^e[e[e[h^u]]],s^=e[e[s]])}return{SBOX:n,INV_SBOX:r,SUB_MIX:i,INV_SUB_MIX:o}}();function c(e){this._key=i(e),this._reset()}c.blockSize=16,c.keySize=32,c.prototype.blockSize=c.blockSize,c.prototype.keySize=c.keySize,c.prototype._reset=function(){for(var e=this._key,t=e.length,n=t+6,r=4*(n+1),i=[],o=0;o>>24,a=l.SBOX[a>>>24]<<24|l.SBOX[a>>>16&255]<<16|l.SBOX[a>>>8&255]<<8|l.SBOX[255&a],a^=s[o/t|0]<<24):t>6&&o%t===4&&(a=l.SBOX[a>>>24]<<24|l.SBOX[a>>>16&255]<<16|l.SBOX[a>>>8&255]<<8|l.SBOX[255&a]),i[o]=i[o-t]^a}for(var c=[],u=0;u>>24]]^l.INV_SUB_MIX[1][l.SBOX[h>>>16&255]]^l.INV_SUB_MIX[2][l.SBOX[h>>>8&255]]^l.INV_SUB_MIX[3][l.SBOX[255&h]]}this._nRounds=n,this._keySchedule=i,this._invKeySchedule=c},c.prototype.encryptBlockRaw=function(e){return a(e=i(e),this._keySchedule,l.SUB_MIX,l.SBOX,this._nRounds)},c.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),n=r.allocUnsafe(16);return n.writeUInt32BE(t[0],0),n.writeUInt32BE(t[1],4),n.writeUInt32BE(t[2],8),n.writeUInt32BE(t[3],12),n},c.prototype.decryptBlock=function(e){var t=(e=i(e))[1];e[1]=e[3],e[3]=t;var n=a(e,this._invKeySchedule,l.INV_SUB_MIX,l.INV_SBOX,this._nRounds),o=r.allocUnsafe(16);return o.writeUInt32BE(n[0],0),o.writeUInt32BE(n[3],4),o.writeUInt32BE(n[2],8),o.writeUInt32BE(n[1],12),o},c.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},e.exports.AES=c},function(e,t,n){var r=n(10).Buffer,i=n(108);e.exports=function(e,t,n,o){if(r.isBuffer(e)||(e=r.from(e,"binary")),t&&(r.isBuffer(t)||(t=r.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var a=n/8,s=r.alloc(a),l=r.alloc(o||0),c=r.alloc(0);a>0||o>0;){var u=new i;u.update(c),u.update(e),t&&u.update(t),c=u.digest();var f=0;if(a>0){var h=s.length-a;f=Math.min(a,c.length),c.copy(s,h,0,f),a-=f}if(f0){var d=l.length-o,p=Math.min(o,c.length-f);c.copy(l,d,f,f+p),o-=p}}return c.fill(0),{key:s,iv:l}}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";var r=n(26),i=n(36),o=i.getNAF,a=i.getJSF,s=i.assert;function l(e,t){this.type=e,this.p=new r(t.p,16),this.red=t.prime?r.red(t.prime):r.mont(this.p),this.zero=new r(0).toRed(this.red),this.one=new r(1).toRed(this.red),this.two=new r(2).toRed(this.red),this.n=t.n&&new r(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4);var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function c(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=l,l.prototype.point=function(){throw new Error("Not implemented")},l.prototype.validate=function(){throw new Error("Not implemented")},l.prototype._fixedNafMul=function(e,t){s(e.precomputed);var n=e._getDoubles(),r=o(t,1),i=(1<=l;t--)c=(c<<1)+r[t];a.push(c)}for(var u=this.jpoint(null,null,null),f=this.jpoint(null,null,null),h=i;h>0;h--){for(l=0;l=0;c--){for(t=0;c>=0&&0===a[c];c--)t++;if(c>=0&&t++,l=l.dblp(t),c<0)break;var u=a[c];s(0!==u),l="affine"===e.type?u>0?l.mixedAdd(i[u-1>>1]):l.mixedAdd(i[-u-1>>1].neg()):u>0?l.add(i[u-1>>1]):l.add(i[-u-1>>1].neg())}return"affine"===e.type?l.toP():l},l.prototype._wnafMulAdd=function(e,t,n,r,i){for(var s=this._wnafT1,l=this._wnafT2,c=this._wnafT3,u=0,f=0;f=1;f-=2){var d=f-1,p=f;if(1===s[d]&&1===s[p]){var m=[t[d],null,null,t[p]];0===t[d].y.cmp(t[p].y)?(m[1]=t[d].add(t[p]),m[2]=t[d].toJ().mixedAdd(t[p].neg())):0===t[d].y.cmp(t[p].y.redNeg())?(m[1]=t[d].toJ().mixedAdd(t[p]),m[2]=t[d].add(t[p].neg())):(m[1]=t[d].toJ().mixedAdd(t[p]),m[2]=t[d].toJ().mixedAdd(t[p].neg()));var g=[-3,-1,-5,-7,0,7,5,1,3],v=a(n[d],n[p]);u=Math.max(v[0].length,u),c[d]=new Array(u),c[p]=new Array(u);for(var b=0;b=0;f--){for(var _=0;f>=0;){var E=!0;for(b=0;b=0&&_++,x=x.dblp(_),f<0)break;for(b=0;b0?T=l[b][k-1>>1]:k<0&&(T=l[b][-k-1>>1].neg()),x="affine"===T.type?x.mixedAdd(T):x.add(T))}}for(f=0;f=Math.ceil((e.bitLength()+1)/t.step)},c.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],r=this,i=0;i1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,i=new Array(r),o=0;o0&&void 0!==arguments[0]?arguments[0]:{};return Object(i.a)({paddingLeft:t(2),paddingRight:t(2)},n,Object(r.a)({},e.up("sm"),Object(i.a)({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(o={minHeight:56},Object(r.a)(o,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),Object(r.a)(o,e.up("sm"),{minHeight:64}),o)},n)}var h={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},d={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},p={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"},m={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},g={black:"#000",white:"#fff"},v=n(25),b={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:g.white,default:p[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.08)",hoverOpacity:.08,selected:"rgba(0, 0, 0, 0.14)",disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)"}},y={text:{primary:g.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:p[800],default:"#303030"},action:{active:g.white,hover:"rgba(255, 255, 255, 0.1)",hoverOpacity:.1,selected:"rgba(255, 255, 255, 0.2)",disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)"}};function w(e,t,n,r){e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=Object(v.d)(e.main,r):"dark"===t&&(e.dark=Object(v.a)(e.main,1.5*r)))}function x(e){return Math.round(1e5*e)/1e5}var S={textTransform:"uppercase"},_='"Roboto", "Helvetica", "Arial", sans-serif';function E(e,t){var n="function"===typeof t?t(e):t,r=n.fontFamily,a=void 0===r?_:r,l=n.fontSize,c=void 0===l?14:l,u=n.fontWeightLight,f=void 0===u?300:u,h=n.fontWeightRegular,d=void 0===h?400:h,p=n.fontWeightMedium,m=void 0===p?500:p,g=n.fontWeightBold,v=void 0===g?700:g,b=n.htmlFontSize,y=void 0===b?16:b,w=n.allVariants,E=Object(o.a)(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants"]),T=c/14,k=function(e){return"".concat(e/y*T,"rem")},O=function(e,t,n,r,o){return Object(i.a)({fontFamily:a,fontWeight:e,fontSize:k(t),lineHeight:n},a===_?{letterSpacing:"".concat(x(r/t),"em")}:{},{},o,{},w)},C={h1:O(f,96,1,-1.5),h2:O(f,60,1,-.5),h3:O(d,48,1.04,0),h4:O(d,34,1.17,.25),h5:O(d,24,1.33,0),h6:O(m,20,1.6,.15),subtitle1:O(d,16,1.75,.15),subtitle2:O(m,14,1.57,.1),body1:O(d,16,1.5,.15),body2:O(d,14,1.43,.15),button:O(m,14,1.75,.4,S),caption:O(d,12,1.66,.4),overline:O(d,12,2.66,1,S)};return s()(Object(i.a)({htmlFontSize:y,pxToRem:k,round:x,fontFamily:a,fontSize:c,fontWeightLight:f,fontWeightRegular:d,fontWeightMedium:m,fontWeightBold:v},C),E,{clone:!1})}var T=.2,k=.14,O=.12;function C(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(T,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(k,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(O,")")].join(",")}var A=["none",C(0,1,3,0,0,1,1,0,0,2,1,-1),C(0,1,5,0,0,2,2,0,0,3,1,-2),C(0,1,8,0,0,3,4,0,0,3,3,-2),C(0,2,4,-1,0,4,5,0,0,1,10,0),C(0,3,5,-1,0,5,8,0,0,1,14,0),C(0,3,5,-1,0,6,10,0,0,1,18,0),C(0,4,5,-2,0,7,10,1,0,2,16,1),C(0,5,5,-3,0,8,10,1,0,3,14,2),C(0,5,6,-3,0,9,12,1,0,3,16,2),C(0,6,6,-3,0,10,14,1,0,4,18,3),C(0,6,7,-4,0,11,15,1,0,4,20,3),C(0,7,8,-4,0,12,17,2,0,5,22,4),C(0,7,8,-4,0,13,19,2,0,5,24,4),C(0,7,9,-4,0,14,21,2,0,5,26,4),C(0,8,9,-5,0,15,22,2,0,6,28,5),C(0,8,10,-5,0,16,24,2,0,6,30,5),C(0,8,11,-5,0,17,26,2,0,6,32,5),C(0,9,11,-5,0,18,28,2,0,7,34,6),C(0,9,12,-6,0,19,29,2,0,7,36,6),C(0,10,13,-6,0,20,31,3,0,8,38,7),C(0,10,13,-6,0,21,33,3,0,8,40,7),C(0,10,14,-6,0,22,35,3,0,8,42,7),C(0,11,14,-7,0,23,36,3,0,9,44,8),C(0,11,15,-7,0,24,38,3,0,9,46,8)],M={borderRadius:4};var P=n(40),R=n(91);var D=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,r=e.mixins,a=void 0===r?{}:r,l=e.palette,x=void 0===l?{}:l,S=e.shadows,_=e.spacing,T=e.typography,k=void 0===T?{}:T,O=Object(o.a)(e,["breakpoints","mixins","palette","shadows","spacing","typography"]),C=function(e){var t=e.primary,n=void 0===t?{light:h[300],main:h[500],dark:h[700]}:t,r=e.secondary,a=void 0===r?{light:d.A200,main:d.A400,dark:d.A700}:r,l=e.error,c=void 0===l?{light:m[300],main:m[500],dark:m[700]}:l,u=e.type,f=void 0===u?"light":u,x=e.contrastThreshold,S=void 0===x?3:x,_=e.tonalOffset,E=void 0===_?.2:_,T=Object(o.a)(e,["primary","secondary","error","type","contrastThreshold","tonalOffset"]);function k(e){return Object(v.c)(e,y.text.primary)>=S?y.text.primary:b.text.primary}function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;return!(e=Object(i.a)({},e)).main&&e[t]&&(e.main=e[t]),w(e,"light",n,E),w(e,"dark",r,E),e.contrastText||(e.contrastText=k(e.main)),e}var C={dark:y,light:b};return s()(Object(i.a)({common:g,type:f,primary:O(n),secondary:O(a,"A400","A200","A700"),error:O(c),grey:p,contrastThreshold:S,getContrastText:k,augmentColor:O,tonalOffset:E},C[f]),T,{clone:!1})}(x),D=function(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,r=e.unit,a=void 0===r?"px":r,s=e.step,l=void 0===s?5:s,c=Object(o.a)(e,["values","unit","step"]);function f(e){var t="number"===typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(a,")")}function h(e,t){var r=u.indexOf(t)+1;return r===u.length?f(e):"@media (min-width:".concat(n[e]).concat(a,") and ")+"(max-width:".concat(n[u[r]]-l/100).concat(a,")")}return Object(i.a)({keys:u,values:n,up:f,down:function(e){var t=u.indexOf(e)+1,r=n[u[t]];return t===u.length?f("xs"):"@media (max-width:".concat(("number"===typeof r&&t>0?r:e)-l/100).concat(a,")")},between:h,only:function(e){return h(e,e)},width:function(e){return n[e]}},c)}(n),N=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(t.mui)return t;e="function"===typeof t?t:function(e){return t*e};var n=function(){for(var t=arguments.length,n=new Array(t),r=0;r0&&a.length>i&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,s=l,console&&console.warn&&console.warn(s)}return e}function f(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=function(){for(var e=[],t=0;t0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=i[e];if(void 0===l)return!1;if("function"===typeof l)o(l,this,t);else{var c=l.length,u=p(l,c);for(n=0;n=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},s.prototype.listeners=function(e){return h(this,e,!0)},s.prototype.rawListeners=function(e){return h(this,e,!1)},s.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):d.call(e,t)},s.prototype.listenerCount=d,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){(t=e.exports=n(142)).Stream=t,t.Readable=t,t.Writable=n(106),t.Duplex=n(54),t.Transform=n(145),t.PassThrough=n(261)},function(e,t,n){var r=n(22),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),o(i,a),a.from=function(e,t,n){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!==typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"===typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},function(e,t,n){"use strict";(function(t,r,i){var o=n(79);function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;e.entry=null;for(;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}e.exports=b;var s,l=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?r:o.nextTick;b.WritableState=v;var c=n(73);c.inherits=n(11);var u={deprecate:n(259)},f=n(143),h=n(105).Buffer,d=i.Uint8Array||function(){};var p,m=n(144);function g(){}function v(e,t){s=s||n(54),e=e||{};var r=t instanceof s;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,c=e.writableHighWaterMark,u=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(c||0===c)?c:u,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===e.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,i){--t.pendingcb,n?(o.nextTick(i,r),o.nextTick(E,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(i(r),e._writableState.errorEmitted=!0,e.emit("error",r),E(e,t))}(e,n,r,t,i);else{var a=S(n);a||n.corked||n.bufferProcessing||!n.bufferedRequest||x(e,n),r?l(w,e,n,a,i):w(e,n,a,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function b(e){if(s=s||n(54),!p.call(b,this)&&!(this instanceof s))return new b(e);this._writableState=new v(e,this),this.writable=!0,e&&("function"===typeof e.write&&(this._write=e.write),"function"===typeof e.writev&&(this._writev=e.writev),"function"===typeof e.destroy&&(this._destroy=e.destroy),"function"===typeof e.final&&(this._final=e.final)),f.call(this)}function y(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function w(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),E(e,t)}function x(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),o=t.corkedRequestsFree;o.entry=n;for(var s=0,l=!0;n;)i[s]=n,n.isBuf||(l=!1),n=n.next,s+=1;i.allBuffers=l,y(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,u=n.encoding,f=n.callback;if(y(e,t,!1,t.objectMode?1:c.length,c,u,f),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function S(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function _(e,t){e._final(function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),E(e,t)})}function E(e,t){var n=S(t);return n&&(!function(e,t){t.prefinished||t.finalCalled||("function"===typeof e._final?(t.pendingcb++,t.finalCalled=!0,o.nextTick(_,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}c.inherits(b,f),v.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(v.prototype,"buffer",{get:u.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(b,Symbol.hasInstance,{value:function(e){return!!p.call(this,e)||this===b&&(e&&e._writableState instanceof v)}})):p=function(e){return e instanceof this},b.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},b.prototype.write=function(e,t,n){var r,i=this._writableState,a=!1,s=!i.objectMode&&(r=e,h.isBuffer(r)||r instanceof d);return s&&!h.isBuffer(e)&&(e=function(e){return h.from(e)}(e)),"function"===typeof t&&(n=t,t=null),s?t="buffer":t||(t=i.defaultEncoding),"function"!==typeof n&&(n=g),i.ended?function(e,t){var n=new Error("write after end");e.emit("error",n),o.nextTick(t,n)}(this,n):(s||function(e,t,n,r){var i=!0,a=!1;return null===n?a=new TypeError("May not write null values to stream"):"string"===typeof n||void 0===n||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),o.nextTick(r,a),i=!1),i}(this,i,e,n))&&(i.pendingcb++,a=function(e,t,n,r,i,o){if(!n){var a=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=h.from(t,n));return t}(t,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=t.objectMode?1:r.length;t.length+=s;var l=t.length-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(b.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),b.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},b.prototype._writev=null,b.prototype.end=function(e,t,n){var r=this._writableState;"function"===typeof e?(n=e,e=null,t=null):"function"===typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(e,t,n){t.ending=!0,E(e,t),n&&(t.finished?o.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n)},Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),b.prototype.destroy=m.destroy,b.prototype._undestroy=m.undestroy,b.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,n(30),n(257).setImmediate,n(28))},function(e,t,n){"use strict";var r=n(260).Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!==typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=c,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=u,this.end=f,t=3;break;default:return this.write=h,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function a(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!==(192&t[0]))return e.lastNeed=0,"\ufffd";if(e.lastNeed>1&&t.length>1){if(128!==(192&t[1]))return e.lastNeed=1,"\ufffd";if(e.lastNeed>2&&t.length>2&&128!==(192&t[2]))return e.lastNeed=2,"\ufffd"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function l(e,t){if((e.length-t)%2===0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function u(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}t.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0)return i>0&&(e.lastNeed=i-1),i;if(--r=0)return i>0&&(e.lastNeed=i-2),i;if(--r=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,n){"use strict";var r=n(11),i=n(147),o=n(10).Buffer,a=new Array(16);function s(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function l(e,t){return e<>>32-t}function c(e,t,n,r,i,o,a){return l(e+(t&n|~t&r)+i+o|0,a)+t|0}function u(e,t,n,r,i,o,a){return l(e+(t&r|n&~r)+i+o|0,a)+t|0}function f(e,t,n,r,i,o,a){return l(e+(t^n^r)+i+o|0,a)+t|0}function h(e,t,n,r,i,o,a){return l(e+(n^(t|~r))+i+o|0,a)+t|0}r(s,i),s.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var n=this._a,r=this._b,i=this._c,o=this._d;n=c(n,r,i,o,e[0],3614090360,7),o=c(o,n,r,i,e[1],3905402710,12),i=c(i,o,n,r,e[2],606105819,17),r=c(r,i,o,n,e[3],3250441966,22),n=c(n,r,i,o,e[4],4118548399,7),o=c(o,n,r,i,e[5],1200080426,12),i=c(i,o,n,r,e[6],2821735955,17),r=c(r,i,o,n,e[7],4249261313,22),n=c(n,r,i,o,e[8],1770035416,7),o=c(o,n,r,i,e[9],2336552879,12),i=c(i,o,n,r,e[10],4294925233,17),r=c(r,i,o,n,e[11],2304563134,22),n=c(n,r,i,o,e[12],1804603682,7),o=c(o,n,r,i,e[13],4254626195,12),i=c(i,o,n,r,e[14],2792965006,17),n=u(n,r=c(r,i,o,n,e[15],1236535329,22),i,o,e[1],4129170786,5),o=u(o,n,r,i,e[6],3225465664,9),i=u(i,o,n,r,e[11],643717713,14),r=u(r,i,o,n,e[0],3921069994,20),n=u(n,r,i,o,e[5],3593408605,5),o=u(o,n,r,i,e[10],38016083,9),i=u(i,o,n,r,e[15],3634488961,14),r=u(r,i,o,n,e[4],3889429448,20),n=u(n,r,i,o,e[9],568446438,5),o=u(o,n,r,i,e[14],3275163606,9),i=u(i,o,n,r,e[3],4107603335,14),r=u(r,i,o,n,e[8],1163531501,20),n=u(n,r,i,o,e[13],2850285829,5),o=u(o,n,r,i,e[2],4243563512,9),i=u(i,o,n,r,e[7],1735328473,14),n=f(n,r=u(r,i,o,n,e[12],2368359562,20),i,o,e[5],4294588738,4),o=f(o,n,r,i,e[8],2272392833,11),i=f(i,o,n,r,e[11],1839030562,16),r=f(r,i,o,n,e[14],4259657740,23),n=f(n,r,i,o,e[1],2763975236,4),o=f(o,n,r,i,e[4],1272893353,11),i=f(i,o,n,r,e[7],4139469664,16),r=f(r,i,o,n,e[10],3200236656,23),n=f(n,r,i,o,e[13],681279174,4),o=f(o,n,r,i,e[0],3936430074,11),i=f(i,o,n,r,e[3],3572445317,16),r=f(r,i,o,n,e[6],76029189,23),n=f(n,r,i,o,e[9],3654602809,4),o=f(o,n,r,i,e[12],3873151461,11),i=f(i,o,n,r,e[15],530742520,16),n=h(n,r=f(r,i,o,n,e[2],3299628645,23),i,o,e[0],4096336452,6),o=h(o,n,r,i,e[7],1126891415,10),i=h(i,o,n,r,e[14],2878612391,15),r=h(r,i,o,n,e[5],4237533241,21),n=h(n,r,i,o,e[12],1700485571,6),o=h(o,n,r,i,e[3],2399980690,10),i=h(i,o,n,r,e[10],4293915773,15),r=h(r,i,o,n,e[1],2240044497,21),n=h(n,r,i,o,e[8],1873313359,6),o=h(o,n,r,i,e[15],4264355552,10),i=h(i,o,n,r,e[6],2734768916,15),r=h(r,i,o,n,e[13],1309151649,21),n=h(n,r,i,o,e[4],4149444226,6),o=h(o,n,r,i,e[11],3174756917,10),i=h(i,o,n,r,e[2],718787259,15),r=h(r,i,o,n,e[9],3951481745,21),this._a=this._a+n|0,this._b=this._b+r|0,this._c=this._c+i|0,this._d=this._d+o|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=o.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=s},function(e,t,n){"use strict";var r=n(22).Buffer,i=n(11),o=n(147),a=new Array(16),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],l=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],c=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],u=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],f=[0,1518500249,1859775393,2400959708,2840853838],h=[1352829926,1548603684,1836072691,2053994217,0];function d(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function p(e,t){return e<>>32-t}function m(e,t,n,r,i,o,a,s){return p(e+(t^n^r)+o+a|0,s)+i|0}function g(e,t,n,r,i,o,a,s){return p(e+(t&n|~t&r)+o+a|0,s)+i|0}function v(e,t,n,r,i,o,a,s){return p(e+((t|~n)^r)+o+a|0,s)+i|0}function b(e,t,n,r,i,o,a,s){return p(e+(t&r|n&~r)+o+a|0,s)+i|0}function y(e,t,n,r,i,o,a,s){return p(e+(t^(n|~r))+o+a|0,s)+i|0}i(d,o),d.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var n=0|this._a,r=0|this._b,i=0|this._c,o=0|this._d,d=0|this._e,w=0|this._a,x=0|this._b,S=0|this._c,_=0|this._d,E=0|this._e,T=0;T<80;T+=1){var k,O;T<16?(k=m(n,r,i,o,d,e[s[T]],f[0],c[T]),O=y(w,x,S,_,E,e[l[T]],h[0],u[T])):T<32?(k=g(n,r,i,o,d,e[s[T]],f[1],c[T]),O=b(w,x,S,_,E,e[l[T]],h[1],u[T])):T<48?(k=v(n,r,i,o,d,e[s[T]],f[2],c[T]),O=v(w,x,S,_,E,e[l[T]],h[2],u[T])):T<64?(k=b(n,r,i,o,d,e[s[T]],f[3],c[T]),O=g(w,x,S,_,E,e[l[T]],h[3],u[T])):(k=y(n,r,i,o,d,e[s[T]],f[4],c[T]),O=m(w,x,S,_,E,e[l[T]],h[4],u[T])),n=d,d=o,o=p(i,10),i=r,r=k,w=E,E=_,_=p(S,10),S=x,x=O}var C=this._b+i+_|0;this._b=this._c+o+E|0,this._c=this._d+d+w|0,this._d=this._e+n+x|0,this._e=this._a+r+S|0,this._a=C},d.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=r.alloc?r.alloc(20):new r(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=d},function(e,t,n){(t=e.exports=function(e){e=e.toLowerCase();var n=t[e];if(!n)throw new Error(e+" is not supported (we accept pull requests)");return new n}).sha=n(270),t.sha1=n(271),t.sha224=n(272),t.sha256=n(148),t.sha384=n(273),t.sha512=n(149)},function(e,t,n){"use strict";t.utils=n(279),t.Cipher=n(280),t.DES=n(281),t.CBC=n(282),t.EDE=n(283)},function(e,t,n){var r=n(284),i=n(292),o=n(159);t.createCipher=t.Cipher=r.createCipher,t.createCipheriv=t.Cipheriv=r.createCipheriv,t.createDecipher=t.Decipher=i.createDecipher,t.createDecipheriv=t.Decipheriv=i.createDecipheriv,t.listCiphers=t.getCiphers=function(){return Object.keys(o)}},function(e,t,n){var r={ECB:n(285),CBC:n(286),CFB:n(287),CFB8:n(288),CFB1:n(289),OFB:n(290),CTR:n(157),GCM:n(157)},i=n(159);for(var o in i)i[o].module=r[i[o].mode];e.exports=i},function(e,t,n){var r;function i(e){this.rand=e}if(e.exports=function(e){return r||(r=new i(null)),r.generate(e)},e.exports.Rand=i,i.prototype.generate=function(e){return this._rand(e)},i.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),n=0;n=0||!n.umod(e.prime1)||!n.umod(e.prime2);)n=new r(i(t));return n}e.exports=o,o.getr=a}).call(this,n(22).Buffer)},function(e,t,n){"use strict";var r=t;r.version=n(301).version,r.utils=n(36),r.rand=n(114),r.curve=n(165),r.curves=n(117),r.ec=n(312),r.eddsa=n(316)},function(e,t,n){"use strict";var r,i=t,o=n(118),a=n(165),s=n(36).assert;function l(e){"short"===e.type?this.curve=new a.short(e):"edwards"===e.type?this.curve=new a.edwards(e):this.curve=new a.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,s(this.g.validate(),"Invalid curve"),s(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function c(e,t){Object.defineProperty(i,e,{configurable:!0,enumerable:!0,get:function(){var n=new l(t);return Object.defineProperty(i,e,{configurable:!0,enumerable:!0,value:n}),n}})}i.PresetCurve=l,c("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),c("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),c("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),c("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),c("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),c("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),c("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=n(311)}catch(u){r=void 0}c("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})},function(e,t,n){var r=t;r.utils=n(42),r.common=n(76),r.sha=n(305),r.ripemd=n(309),r.hmac=n(310),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160},function(e,t,n){},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){(function(e,n){var r=200,i="__lodash_hash_undefined__",o=1,a=2,s=9007199254740991,l="[object Arguments]",c="[object Array]",u="[object AsyncFunction]",f="[object Boolean]",h="[object Date]",d="[object Error]",p="[object Function]",m="[object GeneratorFunction]",g="[object Map]",v="[object Number]",b="[object Null]",y="[object Object]",w="[object Proxy]",x="[object RegExp]",S="[object Set]",_="[object String]",E="[object Symbol]",T="[object Undefined]",k="[object ArrayBuffer]",O="[object DataView]",C=/^\[object .+?Constructor\]$/,A=/^(?:0|[1-9]\d*)$/,M={};M["[object Float32Array]"]=M["[object Float64Array]"]=M["[object Int8Array]"]=M["[object Int16Array]"]=M["[object Int32Array]"]=M["[object Uint8Array]"]=M["[object Uint8ClampedArray]"]=M["[object Uint16Array]"]=M["[object Uint32Array]"]=!0,M[l]=M[c]=M[k]=M[f]=M[O]=M[h]=M[d]=M[p]=M[g]=M[v]=M[y]=M[x]=M[S]=M[_]=M["[object WeakMap]"]=!1;var P="object"==typeof e&&e&&e.Object===Object&&e,R="object"==typeof self&&self&&self.Object===Object&&self,D=P||R||Function("return this")(),N=t&&!t.nodeType&&t,I=N&&"object"==typeof n&&n&&!n.nodeType&&n,L=I&&I.exports===N,j=L&&P.process,B=function(){try{return j&&j.binding&&j.binding("util")}catch(e){}}(),F=B&&B.isTypedArray;function z(e,t){for(var n=-1,r=null==e?0:e.length;++nc))return!1;var f=s.get(e);if(f&&s.get(t))return f==t;var h=-1,d=!0,p=n&a?new Te:void 0;for(s.set(e,t),s.set(t,e);++h-1},_e.prototype.set=function(e,t){var n=this.__data__,r=Ce(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Ee.prototype.clear=function(){this.size=0,this.__data__={hash:new Se,map:new(ue||_e),string:new Se}},Ee.prototype.delete=function(e){var t=Le(this,e).delete(e);return this.size-=t?1:0,t},Ee.prototype.get=function(e){return Le(this,e).get(e)},Ee.prototype.has=function(e){return Le(this,e).has(e)},Ee.prototype.set=function(e,t){var n=Le(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Te.prototype.add=Te.prototype.push=function(e){return this.__data__.set(e,i),this},Te.prototype.has=function(e){return this.__data__.has(e)},ke.prototype.clear=function(){this.__data__=new _e,this.size=0},ke.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ke.prototype.get=function(e){return this.__data__.get(e)},ke.prototype.has=function(e){return this.__data__.has(e)},ke.prototype.set=function(e,t){var n=this.__data__;if(n instanceof _e){var i=n.__data__;if(!ue||i.length-1&&e%1==0&&e-1&&e%1==0&&e<=s}function qe(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ke(e){return null!=e&&"object"==typeof e}var $e=F?function(e){return function(t){return e(t)}}(F):function(e){return Ke(e)&&Xe(e.length)&&!!M[Ae(e)]};function Ze(e){return null!=(t=e)&&Xe(t.length)&&!Ve(t)?Oe(e):De(e);var t}n.exports=function(e,t){return Pe(e,t)}}).call(this,n(28),n(83)(e))},function(e,t,n){"use strict";function r(e){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e){return(i="function"===typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}n.d(t,"a",function(){return i})},function(e,t,n){var r,i,o;i="undefined"!==typeof window?window:this,o=function(e){function t(e,t,n,r){e.hasOwnProperty(t)||(e[t]=r.apply(null,n))}var n={};return t(n,"parts/Globals.js",[],function(){var t="undefined"!==typeof e?e:"undefined"!==typeof window?window:{},n=t.document,r=t.navigator&&t.navigator.userAgent||"",i=n&&n.createElementNS&&!!n.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,o=/(edge|msie|trident)/i.test(r)&&!t.opera,a=-1!==r.indexOf("Firefox"),s=-1!==r.indexOf("Chrome"),l=a&&4>parseInt(r.split("Firefox/")[1],10);return{product:"Highcharts",version:"8.0.0",deg2rad:2*Math.PI/360,doc:n,hasBidiBug:l,hasTouch:!!t.TouchEvent,isMS:o,isWebKit:-1!==r.indexOf("AppleWebKit"),isFirefox:a,isChrome:s,isSafari:!s&&-1!==r.indexOf("Safari"),isTouchDevice:/(Mobile|Android|Windows Phone)/.test(r),SVG_NS:"http://www.w3.org/2000/svg",chartCount:0,seriesTypes:{},symbolSizes:{},svg:i,win:t,marginNames:["plotTop","marginRight","marginBottom","plotLeft"],noop:function(){},charts:[],dateFormats:{}}}),t(n,"parts/Utilities.js",[n["parts/Globals.js"]],function(e){function t(e,t){return parseInt(e,t||10)}function n(e){return"string"===typeof e}function r(e){return"[object Array]"===(e=Object.prototype.toString.call(e))||"[object Array Iterator]"===e}function i(e,t){return!!e&&"object"===typeof e&&(!t||!r(e))}function o(e){return i(e)&&"number"===typeof e.nodeType}function a(e){var t=e&&e.constructor;return!(!i(e,!0)||o(e)||!t||!t.name||"Object"===t.name)}function s(e){return"number"===typeof e&&!isNaN(e)&&1/0>e&&-1/0c[1]){var u=r+ +c[1];0<=u?(c[0]=(+c[0]).toExponential(u).split("e")[0],r=u):(c[0]=c[0].split(".")[0]||0,n=20>r?(c[0]*Math.pow(10,c[1])).toFixed(r):0,c[1]=0)}}else r=2;var h=(Math.abs(c[1]?c[0]:n)+Math.pow(10,-Math.max(r,l)-1)).toFixed(r);return u=3<(l=String(t(h))).length?l.length%3:0,i=f(i,a.decimalPoint),o=f(o,a.thousandsSep),n=(0>n?"-":"")+(u?l.substr(0,u)+o:""),n+=l.substr(u).replace(/(\d{3})(?=\d)/g,"$1"+o),r&&(n+=i+h.slice(-r)),c[1]&&0!==+n&&(n+="e"+c[1]),n}function m(e,t,n){for(var r in e)Object.hasOwnProperty.call(e,r)&&t.call(n||e[r],e[r],r,e)}e.timers=[];var g=e.charts,v=e.doc,b=e.win;return e.error=function(t,n,r,i){var o=s(t),a=o?"Highcharts error #"+t+": www.highcharts.com/errors/"+t+"/":t.toString(),l=function(){if(n)throw Error(a);b.console&&console.log(a)};if("undefined"!==typeof i){var c="";o&&(a+="?"),e.objectEach(i,function(e,t){c+="\n"+t+": "+e,o&&(a+=encodeURI(t)+"="+encodeURI(e))}),a+=c}r?e.fireEvent(r,"displayError",{code:t,message:a,params:i},l):l()},e.Fx=function(e,t,n){this.options=t,this.elem=e,this.prop=n},e.Fx.prototype={dSetter:function(){var e=this.paths[0],t=this.paths[1],n=[],r=this.now,i=e.length;if(1===r)n=this.toD;else if(i===t.length&&1>r)for(;i--;){var o=parseFloat(e[i]);n[i]=isNaN(o)||"A"===t[i-4]||"A"===t[i-5]?t[i]:r*parseFloat(""+(t[i]-o))+o}else n=t;this.elem.attr("d",n,null,!0)},update:function(){var e=this.elem,t=this.prop,n=this.now,r=this.options.step;this[t+"Setter"]?this[t+"Setter"]():e.attr?e.element&&e.attr(t,n,null,!0):e.style[t]=n+this.unit,r&&r.call(e,n,this)},run:function(t,n,r){var i=this,o=i.options,a=function e(t){return!e.stopped&&i.step(t)},s=b.requestAnimationFrame||function(e){setTimeout(e,13)};t!==n||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=t,this.end=n,this.unit=r,this.now=this.start,this.pos=0,a.elem=this.elem,a.prop=this.prop,a()&&1===e.timers.push(a)&&s(function t(){for(var n=0;n=o+this.startTime){this.now=this.end,this.pos=1,this.update();var s=a[this.prop]=!0;m(a,function(e){!0!==e&&(s=!1)}),s&&i&&i.call(r),e=!1}else this.pos=n.easing((t-this.startTime)/o),this.now=this.start+(this.end-this.start)*this.pos,this.update(),e=!0;return e},initPath:function(e,t,n){function r(e){for(l=e.length;l--;){var t="M"===e[l]||"L"===e[l],n=/[a-zA-Z]/.test(e[l+3]);t&&n&&e.splice(l+1,0,e[l+1],e[l+2],e[l+1],e[l+2])}}function i(e,t){for(;e.length=n&&(t=[1/n]))),r=0;r=e||!i&&a<=(t[r]+(t[r+1]||t[r]))/2));r++);return d(o*n,-Math.round(Math.log(.001)/Math.LN10))},e.stableSort=function(e,t){var n,r,i=e.length;for(r=0;r=r-1&&(r=Math.floor(i)),Math.max(0,r-e.getStyle(n,"padding-left")-e.getStyle(n,"padding-right"))):"height"===r?Math.max(0,Math.min(n.offsetHeight,n.scrollHeight)-e.getStyle(n,"padding-top")-e.getStyle(n,"padding-bottom")):(b.getComputedStyle||e.error(27,!0),(n=b.getComputedStyle(n,void 0))&&(n=n.getPropertyValue(r),f(i,"opacity"!==r)&&(n=t(n))),n)},e.inArray=function(e,t,n){return t.indexOf(e,n)},e.find=Array.prototype.find?function(e,t){return e.find(t)}:function(e,t){var n,r=e.length;for(n=0;nn&&(n=e[t]);return n},arrayMin:function(e){for(var t=e.length,n=e[0];t--;)e[t]t?e>16,(65280&t)>>8,255&t,1]:4===i&&(n=[(3840&t)>>4|(3840&t)>>8,(240&t)>>4|240&t,(15&t)<<4|15&t,1])}if(!n)for(r=this.parsers.length;r--&&!n;){var o=this.parsers[r];(i=o.regex.exec(t))&&(n=o.parse(i))}}this.rgba=n||[]},get:function(e){var t=this.input,r=this.rgba;if(this.stops){var o=i(t);o.stops=[].concat(o.stops),this.stops.forEach(function(t,n){o.stops[n]=[o.stops[n][0],t.get(e)]})}else o=r&&n(r[0])?"rgb"===e||!e&&1===r[3]?"rgb("+r[0]+","+r[1]+","+r[2]+")":"a"===e?r[3]:"rgba("+r.join(",")+")":t;return o},brighten:function(e){var t,i=this.rgba;if(this.stops)this.stops.forEach(function(t){t.brighten(e)});else if(n(e)&&0!==e)for(t=0;3>t;t++)i[t]+=r(255*e),0>i[t]&&(i[t]=0),255n.width)&&(n={width:0,height:0})}else n=this.htmlGetBBox();if(o.isSVG&&(e=n.width,o=n.height,h&&(n.height=o={"11px,17":14,"13px,20":16}[l&&l.fontSize+","+Math.round(o)]||o),t&&(l=t*S,n.width=Math.abs(o*Math.sin(l))+Math.abs(e*Math.cos(l)),n.height=Math.abs(o*Math.cos(l))+Math.abs(e*Math.sin(l)))),m&&0]*>/g,"").replace(/</g,"<").replace(/>/g,">")))},textSetter:function(e){e!==this.textStr&&(delete this.bBox,delete this.textPxLength,this.textStr=e,this.added&&this.renderer.buildText(this))},setTextPath:function(t,n){var r=this.element,o={textAnchor:"text-anchor"},a=!1,s=this.textPathWrapper,l=!s,u=(n=C(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},n)).attributes;if(t&&n&&n.enabled){s&&null===s.element.parentNode?(l=!0,s=s.destroy()):s&&this.removeTextOutline.call(s.parentGroup,[].slice.call(r.getElementsByTagName("tspan"))),this.options&&this.options.padding&&(u.dx=-this.options.padding),s||(this.textPathWrapper=s=this.renderer.createElement("textPath"),a=!0);var f=s.element;if((n=t.element.getAttribute("id"))||t.element.setAttribute("id",n=e.uniqueKey()),l)for(t=r.getElementsByTagName("tspan");t.length;)t[0].setAttribute("y",0),c(u.dx)&&t[0].setAttribute("x",-u.dx),f.appendChild(t[0]);a&&s.add({element:this.text?this.text.element:r}),f.setAttributeNS("http://www.w3.org/1999/xlink","href",this.renderer.url+"#"+n),i(u.dy)&&(f.parentNode.setAttribute("dy",u.dy),delete u.dy),i(u.dx)&&(f.parentNode.setAttribute("dx",u.dx),delete u.dx),h(u,function(e,t){f.setAttribute(o[t]||t,e)}),r.removeAttribute("transform"),this.removeTextOutline.call(s,[].slice.call(r.getElementsByTagName("tspan"))),this.text&&!this.renderer.styledMode&&this.attr({fill:"none","stroke-width":0}),this.applyTextOutline=this.updateTransform=A}else s&&(delete this.updateTransform,delete this.applyTextOutline,this.destroyTextPath(r,t),this.updateTransform(),this.options.rotation&&this.applyTextOutline(this.options.style.textOutline));return this},destroyTextPath:function(e,t){var n=e.getElementsByTagName("text")[0];if(n){if(n.removeAttribute("dx"),n.removeAttribute("dy"),t.element.setAttribute("id",""),n.getElementsByTagName("textPath").length){for(e=this.textPathWrapper.element.childNodes;e.length;)n.appendChild(e[0]);n.removeChild(this.textPathWrapper.element)}}else(e.getAttribute("dx")||e.getAttribute("dy"))&&(e.removeAttribute("dx"),e.removeAttribute("dy"));this.textPathWrapper=this.textPathWrapper.destroy()},fillSetter:function(e,t,n){"string"===typeof e?n.setAttribute(t,e):e&&this.complexColor(e,t,n)},visibilitySetter:function(e,t,n){"inherit"===e?n.removeAttribute(t):this[t]!==e&&n.setAttribute(t,e),this[t]=e},zIndexSetter:function(e,t){var n=this.renderer,r=this.parentGroup,o=(r||n).element||n.box,a=this.element,s=!1;n=o===n.box;var l,c=this.added;if(i(e)?(a.setAttribute("data-z-index",e),e=+e,this[t]===e&&(c=!1)):i(this[t])&&a.removeAttribute("data-z-index"),this[t]=e,c){for((e=this.zIndex)&&r&&(r.handleZ=!0),l=(t=o.childNodes).length-1;0<=l&&!s;l--){c=(r=t[l]).getAttribute("data-z-index");var u=!i(c);r!==a&&(0>e&&u&&!n&&!l?(o.insertBefore(a,t[l]),s=!0):(p(c)<=e||u&&(!i(e)||0<=e))&&(o.insertBefore(a,t[l+1]||null),s=!0))}s||(o.insertBefore(a,t[n?3:0]||null),s=!0)}return s},_defaultSetter:function(e,t,n){n.setAttribute(t,e)}}),L.prototype.yGetter=L.prototype.xGetter,L.prototype.translateXSetter=L.prototype.translateYSetter=L.prototype.rotationSetter=L.prototype.verticalAlignSetter=L.prototype.rotationOriginXSetter=L.prototype.rotationOriginYSetter=L.prototype.scaleXSetter=L.prototype.scaleYSetter=L.prototype.matrixSetter=function(e,t){this[t]=e,this.doTransform=!0},L.prototype["stroke-widthSetter"]=L.prototype.strokeSetter=function(e,t,n){this[t]=e,this.stroke&&this["stroke-width"]?(L.prototype.fillSetter.call(this,this.stroke,"stroke",n),n.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===t&&0===e&&this.hasStroke?(n.removeAttribute("stroke"),this.hasStroke=!1):this.renderer.styledMode&&this["stroke-width"]&&(n.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0)},t=e.SVGRenderer=function(){this.init.apply(this,arguments)},s(t.prototype,{Element:L,SVG_NS:D,init:function(e,t,n,i,o,a,s){var l,c=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"});s||c.css(this.getStyle(i)),i=c.element,e.appendChild(i),r(e,"dir","ltr"),-1===e.innerHTML.indexOf("xmlns")&&r(i,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=i,this.boxWrapper=c,this.alignedObjects=[],this.url=(T||O)&&_.getElementsByTagName("base").length?I.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20"):"",this.createElement("desc").add().element.appendChild(_.createTextNode("Created with Highcharts 8.0.0")),this.defs=this.createElement("defs").add(),this.allowHTML=a,this.forExport=o,this.styledMode=s,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(t,n,!1),T&&e.getBoundingClientRect&&((t=function(){w(e,{left:0,top:0}),l=e.getBoundingClientRect(),w(e,{left:Math.ceil(l.left)-l.left+"px",top:Math.ceil(l.top)-l.top+"px"})})(),this.unSubPixelFix=g(I,"resize",t))},definition:function(e){var t=this;return function e(n,r){var i;return m(n).forEach(function(n){var o=t.createElement(n.tagName),a={};h(n,function(e,t){"tagName"!==t&&"children"!==t&&"textContent"!==t&&(a[t]=e)}),o.attr(a),o.add(r||t.defs),n.textContent&&o.element.appendChild(_.createTextNode(n.textContent)),e(n.children||[],o),i=o}),i}(e)},getStyle:function(e){return this.style=s({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},e)},setStyle:function(e){this.boxWrapper.css(this.getStyle(e))},isHidden:function(){return!this.boxWrapper.getBBox().width},destroy:function(){var e=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),o(this.gradients||{}),this.gradients=null,e&&(this.defs=e.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},createElement:function(e){var t=new this.Element;return t.init(this,e),t},draw:A,getRadialAttr:function(e,t){return{cx:e[0]-e[2]/2+t.cx*e[2],cy:e[1]-e[2]/2+t.cy*e[2],r:t.r*e[2]}},truncate:function(e,t,n,r,i,o,a){var s,l,c=this,u=e.rotation,f=r?1:0,h=(n||r).length,d=h,p=[],m=function(e){t.firstChild&&t.removeChild(t.firstChild),e&&t.appendChild(_.createTextNode(e))},g=function(o,s){if("undefined"===typeof p[s=s||o])if(t.getSubStringLength)try{p[s]=i+t.getSubStringLength(0,r?s+1:s)}catch(l){}else c.getSpanWidth&&(m(a(n||r,o)),p[s]=i+c.getSpanWidth(e,t));return p[s]};e.rotation=0;var v=g(t.textContent.length);if(l=i+v>o){for(;f<=h;)d=Math.ceil((f+h)/2),r&&(s=a(r,d)),v=g(d,s&&s.length-1),f===h?f=h+1:v>o?h=d-1:f=d;0===h?m(""):n&&h===n.length-1||m(s||a(n||r,d))}return r&&r.splice(0,d),e.actualWidth=v,e.rotation=u,l},escapes:{"&":"&","<":"<",">":">","'":"'",'"':"""},buildText:function(e){var t,n,i=e.element,o=this,a=o.forExport,s=d(e.textStr,"").toString(),l=-1!==s.indexOf("<"),c=i.childNodes,u=r(i,"x"),f=e.styles,m=e.textWidth,g=f&&f.lineHeight,v=f&&f.textOutline,b=f&&"ellipsis"===f.textOverflow,y=f&&"nowrap"===f.whiteSpace,x=f&&f.fontSize,S=c.length;f=m&&!e.added&&this.box;var E=function(e){var t;return o.styledMode||(t=/(px|em)$/.test(e&&e.style.fontSize)?e.style.fontSize:x||o.style.fontSize||12),g?p(g):o.fontMetrics(t,e.getAttribute("style")?e:i).h},T=function(e,t){return h(o.escapes,function(n,r){t&&-1!==t.indexOf(n)||(e=e.toString().replace(new RegExp(n,"g"),r))}),e},k=function(e,t){var n=e.indexOf("<");if(-1!==(n=(e=e.substring(n,e.indexOf(">")-n)).indexOf(t+"="))&&(n=n+t.length+1,'"'===(t=e.charAt(n))||"'"===t))return(e=e.substring(n+1)).substring(0,e.indexOf(t))},O=//g,C=[s,b,y,g,v,x,m].join();if(C!==e.textCache){for(e.textCache=C;S--;)i.removeChild(c[S]);l||v||b||m||-1!==s.indexOf(" ")&&(!y||O.test(s))?(f&&f.appendChild(i),l?s=(s=o.styledMode?s.replace(/<(b|strong)>/g,'').replace(/<(i|em)>/g,''):s.replace(/<(b|strong)>/g,'').replace(/<(i|em)>/g,'')).replace(//g,"").split(O):s=[s],(s=s.filter(function(e){return""!==e})).forEach(function(s,l){var c=0,f=0,h=(s=s.replace(/^\s+|\s+$/g,"").replace(//g,"|||")).split("|||");h.forEach(function(s){if(""!==s||1===h.length){var d,p,g={},v=_.createElementNS(o.SVG_NS,"tspan");if((d=k(s,"class"))&&r(v,"class",d),(d=k(s,"style"))&&(d=d.replace(/(;| |^)color([ :])/,"$1fill$2"),r(v,"style",d)),(p=k(s,"href"))&&!a&&(r(v,"onclick",'location.href="'+p+'"'),r(v,"class","highcharts-anchor"),o.styledMode||w(v,{cursor:"pointer"}))," "!==(s=T(s.replace(/<[a-zA-Z\/](.|\n)*?>/g,"")||" "))){if(v.appendChild(_.createTextNode(s)),c?g.dx=0:l&&null!==u&&(g.x=u),r(v,g),i.appendChild(v),!c&&n&&(!R&&a&&w(v,{display:"block"}),r(v,"dy",E(v))),m){var S=s.replace(/([^\^])-/g,"$1- ").split(" ");g=!y&&(1Math.abs(o.end-o.start-2*Math.PI));var u=Math.cos(a),f=Math.sin(a),h=Math.cos(c);return c=Math.sin(c),s=["M",e+s*u,t+l*f,"A",s,l,0,a=d(o.longArc,.001>o.end-a-Math.PI?0:1),d(o.clockwise,1),e+s*h,t+l*c],i(n)&&s.push(r?"M":"L",e+n*h,t+n*c,"A",n,n,0,a,i(o.clockwise)?1-o.clockwise:0,e+n*u,t+n*f),s.push(r?"":"Z"),s},callout:function(e,t,n,r,i){var o=Math.min(i&&i.r||0,n,r),a=o+6,s=i&&i.anchorX;i=i&&i.anchorY;var l=["M",e+o,t,"L",e+n-o,t,"C",e+n,t,e+n,t,e+n,t+o,"L",e+n,t+r-o,"C",e+n,t+r,e+n,t+r,e+n-o,t+r,"L",e+o,t+r,"C",e,t+r,e,t+r,e,t+r-o,"L",e,t+o,"C",e,t,e,t,e+o,t];return s&&s>n?i>t+a&&is?i>t+a&&ir&&s>e+a&&si&&s>e+a&&s(e=/px/.test(e)?p(e):12)?e+3:Math.round(1.2*e),b:Math.round(.8*t),f:e}},rotCorr:function(e,t,n){var r=e;return t&&n&&(r=Math.max(r*Math.cos(t*S),4)),{x:-e/3*Math.sin(t*S),y:r}},label:function(e,t,n,r,o,a,l,u,f){var h,d,p,m,g,v,b,y,w,x=this,S=x.styledMode,_=x.g("button"!==f&&"label"),E=_.text=x.text("",0,0,l).attr({zIndex:1}),T=0,k=3,O=0,A={},P=/^url\((.*?)\)$/.test(r),R=S||P,D=function(){return S?h.strokeWidth()%2/2:(y?parseInt(y,10):0)%2/2};f&&_.addClass("highcharts-"+f);var N=function(){var e=E.element.style,t={};d=("undefined"===typeof p||"undefined"===typeof m||b)&&i(E.textStr)&&E.getBBox(),_.width=(p||d.width||0)+2*k+O,_.height=(m||d.height||0)+2*k,w=k+Math.min(x.fontMetrics(e&&e.fontSize,E).b,d?d.height:1/0),R&&(h||(_.box=h=x.symbols[r]||P?x.symbol(r):x.rect(),h.addClass(("button"===f?"":"highcharts-label-box")+(f?" highcharts-"+f+"-box":"")),h.add(_),e=D(),t.x=e,t.y=(u?-w:0)+e),t.width=Math.round(_.width),t.height=Math.round(_.height),h.attr(s(t,A)),A={})},I=function(){var e=O+k,t=u?0:w;i(p)&&d&&("center"===b||"right"===b)&&(e+={center:.5,right:1}[b]*(p-d.width)),e===E.x&&t===E.y||(E.attr("x",e),E.hasBoxWidthChanged&&(d=E.getBBox(!0),N()),"undefined"!==typeof t&&E.attr("y",t)),E.x=e,E.y=t},j=function(e,t){h?h.attr(e,t):A[e]=t};_.onAdd=function(){E.add(_),_.attr({text:e||0===e?e:"",x:t,y:n}),h&&i(o)&&_.attr({anchorX:o,anchorY:a})},_.widthSetter=function(e){p=c(e)?e:null},_.heightSetter=function(e){m=e},_["text-alignSetter"]=function(e){b=e},_.paddingSetter=function(e){i(e)&&e!==k&&(k=_.padding=e,I())},_.paddingLeftSetter=function(e){i(e)&&e!==O&&(O=e,I())},_.alignSetter=function(e){(e={left:0,center:.5,right:1}[e])!==T&&(T=e,d&&_.attr({x:g}))},_.textSetter=function(e){"undefined"!==typeof e&&E.attr({text:e}),N(),I()},_["stroke-widthSetter"]=function(e,t){e&&(R=!0),y=this["stroke-width"]=e,j(t,e)},S?_.rSetter=function(e,t){j(t,e)}:_.strokeSetter=_.fillSetter=_.rSetter=function(e,t){"r"!==t&&("fill"===t&&e&&(R=!0),_[t]=e),j(t,e)},_.anchorXSetter=function(e,t){o=_.anchorX=e,j(t,Math.round(e)-D()-g)},_.anchorYSetter=function(e,t){a=_.anchorY=e,j(t,e-v)},_.xSetter=function(e){_.x=e,T&&(e-=T*((p||d.width)+2*k),_["forceAnimate:x"]=!0),g=Math.round(e),_.attr("translateX",g)},_.ySetter=function(e){v=_.y=Math.round(e),_.attr("translateY",v)};var B=_.css;return l={css:function(e){if(e){var t={};e=C(e),_.textProps.forEach(function(n){"undefined"!==typeof e[n]&&(t[n]=e[n],delete e[n])}),E.css(t),"width"in t&&N(),"fontSize"in t&&(N(),I())}return B.call(_,e)},getBBox:function(){return{width:d.width+2*k,height:d.height+2*k,x:d.x-k,y:d.y-k}},destroy:function(){M(_.element,"mouseenter"),M(_.element,"mouseleave"),E&&(E=E.destroy()),h&&(h=h.destroy()),L.prototype.destroy.call(_),_=x=N=I=j=null}},S||(l.shadow=function(e){return e&&(N(),h&&h.shadow(e)),_}),s(_,l)}}),e.Renderer=t}),t(n,"parts/Html.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],function(e,t){var n=t.attr,r=t.defined,i=t.extend,o=t.pick,a=t.pInt,s=e.createElement,l=e.css,c=e.isFirefox,u=e.isMS,f=e.isWebKit,h=e.SVGElement;t=e.SVGRenderer;var d=e.win;i(h.prototype,{htmlCss:function(e){var t="SPAN"===this.element.tagName&&e&&"width"in e,n=o(t&&e.width,void 0);if(t){delete e.width,this.textWidth=n;var r=!0}return e&&"ellipsis"===e.textOverflow&&(e.whiteSpace="nowrap",e.overflow="hidden"),this.styles=i(this.styles,e),l(this.element,e),r&&this.htmlUpdateTransform(),this},htmlGetBBox:function(){var e=this.element;return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}},htmlUpdateTransform:function(){if(this.added){var e=this.renderer,t=this.element,n=this.translateX||0,i=this.translateY||0,o=this.x||0,s=this.y||0,c=this.textAlign||"left",u={left:0,center:.5,right:1}[c],f=this.styles,h=f&&f.whiteSpace;if(l(t,{marginLeft:n,marginTop:i}),!e.styledMode&&this.shadows&&this.shadows.forEach(function(e){l(e,{marginLeft:n+1,marginTop:i+1})}),this.inverted&&[].forEach.call(t.childNodes,function(n){e.invertChild(n,t)}),"SPAN"===t.tagName){f=this.rotation;var d,p=this.textWidth&&a(this.textWidth),m=[f,c,t.innerHTML,this.textWidth,this.textAlign].join();(d=p!==this.oldTextWidth)&&!(d=p>this.oldTextWidth)&&((d=this.textPxLength)||(l(t,{width:"",whiteSpace:h||"nowrap"}),d=t.offsetWidth),d=d>p),d&&(/[ \-]/.test(t.textContent||t.innerText)||"ellipsis"===t.style.textOverflow)?(l(t,{width:p+"px",display:"block",whiteSpace:h||"normal"}),this.oldTextWidth=p,this.hasBoxWidthChanged=!0):this.hasBoxWidthChanged=!1,m!==this.cTT&&(h=e.fontMetrics(t.style.fontSize,t).b,!r(f)||f===(this.oldRotation||0)&&c===this.oldAlign||this.setSpanRotation(f,u,h),this.getSpanCorrection(!r(f)&&this.textPxLength||t.offsetWidth,h,u,f,c)),l(t,{left:o+(this.xCorr||0)+"px",top:s+(this.yCorr||0)+"px"}),this.cTT=m,this.oldRotation=f,this.oldAlign=c}}else this.alignOnAdd=!0},setSpanRotation:function(e,t,n){var r={},i=this.renderer.getTransformKey();r[i]=r.transform="rotate("+e+"deg)",r[i+(c?"Origin":"-origin")]=r.transformOrigin=100*t+"% "+n+"px",l(this.element,r)},getSpanCorrection:function(e,t,n){this.xCorr=-e*n,this.yCorr=-t}}),i(t.prototype,{getTransformKey:function(){return u&&!/Edge/.test(d.navigator.userAgent)?"-ms-transform":f?"-webkit-transform":c?"MozTransform":d.opera?"-o-transform":""},html:function(e,t,r){var a=this.createElement("span"),l=a.element,c=a.renderer,u=c.isSVG,f=function(e,t){["opacity","visibility"].forEach(function(n){e[n+"Setter"]=function(r,i,o){var a=e.div?e.div.style:t;h.prototype[n+"Setter"].call(this,r,i,o),a&&(a[i]=r)}}),e.addedSetters=!0};return a.textSetter=function(e){e!==l.innerHTML&&(delete this.bBox,delete this.oldTextWidth),this.textStr=e,l.innerHTML=o(e,""),a.doTransform=!0},u&&f(a,a.element.style),a.xSetter=a.ySetter=a.alignSetter=a.rotationSetter=function(e,t){"align"===t&&(t="textAlign"),a[t]=e,a.doTransform=!0},a.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},a.attr({text:e,x:Math.round(t),y:Math.round(r)}).css({position:"absolute"}),c.styledMode||a.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),l.style.whiteSpace="nowrap",a.css=a.htmlCss,u&&(a.add=function(e){var t=c.box.parentNode,r=[];if(this.parentGroup=e){var o=e.div;if(!o){for(;e;)r.push(e),e=e.parentGroup;r.reverse().forEach(function(e){function l(t,n){e[n]=t,"translateX"===n?u.left=t+"px":u.top=t+"px",e.doTransform=!0}var c=n(e.element,"class"),u=(o=e.div=e.div||s("div",c?{className:c}:void 0,{position:"absolute",left:(e.translateX||0)+"px",top:(e.translateY||0)+"px",display:e.display,opacity:e.opacity,pointerEvents:e.styles&&e.styles.pointerEvents},o||t)).style;i(e,{classSetter:function(e){return function(t){this.element.setAttribute("class",t),e.className=t}}(o),on:function(){return r[0].div&&a.on.apply({element:r[0].div},arguments),e},translateXSetter:l,translateYSetter:l}),e.addedSetters||f(e)})}}else o=t;return o.appendChild(l),a.added=!0,a.alignOnAdd&&a.htmlUpdateTransform(),a}),a}})}),t(n,"parts/Time.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],function(e,t){var n=t.defined,r=t.extend,i=t.isObject,o=t.objectEach,a=t.pad,s=t.pick,l=t.splat,c=e.merge,u=e.timeUnits,f=e.win;e.Time=function(e){this.update(e,!1)},e.Time.prototype={defaultOptions:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},update:function(e){var t=s(e&&e.useUTC,!0),n=this;this.options=e=c(!0,this.options||{},e),this.Date=e.Date||f.Date||Date,this.timezoneOffset=(this.useUTC=t)&&e.timezoneOffset,this.getTimezoneOffset=this.timezoneOffsetFunction(),(this.variableTimezone=!(t&&!e.getTimezoneOffset&&!e.timezone))||this.timezoneOffset?(this.get=function(e,t){var r=t.getTime(),i=r-n.getTimezoneOffset(t);return t.setTime(i),e=t["getUTC"+e](),t.setTime(r),e},this.set=function(e,t,r){if("Milliseconds"===e||"Seconds"===e||"Minutes"===e&&0===t.getTimezoneOffset()%60)t["set"+e](r);else{var i=n.getTimezoneOffset(t);i=t.getTime()-i,t.setTime(i),t["setUTC"+e](r),e=n.getTimezoneOffset(t),i=t.getTime()+e,t.setTime(i)}}):t?(this.get=function(e,t){return t["getUTC"+e]()},this.set=function(e,t,n){return t["setUTC"+e](n)}):(this.get=function(e,t){return t["get"+e]()},this.set=function(e,t,n){return t["set"+e](n)})},makeTime:function(t,n,r,i,o,a){if(this.useUTC){var l=this.Date.UTC.apply(0,arguments),c=this.getTimezoneOffset(l);l+=c;var u=this.getTimezoneOffset(l);c!==u?l+=u-c:c-36e5!==this.getTimezoneOffset(l-36e5)||e.isSafari||(l-=36e5)}else l=new this.Date(t,n,s(r,1),s(i,0),s(o,0),s(a,0)).getTime();return l},timezoneOffsetFunction:function(){var t=this,n=this.options,r=f.moment;if(!this.useUTC)return function(e){return 6e4*new Date(e).getTimezoneOffset()};if(n.timezone){if(r)return function(e){return 6e4*-r.tz(e,n.timezone).utcOffset()};e.error(25)}return this.useUTC&&n.getTimezoneOffset?function(e){return 6e4*n.getTimezoneOffset(e)}:function(){return 6e4*(t.timezoneOffset||0)}},dateFormat:function(t,i,l){if(!n(i)||isNaN(i))return e.defaultOptions.lang.invalidDate||"";t=s(t,"%Y-%m-%d %H:%M:%S");var c=this,u=new this.Date(i),f=this.get("Hours",u),h=this.get("Day",u),d=this.get("Date",u),p=this.get("Month",u),m=this.get("FullYear",u),g=e.defaultOptions.lang,v=g.weekdays,b=g.shortWeekdays;return u=r({a:b?b[h]:v[h].substr(0,3),A:v[h],d:a(d),e:a(d,2," "),w:h,b:g.shortMonths[p],B:g.months[p],m:a(p+1),o:p+1,y:m.toString().substr(2,2),Y:m,H:a(f),k:f,I:a(f%12||12),l:f%12||12,M:a(c.get("Minutes",u)),p:12>f?"AM":"PM",P:12>f?"am":"pm",S:a(u.getSeconds()),L:a(Math.floor(i%1e3),3)},e.dateFormats),o(u,function(e,n){for(;-1!==t.indexOf("%"+n);)t=t.replace("%"+n,"function"===typeof e?e.call(c,i):e)}),l?t.substr(0,1).toUpperCase()+t.substr(1):t},resolveDTLFormat:function(e){return i(e,!0)?e:{main:(e=l(e))[0],from:e[1],to:e[2]}},getTimeTicks:function(e,t,i,o){var a,l=this,c=[],f={},h=new l.Date(t),d=e.unitRange,p=e.count||1;if(o=s(o,1),n(t)){if(l.set("Milliseconds",h,d>=u.second?0:p*Math.floor(l.get("Milliseconds",h)/p)),d>=u.second&&l.set("Seconds",h,d>=u.minute?0:p*Math.floor(l.get("Seconds",h)/p)),d>=u.minute&&l.set("Minutes",h,d>=u.hour?0:p*Math.floor(l.get("Minutes",h)/p)),d>=u.hour&&l.set("Hours",h,d>=u.day?0:p*Math.floor(l.get("Hours",h)/p)),d>=u.day&&l.set("Date",h,d>=u.month?1:Math.max(1,p*Math.floor(l.get("Date",h)/p))),d>=u.month){l.set("Month",h,d>=u.year?0:p*Math.floor(l.get("Month",h)/p));var m=l.get("FullYear",h)}d>=u.year&&l.set("FullYear",h,m-m%p),d===u.week&&(m=l.get("Day",h),l.set("Date",h,l.get("Date",h)-m+o+(m4*u.month||l.getTimezoneOffset(t)!==l.getTimezoneOffset(i)),t=h.getTime(),h=1;tc.length&&c.forEach(function(e){0===e%18e5&&"000000000"===l.dateFormat("%H%M%S%L",e)&&(f[e]="day")})}return c.info=r(e,{higherRanks:f,totalRange:d*p}),c}}}),t(n,"parts/Options.js",[n["parts/Globals.js"]],function(e){var t=e.color,n=e.merge;e.defaultOptions={colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" "),symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:e.Time.prototype.defaultOptions,chart:{styledMode:!1,borderRadius:0,colorCount:10,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},width:null,height:null,borderColor:"#335cad",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"},title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#cccccc"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:e.svg,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",padding:8,snap:e.isTouchDevice?25:10,headerFormat:'{point.key}
',pointFormat:'\u25cf {series.name}: {point.y}
',backgroundColor:t("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,style:{color:"#333333",cursor:"default",fontSize:"12px",pointerEvents:"none",whiteSpace:"nowrap"}},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}},e.setOptions=function(t){return e.defaultOptions=n(!0,e.defaultOptions,t),(t.time||t.global)&&e.time.update(n(e.defaultOptions.global,e.defaultOptions.time,t.global,t.time)),e.defaultOptions},e.getOptions=function(){return e.defaultOptions},e.defaultPlotOptions=e.defaultOptions.plotOptions,e.time=new e.Time(n(e.defaultOptions.global,e.defaultOptions.time)),e.dateFormat=function(t,n,r){return e.time.dateFormat(t,n,r)}}),t(n,"parts/Tick.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],function(e,t){var n=t.clamp,r=t.correctFloat,i=t.defined,o=t.destroyObjectProperties,a=t.extend,s=t.isNumber,l=t.objectEach,c=t.pick,u=e.fireEvent,f=e.merge,h=e.deg2rad;e.Tick=function(e,t,n,r,i){this.axis=e,this.pos=t,this.type=n||"",this.isNewLabel=this.isNew=!0,this.parameters=i||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,n||r||this.addLabel()},e.Tick.prototype={addLabel:function(){var e=this,t=e.axis,n=t.options,o=t.chart,s=t.categories,l=t.names,u=e.pos,f=c(e.options&&e.options.labels,n.labels),h=t.tickPositions,d=u===h[0],p=u===h[h.length-1];l=this.parameters.category||(s?c(s[u],l[u],u):u);var m,g,v=e.label;if(s=(!f.step||1===f.step)&&1===t.tickInterval,h=h.info,t.isDatetimeAxis&&h)var b=o.time.resolveDTLFormat(n.dateTimeLabelFormats[!n.grid&&h.higherRanks[u]||h.unitName]),y=b.main;e.isFirst=d,e.isLast=p,e.formatCtx={axis:t,chart:o,isFirst:d,isLast:p,dateTimeLabelFormat:y,tickPositionInfo:h,value:t.isLog?r(t.lin2log(l)):l,pos:u},n=t.labelFormatter.call(e.formatCtx,this.formatCtx),(g=b&&b.list)&&(e.shortenLabel=function(){for(m=0;mu&&r-f*do&&(s=Math.round((i-r)/Math.cos(u*h))):(i=r+(1-f)*d,r-f*do&&(m=o-e.x+m*f,g=-1),(m=Math.min(p,m))m||t.autoRotation&&(l.styles||{}).width)&&(s=m)),s&&(this.shortenLabel?this.shortenLabel():(v.width=Math.floor(s),(n.style||{}).textOverflow||(v.textOverflow="ellipsis"),l.css(v)))},getPosition:function(e,t,i,o){var a=this.axis,s=a.chart,l=o&&s.oldChartHeight||s.chartHeight;return(e={x:e?r(a.translate(t+i,null,null,o)+a.transB):a.left+a.offset+(a.opposite?(o&&s.oldChartWidth||s.chartWidth)-a.right-a.left:0),y:e?l-a.bottom+a.offset-(a.opposite?a.height:0):r(l-a.translate(t+i,null,null,o)-a.transB)}).y=n(e.y,-1e5,1e5),u(this,"afterGetPosition",{pos:e}),e},getLabelPosition:function(e,t,n,r,o,a,s,l){var c=this.axis,f=c.transA,d=c.isLinked&&c.linkedParent?c.linkedParent.reversed:c.reversed,p=c.staggerLines,m=c.tickRotCorr||{x:0,y:0},g=o.y,v=r||c.reserveSpaceDefault?0:-c.labelOffset*("center"===c.labelAlign?.5:1),b={};return i(g)||(g=0===c.side?n.rotation?-8:-n.getBBox().height:2===c.side?m.y+8:Math.cos(n.rotation*h)*(m.y-n.getBBox(!1,0).height/2)),e=e+o.x+v+m.x-(a&&r?a*f*(d?-1:1):0),t=t+g-(a&&!r?a*f*(d?1:-1):0),p&&(n=s/(l||1)%p,c.opposite&&(n=p-n-1),t+=c.labelOffset/p*n),b.x=e,b.y=Math.round(t),u(this,"afterGetLabelPosition",{pos:b,tickmarkOffset:a,index:s}),b},getMarkPath:function(e,t,n,r,i,o){return o.crispLine(["M",e,t,"L",e+(i?0:-n),t+(i?n:0)],r)},renderGridLine:function(e,t,n){var r=this.axis,i=r.options,o=this.gridLine,a={},s=this.pos,l=this.type,u=c(this.tickmarkOffset,r.tickmarkOffset),f=r.chart.renderer,h=l?l+"Grid":"grid",d=i[h+"LineWidth"],p=i[h+"LineColor"];i=i[h+"LineDashStyle"],o||(r.chart.styledMode||(a.stroke=p,a["stroke-width"]=d,i&&(a.dashstyle=i)),l||(a.zIndex=1),e&&(t=0),this.gridLine=o=f.path().attr(a).addClass("highcharts-"+(l?l+"-":"")+"grid-line").add(r.gridGroup)),o&&(n=r.getPlotLinePath({value:s+u,lineWidth:o.strokeWidth()*n,force:"pass",old:e}))&&o[e||this.isNew?"attr":"animate"]({d:n,opacity:t})},renderMark:function(e,t,n){var r=this.axis,i=r.options,o=r.chart.renderer,a=this.type,s=a?a+"Tick":"tick",l=r.tickSize(s),u=this.mark,f=!u,h=e.x;e=e.y;var d=c(i[s+"Width"],!a&&r.isXAxis?1:0);i=i[s+"Color"],l&&(r.opposite&&(l[0]=-l[0]),f&&(this.mark=u=o.path().addClass("highcharts-"+(a?a+"-":"")+"tick").add(r.axisGroup),r.chart.styledMode||u.attr({stroke:i,"stroke-width":d})),u[f?"attr":"animate"]({d:this.getMarkPath(h,e,l[0],u.strokeWidth()*n,r.horiz,o),opacity:t}))},renderLabel:function(e,t,n,r){var i=this.axis,o=i.horiz,a=i.options,l=this.label,u=a.labels,f=u.step;i=c(this.tickmarkOffset,i.tickmarkOffset);var h=!0,d=e.x;e=e.y,l&&s(d)&&(l.xy=e=this.getLabelPosition(d,e,l,o,u,i,r,f),this.isFirst&&!this.isLast&&!c(a.showFirstLabel,1)||this.isLast&&!this.isFirst&&!c(a.showLastLabel,1)?h=!1:!o||u.step||u.rotation||t||0===n||this.handleOverflow(e),f&&r%f&&(h=!1),h&&s(e.y)?(e.opacity=n,l[this.isNewLabel?"attr":"animate"](e),this.isNewLabel=!1):(l.attr("y",-9999),this.isNewLabel=!0))},render:function(t,n,r){var i=this.axis,o=i.horiz,a=this.pos,s=c(this.tickmarkOffset,i.tickmarkOffset);s=(a=this.getPosition(o,a,s,n)).x;var l=a.y;i=o&&s===i.pos+i.len||!o&&l===i.pos?-1:1,r=c(r,1),this.isActive=!0,this.renderGridLine(n,r,i),this.renderMark(a,r,i),this.renderLabel(a,n,r,t),this.isNew=!1,e.fireEvent(this,"afterRender")},destroy:function(){o(this,this.axis)}}}),t(n,"parts/Axis.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],function(e,t){var n=t.animObject,r=t.arrayMax,i=t.arrayMin,o=t.clamp,a=t.correctFloat,s=t.defined,l=t.destroyObjectProperties,c=t.extend,u=t.isArray,f=t.isNumber,h=t.isString,d=t.objectEach,p=t.pick,m=t.relativeLength,g=t.splat,v=t.syncTimeout,b=e.addEvent,y=e.color,w=e.defaultOptions,x=e.deg2rad,S=e.fireEvent,_=e.format,E=e.getMagnitude,T=e.merge,k=e.normalizeTickInterval,O=e.removeEvent,C=e.seriesTypes,A=e.Tick;return c((t=function(){this.init.apply(this,arguments)}).prototype,{defaultOptions:{dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,labels:{enabled:!0,indentation:10,x:0,style:{color:"#666666",cursor:"default",fontSize:"11px"}},maxPadding:.01,minorTickLength:2,minorTickPosition:"outside",minPadding:.01,showEmpty:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",style:{color:"#666666"}},type:"linear",minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",tickColor:"#ccd6eb"},defaultYAxisOptions:{endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){return(0,this.axis.chart.numberFormatter)(this.total,-1)},style:{color:"#000000",fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},defaultLeftAxisOptions:{labels:{x:-15},title:{rotation:270}},defaultRightAxisOptions:{labels:{x:15},title:{rotation:90}},defaultBottomAxisOptions:{labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},defaultTopAxisOptions:{labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},init:function(t,n){var r=n.isX,i=this;i.chart=t,i.horiz=t.inverted&&!i.isZAxis?!r:r,i.isXAxis=r,i.coll=i.coll||(r?"xAxis":"yAxis"),S(this,"init",{userOptions:n}),i.opposite=n.opposite,i.side=n.side||(i.horiz?i.opposite?0:2:i.opposite?1:3),i.setOptions(n);var o=this.options,a=o.type;i.labelFormatter=o.labels.formatter||i.defaultLabelFormatter,i.userOptions=n,i.minPixelPadding=0,i.reversed=o.reversed,i.visible=!1!==o.visible,i.zoomEnabled=!1!==o.zoomEnabled,i.hasNames="category"===a||!0===o.categories,i.categories=o.categories||i.hasNames,i.names||(i.names=[],i.names.keys={}),i.plotLinesAndBandsGroups={},i.isLog="logarithmic"===a,i.isDatetimeAxis="datetime"===a,i.positiveValuesOnly=i.isLog&&!i.allowNegativeLog,i.isLinked=s(o.linkedTo),i.ticks={},i.labelEdge=[],i.minorTicks={},i.plotLinesAndBands=[],i.alternateBands={},i.len=0,i.minRange=i.userMinRange=o.minRange||o.maxZoom,i.range=o.range,i.offset=o.offset||0,i.stacks={},i.oldStacks={},i.stacksTouched=0,i.max=null,i.min=null,i.crosshair=p(o.crosshair,g(t.options.tooltip.crosshairs)[r?0:1],!1),n=i.options.events,-1===t.axes.indexOf(i)&&(r?t.axes.splice(t.xAxis.length,0,i):t.axes.push(i),t[i.coll].push(i)),i.series=i.series||[],t.inverted&&!i.isZAxis&&r&&"undefined"===typeof i.reversed&&(i.reversed=!0),d(n,function(t,n){e.isFunction(t)&&b(i,n,t)}),i.lin2log=o.linearToLogConverter||i.lin2log,i.isLog&&(i.val2lin=i.log2lin,i.lin2val=i.lin2log),S(this,"afterInit")},setOptions:function(e){this.options=T(this.defaultOptions,"yAxis"===this.coll&&this.defaultYAxisOptions,[this.defaultTopAxisOptions,this.defaultRightAxisOptions,this.defaultBottomAxisOptions,this.defaultLeftAxisOptions][this.side],T(w[this.coll],e)),S(this,"afterSetOptions",{userOptions:e})},defaultLabelFormatter:function(){var e=this.axis,t=this.value,n=e.chart.time,r=e.categories,i=this.dateTimeLabelFormat,o=w.lang,a=o.numericSymbols;o=o.numericSymbolMagnitude||1e3;var s=a&&a.length,l=e.options.labels.format;e=e.isLog?Math.abs(t):e.tickInterval;var c=this.chart,u=c.numberFormatter;if(l)var f=_(l,this,c);else if(r)f=t;else if(i)f=n.dateFormat(i,t);else if(s&&1e3<=e)for(;s--&&"undefined"===typeof f;)e>=(n=Math.pow(o,s+1))&&0===10*t%n&&null!==a[s]&&0!==t&&(f=u(t/n,-1)+a[s]);return"undefined"===typeof f&&(f=1e4<=Math.abs(t)?u(t,-1):u(t,-1,void 0,"")),f},getSeriesExtremes:function(){var e,t=this,n=t.chart;S(this,"getSeriesExtremes",null,function(){t.hasVisibleSeries=!1,t.dataMin=t.dataMax=t.threshold=null,t.softThreshold=!t.isXAxis,t.buildStacks&&t.buildStacks(),t.series.forEach(function(r){if(r.visible||!n.options.chart.ignoreHiddenSeries){var i=r.options,o=i.threshold;if(t.hasVisibleSeries=!0,t.positiveValuesOnly&&0>=o&&(o=null),t.isXAxis){if((i=r.xData).length){var a=(e=r.getXExtremes(i)).min,l=e.max;f(a)||a instanceof Date||(i=i.filter(f),a=(e=r.getXExtremes(i)).min,l=e.max),i.length&&(t.dataMin=Math.min(p(t.dataMin,a),a),t.dataMax=Math.max(p(t.dataMax,l),l))}}else r.getExtremes(),l=r.dataMax,a=r.dataMin,s(a)&&s(l)&&(t.dataMin=Math.min(p(t.dataMin,a),a),t.dataMax=Math.max(p(t.dataMax,l),l)),s(o)&&(t.threshold=o),(!i.softThreshold||t.positiveValuesOnly)&&(t.softThreshold=!1)}})}),S(this,"afterGetSeriesExtremes")},translate:function(e,t,n,r,i,o){var a=this.linkedParent||this,s=1,l=0,c=r?a.oldTransA:a.transA;r=r?a.oldMin:a.min;var u=a.minPixelPadding;return i=(a.isOrdinal||a.isBroken||a.isLog&&i)&&a.lin2val,c||(c=a.transA),n&&(s*=-1,l=a.len),a.reversed&&(l-=(s*=-1)*(a.sector||a.len)),t?(e=(e*s+l-u)/c+r,i&&(e=a.lin2val(e))):(i&&(e=a.val2lin(e)),e=f(r)?s*(e-r)*c+l+s*u+(f(o)?c*o:0):void 0),e},toPixels:function(e,t){return this.translate(e,!1,!this.horiz,null,!0)+(t?0:this.pos)},toValue:function(e,t){return this.translate(e-(t?0:this.pos),!0,!this.horiz,null,!0)},getPlotLinePath:function(e){var t,n,r,i,a,s=this,l=s.chart,c=s.left,u=s.top,h=e.old,d=e.value,m=e.translatedValue,g=e.lineWidth,v=e.force,b=h&&l.oldChartHeight||l.chartHeight,y=h&&l.oldChartWidth||l.chartWidth,w=s.transB,x=function(e,t,n){return("pass"!==v&&en)&&(v?e=o(e,t,n):a=!0),e};return e={value:d,lineWidth:g,old:h,force:v,acrossPanes:e.acrossPanes,translatedValue:m},S(this,"getPlotLinePath",e,function(e){m=p(m,s.translate(d,null,null,h)),m=o(m,-1e5,1e5),t=r=Math.round(m+w),n=i=Math.round(b-m-w),f(m)?s.horiz?(n=u,i=b-s.bottom,t=r=x(t,c,c+s.width)):(t=c,r=y-s.right,n=i=x(n,u,u+s.height)):(a=!0,v=!1),e.path=a&&!v?null:l.renderer.crispLine(["M",t,n,"L",r,i],g||1)}),e.path},getLinearTickPositions:function(e,t,n){var r=a(Math.floor(t/e)*e);n=a(Math.ceil(n/e)*e);var i,o=[];if(a(r+e)===r&&(i=20),this.single)return[t];for(t=r;t<=n&&(o.push(t),(t=a(t+e,i))!==s);)var s=t;return o},getMinorTickInterval:function(){var e=this.options;return!0===e.minorTicks?p(e.minorTickInterval,"auto"):!1===e.minorTicks?null:e.minorTickInterval},getMinorTickPositions:function(){var e=this,t=e.options,n=e.tickPositions,r=e.minorTickInterval,i=[],o=e.pointRangePadding||0,a=e.min-o,s=(o=e.max+o)-a;if(s&&s/r=this.minRange,f=this.minRange,h=(f-c+l)/2;h=[l-h,p(a.min,l-h)],u&&(h[2]=this.isLog?this.log2lin(this.dataMin):this.dataMin),c=[(l=r(h))+f,p(a.max,l+f)],u&&(c[2]=this.isLog?this.log2lin(this.dataMax):this.dataMax),(c=i(c))-l=b)_=b,d=0;else if(n.dataMax<=b){var T=b;h=0}n.min=p(w,_,n.dataMin),n.max=p(x,T,n.dataMax)}o&&(n.positiveValuesOnly&&!t&&0>=Math.min(n.min,p(n.dataMin,n.min))&&e.error(10,1,r),n.min=a(n.log2lin(n.min),16),n.max=a(n.log2lin(n.max),16)),n.range&&s(n.max)&&(n.userMin=n.min=w=Math.max(n.dataMin,n.minFromRange()),n.userMax=x=n.max,n.range=null),S(n,"foundExtremes"),n.beforePadding&&n.beforePadding(),n.adjustForMinRange(),!(v||n.axisPointRange||n.usePercentage||u)&&s(n.min)&&s(n.max)&&(r=n.max-n.min)&&(!s(w)&&d&&(n.min-=r*d),!s(x)&&h&&(n.max+=r*h)),f(n.userMin)||(f(i.softMin)&&i.softMinn.max&&(n.max=x=i.softMax),f(i.ceiling)&&(n.max=Math.min(n.max,i.ceiling))),y&&s(n.dataMin)&&(b=b||0,!s(w)&&n.min=b?n.min=n.options.minRange?Math.min(b,n.max-n.minRange):b:!s(x)&&n.max>b&&n.dataMax<=b&&(n.max=n.options.minRange?Math.max(b,n.min+n.minRange):b)),n.tickInterval=n.min===n.max||"undefined"===typeof n.min||"undefined"===typeof n.max?1:u&&!m&&g===n.linkedParent.options.tickPixelInterval?m=n.linkedParent.tickInterval:p(m,this.tickAmount?(n.max-n.min)/Math.max(this.tickAmount-1,1):void 0,v?1:(n.max-n.min)*g/Math.max(n.len,g)),c&&!t&&n.series.forEach(function(e){e.processData(n.min!==n.oldMin||n.max!==n.oldMax)}),n.setAxisTranslation(!0),n.beforeSetTickPositions&&n.beforeSetTickPositions(),n.postProcessTickInterval&&(n.tickInterval=n.postProcessTickInterval(n.tickInterval)),n.pointRange&&!m&&(n.tickInterval=Math.max(n.pointRange,n.tickInterval)),t=p(i.minTickInterval,n.isDatetimeAxis&&n.closestPointRange),!m&&n.tickIntervaln.tickInterval&&1e3n.max)),!!this.tickAmount)),this.tickAmount||(n.tickInterval=n.unsquish()),this.setTickPositions()},setTickPositions:function(){var t=this.options,n=t.tickPositions,r=this.getMinorTickInterval(),i=t.tickPositioner,o=t.startOnTick,a=t.endOnTick;this.tickmarkOffset=this.categories&&"between"===t.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===r&&this.tickInterval?this.tickInterval/5:r,this.single=this.min===this.max&&s(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==t.allowDecimals),this.tickPositions=r=n&&n.slice(),!r&&(!this.ordinalPositions&&(this.max-this.min)/this.tickInterval>Math.max(2*this.len,200)?(r=[this.min,this.max],e.error(19,!1,this.chart)):r=this.isDatetimeAxis?this.getTimeTicks(this.normalizeTimeTickInterval(this.tickInterval,t.units),this.min,this.max,t.startOfWeek,this.ordinalPositions,this.closestPointRange,!0):this.isLog?this.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max),r.length>this.len&&((r=[r[0],r.pop()])[0]===r[1]&&(r.length=1)),this.tickPositions=r,i&&(i=i.apply(this,[this.min,this.max])))&&(this.tickPositions=r=i),this.paddedTicks=r.slice(0),this.trimTicks(r,o,a),this.isLinked||(this.single&&2>r.length&&!this.categories&&(this.min-=.5,this.max+=.5),n||i||this.adjustTickAmount()),S(this,"afterSetTickPositions")},trimTicks:function(e,t,n){var r=e[0],i=e[e.length-1],o=this.minPointOffset||0;if(S(this,"trimTicks"),!this.isLinked){if(t&&-1/0!==r)this.min=r;else for(;this.min-o>e[0];)e.shift();if(n)this.max=i;else for(;this.max+ot&&(this.finalTickAmt=t,t=5),this.tickAmount=t},adjustTickAmount:function(){var e,t=this.options,n=this.tickInterval,r=this.tickPositions,i=this.tickAmount,o=this.finalTickAmt,l=r&&r.length,c=p(this.threshold,this.softThreshold?0:null);if(this.hasData()){if(li&&(this.tickInterval*=2,this.setTickPositions());if(s(o)){for(n=t=r.length;n--;)(3===o&&1===n%2||2>=o&&0a&&(t=a)),s(r)&&(ia&&(i=a))),this.displayBtn="undefined"!==typeof t||"undefined"!==typeof i,this.setExtremes(t,i,!1,void 0,{trigger:"zoom"})),e.zoomed=!0}),e.zoomed},setAxisSize:function(){var e=this.chart,t=this.options,n=t.offsets||[0,0,0,0],r=this.horiz,i=this.width=Math.round(m(p(t.width,e.plotWidth-n[3]+n[1]),e.plotWidth)),o=this.height=Math.round(m(p(t.height,e.plotHeight-n[0]+n[2]),e.plotHeight)),a=this.top=Math.round(m(p(t.top,e.plotTop+n[0]),e.plotHeight,e.plotTop));t=this.left=Math.round(m(p(t.left,e.plotLeft+n[3]),e.plotWidth,e.plotLeft)),this.bottom=e.chartHeight-o-a,this.right=e.chartWidth-i-t,this.len=Math.max(r?i:o,0),this.pos=r?t:a},getExtremes:function(){var e=this.isLog;return{min:e?a(this.lin2log(this.min)):this.min,max:e?a(this.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},getThreshold:function(e){var t=this.isLog,n=t?this.lin2log(this.min):this.min;return t=t?this.lin2log(this.max):this.max,null===e||-1/0===e?e=n:1/0===e?e=t:n>e?e=n:tt?e.align="right":195t&&(e.align="left")}),e.align},tickSize:function(e){var t=this.options,n=t[e+"Length"],r=p(t[e+"Width"],"tick"===e&&this.isXAxis&&!this.categories?1:0);if(r&&n){"inside"===t[e+"Position"]&&(n=-n);var i=[n,r]}return S(this,"afterTickSize",e={tickSize:i}),e.tickSize},labelMetrics:function(){var e=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style&&this.options.labels.style.fontSize,this.ticks[e]&&this.ticks[e].label)},unsquish:function(){var e,t,n,r=this.options.labels,i=this.horiz,o=this.tickInterval,l=o,c=this.len/(((this.categories?1:0)+this.max-this.min)/o),u=r.rotation,f=this.labelMetrics(),h=Number.MAX_VALUE,d=this.max-this.min,m=function(e){var t=e/(c||1);return(t=1d&&1/0!==e&&1/0!==c&&d&&(t=Math.ceil(d/o)),a(t*o)};return i?(n=!r.staggerLines&&!r.step&&(s(u)?[u]:c=n){var r=(t=m(Math.abs(f.h/Math.sin(x*n))))+Math.abs(n/360);r(r.step||0)&&!r.rotation&&(this.staggerLines||1)*this.len/i||!n&&(r.style&&parseInt(r.style.width,10)||o&&o-t.spacing[3]||.33*t.chartWidth)},renderUnsquish:function(){var e=this.chart,t=e.renderer,n=this.tickPositions,r=this.ticks,i=this.options.labels,o=i&&i.style||{},a=this.horiz,s=this.getSlotWidth(),l=Math.max(1,Math.round(s-2*(i.padding||5))),c={},u=this.labelMetrics(),f=i.style&&i.style.textOverflow,d=0;if(h(i.rotation)||(c.rotation=i.rotation||0),n.forEach(function(e){(e=r[e]).movedLabel&&e.replaceMovedLabel(),e&&e.label&&e.label.textPxLength>d&&(d=e.label.textPxLength)}),this.maxLabelLength=d,this.autoRotation)d>l&&d>u.h?c.rotation=this.labelRotation:this.labelRotation=0;else if(s){var p=l;if(!f){var m="clip";for(l=n.length;!a&&l--;){var g=n[l];(g=r[g].label)&&(g.styles&&"ellipsis"===g.styles.textOverflow?g.css({textOverflow:"clip"}):g.textPxLength>s&&g.css({width:s+"px"}),g.getBBox().height>this.len/n.length-(u.h-u.f)&&(g.specificTextOverflow="ellipsis"))}}}c.rotation&&(p=d>.5*e.chartHeight?.33*e.chartHeight:d,f||(m="ellipsis")),(this.labelAlign=i.align||this.autoLabelAlign(this.labelRotation))&&(c.align=this.labelAlign),n.forEach(function(e){var t=(e=r[e])&&e.label,n=o.width,i={};t&&(t.attr(c),e.shortenLabel?e.shortenLabel():p&&!n&&"nowrap"!==o.whiteSpace&&(p=this.min&&e<=this.max)&&(r[e]||(r[e]=new A(this,e)),i&&r[e].isNew&&r[e].render(t,!0,-1),r[e].render(t))},render:function(){var t,r,i=this,o=i.chart,a=i.options,s=i.isLog,l=i.isLinked,c=i.tickPositions,u=i.axisTitle,h=i.ticks,p=i.minorTicks,m=i.alternateBands,g=a.stackLabels,b=a.alternateGridColor,y=i.tickmarkOffset,w=i.axisLine,x=i.showAxis,_=n(o.renderer.globalAnimation);i.labelEdge.length=0,i.overlap=!1,[h,p,m].forEach(function(e){d(e,function(e){e.isActive=!1})}),(i.hasData()||l)&&(i.minorTickInterval&&!i.categories&&i.getMinorTickPositions().forEach(function(e){i.renderMinorTick(e)}),c.length&&(c.forEach(function(e,t){i.renderTick(e,t)}),y&&(0===i.min||i.single)&&(h[-1]||(h[-1]=new A(i,-1,null,!0)),h[-1].render(-1))),b&&c.forEach(function(n,a){r="undefined"!==typeof c[a+1]?c[a+1]+y:i.max-y,0===a%2&&nt&&(!a||p<=o)&&"undefined"!==typeof p&&c.push(p),p>o&&(f=!0);var p=d}}}else t=this.lin2log(t),o=this.lin2log(o),e=a?this.getMinorTickInterval():s.tickInterval,e=n("auto"===e?null:e,this._minorAutoInterval,s.tickPixelInterval/(a?5:1)*(o-t)/((a?l/this.tickPositions.length:l)||1)),e=i(e,null,r(e)),c=this.getLinearTickPositions(e,t,o).map(this.log2lin),a||(this._minorAutoInterval=e/5);return a||(this.tickInterval=e),c},t.prototype.log2lin=function(e){return Math.log(e)/Math.LN10},t.prototype.lin2log=function(e){return Math.pow(10,e)}}),t(n,"parts/PlotLineOrBand.js",[n["parts/Globals.js"],n["parts/Axis.js"],n["parts/Utilities.js"]],function(e,t,n){var r=n.arrayMax,i=n.arrayMin,o=n.defined,a=n.destroyObjectProperties,s=n.erase,l=n.extend,c=n.objectEach,u=n.pick,f=e.merge;e.PlotLineOrBand=function(e,t){this.axis=e,t&&(this.options=t,this.id=t.id)},e.PlotLineOrBand.prototype={render:function(){e.fireEvent(this,"render");var t=this,n=t.axis,r=n.horiz,i=t.options,a=i.label,s=t.label,l=i.to,h=i.from,d=i.value,p=o(h)&&o(l),m=o(d),g=t.svgElem,v=!g,b=[],y=i.color,w=u(i.zIndex,0),x=i.events;b={class:"highcharts-plot-"+(p?"band ":"line ")+(i.className||"")};var S={},_=n.chart.renderer,E=p?"bands":"lines";if(n.isLog&&(h=n.log2lin(h),l=n.log2lin(l),d=n.log2lin(d)),n.chart.styledMode||(m?(b.stroke=y||"#999999",b["stroke-width"]=u(i.width,1),i.dashStyle&&(b.dashstyle=i.dashStyle)):p&&(b.fill=y||"#e6ebf5",i.borderWidth&&(b.stroke=i.borderColor,b["stroke-width"]=i.borderWidth))),S.zIndex=w,E+="-"+w,(y=n.plotLinesAndBandsGroups[E])||(n.plotLinesAndBandsGroups[E]=y=_.g("plot-"+E).attr(S).add()),v&&(t.svgElem=g=_.path().attr(b).add(y)),m)b=n.getPlotLinePath({value:d,lineWidth:g.strokeWidth(),acrossPanes:i.acrossPanes});else{if(!p)return;b=n.getPlotBandPath(h,l,i)}return(v||!g.d)&&b&&b.length?(g.attr({d:b}),x&&c(x,function(e,n){g.on(n,function(e){x[n].apply(t,[e])})})):g&&(b?(g.show(!0),g.animate({d:b})):g.d&&(g.hide(),s&&(t.label=s=s.destroy()))),a&&(o(a.text)||o(a.formatter))&&b&&b.length&&0this.max&&t>this.max,r&&n){if(e){var s=r.toString()===n.toString();a=0}for(e=0;ep-s?p:p-s);else{if(!d)return!1;a[e]=Math.max(l,i+s+n>t?i:i+s)}}.apply(0,b)?!1!==function(e,t,n,r,i){var s;return it-o?s=!1:a[e]=it-r/2?t-r-2:i-n/2,s}.apply(0,y)||r||(x(!0),e()):r?a.x=a.y=0:(x(!0),e())}(),a},defaultFormatter:function(e){var t=this.points||c(this),n=[e.tooltipFooterHeaderFormatter(t[0])];return(n=n.concat(e.bodyFormatter(t))).push(e.tooltipFooterHeaderFormatter(t[0],!0)),n},refresh:function(t,n){var r=this.chart,i=this.options,o=t,a={},s=[],u=i.formatter||this.defaultFormatter;a=this.shared;var f=r.styledMode;if(i.enabled){e.clearTimeout(this.hideTimer),this.followPointer=c(o)[0].series.tooltipOptions.followPointer;var h=this.getAnchor(o,n);n=h[0];var d=h[1];!a||o.series&&o.series.noSharedTooltip?a=o.getLabelConfig():(r.pointer.applyInactiveState(o),o.forEach(function(e){e.setState("hover"),s.push(e.getLabelConfig())}),(a={x:o[0].category,y:o[0].y}).points=s,o=o[0]),this.len=s.length,r=u.call(a,this),u=o.series,this.distance=l(u.tooltipOptions.distance,16),!1===r?this.hide():(this.split?this.renderSplit(r,c(t)):(t=this.getLabel(),i.style.width&&!f||t.css({width:this.chart.spacingBox.width}),t.attr({text:r&&r.join?r.join(""):r}),t.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+l(o.colorIndex,u.colorIndex)),f||t.attr({stroke:i.borderColor||o.color||u.color||"#666666"}),this.updatePosition({plotX:n,plotY:d,negative:o.negative,ttBelow:o.ttBelow,h:h[2]||0})),this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1),e.fireEvent(this,"refresh")}},renderSplit:function(t,r){function i(e,t,r,i,o){return void 0===o&&(o=!0),r?(t=M?0:D,e=n(e-i/2,C.left,C.right-i)):(t-=P,e=n(e=o?e-i-T:e+T,o?e:C.left,C.right)),{x:e,y:t}}var a=this,c=a.chart,u=a.chart,f=u.chartWidth,h=u.chartHeight,d=u.plotHeight,p=u.plotLeft,m=u.plotTop,g=u.plotWidth,v=u.pointer,b=u.renderer,y=u.scrollablePixelsX;y=void 0===y?0:y;var w=u.scrollablePixelsY,x=void 0===w?0:w,S=(w=void 0===(w=u.scrollingContainer)?{scrollLeft:0,scrollTop:0}:w).scrollLeft,_=w.scrollTop,E=u.styledMode,T=a.distance,k=a.options,O=a.options.positioner,C={left:y?p:0,right:y?p+g-y:f,top:x?m:0,bottom:x?m+d-x:h},A=a.getLabel(),M=!(!c.xAxis[0]||!c.xAxis[0].opposite),P=m,R=0,D=d-x;s(t)&&(t=[!1,t]),t=t.slice(0,r.length+1).reduce(function(e,t,o){if(!1!==t&&""!==t){var s=(o=r[o-1]||{isHeader:!0,plotX:r[0].plotX,plotY:d,series:{}}).isHeader,c=s?a:o.series,u=c.tt,f=o.isHeader,h=o.series,g="highcharts-color-"+l(o.colorIndex,h.colorIndex,"none");u||(u={padding:k.padding,r:k.borderRadius},E||(u.fill=k.backgroundColor,u["stroke-width"]=k.borderWidth),u=b.label(null,null,null,k[f?"headerShape":"shape"]||"callout",null,null,k.useHTML).addClass(f?"highcharts-tooltip-header ":"highcharts-tooltip-box "+g).attr(u).add(A)),u.isActive=!0,u.attr({text:t}),E||u.css(k.style).shadow(k.shadow).attr({stroke:k.borderColor||o.color||h.color||"#333333"}),t=c.tt=u,c=(f=t.getBBox()).width+t.strokeWidth(),s&&(R=f.height,D+=R,M&&(P-=R)),h=void 0===(h=o.plotX)?0:h,g=void 0===(g=o.plotY)?0:g;var v=o.series;o.isHeader?(h=p+h-S,g=m+(d-x)/2):(u=v.xAxis,v=v.yAxis,h=u.pos+n(h,-T,u.len+T)-S,g=v.pos+n(g,0,v.len)-_),h=n(h,C.left-T,C.right+T),g=n(g,C.top,C.bottom),f=f.height+1,u=O?O.call(a,c,f,o):i(h,g,s,c),e.push({align:O?0:void 0,anchorX:h,anchorY:g,boxWidth:c,point:o,rank:l(u.rank,s?1:0),size:f,target:u.y,tt:t,x:u.x})}return e},[]),!O&&t.some(function(e){return 0>e.x})&&(t=t.map(function(e){var t=i(e.anchorX,e.anchorY,e.point.isHeader,e.boxWidth,!1);return o(e,{target:t.y,x:t.x})})),a.cleanSplit(),e.distribute(t,D,void 0),t.forEach(function(e){var t=e.pos;e.tt.attr({visibility:"undefined"===typeof t?"hidden":"inherit",x:e.x,y:t+P,anchorX:e.anchorX,anchorY:e.anchorY})}),t=a.container,c=a.renderer,a.outside&&t&&c&&(u=A.getBBox(),c.setSize(u.width+u.x,u.height+u.y,!1),v=v.getChartPosition(),t.style.left=v.left+"px",t.style.top=v.top+"px")},updatePosition:function(t){var n=this.chart,r=n.pointer,i=this.getLabel(),o=t.plotX+n.plotLeft,a=t.plotY+n.plotTop;if(r=r.getChartPosition(),t=(this.options.positioner||this.getPosition).call(this,i.width,i.height,t),this.outside){var s=(this.options.borderWidth||0)+2*this.distance;this.renderer.setSize(i.width+s,i.height+s,!1),(n=n.containerScaling)&&(e.css(this.container,{transform:"scale("+n.scaleX+", "+n.scaleY+")"}),o*=n.scaleX,a*=n.scaleY),o+=r.left-t.x,a+=r.top-t.y}this.move(Math.round(t.x),Math.round(t.y||0),o,a)},getDateFormat:function(e,t,n,r){var i=this.chart.time,o=i.dateFormat("%m-%d %H:%M:%S.%L",t),a={millisecond:15,second:12,minute:9,hour:6,day:3},s="millisecond";for(l in p){if(e===p.week&&+i.dateFormat("%w",t)===n&&"00:00:00.000"===o.substr(6)){var l="week";break}if(p[l]>e){l=s;break}if(a[l]&&o.substr(a[l])!=="01-01 00:00:00.000".substr(a[l]))break;"week"!==l&&(s=l)}if(l)var c=i.resolveDTLFormat(r[l]).main;return c},getXDateFormat:function(e,t,n){t=t.dateTimeLabelFormats;var r=n&&n.closestPointRange;return(r?this.getDateFormat(r,e.x,n.options.startOfWeek,t):t.day)||t.year},tooltipFooterHeaderFormatter:function(t,n){var r=n?"footer":"header",i=t.series,o=i.tooltipOptions,s=o.xDateFormat,l=i.xAxis,c=l&&"datetime"===l.options.type&&a(t.key),u=o[r+"Format"];return n={isFooter:n,labelConfig:t},e.fireEvent(this,"headerFormatter",n,function(e){c&&!s&&(s=this.getXDateFormat(t,o,l)),c&&s&&(t.point&&t.point.tooltipDateKeys||["key"]).forEach(function(e){u=u.replace("{point."+e+"}","{point."+e+":"+s+"}")}),i.chart.styledMode&&(u=this.styledModeFormat(u)),e.text=h(u,{point:t,series:i},this.chart)}),n.text},bodyFormatter:function(e){return e.map(function(e){var t=e.series.tooltipOptions;return(t[(e.point.formatPrefix||"point")+"Formatter"]||e.point.tooltipFormatter).call(e.point,t[(e.point.formatPrefix||"point")+"Format"]||"")})},styledModeFormat:function(e){return e.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')}}}),t(n,"parts/Pointer.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],function(e,t){var n=t.attr,r=t.defined,i=t.extend,o=t.isNumber,a=t.isObject,s=t.objectEach,l=t.offset,c=t.pick,u=t.splat,f=e.addEvent,h=e.charts,d=e.color,p=e.css,m=e.find,g=e.fireEvent,v=e.Tooltip;e.Pointer=function(e,t){this.init(e,t)},e.Pointer.prototype={init:function(e,t){this.options=t,this.chart=e,this.runChartClick=t.chart.events&&!!t.chart.events.click,this.pinchDown=[],this.lastValidTouch={},v&&(e.tooltip=new v(e,t.tooltip),this.followTouchMove=c(t.tooltip.followTouchMove,!0)),this.setDOMEvents()},zoomOption:function(e){var t=this.chart,n=t.options.chart,r=n.zoomType||"";t=t.inverted,/touch/.test(e.type)&&(r=c(n.pinchType,r)),this.zoomX=e=/x/.test(r),this.zoomY=r=/y/.test(r),this.zoomHor=e&&!t||r&&t,this.zoomVert=r&&!t||e&&t,this.hasZoom=e||r},getChartPosition:function(){var e=this.chart;return e=e.scrollingContainer||e.container,this.chartPosition||(this.chartPosition=l(e))},normalize:function(e,t){var n=e.touches?e.touches.length?e.touches.item(0):e.changedTouches[0]:e;t||(t=this.getChartPosition());var r=n.pageX-t.left;return t=n.pageY-t.top,(n=this.chart.containerScaling)&&(r/=n.scaleX,t/=n.scaleY),i(e,{chartX:Math.round(r),chartY:Math.round(t)})},getCoordinates:function(e){var t={xAxis:[],yAxis:[]};return this.chart.axes.forEach(function(n){t[n.isXAxis?"xAxis":"yAxis"].push({axis:n,value:n.toValue(e[n.horiz?"chartX":"chartY"])})}),t},findNearestKDPoint:function(e,t,n){var r;return e.forEach(function(e){var i=!(e.noSharedTooltip&&t)&&0>e.options.findNearestPointBy.indexOf("y");if(e=e.searchPoint(n,i),(i=a(e,!0))&&!(i=!a(r,!0))){i=r.distX-e.distX;var o=r.dist-e.dist,s=(e.series.group&&e.series.group.zIndex)-(r.series.group&&r.series.group.zIndex);i=0<(0!==i&&t?i:0!==o?o:0!==s?s:r.series.index>e.series.index?-1:1)}i&&(r=e)}),r},getPointFromEvent:function(e){e=e.target;for(var t;e&&!t;)t=e.point,e=e.parentNode;return t},getChartCoordinatesFromPoint:function(e,t){var n=e.series,r=n.xAxis;n=n.yAxis;var i=c(e.clientX,e.plotX),o=e.shapeArgs;return r&&n?t?{chartX:r.len+r.pos-i,chartY:n.len+n.pos-e.plotY}:{chartX:i+r.pos,chartY:e.plotY+n.pos}:o&&o.x&&o.y?{chartX:o.x,chartY:o.y}:void 0},getHoverData:function(e,t,n,r,i,o){var s,l=[];r=!(!r||!e);var u=t&&!t.stickyTracking?[t]:n.filter(function(e){return e.visible&&!(!i&&e.directTouch)&&c(e.options.enableMouseTracking,!0)&&e.stickyTracking});return t=(s=r||!o?e:this.findNearestKDPoint(u,i,o))&&s.series,s&&(i&&!t.noSharedTooltip?(u=n.filter(function(e){return e.visible&&!(!i&&e.directTouch)&&c(e.options.enableMouseTracking,!0)&&!e.noSharedTooltip})).forEach(function(e){var t=m(e.points,function(e){return e.x===s.x&&!e.isNull});a(t)&&(e.chart.isBoosting&&(t=e.getPoint(t)),l.push(t))}):l.push(s)),{hoverPoint:s,hoverSeries:t,hoverPoints:l}},runPointActions:function(t,n){var r=this.chart,i=r.tooltip&&r.tooltip.options.enabled?r.tooltip:void 0,o=!!i&&i.shared,a=n||r.hoverPoint,s=a&&a.series||r.hoverSeries;a=(s=this.getHoverData(a,s,r.series,(!t||"touchmove"!==t.type)&&(!!n||s&&s.directTouch&&this.isDirectTouch),o,t)).hoverPoint;var l=s.hoverPoints;if(n=(s=s.hoverSeries)&&s.tooltipOptions.followPointer,o=o&&s&&!s.noSharedTooltip,a&&(a!==r.hoverPoint||i&&i.isHidden)){if((r.hoverPoints||[]).forEach(function(e){-1===l.indexOf(e)&&e.setState()}),r.hoverSeries!==s&&s.onMouseOver(),this.applyInactiveState(l),(l||[]).forEach(function(e){e.setState("hover")}),r.hoverPoint&&r.hoverPoint.firePointEvent("mouseOut"),!a.series)return;a.firePointEvent("mouseOver"),r.hoverPoints=l,r.hoverPoint=a,i&&i.refresh(o?l:a,t)}else n&&i&&!i.isHidden&&(a=i.getAnchor([{}],t),i.updatePosition({plotX:a[0],plotY:a[1]}));this.unDocMouseMove||(this.unDocMouseMove=f(r.container.ownerDocument,"mousemove",function(t){var n=h[e.hoverChartIndex];n&&n.pointer.onDocumentMouseMove(t)})),r.axes.forEach(function(n){var r=c(n.crosshair.snap,!0),i=r?e.find(l,function(e){return e.series[n.coll]===n}):void 0;i||!r?n.drawCrosshair(t,i):n.hideCrosshair()})},applyInactiveState:function(e){var t,n=[];(e||[]).forEach(function(e){t=e.series,n.push(t),t.linkedParent&&n.push(t.linkedParent),t.linkedSeries&&(n=n.concat(t.linkedSeries)),t.navigatorSeries&&n.push(t.navigatorSeries)}),this.chart.series.forEach(function(e){-1===n.indexOf(e)?e.setState("inactive",!0):e.options.inactiveOtherPoints&&e.setAllPointsToState("inactive")})},reset:function(e,t){var n=this.chart,r=n.hoverSeries,i=n.hoverPoint,o=n.hoverPoints,a=n.tooltip,s=a&&a.shared?o:i;e&&s&&u(s).forEach(function(t){t.series.isCartesian&&"undefined"===typeof t.plotX&&(e=!1)}),e?a&&s&&u(s).length&&(a.refresh(s),a.shared&&o?o.forEach(function(e){e.setState(e.state,!0),e.series.isCartesian&&(e.series.xAxis.crosshair&&e.series.xAxis.drawCrosshair(null,e),e.series.yAxis.crosshair&&e.series.yAxis.drawCrosshair(null,e))}):i&&(i.setState(i.state,!0),n.axes.forEach(function(e){e.crosshair&&i.series[e.coll]===e&&e.drawCrosshair(null,i)}))):(i&&i.onMouseOut(),o&&o.forEach(function(e){e.setState()}),r&&r.onMouseOut(),a&&a.hide(t),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),n.axes.forEach(function(e){e.hideCrosshair()}),this.hoverX=n.hoverPoints=n.hoverPoint=null)},scaleGroups:function(e,t){var n,r=this.chart;r.series.forEach(function(i){n=e||i.getPlotBox(),i.xAxis&&i.xAxis.zoomEnabled&&i.group&&(i.group.attr(n),i.markerGroup&&(i.markerGroup.attr(n),i.markerGroup.clip(t?r.clipRect:null)),i.dataLabelsGroup&&i.dataLabelsGroup.attr(n))}),r.clipRect.attr(t||r.clipBox)},dragStart:function(e){var t=this.chart;t.mouseIsDown=e.type,t.cancelClick=!1,t.mouseDownX=this.mouseDownX=e.chartX,t.mouseDownY=this.mouseDownY=e.chartY},drag:function(e){var t=this.chart,n=t.options.chart,r=e.chartX,i=e.chartY,o=this.zoomHor,s=this.zoomVert,l=t.plotLeft,c=t.plotTop,u=t.plotWidth,f=t.plotHeight,h=this.selectionMarker,p=this.mouseDownX,m=this.mouseDownY,g=a(n.panning)?n.panning&&n.panning.enabled:n.panning,v=n.panKey&&e[n.panKey+"Key"];if((!h||!h.touch)&&(rl+u&&(r=l+u),ic+f&&(i=c+f),this.hasDragged=Math.sqrt(Math.pow(p-r,2)+Math.pow(m-i,2)),10b.max&&(t=b.max-l,E=!0);E?(x-=.8*(x-a[f][0]),y||(_-=.8*(_-a[f][1])),n()):a[f]=[x,_],v||(o[f]=c-m,o[p]=l),o=v?1/g:g,i[p]=l,i[f]=t,r[v?e?"scaleY":"scaleX":"scale"+h]=g,r["translate"+h]=o*m+(x-o*w)},pinch:function(e){var t=this,i=t.chart,a=t.pinchDown,s=e.touches,l=s.length,c=t.lastValidTouch,u=t.hasZoom,f=t.selectionMarker,h={},d=1===l&&(t.inClass(e.target,"highcharts-tracker")&&i.runTrackerClick||t.runChartClick),p={};1r-6&&ac?this.maxItemWidth:e.itemWidth,r&&this.itemX-n+t>c&&(this.itemX=n,this.lastLineHeight&&(this.itemY+=s+this.lastLineHeight+a),this.lastLineHeight=0),this.lastItemY=s+this.itemY+a,this.lastLineHeight=Math.max(i,this.lastLineHeight),e._legendItemPos=[this.itemX,this.itemY],r?this.itemX+=t:(this.itemY+=s+i+a,this.lastLineHeight=i),this.offsetWidth=this.widthOption||Math.max((r?this.itemX-n-(e.checkbox?0:l):t)+n,this.offsetWidth)},getAllItems:function(){var e=[];return this.chart.series.forEach(function(t){var r=t&&t.options;t&&o(r.showInLegend,!n(r.linkedTo)&&void 0,!0)&&(e=e.concat(t.legendItems||("point"===r.legendType?t.data:t)))}),f(this,"afterGetAllItems",{allItems:e}),e},getAlignment:function(){var e=this.options;return this.proximate?e.align.charAt(0)+"tv":e.floating?"":e.align.charAt(0)+e.verticalAlign.charAt(0)+e.layout.charAt(0)},adjustMargins:function(e,t){var r=this.chart,i=this.options,a=this.getAlignment();a&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(s,l){s.test(a)&&!n(e[l])&&(r[d[l]]=Math.max(r[d[l]],r.legend[(l+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][l]*i[l%2?"x":"y"]+o(i.margin,12)+t[l]+(r.titleOffset[l]||0)))})},proximatePositions:function(){var t=this.chart,n=[],r="left"===this.options.align;this.allItems.forEach(function(o){var a=r;if(o.yAxis&&o.points){o.xAxis.options.reversed&&(a=!a);var s=e.find(a?o.points:o.points.slice(0).reverse(),function(e){return i(e.plotY)});a=this.itemMarginTop+o.legendItem.getBBox().height+this.itemMarginBottom;var l=o.yAxis.top-t.plotTop;o.visible?(s=s?s.plotY:o.yAxis.height,s+=l-.3*a):s=l+o.yAxis.height,n.push({target:s,size:a,item:o})}},this),e.distribute(n,t.plotHeight),n.forEach(function(e){e.item._legendItemPos[1]=t.plotTop-t.spacing[0]+e.pos})},render:function(){var e,t=this.chart,n=t.renderer,r=this.group,i=this.box,o=this.options,s=this.padding;this.itemX=s,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=a(o.width,t.spacingBox.width-s);var l=t.spacingBox.width-2*s-o.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(l/=2),this.maxLegendWidth=this.widthOption||l,r||(this.group=r=n.g("legend").attr({zIndex:7}).add(),this.contentGroup=n.g().attr({zIndex:1}).add(r),this.scrollGroup=n.g().add(this.contentGroup)),this.renderTitle(),l=this.getAllItems(),m(l,function(e,t){return(e.options&&e.options.legendIndex||0)-(t.options&&t.options.legendIndex||0)}),o.reversed&&l.reverse(),this.allItems=l,this.display=e=!!l.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,l.forEach(this.renderItem,this),l.forEach(this.layoutItem,this),l=(this.widthOption||this.offsetWidth)+s;var c=this.lastItemY+this.lastLineHeight+this.titleHeight;c=this.handleOverflow(c),c+=s,i||(this.box=i=n.rect().addClass("highcharts-legend-box").attr({r:o.borderRadius}).add(r),i.isNew=!0),t.styledMode||i.attr({stroke:o.borderColor,"stroke-width":o.borderWidth||0,fill:o.backgroundColor||"none"}).shadow(o.shadow),0a&&!1!==h.enabled?(this.clipHeight=l=Math.max(a-20-this.titleHeight-s,0),this.currentPage=o(this.currentPage,1),this.fullHeight=e,v.forEach(function(e,t){var n=e._legendItemPos[1],r=Math.round(e.legendItem.getBBox().height),i=g.length;(!i||n-g[i-1]>l&&(c||n)!==g[i-1])&&(g.push(c||n),i++),e.pageIx=i-1,c&&(v[t-1].pageIx=i-1),t===v.length-1&&n+r-g[i-1]>l&&n!==c&&(g.push(n),e.pageIx=i),n!==c&&(c=n)}),f||(f=t.clipRect=r.clipRect(0,s,9999,0),t.contentGroup.clip(f)),b(l),m||(this.nav=m=r.g().attr({zIndex:1}).add(this.group),this.up=r.symbol("triangle",0,0,p,p).add(m),y("upTracker").on("click",function(){t.scroll(-1,d)}),this.pager=r.text("",15,10).addClass("highcharts-legend-navigation"),n.styledMode||this.pager.css(h.style),this.pager.add(m),this.down=r.symbol("triangle-down",0,0,p,p).add(m),y("downTracker").on("click",function(){t.scroll(1,d)})),t.scroll(0),e=a):m&&(b(),this.nav=m.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),e},scroll:function(t,n){var r=this,i=this.chart,a=this.pages,c=a.length,u=this.currentPage+t;t=this.clipHeight;var h=this.options.navigation,d=this.pager,p=this.padding;u>c&&(u=c),0a&&("string"===(r=typeof t[0])?n.name=t[0]:"number"===r&&(n.x=t[0]),c++);u=n.value;)n=t[++r];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=n&&n.color&&!this.options.color?n.color:this.nonZonedColor,n},hasNewShapeType:function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},destroy:function(){function e(){for(a in s&&(t.setState(),o(s,t),s.length||(i.hoverPoints=null)),t===i.hoverPoint&&t.onMouseOut(),(t.graphic||t.dataLabel||t.dataLabels)&&(m(t),t.destroyElements()),t)t[a]=null}var t=this,n=t.series,i=n.chart;n=n.options.dataSorting;var a,s=i.hoverPoints,l=r(t.series.chart.renderer.globalAnimation);n&&n.enabled?(this.animateBeforeDestroy(),u(e,l.duration)):e(),i.pointCount--,t.legendItem&&i.legend.destroyItem(t)},animateBeforeDestroy:function(){var e,t=this,n={x:t.startXPos,opacity:0},r=t.getGraphicalProps();r.singular.forEach(function(r){e="dataLabel"===r,t[r]=t[r].animate(e?{x:t[r].startXPos,y:t[r].startYPos,opacity:0}:n)}),r.plural.forEach(function(e){t[e].forEach(function(e){e.element&&e.animate(a({x:t.startXPos},e.startYPos?{x:e.startXPos,y:e.startYPos}:{}))})})},destroyElements:function(e){var t=this;(e=t.getGraphicalProps(e)).singular.forEach(function(e){t[e]=t[e].destroy()}),e.plural.forEach(function(e){t[e].forEach(function(e){e.element&&e.destroy()}),delete t[e]})},getGraphicalProps:function(e){var t,n=this,r=[],i={singular:[],plural:[]};for((e=e||{graphic:1,dataLabel:1}).graphic&&r.push("graphic","shadowGroup"),e.dataLabel&&r.push("dataLabel","dataLabelUpper","connector"),t=r.length;t--;){var o=r[t];n[o]&&i.singular.push(o)}return["dataLabel","connector"].forEach(function(t){var r=t+"s";e[t]&&n[r]&&i.plural.push(r)}),i},getLabelConfig:function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},tooltipFormatter:function(e){var t=this.series,n=t.tooltipOptions,r=f(n.valueDecimals,""),i=n.valuePrefix||"",o=n.valueSuffix||"";return t.chart.styledMode&&(e=t.chart.tooltip.styledModeFormat(e)),(t.pointArrayMap||["y"]).forEach(function(t){t="{point."+t,(i||o)&&(e=e.replace(RegExp(t+"}","g"),i+t+"}"+o)),e=e.replace(RegExp(t+"}","g"),t+":,."+r+"f}")}),d(e,{point:this,series:this.series},t.chart)},firePointEvent:function(e,t,n){var r=this,i=this.series.options;(i.point.events[e]||r.options&&r.options.events&&r.options.events[e])&&this.importEvents(),"click"===e&&i.allowPointSelect&&(n=function(e){r.select&&r.select(null,e.ctrlKey||e.metaKey||e.shiftKey)}),h(this,e,t,n)},visible:!0}}),t(n,"parts/Series.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],function(e,t){var n=t.animObject,r=t.arrayMax,i=t.arrayMin,o=t.clamp,a=t.correctFloat,s=t.defined,l=t.erase,c=t.extend,u=t.isArray,f=t.isNumber,h=t.isString,d=t.objectEach,p=t.pick,m=t.splat,g=t.syncTimeout,v=e.addEvent,b=e.defaultOptions,y=e.defaultPlotOptions,w=e.fireEvent,x=e.merge,S=e.removeEvent,_=e.SVGElement,E=e.win;e.Series=e.seriesType("line",null,{lineWidth:2,allowPointSelect:!1,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{align:"center",formatter:function(){var e=this.series.chart.numberFormatter;return null===this.y?"":e(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"},{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,eventsToUnbind:[],isCartesian:!0,parallelArrays:["x","y"],pointClass:e.Point,requireSorting:!0,sorted:!0,init:function(t,n){w(this,"init",{options:n});var r,i=this,o=t.series;this.eventOptions=this.eventOptions||{},i.chart=t,i.options=n=i.setOptions(n),i.linkedSeries=[],i.bindAxes(),c(i,{name:n.name,state:"",visible:!1!==n.visible,selected:!0===n.selected});var a=n.events;d(a,function(t,n){e.isFunction(t)&&i.eventOptions[n]!==t&&(e.isFunction(i.eventOptions[n])&&S(i,n,i.eventOptions[n]),i.eventOptions[n]=t,v(i,n,t))}),(a&&a.click||n.point&&n.point.events&&n.point.events.click||n.allowPointSelect)&&(t.runTrackerClick=!0),i.getColor(),i.getSymbol(),i.parallelArrays.forEach(function(e){i[e+"Data"]||(i[e+"Data"]=[])}),i.isCartesian&&(t.hasCartesianSeries=!0),o.length&&(r=o[o.length-1]),i._i=p(r&&r._i,-1)+1,t.orderSeries(this.insert(o)),n.dataSorting&&n.dataSorting.enabled?i.setDataSortingOptions():i.points||i.data||i.setData(n.data,!1),w(this,"afterInit")},insert:function(e){var t,n=this.options.index;if(f(n)){for(t=e.length;t--;)if(n>=p(e[t].options.index,e[t]._i)){e.splice(t+1,0,this);break}-1===t&&e.unshift(this),t+=1}else e.push(this);return p(t,e.length-1)},bindAxes:function(){var t,n=this,r=n.options,i=n.chart;w(this,"bindAxes",null,function(){(n.axisTypes||[]).forEach(function(o){i[o].forEach(function(e){t=e.options,(r[o]===t.index||"undefined"!==typeof r[o]&&r[o]===t.id||"undefined"===typeof r[o]&&0===t.index)&&(n.insert(e.series),n[o]=e,e.isDirty=!0)}),n[o]||n.optionalAxis===o||e.error(18,!0,i)})})},updateParallelArrays:function(e,t){var n=e.series,r=arguments,i=f(t)?function(r){var i="y"===r&&n.toYData?n.toYData(e):e[r];n[r+"Data"][t]=i}:function(e){Array.prototype[t].apply(n[e+"Data"],Array.prototype.slice.call(r,2))};n.parallelArrays.forEach(i)},hasData:function(){return this.visible&&"undefined"!==typeof this.dataMax&&"undefined"!==typeof this.dataMin||this.visible&&this.yData&&0=this.cropStart?u-this.cropStart:u),!r&&a[u]&&a[u].touched&&(u=void 0),u},drawLegendSymbol:e.LegendSymbolMixin.drawLineMarker,updateData:function(e,t){var n,i,o,a=this.options,l=a.dataSorting,c=this.points,u=[],h=this.requireSorting,d=e.length===c.length,p=!0;if(this.xIncrement=null,e.forEach(function(e,t){var r=s(e)&&this.pointClass.prototype.optionsToObject.call({series:this},e)||{},i=r.x;r.id||f(i)?(-1===(i=this.findPointIndex(r,o))||"undefined"===typeof i?u.push(e):c[i]&&e!==a.data[i]?(c[i].update(e,!1,null,!1),c[i].touched=!0,h&&(o=i+1)):c[i]&&(c[i].touched=!0),(!d||t!==i||l&&l.enabled||this.hasDerivedData)&&(n=!0)):u.push(e)},this),n)for(e=c.length;e--;)(i=c[e])&&!i.touched&&i.remove&&i.remove(!1,t);else!d||l&&l.enabled?p=!1:(e.forEach(function(e,t){c[t].update&&e!==c[t].y&&c[t].update(e,!1,null,!1)}),u.length=0);return c.forEach(function(e){e&&(e.touched=!1)}),!!p&&(u.forEach(function(e){this.addPoint(e,!1,null,null,!1)},this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=r(this.xData),this.autoIncrement()),!0)},setData:function(t,n,r,i){var o,a=this,s=a.points,l=s&&s.length||0,c=a.options,d=a.chart,m=c.dataSorting,g=null,v=a.xAxis;g=c.turboThreshold;var b,y=this.xData,w=this.yData,x=(o=a.pointArrayMap)&&o.length,S=c.keys,_=0,E=1;if(o=(t=t||[]).length,n=p(n,!0),m&&m.enabled&&(t=this.sortData(t)),!1!==i&&o&&l&&!a.cropped&&!a.hasGroupedData&&a.visible&&!a.isSeriesBoosting&&(b=this.updateData(t,r)),!b){if(a.xIncrement=null,a.colorCounter=0,this.parallelArrays.forEach(function(e){a[e+"Data"].length=0}),g&&o>g)if(g=a.getFirstValidPoint(t),f(g))for(r=0;rl||this.forceCrop))if(n[i-1]p)n=[],r=[];else if(this.yData&&(n[0]p)){n=(o=this.cropData(this.xData,this.yData,d,p)).xData,r=o.yData,o=o.start;var m=!0}for(l=n.length||1;--l;)if(0<(i=f?s(n[l])-s(n[l-1]):n[l]-n[l-1])&&("undefined"===typeof g||ii&&h&&(e.error(15,!1,this.chart),h=!1);this.cropped=m,this.cropStart=o,this.processedXData=n,this.processedYData=r,this.closestPointRange=this.basePointRange=g},cropData:function(e,t,n,r,i){var o,a=e.length,s=0,l=a;for(i=p(i,this.cropShoulder),o=0;o=n){s=Math.max(0,o-i);break}for(n=o;nr){l=n+i;break}return{xData:e.slice(s,l),yData:t.slice(s,l),start:s,end:l}},generatePoints:function(){var e,t=this.options,n=t.data,r=this.data,i=this.processedXData,o=this.processedYData,a=this.pointClass,s=i.length,l=this.cropStart||0,u=this.hasGroupedData;t=t.keys;var f,h=[];for(r||u||((r=[]).length=n.length,r=this.data=r),t&&u&&(this.options.keys=!1),f=0;f=c&&(a[t-d]||m)<=h,v&&m)if(v=g.length)for(;v--;)f(g[v])&&(s[l++]=g[v]);else s[l++]=g}this.dataMin=i(s),this.dataMax=r(s),w(this,"afterGetExtremes")},getFirstValidPoint:function(e){for(var t=null,n=e.length,r=0;null===t&&r=k&&(E.isNull=!0),E.plotX=t=a(o(i.translate(T,0,0,0,1,v,"flags"===this.type),-1e5,1e5)),r&&this.visible&&C&&C[T]){var A=this.getStackIndicator(A,T,this.index);if(!E.isNull)var M=C[T],P=M.points[A.key]}if(u(P)&&(O=P[0],k=P[1],O===x&&A.key===C[T].base&&(O=p(f(y)&&y,h.min)),h.positiveValuesOnly&&0>=O&&(O=null),E.total=E.stackTotal=M.total,E.percentage=M.total&&E.y/M.total*100,E.stackY=k,this.irregularWidths||M.setOffset(this.pointXOffset||0,this.barW||0)),E.yBottom=s(O)?o(h.translate(O,0,1,0,1),-1e5,1e5):null,g&&(k=this.modifyValue(k,E)),E.plotY=k="number"===typeof k&&1/0!==k?o(h.translate(k,0,1,0,1),-1e5,1e5):void 0,E.isInside="undefined"!==typeof k&&0<=k&&k<=h.len&&0<=t&&t<=i.len,E.clientX=b?a(i.translate(T,0,0,0,1,v)):t,E.negative=E[S]<(n[S+"Threshold"]||y||0),E.category=l&&"undefined"!==typeof l[E.x]?l[E.x]:E.x,!E.isNull&&!1!==E.visible){"undefined"!==typeof R&&(_=Math.min(_,Math.abs(t-R)));var R=t}E.zone=this.zones.length&&E.getZone(),!E.graphic&&this.group&&c&&(E.isNew=!0)}this.closestPointRangePx=_,w(this,"afterTranslate")},getValidPoints:function(e,t,n){var r=this.chart;return(e||this.points||[]).filter(function(e){return!(t&&!r.isInsidePlot(e.plotX,e.plotY,r.inverted))&&(!1!==e.visible&&(n||!e.isNull))})},getClipBox:function(e,t){var n=this.options,r=this.chart,i=r.inverted,o=this.xAxis,a=o&&this.yAxis;return e&&!1===n.clip&&a?e=i?{y:-r.chartWidth+a.len+a.pos,height:r.chartWidth,width:r.chartHeight,x:-r.chartHeight+o.len+o.pos}:{y:-a.pos,height:r.chartHeight,width:r.chartWidth,x:-o.pos}:(e=this.clipBox||r.clipBox,t&&(e.width=r.plotSizeX,e.x=0)),t?{width:e.width,x:e.x}:e},setClip:function(e){var t=this.chart,n=this.options,r=t.renderer,i=t.inverted,o=this.clipBox,a=this.getClipBox(e),s=this.sharedClipKey||["_sharedClip",e&&e.duration,e&&e.easing,a.height,n.xAxis,n.yAxis].join(),l=t[s],c=t[s+"m"];l||(e&&(a.width=0,i&&(a.x=t.plotSizeX+(!1!==n.clip?0:t.plotTop)),t[s+"m"]=c=r.clipRect(i?t.plotSizeX+99:-99,i?-t.plotLeft:-t.plotTop,99,i?t.chartWidth:t.chartHeight)),t[s]=l=r.clipRect(a),l.count={length:0}),e&&!l.count[this.index]&&(l.count[this.index]=!0,l.count.length+=1),(!1!==n.clip||e)&&(this.group.clip(e||o?l:t.clipRect),this.markerGroup.clip(c),this.sharedClipKey=s),e||(l.count[this.index]&&(delete l.count[this.index],--l.count.length),0===l.count.length&&s&&t[s]&&(o||(t[s]=t[s].destroy()),t[s+"m"]&&(t[s+"m"]=t[s+"m"].destroy())))},animate:function(e){var t=this.chart,r=n(this.options.animation);if(e)this.setClip(r);else{var i=this.sharedClipKey;e=t[i];var o=this.getClipBox(r,!0);e&&e.animate(o,r),t[i+"m"]&&t[i+"m"].animate({width:o.width+99,x:o.x-(t.inverted?0:99)},r),this.animate=null}},afterAnimate:function(){this.setClip(),w(this,"afterAnimate"),this.finishedAnimating=!0},drawPoints:function(){var e,t,n=this.points,r=this.chart,i=this.options.marker,o=this[this.specialGroup]||this.markerGroup,a=this.xAxis,s=p(i.enabled,!(a&&!a.isRadial)||null,this.closestPointRangePx>=i.enabledThreshold*i.radius);if(!1!==i.enabled||this._hasPointMarkers)for(e=0;eo&&t.shadow)),s&&(s.startX=n.xMap,s.isArea=n.isArea)})},getZonesGraphs:function(e){return this.zones.forEach(function(t,n){n=["zone-graph-"+n,"highcharts-graph highcharts-zone-graph-"+n+" "+(t.className||"")],this.chart.styledMode||n.push(t.color||this.color,t.dashStyle||this.options.dashStyle),e.push(n)},this),e},applyZones:function(){var e,t,n,r,i,a,s=this,l=this.chart,c=l.renderer,u=this.zones,f=this.clips||[],h=this.graph,d=this.area,m=Math.max(l.chartWidth,l.chartHeight),g=this[(this.zoneAxis||"y")+"Axis"],v=l.inverted,b=!1;if(u.length&&(h||d)&&g&&"undefined"!==typeof g.min){var y=g.reversed,w=g.horiz;h&&!this.showLine&&h.hide(),d&&d.hide();var x=g.getExtremes();u.forEach(function(u,S){e=y?w?l.plotWidth:0:w?0:g.toPixels(x.min)||0,e=o(p(t,e),0,m),t=o(Math.round(g.toPixels(p(u.value,x.max),!0)||0),0,m),b&&(e=t=g.toPixels(x.max)),r=Math.abs(e-t),i=Math.min(e,t),a=Math.max(e,t),g.isXAxis?(n={x:v?a:i,y:0,width:r,height:m},w||(n.x=l.plotHeight-n.x)):(n={x:0,y:v?a:i,width:m,height:r},w&&(n.y=l.plotWidth-n.y)),v&&c.isVML&&(n=g.isXAxis?{x:0,y:y?i:a,height:n.width,width:l.chartWidth}:{x:n.y-l.plotLeft-l.spacingBox.x,y:0,width:n.height,height:l.chartHeight}),f[S]?f[S].animate(n):f[S]=c.clipRect(n),h&&s["zone-graph-"+S].clip(f[S]),d&&s["zone-area-"+S].clip(f[S]),b=u.value>x.max,s.resetZones&&0===t&&(t=void 0)}),this.clips=f}else s.visible&&(h&&h.show(!0),d&&d.show(!0))},invertGroups:function(e){function t(){["group","markerGroup"].forEach(function(t){n[t]&&(r.renderer.isVML&&n[t].attr({width:n.yAxis.len,height:n.xAxis.len}),n[t].width=n.yAxis.len,n[t].height=n.xAxis.len,n[t].invert(!n.isRadialSeries&&e))})}var n=this,r=n.chart;n.xAxis&&(n.eventsToUnbind.push(v(r,"resize",t)),t(),n.invertGroups=t)},plotGroup:function(e,t,n,r,i){var o=this[e],a=!o;return a&&(this[e]=o=this.chart.renderer.g().attr({zIndex:r||.1}).add(i)),o.addClass("highcharts-"+t+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(s(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(o.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),o.attr({visibility:n})[a?"attr":"animate"](this.getPlotBox()),o},getPlotBox:function(){var e=this.chart,t=this.xAxis,n=this.yAxis;return e.inverted&&(t=n,n=this.xAxis),{translateX:t?t.left:e.plotLeft,translateY:n?n.top:e.plotTop,scaleX:1,scaleY:1}},removeEvents:function(e){e?this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(e){e()}),this.eventsToUnbind.length=0):S(this)},render:function(){var e=this,t=e.chart,r=e.options,i=!!e.animate&&t.renderer.isSVG&&n(r.animation).duration,o=e.visible?"inherit":"hidden",a=r.zIndex,s=e.hasRendered,l=t.seriesGroup,c=t.inverted;w(this,"render");var u=e.plotGroup("group","series",o,a,l);e.markerGroup=e.plotGroup("markerGroup","markers",o,a,l),i&&e.animate(!0),u.inverted=!(!e.isCartesian&&!e.invertable)&&c,e.drawGraph&&(e.drawGraph(),e.applyZones()),e.visible&&e.drawPoints(),e.drawDataLabels&&e.drawDataLabels(),e.redrawPoints&&e.redrawPoints(),e.drawTracker&&!1!==e.options.enableMouseTracking&&e.drawTracker(),e.invertGroups(c),!1===r.clip||e.sharedClipKey||s||u.clip(t.clipRect),i&&e.animate(),s||(e.animationTimeout=g(function(){e.afterAnimate()},i||0)),e.isDirty=!1,e.hasRendered=!0,w(e,"afterRender")},redraw:function(){var e=this.chart,t=this.isDirty||this.isDirtyData,n=this.group,r=this.xAxis,i=this.yAxis;n&&(e.inverted&&n.attr({width:e.plotWidth,height:e.plotHeight}),n.animate({translateX:p(r&&r.left,e.plotLeft),translateY:p(i&&i.top,e.plotTop)})),this.translate(),this.render(),t&&delete this.kdTree},kdAxisArray:["clientX","plotY"],searchPoint:function(e,t){var n=this.xAxis,r=this.yAxis,i=this.chart.inverted;return this.searchKDTree({clientX:i?n.len-e.chartY+n.pos:e.chartX-n.pos,plotY:i?r.len-e.chartX+r.pos:e.chartY-r.pos},t,e)},buildKDTree:function(e){this.buildingKdTree=!0;var t=this,n=-1(f=t[f]-u[f])?"right":"left",n[p=0>f?"left":"right"]&&(h=(p=e(t,n[p],l+1,c))[a]p;)m--;this.updateParallelArrays(d,"splice",m,0,0),this.updateParallelArrays(d,m),l&&d.name&&(l[p]=d.name),f.splice(m,0,e),c&&(this.data.splice(m,0,null),this.processData()),"point"===o.legendType&&this.generatePoints(),n&&(a[0]&&a[0].remove?a[0].remove(!1):(a.shift(),this.updateParallelArrays(d,"shift"),f.shift())),!1!==i&&y(this,"addPoint",{point:d}),this.isDirtyData=this.isDirty=!0,t&&s.redraw(r)},removePoint:function(e,t,n){var r=this,i=r.data,o=i[e],a=r.points,s=r.chart,l=function(){a&&a.length===i.length&&a.splice(e,1),i.splice(e,1),r.options.data.splice(e,1),r.updateParallelArrays(o||{series:r},"splice",e,1),o&&o.destroy(),r.isDirty=!0,r.isDirtyData=!0,t&&s.redraw()};h(n,s),t=u(t,!0),o?o.firePointEvent("remove",null,l):l()},remove:function(e,t,n,r){function i(){o.destroy(r),o.remove=null,a.isDirtyLegend=a.isDirtyBox=!0,a.linkSeries(),u(e,!0)&&a.redraw(t)}var o=this,a=o.chart;!1!==n?y(o,"remove",null,i):i()},update:function(t,n){t=e.cleanRecursively(t,this.userOptions),y(this,"update",{options:t});var r,o=this,a=o.chart,s=o.userOptions,l=o.initialType||o.type,c=t.type||s.type||a.options.chart.type,f=!(this.hasDerivedData||t.dataGrouping||c&&c!==this.type||"undefined"!==typeof t.pointStart||t.pointInterval||t.pointIntervalUnit||t.keys),h=_[l].prototype,d=["group","markerGroup","dataLabelsGroup","transformGroup"],p=["eventOptions","navigatorSeries","baseSeries"],m=o.finishedAnimating&&{animation:!1},g={};for(r in f&&(p.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","_hasPointMarkers","_hasPointLabels","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&p.push("area","graph"),o.parallelArrays.forEach(function(e){p.push(e+"Data")}),t.data&&(t.dataSorting&&i(o.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=w(s,m,{index:"undefined"===typeof s.index?o.index:s.index,pointStart:u(s.pointStart,o.xData[0])},!f&&{data:o.options.data},t),f&&t.data&&(t.data=o.options.data),(p=d.concat(p)).forEach(function(e){p[e]=o[e],delete o[e]}),o.remove(!1,null,!1,!0),h)o[r]=void 0;if(_[c||l]?i(o,_[c||l].prototype):e.error(17,!0,a,{missingModuleFor:c||l}),p.forEach(function(e){o[e]=p[e]}),o.init(a,t),f&&this.points){var v=o.options;!1===v.visible?(g.graphic=1,g.dataLabel=1):o._hasPointLabels||(c=v.marker,h=v.dataLabels,c&&(!1===c.enabled||"symbol"in c)&&(g.graphic=1),h&&!1===h.enabled&&(g.dataLabel=1)),this.points.forEach(function(e){e&&e.series&&(e.resolveColor(),Object.keys(g).length&&e.destroyElements(g),!1===v.showInLegend&&e.legendItem&&a.legend.destroyItem(e))},this)}t.zIndex!==s.zIndex&&d.forEach(function(e){o[e]&&o[e].attr({zIndex:t.zIndex})}),o.initialType=l,a.linkSeries(),y(this,"afterUpdate"),u(n,!0)&&a.redraw(!!f&&void 0)},setName:function(e){this.name=this.options.name=this.userOptions.name=e,this.chart.isDirtyLegend=!0}}),i(g.prototype,{update:function(e,t){var n=this.chart,r=e&&e.events||{};e=w(this.userOptions,e),n.options[this.coll].indexOf&&(n.options[this.coll][n.options[this.coll].indexOf(this.userOptions)]=e),c(n.options[this.coll].events,function(e,t){"undefined"===typeof r[t]&&(r[t]=void 0)}),this.destroy(!0),this.init(n,i(e,{events:r})),n.isDirtyBox=!0,u(t,!0)&&n.redraw()},remove:function(e){for(var t=this.chart,n=this.coll,i=this.series,a=i.length;a--;)i[a]&&i[a].remove(!1);r(t.axes,this),r(t[n],this),o(t.options[n])?t.options[n].splice(this.options.index,1):delete t.options[n],t[n].forEach(function(e,t){e.options.index=e.userOptions.index=t}),this.destroy(),t.isDirtyBox=!0,u(e,!0)&&t.redraw()},setTitle:function(e,t){this.update({title:e},t)},setCategories:function(e,t){this.update({categories:e},t)}})}),t(n,"parts/AreaSeries.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],function(e,t){var n=t.objectEach,r=t.pick,i=e.color,o=e.Series;(t=e.seriesType)("area","line",{softThreshold:!1,threshold:0},{singleStacks:!1,getStackPoints:function(e){var t,i=[],o=[],a=this.xAxis,s=this.yAxis,l=s.stacks[this.stackKey],c={},u=this.index,f=s.series,h=f.length,d=r(s.options.reversedStacks,!0)?1:-1;if(e=e||this.points,this.options.stacking){for(t=0;te&&u>o?f=2*o-(u=Math.max(e,o)):ur&&f>o?u=2*o-(f=Math.max(r,o)):f=Math.abs(t)&&.5e.closestPointRange*e.xAxis.transA;o=e.borderWidth=s(n.borderWidth,o?0:1);var a=e.yAxis,l=n.threshold,c=e.translatedThreshold=a.getThreshold(l),f=s(n.minPointLength,5),h=e.getColumnMetrics(),d=h.width,p=e.barW=Math.max(d,1+2*o),m=e.pointXOffset=h.offset,g=e.dataMin,v=e.dataMax;t.inverted&&(c-=.5),n.pointPadding&&(p=Math.ceil(p)),u.prototype.translate.apply(e),e.points.forEach(function(n){var o=s(n.yBottom,c),u=999+Math.abs(o),h=d;u=r(n.plotY,-u,a.len+u);var b=n.plotX+m,y=p,w=Math.min(u,o),x=Math.max(u,o)-w;if(f&&Math.abs(x)f?o-f:c-(S?f:0)}i(n.options.pointWidth)&&(h=y=Math.ceil(n.options.pointWidth),b-=Math.round((h-d)/2)),n.barX=b,n.pointWidth=h,n.tooltipPos=t.inverted?[a.len+a.pos-t.plotLeft-u,e.xAxis.len-b-y/2,x]:[b+y/2,u+a.pos-t.plotTop,x],n.shapeType=e.pointClass.prototype.shapeType||"rect",n.shapeArgs=e.crispCol.apply(e,n.isNull?[b,c,y,0]:[b,w,y,x])})},getSymbol:e.noop,drawLegendSymbol:e.LegendSymbolMixin.drawRectangle,drawGraph:function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},pointAttribs:function(e,t){var n=this.options,r=this.pointAttrToOptions||{},i=r.stroke||"borderColor",o=r["stroke-width"]||"borderWidth",a=e&&e.color||this.color,u=e&&e[i]||n[i]||this.color||a,f=e&&e[o]||n[o]||this[o]||0;r=e&&e.options.dashStyle||n.dashStyle;var h=s(e&&e.opacity,n.opacity,1);if(e&&this.zones.length){var d=e.getZone();a=e.options.color||d&&(d.color||e.nonZonedColor)||this.color,d&&(u=d.borderColor||u,r=d.dashStyle||r,f=d.borderWidth||f)}return t&&e&&(t=(e=c(n.states[t],e.options.states&&e.options.states[t]||{})).brightness,a=e.color||"undefined"!==typeof t&&l(a).brighten(e.brightness).get()||a,u=e[i]||u,f=e[o]||f,r=e.dashStyle||r,h=s(e.opacity,h)),i={fill:a,stroke:u,"stroke-width":f,opacity:h},r&&(i.dashstyle=r),i},drawPoints:function(){var e,t=this,n=this.chart,r=t.options,i=n.renderer,o=r.animationLimit||250;t.points.forEach(function(s){var l=s.graphic,u=!!l,f=l&&n.pointCount\u25cf
{series.name}
',pointFormat:"x: {point.x}
y: {point.y}
"}},{sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1,drawGraph:function(){this.options.lineWidth&&t.prototype.drawGraph.call(this)},applyJitter:function(){var e=this,t=this.options.jitter,n=this.points.length;t&&this.points.forEach(function(r,i){["x","y"].forEach(function(o,a){var s="plot"+o.toUpperCase();if(t[o]&&!r.isNull){var l=e[o+"Axis"],c=t[o]*l.transA;if(l&&!l.isLog){var u=Math.max(0,r[s]-c);l=Math.min(l.len,r[s]+c),a=1e4*Math.sin(i+a*n),r[s]=u+(l-u)*(a-Math.floor(a)),"x"===o&&(r.clientX=r.plotX)}}})})}}),e.addEvent(t,"afterTranslate",function(){this.applyJitter&&this.applyJitter()})}),t(n,"mixins/centered-series.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],function(e,t){var n=t.isNumber,r=t.pick,i=t.relativeLength,o=e.deg2rad;e.CenteredSeriesMixin={getCenter:function(){var e=this.options,t=this.chart,n=2*(e.slicedOffset||0),o=t.plotWidth-2*n;t=t.plotHeight-2*n;var a=e.center;a=[r(a[0],"50%"),r(a[1],"50%"),e.size||"100%",e.innerSize||0];var s,l=Math.min(o,t);for(s=0;4>s;++s){var c=a[s];e=2>s||2===s&&/%$/.test(c),a[s]=i(c,[o,t,l,a[2]][s])+(e?n:0)}return a[3]>a[2]&&(a[3]=a[2]),a},getStartAndEndRadians:function(e,t){return e=n(e)?e:0,t=n(t)&&t>e&&360>t-e?t:e+360,{start:o*(e+-90),end:o*(t+-90)}}}}),t(n,"parts/PieSeries.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],function(e,t){var n=t.clamp,r=t.defined,i=t.isNumber,o=t.pick,a=t.relativeLength,s=t.setAnimation,l=e.addEvent,c=(t=e.CenteredSeriesMixin).getStartAndEndRadians,u=e.merge,f=e.noop,h=e.Point,d=e.Series,p=e.seriesType,m=e.fireEvent;p("pie","line",{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}},{isCartesian:!1,requireSorting:!1,directTouch:!0,noSharedTooltip:!0,trackerGroups:["group","dataLabelsGroup"],axisTypes:[],pointAttribs:e.seriesTypes.column.prototype.pointAttribs,animate:function(e){var t=this,n=t.points,r=t.startAngleRad;e||(n.forEach(function(e){var n=e.graphic,i=e.shapeArgs;n&&i&&(n.attr({r:o(e.startR,t.center&&t.center[3]/2),start:r,end:r}),n.animate({r:i.r,start:i.start,end:i.end},t.options.animation))}),t.animate=null)},hasData:function(){return!!this.processedXData.length},updateTotals:function(){var e,t=0,n=this.points,r=n.length,i=this.options.ignoreHiddenPoint;for(e=0;e1.5*Math.PI?v-=2*Math.PI:v<-Math.PI/2&&(v+=2*Math.PI),p.slicedTranslation={translateX:Math.round(Math.cos(v)*r),translateY:Math.round(Math.sin(v)*r)};var b=Math.cos(v)*e[2]/2,y=Math.sin(v)*e[2]/2;p.tooltipPos=[e[0]+.7*b,e[1]+.7*y],p.half=v<-Math.PI/2||v>Math.PI/2?1:0,p.angle=v,g=Math.min(i,p.labelDistance/5),p.labelPosition={natural:{x:e[0]+b+Math.cos(v)*p.labelDistance,y:e[1]+y+Math.sin(v)*p.labelDistance},final:{},alignment:0>p.labelDistance?"center":p.half?"right":"left",connectorPosition:{breakAt:{x:e[0]+b+Math.cos(v)*g,y:e[1]+y+Math.sin(v)*g},touchingSliceAt:{x:e[0]+b,y:e[1]+y}}}}m(this,"afterTranslate")},drawEmpty:function(){var e=this.options;if(0===this.total){var t=this.center[0],n=this.center[1];this.graph||(this.graph=this.chart.renderer.circle(t,n,0).addClass("highcharts-graph").add(this.group)),this.graph.animate({"stroke-width":e.borderWidth,cx:t,cy:n,r:this.center[2]/2,fill:e.fillColor||"none",stroke:e.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())},redrawPoints:function(){var e,t,n,r,i=this,o=i.chart,a=o.renderer,s=i.options.shadow;this.drawEmpty(),!s||i.shadowGroup||o.styledMode||(i.shadowGroup=a.g("shadow").attr({zIndex:-1}).add(i.group)),i.points.forEach(function(l){var c={};if(t=l.graphic,!l.isNull&&t){if(r=l.shapeArgs,e=l.getTranslate(),!o.styledMode){var f=l.shadowGroup;s&&!f&&(f=l.shadowGroup=a.g("shadow").add(i.shadowGroup)),f&&f.attr(e),n=i.pointAttribs(l,l.selected&&"select")}l.delayedRendering?(t.setRadialReference(i.center).attr(r).attr(e),o.styledMode||t.attr(n).attr({"stroke-linejoin":"round"}).shadow(s,f),l.delayedRendering=!1):(t.setRadialReference(i.center),o.styledMode||u(!0,c,n),u(!0,c,r,e),t.animate(c)),t.attr({visibility:l.visible?"inherit":"hidden"}),t.addClass(l.getClassName())}else t&&(l.graphic=t.destroy())})},drawPoints:function(){var e=this.chart.renderer;this.points.forEach(function(t){t.graphic||(t.graphic=e[t.shapeType](t.shapeArgs).add(t.series.group),t.delayedRendering=!0)})},searchPoint:f,sortByAngle:function(e,t){e.sort(function(e,n){return"undefined"!==typeof e.angle&&(n.angle-e.angle)*t})},drawLegendSymbol:e.LegendSymbolMixin.drawRectangle,getCenter:t.getCenter,getSymbol:f,drawGraph:null},{init:function(){h.prototype.init.apply(this,arguments);var e=this;e.name=o(e.name,"Slice");var t=function(t){e.slice("select"===t.type)};return l(e,"select",t),l(e,"unselect",t),e},isValid:function(){return i(this.y)&&0<=this.y},setVisible:function(e,t){var n=this,r=n.series,i=r.chart,a=r.options.ignoreHiddenPoint;t=o(t,a),e!==n.visible&&(n.visible=n.options.visible=e="undefined"===typeof e?!n.visible:e,r.options.data[r.data.indexOf(n)]=n.options,["graphic","dataLabel","connector","shadowGroup"].forEach(function(t){n[t]&&n[t][e?"show":"hide"](!0)}),n.legendItem&&i.legend.colorizeItem(n,e),e||"hover"!==n.state||n.setState(""),a&&(r.isDirty=!0),t&&i.redraw())},slice:function(e,t,n){var i=this.series;s(n,i.chart),o(t,!0),this.sliced=this.options.sliced=r(e)?e:!this.sliced,i.options.data[i.data.indexOf(this)]=this.options,this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},getTranslate:function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},haloPath:function(e){var t=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(t.x,t.y,t.r+e,t.r+e,{innerR:t.r-1,start:t.start,end:t.end})},connectorShapes:{fixedOffset:function(e,t,n){var r=t.breakAt;return t=t.touchingSliceAt,["M",e.x,e.y].concat(n.softConnector?["C",e.x+("left"===e.alignment?-5:5),e.y,2*r.x-t.x,2*r.y-t.y,r.x,r.y]:["L",r.x,r.y]).concat(["L",t.x,t.y])},straight:function(e,t){return t=t.touchingSliceAt,["M",e.x,e.y,"L",t.x,t.y]},crookedLine:function(e,t,n){t=t.touchingSliceAt;var r=this.series,i=r.center[0],o=r.chart.plotWidth,s=r.chart.plotLeft;r=e.alignment;var l=this.shapeArgs.r;return n=a(n.crookDistance,1),i=["L",n="left"===r?i+l+(o+s-i-l)*(1-n):s+(i-l)*n,e.y],("left"===r?n>e.x||nt.x)&&(i=[]),["M",e.x,e.y].concat(i).concat(["L",t.x,t.y])}},getConnectorPath:function(){var e=this.labelPosition,t=this.series.options.dataLabels,n=t.connectorShape,r=this.connectorShapes;return r[n]&&(n=r[n]),n.call(this,{x:e.final.x,y:e.final.y,alignment:e.alignment},e.connectorPosition,t)}})}),t(n,"parts/DataLabels.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],function(e,t){var n=t.animObject,r=t.arrayMax,i=t.clamp,o=t.defined,a=t.extend,s=t.isArray,l=t.objectEach,c=t.pick,u=t.relativeLength,f=t.splat,h=e.format,d=e.merge;t=e.noop;var p=e.Series,m=e.seriesTypes,g=e.stableSort;e.distribute=function(t,n,r){function o(e,t){return e.target-t.target}var a,s=!0,l=t,u=[],f=0,h=l.reducedLen||n;for(a=t.length;a--;)f+=t[a].size;if(f>h){for(g(t,function(e,t){return(t.rank||0)-(e.rank||0)}),f=a=0;f<=h;)f+=t[a].size,a++;u=t.splice(a-1,t.length)}for(g(t,o),t=t.map(function(e){return{size:e.size,targets:[e.target],align:c(e.align,.5)}});s;){for(a=t.length;a--;)s=t[a],f=(Math.min.apply(0,s.targets)+Math.max.apply(0,s.targets))/2,s.pos=i(f-s.size*s.align,0,n-s.size);for(a=t.length,s=!1;a--;)0t[a].pos&&(t[a-1].size+=t[a].size,t[a-1].targets=t[a-1].targets.concat(t[a].targets),t[a-1].align=.5,t[a-1].pos+t[a-1].size>n&&(t[a-1].pos=n-t[a-1].size),t.splice(a,1),s=!0)}l.push.apply(l,u),a=0,t.some(function(t){var i=0;if(t.targets.some(function(){if(l[a].pos=t.pos+i,Math.abs(l[a].pos-l[a].target)>r)return l.slice(0,a+1).forEach(function(e){delete e.pos}),l.reducedLen=(l.reducedLen||n)-.1*n,l.reducedLen>.1*n&&e.distribute(l,n,r),!0;i+=l[a].size,a++}))return!0}),g(l,o)},p.prototype.drawDataLabels=function(){function t(e,t){var n,r=[];if(s(e)&&!s(t))r=e.map(function(e){return d(e,t)});else if(s(t)&&!s(e))r=t.map(function(t){return d(e,t)});else if(s(e)||s(t))for(n=Math.max(e.length,t.length);n--;)r[n]=d(e[n],t[n]);else r=d(e,t);return r}var r=this,i=r.chart,a=r.options,u=a.dataLabels,p=r.points,m=r.hasRendered||0,g=n(a.animation).duration,v=Math.min(g,200),b=!i.renderer.forExport&&c(u.defer,0"===t&&e>n||"<"===t&&e="===t&&e>=n||"<="===t&&e<=n||"=="===t&&e==n||"==="===t&&e===n)}(e,t),u=e.dataLabels?e.dataLabels[n]:e.dataLabel,f=e.connectors?e.connectors[n]:e.connector,d=c(t.distance,e.labelDistance),p=!u;if(s){var m=e.getLabelConfig(),g=c(t[e.formatPrefix+"Format"],t.format);m=o(g)?h(g,m,i):(t[e.formatPrefix+"Formatter"]||t.formatter).call(m,t),g=t.style;var v=t.rotation;i.styledMode||(g.color=c(t.color,g.color,r.color,"#000000"),"contrast"===g.color?(e.contrastColor=y.getContrast(e.color||r.color),g.color=!o(d)&&t.inside||0>d||a.stacking?e.contrastColor:"#000000"):delete e.contrastColor,a.cursor&&(g.cursor=a.cursor));var b={r:t.borderRadius||0,rotation:v,padding:t.padding,zIndex:1};i.styledMode||(b.fill=t.backgroundColor,b.stroke=t.borderColor,b["stroke-width"]=t.borderWidth),l(b,function(e,t){"undefined"===typeof e&&delete b[t]})}!u||s&&o(m)?s&&o(m)&&(u?b.text=m:(e.dataLabels=e.dataLabels||[],u=e.dataLabels[n]=v?y.text(m,0,-9999).addClass("highcharts-data-label"):y.label(m,0,-9999,t.shape,null,null,t.useHTML,null,"data-label"),n||(e.dataLabel=u),u.addClass(" highcharts-data-label-color-"+e.colorIndex+" "+(t.className||"")+(t.useHTML?" highcharts-tracker":""))),u.options=t,u.attr(b),i.styledMode||u.css(g).shadow(t.shadow),u.added||u.add(w),t.textPath&&!t.useHTML&&(u.setTextPath(e.getDataLabelPath&&e.getDataLabelPath(u)||e.graphic,t.textPath),e.dataLabelPath&&!t.textPath.enabled&&(e.dataLabelPath=e.dataLabelPath.destroy())),r.alignDataLabel(e,u,t,null,p)):(e.dataLabel=e.dataLabel&&e.dataLabel.destroy(),e.dataLabels&&(1===e.dataLabels.length?delete e.dataLabels:delete e.dataLabels[n]),n||delete e.dataLabel,f&&(e.connector=e.connector.destroy(),e.connectors&&(1===e.connectors.length?delete e.connectors:delete e.connectors[n])))})})}e.fireEvent(this,"afterDrawDataLabels")},p.prototype.alignDataLabel=function(e,t,n,r,i){var o=this,s=this.chart,l=this.isCartesian&&s.inverted,u=this.enabledDataSorting,f=c(e.dlBox&&e.dlBox.centerX,e.plotX,-9999),h=c(e.plotY,-9999),d=t.getBBox(),p=n.rotation,m=n.align,g=s.isInsidePlot(f,Math.round(h),l),v="justify"===c(n.overflow,u?"none":"justify"),b=this.visible&&(e.series.forceDL||u&&!v||g||r&&s.isInsidePlot(f,l?r.x+1:r.y+r.height-1,l)),y=function(n){u&&o.xAxis&&!v&&o.setDataLabelStartPos(e,t,i,g,n)};if(b){var w=s.renderer.fontMetrics(s.styledMode?void 0:n.style.fontSize,t).b;r=a({x:l?this.yAxis.len-h:f,y:Math.round(l?this.xAxis.len-f:h),width:0,height:0},r),a(n,{width:d.width,height:d.height}),p?(v=!1,f=s.renderer.rotCorr(w,p),y(f={x:r.x+n.x+r.width/2+f.x,y:r.y+n.y+{top:0,middle:.5,bottom:1}[n.verticalAlign]*r.height}),t[i?"attr":"animate"](f).attr({align:m}),y=180<(y=(p+720)%360)&&360>y,"left"===m?f.y-=y?d.height:0:"center"===m?(f.x-=d.width/2,f.y-=d.height/2):"right"===m&&(f.x-=d.width,f.y-=y?0:d.height),t.placed=!0,t.alignAttr=f):(y(r),t.align(n,null,r),f=t.alignAttr),v&&0<=r.height?this.justifyDataLabel(t,n,f,d,r,i):c(n.crop,!0)&&(b=s.isInsidePlot(f.x,f.y)&&s.isInsidePlot(f.x+d.width,f.y+d.height)),n.shape&&!p&&t[i?"attr":"animate"]({anchorX:l?s.plotWidth-e.plotY:e.plotX,anchorY:l?s.plotHeight-e.plotX:e.plotY})}i&&u&&(t.placed=!1),b||u&&!v||(t.hide(!0),t.placed=!1)},p.prototype.setDataLabelStartPos=function(e,t,n,r,i){var o=this.chart,a=o.inverted,s=this.xAxis,l=s.reversed,c=a?t.height/2:t.width/2;e=(e=e.pointWidth)?e/2:0,s=a?i.x:l?-c-e:s.width-c+e,i=a?l?this.yAxis.height-c+e:-c-e:i.y,t.startXPos=s,t.startYPos=i,r?"hidden"===t.visibility&&(t.show(),t.attr({opacity:0}).animate({opacity:1})):t.attr({opacity:1}).animate({opacity:0},void 0,t.hide),o.hasRendered&&(n&&t.attr({x:t.startXPos,y:t.startYPos}),t.placed=!0)},p.prototype.justifyDataLabel=function(e,t,n,r,i,o){var a=this.chart,s=t.align,l=t.verticalAlign,c=e.box?0:e.padding||0,u=n.x+c;if(0>u){"right"===s?(t.align="left",t.inside=!0):t.x=-u;var f=!0}return(u=n.x+r.width-c)>a.plotWidth&&("left"===s?(t.align="right",t.inside=!0):t.x=a.plotWidth-u,f=!0),0>(u=n.y+c)&&("bottom"===l?(t.verticalAlign="top",t.inside=!0):t.y=-u,f=!0),(u=n.y+r.height-c)>a.plotHeight&&("top"===l?(t.verticalAlign="bottom",t.inside=!0):t.y=a.plotHeight-u,f=!0),f&&(e.placed=!o,e.align(t,null,i)),f},m.pie&&(m.pie.prototype.dataLabelPositioners={radialDistributionY:function(e){return e.top+e.distributeBox.pos},radialDistributionX:function(e,t,n,r){return e.getX(nt.bottom-2?r:n,t.half,t)},justify:function(e,t,n){return n[0]+(e.half?-1:1)*(t+e.labelDistance)},alignToPlotEdges:function(e,t,n,r){return e=e.getBBox().width,t?e+r:n-e-r},alignToConnectors:function(e,t,n,r){var i,o=0;return e.forEach(function(e){(i=e.dataLabel.getBBox().width)>o&&(o=i)}),t?o+r:n-o-r}},m.pie.prototype.drawDataLabels=function(){var t,n,i,a,s,l,u,f,h,m,g,v,b=this,y=b.data,w=b.chart,x=b.options.dataLabels,S=x.connectorPadding,_=w.plotWidth,E=w.plotHeight,T=w.plotLeft,k=Math.round(w.chartWidth/3),O=b.center,C=O[2]/2,A=O[1],M=[[],[]],P=[0,0,0,0],R=b.dataLabelPositioners;b.visible&&(x.enabled||b._hasPointLabels)&&(y.forEach(function(e){e.dataLabel&&e.visible&&e.dataLabel.shortened&&(e.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),e.dataLabel.shortened=!1)}),p.prototype.drawDataLabels.apply(b),y.forEach(function(e){e.dataLabel&&(e.visible?(M[e.half].push(e),e.dataLabel._pos=null,!o(x.style.width)&&!o(e.options.dataLabels&&e.options.dataLabels.style&&e.options.dataLabels.style.width)&&e.dataLabel.getBBox().width>k&&(e.dataLabel.css({width:.7*k}),e.dataLabel.shortened=!0)):(e.dataLabel=e.dataLabel.destroy(),e.dataLabels&&1===e.dataLabels.length&&delete e.dataLabels))}),M.forEach(function(n,r){var i,d=n.length,p=[];if(d){if(b.sortByAngle(n,r-.5),0_-S&&0===r&&(v=Math.round(f+s-_+S),P[1]=Math.max(v,P[1])),0>h-u/2?P[0]=Math.max(Math.round(u/2-h),P[0]):h+u/2>E&&(P[2]=Math.max(Math.round(h+u/2-E),P[2])),a.sideOverflow=v)}}}),0===r(P)||this.verifyDataLabelOverflow(P))&&(this.placeDataLabels(),this.points.forEach(function(e){var t;(v=d(x,e.options.dataLabels),n=c(v.connectorWidth,1))&&(i=e.connector,(a=e.dataLabel)&&a._pos&&e.visible&&0c(this.translatedThreshold,a.yAxis.len)),u=c(n.inside,!!this.options.stacking);s&&(0>(r=d(s)).y&&(r.height+=r.y,r.y=0),0<(s=r.y+r.height-a.yAxis.len)&&(r.height-=s),o&&(r={x:a.yAxis.len-r.y-r.height,y:a.xAxis.len-r.x-r.width,width:r.height,height:r.width}),u||(o?(r.x+=l?0:r.width,r.width=0):(r.y+=l?r.height:0,r.height=0))),n.align=c(n.align,!o||u?"center":l?"right":"left"),n.verticalAlign=c(n.verticalAlign,o||u?"middle":l?"top":"bottom"),p.prototype.alignDataLabel.call(this,e,t,n,r,i),r&&(0>=r.height&&r.y===this.chart.plotHeight||0>=r.width&&0===r.x)&&(t.hide(!0),t.placed=!1),n.inside&&e.contrastColor&&t.css({color:e.contrastColor})})}),t(n,"modules/overlapping-datalabels.src.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],function(e,t){var n=t.isArray,r=t.objectEach,i=t.pick;t=e.Chart;var o=e.addEvent,a=e.fireEvent;o(t,"render",function(){var e=[];(this.labelCollectors||[]).forEach(function(t){e=e.concat(t())}),(this.yAxis||[]).forEach(function(t){t.options.stackLabels&&!t.options.stackLabels.allowOverlap&&r(t.stacks,function(t){r(t,function(t){e.push(t.label)})})}),(this.series||[]).forEach(function(t){var r=t.options.dataLabels;t.visible&&(!1!==r.enabled||t._hasPointLabels)&&t.points.forEach(function(t){t.visible&&(n(t.dataLabels)?t.dataLabels:t.dataLabel?[t.dataLabel]:[]).forEach(function(n){var r=n.options;n.labelrank=i(r.labelrank,t.labelrank,t.shapeArgs&&t.shapeArgs.height),r.allowOverlap||e.push(n)})})}),this.hideOverlappingLabels(e)}),t.prototype.hideOverlappingLabels=function(e){var t,n,r,i=this,o=e.length,s=i.renderer,l=!1,c=function(e){var t=e.box?0:e.padding||0,n=0;if(e&&(!e.alignAttr||e.placed)){var r=e.alignAttr||{x:e.attr("x"),y:e.attr("y")},i=e.parentGroup;return e.width||(n=e.getBBox(),e.width=n.width,e.height=n.height,n=s.fontMetrics(null,e.element).h),{x:r.x+(i.translateX||0)+t,y:r.y+(i.translateY||0)+t-n,width:e.width-2*t,height:e.height-2*t}}};for(n=0;nu.x+u.width||f.x+f.widthu.y+u.height||f.y+f.height=s&&l<=c||u||!n(l))&&(f=!0),i[u?"zoomX":"zoomY"]&&f&&(t=o.zoom(e.min,e.max),o.displayBtn&&(a=!0))});var c=r.resetZoomButton;a&&!c?r.showResetZoom():!a&&o(c)&&(r.resetZoomButton=c.destroy()),t&&r.redraw(s(r.options.chart.animation,e&&e.animation,100>r.pointCount))},pan:function(e,t){var n,r=this,i=r.hoverPoints,o=r.options.chart;t="object"===typeof t?t:{enabled:t,type:"x"},o&&o.panning&&(o.panning=t);var a=t.type;d(this,"pan",{originalEvent:e},function(){i&&i.forEach(function(e){e.setState()});var t=[1];"xy"===a?t=[1,0]:"y"===a&&(t=[0]),t.forEach(function(t){var i=r[t?"xAxis":"yAxis"][0],o=i.options,a=i.horiz,s=e[a?"chartX":"chartY"],l=r[a=a?"mouseDownX":"mouseDownY"],c=(i.pointRange||0)/2,u=i.reversed&&!r.inverted||!i.reversed&&r.inverted?-1:1,f=i.getExtremes(),h=i.toValue(l-s,!0)+c*u,d=(u=i.toValue(l+i.len-s,!0)-c*u)=i.panningState.startMin&&h<=i.panningState.startMax)&&(i.setExtremes(l,h,!1,!1,{trigger:"pan"}),n=!0),r[a]=s)}),n&&r.redraw(!1),u(r.container,{cursor:"move"})})}}),r(v.prototype,{select:function(e,t){var n=this,r=n.series,i=r.chart;this.selectedStaging=e=s(e,!n.selected),n.firePointEvent(e?"select":"unselect",{accumulate:t},function(){n.selected=n.options.selected=e,r.options.data[r.data.indexOf(n)]=n.options,n.setState(e&&"select"),t||i.getSelectedPoints().forEach(function(e){var t=e.series;e.selected&&e!==n&&(e.selected=e.options.selected=!1,t.options.data[t.data.indexOf(e)]=e.options,e.setState(i.hoverPoints&&t.options.inactiveOtherPoints?"inactive":""),e.firePointEvent("unselect"))})}),delete this.selectedStaging},onMouseOver:function(e){var t=this.series.chart,n=t.pointer;e=e?n.normalize(e):n.getChartCoordinatesFromPoint(this,t.inverted),n.runPointActions(e,this)},onMouseOut:function(){var e=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(e.hoverPoints||[]).forEach(function(e){e.setState()}),e.hoverPoints=e.hoverPoint=null},importEvents:function(){if(!this.hasImportedEvents){var t=this,n=g(t.series.options.point,t.options).events;t.events=n,a(n,function(n,r){e.isFunction(n)&&l(t,r,n)}),this.hasImportedEvents=!0}},setState:function(e,t){var n,i=this.series,o=this.state,a=i.options.states[e||"normal"]||{},l=h[i.type].marker&&i.options.marker,c=l&&!1===l.enabled,u=l&&l.states&&l.states[e||"normal"]||{},f=!1===u.enabled,p=i.stateMarkerGraphic,m=this.marker||{},g=i.chart,v=i.halo,b=l&&i.markerAttribs;if(!((e=e||"")===this.state&&!t||this.selected&&"select"!==e||!1===a.enabled||e&&(f||c&&!1===u.enabled)||e&&m.states&&m.states[e]&&!1===m.states[e].enabled)){if(this.state=e,b&&(n=i.markerAttribs(this,e)),this.graphic){if(o&&this.graphic.removeClass("highcharts-point-"+o),e&&this.graphic.addClass("highcharts-point-"+e),!g.styledMode){var y=i.pointAttribs(this,e),w=s(g.options.chart.animation,a.animation);i.options.inactiveOtherPoints&&((this.dataLabels||[]).forEach(function(e){e&&e.animate({opacity:y.opacity},w)}),this.connector&&this.connector.animate({opacity:y.opacity},w)),this.graphic.animate(y,w)}n&&this.graphic.animate(n,s(g.options.chart.animation,u.animation,l.animation)),p&&p.hide()}else e&&u&&(o=m.symbol||i.symbol,p&&p.currentSymbol!==o&&(p=p.destroy()),n&&(p?p[t?"animate":"attr"]({x:n.x,y:n.y}):o&&(i.stateMarkerGraphic=p=g.renderer.symbol(o,n.x,n.y,n.width,n.height).add(i.markerGroup),p.currentSymbol=o)),!g.styledMode&&p&&p.attr(i.pointAttribs(this,e))),p&&(p[e&&this.isInside?"show":"hide"](),p.element.point=this);e=a.halo,a=(p=this.graphic||p)&&p.visibility||"inherit",e&&e.size&&p&&"hidden"!==a&&!this.isCluster?(v||(i.halo=v=g.renderer.path().add(p.parentGroup)),v.show()[t?"animate":"attr"]({d:this.haloPath(e.size)}),v.attr({class:"highcharts-halo highcharts-color-"+s(this.colorIndex,i.colorIndex)+(this.className?" "+this.className:""),visibility:a,zIndex:-1}),v.point=this,g.styledMode||v.attr(r({fill:this.color||i.color,"fill-opacity":e.opacity},e.attributes))):v&&v.point&&v.point.haloPath&&v.animate({d:v.point.haloPath(0)},null,v.hide),d(this,"afterSetState")}},haloPath:function(e){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-e,this.plotY-e,2*e,2*e)}}),r(b.prototype,{onMouseOver:function(){var e=this.chart,t=e.hoverSeries;t&&t!==this&&t.onMouseOut(),this.options.events.mouseOver&&d(this,"mouseOver"),this.setState("hover"),e.hoverSeries=this},onMouseOut:function(){var e=this.options,t=this.chart,n=t.tooltip,r=t.hoverPoint;t.hoverSeries=null,r&&r.onMouseOut(),this&&e.events.mouseOut&&d(this,"mouseOut"),!n||this.stickyTracking||n.shared&&!this.noSharedTooltip||n.hide(),t.series.forEach(function(e){e.setState("",!0)})},setState:function(e,t){var n=this,r=n.options,i=n.graph,o=r.inactiveOtherPoints,a=r.states,l=r.lineWidth,c=r.opacity,u=s(a[e||"normal"]&&a[e||"normal"].animation,n.chart.options.chart.animation);if(r=0,e=e||"",n.state!==e&&([n.group,n.markerGroup,n.dataLabelsGroup].forEach(function(t){t&&(n.state&&t.removeClass("highcharts-series-"+n.state),e&&t.addClass("highcharts-series-"+e))}),n.state=e,!n.chart.styledMode)){if(a[e]&&!1===a[e].enabled)return;if(e&&(l=a[e].lineWidth||l+(a[e].lineWidthPlus||0),c=s(a[e].opacity,c)),i&&!i.dashstyle)for(a={"stroke-width":l},i.animate(a,u);n["zone-graph-"+r];)n["zone-graph-"+r].attr(a),r+=1;o||[n.group,n.markerGroup,n.dataLabelsGroup,n.labelBySeries].forEach(function(e){e&&e.animate({opacity:c},u)})}t&&o&&n.points&&n.setAllPointsToState(e)},setAllPointsToState:function(e){this.points.forEach(function(t){t.setState&&t.setState(e)})},setVisible:function(e,t){var n=this,r=n.chart,i=n.legendItem,o=r.options.chart.ignoreHiddenSeries,a=n.visible,s=(n.visible=e=n.options.visible=n.userOptions.visible="undefined"===typeof e?!a:e)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(function(e){n[e]&&n[e][s]()}),r.hoverSeries!==n&&(r.hoverPoint&&r.hoverPoint.series)!==n||n.onMouseOut(),i&&r.legend.colorizeItem(n,e),n.isDirty=!0,n.options.stacking&&r.series.forEach(function(e){e.options.stacking&&e.visible&&(e.isDirty=!0)}),n.linkedSeries.forEach(function(t){t.setVisible(e,!1)}),o&&(r.isDirtyBox=!0),d(n,s),!1!==t&&r.redraw()},show:function(){this.setVisible(!0)},hide:function(){this.setVisible(!1)},select:function(e){this.selected=e=this.options.selected="undefined"===typeof e?!this.selected:e,this.checkbox&&(this.checkbox.checked=e),d(this,e?"select":"unselect")},drawTracker:x.drawTrackerGraph})}),t(n,"parts/Responsive.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],function(e,t){var n=t.isArray,r=t.isObject,i=t.objectEach,o=t.pick,a=t.splat;(t=e.Chart).prototype.setResponsive=function(t,n){var r=this.options.responsive,i=[],o=this.currentResponsive;!n&&r&&r.rules&&r.rules.forEach(function(t){"undefined"===typeof t._id&&(t._id=e.uniqueKey()),this.matchResponsiveRule(t,i)},this),(n=e.merge.apply(0,i.map(function(t){return e.find(r.rules,function(e){return e._id===t}).chartOptions}))).isResponsiveOptions=!0,(i=i.toString()||void 0)!==(o&&o.ruleIds)&&(o&&this.update(o.undoOptions,t,!0),i?((o=this.currentOptions(n)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:i,mergedOptions:n,undoOptions:o},this.update(n,t,!0)):this.currentResponsive=void 0)},t.prototype.matchResponsiveRule=function(e,t){var n=e.condition;(n.callback||function(){return this.chartWidth<=o(n.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=o(n.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=o(n.minWidth,0)&&this.chartHeight>=o(n.minHeight,0)}).call(this)&&t.push(e._id)},t.prototype.currentOptions=function(e){var t=this,o={};return function e(o,s,l,c){var u;i(o,function(i,o){if(!c&&-1=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],function(e){s.headers[e]={}}),r.forEach(["post","put","patch"],function(e){s.headers[e]=r.merge(o)}),e.exports=s}).call(this,n(30))},function(e,t,n){"use strict";var r=n(32),i=n(241),o=n(132),a=n(243),s=n(244),l=n(136);e.exports=function(e){return new Promise(function(t,c){var u=e.data,f=e.headers;r.isFormData(u)&&delete f["Content-Type"];var h=new XMLHttpRequest;if(e.auth){var d=e.auth.username||"",p=e.auth.password||"";f.Authorization="Basic "+btoa(d+":"+p)}if(h.open(e.method.toUpperCase(),o(e.url,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?a(h.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:e,request:h};i(t,c,r),h=null}},h.onabort=function(){h&&(c(l("Request aborted",e,"ECONNABORTED",h)),h=null)},h.onerror=function(){c(l("Network Error",e,null,h)),h=null},h.ontimeout=function(){c(l("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var m=n(245),g=(e.withCredentials||s(e.url))&&e.xsrfCookieName?m.read(e.xsrfCookieName):void 0;g&&(f[e.xsrfHeaderName]=g)}if("setRequestHeader"in h&&r.forEach(f,function(e,t){"undefined"===typeof u&&"content-type"===t.toLowerCase()?delete f[t]:h.setRequestHeader(t,e)}),e.withCredentials&&(h.withCredentials=!0),e.responseType)try{h.responseType=e.responseType}catch(v){if("json"!==e.responseType)throw v}"function"===typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){h&&(h.abort(),c(e),h=null)}),void 0===u&&(u=null),h.send(u)})}},function(e,t,n){"use strict";var r=n(242);e.exports=function(e,t,n,i,o){var a=new Error(e);return r(a,t,n,i,o)}},function(e,t,n){"use strict";var r=n(32);e.exports=function(e,t){t=t||{};var n={};return r.forEach(["url","method","params","data"],function(e){"undefined"!==typeof t[e]&&(n[e]=t[e])}),r.forEach(["headers","auth","proxy"],function(i){r.isObject(t[i])?n[i]=r.deepMerge(e[i],t[i]):"undefined"!==typeof t[i]?n[i]=t[i]:r.isObject(e[i])?n[i]=r.deepMerge(e[i]):"undefined"!==typeof e[i]&&(n[i]=e[i])}),r.forEach(["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"],function(r){"undefined"!==typeof t[r]?n[r]=t[r]:"undefined"!==typeof e[r]&&(n[r]=e[r])}),n}},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,n){var r=n(102);e.exports=function(e,t){t=t||{};var n=r.decode(e,t);if(!n)return null;var i=n.payload;if("string"===typeof i)try{var o=JSON.parse(i);null!==o&&"object"===typeof o&&(i=o)}catch(a){}return!0===t.complete?{header:n.header,payload:i,signature:n.signature}:i}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){(function(t){var r=n(10).Buffer,i=n(60);function o(e){if(this.buffer=null,this.writable=!0,this.readable=!0,!e)return this.buffer=r.alloc(0),this;if("function"===typeof e.pipe)return this.buffer=r.alloc(0),e.pipe(this),this;if(e.length||"object"===typeof e)return this.buffer=e,this.writable=!1,t.nextTick(function(){this.emit("end",e),this.readable=!1,this.emit("close")}.bind(this)),this;throw new TypeError("Unexpected data type ("+typeof e+")")}n(80).inherits(o,i),o.prototype.write=function(e){this.buffer=r.concat([this.buffer,r.from(e)]),this.emit("data",e)},o.prototype.end=function(e){e&&this.write(e),this.emit("end",e),this.emit("close"),this.writable=!1,this.readable=!1},e.exports=o}).call(this,n(30))},function(e,t,n){"use strict";(function(t,r){var i=n(79);e.exports=y;var o,a=n(140);y.ReadableState=b;n(103).EventEmitter;var s=function(e,t){return e.listeners(t).length},l=n(143),c=n(105).Buffer,u=t.Uint8Array||function(){};var f=n(73);f.inherits=n(11);var h=n(254),d=void 0;d=h&&h.debuglog?h.debuglog("stream"):function(){};var p,m=n(255),g=n(144);f.inherits(y,l);var v=["error","close","destroy","pause","resume"];function b(e,t){e=e||{};var r=t instanceof(o=o||n(54));this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,a=e.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(a||0===a)?a:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(p||(p=n(107).StringDecoder),this.decoder=new p(e.encoding),this.encoding=e.encoding)}function y(e){if(o=o||n(54),!(this instanceof y))return new y(e);this._readableState=new b(e,this),this.readable=!0,e&&("function"===typeof e.read&&(this._read=e.read),"function"===typeof e.destroy&&(this._destroy=e.destroy)),l.call(this)}function w(e,t,n,r,i){var o,a=e._readableState;null===t?(a.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,E(e)}(e,a)):(i||(o=function(e,t){var n;r=t,c.isBuffer(r)||r instanceof u||"string"===typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk"));var r;return n}(a,t)),o?e.emit("error",o):a.objectMode||t&&t.length>0?("string"===typeof t||a.objectMode||Object.getPrototypeOf(t)===c.prototype||(t=function(e){return c.from(e)}(t)),r?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):x(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?x(e,a,t,!1):k(e,a)):x(e,a,t,!1))):r||(a.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=S?e=S:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function E(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(d("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(T,e):T(e))}function T(e){d("emit readable"),e.emit("readable"),M(e)}function k(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(O,e,t))}function O(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;eo.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),0===(e-=a)){a===o.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(a));break}++r}return t.length-=r,i}(e,t):function(e,t){var n=c.allocUnsafe(e),r=t.head,i=1;r.data.copy(n),e-=r.data.length;for(;r=r.next;){var o=r.data,a=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,a),0===(e-=a)){a===o.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(a));break}++i}return t.length-=i,n}(e,t);return r}(e,t.buffer,t.decoder),n);var n}function R(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(D,t,e))}function D(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function N(e,t){for(var n=0,r=e.length;n=t.highWaterMark||t.ended))return d("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?R(this):E(this),null;if(0===(e=_(e,t))&&t.ended)return 0===t.length&&R(this),null;var r,i=t.needReadable;return d("need readable",i),(0===t.length||t.length-e0?P(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&R(this)),null!==r&&this.emit("data",r),r},y.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},y.prototype.pipe=function(e,t){var n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,d("pipe count=%d opts=%j",o.pipesCount,t);var l=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?u:y;function c(t,r){d("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,d("cleanup"),e.removeListener("close",v),e.removeListener("finish",b),e.removeListener("drain",f),e.removeListener("error",g),e.removeListener("unpipe",c),n.removeListener("end",u),n.removeListener("end",y),n.removeListener("data",m),h=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||f())}function u(){d("onend"),e.end()}o.endEmitted?i.nextTick(l):n.once("end",l),e.on("unpipe",c);var f=function(e){return function(){var t=e._readableState;d("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,M(e))}}(n);e.on("drain",f);var h=!1;var p=!1;function m(t){d("ondata"),p=!1,!1!==e.write(t)||p||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==N(o.pipes,e))&&!h&&(d("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,p=!0),n.pause())}function g(t){d("onerror",t),y(),e.removeListener("error",g),0===s(e,"error")&&e.emit("error",t)}function v(){e.removeListener("finish",b),y()}function b(){d("onfinish"),e.removeListener("close",v),y()}function y(){d("unpipe"),n.unpipe(e)}return n.on("data",m),function(e,t,n){if("function"===typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",g),e.once("close",v),e.once("finish",b),e.emit("pipe",n),o.flowing||(d("pipe resume"),n.resume()),e},y.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n),this);if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o=this._blockSize;){for(var o=this._blockOffset;o0;++a)this._length[a]+=s,(s=this._length[a]/4294967296|0)>0&&(this._length[a]-=4294967296*s);return this},o.prototype._update=function(){throw new Error("_update is not implemented")},o.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var n=0;n<4;++n)this._length[n]=0;return t},o.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=o},function(e,t,n){var r=n(11),i=n(62),o=n(10).Buffer,a=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],s=new Array(64);function l(){this.init(),this._w=s,i.call(this,64,56)}function c(e,t,n){return n^e&(t^n)}function u(e,t,n){return e&t|n&(e|t)}function f(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function h(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function d(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}r(l,i),l.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},l.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,l=0|this._e,p=0|this._f,m=0|this._g,g=0|this._h,v=0;v<16;++v)n[v]=e.readInt32BE(4*v);for(;v<64;++v)n[v]=0|(((t=n[v-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+n[v-7]+d(n[v-15])+n[v-16];for(var b=0;b<64;++b){var y=g+h(l)+c(l,p,m)+a[b]+n[b]|0,w=f(r)+u(r,i,o)|0;g=m,m=p,p=l,l=s+y|0,s=o,o=i,i=r,r=y+w|0}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=l+this._e|0,this._f=p+this._f|0,this._g=m+this._g|0,this._h=g+this._h|0},l.prototype._hash=function(){var e=o.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=l},function(e,t,n){var r=n(11),i=n(62),o=n(10).Buffer,a=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=new Array(160);function l(){this.init(),this._w=s,i.call(this,128,112)}function c(e,t,n){return n^e&(t^n)}function u(e,t,n){return e&t|n&(e|t)}function f(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function h(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function d(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function g(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function v(e,t){return e>>>0>>0?1:0}r(l,i),l.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},l.prototype._update=function(e){for(var t=this._w,n=0|this._ah,r=0|this._bh,i=0|this._ch,o=0|this._dh,s=0|this._eh,l=0|this._fh,b=0|this._gh,y=0|this._hh,w=0|this._al,x=0|this._bl,S=0|this._cl,_=0|this._dl,E=0|this._el,T=0|this._fl,k=0|this._gl,O=0|this._hl,C=0;C<32;C+=2)t[C]=e.readInt32BE(4*C),t[C+1]=e.readInt32BE(4*C+4);for(;C<160;C+=2){var A=t[C-30],M=t[C-30+1],P=d(A,M),R=p(M,A),D=m(A=t[C-4],M=t[C-4+1]),N=g(M,A),I=t[C-14],L=t[C-14+1],j=t[C-32],B=t[C-32+1],F=R+L|0,z=P+I+v(F,R)|0;z=(z=z+D+v(F=F+N|0,N)|0)+j+v(F=F+B|0,B)|0,t[C]=z,t[C+1]=F}for(var U=0;U<160;U+=2){z=t[U],F=t[U+1];var W=u(n,r,i),H=u(w,x,S),Y=f(n,w),G=f(w,n),V=h(s,E),X=h(E,s),q=a[U],K=a[U+1],$=c(s,l,b),Z=c(E,T,k),J=O+X|0,Q=y+V+v(J,O)|0;Q=(Q=(Q=Q+$+v(J=J+Z|0,Z)|0)+q+v(J=J+K|0,K)|0)+z+v(J=J+F|0,F)|0;var ee=G+H|0,te=Y+W+v(ee,G)|0;y=b,O=k,b=l,k=T,l=s,T=E,s=o+Q+v(E=_+J|0,_)|0,o=i,_=S,i=r,S=x,r=n,x=w,n=Q+te+v(w=J+ee|0,J)|0}this._al=this._al+w|0,this._bl=this._bl+x|0,this._cl=this._cl+S|0,this._dl=this._dl+_|0,this._el=this._el+E|0,this._fl=this._fl+T|0,this._gl=this._gl+k|0,this._hl=this._hl+O|0,this._ah=this._ah+n+v(this._al,w)|0,this._bh=this._bh+r+v(this._bl,x)|0,this._ch=this._ch+i+v(this._cl,S)|0,this._dh=this._dh+o+v(this._dl,_)|0,this._eh=this._eh+s+v(this._el,E)|0,this._fh=this._fh+l+v(this._fl,T)|0,this._gh=this._gh+b+v(this._gl,k)|0,this._hh=this._hh+y+v(this._hl,O)|0},l.prototype._hash=function(){var e=o.allocUnsafe(64);function t(t,n,r){e.writeInt32BE(t,r),e.writeInt32BE(n,r+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=l},function(e,t,n){"use strict";var r=n(11),i=n(274),o=n(49),a=n(10).Buffer,s=n(151),l=n(109),c=n(110),u=a.alloc(128);function f(e,t){o.call(this,"digest"),"string"===typeof t&&(t=a.from(t));var n="sha512"===e||"sha384"===e?128:64;(this._alg=e,this._key=t,t.length>n)?t=("rmd160"===e?new l:c(e)).update(t).digest():t.lengthn||o!==o)throw new TypeError("Bad key length")}}).call(this,n(22).Buffer)},function(e,t,n){(function(t){var n;t.browser?n="utf-8":n=parseInt(t.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary";e.exports=n}).call(this,n(30))},function(e,t,n){var r=n(151),i=n(109),o=n(110),a=n(154),s=n(155),l=n(10).Buffer,c=l.alloc(128),u={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function f(e,t,n){var a=function(e){return"rmd160"===e||"ripemd160"===e?function(e){return(new i).update(e).digest()}:"md5"===e?r:function(t){return o(e).update(t).digest()}}(e),s="sha512"===e||"sha384"===e?128:64;t.length>s?t=a(t):t.lengthe;)n.ishrn(1);if(n.isEven()&&n.iadd(s),n.testn(1)||n.iadd(l),t.cmp(l)){if(!t.cmp(c))for(;n.mod(u).cmp(f);)n.iadd(d)}else for(;n.mod(o).cmp(h);)n.iadd(d);if(g(p=n.shrn(1))&&g(n)&&v(p)&&v(n)&&a.test(p)&&a.test(n))return n}}},function(e,t,n){var r=n(26),i=n(114);function o(e){this.rand=e||new i.Rand}e.exports=o,o.create=function(e){return new o(e)},o.prototype._randbelow=function(e){var t=e.bitLength(),n=Math.ceil(t/8);do{var i=new r(this.rand.generate(n))}while(i.cmp(e)>=0);return i},o.prototype._randrange=function(e,t){var n=t.sub(e);return e.add(this._randbelow(n))},o.prototype.test=function(e,t,n){var i=e.bitLength(),o=r.mont(e),a=new r(1).toRed(o);t||(t=Math.max(1,i/48|0));for(var s=e.subn(1),l=0;!s.testn(l);l++);for(var c=e.shrn(l),u=s.toRed(o);t>0;t--){var f=this._randrange(new r(2),s);n&&n(f);var h=f.toRed(o).redPow(c);if(0!==h.cmp(a)&&0!==h.cmp(u)){for(var d=1;d0;t--){var u=this._randrange(new r(2),a),f=e.gcd(u);if(0!==f.cmpn(1))return f;var h=u.toRed(i).redPow(l);if(0!==h.cmp(o)&&0!==h.cmp(c)){for(var d=1;d>8,a=255&i;o?n.push(o,a):n.push(a)}return n},r.zero2=i,r.toHex=o,r.encode=function(e,t){return"hex"===t?o(e):e}},function(e,t,n){"use strict";var r=t;r.base=n(84),r.short=n(302),r.mont=n(303),r.edwards=n(304)},function(e,t,n){"use strict";var r=n(42).rotr32;function i(e,t,n){return e&t^~e&n}function o(e,t,n){return e&t^e&n^t&n}function a(e,t,n){return e^t^n}t.ft_1=function(e,t,n,r){return 0===e?i(t,n,r):1===e||3===e?a(t,n,r):2===e?o(t,n,r):void 0},t.ch32=i,t.maj32=o,t.p32=a,t.s0_256=function(e){return r(e,2)^r(e,13)^r(e,22)},t.s1_256=function(e){return r(e,6)^r(e,11)^r(e,25)},t.g0_256=function(e){return r(e,7)^r(e,18)^e>>>3},t.g1_256=function(e){return r(e,17)^r(e,19)^e>>>10}},function(e,t,n){"use strict";var r=n(42),i=n(76),o=n(166),a=n(35),s=r.sum32,l=r.sum32_4,c=r.sum32_5,u=o.ch32,f=o.maj32,h=o.s0_256,d=o.s1_256,p=o.g0_256,m=o.g1_256,g=i.BlockHash,v=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function b(){if(!(this instanceof b))return new b;g.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=v,this.W=new Array(64)}r.inherits(b,g),e.exports=b,b.blockSize=512,b.outSize=256,b.hmacStrength=192,b.padLength=64,b.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r>6],i=0===(32&n);if(31===(31&n)){var o=n;for(n=0;128===(128&o);){if(o=e.readUInt8(t),e.isError(o))return o;n<<=7,n|=127&o}}else n&=31;return{cls:r,primitive:i,tag:n,tagStr:s.tag[n]}}function f(e,t,n){var r=e.readUInt8(n);if(e.isError(r))return r;if(!t&&128===r)return null;if(0===(128&r))return r;var i=127&r;if(i>4)return e.error("length octect is too long");r=0;for(var o=0;o=31)return r.error("Multi-octet tag encoding unsupported");t||(i|=32);return i|=s.tagClassByName[n||"universal"]<<6}(e,t,n,this.reporter);if(r.length<128)return(o=new i(2))[0]=a,o[1]=r.length,this._createEncoderBuffer([o,r]);for(var l=1,c=r.length;c>=256;c>>=8)l++;(o=new i(2+l))[0]=a,o[1]=128|l;c=1+l;for(var u=r.length;u>0;c--,u>>=8)o[c]=255&u;return this._createEncoderBuffer([o,r])},c.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var n=new i(2*e.length),r=0;r=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}var o=0;for(r=0;r=128;a>>=7)o++}var s=new i(o),l=s.length-1;for(r=e.length-1;r>=0;r--){a=e[r];for(s[l--]=127&a;(a>>=7)>0;)s[l--]=128|127&a}return this._createEncoderBuffer(s)},c.prototype._encodeTime=function(e,t){var n,r=new Date(e);return"gentime"===t?n=[u(r.getFullYear()),u(r.getUTCMonth()+1),u(r.getUTCDate()),u(r.getUTCHours()),u(r.getUTCMinutes()),u(r.getUTCSeconds()),"Z"].join(""):"utctime"===t?n=[u(r.getFullYear()%100),u(r.getUTCMonth()+1),u(r.getUTCDate()),u(r.getUTCHours()),u(r.getUTCMinutes()),u(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(n,"octstr")},c.prototype._encodeNull=function(){return this._createEncoderBuffer("")},c.prototype._encodeInt=function(e,t){if("string"===typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!==typeof e&&!i.isBuffer(e)){var n=e.toArray();!e.sign&&128&n[0]&&n.unshift(0),e=new i(n)}if(i.isBuffer(e)){var r=e.length;0===e.length&&r++;var o=new i(r);return e.copy(o),0===e.length&&(o[0]=0),this._createEncoderBuffer(o)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);r=1;for(var a=e;a>=256;a>>=8)r++;for(a=(o=new Array(r)).length-1;a>=0;a--)o[a]=255&e,e>>=8;return 128&o[0]&&o.unshift(0),this._createEncoderBuffer(new i(o))},c.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},c.prototype._use=function(e,t){return"function"===typeof e&&(e=e(t)),e._getEncoder("der").tree},c.prototype._skipDefault=function(e,t,n){var r,i=this._baseState;if(null===i.default)return!1;var o=e.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i.default,t,n).join()),o.length!==i.defaultBuffer.length)return!1;for(r=0;r=8.0.0")}).call(this,n(30))},function(e,t,n){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==e&&void 0!==e&&this.setState(e)}function i(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!==n&&void 0!==n?n:null}.bind(this))}function o(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!==typeof e.getDerivedStateFromProps&&"function"!==typeof t.getSnapshotBeforeUpdate)return e;var n=null,a=null,s=null;if("function"===typeof t.componentWillMount?n="componentWillMount":"function"===typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"===typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"===typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"===typeof t.componentWillUpdate?s="componentWillUpdate":"function"===typeof t.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==s){var l=e.displayName||e.name,c="function"===typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+l+" uses "+c+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==a?"\n "+a:"")+(null!==s?"\n "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"===typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=i),"function"===typeof t.getSnapshotBeforeUpdate){if("function"!==typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=o;var u=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;u.call(this,e,t,r)}}return e}n.r(t),n.d(t,"polyfill",function(){return a}),r.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0},function(e,t,n){"use strict";e.exports=n(357)},,,function(e,t,n){"use strict";var r=n(120);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=o.default.memo(o.default.forwardRef(function(t,n){return o.default.createElement(a.default,(0,i.default)({ref:n},t),e)}));0;return n.muiName=a.default.muiName,n};var i=r(n(361)),o=r(n(0)),a=r(n(187))},function(e,t,n){"use strict";n.r(t);var r=n(188);n.d(t,"default",function(){return r.a})},function(e,t,n){"use strict";var r=n(2),i=n(3),o=n(0),a=n.n(o),s=(n(1),n(4)),l=n(7),c=n(14),u=a.a.forwardRef(function(e,t){var n=e.children,o=e.classes,l=e.className,u=e.color,f=void 0===u?"inherit":u,h=e.component,d=void 0===h?"svg":h,p=e.fontSize,m=void 0===p?"default":p,g=e.htmlColor,v=e.titleAccess,b=e.viewBox,y=void 0===b?"0 0 24 24":b,w=Object(i.a)(e,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return a.a.createElement(d,Object(r.a)({className:Object(s.a)(o.root,l,"inherit"!==f&&o["color".concat(Object(c.a)(f))],"default"!==m&&o["fontSize".concat(Object(c.a)(m))]),focusable:"false",viewBox:y,color:g,"aria-hidden":v?"false":"true",role:v?"img":"presentation",ref:t},w),n,v?a.a.createElement("title",null,v):null)});u.muiName="SvgIcon",t.a=Object(l.a)(function(e){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:e.typography.pxToRem(24),transition:e.transitions.create("fill",{duration:e.transitions.duration.shorter})},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(35)}}},{name:"MuiSvgIcon"})(u)},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(0)),i=u(n(121)),o=u(n(13)),a=n(63),s=n(191),l=u(n(367)),c=u(n(371));function u(e){return e&&e.__esModule?e:{default:e}}function f(e){return(f="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function d(e){for(var t=1;t0){var v=1/0,b=1/0;g.forEach(function(e){e.x>p.x&&(v=Math.min(v,e.x)),e.y>p.y&&(b=Math.min(b,e.y))}),Number.isFinite(v)&&(p.w=v-p.x),Number.isFinite(b)&&(p.h=b-p.y)}}m||(p.w=t,p.h=n);var y={w:p.w,h:p.h,x:p.x,y:p.y,static:!0,i:e};this.props.onResize(l,c,p,y,i,o),this.setState({layout:(0,a.compact)(l,(0,a.compactType)(this.props),f),activeDrag:y})}}},{key:"onResizeStop",value:function(e,t,n,r){var i=r.e,o=r.node,s=this.state,l=s.layout,c=s.oldResizeItem,u=this.props.cols,f=(0,a.getLayoutItem)(l,e);this.props.onResizeStop(l,c,f,null,i,o);var h=(0,a.compact)(l,(0,a.compactType)(this.props),u),d=this.state.oldLayout;this.setState({activeDrag:null,layout:h,oldResizeItem:null,oldLayout:null}),this.onLayoutMaybeChanged(h,d)}},{key:"placeholder",value:function(){var e=this.state.activeDrag;if(!e)return null;var t=this.props,n=t.width,i=t.cols,o=t.margin,a=t.containerPadding,s=t.rowHeight,c=t.maxRows,u=t.useCSSTransforms,f=t.transformScale;return r.default.createElement(l.default,{w:e.w,h:e.h,x:e.x,y:e.y,i:e.i,className:"react-grid-placeholder",containerWidth:n,cols:i,margin:o,containerPadding:a||o,maxRows:c,rowHeight:s,isDraggable:!1,isResizable:!1,useCSSTransforms:u,transformScale:f},r.default.createElement("div",null))}},{key:"processGridItem",value:function(e,t){if(e&&e.key){var n=(0,a.getLayoutItem)(this.state.layout,String(e.key));if(!n)return null;var i=this.props,o=i.width,s=i.cols,c=i.margin,u=i.containerPadding,f=i.rowHeight,h=i.maxRows,d=i.isDraggable,p=i.isResizable,m=i.useCSSTransforms,g=i.transformScale,v=i.draggableCancel,b=i.draggableHandle,y=this.state,w=y.mounted,x=y.droppingPosition,S="boolean"===typeof n.isDraggable?n.isDraggable:!n.static&&d,_="boolean"===typeof n.isResizable?n.isResizable:!n.static&&p;return r.default.createElement(l.default,{containerWidth:o,cols:s,margin:c,containerPadding:u||c,maxRows:h,rowHeight:f,cancel:v,handle:b,onDragStop:this.onDragStop,onDragStart:this.onDragStart,onDrag:this.onDrag,onResizeStart:this.onResizeStart,onResize:this.onResize,onResizeStop:this.onResizeStop,isDraggable:S,isResizable:_,useCSSTransforms:m&&w,usePercentages:!w,transformScale:g,w:n.w,h:n.h,x:n.x,y:n.y,i:n.i,minH:n.minH,minW:n.minW,maxH:n.maxH,maxW:n.maxW,static:n.static,droppingPosition:t?x:void 0},e)}}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,i=t.style,s=t.isDroppable,l=(0,o.default)(w,n),c=d({height:this.containerHeight()},i);return r.default.createElement("div",{className:l,style:c,onDrop:s?this.onDrop:a.noop,onDragLeave:s?this.onDragLeave:a.noop,onDragEnter:s?this.onDragEnter:a.noop,onDragOver:s?this.onDragOver:a.noop},r.default.Children.map(this.props.children,function(t){return e.processGridItem(t)}),s&&this.state.droppingDOMNode&&this.processGridItem(this.state.droppingDOMNode,!0),this.placeholder())}}])&&m(n.prototype,c),u&&m(n,u),t}();t.default=S,y(S,"displayName","ReactGridLayout"),y(S,"propTypes",c.default),y(S,"defaultProps",{autoSize:!0,cols:12,className:"",style:{},draggableHandle:"",draggableCancel:"",containerPadding:null,rowHeight:150,maxRows:1/0,layout:[],margin:[10,10],isDraggable:!0,isResizable:!0,isDroppable:!1,useCSSTransforms:!0,transformScale:1,verticalCompact:!0,compactType:"vertical",preventCollision:!1,droppingItem:{i:"__dropping-elem__",h:1,w:1},onLayoutChange:a.noop,onDragStart:a.noop,onDrag:a.noop,onDragStop:a.noop,onResizeStart:a.noop,onResize:a.noop,onResizeStop:a.noop,onDrop:a.noop})},function(e,t,n){"use strict";function r(e){var t=e.margin,n=e.containerPadding,r=e.containerWidth,i=e.cols;return(r-t[0]*(i-1)-2*n[0])/i}Object.defineProperty(t,"__esModule",{value:!0}),t.calcGridColWidth=r,t.calcGridItemPosition=function(e,t,n,i,o,a){var s=e.margin,l=e.containerPadding,c=e.rowHeight,u=r(e),f={};a&&a.resizing?(f.width=Math.round(a.resizing.width),f.height=Math.round(a.resizing.height)):(f.width=i===1/0?i:Math.round(u*i+Math.max(0,i-1)*s[0]),f.height=o===1/0?o:Math.round(c*o+Math.max(0,o-1)*s[1]));a&&a.dragging?(f.top=Math.round(a.dragging.top),f.left=Math.round(a.dragging.left)):(f.top=Math.round((c+s[1])*n+l[1]),f.left=Math.round((u+s[0])*t+l[0]));return f},t.calcXY=function(e,t,n,i,o){var a=e.margin,s=e.cols,l=e.rowHeight,c=e.maxRows,u=r(e),f=Math.round((n-a[0])/(u+a[0])),h=Math.round((t-a[1])/(l+a[1]));return f=Math.max(Math.min(f,s-i),0),h=Math.max(Math.min(h,c-o),0),{x:f,y:h}},t.calcWH=function(e,t,n,i,o){var a=e.margin,s=e.maxRows,l=e.cols,c=e.rowHeight,u=r(e),f=Math.round((t+a[0])/(u+a[0])),h=Math.round((n+a[1])/(c+a[1]));return f=Math.max(Math.min(f,l-i),0),h=Math.max(Math.min(h,s-o),0),{w:f,h:h}}},function(e,t,n){var r,i;window,e.exports=(r=n(0),i=n(16),function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=4)}([function(e,t,n){e.exports=n(5)()},function(e,t){e.exports=r},function(e,t){e.exports=i},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"==typeof window||void 0===window.document)return"";var t=window.document.documentElement.style;if(e in t)return"";for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{})}function D(e){return"both"===e.props.axis||"x"===e.props.axis}function N(e){return"both"===e.props.axis||"y"===e.props.axis}function I(e,t,n){var r="number"==typeof t?function(e,t){return e.targetTouches&&f(e.targetTouches,function(e){return t===e.identifier})||e.changedTouches&&f(e.changedTouches,function(e){return t===e.identifier})}(e,t):null;if("number"==typeof t&&!r)return null;var i=B(n);return function(e,t,n){var r=t===t.ownerDocument.body?{left:0,top:0}:t.getBoundingClientRect();return{x:(e.clientX+t.scrollLeft-r.left)/n,y:(e.clientY+t.scrollTop-r.top)/n}}(r||e,n.props.offsetParent||i.offsetParent||i.ownerDocument.body,n.props.scale)}function L(e,t,n){var r=e.state,i=!d(r.lastX),o=B(e);return i?{node:o,deltaX:0,deltaY:0,lastX:t,lastY:n,x:t,y:n}:{node:o,deltaX:t-r.lastX,deltaY:n-r.lastY,lastX:r.lastX,lastY:r.lastY,x:t,y:n}}function j(e,t){var n=e.props.scale;return{node:t.node,x:e.state.x+t.deltaX/n,y:e.state.y+t.deltaY/n,deltaX:t.deltaX/n,deltaY:t.deltaY/n,lastX:e.state.x,lastY:e.state.y}}function B(e){var t=l.a.findDOMNode(e);if(!t)throw new Error(": Unmounted during event!");return t}function F(e){return(F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function z(e,t){for(var n=0;n not mounted on DragStart!");var r=t.ownerDocument;if(!(n.props.disabled||!(e.target instanceof r.defaultView.Node)||n.props.handle&&!_(e.target,n.props.handle,t)||n.props.cancel&&_(e.target,n.props.cancel,t))){var i=function(e){return e.targetTouches&&e.targetTouches[0]?e.targetTouches[0].identifier:e.changedTouches&&e.changedTouches[0]?e.changedTouches[0].identifier:void 0}(e);n.setState({touchIdentifier:i});var o=I(e,i,W(n));if(null!=o){var a=o.x,s=o.y,c=L(W(n),a,s);n.props.onStart,!1!==n.props.onStart(e,c)&&(n.props.enableUserSelectHack&&function(e){if(e){var t,n,r=e.getElementById("react-draggable-style-el");r||((r=e.createElement("style")).type="text/css",r.id="react-draggable-style-el",r.innerHTML=".react-draggable-transparent-selection *::-moz-selection {all: inherit;}\n",r.innerHTML+=".react-draggable-transparent-selection *::selection {all: inherit;}\n",e.getElementsByTagName("head")[0].appendChild(r)),e.body&&(t=e.body,n="react-draggable-transparent-selection",t.classList?t.classList.add(n):t.className.match(new RegExp("(?:^|\\s)".concat(n,"(?!\\S)")))||(t.className+=" ".concat(n)))}}(r),n.setState({dragging:!0,lastX:a,lastY:s}),E(r,V.move,n.handleDrag),E(r,V.stop,n.handleDragStop))}}}),Y(W(n),"handleDrag",function(e){"touchmove"===e.type&&e.preventDefault();var t=I(e,n.state.touchIdentifier,W(n));if(null!=t){var r,i,o,a=t.x,s=t.y;if(Array.isArray(n.props.grid)){var l=a-n.state.lastX,c=s-n.state.lastY,u=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}((r=n.props.grid,i=l,o=c,[Math.round(i/r[0])*r[0],Math.round(o/r[1])*r[1]]),2);if(l=u[0],c=u[1],!l&&!c)return;a=n.state.lastX+l,s=n.state.lastY+c}var f=L(W(n),a,s);if(!1!==n.props.onDrag(e,f))n.setState({lastX:a,lastY:s});else try{n.handleDragStop(new MouseEvent("mouseup"))}catch(e){var h=document.createEvent("MouseEvents");h.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),n.handleDragStop(h)}}}),Y(W(n),"handleDragStop",function(e){if(n.state.dragging){var t=I(e,n.state.touchIdentifier,W(n));if(null!=t){var r=t.x,i=t.y,o=L(W(n),r,i),a=l.a.findDOMNode(W(n));a&&n.props.enableUserSelectHack&&P(a.ownerDocument),n.setState({dragging:!1,lastX:NaN,lastY:NaN}),n.props.onStop(e,o),a&&(T(a.ownerDocument,V.move,n.handleDrag),T(a.ownerDocument,V.stop,n.handleDragStop))}}}),Y(W(n),"onMouseDown",function(e){return V=G.mouse,n.handleDragStart(e)}),Y(W(n),"onMouseUp",function(e){return V=G.mouse,n.handleDragStop(e)}),Y(W(n),"onTouchStart",function(e){return V=G.touch,n.handleDragStart(e)}),Y(W(n),"onTouchEnd",function(e){return V=G.touch,n.handleDragStop(e)}),n}var n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&H(e,t)}(t,i.a.Component),n=t,(r=[{key:"componentWillUnmount",value:function(){var e=l.a.findDOMNode(this);if(e){var t=e.ownerDocument;T(t,G.mouse.move,this.handleDrag),T(t,G.touch.move,this.handleDrag),T(t,G.mouse.stop,this.handleDragStop),T(t,G.touch.stop,this.handleDragStop),this.props.enableUserSelectHack&&P(t)}}},{key:"render",value:function(){return i.a.cloneElement(i.a.Children.only(this.props.children),{style:R(this.props.children.props.style),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}])&&z(n.prototype,r),t}();function q(e){return(q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function K(){return(K=Object.assign||function(e){for(var t=1;t, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element."),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ne(e,t)}(t,i.a.Component),te(t,null,[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.position,r=t.prevPropsPosition;return!n||r&&n.x===r.x&&n.y===r.y?null:{x:n.x,y:n.y,prevPropsPosition:Z({},n)}}}]),te(t,[{key:"componentDidMount",value:function(){void 0!==window.SVGElement&&l.a.findDOMNode(this)instanceof window.SVGElement&&this.setState({isElementSVG:!0})}},{key:"componentWillUnmount",value:function(){this.setState({dragging:!1})}},{key:"render",value:function(){var e,t=this.props,n=(t.axis,t.bounds,t.children),r=t.defaultPosition,o=t.defaultClassName,a=t.defaultClassNameDragging,s=t.defaultClassNameDragged,l=t.position,c=t.positionOffset,f=(t.scale,function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"])),h={},d=null,p=!Boolean(l)||this.state.dragging,m=l||r,g={x:D(this)&&p?this.state.x:m.x,y:N(this)&&p?this.state.y:m.y};this.state.isElementSVG?d=function(e,t){return M(e,t,"")}(g,c):h=function(e,t){var n=M(e,t,"px");return w({},v("transform",b),n)}(g,c);var y=u()(n.props.className||"",o,(re(e={},a,this.state.dragging),re(e,s,this.state.dragged),e));return i.a.createElement(X,K({},f,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),i.a.cloneElement(i.a.Children.only(n),{className:y,style:Z({},n.props.style,{},h),transform:d}))}}]),t}();re(ie,"displayName","Draggable"),re(ie,"propTypes",Z({},X.propTypes,{axis:a.a.oneOf(["both","x","y","none"]),bounds:a.a.oneOfType([a.a.shape({left:a.a.number,right:a.a.number,top:a.a.number,bottom:a.a.number}),a.a.string,a.a.oneOf([!1])]),defaultClassName:a.a.string,defaultClassNameDragging:a.a.string,defaultClassNameDragged:a.a.string,defaultPosition:a.a.shape({x:a.a.number,y:a.a.number}),positionOffset:a.a.shape({x:a.a.oneOfType([a.a.number,a.a.string]),y:a.a.oneOfType([a.a.number,a.a.string])}),position:a.a.shape({x:a.a.number,y:a.a.number}),className:m,style:m,transform:m})),re(ie,"defaultProps",Z({},X.defaultProps,{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},position:null,scale:1}))}]))},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=s(n(0)),i=s(n(1)),o=n(192),a=n(369);function s(e){return e&&e.__esModule?e:{default:e}}function l(){return(l=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(t,["children","draggableOpts","width","height","handleSize","lockAspectRatio","axis","minConstraints","maxConstraints","onResize","onResizeStop","onResizeStart","resizeHandles","transformScale"])),h=f.className?f.className+" react-resizable":"react-resizable";return(0,a.cloneElement)(n,function(e){for(var t=1;te[s]&&(r=s)}return r},t.getColsFromBreakpoint=function(e,t){if(!t[e])throw new Error("ResponsiveReactGridLayout: `cols` entry for breakpoint "+e+" is missing!");return t[e]},t.findOrGenerateResponsiveLayout=function(e,t,n,o,a,s){if(e[n])return(0,r.cloneLayout)(e[n]);for(var l=e[o],c=i(t),u=c.slice(c.indexOf(n)),f=0,h=u.length;f=0||(i[n]=e[n]);return i}(t,["children"]);if(delete r.in,delete r.mountOnEnter,delete r.unmountOnExit,delete r.appear,delete r.enter,delete r.exit,delete r.timeout,delete r.addEndListener,delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,"function"===typeof n)return n(e,r);var o=i.default.Children.only(n);return i.default.cloneElement(o,r)},r}(i.default.Component);function d(){}h.contextTypes={transitionGroup:r.object},h.childContextTypes={transitionGroup:function(){}},h.propTypes={},h.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:d,onEntering:d,onEntered:d,onExit:d,onExiting:d,onExited:d},h.UNMOUNTED=0,h.EXITED=1,h.ENTERING=2,h.ENTERED=3,h.EXITING=4;var p=(0,a.polyfill)(h);t.default=p},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=s(n(1)),i=s(n(0)),o=n(182),a=n(355);function s(e){return e&&e.__esModule?e:{default:e}}function l(){return(l=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,["component","childFactory"]),o=u(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?o:i.default.createElement(t,r,o)},r}(i.default.Component);f.childContextTypes={transitionGroup:r.default.object.isRequired},f.propTypes={},f.defaultProps={component:"div",childFactory:function(e){return e}};var h=(0,o.polyfill)(f);t.default=h,e.exports=t.default},function(e,t,n){"use strict";(function(t){var n="__global_unique_id__";e.exports=function(){return t[n]=(t[n]||0)+1}}).call(this,n(28))},function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";function r(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";(function(e){for(var n="undefined"!==typeof window&&"undefined"!==typeof document,r=["Edge","Trident","Firefox"],i=0,o=0;o=0){i=1;break}var a=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},i))}};function s(e){return e&&"[object Function]"==={}.toString.call(e)}function l(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function c(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function u(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=l(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?e:u(c(e))}var f=n&&!(!window.MSInputMethodContext||!document.documentMode),h=n&&/MSIE 10/.test(navigator.userAgent);function d(e){return 11===e?f:10===e?h:f||h}function p(e){if(!e)return document.documentElement;for(var t=d(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===l(n,"position")?p(n):n:e?e.ownerDocument.documentElement:document.documentElement}function m(e){return null!==e.parentNode?m(e.parentNode):e}function g(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,i=n?t:e,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var a=o.commonAncestorContainer;if(e!==a&&t!==a||r.contains(i))return function(e){var t=e.nodeName;return"BODY"!==t&&("HTML"===t||p(e.firstElementChild)===e)}(a)?a:p(a);var s=m(e);return s.host?g(s.host,t):g(e,m(t).host)}function v(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var r=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||r)[t]}return e[t]}function b(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+r+"Width"],10)}function y(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],d(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function w(e){var t=e.body,n=e.documentElement,r=d(10)&&getComputedStyle(n);return{height:y("Height",t,n,r),width:y("Width",t,n,r)}}var x=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},S=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],r=d(10),i="HTML"===t.nodeName,o=k(e),a=k(t),s=u(e),c=l(t),f=parseFloat(c.borderTopWidth,10),h=parseFloat(c.borderLeftWidth,10);n&&i&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var p=T({top:o.top-a.top-f,left:o.left-a.left-h,width:o.width,height:o.height});if(p.marginTop=0,p.marginLeft=0,!r&&i){var m=parseFloat(c.marginTop,10),g=parseFloat(c.marginLeft,10);p.top-=f-m,p.bottom-=f-m,p.left-=h-g,p.right-=h-g,p.marginTop=m,p.marginLeft=g}return(r&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(p=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=v(t,"top"),i=v(t,"left"),o=n?-1:1;return e.top+=r*o,e.bottom+=r*o,e.left+=i*o,e.right+=i*o,e}(p,t)),p}function C(e){if(!e||!e.parentElement||d())return document.documentElement;for(var t=e.parentElement;t&&"none"===l(t,"transform");)t=t.parentElement;return t||document.documentElement}function A(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=i?C(e):g(e,t);if("viewport"===r)o=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=O(e,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:v(n),s=t?0:v(n,"left");return T({top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:i,height:o})}(a,i);else{var s=void 0;"scrollParent"===r?"BODY"===(s=u(c(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===r?e.ownerDocument.documentElement:r;var f=O(s,a,i);if("HTML"!==s.nodeName||function e(t){var n=t.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===l(t,"position"))return!0;var r=c(t);return!!r&&e(r)}(a))o=f;else{var h=w(e.ownerDocument),d=h.height,p=h.width;o.top+=f.top-f.marginTop,o.bottom=d+f.top,o.left+=f.left-f.marginLeft,o.right=p+f.left}}var m="number"===typeof(n=n||0);return o.left+=m?n:n.left||0,o.top+=m?n:n.top||0,o.right-=m?n:n.right||0,o.bottom-=m?n:n.bottom||0,o}function M(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=A(n,r,o,i),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map(function(e){return E({key:e},s[e],{area:(t=s[e],t.width*t.height)});var t}).sort(function(e,t){return t.area-e.area}),c=l.filter(function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight}),u=c.length>0?c[0].key:l[0].key,f=e.split("-")[1];return u+(f?"-"+f:"")}function P(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return O(n,r?C(t):g(t,n),r)}function R(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function D(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function N(e,t,n){n=n.split("-")[0];var r=R(e),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",l=o?"height":"width",c=o?"width":"height";return i[a]=t[a]+t[l]/2-r[l]/2,i[s]=n===s?t[s]-r[c]:t[D(s)],i}function I(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function L(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var r=I(e,function(e){return e[t]===n});return e.indexOf(r)}(e,"name",n))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&s(n)&&(t.offsets.popper=T(t.offsets.popper),t.offsets.reference=T(t.offsets.reference),t=n(t,e))}),t}function j(e,t){return e.some(function(e){var n=e.name;return e.enabled&&n===t})}function B(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r1&&void 0!==arguments[1]&&arguments[1],n=X.indexOf(e),r=X.slice(n+1).concat(X.slice(0,n));return t?r.reverse():r}var K={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function $(e,t,n,r){var i=[0,0],o=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=a.indexOf(I(a,function(e){return-1!==e.search(/,|\s/)}));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(c=c.map(function(e,r){var i=(1===r?!o:o)?"height":"width",a=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)},[]).map(function(e){return function(e,t,n,r){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],a=i[2];if(!o)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return T(s)[t]/100*o}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o;return o}(e,i,t,n)})})).forEach(function(e,t){e.forEach(function(n,r){W(n)&&(i[t]+=n*("-"===e[r-1]?-1:1))})}),i}var Z={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var i=e.offsets,o=i.reference,a=i.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:_({},l,o[l]),end:_({},l,o[l]+o[c]-a[c])};e.offsets.popper=E({},a,u[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,i=e.offsets,o=i.popper,a=i.reference,s=r.split("-")[0],l=void 0;return l=W(+n)?[+n,0]:$(n,o,a,s),"left"===s?(o.top+=l[0],o.left-=l[1]):"right"===s?(o.top+=l[0],o.left+=l[1]):"top"===s?(o.left+=l[0],o.top-=l[1]):"bottom"===s&&(o.left+=l[0],o.top+=l[1]),e.popper=o,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||p(e.instance.popper);e.instance.reference===n&&(n=p(n));var r=B("transform"),i=e.instance.popper.style,o=i.top,a=i.left,s=i[r];i.top="",i.left="",i[r]="";var l=A(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);i.top=o,i.left=a,i[r]=s,t.boundaries=l;var c=t.priority,u=e.offsets.popper,f={primary:function(e){var n=u[e];return u[e]l[e]&&!t.escapeWithReference&&(r=Math.min(u[n],l[e]-("right"===e?u.width:u.height))),_({},n,r)}};return c.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=E({},u,f[t](e))}),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,i=e.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(i),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]o(r[s])&&(e.offsets.popper[l]=o(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!G(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"===typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],o=e.offsets,a=o.popper,s=o.reference,c=-1!==["left","right"].indexOf(i),u=c?"height":"width",f=c?"Top":"Left",h=f.toLowerCase(),d=c?"left":"top",p=c?"bottom":"right",m=R(r)[u];s[p]-ma[p]&&(e.offsets.popper[h]+=s[h]+m-a[p]),e.offsets.popper=T(e.offsets.popper);var g=s[h]+s[u]/2-m/2,v=l(e.instance.popper),b=parseFloat(v["margin"+f],10),y=parseFloat(v["border"+f+"Width"],10),w=g-e.offsets.popper[h]-b-y;return w=Math.max(Math.min(a[u]-m,w),0),e.arrowElement=r,e.offsets.arrow=(_(n={},h,Math.round(w)),_(n,d,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(j(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=A(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],i=D(r),o=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case K.FLIP:a=[r,i];break;case K.CLOCKWISE:a=q(r);break;case K.COUNTERCLOCKWISE:a=q(r,!0);break;default:a=t.behavior}return a.forEach(function(s,l){if(r!==s||a.length===l+1)return e;r=e.placement.split("-")[0],i=D(r);var c=e.offsets.popper,u=e.offsets.reference,f=Math.floor,h="left"===r&&f(c.right)>f(u.left)||"right"===r&&f(c.left)f(u.top)||"bottom"===r&&f(c.top)f(n.right),m=f(c.top)f(n.bottom),v="left"===r&&d||"right"===r&&p||"top"===r&&m||"bottom"===r&&g,b=-1!==["top","bottom"].indexOf(r),y=!!t.flipVariations&&(b&&"start"===o&&d||b&&"end"===o&&p||!b&&"start"===o&&m||!b&&"end"===o&&g),w=!!t.flipVariationsByContent&&(b&&"start"===o&&p||b&&"end"===o&&d||!b&&"start"===o&&g||!b&&"end"===o&&m),x=y||w;(h||v||x)&&(e.flipped=!0,(h||v)&&(r=a[l+1]),x&&(o=function(e){return"end"===e?"start":"start"===e?"end":e}(o)),e.placement=r+(o?"-"+o:""),e.offsets.popper=E({},e.offsets.popper,N(e.instance.popper,e.offsets.reference,e.placement)),e=L(e.instance.modifiers,e,"flip"))}),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,i=r.popper,o=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return i[a?"left":"top"]=o[n]-(s?i[a?"width":"height"]:0),e.placement=D(t),e.offsets.popper=T(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!G(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=I(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottomn.right||t.top>n.bottom||t.right2&&void 0!==arguments[2]?arguments[2]:{};x(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=a(this.update.bind(this)),this.options=E({},e.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(E({},e.Defaults.modifiers,i.modifiers)).forEach(function(t){r.options.modifiers[t]=E({},e.Defaults.modifiers[t]||{},i.modifiers?i.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return E({name:e},r.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&s(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return S(e,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=P(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=M(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=N(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=L(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,j(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[B("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=z(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return U.call(this)}}]),e}();J.Utils=("undefined"!==typeof window?window:e).PopperUtils,J.placements=V,J.Defaults=Z,t.a=J}).call(this,n(28))},function(e,t,n){"use strict";function r(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(c){return void n(c)}s.done?t(l):Promise.resolve(l).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise(function(i,o){var a=e.apply(t,n);function s(e){r(a,i,o,s,l,"next",e)}function l(e){r(a,i,o,s,l,"throw",e)}s(void 0)})}}n.d(t,"a",function(){return i})},function(e,t,n){(function(n){var r,i,o;i=[],void 0===(o="function"===typeof(r=function(){"use strict";function t(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){s(r.response,t,n)},r.onerror=function(){console.error("could not download file")},r.send()}function r(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function i(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(t){var n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(n)}}var o="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n&&n.global===n?n:void 0,a=o.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),s=o.saveAs||("object"!=typeof window||window!==o?function(){}:"download"in HTMLAnchorElement.prototype&&!a?function(e,n,a){var s=o.URL||o.webkitURL,l=document.createElement("a");n=n||e.name||"download",l.download=n,l.rel="noopener","string"==typeof e?(l.href=e,l.origin===location.origin?i(l):r(l.href)?t(e,n,a):i(l,l.target="_blank")):(l.href=s.createObjectURL(e),setTimeout(function(){s.revokeObjectURL(l.href)},4e4),setTimeout(function(){i(l)},0))}:"msSaveOrOpenBlob"in navigator?function(e,n,o){if(n=n||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(function(e,t){return"undefined"==typeof t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}(e,o),n);else if(r(e))t(e,n,o);else{var a=document.createElement("a");a.href=e,a.target="_blank",setTimeout(function(){i(a)})}}:function(e,n,r,i){if((i=i||open("","_blank"))&&(i.document.title=i.document.body.innerText="downloading..."),"string"==typeof e)return t(e,n,r);var s="application/octet-stream"===e.type,l=/constructor/i.test(o.HTMLElement)||o.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||s&&l||a)&&"undefined"!=typeof FileReader){var u=new FileReader;u.onloadend=function(){var e=u.result;e=c?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=e:location=e,i=null},u.readAsDataURL(e)}else{var f=o.URL||o.webkitURL,h=f.createObjectURL(e);i?i.location=h:location.href=h,i=null,setTimeout(function(){f.revokeObjectURL(h)},4e4)}});o.saveAs=s.saveAs=s,e.exports=s})?r.apply(t,i):r)||(e.exports=o)}).call(this,n(28))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return Xo});var r=n(0),i=n.n(r),o=n(9),a=n.n(o),s=n(382);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}var y="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof e?e:"undefined"!==typeof self?self:{},w=function(e){return e&&e.Math==Math&&e},x=w("object"==typeof globalThis&&globalThis)||w("object"==typeof window&&window)||w("object"==typeof self&&self)||w("object"==typeof y&&y)||function(){return this}()||Function("return this")(),S={},_=function(e){try{return!!e()}catch(t){return!0}},E=!_(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),T=!_(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),k=T,O=Function.prototype.call,C=k?O.bind(O):function(){return O.apply(O,arguments)},A={},M={}.propertyIsEnumerable,P=Object.getOwnPropertyDescriptor,R=P&&!M.call({1:2},1);A.f=R?function(e){var t=P(this,e);return!!t&&t.enumerable}:M;var D,N,I=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},L=T,j=Function.prototype,B=j.call,F=L&&j.bind.bind(B,B),z=function(e){return L?F(e):function(){return B.apply(e,arguments)}},U=z,W=U({}.toString),H=U("".slice),Y=function(e){return H(W(e),8,-1)},G=Y,V=z,X=function(e){if("Function"===G(e))return V(e)},q=_,K=Y,$=Object,Z=X("".split),J=q(function(){return!$("z").propertyIsEnumerable(0)})?function(e){return"String"==K(e)?Z(e,""):$(e)}:$,Q=function(e){return null===e||void 0===e},ee=Q,te=TypeError,ne=function(e){if(ee(e))throw te("Can't call method on "+e);return e},re=J,ie=ne,oe=function(e){return re(ie(e))},ae="object"==typeof document&&document.all,se={all:ae,IS_HTMLDDA:"undefined"==typeof ae&&void 0!==ae},le=se.all,ce=se.IS_HTMLDDA?function(e){return"function"==typeof e||e===le}:function(e){return"function"==typeof e},ue=ce,fe=se.all,he=se.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:ue(e)||e===fe}:function(e){return"object"==typeof e?null!==e:ue(e)},de=x,pe=ce,me=function(e,t){return arguments.length<2?(n=de[e],pe(n)?n:void 0):de[e]&&de[e][t];var n},ge=X({}.isPrototypeOf),ve=x,be=me("navigator","userAgent")||"",ye=ve.process,we=ve.Deno,xe=ye&&ye.versions||we&&we.version,Se=xe&&xe.v8;Se&&(N=(D=Se.split("."))[0]>0&&D[0]<4?1:+(D[0]+D[1])),!N&&be&&(!(D=be.match(/Edge\/(\d+)/))||D[1]>=74)&&(D=be.match(/Chrome\/(\d+)/))&&(N=+D[1]);var _e=N,Ee=_,Te=!!Object.getOwnPropertySymbols&&!Ee(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&_e&&_e<41}),ke=Te&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Oe=me,Ce=ce,Ae=ge,Me=Object,Pe=ke?function(e){return"symbol"==typeof e}:function(e){var t=Oe("Symbol");return Ce(t)&&Ae(t.prototype,Me(e))},Re=String,De=ce,Ne=function(e){try{return Re(e)}catch(t){return"Object"}},Ie=TypeError,Le=function(e){if(De(e))return e;throw Ie(Ne(e)+" is not a function")},je=Le,Be=Q,Fe=C,ze=ce,Ue=he,We=TypeError,He={exports:{}},Ye=x,Ge=Object.defineProperty,Ve=function(e,t){try{Ge(Ye,e,{value:t,configurable:!0,writable:!0})}catch(n){Ye[e]=t}return t},Xe=Ve,qe=x["__core-js_shared__"]||Xe("__core-js_shared__",{}),Ke=qe;(He.exports=function(e,t){return Ke[e]||(Ke[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.25.5",mode:"global",copyright:"\xa9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE",source:"https://github.com/zloirock/core-js"});var $e=ne,Ze=Object,Je=function(e){return Ze($e(e))},Qe=Je,et=X({}.hasOwnProperty),tt=Object.hasOwn||function(e,t){return et(Qe(e),t)},nt=X,rt=0,it=Math.random(),ot=nt(1..toString),at=function(e){return"Symbol("+(void 0===e?"":e)+")_"+ot(++rt+it,36)},st=x,lt=He.exports,ct=tt,ut=at,ft=Te,ht=ke,dt=lt("wks"),pt=st.Symbol,mt=pt&&pt.for,gt=ht?pt:pt&&pt.withoutSetter||ut,vt=function(e){if(!ct(dt,e)||!ft&&"string"!=typeof dt[e]){var t="Symbol."+e;ft&&ct(pt,e)?dt[e]=pt[e]:dt[e]=ht&&mt?mt(t):gt(t)}return dt[e]},bt=C,yt=he,wt=Pe,xt=function(e,t){var n=e[t];return Be(n)?void 0:je(n)},St=function(e,t){var n,r;if("string"===t&&ze(n=e.toString)&&!Ue(r=Fe(n,e)))return r;if(ze(n=e.valueOf)&&!Ue(r=Fe(n,e)))return r;if("string"!==t&&ze(n=e.toString)&&!Ue(r=Fe(n,e)))return r;throw We("Can't convert object to primitive value")},_t=TypeError,Et=vt("toPrimitive"),Tt=function(e,t){if(!yt(e)||wt(e))return e;var n,r=xt(e,Et);if(r){if(void 0===t&&(t="default"),n=bt(r,e,t),!yt(n)||wt(n))return n;throw _t("Can't convert object to primitive value")}return void 0===t&&(t="number"),St(e,t)},kt=Pe,Ot=function(e){var t=Tt(e,"string");return kt(t)?t:t+""},Ct=he,At=x.document,Mt=Ct(At)&&Ct(At.createElement),Pt=function(e){return Mt?At.createElement(e):{}},Rt=Pt,Dt=!E&&!_(function(){return 7!=Object.defineProperty(Rt("div"),"a",{get:function(){return 7}}).a}),Nt=E,It=C,Lt=A,jt=I,Bt=oe,Ft=Ot,zt=tt,Ut=Dt,Wt=Object.getOwnPropertyDescriptor;S.f=Nt?Wt:function(e,t){if(e=Bt(e),t=Ft(t),Ut)try{return Wt(e,t)}catch(n){}if(zt(e,t))return jt(!It(Lt.f,e,t),e[t])};var Ht={},Yt=E&&_(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),Gt=he,Vt=String,Xt=TypeError,qt=function(e){if(Gt(e))return e;throw Xt(Vt(e)+" is not an object")},Kt=E,$t=Dt,Zt=Yt,Jt=qt,Qt=Ot,en=TypeError,tn=Object.defineProperty,nn=Object.getOwnPropertyDescriptor;Ht.f=Kt?Zt?function(e,t,n){if(Jt(e),t=Qt(t),Jt(n),"function"===typeof e&&"prototype"===t&&"value"in n&&"writable"in n&&!n.writable){var r=nn(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:"configurable"in n?n.configurable:r.configurable,enumerable:"enumerable"in n?n.enumerable:r.enumerable,writable:!1})}return tn(e,t,n)}:tn:function(e,t,n){if(Jt(e),t=Qt(t),Jt(n),$t)try{return tn(e,t,n)}catch(r){}if("get"in n||"set"in n)throw en("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var rn=Ht,on=I,an=E?function(e,t,n){return rn.f(e,t,on(1,n))}:function(e,t,n){return e[t]=n,e},sn={exports:{}},ln=E,cn=tt,un=Function.prototype,fn=ln&&Object.getOwnPropertyDescriptor,hn=cn(un,"name"),dn={EXISTS:hn,PROPER:hn&&"something"===function(){}.name,CONFIGURABLE:hn&&(!ln||ln&&fn(un,"name").configurable)},pn=ce,mn=qe,gn=X(Function.toString);pn(mn.inspectSource)||(mn.inspectSource=function(e){return gn(e)});var vn,bn,yn,wn=mn.inspectSource,xn=ce,Sn=x.WeakMap,_n=xn(Sn)&&/native code/.test(String(Sn)),En=He.exports,Tn=at,kn=En("keys"),On=function(e){return kn[e]||(kn[e]=Tn(e))},Cn={},An=_n,Mn=x,Pn=he,Rn=an,Dn=tt,Nn=qe,In=On,Ln=Cn,jn=Mn.TypeError,Bn=Mn.WeakMap;if(An||Nn.state){var Fn=Nn.state||(Nn.state=new Bn);Fn.get=Fn.get,Fn.has=Fn.has,Fn.set=Fn.set,vn=function(e,t){if(Fn.has(e))throw jn("Object already initialized");return t.facade=e,Fn.set(e,t),t},bn=function(e){return Fn.get(e)||{}},yn=function(e){return Fn.has(e)}}else{var zn=In("state");Ln[zn]=!0,vn=function(e,t){if(Dn(e,zn))throw jn("Object already initialized");return t.facade=e,Rn(e,zn,t),t},bn=function(e){return Dn(e,zn)?e[zn]:{}},yn=function(e){return Dn(e,zn)}}var Un={set:vn,get:bn,has:yn,enforce:function(e){return yn(e)?bn(e):vn(e,{})},getterFor:function(e){return function(t){var n;if(!Pn(t)||(n=bn(t)).type!==e)throw jn("Incompatible receiver, "+e+" required");return n}}},Wn=_,Hn=ce,Yn=tt,Gn=E,Vn=dn.CONFIGURABLE,Xn=wn,qn=Un.enforce,Kn=Un.get,$n=Object.defineProperty,Zn=Gn&&!Wn(function(){return 8!==$n(function(){},"length",{value:8}).length}),Jn=String(String).split("String"),Qn=sn.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!Yn(e,"name")||Vn&&e.name!==t)&&(Gn?$n(e,"name",{value:t,configurable:!0}):e.name=t),Zn&&n&&Yn(n,"arity")&&e.length!==n.arity&&$n(e,"length",{value:n.arity});try{n&&Yn(n,"constructor")&&n.constructor?Gn&&$n(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(i){}var r=qn(e);return Yn(r,"source")||(r.source=Jn.join("string"==typeof t?t:"")),e};Function.prototype.toString=Qn(function(){return Hn(this)&&Kn(this).source||Xn(this)},"toString");var er=ce,tr=Ht,nr=sn.exports,rr=Ve,ir={},or=Math.ceil,ar=Math.floor,sr=Math.trunc||function(e){var t=+e;return(t>0?ar:or)(t)},lr=function(e){var t=+e;return t!==t||0===t?0:sr(t)},cr=lr,ur=Math.max,fr=Math.min,hr=lr,dr=Math.min,pr=function(e){return e>0?dr(hr(e),9007199254740991):0},mr=function(e){return pr(e.length)},gr=oe,vr=function(e,t){var n=cr(e);return n<0?ur(n+t,0):fr(n,t)},br=mr,yr=function(e){return function(t,n,r){var i,o=gr(t),a=br(o),s=vr(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},wr={includes:yr(!0),indexOf:yr(!1)},xr=tt,Sr=oe,_r=wr.indexOf,Er=Cn,Tr=X([].push),kr=function(e,t){var n,r=Sr(e),i=0,o=[];for(n in r)!xr(Er,n)&&xr(r,n)&&Tr(o,n);for(;t.length>i;)xr(r,n=t[i++])&&(~_r(o,n)||Tr(o,n));return o},Or=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Cr=kr,Ar=Or.concat("length","prototype");ir.f=Object.getOwnPropertyNames||function(e){return Cr(e,Ar)};var Mr={};Mr.f=Object.getOwnPropertySymbols;var Pr=me,Rr=ir,Dr=Mr,Nr=qt,Ir=X([].concat),Lr=Pr("Reflect","ownKeys")||function(e){var t=Rr.f(Nr(e)),n=Dr.f;return n?Ir(t,n(e)):t},jr=tt,Br=Lr,Fr=S,zr=Ht,Ur=_,Wr=ce,Hr=/#|\.prototype\./,Yr=function(e,t){var n=Vr[Gr(e)];return n==qr||n!=Xr&&(Wr(t)?Ur(t):!!t)},Gr=Yr.normalize=function(e){return String(e).replace(Hr,".").toLowerCase()},Vr=Yr.data={},Xr=Yr.NATIVE="N",qr=Yr.POLYFILL="P",Kr=Yr,$r=x,Zr=S.f,Jr=an,Qr=function(e,t,n,r){r||(r={});var i=r.enumerable,o=void 0!==r.name?r.name:t;if(er(n)&&nr(n,o,r),r.global)i?e[t]=n:rr(t,n);else{try{r.unsafe?e[t]&&(i=!0):delete e[t]}catch(a){}i?e[t]=n:tr.f(e,t,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e},ei=Ve,ti=function(e,t,n){for(var r=Br(t),i=zr.f,o=Fr.f,a=0;ab;b++)if((s||b in m)&&(d=g(h=m[b],b,p),e))if(t)w[b]=d;else if(d)switch(e){case 3:return!0;case 5:return h;case 6:return b;case 2:zi(w,h)}else switch(e){case 4:return!1;case 7:zi(w,h)}return o?-1:r||i?i:w}},Wi={forEach:Ui(0),map:Ui(1),filter:Ui(2),some:Ui(3),every:Ui(4),find:Ui(5),findIndex:Ui(6),filterReject:Ui(7)},Hi={},Yi=kr,Gi=Or,Vi=Object.keys||function(e){return Yi(e,Gi)},Xi=E,qi=Yt,Ki=Ht,$i=qt,Zi=oe,Ji=Vi;Hi.f=Xi&&!qi?Object.defineProperties:function(e,t){$i(e);for(var n,r=Zi(t),i=Ji(t),o=i.length,a=0;o>a;)Ki.f(e,n=i[a++],r[n]);return e};var Qi,eo=me("document","documentElement"),to=qt,no=Hi,ro=Or,io=Cn,oo=eo,ao=Pt,so=On("IE_PROTO"),lo=function(){},co=function(e){return"