/*! For license information please see 2.04b511c0.chunk.js.LICENSE.txt */ (this["webpackJsonpabbr-webapp"]=this["webpackJsonpabbr-webapp"]||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(331)},function(e,t,n){e.exports=n(338)()},function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"g",(function(){return u})),n.d(t,"c",(function(){return s})),n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return l}));var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function s(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(u){o={error:u}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function c(){for(var e=[],t=0;t5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),o=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),o=e.substr(4,1),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:F.transform},q={test:function(e){return F.test(e)||U.test(e)||L.test(e)},parse:function(e){return F.test(e)?F.parse(e):L.test(e)?L.parse(e):U.parse(e)},transform:function(e){return E(e)?e:e.hasOwnProperty("red")?F.transform(e):L.transform(e)}};function z(e){var t=[],n=0,r=e.match(x);r&&(n=r.length,e=e.replace(x,"${c}"),t.push.apply(t,r.map(q.parse)));var o=e.match(w);return o&&(e=e.replace(w,"${n}"),t.push.apply(t,o.map(k.parse))),{values:t,numColors:n,tokenised:e}}function V(e){return z(e).values}function H(e){var t=z(e),n=t.values,r=t.numColors,o=t.tokenised,i=n.length;return function(e){for(var t=o,n=0;n0},parse:V,createTransformer:H,getAnimatableNone:function(e){var t=V(e);return H(e)(t.map(W))}},Y=new Set(["brightness","contrast","saturate","opacity"]);function X(e){var t=e.slice(0,-1).split("("),n=t[0],r=t[1];if("drop-shadow"===n)return e;var o=(r.match(w)||[])[0];if(!o)return e;var i=r.replace(o,""),a=Y.has(n)?1:0;return o!==r&&(a*=100),n+"("+a+i+")"}var $=/([a-z-]*)\(.*?\)/g,K=Object(r.a)(Object(r.a)({},G),{getAnimatableNone:function(e){var t=e.match($);return t?t.map(X).join(" "):e}}),Q=function(e,t,n){return Math.min(Math.max(n,e),t)};function J(e){var t,n,r=e.duration,o=void 0===r?800:r,i=e.bounce,a=void 0===i?.25:i,u=e.velocity,s=void 0===u?0:u,c=e.mass,l=void 0===c?1:c,f=1-a;f=Q(.05,1,f),o=Q(.01,10,o/1e3),f<1?(t=function(e){var t=e*f,n=t*o;return.001-(t-s)/Z(e,f)*Math.exp(-n)},n=function(e){var n=e*f*o,r=n*s+s,i=Math.pow(f,2)*Math.pow(e,2)*o,a=Math.exp(-n),u=Z(Math.pow(e,2),f);return(.001-t(e)>0?-1:1)*((r-i)*a)/u}):(t=function(e){return Math.exp(-e*o)*((e-s)*o+1)-.001},n=function(e){return Math.exp(-e*o)*(o*o*(s-e))});var p=function(e,t,n){for(var r=n,o=1;o<12;o++)r-=e(r)/t(r);return r}(t,n,5/o);if(isNaN(p))return{stiffness:100,damping:10};var d=Math.pow(p,2)*l;return{stiffness:d,damping:2*f*Math.sqrt(l*d)}}function Z(e,t){return e*Math.sqrt(1-t*t)}var ee=["duration","bounce"],te=["stiffness","damping","mass"];function ne(e,t){return t.some((function(t){return void 0!==e[t]}))}function re(e){var t=e.from,n=void 0===t?0:t,o=e.to,i=void 0===o?1:o,a=e.restSpeed,u=void 0===a?2:a,s=e.restDelta,c=Object(r.d)(e,["from","to","restSpeed","restDelta"]),l={done:!1,value:n},f=function(e){var t=Object(r.a)({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!ne(e,te)&&ne(e,ee)){var n=J(e);(t=Object(r.a)(Object(r.a)(Object(r.a)({},t),n),{velocity:0,mass:1})).isResolvedFromDuration=!0}return t}(c),p=f.stiffness,d=f.damping,h=f.mass,v=f.velocity,m=f.isResolvedFromDuration,y=oe,g=oe;function b(){var e=v?-v/1e3:0,t=i-n,r=d/(2*Math.sqrt(p*h)),o=Math.sqrt(p/h)/1e3;if(null!==s&&void 0!==s||(s=Math.abs(i-n)<=1?.01:.4),r<1){var a=Z(o,r);y=function(n){var u=Math.exp(-r*o*n);return i-u*((e+r*o*t)/a*Math.sin(a*n)+t*Math.cos(a*n))},g=function(n){var i=Math.exp(-r*o*n);return r*o*i*(Math.sin(a*n)*(e+r*o*t)/a+t*Math.cos(a*n))-i*(Math.cos(a*n)*(e+r*o*t)-a*t*Math.sin(a*n))}}else if(1===r)y=function(n){return i-Math.exp(-o*n)*(t+(e+o*t)*n)};else{var u=o*Math.sqrt(r*r-1);y=function(n){var a=Math.exp(-r*o*n),s=Math.min(u*n,300);return i-a*((e+r*o*t)*Math.sinh(s)+u*t*Math.cosh(s))/u}}}return b(),{next:function(e){var t=y(e);if(m)l.done=e>=c.duration;else{var n=1e3*g(e),r=Math.abs(n)<=u,o=Math.abs(i-t)<=s;l.done=r&&o}return l.value=l.done?i:t,l},flipTarget:function(){var e;v=-v,n=(e=[i,n])[0],i=e[1],b()}}}re.needsInterpolation=function(e,t){return"string"===typeof e||"string"===typeof t};var oe=function(e){return 0},ie=function(e,t,n){var r=t-e;return 0===r?1:(n-e)/r},ae=function(e,t,n){return-n*e+n*t+e},ue=function(e,t,n){var r=e*e,o=t*t;return Math.sqrt(Math.max(0,n*(o-r)+r))},se=[U,F,L],ce=function(e){return se.find((function(t){return t.test(e)}))},le=function(e){return"'"+e+"' is not an animatable color. Use the equivalent color code instead."},fe=function(e,t){var n=ce(e),o=ce(t);le(e),le(t),n.transform,o.transform;var i=n.parse(e),a=o.parse(t),u=Object(r.a)({},i),s=n===L?ae:ue;return function(e){for(var t in u)"alpha"!==t&&(u[t]=s(i[t],a[t],e));return u.alpha=ae(i.alpha,a.alpha,e),n.transform(u)}},pe=function(e){return"number"===typeof e},de=function(e,t){return function(n){return t(e(n))}},he=function(){for(var e=[],t=0;te[s-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());var c=xe(t,a,u),l=2===s?function(e,t){var n=e[0],r=e[1],o=t[0];return function(e){return o(ie(n,r,e))}}(e,c):function(e,t){var n=e.length,r=n-1;return function(o){var i=0,a=!1;if(o<=e[0]?a=!0:o>=e[r]&&(i=r-1,a=!0),!a){for(var u=1;uo||u===r);u++);i=u-1}var s=ie(e[i],e[i+1],o);return t[i](s)}}(e,c);return i?function(t){return l(Q(e[0],e[s-1],t))}:l}var Ee=function(e){return function(t){return 1-e(1-t)}},ke=function(e){return function(t){return t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2}},_e=function(e){return function(t){return t*t*((e+1)*t-e)}},Se=function(e){var t=_e(e);return function(e){return(e*=2)<1?.5*t(e):.5*(2-Math.pow(2,-10*(e-1)))}},Te=function(e){return e},Ce=function(e){return function(t){return Math.pow(t,e)}}(2),Ae=Ee(Ce),je=ke(Ce),Pe=function(e){return 1-Math.sin(Math.acos(e))},Me=Ee(Pe),De=ke(Me),Ne=_e(1.525),Re=Ee(Ne),Le=ke(Ne),Ie=Se(1.525),Be=function(e){if(1===e||0===e)return e;var t=e*e;return e<4/11?7.5625*t:e<8/11?9.075*t-9.9*e+3.4:e<.9?4356/361*t-35442/1805*e+16061/1805:10.8*e*e-20.52*e+10.72},Fe=Ee(Be);function Ue(e,t){return e.map((function(){return t||je})).splice(0,e.length-1)}function qe(e){var t=e.from,n=void 0===t?0:t,r=e.to,o=void 0===r?1:r,i=e.ease,a=e.offset,u=e.duration,s=void 0===u?300:u,c={done:!1,value:n},l=Array.isArray(o)?o:[n,o],f=function(e,t){return e.map((function(e){return e*t}))}(a&&a.length===l.length?a:function(e){var t=e.length;return e.map((function(e,n){return 0!==n?n/(t-1):0}))}(l),s);function p(){return Oe(f,l,{ease:Array.isArray(i)?i:Ue(l,i)})}var d=p();return{next:function(e){return c.value=d(e),c.done=e>=s,c},flipTarget:function(){l.reverse(),d=p()}}}var ze={keyframes:qe,spring:re,decay:function(e){var t=e.velocity,n=void 0===t?0:t,r=e.from,o=void 0===r?0:r,i=e.power,a=void 0===i?.8:i,u=e.timeConstant,s=void 0===u?350:u,c=e.restDelta,l=void 0===c?.5:c,f=e.modifyTarget,p={done:!1,value:o},d=a*n,h=o+d,v=void 0===f?h:f(h);return v!==h&&(d=v-o),{next:function(e){var t=-d*Math.exp(-e/s);return p.done=!(t>l||t<-l),p.value=p.done?v:v+t,p},flipTarget:function(){}}}};function Ve(e,t,n){return void 0===n&&(n=0),e-t-n}var He=function(e){var t=function(t){var n=t.delta;return e(n)};return{start:function(){return y.update(t,!0,!0)},stop:function(){return p.update(t)}}};function We(e){var t,n,o,i,a,u=e.from,s=e.autoplay,c=void 0===s||s,l=e.driver,f=void 0===l?He:l,p=e.elapsed,d=void 0===p?0:p,h=e.repeat,v=void 0===h?0:h,m=e.repeatType,y=void 0===m?"loop":m,g=e.repeatDelay,b=void 0===g?0:g,w=e.onPlay,x=e.onStop,O=e.onComplete,E=e.onRepeat,k=e.onUpdate,_=Object(r.d)(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]),S=_.to,T=0,C=_.duration,A=!1,j=!0,P=function(e){if(Array.isArray(e.to))return qe;if(ze[e.type])return ze[e.type];var t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?qe:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?re:qe}(_);(null===(n=(t=P).needsInterpolation)||void 0===n?void 0:n.call(t,u,S))&&(a=Oe([0,100],[u,S],{clamp:!1}),u=0,S=100);var M=P(Object(r.a)(Object(r.a)({},_),{from:u,to:S}));function D(){T++,"reverse"===y?d=function(e,t,n,r){return void 0===n&&(n=0),void 0===r&&(r=!0),r?Ve(t+-e,t,n):t-(e-t)+n}(d,C,b,j=T%2===0):(d=Ve(d,C,b),"mirror"===y&&M.flipTarget()),A=!1,E&&E()}function N(e){if(j||(e=-e),d+=e,!A){var t=M.next(Math.max(0,d));i=t.value,a&&(i=a(i)),A=j?t.done:d<=0}null===k||void 0===k||k(i),A&&(0===T&&(null!==C&&void 0!==C||(C=d)),T=t+n:e<=-n}(d,C,b,j)&&D():(o.stop(),O&&O()))}return c&&(null===w||void 0===w||w(),(o=f(N)).start()),{stop:function(){null===x||void 0===x||x(),o.stop()}}}function Ge(e,t){return t?e*(1e3/t):0}var Ye=function(e){return e},Xe=function(e){return void 0===e&&(e=Ye),function(t,n,r){var o=n-r,i=-(0-t+1)*(0-e(Math.abs(o)));return o<=0?n+i:n-i}},$e=(Math.sqrt,function(e){return e.hasOwnProperty("x")&&e.hasOwnProperty("y")}),Ke=function(e){return $e(e)&&e.hasOwnProperty("z")},Qe=function(e,t){return Math.abs(e-t)};function Je(e,t){if(pe(e)&&pe(t))return Qe(e,t);if($e(e)&&$e(t)){var n=Qe(e.x,t.x),r=Qe(e.y,t.y),o=Ke(e)&&Ke(t)?Qe(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(o,2))}}var Ze=function(e,t){return 1-3*t+3*e},et=function(e,t){return 3*t-6*e},tt=function(e){return 3*e},nt=function(e,t,n){return((Ze(t,n)*e+et(t,n))*e+tt(t))*e},rt=function(e,t,n){return 3*Ze(t,n)*e*e+2*et(t,n)*e+tt(t)};function ot(e,t,n,r){if(e===t&&n===r)return Te;for(var o=new Float32Array(11),i=0;i<11;++i)o[i]=nt(.1*i,e,n);function a(t){for(var r=0,i=1;10!==i&&o[i]<=t;++i)r+=.1;--i;var a=r+.1*((t-o[i])/(o[i+1]-o[i])),u=rt(a,e,n);return u>=.001?function(e,t,n,r){for(var o=0;o<8;++o){var i=rt(t,n,r);if(0===i)return t;t-=(nt(t,n,r)-e)/i}return t}(t,a,e,n):0===u?a:function(e,t,n,r,o){var i,a,u=0;do{(i=nt(a=t+(n-t)/2,r,o)-e)>0?n=a:t=a}while(Math.abs(i)>1e-7&&++u<10);return a}(t,r,r+.1,e,n)}return function(e){return 0===e||1===e?e:nt(a(e),t,r)}}var it=n(0),at=n.n(it),ut=function(e){return"object"===typeof e&&e.hasOwnProperty("current")},st=function(){function e(){this.subscriptions=new Set}return e.prototype.add=function(e){var t=this;return this.subscriptions.add(e),function(){t.subscriptions.delete(e)}},e.prototype.notify=function(e,t,n){var o,i;if(this.subscriptions.size)try{for(var a=Object(r.g)(this.subscriptions),u=a.next();!u.done;u=a.next()){(0,u.value)(e,t,n)}}catch(s){o={error:s}}finally{try{u&&!u.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}},e.prototype.clear=function(){this.subscriptions.clear()},e}(),ct=function(){function e(e){var t,n=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new st,this.renderSubscribers=new st,this.canTrackVelocity=!1,this.updateAndNotify=function(e,t){void 0===t&&(t=!0),n.prev=n.current,n.current=e,n.prev!==n.current&&n.updateSubscribers.notify(n.current),t&&n.renderSubscribers.notify(n.current);var r=m(),o=r.delta,i=r.timestamp;n.lastUpdated!==i&&(n.timeDelta=o,n.lastUpdated=i,y.postRender(n.scheduleVelocityCheck))},this.scheduleVelocityCheck=function(){return y.postRender(n.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==n.lastUpdated&&(n.prev=n.current)},this.current=e,this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t)))}return e.prototype.onChange=function(e){return this.updateSubscribers.add(e)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(e){return e(this.get()),this.renderSubscribers.add(e)},e.prototype.attach=function(e){this.passiveEffect=e},e.prototype.set=function(e,t){void 0===t&&(t=!0),t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?Ge(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(e){var t=this;return this.stop(),new Promise((function(n){t.stopAnimation=e(n)})).then((function(){return t.clearAnimation()}))},e.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},e.prototype.isAnimating=function(){return!!this.stopAnimation},e.prototype.clearAnimation=function(){this.stopAnimation=null},e.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},e}();function lt(e){return new ct(e)}var ft=function(){function e(e,t){var n=this;this.children=new Set,this.isHoverEventsEnabled=!0,this.baseTarget={},this.latest={},this.values=new Map,this.valueSubscriptions=new Map,this.config={},this.isMounted=!1,this.update=function(){return n.config.onUpdate(n.latest)},this.triggerRender=function(){return n.render()},this.ref=function(e){e?n.mount(e):n.unmount(),n.externalRef&&("function"===typeof n.externalRef?n.externalRef(e):ut(n.externalRef)&&(n.externalRef.current=e))},this.parent=e,this.rootParent=e?e.rootParent:this,this.treePath=e?Object(r.e)(e.treePath,[e]):[],this.depth=e?e.depth+1:0,this.externalRef=t}return e.prototype.suspendHoverEvents=function(){var e=this;this.isHoverEventsEnabled=!1,y.postRender((function(){return setTimeout((function(){return e.isHoverEventsEnabled=!0}),10)}))},e.prototype.getVariantPayload=function(){return this.config.custom},e.prototype.getVariant=function(e){var t;return null===(t=this.config.variants)||void 0===t?void 0:t[e]},e.prototype.addVariantChild=function(e){var t=this;return this.variantChildren||(this.variantChildren=new Set),this.variantChildren.add(e),function(){return t.variantChildren.delete(e)}},e.prototype.addVariantChildOrder=function(e){this.variantChildrenOrder||(this.variantChildrenOrder=new Set),this.variantChildrenOrder.add(e)},e.prototype.onAnimationStart=function(){var e,t;null===(t=(e=this.config).onAnimationStart)||void 0===t||t.call(e)},e.prototype.onAnimationComplete=function(){var e,t;this.isMounted&&(null===(t=(e=this.config).onAnimationComplete)||void 0===t||t.call(e))},e.prototype.getDefaultTransition=function(){return this.config.transition},e.prototype.subscribe=function(e){var t=this;return this.children.add(e),function(){return t.children.delete(e)}},e.prototype.hasValue=function(e){return this.values.has(e)},e.prototype.addValue=function(e,t){this.hasValue(e)&&this.removeValue(e),this.values.set(e,t),this.setSingleStaticValue(e,t.get()),this.subscribeToValue(e,t)},e.prototype.removeValue=function(e){var t;null===(t=this.valueSubscriptions.get(e))||void 0===t||t(),this.valueSubscriptions.delete(e),this.values.delete(e),delete this.latest[e]},e.prototype.getValue=function(e,t){var n=this.values.get(e);return void 0===n&&void 0!==t&&(n=new ct(t),this.addValue(e,n)),n},e.prototype.forEachValue=function(e){this.values.forEach(e)},e.prototype.getInstance=function(){return this.element},e.prototype.updateConfig=function(e){void 0===e&&(e={}),this.config=Object(r.a)({},e)},e.prototype.getBaseValue=function(e,t){return this.baseTarget[e]},e.prototype.setSingleStaticValue=function(e,t){this.latest[e]=t},e.prototype.setStaticValues=function(e,t){if("string"===typeof e)this.setSingleStaticValue(e,t);else for(var n in e)this.setSingleStaticValue(n,e[n])},e.prototype.scheduleRender=function(){y.render(this.triggerRender,!1,!0)},e.prototype.scheduleUpdateLayoutDelta=function(){y.preRender(this.rootParent.updateLayoutDelta,!1,!0)},e.prototype.subscribeToValue=function(e,t){var n=this,r=t.onChange((function(t){n.setSingleStaticValue(e,t),n.element&&n.config.onUpdate&&y.update(n.update,!1,!0)})),o=t.onRenderRequest((function(){n.element&&n.scheduleRender()}));this.valueSubscriptions.set(e,(function(){r(),o()}))},e.prototype.mount=function(e){this.parent&&(this.removeFromParent=this.parent.subscribe(this)),this.element=this.current=e},e.prototype.unmount=function(){var e=this;this.forEachValue((function(t,n){return e.removeValue(n)})),p.update(this.update),p.render(this.render),this.removeFromParent&&this.removeFromParent()},e}();function pt(e){return e}function dt(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}function ht(e){return{x:Object(r.a)({},e.x),y:Object(r.a)({},e.y)}}var vt={translate:0,scale:1,origin:0,originPoint:0};function mt(){return{x:Object(r.a)({},vt),y:Object(r.a)({},vt)}}var yt=Object(r.a)(Object(r.a)({},k),{transform:Math.round}),gt={color:q,backgroundColor:q,outlineColor:q,fill:q,stroke:q,borderColor:q,borderTopColor:q,borderRightColor:q,borderBottomColor:q,borderLeftColor:q,borderWidth:j,borderTopWidth:j,borderRightWidth:j,borderBottomWidth:j,borderLeftWidth:j,borderRadius:j,radius:j,borderTopLeftRadius:j,borderTopRightRadius:j,borderBottomRightRadius:j,borderBottomLeftRadius:j,width:j,maxWidth:j,height:j,maxHeight:j,size:j,top:j,right:j,bottom:j,left:j,padding:j,paddingTop:j,paddingRight:j,paddingBottom:j,paddingLeft:j,margin:j,marginTop:j,marginRight:j,marginBottom:j,marginLeft:j,rotate:C,rotateX:C,rotateY:C,rotateZ:C,scale:S,scaleX:S,scaleY:S,scaleZ:S,skew:C,skewX:C,skewY:C,distance:j,translateX:j,translateY:j,translateZ:j,x:j,y:j,z:j,perspective:j,transformPerspective:j,opacity:_,originX:D,originY:D,originZ:j,zIndex:yt,filter:K,WebkitFilter:K,fillOpacity:_,strokeOpacity:_,numOctaves:yt},bt=[k,j,A,C,M,P,{test:function(e){return"auto"===e},parse:function(e){return e}}],wt=function(e){return function(t){return t.test(e)}},xt=function(e){return bt.find(wt(e))},Ot=Object(r.e)(bt,[q,G]),Et=function(e){return Ot.find(wt(e))},kt=function(e){return gt[e]},_t=function(e,t){return t&&"number"===typeof e?t.transform(e):e};function St(e,t){var n,r=kt(e);return r!==K&&(r=G),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,t)}var Tt=["","X","Y","Z"],Ct=["transformPerspective","x","y","z"];function At(e,t){return Ct.indexOf(e)-Ct.indexOf(t)}["perspective","translate","scale","rotate","skew"].forEach((function(e){Tt.forEach((function(t){var n=e+t;Ct.push(n)}))}));var jt=new Set(Ct);function Pt(e){return jt.has(e)}var Mt=new Set(["originX","originY","originZ"]);function Dt(e){return Mt.has(e)}var Nt={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function Rt(e,t,n){var r=e.x,o=e.y,i="translate3d("+r.translate/t.x+"px, "+o.translate/t.y+"px, 0) ";if(n){var a=n.rotate,u=n.rotateX,s=n.rotateY;a&&(i+="rotate("+a+") "),u&&(i+="rotateX("+u+") "),s&&(i+="rotateY("+s+") ")}return i+="scale("+r.scale+", "+o.scale+")",n||i!==Lt?i:""}var Lt=Rt(mt(),{x:1,y:1});function It(e){return e.startsWith("--")}function Bt(e){return"string"===typeof e&&e.startsWith("var(--")}var Ft=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Ut(e,t,n){void 0===n&&(n=1);var o=Object(r.c)(function(e){var t=Ft.exec(e);if(!t)return[,];var n=Object(r.c)(t,3);return[n[1],n[2]]}(e),2),i=o[0],a=o[1];if(i){var u=window.getComputedStyle(t).getPropertyValue(i);return u?u.trim():Bt(a)?Ut(a,t,n+1):a}}function qt(e,t){return e/(t.max-t.min)*100}var zt={process:function(e,t){if("string"===typeof e){if(!j.test(e))return e;e=parseFloat(e)}return qt(e,t.x)+"% "+qt(e,t.y)+"%"}},Vt={borderRadius:Object(r.a)(Object(r.a)({},zt),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:zt,borderTopRightRadius:zt,borderBottomLeftRadius:zt,borderBottomRightRadius:zt,boxShadow:{process:function(e,t,n,r){var o=e,i=e.includes("var("),a=[];i&&(e=e.replace(Ft,(function(e){return a.push(e),"_$css"})));var u=G.parse(e);if(u.length>5)return o;var s=G.createTransformer(e),c="number"!==typeof u[0]?1:0,l=n.x.scale*r.x,f=n.y.scale*r.y;u[0+c]/=l,u[1+c]/=f;var p=ae(l,f,.5);"number"===typeof u[2+c]&&(u[2+c]/=p),"number"===typeof u[3+c]&&(u[3+c]/=p);var d=s(u);if(i){var h=0;d=d.replace("_$css",(function(){var e=a[h];return h++,e}))}return d}}};function Ht(e,t,n,r,o,i,a,u,s,c,l,f){var p=a.enableHardwareAcceleration,d=a.transformTemplate,h=a.allowTransformNone;i.length=0;var v=!1,m=!1,y=!0;for(var g in e){var b=e[g],w=kt(g),x=_t(b,w);if(Pt(g)){if(v=!0,r[g]=x,i.push(g),!y)continue;b!==(void 0!==w.default?w.default:0)&&(y=!1)}else if(Dt(g))o[g]=x,m=!0;else if("transform"!==g||"function"!==typeof b){var O=It(g)?n:t;if(u&&Vt[g]){var E=Vt[g].process(b,f,s,l),k=Vt[g].applyTo;if(k)for(var _=k.length,S=0;S<_;S++)O[k[S]]=E;else O[g]=E}else O[g]=x}}u?(t.transform=Rt(c,l,v?r:void 0),d&&(t.transform=d(r,t.transform)),t.transformOrigin=function(e){var t=e.x,n=e.y;return 100*t.origin+"% "+100*n.origin+"% 0"}(c)):(v&&(t.transform=function(e,t,n,r,o,i){void 0===o&&(o=!0),void 0===i&&(i=!0);var a="";t.sort(At);for(var u=!1,s=t.length,c=0;cr?n=ie(t.min,t.max-r,e.min):r>o&&(n=ie(e.min,e.max-o,t.min)),Q(0,1,n)}function on(e,t,n,r){e.origin=void 0===r?rn(t,n):r,e.originPoint=ae(t.min,t.max,e.origin),e.scale=nn(n)/nn(t),tn(e.scale,1,1e-4)&&(e.scale=1),e.translate=ae(n.min,n.max,e.origin)-e.originPoint,tn(e.translate)&&(e.translate=0)}function an(e,t,n,r){on(e.x,t.x,n.x,r),on(e.y,t.y,n.y,r)}function un(e){return[e("x"),e("y")]}function sn(e,t){return dt(function(e,t){var n=e.top,r=e.left,o=e.bottom,i=e.right;void 0===t&&(t=pt);var a=t({x:r,y:n}),u=t({x:i,y:o});return{top:a.y,left:a.x,bottom:u.y,right:u.x}}(e.getBoundingClientRect(),t))}var cn,ln=function(e){return Array.isArray(e)},fn=new Set(["width","height","top","left","right","bottom","x","y"]),pn=function(e){return fn.has(e)},dn=function(e,t){e.set(t,!1),e.set(t)},hn=function(e){return e===k||e===j};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(cn||(cn={}));var vn=function(e,t){return parseFloat(e.split(", ")[t])},mn=function(e,t){return function(n,r){var o=r.transform;if("none"===o||!o)return 0;var i=o.match(/^matrix3d\((.+)\)$/);if(i)return vn(i[1],t);var a=o.match(/^matrix\((.+)\)$/);return a?vn(a[1],e):0}},yn=new Set(["x","y","z"]),gn=Ct.filter((function(e){return!yn.has(e)}));var bn={width:function(e){var t=e.x;return t.max-t.min},height:function(e){var t=e.y;return t.max-t.min},top:function(e,t){var n=t.top;return parseFloat(n)},left:function(e,t){var n=t.left;return parseFloat(n)},bottom:function(e,t){var n=e.y,r=t.top;return parseFloat(r)+(n.max-n.min)},right:function(e,t){var n=e.x,r=t.left;return parseFloat(r)+(n.max-n.min)},x:mn(4,13),y:mn(5,14)},wn=function(e,t,n,o){void 0===n&&(n={}),void 0===o&&(o={}),t=Object(r.a)({},t),o=Object(r.a)({},o);var i=Object.keys(t).filter(pn),a=[],u=!1,s=[];if(i.forEach((function(r){var i=e.getValue(r);if(e.hasValue(r)){var c,l=n[r],f=t[r],p=xt(l);if(ln(f))for(var d=f.length,h=null===f[0]?1:0;h=3;if(t||n){var i=e.point,a=m().timestamp;o.history.push(Object(r.a)(Object(r.a)({},i),{timestamp:a}));var u=o.handlers,s=u.onStart,c=u.onMove;t||(s&&s(o.lastMoveEvent,e),o.startEvent=o.lastMoveEvent),c&&c(o.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){o.lastMoveEvent=e,o.lastMoveEventInfo=br(t,o.transformPagePoint),rr(e)&&0===e.buttons?o.handlePointerUp(e,t):y.update(o.updatePoint,!0)},this.handlePointerUp=function(e,t){o.end();var n=o.handlers.onEnd;if(n){var r=xr(br(t,o.transformPagePoint),o.history);n&&n(e,r)}},!(or(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=i;var a=br(sr(e),this.transformPagePoint),u=a.point,s=m().timestamp;this.history=[Object(r.a)(Object(r.a)({},u),{timestamp:s})];var c=t.onSessionStart;c&&c(e,xr(a,this.history)),this.removeListeners=he(vr(window,"pointermove",this.handlePointerMove),vr(window,"pointerup",this.handlePointerUp),vr(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),p.update(this.updatePoint)},e}();function br(e,t){return t?{point:t(e.point)}:e}function wr(e,t){return{x:e.x-t.x,y:e.y-t.y}}function xr(e,t){var n=e.point;return{point:n,delta:wr(n,Er(t)),offset:wr(n,Or(t)),velocity:kr(t,.1)}}function Or(e){return e[0]}function Er(e){return e[e.length-1]}function kr(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,o=Er(e);n>=0&&(r=e[n],!(o.timestamp-r.timestamp>yr(t)));)n--;if(!r)return{x:0,y:0};var i=(o.timestamp-r.timestamp)/1e3;if(0===i)return{x:0,y:0};var a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}var _r={linear:Te,easeIn:Ce,easeInOut:je,easeOut:Ae,circIn:Pe,circInOut:De,circOut:Me,backIn:Ne,backInOut:Le,backOut:Re,anticipate:Ie,bounceIn:Fe,bounceInOut:function(e){return e<.5?.5*(1-Be(1-2*e)):.5*Be(2*e-1)+.5},bounceOut:Be},Sr=function(e){if(Array.isArray(e)){e.length;var t=Object(r.c)(e,4);return ot(t[0],t[1],t[2],t[3])}return"string"===typeof e?_r[e]:e},Tr=function(e,t){return"zIndex"!==e&&(!("number"!==typeof t&&!Array.isArray(t))||!("string"!==typeof t||!G.test(t)||t.startsWith("url(")))},Cr=function(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}},Ar=function(e){return{type:"spring",stiffness:550,damping:0===e?100:30,restDelta:.01,restSpeed:10}},jr=function(){return{type:"keyframes",ease:"linear",duration:.3}},Pr=function(e){return{type:"keyframes",duration:.8,values:e}},Mr={x:Cr,y:Cr,z:Cr,rotate:Cr,rotateX:Cr,rotateY:Cr,rotateZ:Cr,scaleX:Ar,scaleY:Ar,scale:Ar,opacity:jr,backgroundColor:jr,color:jr,default:Ar};function Dr(e){var t=e.ease,n=e.times,o=e.yoyo,i=e.flip,a=e.loop,u=Object(r.d)(e,["ease","times","yoyo","flip","loop"]),s=Object(r.a)({},u);return n&&(s.offset=n),u.duration&&(s.duration=yr(u.duration)),u.repeatDelay&&(s.repeatDelay=yr(u.repeatDelay)),t&&(s.ease=function(e){return Array.isArray(e)&&"number"!==typeof e[0]}(t)?t.map(Sr):Sr(t)),"tween"===u.type&&(s.type="keyframes"),(o||a||i)&&(!0,o?s.repeatType="reverse":a?s.repeatType="loop":i&&(s.repeatType="mirror"),s.repeat=a||o||i||u.repeat),"spring"!==u.type&&(s.type="keyframes"),s}function Nr(e,t,n){var o;return Array.isArray(t.to)&&(null!==(o=e.duration)&&void 0!==o||(e.duration=.8)),function(e){Array.isArray(e.to)&&null===e.to[0]&&(e.to=Object(r.e)(e.to),e.to[0]=e.from)}(t),function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=Object(r.d)(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=Object(r.a)(Object(r.a)({},e),function(e,t){var n;return n=ln(t)?Pr:Mr[e]||Mr.default,Object(r.a)({to:t},n(t))}(n,t.to))),Object(r.a)(Object(r.a)({},t),Dr(e))}function Rr(e,t,n,o,i){var a,u=function(e,t){return e[t]||e.default||e}(o,e),s=null!==(a=u.from)&&void 0!==a?a:t.get(),c=Tr(e,n);"none"===s&&c&&"string"===typeof n&&(s=St(e,n));var l=Tr(e,s);return l&&c&&!1!==u.type?function(){var o={from:s,to:n,velocity:t.getVelocity(),onComplete:i,onUpdate:function(e){return t.set(e)}};return"inertia"===u.type||"decay"===u.type?function(e){var t,n=e.from,o=void 0===n?0:n,i=e.velocity,a=void 0===i?0:i,u=e.min,s=e.max,c=e.power,l=void 0===c?.8:c,f=e.timeConstant,p=void 0===f?750:f,d=e.bounceStiffness,h=void 0===d?500:d,v=e.bounceDamping,y=void 0===v?10:v,g=e.restDelta,b=void 0===g?1:g,w=e.modifyTarget,x=e.driver,O=e.onUpdate,E=e.onComplete;function k(e){return void 0!==u&&es}function _(e){return void 0===u?s:void 0===s||Math.abs(u-e)P||-1===M&&ev&&g,O=Array.isArray(y)?y:[y],E=O.reduce(u,{});!1===b&&(E={});var k=m.prevResolvedValues,_=void 0===k?{}:k,S=Object(r.a)(Object(r.a)({},_),E);for(var T in S){var C=E[T],A=_[T];h.hasOwnProperty(T)||(C!==A?void 0!==C?(x=!0,d.delete(T)):d.add(T):void 0!==C&&d.has(T)?(x=!0,d.delete(T)):m.protectedKeys[T]=!0)}m.prevProp=y,m.prevResolvedValues=E,m.isActive&&(h=Object(r.a)(Object(r.a)({},h),E)),x&&!w&&p.push.apply(p,Object(r.e)(O.map((function(e){return{animation:e,options:Object(r.a)({type:o},l)}}))))},y=0;yo&&(e=n?ae(o,e,n):Math.min(e,o)),e}function Ro(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function Lo(e,t){var n,o=t.min-e.min,i=t.max-e.max;return t.max-t.mint?n="y":Math.abs(e.x)>t&&(n="x");return n}(l),void(null!==n.currentDirection&&(null===(o=(r=n.props).onDirectionLock)||void 0===o||o.call(r,n.currentDirection)));n.updateAxis("x",e,l),n.updateAxis("y",e,l),null===(a=(i=n.props).onDrag)||void 0===a||a.call(i,e,t),Io=e}},onEnd:function(e,t){return n.stop(e,t)}},{transformPagePoint:u})},e.prototype.prepareBoundingBox=function(){var e=this.visualElement;e.withoutTransform((function(){e.measureLayout()})),e.rebaseTargetBox(!0,e.getBoundingBoxWithoutTransforms())},e.prototype.resolveDragConstraints=function(){var e=this,t=this.props.dragConstraints;this.constraints=!!t&&(ut(t)?this.resolveRefConstraints(this.visualElement.box,t):function(e,t){var n=t.top,r=t.left,o=t.bottom,i=t.right;return{x:Ro(e.x,r,i),y:Ro(e.y,n,o)}}(this.visualElement.box,t)),this.constraints&&!this.hasMutatedConstraints&&un((function(t){e.getAxisMotionValue(t)&&(e.constraints[t]=function(e,t){var n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(e.visualElement.box[t],e.constraints[t]))}))},e.prototype.resolveRefConstraints=function(e,t){var n=this.props,r=n.onMeasureDragConstraints,o=n.transformPagePoint,i=t.current;this.constraintsBox=sn(i,o);var a=function(e,t){return{x:Lo(e.x,t.x),y:Lo(e.y,t.y)}}(e,this.constraintsBox);if(r){var u=r(function(e){var t=e.x,n=e.y;return{top:n.min,bottom:n.max,left:t.min,right:t.max}}(a));this.hasMutatedConstraints=!!u,u&&(a=dt(u))}return a},e.prototype.cancelDrag=function(){var e;this.isDragging=!1,this.panSession&&this.panSession.end(),this.panSession=null,!this.props.dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(e=this.visualElement.animationState)||void 0===e||e.setActive(Ur.Drag,!1)},e.prototype.stop=function(e,t){var n;this.visualElement.unlockTargetBox(),null===(n=this.panSession)||void 0===n||n.end(),this.panSession=null;var r=this.isDragging;if(this.cancelDrag(),r){var o=this.props,i=o.dragMomentum,a=o.dragElastic,u=o.onDragEnd;if(i||a){var s=t.velocity;this.animateDragEnd(s)}null===u||void 0===u||u(e,t)}},e.prototype.snapToCursor=function(e){var t=this;this.prepareBoundingBox(),un((function(n){if(Uo(n,t.props.drag,t.currentDirection)){var r=t.getAxisMotionValue(n);if(r){var o=cr(e).point,i=t.visualElement.box,a=i[n].max-i[n].min,u=i[n].min+a/2,s=o[n]-u;t.originPoint[n]=o[n],r.set(s)}else t.cursorProgress[n]=.5,t.updateVisualElementAxis(n,e)}}))},e.prototype.updateAxis=function(e,t,n){if(Uo(e,this.props.drag,this.currentDirection))return this.getAxisMotionValue(e)?this.updateAxisMotionValue(e,n):this.updateVisualElementAxis(e,t)},e.prototype.updateAxisMotionValue=function(e,t){var n=this.getAxisMotionValue(e);if(t&&n){var r=this.props.dragElastic,o=this.originPoint[e]+t[e],i=this.constraints?No(o,this.constraints[e],r):o;n.set(i)}},e.prototype.updateVisualElementAxis=function(e,t){var n,r=this.props.dragElastic,o=this.visualElement.box[e],i=o.max-o.min,a=this.cursorProgress[e],u=function(e,t,n,r,o){var i=e-t*n;return r?No(i,r,o):i}(cr(t).point[e],i,a,null===(n=this.constraints)||void 0===n?void 0:n[e],r);this.visualElement.setAxisTarget(e,u,u+i)},e.prototype.updateProps=function(e){var t=e.drag,n=void 0!==t&&t,o=e.dragDirectionLock,i=void 0!==o&&o,a=e.dragPropagation,u=void 0!==a&&a,s=e.dragConstraints,c=void 0!==s&&s,l=e.dragElastic,f=void 0===l?.35:l,p=e.dragMomentum,d=void 0===p||p,h=Object(r.d)(e,["drag","dragDirectionLock","dragPropagation","dragConstraints","dragElastic","dragMomentum"]);this.props=Object(r.a)({drag:n,dragDirectionLock:i,dragPropagation:u,dragConstraints:c,dragElastic:f,dragMomentum:d},h)},e.prototype.getAxisMotionValue=function(e){var t=this.props,n=t.layout,r=t.layoutId,o="_drag"+e.toUpperCase();return this.props[o]?this.props[o]:n||void 0!==r?void 0:this.visualElement.getValue(e,0)},e.prototype.animateDragEnd=function(e){var t=this,n=this.props,o=n.drag,i=n.dragMomentum,a=n.dragElastic,u=n.dragTransition,s=un((function(n){if(Uo(n,o,t.currentDirection)){var s=t.constraints?t.constraints[n]:{},c=a?200:1e6,l=a?40:1e7,f=Object(r.a)(Object(r.a)({type:"inertia",velocity:i?e[n]:0,bounceStiffness:c,bounceDamping:l,timeConstant:750,restDelta:1,restSpeed:10},u),s);return t.getAxisMotionValue(n)?t.startAxisValueAnimation(n,f):t.visualElement.startLayoutAxisAnimation(n,f)}}));return Promise.all(s).then((function(){var e,n;null===(n=(e=t.props).onDragTransitionEnd)||void 0===n||n.call(e)}))},e.prototype.stopMotion=function(){var e=this;un((function(t){var n=e.getAxisMotionValue(t);n?n.stop():e.visualElement.stopLayoutAnimation()}))},e.prototype.startAxisValueAnimation=function(e,t){var n=this.getAxisMotionValue(e);if(n){var r=n.get();return n.set(r),n.set(r),Lr(e,n,0,t)}},e.prototype.scalePoint=function(){var e=this,t=this.props,n=t.drag,r=t.dragConstraints;if(ut(r)&&this.constraintsBox){this.stopMotion();var o={x:0,y:0};un((function(t){o[t]=rn(e.visualElement.targetBox[t],e.constraintsBox[t])})),this.prepareBoundingBox(),this.resolveDragConstraints(),un((function(t){if(Uo(t,n,null)){var r=function(e,t,n){var r=e.max-e.min,o=ae(t.min,t.max-r,n);return{min:o,max:o+r}}(e.visualElement.targetBox[t],e.constraintsBox[t],o[t]),i=r.min,a=r.max;e.visualElement.setAxisTarget(t,i,a)}}))}},e.prototype.mount=function(e){var t=this,n=vr(e.getInstance(),"pointerdown",(function(e){var n=t.props,r=n.drag,o=n.dragListener;r&&(void 0===o||o)&&t.start(e)})),r=tr(window,"resize",(function(){t.scalePoint()})),o=e.onLayoutUpdate((function(){t.isDragging&&t.resolveDragConstraints()})),i=e.prevSnapshot;return(null===i||void 0===i?void 0:i.isDragging)&&this.start(Io,{cursorProgress:i.cursorProgress}),function(){null===n||void 0===n||n(),null===r||void 0===r||r(),null===o||void 0===o||o(),t.cancelDrag()}},e}();function Uo(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}var qo=eo((function(e){var t=e.visualElement;return function(e,t){var n=e.dragControls,o=Object(it.useContext)(Zn).transformPagePoint,i=Rn((function(){return new Fo({visualElement:t})}));i.updateProps(Object(r.a)(Object(r.a)({},e),{transformPagePoint:o})),Object(it.useEffect)((function(){return n&&n.subscribe(i)}),[i]),Object(it.useEffect)((function(){return i.mount(t)}),[])}(Object(r.d)(e,["visualElement"]),t)})),zo={key:"drag",shouldRender:function(e){return!!e.drag||!!e.dragControls},getComponent:function(){return qo}},Vo=eo((function(e){var t=e.custom,n=e.visualElement,o=Object(r.c)(Oo(),2),i=o[0],a=o[1],u=Object(it.useContext)(Xn);Object(it.useEffect)((function(){var e,r,o=null===(e=n.animationState)||void 0===e?void 0:e.setActive(Ur.Exit,!i,{custom:null!==(r=null===u||void 0===u?void 0:u.custom)&&void 0!==r?r:t});!i&&(null===o||void 0===o||o.then(a))}),[i])})),Ho={key:"exit",shouldRender:function(e){return!!e.exit&&!Co(e)},getComponent:function(){return Vo}};var Wo=eo((function(e){var t=e.visualElement,n=e.animate;t.animationState||(t.animationState=Wr(t));var r=Kn();Object(it.useEffect)((function(){t.animationState.setProps(e,t.inheritsVariants?r:void 0)})),n instanceof qr&&function(e,t){var n=Object(it.useMemo)((function(){return t.subscribe(e)}),[t]);er((function(){return null===n||void 0===n?void 0:n()}))}(t,n)})),Go={key:"animation",shouldRender:function(){return!0},getComponent:function(e){var t=e.animate,n=e.whileHover,r=e.whileFocus,o=e.whileTap,i=e.whileDrag,a=e.exit,u=e.variants;return t||n||r||o||i||a||u?Wo:void 0}};var Yo=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.frameTarget={x:{min:0,max:0},y:{min:0,max:0}},t.stopAxisAnimation={x:void 0,y:void 0},t.animate=function(e,n,o){void 0===o&&(o={});var i=o.originBox,a=o.targetBox,u=o.visibilityAction,s=o.shouldStackAnimate,c=Object(r.d)(o,["originBox","targetBox","visibilityAction","shouldStackAnimate"]),l=t.props,f=l.visualElement,p=l.layout;if(!1===s)return t.safeToRemove();var d=$o(n=i||n,e=a||e),h=un((function(r){if("position"===p){var o=e[r].max-e[r].min;n[r].max=n[r].min+o}if(!f.isTargetBoxLocked)return void 0===u?d?t.animateAxis(r,e[r],n[r],c):f.setAxisTarget(r,e[r].min,e[r].max):void(u===fo.Hide?f.hide():f.show())}));return f.render(),Promise.all(h).then((function(){var e,n;null===(n=(e=t.props).onLayoutAnimationComplete)||void 0===n||n.call(e),f.isPresent?f.presence=lo.Present:t.safeToRemove()}))},t}return Object(r.b)(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props.visualElement;t.animateMotionValue=Lr,t.enableLayoutProjection(),this.unsubLayoutReady=t.onLayoutUpdate(this.animate),t.updateConfig(Object(r.a)(Object(r.a)({},t.config),{safeToRemove:function(){return e.safeToRemove()}}))},t.prototype.componentWillUnmount=function(){var e=this;this.unsubLayoutReady(),un((function(t){var n,r;return null===(r=(n=e.stopAxisAnimation)[t])||void 0===r?void 0:r.call(n)}))},t.prototype.animateAxis=function(e,t,n,r){var o,i,a=void 0===r?{}:r,u=a.transition,s=a.crossfadeOpacity;null===(i=(o=this.stopAxisAnimation)[e])||void 0===i||i.call(o);var c,l=this.props.visualElement,f=this.frameTarget[e],p=l.getAxisProgress()[e];p.clearListeners(),p.set(0),p.set(0),s&&(c=this.createCrossfadeAnimation(s),l.show());var d=function(){var r=p.get()/1e3;!function(e,t,n,r){e.min=ae(t.min,n.min,r),e.max=ae(t.max,n.max,r)}(f,n,t,r),l.setAxisTarget(e,f.min,f.max),null===c||void 0===c||c(r)};d(),l.updateLayoutDelta();var h=p.onChange(d),v=Lr("x"===e?"layoutX":"layoutY",p,1e3,u||this.props.transition||Zo).then(h);return this.stopAxisAnimation[e]=function(){p.stop(),h()},v},t.prototype.createCrossfadeAnimation=function(e){var t=this.props.visualElement.getValue("opacity",0);return function(n){t.set(ti(ae(0,1,n))),e.set(ni(ae(1,0,n)))}},t.prototype.safeToRemove=function(){var e,t;null===(t=(e=this.props).safeToRemove)||void 0===t||t.call(e)},t.prototype.render=function(){return null},t}(it.Component);function Xo(e){var t=Object(r.c)(Oo(),2)[1];return Object(it.createElement)(Yo,Object(r.a)({},e,{safeToRemove:t}))}function $o(e,t){return!Qo(e)&&!Qo(t)&&(!Jo(e.x,t.x)||!Jo(e.y,t.y))}var Ko={min:0,max:0};function Qo(e){return Jo(e.x,Ko)&&Jo(e.y,Ko)}function Jo(e,t){return e.min===t.min&&e.max===t.max}var Zo={duration:.45,ease:[.4,0,.1,1]};function ei(e,t,n){return function(r){return rt?1:n(ie(e,t,r))}}var ti=ei(0,.5,Me),ni=ei(.5,.95,Te),ri={key:"animate-layout",shouldRender:function(e){return!!e.layout||!!e.layoutId},getComponent:function(){return Xo}},oi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.b)(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.syncLayout,n=e.framerSyncLayout,r=e.visualElement;go(t)&&t.register(r),go(n)&&n.register(r)},t.prototype.getSnapshotBeforeUpdate=function(){var e=this.props,t=e.syncLayout,n=e.visualElement;return go(t)?t.syncUpdate():(n.snapshotBoundingBox(),t.add(n)),null},t.prototype.componentDidUpdate=function(){var e=this.props,t=e.syncLayout,n=e.visualElement;go(t)||t.flush(),n.rebaseTargetBox()},t.prototype.render=function(){return null},t}(at.a.Component);function ii(e){var t=Object(it.useContext)(bo),n=Object(it.useContext)(wo);return at.a.createElement(oi,Object(r.a)({},e,{syncLayout:t,framerSyncLayout:n}))}var ai={key:"measure-layout",shouldRender:function(e){return!!e.drag||!!e.layout||!!e.layoutId},getComponent:function(){return ii}},ui=[ai,Go,zo,ro,Ho,ri],si={useVisualElement:function(e,t,n,o){var i=Qn(),a=Rn((function(){return new(Yn(e)?Wn:Dn)(i,o)}));n&&(a.values.clear(),a.latest={}),a.updateConfig(Object(r.a)(Object(r.a)(Object(r.a)({},a.config),{enableHardwareAcceleration:!n}),t));var u=Object(it.useContext)(Jn);a.layoutId=u&&t.layoutId?u+"-"+t.layoutId:t.layoutId;var s=Object(it.useContext)(Xn),c=null===s||s.isPresent;a.isPresent=void 0!==t.isPresent?t.isPresent:c;var l=null===s||void 0===s?void 0:s.id;return a.isPresenceRoot=!i||i.presenceId!==l,Object(it.useEffect)((function(){if(t.onViewportBoxUpdate)return a.onViewportBoxUpdate(t.onViewportBoxUpdate)}),[t.onViewportBoxUpdate]),a},useRender:function(e,t,n){var o="string"===typeof e?function(e){var t={};for(var n in e)ao(n)&&(t[n]=e[n]);return t}(t):t;n.clean(),n.build();var i=Yn(e)?function(e){return Object(r.a)(Object(r.a)({},e.attrs),{style:Object(r.a)({},e.reactStyle)})}(n):function(e,t){var n=t.drag,o={},i=Object(r.a)(Object(r.a)(Object(r.a)({},e.reactStyle),e.style),e.vars);return n&&(o.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===n?"none":"pan-"+("x"===n?"y":"x")),o.style=i,o}(n,t);return Object(it.createElement)(e,Object(r.a)(Object(r.a)(Object(r.a)({},o),{ref:n.ref}),i))}};function ci(e){var t=Object(r.a)(Object(r.a)({},si),{defaultFeatures:e});var n=new Map;return new Proxy({custom:function(e){return Do(e,t)}},{get:function(e,r){return"custom"===r?e.custom:(n.has(r)||n.set(r,Do(r,t)),n.get(r))}})}var li=ci(ui);var fi=0;function pi(){var e=fi;return fi++,e}var di=function(e){var t=e.children,n=e.initial,r=e.isPresent,o=e.onExitComplete,i=e.custom,a=e.presenceAffectsLayout,u=Rn(hi),s=Rn(pi),c=Object(it.useMemo)((function(){return{id:s,initial:n,isPresent:r,custom:i,onExitComplete:function(e){u.set(e,!0);var t=!0;u.forEach((function(e){e||(t=!1)})),t&&(null===o||void 0===o||o())},register:function(e){return u.set(e,!1),function(){return u.delete(e)}}}}),a?void 0:[r]);return Object(it.useMemo)((function(){u.forEach((function(e,t){return u.set(t,!1)}))}),[r]),Object(it.createElement)(Xn.Provider,{value:c},t)};function hi(){return new Map}function vi(e){return e.key||""}var mi=function(e){var t=e.children,n=e.custom,o=e.initial,i=void 0===o||o,a=e.onExitComplete,u=e.exitBeforeEnter,s=e.presenceAffectsLayout,c=void 0===s||s,l=function(){var e=Object(it.useRef)(!1),t=Object(r.c)(Object(it.useState)(0),2),n=t[0],o=t[1];return er((function(){return e.current=!0})),Object(it.useCallback)((function(){!e.current&&o(n+1)}),[n])}(),f=Object(it.useContext)(bo);go(f)&&(l=f.forceUpdate);var p=Object(it.useRef)(!0),d=function(e){var t=[];return it.Children.forEach(e,(function(e){Object(it.isValidElement)(e)&&t.push(e)})),t}(t),h=Object(it.useRef)(d),v=Object(it.useRef)(new Map).current,m=Object(it.useRef)(new Set).current;if(function(e,t){e.forEach((function(e){var n=vi(e);t.set(n,e)}))}(d,v),p.current)return p.current=!1,Object(it.createElement)(it.Fragment,null,d.map((function(e){return Object(it.createElement)(di,{key:vi(e),isPresent:!0,initial:!!i&&void 0,presenceAffectsLayout:c},e)})));for(var y=Object(r.e)(d),g=h.current.map(vi),b=d.map(vi),w=g.length,x=0;x=0;f--){var p=e[f];if(f===c-1&&(l=p.isPresent),l)a=p;else{var d=e[f-1];d&&d.isPresent&&(a=p)}if(a){u=f;break}}if(a||(a=e[0]),s=e[u-1],a)for(f=u-1;f>=0;f--){if((p=e[f]).isPresent){s=p;break}}return a!==o&&!l&&s===i&&e.find((function(e){return e===o}))&&(a=o),[a,s]}(this.order,[this.lead,this.follow]),2),t=e[0],n=e[1];this.lead=t,this.follow=n},e.prototype.updateSnapshot=function(){if(this.lead){var e={boundingBox:this.lead.prevViewportBox,latestMotionValues:{}};this.lead.forEachValue((function(t,n){var r=t.get();Pt(r)||(e.latestMotionValues[n]=r)}));var t=Bo.get(this.lead);t&&t.isDragging&&(e.isDragging=!0,e.cursorProgress=t.cursorProgress),this.snapshot=e}},e.prototype.isLeadPresent=function(){var e;return this.lead&&(null===(e=this.lead)||void 0===e?void 0:e.presence)!==lo.Exiting},e.prototype.getFollowOrigin=function(){var e;return this.follow?this.follow.prevViewportBox:null===(e=this.snapshot)||void 0===e?void 0:e.boundingBox},e.prototype.getFollowTarget=function(){var e;return null===(e=this.follow)||void 0===e?void 0:e.box},e.prototype.getLeadOrigin=function(){var e;return null===(e=this.lead)||void 0===e?void 0:e.prevViewportBox},e.prototype.getLeadTarget=function(){var e;return null===(e=this.lead)||void 0===e?void 0:e.box},e.prototype.getLeadTransition=function(){var e;return null===(e=this.lead)||void 0===e?void 0:e.config.transition},e}();var wi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.children=new Set,t.stacks=new Map,t.hasMounted=!1,t.updateScheduled=!1,t.renderScheduled=!1,t.syncContext=Object(r.a)(Object(r.a)({},yo()),{syncUpdate:function(e){return t.scheduleUpdate(e)},forceUpdate:function(){t.syncContext=Object(r.a)({},t.syncContext),t.scheduleUpdate(!0)},register:function(e){return t.addChild(e)},remove:function(e){return t.removeChild(e)}}),t}return Object(r.b)(t,e),t.prototype.componentDidMount=function(){this.hasMounted=!0,this.updateStacks()},t.prototype.componentDidUpdate=function(){this.startLayoutAnimation()},t.prototype.shouldComponentUpdate=function(){return this.renderScheduled=!0,!0},t.prototype.startLayoutAnimation=function(){var e=this;this.renderScheduled=this.updateScheduled=!1;var t=this.props.type;this.children.forEach((function(e){e.isPresent?e.presence!==lo.Entering&&(e.presence=e.presence===lo.Exiting?lo.Entering:lo.Present):e.presence=lo.Exiting})),this.updateStacks();var n="crossfade"===t?gi:yi,r={measureLayout:function(e){return e.measureLayout()},layoutReady:function(t){var r=t.layoutId;t.layoutReady(n(t,e.getStack(r)))},parent:this.context.visualElement};this.children.forEach((function(t){return e.syncContext.add(t)})),this.syncContext.flush(r),this.stacks.forEach((function(e){return e.snapshot=void 0}))},t.prototype.updateStacks=function(){this.stacks.forEach((function(e){return e.updateLeadAndFollow()}))},t.prototype.scheduleUpdate=function(e){void 0===e&&(e=!1),!e&&this.updateScheduled||(this.updateScheduled=!0,this.children.forEach((function(e){return function(e){for(var t=!1,n={},r=0;r1?"s":"")+" required, but only "+t.length+" present")}n.d(t,"a",(function(){return r}))},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t"}return e.event_id||""}function p(e){var t=s();if(!("console"in t))return e();var n=t.console,r={};["debug","info","warn","error","log","assert"].forEach((function(e){e in t.console&&n[e].__sentry_original__&&(r[e]=n[e],n[e]=n[e].__sentry_original__)}));var o=e();return Object.keys(r).forEach((function(e){n[e]=r[e]})),o}function d(e,t,n){e.exception=e.exception||{},e.exception.values=e.exception.values||[],e.exception.values[0]=e.exception.values[0]||{},e.exception.values[0].value=e.exception.values[0].value||t||"",e.exception.values[0].type=e.exception.values[0].type||n||"Error"}function h(e,t){void 0===t&&(t={});try{e.exception.values[0].mechanism=e.exception.values[0].mechanism||{},Object.keys(t).forEach((function(n){e.exception.values[0].mechanism[n]=t[n]}))}catch(n){}}function v(){try{return document.location.href}catch(e){return""}}function m(e){try{for(var t=e,n=[],r=0,o=0,i=" > ".length,a=void 0;t&&r++<5&&!("html"===(a=y(t))||r>1&&o+n.length*i+a.length>=80);)n.push(a),o+=a.length,t=t.parentNode;return n.reverse().join(" > ")}catch(u){return""}}function y(e){var t,n,r,o,a,u=e,s=[];if(!u||!u.tagName)return"";if(s.push(u.tagName.toLowerCase()),u.id&&s.push("#"+u.id),(t=u.className)&&Object(i.k)(t))for(n=t.split(/\s+/),a=0;a"}catch(t){return""}}}).call(this,n(171),n(53),n(197)(e))},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",(function(){return r}))},,,,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){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(105);var o=n(134);function i(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Object(o.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,t,n){var r=n(225);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},function(e,t,n){var r=n(389),o=n(413)((function(e,t,n){r(e,t,n)}));e.exports=o},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return u}));var r=n(2),o=n(563);function i(e){for(var t=[],n=1;n=0;p--){var d=a[p];"."===d?i(a,p):".."===d?(i(a,p),f++):f&&(i(a,p),f--)}if(!c)for(;f--;f)a.unshift("..");!c||""===a[0]||a[0]&&o(a[0])||a.unshift("");var h=a.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};function u(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var s=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])}));if("object"===typeof t||"object"===typeof n){var r=u(t),o=u(n);return r!==t||o!==n?e(r,o):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},c=n(42);function l(e){return"/"===e.charAt(0)?e:"/"+e}function f(e){return"/"===e.charAt(0)?e.substr(1):e}function p(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function h(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function v(e,t,n,o){var i;"string"===typeof e?(i=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(i=Object(r.a)({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(u){throw u instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):u}return n&&(i.key=n),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=a(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}function m(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&s(e.state,t.state)}function y(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"===typeof e?e(t,n):e;"string"===typeof i?"function"===typeof r?r(i,o):o(!0):o(!1!==i)}else o(!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;rt?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=v(e,t,p(),w.location);l.confirmTransitionTo(r,"REPLACE",n,(function(e){e&&(w.entries[w.index]=r,f({action:"REPLACE",location:r}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=w.index+e;return t>=0&&t"}try{u.currentTarget=Object(r.c)(a.currentTarget)?Object(i.h)(a.currentTarget):Object.prototype.toString.call(a.currentTarget)}catch(s){u.currentTarget=""}for(var o in"undefined"!==typeof CustomEvent&&Object(r.g)(e,CustomEvent)&&(u.detail=a.detail),a)Object.prototype.hasOwnProperty.call(a,o)&&(u[o]=a);return u}return e}function l(e){return function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(e))}function f(e,t,n){void 0===t&&(t=3),void 0===n&&(n=102400);var r=h(e,t);return l(r)>n?f(e,t-1,n):r}function p(t,n){return"domain"===n&&t&&"object"===typeof t&&t._events?"[Domain]":"domainEmitter"===n?"[DomainEmitter]":"undefined"!==typeof e&&t===e?"[Global]":"undefined"!==typeof window&&t===window?"[Window]":"undefined"!==typeof document&&t===document?"[Document]":Object(r.l)(t)?"[SyntheticEvent]":"number"===typeof t&&t!==t?"[NaN]":void 0===t?"[undefined]":"function"===typeof t?"[Function: "+Object(i.e)(t)+"]":t}function d(e,t,n,i){if(void 0===n&&(n=1/0),void 0===i&&(i=new o.a),0===n)return function(e){var t=Object.prototype.toString.call(e);if("string"===typeof e)return e;if("[object Object]"===t)return"[Object]";if("[object Array]"===t)return"[Array]";var n=p(e);return Object(r.i)(n)?n:t}(t);if(null!==t&&void 0!==t&&"function"===typeof t.toJSON)return t.toJSON();var a=p(t,e);if(Object(r.i)(a))return a;var u=c(t),s=Array.isArray(t)?[]:{};if(i.memoize(t))return"[Circular ~]";for(var l in u)Object.prototype.hasOwnProperty.call(u,l)&&(s[l]=d(l,u[l],n-1,i));return i.unmemoize(t),s}function h(e,t){try{return JSON.parse(JSON.stringify(e,(function(e,n){return d(e,n,t)})))}catch(n){return"**non-serializable**"}}function v(e,t){void 0===t&&(t=40);var n=Object.keys(c(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return Object(a.d)(n[0],t);for(var r=n.length;r>0;r--){var o=n.slice(0,r).join(", ");if(!(o.length>t))return r===n.length?o:Object(a.d)(o,t)}return""}}).call(this,n(53))},function(e,t,n){var r=n(199),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t,n){"use strict";var r=n(0),o=n.n(r),i=n(1),a=n.n(i),u="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),s=new Uint8Array(16);function c(){if(!u)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return u(s)}for(var l=[],f=0;f<256;++f)l[f]=(f+256).toString(16).substr(1);var p=function(e,t){var n=t||0,r=l;return[r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]]].join("")};var d=function(e,t,n){var r=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var o=(e=e||{}).random||(e.rng||c)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var i=0;i<16;++i)t[r+i]=o[i];return t||p(o)};function h(e,t){for(var n=0;nw},C=function(e){return function(e){var t=m[e].b;return v+t+b}(e)>x},A=function(e){return function(e){return _(e)<0}(e)||T(e)||function(e){return S(e)<0}(e)||C(e)},j=function(e){return!A(e)},P=["top","bottom","left","right"],I=[],B=0;B<4;B++){var F=P[B];j(F)&&I.push(F)}var U,q=!1,z=o!==r;return j(o)&&z?(q=!0,U=o):I.length>0&&A(o)&&A(r)&&(q=!0,U=I[0]),q?{isNewState:!0,newState:{place:U}}:{isNewState:!1,position:{left:parseInt(_(r)-k,10),top:parseInt(S(r)-E,10)}}}var M=function(e){var t=e.getBoundingClientRect(),n=t.height,r=t.width;return{height:parseInt(n,10),width:parseInt(r,10)}},D=function(e,t,n){var r=t.getBoundingClientRect(),o=r.top,i=r.left,a=M(t),u=a.width,s=a.height;return"float"===n?{mouseX:e.clientX,mouseY:e.clientY}:{mouseX:i+u/2,mouseY:o+s/2}},N=function(e,t,n,r,o){var i,a,u,s;return"float"===e?(i={l:-r/2,r:r/2,t:-(o+3+2),b:-3},u={l:-r/2,r:r/2,t:15,b:o+3+2+12},s={l:-(r+3+2),r:-3,t:-o/2,b:o/2},a={l:3,r:r+3+2,t:-o/2,b:o/2}):"solid"===e&&(i={l:-r/2,r:r/2,t:-(n/2+o+2),b:-n/2},u={l:-r/2,r:r/2,t:n/2,b:n/2+o+2},s={l:-(r+t/2+2),r:-t/2,t:-o/2,b:o/2},a={l:t/2,r:r+t/2+2,t:-o/2,b:o/2}),{top:i,bottom:u,left:s,right:a}},R=function(e){var t=0,n=0;for(var r in"[object String]"===Object.prototype.toString.apply(e)&&(e=JSON.parse(e.toString().replace(/'/g,'"'))),e)"top"===r?n-=parseInt(e[r],10):"bottom"===r?n+=parseInt(e[r],10):"left"===r?t-=parseInt(e[r],10):"right"===r&&(t+=parseInt(e[r],10));return{extraOffsetX:t,extraOffsetY:n}},L=function(e){for(var t=e;t;){var n=window.getComputedStyle(t);if("none"!==n.getPropertyValue("transform")||"transform"===n.getPropertyValue("will-change"))break;t=t.parentElement}return{parentTop:t&&t.getBoundingClientRect().top||0,parentLeft:t&&t.getBoundingClientRect().left||0}};function I(e,t,n,r){if(t)return t;if(void 0!==n&&null!==n)return n;if(null===n)return null;var i=//;return r&&"false"!==r&&i.test(e)?e.split(i).map((function(e,t){return o.a.createElement("span",{key:t,className:"multi-line"},e)})):e}function B(e){var t={};return Object.keys(e).filter((function(e){return/(^aria-\w+$|^role$)/.test(e)})).forEach((function(n){t[n]=e[n]})),t}function F(e){var t=e.length;return e.hasOwnProperty?Array.prototype.slice.call(e):new Array(t).fill().map((function(t){return e[t]}))}var U,q,z,V={dark:{text:"#fff",background:"#222",border:"transparent",arrow:"#222"},success:{text:"#fff",background:"#8DC572",border:"transparent",arrow:"#8DC572"},warning:{text:"#fff",background:"#F0AD4E",border:"transparent",arrow:"#F0AD4E"},error:{text:"#fff",background:"#BE6464",border:"transparent",arrow:"#BE6464"},info:{text:"#fff",background:"#337AB7",border:"transparent",arrow:"#337AB7"},light:{text:"#222",background:"#fff",border:"transparent",arrow:"#fff"}};function H(e,t,n,r){return function(e,t){var n=t.text,r=t.background,o=t.border,i=t.arrow;return"\n \t.".concat(e," {\n\t color: ").concat(n,";\n\t background: ").concat(r,";\n\t border: 1px solid ").concat(o,";\n \t}\n\n \t.").concat(e,".place-top {\n margin-top: -10px;\n }\n .").concat(e,".place-top::before {\n border-top: 8px solid ").concat(o,";\n }\n .").concat(e,".place-top::after {\n border-left: 8px solid transparent;\n border-right: 8px solid transparent;\n bottom: -6px;\n left: 50%;\n margin-left: -8px;\n border-top-color: ").concat(i,";\n border-top-style: solid;\n border-top-width: 6px;\n }\n\n .").concat(e,".place-bottom {\n margin-top: 10px;\n }\n .").concat(e,".place-bottom::before {\n border-bottom: 8px solid ").concat(o,";\n }\n .").concat(e,".place-bottom::after {\n border-left: 8px solid transparent;\n border-right: 8px solid transparent;\n top: -6px;\n left: 50%;\n margin-left: -8px;\n border-bottom-color: ").concat(i,";\n border-bottom-style: solid;\n border-bottom-width: 6px;\n }\n\n .").concat(e,".place-left {\n margin-left: -10px;\n }\n .").concat(e,".place-left::before {\n border-left: 8px solid ").concat(o,";\n }\n .").concat(e,".place-left::after {\n border-top: 5px solid transparent;\n border-bottom: 5px solid transparent;\n right: -6px;\n top: 50%;\n margin-top: -4px;\n border-left-color: ").concat(i,";\n border-left-style: solid;\n border-left-width: 6px;\n }\n\n .").concat(e,".place-right {\n margin-left: 10px;\n }\n .").concat(e,".place-right::before {\n border-right: 8px solid ").concat(o,";\n }\n .").concat(e,".place-right::after {\n border-top: 5px solid transparent;\n border-bottom: 5px solid transparent;\n left: -6px;\n top: 50%;\n margin-top: -4px;\n border-right-color: ").concat(i,";\n border-right-style: solid;\n border-right-width: 6px;\n }\n ")}(e,function(e,t,n){var r=e.text,o=e.background,i=e.border,a=e.arrow?e.arrow:e.background,u=function(e){return V[e]?b({},V[e]):void 0}(t);r&&(u.text=r);o&&(u.background=o);n&&(u.border=i||("light"===t?"black":"white"));a&&(u.arrow=a);return u}(t,n,r))}var W,G=function(e){e.hide=function(e){k(E.HIDE,{target:e})},e.rebuild=function(){k(E.REBUILD)},e.show=function(e){k(E.SHOW,{target:e})},e.prototype.globalRebuild=function(){this.mount&&(this.unbindListener(),this.bindListener())},e.prototype.globalShow=function(e){if(this.mount){var t=!!(e&&e.detail&&e.detail.target);this.showTooltip({currentTarget:t&&e.detail.target},!0)}},e.prototype.globalHide=function(e){if(this.mount){var t=!!(e&&e.detail&&e.detail.target);this.hideTooltip({currentTarget:t&&e.detail.target},t)}}}(U=function(e){e.prototype.bindWindowEvents=function(e){window.removeEventListener(E.HIDE,this.globalHide),window.addEventListener(E.HIDE,this.globalHide,!1),window.removeEventListener(E.REBUILD,this.globalRebuild),window.addEventListener(E.REBUILD,this.globalRebuild,!1),window.removeEventListener(E.SHOW,this.globalShow),window.addEventListener(E.SHOW,this.globalShow,!1),e&&(window.removeEventListener("resize",this.onWindowResize),window.addEventListener("resize",this.onWindowResize,!1))},e.prototype.unbindWindowEvents=function(){window.removeEventListener(E.HIDE,this.globalHide),window.removeEventListener(E.REBUILD,this.globalRebuild),window.removeEventListener(E.SHOW,this.globalShow),window.removeEventListener("resize",this.onWindowResize)},e.prototype.onWindowResize=function(){this.mount&&this.hideTooltip()}}(U=function(e){e.prototype.isCustomEvent=function(e){return this.state.event||!!e.getAttribute("data-event")},e.prototype.customBindListener=function(e){var t=this,n=this.state,r=n.event,o=n.eventOff,i=e.getAttribute("data-event")||r,a=e.getAttribute("data-event-off")||o;i.split(" ").forEach((function(n){e.removeEventListener(n,T.get(e,n));var r=_.bind(t,a);T.set(e,n,r),e.addEventListener(n,r,!1)})),a&&a.split(" ").forEach((function(n){e.removeEventListener(n,t.hideTooltip),e.addEventListener(n,t.hideTooltip,!1)}))},e.prototype.customUnbindListener=function(e){var t=this.state,n=t.event,r=t.eventOff,o=n||e.getAttribute("data-event"),i=r||e.getAttribute("data-event-off");e.removeEventListener(o,T.get(e,n)),i&&e.removeEventListener(i,this.hideTooltip)}}(U=function(e){e.prototype.isCapture=function(e){return e&&"true"===e.getAttribute("data-iscapture")||this.props.isCapture||!1}}(U=function(e){e.prototype.getEffect=function(e){return e.getAttribute("data-effect")||this.props.effect||"float"}}(U=function(e){e.prototype.isBodyMode=function(){return!!this.props.bodyMode},e.prototype.bindBodyListener=function(e){var t=this,n=this.state,r=n.event,o=n.eventOff,i=n.possibleCustomEvents,a=n.possibleCustomEventsOff,u=j(),s=A(e,"data-event"),c=A(e,"data-event-off");null!=r&&(s[r]=!0),null!=o&&(c[o]=!0),i.split(" ").forEach((function(e){return s[e]=!0})),a.split(" ").forEach((function(e){return c[e]=!0})),this.unbindBodyListener(u);var l=this.bodyModeListeners={};for(var f in null==r&&(l.mouseover=C.bind(this,this.showTooltip,{}),l.mousemove=C.bind(this,this.updateTooltip,{respectEffect:!0}),l.mouseout=C.bind(this,this.hideTooltip,{})),s)l[f]=C.bind(this,(function(e){var n=e.currentTarget.getAttribute("data-event-off")||o;_.call(t,n,e)}),{customEvent:!0});for(var p in c)l[p]=C.bind(this,this.hideTooltip,{customEvent:!0});for(var d in l)u.addEventListener(d,l[d])},e.prototype.unbindBodyListener=function(e){e=e||j();var t=this.bodyModeListeners;for(var n in t)e.removeEventListener(n,t[n])}}((z=q=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=O(this,w(t).call(this,e))).state={uuid:e.uuid||"t"+d(),place:e.place||"top",desiredPlace:e.place||"top",type:"dark",effect:"float",show:!1,border:!1,customColors:{},offset:{},extraClass:"",html:!1,delayHide:0,delayShow:0,event:e.event||null,eventOff:e.eventOff||null,currentEvent:null,currentTarget:null,ariaProps:B(e),isEmptyTip:!1,disable:!1,possibleCustomEvents:e.possibleCustomEvents||"",possibleCustomEventsOff:e.possibleCustomEventsOff||"",originTooltip:null,isMultiline:!1},n.bind(["showTooltip","updateTooltip","hideTooltip","hideTooltipOnScroll","getTooltipContent","globalRebuild","globalShow","globalHide","onWindowResize","mouseOnToolTip"]),n.mount=!0,n.delayShowLoop=null,n.delayHideLoop=null,n.delayReshow=null,n.intervalUpdateContent=null,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&&x(e,t)}(t,e),v(t,null,[{key:"propTypes",get:function(){return{uuid:a.a.string,children:a.a.any,place:a.a.string,type:a.a.string,effect:a.a.string,offset:a.a.object,multiline:a.a.bool,border:a.a.bool,textColor:a.a.string,backgroundColor:a.a.string,borderColor:a.a.string,arrowColor:a.a.string,insecure:a.a.bool,class:a.a.string,className:a.a.string,id:a.a.string,html:a.a.bool,delayHide:a.a.number,delayUpdate:a.a.number,delayShow:a.a.number,event:a.a.string,eventOff:a.a.string,isCapture:a.a.bool,globalEventOff:a.a.string,getContent:a.a.any,afterShow:a.a.func,afterHide:a.a.func,overridePosition:a.a.func,disable:a.a.bool,scrollHide:a.a.bool,resizeHide:a.a.bool,wrapper:a.a.string,bodyMode:a.a.bool,possibleCustomEvents:a.a.string,possibleCustomEventsOff:a.a.string,clickable:a.a.bool}}}]),v(t,[{key:"bind",value:function(e){var t=this;e.forEach((function(e){t[e]=t[e].bind(t)}))}},{key:"componentDidMount",value:function(){var e=this.props,t=(e.insecure,e.resizeHide);this.bindListener(),this.bindWindowEvents(t),this.injectStyles()}},{key:"componentWillUnmount",value:function(){this.mount=!1,this.clearTimer(),this.unbindListener(),this.removeScrollListener(this.state.currentTarget),this.unbindWindowEvents()}},{key:"injectStyles",value:function(){var e=this.props.id,t=this.getTargetArray(e),n=[];if(t.forEach((function(e){for(var t=e.parentNode;t.parentNode&&!t.host;)t=t.parentNode;var r=t.querySelector("head");n.push(r||t)})),n.length){var r=document.createElement("style");r.textContent='.__react_component_tooltip {\n border-radius: 3px;\n display: inline-block;\n font-size: 13px;\n left: -999em;\n opacity: 0;\n padding: 8px 21px;\n position: fixed;\n pointer-events: none;\n transition: opacity 0.3s ease-out;\n top: -999em;\n visibility: hidden;\n z-index: 999;\n}\n.__react_component_tooltip.allow_hover, .__react_component_tooltip.allow_click {\n pointer-events: auto;\n}\n.__react_component_tooltip::before, .__react_component_tooltip::after {\n content: "";\n width: 0;\n height: 0;\n position: absolute;\n}\n.__react_component_tooltip.show {\n opacity: 0.9;\n margin-top: 0;\n margin-left: 0;\n visibility: visible;\n}\n.__react_component_tooltip.place-top::before {\n border-left: 10px solid transparent;\n border-right: 10px solid transparent;\n bottom: -8px;\n left: 50%;\n margin-left: -10px;\n}\n.__react_component_tooltip.place-bottom::before {\n border-left: 10px solid transparent;\n border-right: 10px solid transparent;\n top: -8px;\n left: 50%;\n margin-left: -10px;\n}\n.__react_component_tooltip.place-left::before {\n border-top: 6px solid transparent;\n border-bottom: 6px solid transparent;\n right: -8px;\n top: 50%;\n margin-top: -5px;\n}\n.__react_component_tooltip.place-right::before {\n border-top: 6px solid transparent;\n border-bottom: 6px solid transparent;\n left: -8px;\n top: 50%;\n margin-top: -5px;\n}\n.__react_component_tooltip .multi-line {\n display: block;\n padding: 2px 0;\n text-align: center;\n}',r.setAttribute("data-react-tooltip","true"),n.filter((function(e,t,n){return n.indexOf(e)===t})).forEach((function(e){e.querySelector("style[data-react-tooltip]")||e.appendChild(r)}))}}},{key:"mouseOnToolTip",value:function(){return!(!this.state.show||!this.tooltipRef)&&(this.tooltipRef.matches||(this.tooltipRef.msMatchesSelector?this.tooltipRef.matches=this.tooltipRef.msMatchesSelector:this.tooltipRef.matches=this.tooltipRef.mozMatchesSelector),this.tooltipRef.matches(":hover"))}},{key:"getTargetArray",value:function(e){var t,n=[];if(e){var r=e.replace(/\\/g,"\\\\").replace(/"/g,'\\"');t='[data-tip][data-for="'.concat(r,'"]')}else t="[data-tip]:not([data-for])";return F(document.getElementsByTagName("*")).filter((function(e){return e.shadowRoot})).forEach((function(e){n=n.concat(F(e.shadowRoot.querySelectorAll(t)))})),n.concat(F(document.querySelectorAll(t)))}},{key:"bindListener",value:function(){var e=this,t=this.props,n=t.id,r=t.globalEventOff,o=t.isCapture,i=this.getTargetArray(n);i.forEach((function(t){null===t.getAttribute("currentItem")&&t.setAttribute("currentItem","false"),e.unbindBasicListener(t),e.isCustomEvent(t)&&e.customUnbindListener(t)})),this.isBodyMode()?this.bindBodyListener(i):i.forEach((function(t){var n=e.isCapture(t),r=e.getEffect(t);e.isCustomEvent(t)?e.customBindListener(t):(t.addEventListener("mouseenter",e.showTooltip,n),"float"===r&&t.addEventListener("mousemove",e.updateTooltip,n),t.addEventListener("mouseleave",e.hideTooltip,n))})),r&&(window.removeEventListener(r,this.hideTooltip),window.addEventListener(r,this.hideTooltip,o)),this.bindRemovalTracker()}},{key:"unbindListener",value:function(){var e=this,t=this.props,n=t.id,r=t.globalEventOff;this.isBodyMode()?this.unbindBodyListener():this.getTargetArray(n).forEach((function(t){e.unbindBasicListener(t),e.isCustomEvent(t)&&e.customUnbindListener(t)})),r&&window.removeEventListener(r,this.hideTooltip),this.unbindRemovalTracker()}},{key:"unbindBasicListener",value:function(e){var t=this.isCapture(e);e.removeEventListener("mouseenter",this.showTooltip,t),e.removeEventListener("mousemove",this.updateTooltip,t),e.removeEventListener("mouseleave",this.hideTooltip,t)}},{key:"getTooltipContent",value:function(){var e,t=this.props,n=t.getContent,r=t.children;return n&&(e=Array.isArray(n)?n[0]&&n[0](this.state.originTooltip):n(this.state.originTooltip)),I(this.state.originTooltip,r,e,this.state.isMultiline)}},{key:"isEmptyTip",value:function(e){return"string"===typeof e&&""===e||null===e}},{key:"showTooltip",value:function(e,t){if(this.tooltipRef){if(t&&!this.getTargetArray(this.props.id).some((function(t){return t===e.currentTarget})))return;var n=this.props,r=n.multiline,o=n.getContent,i=e.currentTarget.getAttribute("data-tip"),a=e.currentTarget.getAttribute("data-multiline")||r||!1,u=e instanceof window.FocusEvent||t,s=!0;e.currentTarget.getAttribute("data-scroll-hide")?s="true"===e.currentTarget.getAttribute("data-scroll-hide"):null!=this.props.scrollHide&&(s=this.props.scrollHide);var c=e.currentTarget.getAttribute("data-place")||this.props.place||"top",l=u?"solid":this.getEffect(e.currentTarget),f=e.currentTarget.getAttribute("data-offset")||this.props.offset||{},p=P(e,e.currentTarget,this.tooltipRef,c,c,l,f);p.position&&this.props.overridePosition&&(p.position=this.props.overridePosition(p.position,e,e.currentTarget,this.tooltipRef,c,c,l,f));var d=p.isNewState?p.newState.place:c;this.clearTimer();var h=e.currentTarget,v=this.state.show?h.getAttribute("data-delay-update")||this.props.delayUpdate:0,m=this,y=function(){m.setState({originTooltip:i,isMultiline:a,desiredPlace:c,place:d,type:h.getAttribute("data-type")||m.props.type||"dark",customColors:{text:h.getAttribute("data-text-color")||m.props.textColor||null,background:h.getAttribute("data-background-color")||m.props.backgroundColor||null,border:h.getAttribute("data-border-color")||m.props.borderColor||null,arrow:h.getAttribute("data-arrow-color")||m.props.arrowColor||null},effect:l,offset:f,html:(h.getAttribute("data-html")?"true"===h.getAttribute("data-html"):m.props.html)||!1,delayShow:h.getAttribute("data-delay-show")||m.props.delayShow||0,delayHide:h.getAttribute("data-delay-hide")||m.props.delayHide||0,delayUpdate:h.getAttribute("data-delay-update")||m.props.delayUpdate||0,border:(h.getAttribute("data-border")?"true"===h.getAttribute("data-border"):m.props.border)||!1,extraClass:h.getAttribute("data-class")||m.props.class||m.props.className||"",disable:(h.getAttribute("data-tip-disable")?"true"===h.getAttribute("data-tip-disable"):m.props.disable)||!1,currentTarget:h},(function(){s&&m.addScrollListener(m.state.currentTarget),m.updateTooltip(e),o&&Array.isArray(o)&&(m.intervalUpdateContent=setInterval((function(){if(m.mount){var e=m.props.getContent,t=I(i,"",e[0](),a),n=m.isEmptyTip(t);m.setState({isEmptyTip:n}),m.updatePosition()}}),o[1]))}))};v?this.delayReshow=setTimeout(y,v):y()}}},{key:"updateTooltip",value:function(e){var t=this,n=this.state,r=n.delayShow,o=n.disable,i=this.props.afterShow,a=this.getTooltipContent(),u=parseInt(r,10),s=e.currentTarget||e.target;if(!this.mouseOnToolTip()&&!this.isEmptyTip(a)&&!o){var c=function(){if(Array.isArray(a)&&a.length>0||a){var n=!t.state.show;t.setState({currentEvent:e,currentTarget:s,show:!0},(function(){t.updatePosition(),n&&i&&i(e)}))}};clearTimeout(this.delayShowLoop),r?this.delayShowLoop=setTimeout(c,u):c()}}},{key:"listenForTooltipExit",value:function(){this.state.show&&this.tooltipRef&&this.tooltipRef.addEventListener("mouseleave",this.hideTooltip)}},{key:"removeListenerForTooltipExit",value:function(){this.state.show&&this.tooltipRef&&this.tooltipRef.removeEventListener("mouseleave",this.hideTooltip)}},{key:"hideTooltip",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{isScroll:!1},o=this.state.disable,i=r.isScroll,a=i?0:this.state.delayHide,u=this.props.afterHide,s=this.getTooltipContent();if(this.mount&&!this.isEmptyTip(s)&&!o){if(t){var c=this.getTargetArray(this.props.id),l=c.some((function(t){return t===e.currentTarget}));if(!l||!this.state.show)return}var f=function(){var t=n.state.show;n.mouseOnToolTip()?n.listenForTooltipExit():(n.removeListenerForTooltipExit(),n.setState({show:!1},(function(){n.removeScrollListener(n.state.currentTarget),t&&u&&u(e)})))};this.clearTimer(),a?this.delayHideLoop=setTimeout(f,parseInt(a,10)):f()}}},{key:"hideTooltipOnScroll",value:function(e,t){this.hideTooltip(e,t,{isScroll:!0})}},{key:"addScrollListener",value:function(e){var t=this.isCapture(e);window.addEventListener("scroll",this.hideTooltipOnScroll,t)}},{key:"removeScrollListener",value:function(e){var t=this.isCapture(e);window.removeEventListener("scroll",this.hideTooltipOnScroll,t)}},{key:"updatePosition",value:function(){var e=this,t=this.state,n=t.currentEvent,r=t.currentTarget,o=t.place,i=t.desiredPlace,a=t.effect,u=t.offset,s=this.tooltipRef,c=P(n,r,s,o,i,a,u);if(c.position&&this.props.overridePosition&&(c.position=this.props.overridePosition(c.position,n,r,s,o,i,a,u)),c.isNewState)return this.setState(c.newState,(function(){e.updatePosition()}));s.style.left=c.position.left+"px",s.style.top=c.position.top+"px"}},{key:"clearTimer",value:function(){clearTimeout(this.delayShowLoop),clearTimeout(this.delayHideLoop),clearTimeout(this.delayReshow),clearInterval(this.intervalUpdateContent)}},{key:"hasCustomColors",value:function(){var e=this;return Boolean(Object.keys(this.state.customColors).find((function(t){return"border"!==t&&e.state.customColors[t]}))||this.state.border&&this.state.customColors.border)}},{key:"render",value:function(){var e=this,n=this.state,r=n.extraClass,i=n.html,a=n.ariaProps,u=n.disable,s=this.getTooltipContent(),c=this.isEmptyTip(s),l=H(this.state.uuid,this.state.customColors,this.state.type,this.state.border),f="__react_component_tooltip"+" ".concat(this.state.uuid)+(!this.state.show||u||c?"":" show")+(this.state.border?" border":"")+" place-".concat(this.state.place)+" type-".concat(this.hasCustomColors()?"custom":this.state.type)+(this.props.delayUpdate?" allow_hover":"")+(this.props.clickable?" allow_click":""),p=this.props.wrapper;t.supportedWrappers.indexOf(p)<0&&(p=t.defaultProps.wrapper);var d=[f,r].filter(Boolean).join(" ");if(i){var h="".concat(s,"\n");return o.a.createElement(p,y({className:"".concat(d),id:this.props.id,ref:function(t){return e.tooltipRef=t}},a,{"data-id":"tooltip",dangerouslySetInnerHTML:{__html:h}}))}return o.a.createElement(p,y({className:"".concat(d),id:this.props.id},a,{ref:function(t){return e.tooltipRef=t},"data-id":"tooltip"}),o.a.createElement("style",{dangerouslySetInnerHTML:{__html:l}}),s)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.ariaProps,r=B(e);return Object.keys(r).some((function(e){return r[e]!==n[e]}))?b({},t,{ariaProps:r}):null}}]),t}(o.a.Component),m(q,"defaultProps",{insecure:!0,resizeHide:!0,wrapper:"div",clickable:!1}),m(q,"supportedWrappers",["div","span"]),m(q,"displayName","ReactTooltip"),(W=U=z).prototype.bindRemovalTracker=function(){var e=this,t=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;if(null!=t){var n=new t((function(t){for(var n=0;n=t||n<0||m&&e-h>=l}function x(){var e=o();if(w(e))return O(e);p=setTimeout(x,function(e){var n=t-(e-d);return m?u(n,l-(e-h)):n}(e))}function O(e){return p=void 0,y&&s?g(e):(s=c=void 0,f)}function E(){var e=o(),n=w(e);if(s=arguments,c=this,d=e,n){if(void 0===p)return b(d);if(m)return clearTimeout(p),p=setTimeout(x,t),g(d)}return void 0===p&&(p=setTimeout(x,t)),f}return t=i(t)||0,r(n)&&(v=!!n.leading,l=(m="maxWait"in n)?a(i(n.maxWait)||0,t):l,y="trailing"in n?!!n.trailing:y),E.cancel=function(){void 0!==p&&clearTimeout(p),h=0,s=d=c=p=void 0},E.flush=function(){return void 0===p?f:O(o())},E}},function(e,t,n){(function(t){for(var r=n(523),o="undefined"===typeof window?t:window,i=["moz","webkit"],a="AnimationFrame",u=o["request"+a],s=o["cancel"+a]||o["cancelRequest"+a],c=0;!u&&c0?1:-1},S=function(e){return k()(e)&&e.indexOf("%")===e.length-1},T=function(e){return O()(e)&&!w()(e)},C=function(e){return T(e)||k()(e)},A=0,j=function(e){var t=++A;return"".concat(e||"").concat(t)},P=function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!T(e)&&!k()(e))return r;if(S(e)){var i=e.indexOf("%");n=t*parseFloat(e.slice(0,i))/100}else n=+e;return w()(n)&&(n=r),o&&n>t&&(n=t),n},M=function(e){if(!e)return null;var t=Object.keys(e);return t&&t.length?e[t[0]]:null},D=function(e,t){return T(e)&&T(t)?function(n){return e+n*(t-e)}:function(){return t}},N=function(e,t,n){return e&&e.length?e.find((function(e){return e&&("function"===typeof t?t(e):m()(e,t))===n})):null};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 L(e,t){for(var n=0;n0?a()(n.updateDimensionsImmediate,e.debounce):n.updateDimensionsImmediate,n}var n,r,o;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&&F(e,t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){this.mounted=!0;var e=this.getContainerSize();e&&this.setState(e)}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"getContainerSize",value:function(){return this.container?{containerWidth:this.container.clientWidth,containerHeight:this.container.clientHeight}:null}},{key:"renderChart",value:function(){var e=this.state,t=e.containerWidth,n=e.containerHeight;if(t<0||n<0)return null;var r=this.props,o=r.aspect,i=r.width,a=r.height,u=(r.minWidth,r.minHeight,r.maxHeight),c=r.children;S(i)||S(a);var l=S(i)?t:i,f=S(a)?n:a;return o&&o>0&&(l?f=l/o:f&&(l=f*o),u&&f>u&&(f=u)),s.a.cloneElement(c,{width:l,height:f})}},{key:"render",value:function(){var e=this,t=this.props,n=t.minWidth,r=t.minHeight,o=t.width,i=t.height,a=t.maxHeight,u=t.id,c=t.className,l={width:o,height:i,minWidth:n,minHeight:r,maxHeight:a};return s.a.createElement("div",{id:u,className:p()("recharts-responsive-container",c),style:l,ref:function(t){e.container=t}},this.renderChart(),s.a.createElement(h.a,{handleWidth:!0,handleHeight:!0,onResize:this.handleResize}))}}])&&L(n.prototype,r),o&&L(n,o),t}(u.Component);U.displayName="ResponsiveContainer",U.propTypes={aspect:l.a.number,width:l.a.oneOfType([l.a.string,l.a.number]),height:l.a.oneOfType([l.a.string,l.a.number]),minHeight:l.a.oneOfType([l.a.string,l.a.number]),minWidth:l.a.oneOfType([l.a.string,l.a.number]),maxHeight:l.a.oneOfType([l.a.string,l.a.number]),children:l.a.node.isRequired,debounce:l.a.number,id:l.a.oneOfType([l.a.string,l.a.number]),className:l.a.oneOfType([l.a.string,l.a.number])},U.defaultProps={width:"100%",height:"100%",debounce:0};var q=U,z=n(275),V=n.n(z),H=n(5),W=n.n(H);function G(){return(G=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var X={className:l.a.string,children:l.a.oneOfType([l.a.arrayOf(l.a.node),l.a.node])};function $(e){var t=e.children,n=e.className,r=Y(e,["children","className"]),o=p()("recharts-layer",n);return s.a.createElement("g",G({className:o},r),t)}$.propTypes=X;var K=$,Q=n(7),J=n.n(Q),Z=n(24),ee=n.n(Z);function te(e,t){for(var n in e)if({}.hasOwnProperty.call(e,n)&&(!{}.hasOwnProperty.call(t,n)||e[n]!==t[n]))return!1;for(var r in t)if({}.hasOwnProperty.call(t,r)&&!{}.hasOwnProperty.call(e,r))return!1;return!0}function ne(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var oe={"aria-current":l.a.string,"aria-details":l.a.any,"aria-disabled":l.a.any,"aria-hidden":l.a.any,"aria-invalid":l.a.any,"aria-keyshortcuts":l.a.any,"aria-label":l.a.any,"aria-roledescription":l.a.any,"aria-autocomplete":l.a.any,"aria-checked":l.a.any,"aria-expanded":l.a.any,"aria-haspopup":l.a.any,"aria-level":l.a.any,"aria-modal":l.a.any,"aria-multiline":l.a.any,"aria-multiselectable":l.a.any,"aria-orientation":l.a.any,"aria-placeholder":l.a.any,"aria-pressed":l.a.any,"aria-readonly":l.a.any,"aria-required":l.a.any,"aria-selected":l.a.any,"aria-sort":l.a.any,"aria-valuemax":l.a.any,"aria-valuemin":l.a.any,"aria-valuenow":l.a.any,"aria-valuetext":l.a.any,"aria-atomic":l.a.any,"aria-busy":l.a.any,"aria-live":l.a.any,"aria-relevant":l.a.any,"aria-dropeffect":l.a.any,"aria-grabbed":l.a.any,"aria-activedescendant":l.a.any,"aria-colcount":l.a.any,"aria-colindex":l.a.any,"aria-colspan":l.a.any,"aria-controls":l.a.any,"aria-describedby":l.a.any,"aria-errormessage":l.a.any,"aria-flowto":l.a.any,"aria-labelledby":l.a.any,"aria-owns":l.a.any,"aria-posinset":l.a.any,"aria-rowcount":l.a.any,"aria-rowindex":l.a.any,"aria-rowspan":l.a.any,"aria-setsize":l.a.any,alignmentBaseline:l.a.string,angle:l.a.number,baselineShift:l.a.string,clip:l.a.string,clipPath:l.a.string,clipRule:l.a.string,color:l.a.string,colorInterpolation:l.a.string,colorInterpolationFilters:l.a.string,colorProfile:l.a.string,colorRendering:l.a.string,cursor:l.a.string,direction:l.a.oneOf(["ltr","rtl","inherit"]),display:l.a.string,dominantBaseline:l.a.string,enableBackground:l.a.string,fill:l.a.string,fillOpacity:l.a.oneOfType([l.a.string,l.a.number]),fillRule:l.a.oneOf(["nonzero","evenodd","inherit"]),filter:l.a.string,floodColor:l.a.string,floodOpacity:l.a.oneOfType([l.a.string,l.a.number]),font:l.a.string,fontFamily:l.a.string,fontSize:l.a.oneOfType([l.a.number,l.a.string]),fontSizeAdjust:l.a.oneOfType([l.a.number,l.a.string]),fontStretch:l.a.oneOf(["normal","wider","narrower","ultra-condensed","extra-condensed","condensed","semi-condensed","semi-expanded","expanded","extra-expanded","ultra-expanded","inherit"]),fontStyle:l.a.oneOf(["normal","italic","oblique","inherit"]),fontVariant:l.a.oneOf(["normal","small-caps","inherit"]),fontWeight:l.a.oneOf(["normal","bold","bolder","lighter",100,200,300,400,500,600,700,800,900,"inherit"]),glyphOrientationHorizontal:l.a.string,glyphOrientationVertical:l.a.string,imageRendering:l.a.oneOf(["auto","optimizeSpeed","optimizeQuality","inherit"]),kerning:l.a.oneOfType([l.a.number,l.a.string]),letterSpacing:l.a.oneOfType([l.a.number,l.a.string]),lightingColor:l.a.string,lineHeight:l.a.oneOfType([l.a.number,l.a.string]),markerEnd:l.a.string,markerMid:l.a.string,markerStart:l.a.string,mask:l.a.string,opacity:l.a.oneOfType([l.a.number,l.a.string]),overflow:l.a.oneOf(["visible","hidden","scroll","auto","inherit"]),pointerEvents:l.a.oneOf(["visiblePainted","visibleFill","visibleStroke","visible","painted","fill","stroke","all","none","inherit"]),shapeRendering:l.a.oneOf(["auto","optimizeSpeed","crispEdges","geometricPrecision","inherit"]),stopColor:l.a.string,stopOpacity:l.a.oneOfType([l.a.number,l.a.string]),stroke:l.a.oneOfType([l.a.number,l.a.string]),strokeDasharray:l.a.string,strokeDashoffset:l.a.oneOfType([l.a.number,l.a.string]),strokeLinecap:l.a.oneOf(["butt","round","square","inherit"]),strokeLinejoin:l.a.oneOf(["miter","round","bevel","inherit"]),strokeMiterlimit:l.a.oneOfType([l.a.number,l.a.string]),strokeOpacity:l.a.oneOfType([l.a.number,l.a.string]),strokeWidth:l.a.oneOfType([l.a.number,l.a.string]),textAnchor:l.a.oneOf(["start","middle","end","inherit"]),textDecoration:l.a.oneOf(["none","underline","overline","line-through","blink","inherit"]),textRendering:l.a.oneOf(["auto","optimizeSpeed","optimizeLegibility","geometricPrecision","inherit"]),unicodeBidi:l.a.oneOf(["normal","embed","bidi-override","inherit"]),visibility:l.a.oneOf(["visible","hidden","collapse","inherit"]),wordSpacing:l.a.oneOfType([l.a.number,l.a.string]),writingMode:l.a.oneOf(["lr-tb","rl-tb","tb-rl","lr","rl","tb","inherit"]),transform:l.a.string,role:l.a.string,focusable:l.a.string,tabIndex:l.a.string,style:l.a.object,width:l.a.number,height:l.a.number,dx:l.a.number,dy:l.a.number,x:l.a.number,y:l.a.number,r:l.a.number,radius:l.a.oneOfType([l.a.number,l.a.array])},ie={onClick:l.a.func,onMouseDown:l.a.func,onMouseUp:l.a.func,onMouseOver:l.a.func,onMouseMove:l.a.func,onMouseOut:l.a.func,onMouseEnter:l.a.func,onMouseLeave:l.a.func,onTouchEnd:l.a.func,onTouchMove:l.a.func,onTouchStart:l.a.func,onTouchCancel:l.a.func},ae={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},ue=["plainline","line","square","rect","circle","cross","diamond","star","triangle","wye","none"],se=["none"],ce=function(e){return"string"===typeof e?e:e?e.displayName||e.name||"Component":""},le=function(e,t){var n=[],r=[];return r=g()(t)?t.map((function(e){return ce(e)})):[ce(t)],s.a.Children.forEach(e,(function(e){var t=e&&e.type&&(e.type.displayName||e.type.name);-1!==r.indexOf(t)&&n.push(e)})),n},fe=function(e,t){var n=le(e,t);return n&&n[0]},pe=function(e){if(!e||W()(e))return null;var t=s.a.isValidElement(e)?e.props:e;if(!ee()(t))return null;var n=null;for(var r in t)({}).hasOwnProperty.call(t,r)&&oe[r]&&(n||(n={}),n[r]=t[r]);return n},de=function(e,t){return function(n){return e(t,n),null}},he=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e||W()(e))return null;var r=s.a.isValidElement(e)?e.props:e;if(!ee()(r))return null;var o=null;for(var i in r)({}).hasOwnProperty.call(r,i)&&ie[i]&&(o||(o={}),o[i]=t||(n?de(r[i],r):r[i]));return o},ve=function(e,t,n){return function(r){return e(t,n,r),null}},me=function(e,t,n){if(!ee()(e))return null;var r=null;for(var o in e)({}).hasOwnProperty.call(e,o)&&ie[o]&&W()(e[o])&&(r||(r={}),r[o]=ve(e[o],t,n));return r},ye=function(e){if(!e||!e.props)return!1;var t=e.props,n=t.width,r=t.height;return!(!T(n)||n<=0||!T(r)||r<=0)},ge=function(){return!("undefined"!==typeof window&&window.document&&window.document.createElement&&window.setTimeout)},be=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],we=function(e,t){if(J()(e)&&J()(t))return!0;if(!J()(e)&&!J()(t)){var n=e.props||{},r=n.children,o=re(n,["children"]),i=t.props||{},a=i.children,u=re(i,["children"]);return r&&a?te(o,u)&&xe(r,a):!r&&!a&&te(o,u)}return!1},xe=function e(t,n){if(t===n)return!0;if(u.Children.count(t)!==u.Children.count(n))return!1;var r=u.Children.count(t);if(0===r)return!0;if(1===r)return we(g()(t)?t[0]:t,g()(n)?n[0]:n);for(var o=0;o=0}(e))n.push(e);else if(e&&t[ce(e.type)]){var i=ce(e.type),a=t[i],u=a.handler,s=a.once;if(s&&!r[i]||!s){var c=u(e,i,o);g()(c)?n=[n].concat(ne(c)):n.push(c),r[i]=!0}}})),n},Ee=function(e,t){var n=-1;return u.Children.forEach(t,(function(t,r){t===e&&(n=r)})),n},ke=n(140),_e=n.n(ke);function Se(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 Te(e){for(var t=1;t=0&&o===+o?"".concat(o,"px"):o),";");var r,o,i}),"")},Ne=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(void 0===e||null===e||ge())return{width:0,height:0};var n="".concat(e),r=De(t),o="".concat(n,"-").concat(r);if(je.widthCache[o])return je.widthCache[o];try{var i=document.getElementById("recharts_measurement_span");i||((i=document.createElement("span")).setAttribute("id","recharts_measurement_span"),document.body.appendChild(i));var a=Te({},Pe,{},t);Object.keys(a).map((function(e){return i.style[e]=a[e],e})),i.textContent=n;var u=i.getBoundingClientRect(),s={width:u.width,height:u.height};return je.widthCache[o]=s,++je.cacheCount>2e3&&(je.cacheCount=0,je.widthCache={}),s}catch(c){return{width:0,height:0}}};function Re(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 Le(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ie(e){return(Ie="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 Be(){return(Be=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Ue(e,t){for(var n=0;nt?1:e>=t?0:NaN},it=function(e){var t;return 1===e.length&&(t=e,e=function(e,n){return ot(t(e),n)}),{left:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r>>1;e(t[i],n)<0?r=i+1:o=i}return r},right:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r>>1;e(t[i],n)>0?o=i:r=i+1}return r}}};var at=it(ot),ut=at.right,st=(at.left,ut);var ct=function(e){return null===e?NaN:+e},lt=Array.prototype,ft=(lt.slice,lt.map,function(e,t,n){e=+e,t=+t,n=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+n;for(var r=-1,o=0|Math.max(0,Math.ceil((t-e)/n)),i=new Array(o);++r0)return[e];if((r=t0)for(e=Math.ceil(e/a),t=Math.floor(t/a),i=new Array(o=Math.ceil(t-e+1));++u=0?(i>=pt?10:i>=dt?5:i>=ht?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(i>=pt?10:i>=dt?5:i>=ht?2:1)}function yt(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),o=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),i=r/o;return i>=pt?o*=10:i>=dt?o*=5:i>=ht&&(o*=2),t=1)return+n(e[r-1],r-1,e);var r,o=(r-1)*t,i=Math.floor(o),a=+n(e[i],i,e);return a+(+n(e[i+1],i+1,e)-a)*(o-i)}};function bt(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function wt(e,t){switch(arguments.length){case 0:break;case 1:this.interpolator(e);break;default:this.interpolator(t).domain(e)}return this}function xt(){}function Ot(e,t){var n=new xt;if(e instanceof xt)e.each((function(e,t){n.set(t,e)}));else if(Array.isArray(e)){var r,o=-1,i=e.length;if(null==t)for(;++o>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Zt(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Zt(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=zt.exec(e))?new nn(t[1],t[2],t[3],1):(t=Vt.exec(e))?new nn(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Ht.exec(e))?Zt(t[1],t[2],t[3],t[4]):(t=Wt.exec(e))?Zt(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Gt.exec(e))?un(t[1],t[2]/100,t[3]/100,1):(t=Yt.exec(e))?un(t[1],t[2]/100,t[3]/100,t[4]):Xt.hasOwnProperty(e)?Jt(Xt[e]):"transparent"===e?new nn(NaN,NaN,NaN,0):null}function Jt(e){return new nn(e>>16&255,e>>8&255,255&e,1)}function Zt(e,t,n,r){return r<=0&&(e=t=n=NaN),new nn(e,t,n,r)}function en(e){return e instanceof It||(e=Qt(e)),e?new nn((e=e.rgb()).r,e.g,e.b,e.opacity):new nn}function tn(e,t,n,r){return 1===arguments.length?en(e):new nn(e,t,n,null==r?1:r)}function nn(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function rn(){return"#"+an(this.r)+an(this.g)+an(this.b)}function on(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function an(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function un(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new cn(e,t,n,r)}function sn(e){if(e instanceof cn)return new cn(e.h,e.s,e.l,e.opacity);if(e instanceof It||(e=Qt(e)),!e)return new cn;if(e instanceof cn)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,u=i-o,s=(i+o)/2;return u?(a=t===i?(n-r)/u+6*(n0&&s<1?0:a,new cn(a,u,s,e.opacity)}function cn(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function ln(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function fn(e,t,n,r,o){var i=e*e,a=i*e;return((1-3*e+3*i-a)*t+(4-6*i+3*a)*n+(1+3*e+3*i-3*a)*r+a*o)/6}Rt(It,Qt,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:$t,formatHex:$t,formatHsl:function(){return sn(this).formatHsl()},formatRgb:Kt,toString:Kt}),Rt(nn,tn,Lt(It,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new nn(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new nn(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:rn,formatHex:rn,formatRgb:on,toString:on})),Rt(cn,(function(e,t,n,r){return 1===arguments.length?sn(e):new cn(e,t,n,null==r?1:r)}),Lt(It,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new cn(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new cn(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new nn(ln(e>=240?e-240:e+120,o,r),ln(e,o,r),ln(e<120?e+240:e-120,o,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));var pn=function(e){return function(){return e}};function dn(e,t){return function(n){return e+n*t}}function hn(e){return 1===(e=+e)?vn:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):pn(isNaN(t)?n:t)}}function vn(e,t){var n=t-e;return n?dn(e,n):pn(isNaN(e)?t:e)}var mn=function e(t){var n=hn(t);function r(e,t){var r=n((e=tn(e)).r,(t=tn(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=vn(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);function yn(e){return function(t){var n,r,o=t.length,i=new Array(o),a=new Array(o),u=new Array(o);for(n=0;n=1?(n=1,t-1):Math.floor(n*t),o=e[r],i=e[r+1],a=r>0?e[r-1]:2*o-i,u=ri&&(o=t.slice(i,o),u[a]?u[a]+=o:u[++a]=o),(n=n[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,s.push({i:a,x:On(n,r)})),i=_n.lastIndex;return ir&&(t=n,n=r,r=t),function(e){return Math.max(n,Math.min(r,e))}}function Nn(e,t,n){var r=e[0],o=e[1],i=t[0],a=t[1];return o2?Rn:Nn,o=i=null,f}function f(t){return isNaN(t=+t)?n:(o||(o=r(a.map(e),u,s)))(e(c(t)))}return f.invert=function(n){return c(t((i||(i=r(u,a.map(e),On)))(n)))},f.domain=function(e){return arguments.length?(a=Ct.call(e,An),c===Pn||(c=Dn(a)),l()):a.slice()},f.range=function(e){return arguments.length?(u=At.call(e),l()):u.slice()},f.rangeRound=function(e){return u=At.call(e),s=Cn,l()},f.clamp=function(e){return arguments.length?(c=e?Dn(a):Pn,f):c!==Pn},f.interpolate=function(e){return arguments.length?(s=e,l()):s},f.unknown=function(e){return arguments.length?(n=e,f):n},function(n,r){return e=n,t=r,l()}}function Bn(e,t){return In()(e,t)}var Fn=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Un(e){if(!(t=Fn.exec(e)))throw new Error("invalid format: "+e);var t;return new qn({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function qn(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}Un.prototype=qn.prototype,qn.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var zn,Vn,Hn,Wn,Gn=function(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]},Yn=function(e){return(e=Gn(Math.abs(e)))?e[1]:NaN},Xn=function(e,t){var n=Gn(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")},$n={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.round(e).toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return Xn(100*e,t)},r:Xn,s:function(e,t){var n=Gn(e,t);if(!n)return e+"";var r=n[0],o=n[1],i=o-(zn=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+Gn(e,Math.max(0,t+i-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}},Kn=function(e){return e},Qn=Array.prototype.map,Jn=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];Vn=function(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?Kn:(t=Qn.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var o=e.length,i=[],a=0,u=t[0],s=0;o>0&&u>0&&(s+u+1>r&&(u=Math.max(1,r-s)),i.push(e.substring(o-=u,o+u)),!((s+=u+1)>r));)u=t[a=(a+1)%t.length];return i.reverse().join(n)}),o=void 0===e.currency?"":e.currency[0]+"",i=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",u=void 0===e.numerals?Kn:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(Qn.call(e.numerals,String)),s=void 0===e.percent?"%":e.percent+"",c=void 0===e.minus?"-":e.minus+"",l=void 0===e.nan?"NaN":e.nan+"";function f(e){var t=(e=Un(e)).fill,n=e.align,f=e.sign,p=e.symbol,d=e.zero,h=e.width,v=e.comma,m=e.precision,y=e.trim,g=e.type;"n"===g?(v=!0,g="g"):$n[g]||(void 0===m&&(m=12),y=!0,g="g"),(d||"0"===t&&"="===n)&&(d=!0,t="0",n="=");var b="$"===p?o:"#"===p&&/[boxX]/.test(g)?"0"+g.toLowerCase():"",w="$"===p?i:/[%p]/.test(g)?s:"",x=$n[g],O=/[defgprs%]/.test(g);function E(e){var o,i,s,p=b,E=w;if("c"===g)E=x(e)+E,e="";else{var k=(e=+e)<0||1/e<0;if(e=isNaN(e)?l:x(Math.abs(e),m),y&&(e=function(e){e:for(var t,n=e.length,r=1,o=-1;r0&&(o=0)}return o>0?e.slice(0,o)+e.slice(t+1):e}(e)),k&&0===+e&&"+"!==f&&(k=!1),p=(k?"("===f?f:c:"-"===f||"("===f?"":f)+p,E=("s"===g?Jn[8+zn/3]:"")+E+(k&&"("===f?")":""),O)for(o=-1,i=e.length;++o(s=e.charCodeAt(o))||s>57){E=(46===s?a+e.slice(o+1):e.slice(o))+E,e=e.slice(0,o);break}}v&&!d&&(e=r(e,1/0));var _=p.length+e.length+E.length,S=_>1)+p+e+E+S.slice(_);break;default:e=S+p+e+E}return u(e)}return m=void 0===m?6:/[gprs]/.test(g)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),E.toString=function(){return e+""},E}return{format:f,formatPrefix:function(e,t){var n=f(((e=Un(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(Yn(t)/3))),o=Math.pow(10,-r),i=Jn[8+r/3];return function(e){return n(o*e)+i}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),Hn=Vn.format,Wn=Vn.formatPrefix;var Zn=function(e,t,n,r){var o,i=yt(e,t,n);switch((r=Un(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(o=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Yn(t)/3)))-Yn(Math.abs(e)))}(i,a))||(r.precision=o),Wn(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(o=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Yn(t)-Yn(e))+1}(i,Math.max(Math.abs(e),Math.abs(t))))||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=function(e){return Math.max(0,-Yn(Math.abs(e)))}(i))||(r.precision=o-2*("%"===r.type))}return Hn(r)};function er(e){var t=e.domain;return e.ticks=function(e){var n=t();return vt(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return Zn(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,o=t(),i=0,a=o.length-1,u=o[i],s=o[a];return s0?r=mt(u=Math.floor(u/r)*r,s=Math.ceil(s/r)*r,n):r<0&&(r=mt(u=Math.ceil(u*r)/r,s=Math.floor(s*r)/r,n)),r>0?(o[i]=Math.floor(u/r)*r,o[a]=Math.ceil(s/r)*r,t(o)):r<0&&(o[i]=Math.ceil(u*r)/r,o[a]=Math.floor(s*r)/r,t(o)),e},e}function tr(){var e=Bn(Pn,Pn);return e.copy=function(){return Ln(e,tr())},bt.apply(e,arguments),er(e)}function nr(e){var t;function n(e){return isNaN(e=+e)?t:e}return n.invert=n,n.domain=n.range=function(t){return arguments.length?(e=Ct.call(t,An),n):e.slice()},n.unknown=function(e){return arguments.length?(t=e,n):t},n.copy=function(){return nr(e).unknown(t)},e=arguments.length?Ct.call(e,An):[0,1],er(n)}var rr=function(e,t){var n,r=0,o=(e=e.slice()).length-1,i=e[r],a=e[o];return a0){for(;ps)break;v.push(f)}}else for(;p=1;--l)if(!((f=c*l)s)break;v.push(f)}}else v=vt(p,d,Math.min(d-p,h)).map(n);return r?v.reverse():v},r.tickFormat=function(e,o){if(null==o&&(o=10===i?".0e":","),"function"!==typeof o&&(o=Hn(o)),e===1/0)return o;null==e&&(e=10);var a=Math.max(1,i*e/r.ticks().length);return function(e){var r=e/n(Math.round(t(e)));return r*i0?r[o-1]:t[0],o=r?[o[r-1],n]:[o[a-1],o[a]]},a.unknown=function(t){return arguments.length?(e=t,a):a},a.thresholds=function(){return o.slice()},a.copy=function(){return Er().domain([t,n]).range(i).unknown(e)},bt.apply(er(a),arguments)}function kr(){var e,t=[.5],n=[0,1],r=1;function o(o){return o<=o?n[st(t,o,0,r)]:e}return o.domain=function(e){return arguments.length?(t=At.call(e),r=Math.min(t.length,n.length-1),o):t.slice()},o.range=function(e){return arguments.length?(n=At.call(e),r=Math.min(t.length,n.length-1),o):n.slice()},o.invertExtent=function(e){var r=n.indexOf(e);return[t[r-1],t[r]]},o.unknown=function(t){return arguments.length?(e=t,o):e},o.copy=function(){return kr().domain(t).range(n).unknown(e)},bt.apply(o,arguments)}var _r=new Date,Sr=new Date;function Tr(e,t,n,r){function o(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return o.floor=function(t){return e(t=new Date(+t)),t},o.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},o.round=function(e){var t=o(e),n=o.ceil(e);return e-t0))return u;do{u.push(a=new Date(+n)),t(n,i),e(n)}while(a=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}))},n&&(o.count=function(t,r){return _r.setTime(+t),Sr.setTime(+r),e(_r),e(Sr),Math.floor(n(_r,Sr))},o.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?o.filter(r?function(t){return r(t)%e===0}:function(t){return o.count(0,t)%e===0}):o:null}),o}var Cr=Tr((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()}));Cr.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Tr((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null};var Ar=Cr,jr=(Cr.range,Tr((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()}))),Pr=jr;jr.range;function Mr(e){return Tr((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/6048e5}))}var Dr=Mr(0),Nr=Mr(1),Rr=Mr(2),Lr=Mr(3),Ir=Mr(4),Br=Mr(5),Fr=Mr(6),Ur=(Dr.range,Nr.range,Rr.range,Lr.range,Ir.range,Br.range,Fr.range,Tr((function(e){e.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e,t){return(t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/864e5}),(function(e){return e.getDate()-1}))),qr=Ur,zr=(Ur.range,Tr((function(e){e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds()-6e4*e.getMinutes())}),(function(e,t){e.setTime(+e+36e5*t)}),(function(e,t){return(t-e)/36e5}),(function(e){return e.getHours()}))),Vr=zr,Hr=(zr.range,Tr((function(e){e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds())}),(function(e,t){e.setTime(+e+6e4*t)}),(function(e,t){return(t-e)/6e4}),(function(e){return e.getMinutes()}))),Wr=Hr,Gr=(Hr.range,Tr((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+1e3*t)}),(function(e,t){return(t-e)/1e3}),(function(e){return e.getUTCSeconds()}))),Yr=Gr,Xr=(Gr.range,Tr((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e})));Xr.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?Tr((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):Xr:null};var $r=Xr;Xr.range;function Kr(e){return Tr((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/6048e5}))}var Qr=Kr(0),Jr=Kr(1),Zr=Kr(2),eo=Kr(3),to=Kr(4),no=Kr(5),ro=Kr(6),oo=(Qr.range,Jr.range,Zr.range,eo.range,to.range,no.range,ro.range,Tr((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/864e5}),(function(e){return e.getUTCDate()-1}))),io=oo,ao=(oo.range,Tr((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()})));ao.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Tr((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null};var uo=ao;ao.range;function so(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function co(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function lo(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var fo,po,ho,vo={"-":"",_:" ",0:"0"},mo=/^\s*\d+/,yo=/^%/,go=/[\\^$*+?|[\]().{}]/g;function bo(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",i=o.length;return r+(i68?1900:2e3),n+r[0].length):-1}function jo(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Po(e,t,n){var r=mo.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function Mo(e,t,n){var r=mo.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Do(e,t,n){var r=mo.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function No(e,t,n){var r=mo.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Ro(e,t,n){var r=mo.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Lo(e,t,n){var r=mo.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Io(e,t,n){var r=mo.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Bo(e,t,n){var r=mo.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Fo(e,t,n){var r=mo.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Uo(e,t,n){var r=yo.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function qo(e,t,n){var r=mo.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function zo(e,t,n){var r=mo.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Vo(e,t){return bo(e.getDate(),t,2)}function Ho(e,t){return bo(e.getHours(),t,2)}function Wo(e,t){return bo(e.getHours()%12||12,t,2)}function Go(e,t){return bo(1+qr.count(Ar(e),e),t,3)}function Yo(e,t){return bo(e.getMilliseconds(),t,3)}function Xo(e,t){return Yo(e,t)+"000"}function $o(e,t){return bo(e.getMonth()+1,t,2)}function Ko(e,t){return bo(e.getMinutes(),t,2)}function Qo(e,t){return bo(e.getSeconds(),t,2)}function Jo(e){var t=e.getDay();return 0===t?7:t}function Zo(e,t){return bo(Dr.count(Ar(e)-1,e),t,2)}function ei(e,t){var n=e.getDay();return e=n>=4||0===n?Ir(e):Ir.ceil(e),bo(Ir.count(Ar(e),e)+(4===Ar(e).getDay()),t,2)}function ti(e){return e.getDay()}function ni(e,t){return bo(Nr.count(Ar(e)-1,e),t,2)}function ri(e,t){return bo(e.getFullYear()%100,t,2)}function oi(e,t){return bo(e.getFullYear()%1e4,t,4)}function ii(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+bo(t/60|0,"0",2)+bo(t%60,"0",2)}function ai(e,t){return bo(e.getUTCDate(),t,2)}function ui(e,t){return bo(e.getUTCHours(),t,2)}function si(e,t){return bo(e.getUTCHours()%12||12,t,2)}function ci(e,t){return bo(1+io.count(uo(e),e),t,3)}function li(e,t){return bo(e.getUTCMilliseconds(),t,3)}function fi(e,t){return li(e,t)+"000"}function pi(e,t){return bo(e.getUTCMonth()+1,t,2)}function di(e,t){return bo(e.getUTCMinutes(),t,2)}function hi(e,t){return bo(e.getUTCSeconds(),t,2)}function vi(e){var t=e.getUTCDay();return 0===t?7:t}function mi(e,t){return bo(Qr.count(uo(e)-1,e),t,2)}function yi(e,t){var n=e.getUTCDay();return e=n>=4||0===n?to(e):to.ceil(e),bo(to.count(uo(e),e)+(4===uo(e).getUTCDay()),t,2)}function gi(e){return e.getUTCDay()}function bi(e,t){return bo(Jr.count(uo(e)-1,e),t,2)}function wi(e,t){return bo(e.getUTCFullYear()%100,t,2)}function xi(e,t){return bo(e.getUTCFullYear()%1e4,t,4)}function Oi(){return"+0000"}function Ei(){return"%"}function ki(e){return+e}function _i(e){return Math.floor(+e/1e3)}!function(e){fo=function(e){var t=e.dateTime,n=e.date,r=e.time,o=e.periods,i=e.days,a=e.shortDays,u=e.months,s=e.shortMonths,c=xo(o),l=Oo(o),f=xo(i),p=Oo(i),d=xo(a),h=Oo(a),v=xo(u),m=Oo(u),y=xo(s),g=Oo(s),b={a:function(e){return a[e.getDay()]},A:function(e){return i[e.getDay()]},b:function(e){return s[e.getMonth()]},B:function(e){return u[e.getMonth()]},c:null,d:Vo,e:Vo,f:Xo,H:Ho,I:Wo,j:Go,L:Yo,m:$o,M:Ko,p:function(e){return o[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:ki,s:_i,S:Qo,u:Jo,U:Zo,V:ei,w:ti,W:ni,x:null,X:null,y:ri,Y:oi,Z:ii,"%":Ei},w={a:function(e){return a[e.getUTCDay()]},A:function(e){return i[e.getUTCDay()]},b:function(e){return s[e.getUTCMonth()]},B:function(e){return u[e.getUTCMonth()]},c:null,d:ai,e:ai,f:fi,H:ui,I:si,j:ci,L:li,m:pi,M:di,p:function(e){return o[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:ki,s:_i,S:hi,u:vi,U:mi,V:yi,w:gi,W:bi,x:null,X:null,y:wi,Y:xi,Z:Oi,"%":Ei},x={a:function(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=h[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=p[r[0].toLowerCase()],n+r[0].length):-1},b:function(e,t,n){var r=y.exec(t.slice(n));return r?(e.m=g[r[0].toLowerCase()],n+r[0].length):-1},B:function(e,t,n){var r=v.exec(t.slice(n));return r?(e.m=m[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,n,r){return k(e,t,n,r)},d:Do,e:Do,f:Fo,H:Ro,I:Ro,j:No,L:Bo,m:Mo,M:Lo,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=l[r[0].toLowerCase()],n+r[0].length):-1},q:Po,Q:qo,s:zo,S:Io,u:ko,U:_o,V:So,w:Eo,W:To,x:function(e,t,r){return k(e,n,t,r)},X:function(e,t,n){return k(e,r,t,n)},y:Ao,Y:Co,Z:jo,"%":Uo};function O(e,t){return function(n){var r,o,i,a=[],u=-1,s=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++u53)return null;"w"in i||(i.w=1),"Z"in i?(o=(r=co(lo(i.y,0,1))).getUTCDay(),r=o>4||0===o?Jr.ceil(r):Jr(r),r=io.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(o=(r=so(lo(i.y,0,1))).getDay(),r=o>4||0===o?Nr.ceil(r):Nr(r),r=qr.offset(r,7*(i.V-1)),i.y=r.getFullYear(),i.m=r.getMonth(),i.d=r.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?co(lo(i.y,0,1)).getUTCDay():so(lo(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,co(i)):so(i)}}function k(e,t,n,r){for(var o,i,a=0,u=t.length,s=n.length;a=s)return-1;if(37===(o=t.charCodeAt(a++))){if(o=t.charAt(a++),!(i=x[o in vo?t.charAt(a++):o])||(r=i(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}return b.x=O(n,b),b.X=O(r,b),b.c=O(t,b),w.x=O(n,w),w.X=O(r,w),w.c=O(t,w),{format:function(e){var t=O(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=E(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=O(e+="",w);return t.toString=function(){return e},t},utcParse:function(e){var t=E(e+="",!0);return t.toString=function(){return e},t}}}(e),po=fo.format,fo.parse,ho=fo.utcFormat,fo.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function Si(e){return new Date(e)}function Ti(e){return e instanceof Date?+e:+new Date(+e)}function Ci(e,t,n,r,o,i,a,u,s){var c=Bn(Pn,Pn),l=c.invert,f=c.domain,p=s(".%L"),d=s(":%S"),h=s("%I:%M"),v=s("%I %p"),m=s("%a %d"),y=s("%b %d"),g=s("%B"),b=s("%Y"),w=[[a,1,1e3],[a,5,5e3],[a,15,15e3],[a,30,3e4],[i,1,6e4],[i,5,3e5],[i,15,9e5],[i,30,18e5],[o,1,36e5],[o,3,108e5],[o,6,216e5],[o,12,432e5],[r,1,864e5],[r,2,1728e5],[n,1,6048e5],[t,1,2592e6],[t,3,7776e6],[e,1,31536e6]];function x(u){return(a(u)1)for(var n,r,o,i=1,a=e[t[0]],u=a.length;i=0;)n[t]=t;return n};function ta(e,t){return e[t]}function na(e){return(na="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 ra(){return(ra=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function aa(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ua(e,t){for(var n=0;n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var ya={width:l.a.number.isRequired,height:l.a.number.isRequired,viewBox:l.a.shape({x:l.a.number,y:l.a.number,width:l.a.number,height:l.a.number}),className:l.a.string,style:l.a.object,children:l.a.oneOfType([l.a.arrayOf(l.a.node),l.a.node])};function ga(e){var t=e.children,n=e.width,r=e.height,o=e.viewBox,i=e.className,a=e.style,u=ma(e,["children","width","height","viewBox","className","style"]),c=o||{width:n,height:r,x:0,y:0},l=p()("recharts-surface",i),f=pe(u);return s.a.createElement("svg",va({},f,{className:l,width:n,height:r,style:a,viewBox:"".concat(c.x," ").concat(c.y," ").concat(c.width," ").concat(c.height),version:"1.1"}),t)}ga.propTypes=ya;var ba=ga,wa=(Math.abs,Math.atan2,Math.cos,Math.max,Math.min,Math.sin,Math.sqrt,Math.PI),xa=2*wa;var Oa={draw:function(e,t){var n=Math.sqrt(t/wa);e.moveTo(n,0),e.arc(0,0,n,0,xa)}},Ea={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},ka=Math.sqrt(1/3),_a=2*ka,Sa={draw:function(e,t){var n=Math.sqrt(t/_a),r=n*ka;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},Ta={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}},Ca=Math.sin(wa/10)/Math.sin(7*wa/10),Aa=Math.sin(xa/10)*Ca,ja=-Math.cos(xa/10)*Ca,Pa={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),r=Aa*n,o=ja*n;e.moveTo(0,-n),e.lineTo(r,o);for(var i=1;i<5;++i){var a=xa*i/5,u=Math.cos(a),s=Math.sin(a);e.lineTo(s*n,-u*n),e.lineTo(u*r-s*o,s*r+u*o)}e.closePath()}},Ma=Math.sqrt(3),Da={draw:function(e,t){var n=-Math.sqrt(t/(3*Ma));e.moveTo(0,2*n),e.lineTo(-Ma*n,-n),e.lineTo(Ma*n,-n),e.closePath()}},Na=Math.sqrt(3)/2,Ra=1/Math.sqrt(12),La=3*(Ra/2+1),Ia={draw:function(e,t){var n=Math.sqrt(t/La),r=n/2,o=n*Ra,i=r,a=n*Ra+n,u=-i,s=a;e.moveTo(r,o),e.lineTo(i,a),e.lineTo(u,s),e.lineTo(-.5*r-Na*o,Na*r+-.5*o),e.lineTo(-.5*i-Na*a,Na*i+-.5*a),e.lineTo(-.5*u-Na*s,Na*u+-.5*s),e.lineTo(-.5*r+Na*o,-.5*o-Na*r),e.lineTo(-.5*i+Na*a,-.5*a-Na*i),e.lineTo(-.5*u+Na*s,-.5*s-Na*u),e.closePath()}},Ba=Math.PI,Fa=2*Ba,Ua=Fa-1e-6;function qa(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function za(){return new qa}qa.prototype=za.prototype={constructor:qa,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,o,i){this._+="C"+ +e+","+ +t+","+ +n+","+ +r+","+(this._x1=+o)+","+(this._y1=+i)},arcTo:function(e,t,n,r,o){e=+e,t=+t,n=+n,r=+r,o=+o;var i=this._x1,a=this._y1,u=n-e,s=r-t,c=i-e,l=a-t,f=c*c+l*l;if(o<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(f>1e-6)if(Math.abs(l*u-s*c)>1e-6&&o){var p=n-i,d=r-a,h=u*u+s*s,v=p*p+d*d,m=Math.sqrt(h),y=Math.sqrt(f),g=o*Math.tan((Ba-Math.acos((h+f-v)/(2*m*y)))/2),b=g/y,w=g/m;Math.abs(b-1)>1e-6&&(this._+="L"+(e+b*c)+","+(t+b*l)),this._+="A"+o+","+o+",0,0,"+ +(l*p>c*d)+","+(this._x1=e+w*u)+","+(this._y1=t+w*s)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,r,o,i){e=+e,t=+t,i=!!i;var a=(n=+n)*Math.cos(r),u=n*Math.sin(r),s=e+a,c=t+u,l=1^i,f=i?r-o:o-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+s+","+c:(Math.abs(this._x1-s)>1e-6||Math.abs(this._y1-c)>1e-6)&&(this._+="L"+s+","+c),n&&(f<0&&(f=f%Fa+Fa),f>Ua?this._+="A"+n+","+n+",0,1,"+l+","+(e-a)+","+(t-u)+"A"+n+","+n+",0,1,"+l+","+(this._x1=s)+","+(this._y1=c):f>1e-6&&(this._+="A"+n+","+n+",0,"+ +(f>=Ba)+","+l+","+(this._x1=e+n*Math.cos(o))+","+(this._y1=t+n*Math.sin(o))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var Va=za;function Ha(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 Wa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ga(e){return(Ga="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 Ya(){return(Ya=Object.assign||function(e){for(var t=1;t=0&&n>=0?{width:t,height:n}:null}},{key:"getDefaultPosition",value:function(e){var t,n,r=this.props,o=r.layout,i=r.align,a=r.verticalAlign,u=r.margin,s=r.chartWidth,c=r.chartHeight;return e&&(void 0!==e.left&&null!==e.left||void 0!==e.right&&null!==e.right)||(t="center"===i&&"vertical"===o?{left:((s||0)-(this.getBBox()||{width:0}).width)/2}:"right"===i?{right:u&&u.right||0}:{left:u&&u.left||0}),e&&(void 0!==e.top&&null!==e.top||void 0!==e.bottom&&null!==e.bottom)||(n="middle"===a?{top:((c||0)-(this.getBBox()||{height:0}).height)/2}:"bottom"===a?{bottom:u&&u.bottom||0}:{top:u&&u.top||0}),mu({},t,{},n)}},{key:"updateBBox",value:function(){var e=this.state,t=e.boxWidth,n=e.boxHeight,r=this.props.onBBoxUpdate;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var o=this.wrapperNode.getBoundingClientRect();(Math.abs(o.width-t)>1||Math.abs(o.height-n)>1)&&this.setState({boxWidth:o.width,boxHeight:o.height},(function(){r&&r(o)}))}else-1===t&&-1===n||this.setState({boxWidth:-1,boxHeight:-1},(function(){r&&r(null)}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.content,r=t.width,o=t.height,i=t.wrapperStyle,a=t.paylodUniqBy,u=t.payload,c=mu({position:"absolute",width:r||"auto",height:o||"auto"},this.getDefaultPosition(i),{},i);return s.a.createElement("div",{className:"recharts-legend-wrapper",style:c,ref:function(t){e.wrapperNode=t}},function(e,t){return s.a.isValidElement(e)?s.a.cloneElement(e,t):W()(e)?e(t):s.a.createElement(du,t)}(n,mu({},this.props,{payload:ku(a,u)})))}}])&&bu(n.prototype,r),o&&bu(n,o),t}(u.PureComponent);Su.displayName="Legend",Su.propTypes={content:l.a.oneOfType([l.a.element,l.a.func]),wrapperStyle:l.a.object,chartWidth:l.a.number,chartHeight:l.a.number,width:l.a.number,height:l.a.number,iconSize:l.a.number,iconType:l.a.oneOf(_u),layout:l.a.oneOf(["horizontal","vertical"]),align:l.a.oneOf(["center","left","right"]),verticalAlign:l.a.oneOf(["top","bottom","middle"]),margin:l.a.shape({top:l.a.number,left:l.a.number,bottom:l.a.number,right:l.a.number}),payload:l.a.arrayOf(l.a.shape({value:l.a.any,id:l.a.any,type:l.a.oneOf(ue)})),paylodUniqBy:l.a.oneOfType([l.a.func,l.a.bool]),formatter:l.a.func,onMouseEnter:l.a.func,onMouseLeave:l.a.func,onClick:l.a.func,onBBoxUpdate:l.a.func},Su.defaultProps={iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"};var Tu=Su;function Cu(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=0}));if(i&&i.length){var a=i.map((function(e){return e.props.dataKey}));return e.reduce((function(e,t){var r=Mu(t,n,0),o=g()(r)?[et()(r),Je()(r)]:[r,r],i=a.reduce((function(e,n){var r=Mu(t,n,0),i=o[0]-Math.abs(g()(r)?r[0]:r),a=o[1]+Math.abs(g()(r)?r[1]:r);return[Math.min(i,e[0]),Math.max(a,e[1])]}),[1/0,-1/0]);return[Math.min(i[0],e[0]),Math.max(i[1],e[1])]}),[1/0,-1/0])}return null},Iu=function(e,t,n,r){var o=t.map((function(t){var o=t.props.dataKey;return"number"===n&&o&&Lu(e,t,o)||Du(e,o,n,r)}));if("number"===n)return o.reduce((function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}),[1/0,-1/0]);var i={};return o.reduce((function(e,t){for(var n=0,r=t.length;n=0||t.indexOf("AreaChart")>=0)?{scale:Nt(),realScaleType:"point"}:"category"===o?{scale:Mt(),realScaleType:"band"}:{scale:tr(),realScaleType:"linear"};if(k()(n)){var u="scale".concat(n.slice(0,1).toUpperCase()).concat(n.slice(1));return{scale:(r[u]||Nt)(),realScaleType:r[u]?u:"point"}}return W()(n)?{scale:n}:{scale:Nt(),realScaleType:"point"}},Vu=function(e){var t=e.domain();if(t&&!(t.length<=2)){var n=t.length,r=e.range(),o=Math.min(r[0],r[1])-1e-4,i=Math.max(r[0],r[1])+1e-4,a=e(t[0]),u=e(t[n-1]);(ai||ui)&&e.domain([t[0],t[n-1]])}},Hu={sign:function(e){var t=e.length;if(!(t<=0))for(var n=0,r=e[0].length;n=0?(e[a][n][0]=o,e[a][n][1]=o+u,o=e[a][n][1]):(e[a][n][0]=i,e[a][n][1]=i+u,i=e[a][n][1])}},expand:function(e,t){if((r=e.length)>0){for(var n,r,o,i=0,a=e[0].length;i0){for(var n,r=0,o=e[t[0]],i=o.length;r0&&(r=(n=e[t[0]]).length)>0){for(var n,r,o,i=0,a=1;a=2){for(var n=Ke()(t,(function(e){return e.coordinate})),r=1/0,o=1,i=n.length;oi&&(s=2*Math.PI-s),{radius:a,angle:os(s),angleInRadian:s}},us=function(e,t){var n=t.startAngle,r=t.endAngle,o=Math.floor(n/360),i=Math.floor(r/360);return e+360*Math.min(o,i)},ss=function(e,t){var n=e.x,r=e.y,o=as({x:n,y:r},t),i=o.radius,a=o.angle,u=t.innerRadius,s=t.outerRadius;if(is)return!1;if(0===i)return!0;var c,l=function(e){var t=e.startAngle,n=e.endAngle,r=Math.floor(t/360),o=Math.floor(n/360),i=Math.min(r,o);return{startAngle:t-360*i,endAngle:n-360*i}}(t),f=l.startAngle,p=l.endAngle,d=a;if(f<=p){for(;d>p;)d-=360;for(;d=f&&d<=p}else{for(;d>f;)d-=360;for(;d=p&&d<=f}return c?ts({},t,{radius:i,angle:us(d,t)}):null};function cs(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=0?1:-1;"insideStart"===i?(r=v+w*u,o=y):"insideEnd"===i?(r=m-w*u,o=!y):"end"===i&&(r=m+w*u,o=y),o=b<=0?o:!o;var x=is(l,f,g,r),O=is(l,f,g,r+359*(o?1:-1)),E="M".concat(x.x,",").concat(x.y,"\n A").concat(g,",").concat(g,",0,1,").concat(o?0:1,",\n ").concat(O.x,",").concat(O.y),k=J()(e.id)?j("recharts-radial-line-"):e.id;return s.a.createElement("text",ls({},n,{dominantBaseline:"central",className:p()("recharts-radial-bar-label",c)}),s.a.createElement("defs",null,s.a.createElement("path",{id:k,d:E})),s.a.createElement("textPath",{xlinkHref:"#".concat(k)},t))};function ys(e){var t,n=e.viewBox,r=e.position,o=e.value,i=e.children,a=e.content,c=e.className,l=void 0===c?"":c;if(!n||J()(o)&&J()(i)&&!Object(u.isValidElement)(a)&&!W()(a))return null;if(Object(u.isValidElement)(a))return Object(u.cloneElement)(a,e);if(W()(a)){if(t=a(e),Object(u.isValidElement)(t))return t}else t=function(e){var t=e.value,n=e.formatter,r=J()(e.children)?t:e.children;return W()(n)?n(r):r}(e);var f=function(e){return T(e.cx)}(n),d=pe(e),h=he(e);if(f&&("insideStart"===r||"insideEnd"===r||"end"===r))return ms(e,t,d);var v=f?function(e){var t=e.viewBox,n=e.offset,r=e.position,o=t.cx,i=t.cy,a=t.innerRadius,u=t.outerRadius,s=(t.startAngle+t.endAngle)/2;if("outside"===r){var c=is(o,i,u+n,s),l=c.x;return{x:l,y:c.y,textAnchor:l>=o?"start":"end",verticalAnchor:"middle"}}if("center"===r)return{x:o,y:i,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===r)return{x:o,y:i,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===r)return{x:o,y:i,textAnchor:"middle",verticalAnchor:"end"};var f=is(o,i,(a+u)/2,s);return{x:f.x,y:f.y,textAnchor:"middle",verticalAnchor:"middle"}}(e):function(e){var t=e.viewBox,n=e.offset,r=e.position,o=t.x,i=t.y,a=t.width,u=t.height,s=u>=0?1:-1;return"top"===r?{x:o+a/2,y:i-s*n,textAnchor:"middle",verticalAnchor:s>0?"end":"start"}:"bottom"===r?{x:o+a/2,y:i+u+s*n,textAnchor:"middle",verticalAnchor:"start"}:"left"===r?{x:o-n,y:i+u/2,textAnchor:"end",verticalAnchor:"middle"}:"right"===r?{x:o+a+n,y:i+u/2,textAnchor:"start",verticalAnchor:"middle"}:"insideLeft"===r?{x:o+n,y:i+u/2,textAnchor:"start",verticalAnchor:"middle"}:"insideRight"===r?{x:o+a-n,y:i+u/2,textAnchor:"end",verticalAnchor:"middle"}:"insideTop"===r?{x:o+a/2,y:i+s*n,textAnchor:"middle",verticalAnchor:"start"}:"insideBottom"===r?{x:o+a/2,y:i+u-s*n,textAnchor:"middle",verticalAnchor:"end"}:"insideTopLeft"===r?{x:o+n,y:i+s*n,textAnchor:"start",verticalAnchor:"start"}:"insideTopRight"===r?{x:o+a-n,y:i+s*n,textAnchor:"end",verticalAnchor:"start"}:"insideBottomLeft"===r?{x:o+n,y:i+u-s*n,textAnchor:"start",verticalAnchor:"end"}:"insideBottomRight"===r?{x:o+a-n,y:i+u-s*n,textAnchor:"end",verticalAnchor:"end"}:ee()(r)&&(T(r.x)||S(r.x))&&(T(r.y)||S(r.y))?{x:o+P(r.x,a),y:i+P(r.y,u),textAnchor:"end",verticalAnchor:"end"}:{x:o+a/2,y:i+u/2,textAnchor:"middle",verticalAnchor:"middle"}}(e);return s.a.createElement(Ge,ls({className:p()("recharts-label",l)},d,v,h),t)}ys.displayName="Label",ys.defaultProps={offset:5},ys.propTypes=vs;var gs=function(e){var t=e.cx,n=e.cy,r=e.angle,o=e.startAngle,i=e.endAngle,a=e.r,u=e.radius,s=e.innerRadius,c=e.outerRadius,l=e.x,f=e.y,p=e.top,d=e.left,h=e.width,v=e.height,m=e.clockWise;if(T(h)&&T(v)){if(T(l)&&T(f))return{x:l,y:f,width:h,height:v};if(T(p)&&T(d))return{x:p,y:d,width:h,height:v}}return T(l)&&T(f)?{x:l,y:f,width:0,height:0}:T(t)&&T(n)?{cx:t,cy:n,startAngle:o||r||0,endAngle:i||r||0,innerRadius:s||0,outerRadius:c||u||a||0,clockWise:m}:e.viewBox?e.viewBox:{}},bs=function(e,t){return e?!0===e?s.a.createElement(ys,{key:"label-implicit",viewBox:t}):C(e)?s.a.createElement(ys,{key:"label-implicit",viewBox:t,value:e}):Object(u.isValidElement)(e)?e.type===ys?Object(u.cloneElement)(e,{key:"label-implicit",viewBox:t}):s.a.createElement(ys,{key:"label-implicit",content:e,viewBox:t}):W()(e)?s.a.createElement(ys,{key:"label-implicit",content:e,viewBox:t}):ee()(e)?s.a.createElement(ys,ls({viewBox:t},e,{key:"label-implicit"})):null:null};ys.parseViewBox=gs,ys.renderCallByParent=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&n&&!e.label)return null;var r=e.children,o=gs(e),i=le(r,ys).map((function(e,n){return Object(u.cloneElement)(e,{viewBox:t||o,key:"label-".concat(n)})}));if(!n)return i;var a=bs(e.label,t||o);return[a].concat(cs(i))};var ws=ys,xs=function(e,t){var n=e.alwaysShow,r=e.ifOverflow;return n&&(r="extendDomain"),r===t},Os=n(136),Es=n.n(Os),ks=n(182),_s=n.n(ks);function Ss(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ts(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=t.bandAware,r=t.position;if(void 0!==e){if(r)switch(r){case"start":return this.scale(e);case"middle":var o=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+o;case"end":var i=this.bandwidth?this.bandwidth():0;return this.scale(e)+i;default:return this.scale(e)}if(n){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+a}return this.scale(e)}}},{key:"isInRange",value:function(e){var t=this.range(),n=t[0],r=t[t.length-1];return n<=r?e>=n&&e<=r:e>=r&&e<=n}},{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}}]),e}();Ds.EPS=1e-4;var Ns=function(){function e(t){Ss(this,e),this.scales=_s()(t,Ds.create),Object.assign(this,this.scales)}return Cs(e,null,[{key:"create",value:function(e){return new this(e)}}]),Cs(e,[{key:"apply",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.bandAware,r=this.scales;return _s()(e,(function(e,t){return r[t].apply(e,{bandAware:n})}))}},{key:"isInRange",value:function(e){var t=this.scales;return Es()(e,(function(e,n){return t[n].isInRange(e)}))}}]),e}();function Rs(e){return(Rs="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 Ls(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 Is(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Qs(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 Js(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:0,n=-1,r=function r(o){n<0&&(n=o),o-n>t?(e(o),n=-1):sc()(r)};sc()(r)}function lc(e){return(lc="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 fc(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function pc(){var e=function(){return null},t=!1;return{stop:function(){t=!0},start:function(n){t=!1,function n(r){if(!t){if(Array.isArray(r)){if(!r.length)return;var o=fc(r),i=o[0],a=o.slice(1);return"number"===typeof i?void cc(n.bind(null,a),i):(n(i),void cc(n.bind(null,a)))}"object"===lc(r)&&e(r),"function"===typeof r&&r()}}(n)},subscribe:function(t){return e=t,function(){e=function(){return null}}}}}var dc=n(277),hc=n.n(dc);function vc(e){for(var t=1;t=0&&e<=1}));var l=Cc(r,i),f=Cc(o,a),p=Ac(r,i),d=function(e){return e>1?1:e<0?0:e},h=function(e){for(var t=e>1?1:e,n=t,r=0;r<8;++r){var o=l(n)-t,i=p(n);if(Math.abs(o-t)<1e-4||i<1e-4)return f(n);n=d(n-o/i)}return f(n)};return h.isStepper=!1,h},Pc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.stiff,n=void 0===t?100:t,r=e.damping,o=void 0===r?8:r,i=e.dt,a=void 0===i?17:i,u=function(e,t,r){var i=r+(-(e-t)*n-r*o)*a/1e3,u=r*a/1e3+e;return Math.abs(u-t)<1e-4&&Math.abs(i)<1e-4?[t,0]:[u,i]};return u.isStepper=!0,u.dt=a,u},Mc=n(278),Dc=n.n(Mc);function Nc(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Vc(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0?n[o-1]:r,p=c||Object.keys(s);if("function"===typeof u||"spring"===u)return Vc(e).concat([t.runJSAnimation.bind(t,{from:f.style,to:s,duration:i,easing:u}),i]);var d=Ec(p,i,u),h=Hc({},f.style,s,{transition:d});return Vc(e).concat([h,i,l]).filter(wc)}),[a,Math.max(s,r)])),[e.onAnimationEnd]))}},{key:"runAnimation",value:function(e){this.manager||(this.manager=pc());var t=e.begin,n=e.duration,r=e.attributeName,o=e.to,i=e.easing,a=e.onAnimationStart,u=e.onAnimationEnd,s=e.steps,c=e.children,l=this.manager;if(this.unSubscribe=l.subscribe(this.handleStyleChange),"function"!==typeof i&&"function"!==typeof c&&"spring"!==i)if(s.length>1)this.runStepAnimation(e);else{var f=r?Wc({},r,o):o,p=Ec(Object.keys(f),n,i);l.start([a,t,Hc({},f,{transition:p}),n,u])}else this.runJSAnimation(e)}},{key:"handleStyleChange",value:function(e){this.changeStyle(e)}},{key:"changeStyle",value:function(e){this.mounted&&this.setState({style:e})}},{key:"render",value:function(){var e=this.props,t=e.children,n=(e.begin,e.duration,e.attributeName,e.easing,e.isActive),r=(e.steps,e.from,e.to,e.canBegin,e.onAnimationEnd,e.shouldReAnimate,e.onAnimationReStart,zc(e,["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"])),o=u.Children.count(t),i=Oc(this.state.style);if("function"===typeof t)return t(i);if(!n||0===o)return t;var a=function(e){var t=e.props,n=t.style,o=void 0===n?{}:n,a=t.className;return Object(u.cloneElement)(e,Hc({},r,{style:Hc({},o,i),className:a}))};return 1===o?a(u.Children.only(t)):s.a.createElement("div",null,u.Children.map(t,(function(e){return a(e)})))}}])&&Gc(n.prototype,r),o&&Gc(n,o),t}(u.PureComponent);Qc.displayName="Animate",Qc.propTypes={from:l.a.oneOfType([l.a.object,l.a.string]),to:l.a.oneOfType([l.a.object,l.a.string]),attributeName:l.a.string,duration:l.a.number,begin:l.a.number,easing:l.a.oneOfType([l.a.string,l.a.func]),steps:l.a.arrayOf(l.a.shape({duration:l.a.number.isRequired,style:l.a.object.isRequired,easing:l.a.oneOfType([l.a.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),l.a.func]),properties:l.a.arrayOf("string"),onAnimationEnd:l.a.func})),children:l.a.oneOfType([l.a.node,l.a.func]),isActive:l.a.bool,canBegin:l.a.bool,onAnimationEnd:l.a.func,shouldReAnimate:l.a.bool,onAnimationStart:l.a.func,onAnimationReStart:l.a.func},Qc.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};var Jc=Qc,Zc=n(137);function el(e){return(el="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 tl(){return(tl=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function rl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ol(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function il(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=e.steps,n=e.duration;return t&&t.length?t.reduce((function(e,t){return e+(O()(t.duration)&&t.duration>0?t.duration:0)}),0):O()(n)?n:0},ll=function(e){function t(){var e,n;ol(this,t);for(var r=arguments.length,o=new Array(r),i=0;i=0;--t)o[t]=(a[t]-o[t+1])/i[t];for(i[r-1]=(e[r]+o[r-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};function Ml(e){return e[0]}function Dl(e){return e[1]}var Nl=function(){var e=Ml,t=Dl,n=Zi(!0),r=null,o=xl,i=null;function a(a){var u,s,c,l=a.length,f=!1;for(null==r&&(i=o(c=Va())),u=0;u<=l;++u)!(u=l;--f)u.point(m[f],y[f]);u.lineEnd(),u.areaEnd()}v&&(m[c]=+e(p,c,s),y[c]=+n(p,c,s),u.point(t?+t(p,c,s):m[c],r?+r(p,c,s):y[c]))}if(d)return u=null,d+""||null}function c(){return Nl().defined(o).curve(a).context(i)}return s.x=function(n){return arguments.length?(e="function"===typeof n?n:Zi(+n),t=null,s):e},s.x0=function(t){return arguments.length?(e="function"===typeof t?t:Zi(+t),s):e},s.x1=function(e){return arguments.length?(t=null==e?null:"function"===typeof e?e:Zi(+e),s):t},s.y=function(e){return arguments.length?(n="function"===typeof e?e:Zi(+e),r=null,s):n},s.y0=function(e){return arguments.length?(n="function"===typeof e?e:Zi(+e),s):n},s.y1=function(e){return arguments.length?(r=null==e?null:"function"===typeof e?e:Zi(+e),s):r},s.lineX0=s.lineY0=function(){return c().x(e).y(n)},s.lineY1=function(){return c().x(e).y(r)},s.lineX1=function(){return c().x(t).y(n)},s.defined=function(e){return arguments.length?(o="function"===typeof e?e:Zi(!!e),s):o},s.curve=function(e){return arguments.length?(a=e,null!=i&&(u=a(i)),s):a},s.context=function(e){return arguments.length?(null==e?i=u=null:u=a(i=e),s):i},s};function Ll(e){return(Ll="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 Il(){return(Il=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var mf={id:l.a.string,data:l.a.arrayOf(l.a.object),valueAccessor:l.a.func,clockWise:l.a.bool,dataKey:l.a.oneOfType([l.a.string,l.a.number,l.a.func])},yf={valueAccessor:function(e){return g()(e.value)?cf()(e.value):e.value}};function gf(e){var t=e.data,n=e.valueAccessor,r=e.dataKey,o=e.clockWise,i=e.id,a=vf(e,["data","valueAccessor","dataKey","clockWise","id"]);return t&&t.length?s.a.createElement(K,{className:"recharts-label-list"},t.map((function(e,t){var u=J()(r)?n(e,t):Mu(e&&e.payload,r),c=J()(i)?{}:{id:"".concat(i,"-").concat(t)};return s.a.createElement(ws,ff({},pe(e),a,c,{index:t,value:u,viewBox:ws.parseViewBox(J()(o)?e:df({},e,{clockWise:o})),key:"label-".concat(t)}))}))):null}gf.propTypes=mf,gf.displayName="LabelList";var bf=function(e,t){return e?!0===e?s.a.createElement(gf,{key:"labelList-implicit",data:t}):s.a.isValidElement(e)||W()(e)?s.a.createElement(gf,{key:"labelList-implicit",data:t,content:e}):ee()(e)?s.a.createElement(gf,ff({data:t},e,{key:"labelList-implicit"})):null:null};gf.renderCallByParent=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&n&&!e.label)return null;var r=e.children,o=le(r,gf).map((function(e,n){return Object(u.cloneElement)(e,{data:t,key:"labelList-".concat(n)})}));if(!n)return o;var i=bf(e.label,t);return[i].concat(lf(o))},gf.defaultProps=yf;var wf=gf;function xf(e){return(xf="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 Of(){return(Of=Object.assign||function(e){for(var t=1;t0||!Xe()(u,r)||!Xe()(s,o))?this.renderAreaWithAnimation(e,t):this.renderAreaStatically(r,o,e,t)}},{key:"render",value:function(){var e=this.props,t=e.hide,n=e.dot,r=e.points,o=e.className,i=e.top,a=e.left,u=e.xAxis,c=e.yAxis,l=e.width,f=e.height,d=e.isAnimationActive,h=e.id;if(t||!r||!r.length)return null;var v=this.state.isAnimationFinished,m=1===r.length,y=p()("recharts-area",o),g=u&&u.allowDataOverflow||c&&c.allowDataOverflow,b=J()(h)?this.id:h;return s.a.createElement(K,{className:y},g?s.a.createElement("defs",null,s.a.createElement("clipPath",{id:"clipPath-".concat(b)},s.a.createElement("rect",{x:a,y:i,width:l,height:parseInt(f,10)}))):null,m?null:this.renderArea(g,b),(n||m)&&this.renderDots(g,b),(!d||v)&&wf.renderCallByParent(this.props,r))}}])&&Tf(n.prototype,r),o&&Tf(n,o),t}(u.PureComponent);Pf.displayName="Area",Pf.propTypes=kf({},oe,{},ie,{className:l.a.string,dataKey:l.a.oneOfType([l.a.string,l.a.number,l.a.func]).isRequired,type:l.a.oneOfType([l.a.oneOf(["basis","basisClosed","basisOpen","linear","linearClosed","natural","monotoneX","monotoneY","monotone","step","stepBefore","stepAfter"]),l.a.func]),unit:l.a.oneOfType([l.a.string,l.a.number]),name:l.a.oneOfType([l.a.string,l.a.number]),yAxisId:l.a.oneOfType([l.a.string,l.a.number]),xAxisId:l.a.oneOfType([l.a.string,l.a.number]),yAxis:l.a.object,xAxis:l.a.object,stackId:l.a.oneOfType([l.a.number,l.a.string]),legendType:l.a.oneOf(ue),tooltipType:l.a.oneOf(se),connectNulls:l.a.bool,activeDot:l.a.oneOfType([l.a.object,l.a.element,l.a.func,l.a.bool]),dot:l.a.oneOfType([l.a.func,l.a.element,l.a.object,l.a.bool]),label:l.a.oneOfType([l.a.func,l.a.element,l.a.object,l.a.bool]),hide:l.a.bool,layout:l.a.oneOf(["horizontal","vertical"]),baseLine:l.a.oneOfType([l.a.number,l.a.array]),isRange:l.a.bool,points:l.a.arrayOf(l.a.shape({x:l.a.number,y:l.a.number,value:l.a.oneOfType([l.a.number,l.a.array])})),onAnimationStart:l.a.func,onAnimationEnd:l.a.func,animationId:l.a.number,isAnimationActive:l.a.bool,animationBegin:l.a.number,animationDuration:l.a.number,animationEasing:l.a.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),id:l.a.string}),Pf.defaultProps={stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!ge(),animationBegin:0,animationDuration:1500,animationEasing:"ease"},Pf.getBaseValue=function(e,t,n){var r=e.layout,o=e.baseValue;if(T(o))return o;var i="horizontal"===r?n:t,a=i.scale.domain();if("number"===i.type){var u=Math.max(a[0],a[1]),s=Math.min(a[0],a[1]);return"dataMin"===o?s:"dataMax"===o||u<0?u:Math.max(Math.min(a[0],a[1]),0)}return"dataMin"===o?a[0]:"dataMax"===o?a[1]:a[0]},Pf.getComposedData=function(e){var t,n=e.props,r=e.xAxis,o=e.yAxis,i=e.xAxisTicks,a=e.yAxisTicks,u=e.bandSize,s=e.dataKey,c=e.stackedData,l=e.dataStartIndex,f=e.displayedData,p=e.offset,d=n.layout,h=c&&c.length,v=Pf.getBaseValue(n,r,o),y=!1,b=f.map((function(e,t){var n;return h?n=c[l+t]:(n=Mu(e,s),g()(n)?y=!0:n=[v,n]),"horizontal"===d?{x:Yu({axis:r,ticks:i,bandSize:u,entry:e,index:t}),y:J()(n[1])?null:o.scale(n[1]),value:n,payload:e}:{x:J()(n[1])?null:r.scale(n[1]),y:Yu({axis:o,ticks:a,bandSize:u,entry:e,index:t}),value:n,payload:e}}));return t=h||y?b.map((function(e){return"horizontal"===d?{x:e.x,y:J()(m()(e,"value[0]"))?null:o.scale(m()(e,"value[0]"))}:{x:J()(m()(e,"value[0]"))?null:r.scale(m()(e,"value[0]")),y:e.y}})):"horizontal"===d?o.scale(v):r.scale(v),kf({points:b,baseLine:t,layout:d,isRange:y},p)},Pf.renderDotItem=function(e,t){return s.a.isValidElement(e)?s.a.cloneElement(e,t):W()(e)?e(t):s.a.createElement(uf,Of({},t,{className:"recharts-area-dot"}))};var Mf=Pf;function Df(e){return(Df="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 Nf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rf(e,t){for(var n=0;nl[t]+o?Math.max(f,l[t]):Math.max(p,l[t])},n}var n,r,o;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&&Op(e,t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"updateBBox",value:function(){var e=this.state,t=e.boxWidth,n=e.boxHeight;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var r=this.wrapperNode.getBoundingClientRect();(Math.abs(r.width-t)>1||Math.abs(r.height-n)>1)&&this.setState({boxWidth:r.width,boxHeight:r.height})}else-1===t&&-1===n||this.setState({boxWidth:-1,boxHeight:-1})}},{key:"render",value:function(){var e,t,n,r=this,o=this.props,i=o.payload,a=o.isAnimationActive,u=o.animationDuration,c=o.animationEasing,l=o.filterNull,f=function(e,t){return!0===e?ha()(t,kp):W()(e)?ha()(t,e):t}(o.paylodUniqBy,l&&i&&i.length?i.filter((function(e){return!J()(e.value)})):i),d=f&&f.length,h=this.props,v=h.content,m=h.viewBox,y=h.coordinate,g=h.position,b=h.active,w=mp({pointerEvents:"none",visibility:b&&d?"visible":"hidden",position:"absolute",top:0},h.wrapperStyle);if(g&&T(g.x)&&T(g.y))t=g.x,n=g.y;else{var x=this.state,O=x.boxWidth,E=x.boxHeight;O>0&&E>0&&y?(t=this.getTranslate({key:"x",tooltipDimension:O,viewBoxDimension:m.width}),n=this.getTranslate({key:"y",tooltipDimension:E,viewBoxDimension:m.height})):w.visibility="hidden"}w=mp({},Oc({transform:this.props.useTranslate3d?"translate3d(".concat(t,"px, ").concat(n,"px, 0)"):"translate(".concat(t,"px, ").concat(n,"px)")}),{},w),a&&b&&(w=mp({},Oc({transition:"transform ".concat(u,"ms ").concat(c)}),{},w));var k=p()(Ep,(yp(e={},"".concat(Ep,"-right"),T(t)&&y&&T(y.x)&&t>=y.x),yp(e,"".concat(Ep,"-left"),T(t)&&y&&T(y.x)&&t=y.y),yp(e,"".concat(Ep,"-top"),T(n)&&y&&T(y.y)&&n180),",").concat(+(i>u),",\n ").concat(c.x,",").concat(c.y,"\n ");if(r>0){var f=is(t,n,r,i),p=is(t,n,r,u);l+="L ".concat(p.x,",").concat(p.y,"\n A ").concat(r,",").concat(r,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(i<=u),",\n ").concat(f.x,",").concat(f.y," Z")}else l+="L ".concat(t,",").concat(n," Z");return l},Qp=function(e){function t(){return Hp(this,t),Gp(this,Yp(t).apply(this,arguments))}var n,r,o;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&&Xp(e,t)}(t,e),n=t,(r=[{key:"render",value:function(){var e=this.props,t=e.cx,n=e.cy,r=e.innerRadius,o=e.outerRadius,i=e.cornerRadius,a=e.forceCornerRadius,u=e.cornerIsExternal,c=e.startAngle,l=e.endAngle,f=e.className;if(o0&&Math.abs(c-l)<360?function(e){var t=e.cx,n=e.cy,r=e.innerRadius,o=e.outerRadius,i=e.cornerRadius,a=e.forceCornerRadius,u=e.cornerIsExternal,s=e.startAngle,c=e.endAngle,l=_(c-s),f=$p({cx:t,cy:n,radius:o,angle:s,sign:l,cornerRadius:i,cornerIsExternal:u}),p=f.circleTangency,d=f.lineTangency,h=f.theta,v=$p({cx:t,cy:n,radius:o,angle:c,sign:-l,cornerRadius:i,cornerIsExternal:u}),m=v.circleTangency,y=v.lineTangency,g=v.theta,b=Math.abs(s-c)-h-g;if(b<0)return a?"M ".concat(d.x,",").concat(d.y,"\n a").concat(i,",").concat(i,",0,0,1,").concat(2*i,",0\n a").concat(i,",").concat(i,",0,0,1,").concat(2*-i,",0\n "):Kp({cx:t,cy:n,innerRadius:r,outerRadius:o,startAngle:s,endAngle:c});var w="M ".concat(d.x,",").concat(d.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(l<0),",").concat(p.x,",").concat(p.y,"\n A").concat(o,",").concat(o,",0,").concat(+(b>180),",").concat(+(l<0),",").concat(m.x,",").concat(m.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(l<0),",").concat(y.x,",").concat(y.y,"\n ");if(r>0){var x=$p({cx:t,cy:n,radius:r,angle:s,sign:l,isExternal:!0,cornerRadius:i,cornerIsExternal:u}),O=x.circleTangency,E=x.lineTangency,k=x.theta,S=$p({cx:t,cy:n,radius:r,angle:c,sign:-l,isExternal:!0,cornerRadius:i,cornerIsExternal:u}),T=S.circleTangency,C=S.lineTangency,A=S.theta,j=Math.abs(s-c)-k-A;if(j<0)return"".concat(w,"L").concat(t,",").concat(n,"Z");w+="L".concat(C.x,",").concat(C.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(l<0),",").concat(T.x,",").concat(T.y,"\n A").concat(r,",").concat(r,",0,").concat(+(j>180),",").concat(+(l>0),",").concat(O.x,",").concat(O.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(l<0),",").concat(E.x,",").concat(E.y,"Z")}else w+="L".concat(t,",").concat(n,"Z");return w}({cx:t,cy:n,innerRadius:r,outerRadius:o,cornerRadius:Math.min(m,v/2),forceCornerRadius:a,cornerIsExternal:u,startAngle:c,endAngle:l}):Kp({cx:t,cy:n,innerRadius:r,outerRadius:o,startAngle:c,endAngle:l}),s.a.createElement("path",Vp({},pe(this.props),he(this.props),{className:h,d:d}))}}])&&Wp(n.prototype,r),o&&Wp(n,o),t}(u.PureComponent);Qp.displayName="Sector",Qp.propTypes=function(e){for(var t=1;t=0?1:-1,s=n>=0?1:-1,c=r>=0&&n>=0||r<0&&n<0?1:0;if(a>0&&o instanceof Array){for(var l=[],f=0;f<4;f++)l[f]=o[f]>a?a:o[f];i="M".concat(e,",").concat(t+u*l[0]),l[0]>0&&(i+="A ".concat(l[0],",").concat(l[0],",0,0,").concat(c,",").concat(e+s*l[0],",").concat(t)),i+="L ".concat(e+n-s*l[1],",").concat(t),l[1]>0&&(i+="A ".concat(l[1],",").concat(l[1],",0,0,").concat(c,",\n ").concat(e+n,",").concat(t+u*l[1])),i+="L ".concat(e+n,",").concat(t+r-u*l[2]),l[2]>0&&(i+="A ".concat(l[2],",").concat(l[2],",0,0,").concat(c,",\n ").concat(e+n-s*l[2],",").concat(t+r)),i+="L ".concat(e+s*l[3],",").concat(t+r),l[3]>0&&(i+="A ".concat(l[3],",").concat(l[3],",0,0,").concat(c,",\n ").concat(e,",").concat(t+r-u*l[3])),i+="Z"}else if(a>0&&o===+o&&o>0){var p=Math.min(a,o);i="M ".concat(e,",").concat(t+u*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(c,",").concat(e+s*p,",").concat(t,"\n L ").concat(e+n-s*p,",").concat(t,"\n A ").concat(p,",").concat(p,",0,0,").concat(c,",").concat(e+n,",").concat(t+u*p,"\n L ").concat(e+n,",").concat(t+r-u*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(c,",").concat(e+n-s*p,",").concat(t+r,"\n L ").concat(e+s*p,",").concat(t+r,"\n A ").concat(p,",").concat(p,",0,0,").concat(c,",").concat(e,",").concat(t+r-u*p," Z")}else i="M ".concat(e,",").concat(t," h ").concat(n," v ").concat(r," h ").concat(-n," Z");return i},cd=function(e){function t(){var e,n;rd(this,t);for(var r=arguments.length,o=new Array(r),i=0;i0,from:{width:o,height:i,x:n,y:r},to:{width:o,height:i,x:n,y:r},duration:d,animationEasing:f,isActive:m},(function(t){var n=t.width,r=t.height,o=t.x,i=t.y;return s.a.createElement(dl,{canBegin:c>0,from:"0px ".concat(-1===c?1:c,"px"),to:"".concat(c,"px 0px"),attributeName:"strokeDasharray",begin:h,duration:d,isActive:v,easing:f},s.a.createElement("path",nd({},pe(e.props),he(e.props),{className:y,d:sd(o,i,n,r,a),ref:function(t){e.node=t}})))})):s.a.createElement("path",nd({},pe(this.props),he(this.props),{className:y,d:sd(n,r,o,i,a)}))}}])&&od(n.prototype,r),o&&od(n,o),t}(u.PureComponent);cd.displayName="Rectangle",cd.propTypes=function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function yd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gd(e,t){for(var n=0;n=2?_(v[1].coordinate-v[0].coordinate):1;if(1===g?(n="width"===h?l:f,r="width"===h?l+p:f+d):(n="width"===h?l+p:f+d,r="width"===h?l:f),t){var b=o[y-1],w=W()(i)?i(b.value):b.value,x=Ne(w)[h]+m,O=g*(b.coordinate+g*x/2-r);v[y-1]=b=hd({},b,{tickCoord:O>0?b.coordinate-O*g:b.coordinate}),g*(b.tickCoord-g*x/2-n)>=0&&g*(b.tickCoord+g*x/2-r)<=0&&(r=b.tickCoord-g*(x/2+s),v[y-1]=hd({},b,{isShow:!0}))}for(var E=t?y-1:y,k=0;k=0&&g*(S.tickCoord+g*C/2-r)<=0&&(n=S.tickCoord+g*(C/2+s),v[k]=hd({},S,{isShow:!0}))}return v.filter((function(e){return e.isShow}))}},{key:"getTicksEnd",value:function(e){var t,n,r=e.ticks,o=e.tickFormatter,i=e.viewBox,a=e.orientation,u=e.minTickGap,s=e.unit,c=i.x,l=i.y,f=i.width,p=i.height,d="top"===a||"bottom"===a?"width":"height",h=s&&"width"===d?Ne(s)[d]:0,v=(r||[]).slice(),m=v.length,y=m>=2?_(v[1].coordinate-v[0].coordinate):1;1===y?(t="width"===d?c:l,n="width"===d?c+f:l+p):(t="width"===d?c+f:l+p,n="width"===d?c:l);for(var g=m-1;g>=0;g--){var b=v[g],w=W()(o)?o(b.value):b.value,x=Ne(w)[d]+h;if(g===m-1){var O=y*(b.coordinate+y*x/2-n);v[g]=b=hd({},b,{tickCoord:O>0?b.coordinate-O*y:b.coordinate})}else v[g]=b=hd({},b,{tickCoord:b.coordinate});y*(b.tickCoord-y*x/2-t)>=0&&y*(b.tickCoord+y*x/2-n)<=0&&(n=b.tickCoord-y*(x/2+u),v[g]=hd({},b,{isShow:!0}))}return v.filter((function(e){return e.isShow}))}},{key:"renderTickItem",value:function(e,t,n){return s.a.isValidElement(e)?s.a.cloneElement(e,t):W()(e)?e(t):s.a.createElement(Ge,pd({},t,{className:"recharts-cartesian-axis-tick-value"}),n)}}],(r=[{key:"shouldComponentUpdate",value:function(e,t){var n=e.viewBox,r=md(e,["viewBox"]),o=this.props,i=o.viewBox,a=md(o,["viewBox"]);return!te(n,i)||!te(r,a)||!te(t,this.state)}},{key:"getTickLineCoord",value:function(e){var t,n,r,o,i,a,u=this.props,s=u.x,c=u.y,l=u.width,f=u.height,p=u.orientation,d=u.tickSize,h=u.mirror,v=u.tickMargin,m=h?-1:1,y=e.tickSize||d,g=T(e.tickCoord)?e.tickCoord:e.coordinate;switch(p){case"top":t=n=e.coordinate,a=(r=(o=c+!h*f)-m*y)-m*v,i=g;break;case"left":r=o=e.coordinate,i=(t=(n=s+!h*l)-m*y)-m*v,a=g;break;case"right":r=o=e.coordinate,i=(t=(n=s+h*l)+m*y)+m*v,a=g;break;default:t=n=e.coordinate,a=(r=(o=c+h*f)+m*y)+m*v,i=g}return{line:{x1:t,y1:r,x2:n,y2:o},tick:{x:i,y:a}}}},{key:"getTickTextAnchor",value:function(){var e,t=this.props,n=t.orientation,r=t.mirror;switch(n){case"left":e=r?"start":"end";break;case"right":e=r?"end":"start";break;default:e="middle"}return e}},{key:"getTickVerticalAnchor",value:function(){var e=this.props,t=e.orientation,n=e.mirror,r="end";switch(t){case"left":case"right":r="middle";break;case"top":r=n?"start":"end";break;default:r=n?"end":"start"}return r}},{key:"renderAxisLine",value:function(){var e=this.props,t=e.x,n=e.y,r=e.width,o=e.height,i=e.orientation,a=e.axisLine,u=e.mirror,c=hd({},pe(this.props),{fill:"none"},pe(a));if("top"===i||"bottom"===i){var l="top"===i&&!u||"bottom"===i&&u;c=hd({},c,{x1:t,y1:n+l*o,x2:t+r,y2:n+l*o})}else{var f="left"===i&&!u||"right"===i&&u;c=hd({},c,{x1:t+f*r,y1:n,x2:t+f*r,y2:n+o})}return s.a.createElement("line",pd({className:"recharts-cartesian-axis-line"},c))}},{key:"renderTicks",value:function(e){var n=this,r=this.props,o=r.tickLine,i=r.stroke,a=r.tick,u=r.tickFormatter,c=r.unit,l=t.getTicks(hd({},this.props,{ticks:e})),f=this.getTickTextAnchor(),p=this.getTickVerticalAnchor(),d=pe(this.props),h=pe(a),v=hd({},d,{fill:"none"},pe(o)),m=l.map((function(e,t){var r=n.getTickLineCoord(e),m=r.line,y=r.tick,g=hd({textAnchor:f,verticalAnchor:p},d,{stroke:"none",fill:i},h,{},y,{index:t,payload:e,visibleTicksCount:l.length});return s.a.createElement(K,pd({className:"recharts-cartesian-axis-tick",key:"tick-".concat(t)},me(n.props,e,t)),o&&s.a.createElement("line",pd({className:"recharts-cartesian-axis-tick-line"},v,m)),a&&n.constructor.renderTickItem(a,g,"".concat(W()(u)?u(e.value):e.value).concat(c||"")))}));return s.a.createElement("g",{className:"recharts-cartesian-axis-ticks"},m)}},{key:"render",value:function(){var e=this.props,t=e.axisLine,n=e.width,r=e.height,o=e.ticksGenerator,i=e.className;if(e.hide)return null;var a=this.props,u=a.ticks,c=md(a,["ticks"]),l=u;return W()(o)&&(l=u&&u.length>0?o(this.props):o(c)),n<=0||r<=0||!l||!l.length?null:s.a.createElement(K,{className:p()("recharts-cartesian-axis",i)},t&&this.renderAxisLine(),this.renderTicks(l),ws.renderCallByParent(this.props))}}])&&gd(n.prototype,r),o&&gd(n,o),t}(u.Component);Od.displayName="CartesianAxis",Od.propTypes=hd({},oe,{},ie,{className:l.a.string,x:l.a.number,y:l.a.number,width:l.a.number,height:l.a.number,orientation:l.a.oneOf(["top","bottom","left","right"]),viewBox:l.a.shape({x:l.a.number,y:l.a.number,width:l.a.number,height:l.a.number}),tick:l.a.oneOfType([l.a.bool,l.a.func,l.a.object,l.a.element]),axisLine:l.a.oneOfType([l.a.bool,l.a.object]),tickLine:l.a.oneOfType([l.a.bool,l.a.object]),mirror:l.a.bool,tickMargin:l.a.number.isRequired,minTickGap:l.a.number,ticks:l.a.array,tickSize:l.a.number,stroke:l.a.string,tickFormatter:l.a.func,ticksGenerator:l.a.func,interval:l.a.oneOfType([l.a.number,l.a.oneOf(["preserveStart","preserveEnd","preserveStartEnd"])])}),Od.defaultProps={x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"};var Ed=Od;function kd(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,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Sd=["Webkit","Moz","O","ms"],Td=function(e,t){if(!e)return null;var n=e.replace(/(\w)/,(function(e){return e.toUpperCase()})),r=Sd.reduce((function(e,r){return function(e){for(var t=1;t0&&n.handleDrag(e.changedTouches[0])},n.handleDragEnd=function(){n.setState({isTravellerMoving:!1,isSlideMoving:!1})},n.handleLeaveWrapper=function(){(n.state.isTravellerMoving||n.state.isSlideMoving)&&(n.leaveTimer=setTimeout(n.handleDragEnd,n.props.leaveTimeOut))},n.handleEnterSlideOrTraveller=function(){n.setState({isTextActive:!0})},n.handleLeaveSlideOrTraveller=function(){n.setState({isTextActive:!1})},n.handleSlideDragStart=function(e){var t=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e;n.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:t.pageX})},n.travellerDragStartHandlers={startX:n.handleTravellerDragStart.bind(Dd(n),"startX"),endX:n.handleTravellerDragStart.bind(Dd(n),"endX")},n.state=e.data&&e.data.length?n.updateScale(e):{},n}var n,r,o;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&&Nd(e,t)}(t,e),n=t,o=[{key:"getIndexInRange",value:function(e,t){for(var n=0,r=e.length-1;r-n>1;){var o=Math.floor((n+r)/2);e[o]>t?r=o:n=o}return t>=e[r]?r:n}}],(r=[{key:"componentWillReceiveProps",value:function(e){var t=this,n=this.props,r=n.data,o=n.width,i=n.x,a=n.travellerWidth,u=n.updateId;(e.data!==r||e.updateId!==u)&&e.data&&e.data.length?this.setState(this.updateScale(e)):e.width===o&&e.x===i&&e.travellerWidth===a||(this.scale.range([e.x,e.x+e.width-e.travellerWidth]),this.scaleValues=this.scale.domain().map((function(e){return t.scale(e)})),this.setState({startX:this.scale(e.startIndex),endX:this.scale(e.endIndex)}))}},{key:"componentWillUnmount",value:function(){this.scale=null,this.scaleValues=null,this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null)}},{key:"getIndex",value:function(e){var t=e.startX,n=e.endX,r=this.props,o=r.gap,i=r.data.length-1,a=Math.min(t,n),u=Math.max(t,n),s=this.constructor.getIndexInRange(this.scaleValues,a),c=this.constructor.getIndexInRange(this.scaleValues,u);return{startIndex:s-s%o,endIndex:c===i?i:c-c%o}}},{key:"getTextOfTick",value:function(e){var t=this.props,n=t.data,r=t.tickFormatter,o=t.dataKey,i=Mu(n[e],o,e);return W()(r)?r(i):i}},{key:"handleSlideDrag",value:function(e){var t=this.state,n=t.slideMoveStartX,r=t.startX,o=t.endX,i=this.props,a=i.x,u=i.width,s=i.travellerWidth,c=i.startIndex,l=i.endIndex,f=i.onChange,p=e.pageX-n;p>0?p=Math.min(p,a+u-s-o,a+u-s-r):p<0&&(p=Math.max(p,a-r,a-o));var d=this.getIndex({startX:r+p,endX:o+p});d.startIndex===c&&d.endIndex===l||!f||f(d),this.setState({startX:r+p,endX:o+p,slideMoveStartX:e.pageX})}},{key:"handleTravellerDragStart",value:function(e,t){var n=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:e,brushMoveStartX:n.pageX})}},{key:"handleTravellerMove",value:function(e){var t,n=this.state,r=n.brushMoveStartX,o=n.movingTravellerId,i=n.endX,a=n.startX,u=this.state[o],s=this.props,c=s.x,l=s.width,f=s.travellerWidth,p=s.onChange,d=s.gap,h=s.data,v={startX:this.state.startX,endX:this.state.endX},m=e.pageX-r;m>0?m=Math.min(m,c+l-f-u):m<0&&(m=Math.max(m,c-u)),v[o]=u+m;var y=this.getIndex(v),g=y.startIndex,b=y.endIndex;this.setState((jd(t={},o,u+m),jd(t,"brushMoveStartX",e.pageX),t),(function(){p&&function(){var e=h.length-1;return"startX"===o&&(i>a?g%d===0:b%d===0)||ia?b%d===0:g%d===0)||i>a&&b===e}()&&p(y)}))}},{key:"updateScale",value:function(e){var t=this,n=e.data,r=e.startIndex,o=e.endIndex,i=e.x,a=e.width,u=e.travellerWidth,s=n.length;return this.scale=Nt().domain(Jf()(0,s)).range([i,i+a-u]),this.scaleValues=this.scale.domain().map((function(e){return t.scale(e)})),{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,startX:this.scale(r),endX:this.scale(o)}}},{key:"renderBackground",value:function(){var e=this.props,t=e.x,n=e.y,r=e.width,o=e.height,i=e.fill,a=e.stroke;return s.a.createElement("rect",{stroke:a,fill:i,x:t,y:n,width:r,height:o})}},{key:"renderPanorama",value:function(){var e=this.props,t=e.x,n=e.y,r=e.width,o=e.height,i=e.data,a=e.children,c=e.padding,l=u.Children.only(a);return l?s.a.cloneElement(l,{x:t,y:n,width:r,height:o,margin:c,compact:!0,data:i}):null}},{key:"renderTraveller",value:function(e,t){var n=this.props,r=n.y,o=n.travellerWidth,i=n.height,a=n.stroke,u=Math.floor(r+i/2)-1,c=Math.max(e,this.props.x);return s.a.createElement(K,{className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[t],onTouchStart:this.travellerDragStartHandlers[t],style:{cursor:"col-resize"}},s.a.createElement("rect",{x:c,y:r,width:o,height:i,fill:a,stroke:"none"}),s.a.createElement("line",{x1:c+1,y1:u,x2:c+o-1,y2:u,fill:"none",stroke:"#fff"}),s.a.createElement("line",{x1:c+1,y1:u+2,x2:c+o-1,y2:u+2,fill:"none",stroke:"#fff"}))}},{key:"renderSlide",value:function(e,t){var n=this.props,r=n.y,o=n.height,i=n.stroke;return s.a.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:i,fillOpacity:.2,x:Math.min(e,t),y:r,width:Math.abs(t-e),height:o})}},{key:"renderText",value:function(){var e=this.props,t=e.startIndex,n=e.endIndex,r=e.y,o=e.height,i=e.travellerWidth,a=e.stroke,u=this.state,c=u.startX,l=u.endX,f={pointerEvents:"none",fill:a};return s.a.createElement(K,{className:"recharts-brush-texts"},s.a.createElement(Ge,Ad({textAnchor:"end",verticalAnchor:"middle",x:Math.min(c,l)-5,y:r+o/2},f),this.getTextOfTick(t)),s.a.createElement(Ge,Ad({textAnchor:"start",verticalAnchor:"middle",x:Math.max(c,l)+i+5,y:r+o/2},f),this.getTextOfTick(n)))}},{key:"render",value:function(){var e=this.props,t=e.data,n=e.className,r=e.children,o=e.x,i=e.y,a=e.width,u=e.height,c=e.alwaysShowText,l=this.state,f=l.startX,d=l.endX,h=l.isTextActive,v=l.isSlideMoving,m=l.isTravellerMoving;if(!t||!t.length||!T(o)||!T(i)||!T(a)||!T(u)||a<=0||u<=0)return null;var y=p()("recharts-brush",n),g=1===s.a.Children.count(r),b=Td("userSelect","none");return s.a.createElement(K,{className:y,onMouseMove:this.handleDrag,onMouseLeave:this.handleLeaveWrapper,onMouseUp:this.handleDragEnd,onTouchEnd:this.handleDragEnd,onTouchMove:this.handleTouchMove,style:b},this.renderBackground(),g&&this.renderPanorama(),this.renderSlide(f,d),this.renderTraveller(f,"startX"),this.renderTraveller(d,"endX"),(h||v||m||c)&&this.renderText())}}])&&Pd(n.prototype,r),o&&Pd(n,o),t}(u.PureComponent);Rd.displayName="Brush",Rd.propTypes={className:l.a.string,fill:l.a.string,stroke:l.a.string,x:l.a.number,y:l.a.number,width:l.a.number,height:l.a.number.isRequired,travellerWidth:l.a.number,gap:l.a.number,padding:l.a.shape({top:l.a.number,right:l.a.number,bottom:l.a.number,left:l.a.number}),dataKey:l.a.oneOfType([l.a.string,l.a.number,l.a.func]),data:l.a.array,startIndex:l.a.number,endIndex:l.a.number,tickFormatter:l.a.func,children:l.a.node,onChange:l.a.func,updateId:l.a.oneOfType([l.a.string,l.a.number]),leaveTimeOut:l.a.number,alwaysShowText:l.a.bool},Rd.defaultProps={height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1};var Ld=Rd;function Id(e){return(Id="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 Bd(){return(Bd=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function dh(){return(dh=Object.assign||function(e){for(var t=1;t0&&n.handleMouseMove(e.changedTouches[0])},n.handleTouchStart=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&n.handleMouseDown(e.changedTouches[0])},n.handleTouchEnd=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&n.handleMouseUp(e.changedTouches[0])},n.verticalCoordinatesGenerator=function(e){var t=e.xAxis,n=e.width,r=e.height,o=e.offset;return Fu(Ed.getTicks(mh({},Ed.defaultProps,{},t,{ticks:Uu(t,!0),viewBox:{x:0,y:0,width:n,height:r}})),o.left,o.left+o.width)},n.horizontalCoordinatesGenerator=function(e){var t=e.yAxis,n=e.width,r=e.height,o=e.offset;return Fu(Ed.getTicks(mh({},Ed.defaultProps,{},t,{ticks:Uu(t,!0),viewBox:{x:0,y:0,width:n,height:r}})),o.top,o.top+o.height)},n.axesTicksGenerator=function(e){return Uu(e,!0)},n.tooltipTicksGenerator=function(e){var t=M(e),n=Uu(t,!1,!0);return{tooltipTicks:n,orderedTooltipTicks:Ke()(n,(function(e){return e.coordinate})),tooltipAxis:t,tooltipAxisBandSize:Ju(t)}},n.renderCursor=function(e){var r=n.state,o=r.isTooltipActive,i=r.activeCoordinate,a=r.activePayload,s=r.offset;if(!e||!e.props.cursor||!o||!i)return null;var c,l=n.props.layout,f=Ql;if("ScatterChart"===t)c=i,f=Fp;else if("BarChart"===t)c=n.getCursorRectangle(),f=ld;else if("radial"===l){var p=n.getCursorPoints(),d=p.cx,h=p.cy,v=p.radius;c={cx:d,cy:h,startAngle:p.startAngle,endAngle:p.endAngle,innerRadius:v,outerRadius:v},f=Jp}else c={points:n.getCursorPoints()},f=Ql;var m=e.key||"_recharts-cursor",y=mh({stroke:"#ccc",pointerEvents:"none"},s,{},c,{},pe(e.props.cursor),{payload:a,key:m,className:"recharts-tooltip-cursor"});return Object(u.isValidElement)(e.props.cursor)?Object(u.cloneElement)(e.props.cursor,y):Object(u.createElement)(f,y)},n.renderPolarAxis=function(e,t,r){var o=e.type.axisType,i=n.state["".concat(o,"Map")][e.props["".concat(o,"Id")]];return Object(u.cloneElement)(e,mh({},i,{className:o,key:e.key||"".concat(t,"-").concat(r),ticks:Uu(i,!0)}))},n.renderXAxis=function(e,t,r){var o=n.state.xAxisMap[e.props.xAxisId];return n.renderAxis(o,e,t,r)},n.renderYAxis=function(e,t,r){var o=n.state.yAxisMap[e.props.yAxisId];return n.renderAxis(o,e,t,r)},n.renderGrid=function(e){var t=n.state,r=t.xAxisMap,o=t.yAxisMap,i=t.offset,a=n.props,s=a.width,c=a.height,l=M(r),f=Kf()(o,(function(e){return Es()(e.domain,Number.isFinite)}))||M(o),p=e.props||{};return Object(u.cloneElement)(e,{key:e.key||"grid",x:T(p.x)?p.x:i.left,y:T(p.y)?p.y:i.top,width:T(p.width)?p.width:i.width,height:T(p.height)?p.height:i.height,xAxis:l,yAxis:f,offset:i,chartWidth:s,chartHeight:c,verticalCoordinatesGenerator:p.verticalCoordinatesGenerator||n.verticalCoordinatesGenerator,horizontalCoordinatesGenerator:p.horizontalCoordinatesGenerator||n.horizontalCoordinatesGenerator})},n.renderPolarGrid=function(e){var t=n.state,r=t.radiusAxisMap,o=t.angleAxisMap,i=M(r),a=M(o),s=a.cx,c=a.cy,l=a.innerRadius,f=a.outerRadius;return Object(u.cloneElement)(e,{polarAngles:Uu(a,!0).map((function(e){return e.coordinate})),polarRadius:Uu(i,!0).map((function(e){return e.coordinate})),cx:s,cy:c,innerRadius:l,outerRadius:f,key:e.key||"polar-grid"})},n.renderBrush=function(e){var t=n.props,r=t.margin,o=t.data,i=n.state,a=i.offset,s=i.dataStartIndex,c=i.dataEndIndex,l=i.updateId;return Object(u.cloneElement)(e,{key:e.key||"_recharts-brush",onChange:qu(n.handleBrushChange,null,e.props.onChange),data:o,x:T(e.props.x)?e.props.x:a.left,y:T(e.props.y)?e.props.y:a.top+a.height+a.brushBottom-(r.bottom||0),width:T(e.props.width)?e.props.width:a.width,startIndex:s,endIndex:c,updateId:"brush-".concat(l)})},n.renderReferenceElement=function(e,t,r){if(!e)return null;var o=wh(n).clipPathId,i=n.state,a=i.xAxisMap,s=i.yAxisMap,c=i.offset,l=e.props,f=l.xAxisId,p=l.yAxisId;return Object(u.cloneElement)(e,{key:e.key||"".concat(t,"-").concat(r),xAxis:a[f],yAxis:s[p],viewBox:{x:c.left,y:c.top,width:c.width,height:c.height},clipPathId:o})},n.renderGraphicChild=function(e,t,r){var o=n.filterFormatItem(e,t,r);if(!o)return null;var i=Object(u.cloneElement)(e,o.props),a=n.state,s=a.isTooltipActive,c=a.tooltipAxis,l=a.activeTooltipIndex,f=a.activeLabel,p=n.props.children,d=fe(p,Cp),h=o.props,v=h.points,m=h.isRange,y=h.baseLine,g=o.item.props,b=g.activeDot;if(!g.hide&&s&&d&&b&&l>=0){var w,x;if(c.dataKey&&!c.allowDuplicatedCategory){var O="function"===typeof c.dataKey?function(e){return c.dataKey(e.payload)}:"payload.".concat(c.dataKey);w=N(v,O,f),x=m&&y&&N(y,O,f)}else w=v[l],x=m&&y&&y[l];if(!J()(w))return[i].concat(hh(n.renderActivePoints({item:o,activePoint:w,basePoint:x,childIndex:l,isRange:m})))}return m?[i,null,null]:[i,null]},n.renderCustomized=function(e){return Object(u.cloneElement)(e,mh({},n.props,{},n.state))};var o=n.constructor.createDefaultState(e);return n.state=mh({},o,{updateId:0},n.updateStateOfAxisMapsOffsetAndStackGroups(mh({props:e},o,{updateId:0}))),n.uniqueChartId=J()(e.id)?j("recharts"):e.id,n.clipPathId="".concat(n.uniqueChartId,"-clip"),e.throttleDelay&&(n.triggeredAfterMouseMove=ep()(n.triggeredAfterMouseMove,e.throttleDelay)),n}var l,f,d;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&&xh(e,t)}(r,e),l=r,d=[{key:"getAxisNameByLayout",value:function(e){return"horizontal"===e?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===e?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===e?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}}},{key:"renderActiveDot",value:function(e,t){var n;return n=Object(u.isValidElement)(e)?Object(u.cloneElement)(e,t):W()(e)?e(t):s.a.createElement(uf,t),s.a.createElement(K,{className:"recharts-active-dot",key:t.key},n)}}],(f=[{key:"componentDidMount",value:function(){J()(this.props.syncId)||this.addListener()}},{key:"componentWillReceiveProps",value:function(e){var t=this,n=this.props,r=n.data,o=n.children,i=n.width,a=n.height,u=n.layout,s=n.stackOffset,c=n.margin,l=this.state.updateId;if(e.data===r&&e.width===i&&e.height===a&&e.layout===u&&e.stackOffset===s&&te(e.margin,c)){if(!xe(e.children,o)){var f=J()(e.data)?l+1:l;this.setState((function(n){return mh({updateId:f},t.updateStateOfAxisMapsOffsetAndStackGroups(mh({props:e},n,{updateId:f})))}))}}else{var p=this.constructor.createDefaultState(e);this.setState(mh({},p,{updateId:l+1},this.updateStateOfAxisMapsOffsetAndStackGroups(mh({props:e},p,{updateId:l+1}))))}J()(this.props.syncId)&&!J()(e.syncId)&&this.addListener(),!J()(this.props.syncId)&&J()(e.syncId)&&this.removeListener()}},{key:"componentWillUnmount",value:function(){J()(this.props.syncId)||this.removeListener(),"function"===typeof this.triggeredAfterMouseMove.cancel&&this.triggeredAfterMouseMove.cancel()}},{key:"getAxisMap",value:function(e,t){var n=t.axisType,r=void 0===n?"xAxis":n,o=t.AxisComp,i=t.graphicalItems,a=t.stackGroups,u=t.dataStartIndex,s=t.dataEndIndex,c=e.children,l="".concat(r,"Id"),f=le(c,o),p={};return f&&f.length?p=this.getAxisMapByAxes(e,{axes:f,graphicalItems:i,axisType:r,axisIdKey:l,stackGroups:a,dataStartIndex:u,dataEndIndex:s}):i&&i.length&&(p=this.getAxisMapByItems(e,{Axis:o,graphicalItems:i,axisType:r,axisIdKey:l,stackGroups:a,dataStartIndex:u,dataEndIndex:s})),p}},{key:"getAxisMapByAxes",value:function(e,t){var n=this,r=t.axes,o=t.graphicalItems,i=t.axisType,a=t.axisIdKey,u=t.stackGroups,s=t.dataStartIndex,c=t.dataEndIndex,l=e.layout,f=e.children,p=e.stackOffset,d=Bu(l,i);return r.reduce((function(t,r){var h=r.props,v=h.type,m=h.dataKey,y=h.allowDataOverflow,b=h.allowDuplicatedCategory,w=h.scale,x=h.ticks,O=r.props[a],E=n.constructor.getDisplayedData(e,{graphicalItems:o.filter((function(e){return e.props[a]===O})),dataStartIndex:s,dataEndIndex:c}),k=E.length;if(!t[O]){var _,S,T;if(m){if(_=Du(E,m,v),"category"===v&&d){var C=function(e){if(!g()(e))return!1;for(var t=e.length,n={},r=0;r=0?e:[].concat(hh(e),[t])}),[]))}else if("category"===v)_=b?_.filter((function(e){return""!==e&&!J()(e)})):Zu(r.props.domain,_,r).reduce((function(e,t){return e.indexOf(t)>=0||""===t||J()(t)?e:[].concat(hh(e),[t])}),[]);else if("number"===v){var A=function(e,t,n,r){var o=t.map((function(t){return Lu(e,t,n,r)})).filter((function(e){return!J()(e)}));return o&&o.length?o.reduce((function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}),[1/0,-1/0]):null}(E,o.filter((function(e){return e.props[a]===O&&!e.props.hide})),m,i);A&&(_=A)}!d||"number"!==v&&"auto"===w||(T=Du(E,m,"category"))}else _=d?Jf()(0,k):u&&u[O]&&u[O].hasStack&&"number"===v?"expand"===p?[0,1]:Xu(u[O].stackGroups,s,c):Iu(E,o.filter((function(e){return e.props[a]===O&&!e.props.hide})),v,!0);return"number"===v&&(_=uh(f,_,O,i,x),r.props.domain&&(_=Qu(r.props.domain,_,y))),mh({},t,yh({},O,mh({},r.props,{axisType:i,domain:_,categoricalDomain:T,duplicateDomain:S,originalDomain:r.props.domain,isCategorial:d,layout:l})))}return t}),{})}},{key:"getAxisMapByItems",value:function(e,t){var n=t.graphicalItems,r=t.Axis,o=t.axisType,i=t.axisIdKey,a=t.stackGroups,u=t.dataStartIndex,s=t.dataEndIndex,c=e.layout,l=e.children,f=this.constructor.getDisplayedData(e,{graphicalItems:n,dataStartIndex:u,dataEndIndex:s}),p=f.length,d=Bu(c,o),h=-1;return n.reduce((function(e,t){var v,m=t.props[i];return e[m]?e:(h++,d?v=Jf()(0,p):a&&a[m]&&a[m].hasStack?(v=Xu(a[m].stackGroups,u,s),v=uh(l,v,m,o)):(v=Qu(r.defaultProps.domain,Iu(f,n.filter((function(e){return e.props[i]===m&&!e.props.hide})),"number"),r.defaultProps.allowDataOverflow),v=uh(l,v,m,o)),mh({},e,yh({},m,mh({axisType:o},r.defaultProps,{hide:!0,orientation:Oh[o]&&Oh[o][h%2],domain:v,originalDomain:r.defaultProps.domain,isCategorial:d,layout:c}))))}),{})}},{key:"getActiveCoordinate",value:function(e,t,n){var r=this.props.layout,o=e.find((function(e){return e&&e.index===t}));if(o){if("horizontal"===r)return{x:o.coordinate,y:n.y};if("vertical"===r)return{x:n.x,y:o.coordinate};if("centric"===r){var i=o.coordinate,a=n.radius;return mh({},n,{},is(n.cx,n.cy,a,i),{angle:i,radius:a})}var u=o.coordinate,s=n.angle;return mh({},n,{},is(n.cx,n.cy,u,s),{angle:s,radius:u})}return Eh}},{key:"getMouseInfo",value:function(e){if(!this.container)return null;var t=function(e,t){return{chartX:Math.round(e.pageX-t.left),chartY:Math.round(e.pageY-t.top)}}(e,function(e){var t=e.ownerDocument.documentElement,n={top:0,left:0};return"undefined"!==typeof e.getBoundingClientRect&&(n=e.getBoundingClientRect()),{top:n.top+window.pageYOffset-t.clientTop,left:n.left+window.pageXOffset-t.clientLeft}}(this.container)),n=this.inRange(t.chartX,t.chartY);if(!n)return null;var r=this.state,i=r.xAxisMap,a=r.yAxisMap;if("axis"!==o&&i&&a){var u=M(i).scale,s=M(a).scale;return mh({},t,{xValue:u&&u.invert?u.invert(t.chartX):null,yValue:s&&s.invert?s.invert(t.chartY):null})}var c=this.state,l=c.orderedTooltipTicks,f=c.tooltipAxis,p=c.tooltipTicks,d=function(e,t,n,r){var o=-1,i=t.length;if(i>1){if(r&&"angleAxis"===r.axisType&&Math.abs(Math.abs(r.range[1]-r.range[0])-360)<=1e-6)for(var a=r.range,u=0;u0?n[u-1].coordinate:n[i-1].coordinate,c=n[u].coordinate,l=u>=i-1?n[0].coordinate:n[u+1].coordinate,f=void 0;if(_(c-s)!==_(l-c)){var p=[];if(_(l-c)===_(a[1]-a[0])){f=l;var d=c+a[1]-a[0];p[0]=Math.min(d,(d+s)/2),p[1]=Math.max(d,(d+s)/2)}else{f=s;var h=l+a[1]-a[0];p[0]=Math.min(c,(h+c)/2),p[1]=Math.max(c,(h+c)/2)}var v=[Math.min(c,(f+c)/2),Math.max(c,(f+c)/2)];if(e>v[0]&&e<=v[1]||e>=p[0]&&e<=p[1]){o=n[u].index;break}}else{var m=Math.min(s,l),y=Math.max(s,l);if(e>(m+c)/2&&e<=(y+c)/2){o=n[u].index;break}}}else for(var g=0;g0&&g(t[g].coordinate+t[g-1].coordinate)/2&&e<=(t[g].coordinate+t[g+1].coordinate)/2||g===i-1&&e>(t[g].coordinate+t[g-1].coordinate)/2){o=t[g].index;break}}else o=0;return o}(this.calculateTooltipPos(n),l,p,f);if(d>=0&&p){var h=p[d]&&p[d].value;return mh({},t,{activeTooltipIndex:d,activeLabel:h,activePayload:this.getTooltipContent(d,h),activeCoordinate:this.getActiveCoordinate(l,d,n)})}return null}},{key:"getTooltipContent",value:function(e,t){var n=this.state,r=n.graphicalItems,o=n.tooltipAxis,i=this.constructor.getDisplayedData(this.props,this.state);return e<0||!r||!r.length||e>=i.length?null:r.reduce((function(n,r){if(r.props.hide)return n;var a,u=r.props,s=u.dataKey,c=u.name,l=u.unit,f=u.formatter,p=u.data,d=u.tooltipType;return(a=o.dataKey&&!o.allowDuplicatedCategory?N(p||i,o.dataKey,t):p&&p[e]||i[e])?[].concat(hh(n),[mh({},pe(r),{dataKey:s,unit:l,formatter:f,name:c||s,color:Nu(r),value:Mu(a,s),type:d,payload:a})]):n}),[])}},{key:"getFormatItems",value:function(e,t){var n=this,r=t.graphicalItems,o=t.stackGroups,a=t.offset,u=t.updateId,s=t.dataStartIndex,c=t.dataEndIndex,l=e.barSize,f=e.layout,p=e.barGap,d=e.barCategoryGap,h=e.maxBarSize,v=this.constructor.getAxisNameByLayout(f),m=v.numericAxisName,y=v.cateAxisName,g=this.constructor.hasBar(r),b=g&&function(e){var t=e.barSize,n=e.stackGroups,r=void 0===n?{}:n;if(!r)return{};for(var o={},i=Object.keys(r),a=0,u=i.length;a=0}));if(v&&v.length){var m=v[0].props.barSize,y=v[0].props[h];o[y]||(o[y]=[]),o[y].push({item:v[0],stackList:v.slice(1),barSize:J()(m)?t:m})}}return o}({barSize:l,stackGroups:o}),w=[];return r.forEach((function(r,l){var v,x=n.constructor.getDisplayedData(e,{dataStartIndex:s,dataEndIndex:c},r),O=r.props,E=O.dataKey,k=O.maxBarSize,_=r.props["".concat(m,"Id")],S=r.props["".concat(y,"Id")],T=i.reduce((function(e,n){var o,i=t["".concat(n.axisType,"Map")],a=r.props["".concat(n.axisType,"Id")],u=i&&i[a];return mh({},e,(yh(o={},n.axisType,u),yh(o,"".concat(n.axisType,"Ticks"),Uu(u)),o))}),{}),A=T[y],j=T["".concat(y,"Ticks")],M=o&&o[_]&&o[_].hasStack&&function(e,t){var n=e.props.stackId;if(C(n)){var r=t[n];if(r&&r.items.length){for(var o=-1,i=0,a=r.items.length;i=0?r.stackedData[o]:null}}return null}(r,o[_].stackGroups),D=Ju(A,j),N=J()(k)?h:k,R=g&&function(e){var t=e.barGap,n=e.barCategoryGap,r=e.bandSize,o=e.sizeList,i=void 0===o?[]:o,a=e.maxBarSize,u=i.length;if(u<1)return null;var s,c=P(t,r,0,!0);if(i[0].barSize===+i[0].barSize){var l=!1,f=r/u,p=i.reduce((function(e,t){return e+t.barSize||0}),0);(p+=(u-1)*c)>=r&&(p-=(u-1)*c,c=0),p>=r&&f>0&&(l=!0,p=u*(f*=.9));var d={offset:((r-p)/2>>0)-c,size:0};s=i.reduce((function(e,t){var n=[].concat(Cu(e),[{item:t.item,position:{offset:d.offset+d.size+c,size:l?f:t.barSize}}]);return d=n[n.length-1].position,t.stackList&&t.stackList.length&&t.stackList.forEach((function(e){n.push({item:e,position:d})})),n}),[])}else{var h=P(n,r,0,!0);r-2*h-(u-1)*c<=0&&(c=0);var v=(r-2*h-(u-1)*c)/u;v>1&&(v>>=0);var m=a===+a?Math.min(v,a):v;s=i.reduce((function(e,t,n){var r=[].concat(Cu(e),[{item:t.item,position:{offset:h+(v+c)*n+(v-m)/2,size:m}}]);return t.stackList&&t.stackList.length&&t.stackList.forEach((function(e){r.push({item:e,position:r[r.length-1].position})})),r}),[])}return s}({barGap:p,barCategoryGap:d,bandSize:D,sizeList:b[S],maxBarSize:N}),L=r&&r.type&&r.type.getComposedData;L&&w.push({props:mh({},L(mh({},T,{displayedData:x,props:e,dataKey:E,item:r,bandSize:D,barPosition:R,offset:a,stackedData:M,layout:f,dataStartIndex:s,dataEndIndex:c,onItemMouseLeave:qu(n.handleItemMouseLeave,null,r.props.onMouseLeave),onItemMouseEnter:qu(n.handleItemMouseEnter,null,r.props.onMouseEnter)})),(v={key:r.key||"item-".concat(l)},yh(v,m,T[m]),yh(v,y,T[y]),yh(v,"animationId",u),v)),childIndex:Ee(r,e.children),item:r})})),w}},{key:"getCursorRectangle",value:function(){var e=this.props.layout,t=this.state,n=t.activeCoordinate,r=t.offset,o=t.tooltipAxisBandSize,i=o/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===e?n.x-i:r.left+.5,y:"horizontal"===e?r.top+.5:n.y-i,width:"horizontal"===e?o:r.width-1,height:"horizontal"===e?r.height-1:o}}},{key:"getCursorPoints",value:function(){var e,t,n,r,o=this.props.layout,i=this.state,a=i.activeCoordinate,u=i.offset;if("horizontal"===o)n=e=a.x,t=u.top,r=u.top+u.height;else if("vertical"===o)r=t=a.y,e=u.left,n=u.left+u.width;else if(!J()(a.cx)||!J()(a.cy)){if("centric"!==o){var s=a.cx,c=a.cy,l=a.radius,f=a.startAngle,p=a.endAngle;return{points:[is(s,c,l,f),is(s,c,l,p)],cx:s,cy:c,radius:l,startAngle:f,endAngle:p}}var d=a.cx,h=a.cy,v=a.innerRadius,m=a.outerRadius,y=a.angle,g=is(d,h,v,y),b=is(d,h,m,y);e=g.x,t=g.y,n=b.x,r=b.y}return[{x:e,y:t},{x:n,y:r}]}},{key:"calculateTooltipPos",value:function(e){var t=this.props.layout;return"horizontal"===t?e.x:"vertical"===t?e.y:"centric"===t?e.angle:e.radius}},{key:"inRange",value:function(e,t){var n=this.props.layout;if("horizontal"===n||"vertical"===n){var r=this.state.offset;return e>=r.left&&e<=r.left+r.width&&t>=r.top&&t<=r.top+r.height?{x:e,y:t}:null}var o=this.state,i=o.angleAxisMap,a=o.radiusAxisMap;if(i&&a){var u=M(i);return ss({x:e,y:t},u)}return null}},{key:"parseEventsOfWrapper",value:function(){var e=this.props.children,t=fe(e,Cp)&&"axis"===o?{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}:{};return mh({},he(this.props,this.handleOuterEvent),{},t)}},{key:"updateStateOfAxisMapsOffsetAndStackGroups",value:function(e){var r=this,o=e.props,a=e.dataStartIndex,u=e.dataEndIndex,s=e.updateId;if(!ye({props:o}))return null;var l=o.children,f=o.layout,p=o.stackOffset,d=o.data,h=o.reverseStackOrder,v=this.constructor.getAxisNameByLayout(f),m=v.numericAxisName,y=v.cateAxisName,g=le(l,n),b=function(e,t,n,r,o,i){if(!e)return null;var a=(i?t.reverse():t).reduce((function(e,t){var o=t.props,i=o.stackId;if(o.hide)return e;var a=t.props[n],u=e[a]||{hasStack:!1,stackGroups:{}};if(C(i)){var s=u.stackGroups[i]||{numericAxisId:n,cateAxisId:r,items:[]};s.items.push(t),u.hasStack=!0,u.stackGroups[i]=s}else u.stackGroups[j("_stackId_")]={numericAxisId:n,cateAxisId:r,items:[t]};return ju({},e,Pu({},a,u))}),{});return Object.keys(a).reduce((function(t,i){var u=a[i];return u.hasStack&&(u.stackGroups=Object.keys(u.stackGroups).reduce((function(t,i){var a=u.stackGroups[i];return ju({},t,Pu({},i,{numericAxisId:n,cateAxisId:r,items:a.items,stackedData:Wu(e,a.items,o)}))}),{})),ju({},t,Pu({},i,u))}),{})}(d,g,"".concat(m,"Id"),"".concat(y,"Id"),p,h),w=i.reduce((function(e,t){return mh({},e,yh({},"".concat(t.axisType,"Map"),r.getAxisMap(o,mh({},t,{graphicalItems:g,stackGroups:t.axisType===m&&b,dataStartIndex:a,dataEndIndex:u}))))}),{}),x=this.calculateOffset(mh({},w,{props:o,graphicalItems:g}));Object.keys(w).forEach((function(e){w[e]=c(o,w[e],x,e.replace("Map",""),t)}));var O=w["".concat(y,"Map")],E=this.tooltipTicksGenerator(O),k=this.getFormatItems(o,mh({},w,{dataStartIndex:a,dataEndIndex:u,updateId:s,graphicalItems:g,stackGroups:b,offset:x}));return mh({formatedGraphicalItems:k,graphicalItems:g,offset:x,stackGroups:b},E,{},w)}},{key:"addListener",value:function(){ch.on(lh,this.handleReceiveSyncEvent),ch.setMaxListeners&&ch._maxListeners&&ch.setMaxListeners(ch._maxListeners+1)}},{key:"removeListener",value:function(){ch.removeListener(lh,this.handleReceiveSyncEvent),ch.setMaxListeners&&ch._maxListeners&&ch.setMaxListeners(ch._maxListeners-1)}},{key:"calculateOffset",value:function(e){var t=e.props,n=e.graphicalItems,r=e.xAxisMap,o=void 0===r?{}:r,i=e.yAxisMap,a=void 0===i?{}:i,u=t.width,s=t.height,c=t.children,l=t.margin||{},f=fe(c,Ld),p=fe(c,Tu),d=Object.keys(a).reduce((function(e,t){var n=a[t],r=n.orientation;return n.mirror||n.hide?e:mh({},e,yh({},r,e[r]+n.width))}),{left:l.left||0,right:l.right||0}),h=Object.keys(o).reduce((function(e,t){var n=o[t],r=n.orientation;return n.mirror||n.hide?e:mh({},e,yh({},r,e[r]+n.height))}),{top:l.top||0,bottom:l.bottom||0}),v=mh({},h,{},d),m=v.bottom;return f&&(v.bottom+=f.props.height||Ld.defaultProps.height),p&&this.legendInstance&&(v=function(e,t,n,r){var o=n.children,i=n.width,a=n.height,u=n.margin,s=i-(u.left||0)-(u.right||0),c=a-(u.top||0)-(u.bottom||0),l=Ru({children:o,items:t,legendWidth:s,legendHeight:c}),f=e;if(l){var p=r||{},d=l.align,h=l.verticalAlign,v=l.layout;("vertical"===v||"horizontal"===v&&"center"===h)&&T(e[d])&&(f=ju({},e,Pu({},d,f[d]+(p.width||0)))),("horizontal"===v||"vertical"===v&&"center"===d)&&T(e[h])&&(f=ju({},e,Pu({},h,f[h]+(p.height||0))))}return f}(v,n,t,this.legendInstance.getBBox())),mh({brushBottom:m},v,{width:u-v.left-v.right,height:s-v.top-v.bottom})}},{key:"triggerSyncEvent",value:function(e){var t=this.props.syncId;J()(t)||ch.emit(lh,t,this.uniqueChartId,e)}},{key:"filterFormatItem",value:function(e,t,n){for(var r=this.state.formatedGraphicalItems,o=0,i=r.length;o=0}))},h.getDisplayedData=function(e,t,n){var r=t.graphicalItems,o=t.dataStartIndex,i=t.dataEndIndex,a=(r||[]).reduce((function(e,t){var n=t.props.data;return n&&n.length?[].concat(hh(e),hh(n)):e}),[]);if(a&&a.length>0)return a;if(n&&n.props&&n.props.data&&n.props.data.length>0)return n.props.data;var u=e.data;return u&&u.length&&T(o)&&T(i)?u.slice(o,i+1):[]},h}({chartName:"AreaChart",GraphicalChild:Mf,axisComponents:[{axisType:"xAxis",AxisComp:Uf},{axisType:"yAxis",AxisComp:Xf}],formatAxisMap:function(e,t,n,r,o){var i=e.width,a=e.height,u=e.layout,s=Object.keys(t),c={left:n.left,leftMirror:n.left,right:i-n.right,rightMirror:i-n.right,top:n.top,topMirror:n.top,bottom:a-n.bottom,bottomMirror:a-n.bottom};return s.reduce((function(e,i){var a,s,l,f,p=t[i],d=p.orientation,h=p.domain,v=p.padding,m=void 0===v?{}:v,y=p.mirror,g=p.reversed,b="".concat(d).concat(y?"Mirror":"");a="xAxis"===r?[n.left+(m.left||0),n.left+n.width-(m.right||0)]:"yAxis"===r?"horizontal"===u?[n.top+n.height-(m.bottom||0),n.top+(m.top||0)]:[n.top+(m.top||0),n.top+n.height-(m.bottom||0)]:p.range,g&&(a=[a[1],a[0]]);var w=zu(p,o),x=w.scale,O=w.realScaleType;x.domain(h).range(a),Vu(x);var E=Gu(x,js({},p,{realScaleType:O}));"xAxis"===r?(f="top"===d&&!y||"bottom"===d&&y,s=n.left,l=c[b]-f*p.height):"yAxis"===r&&(f="left"===d&&!y||"right"===d&&y,s=c[b]-f*p.width,l=n.top);var k=js({},p,{},E,{realScaleType:O,x:s,y:l,scale:x,width:"xAxis"===r?n.width:p.width,height:"yAxis"===r?n.height:p.height});return k.bandSize=Ju(k,E),p.hide||"xAxis"!==r?p.hide||(c[b]+=(f?-1:1)*k.width):c[b]+=(f?-1:1)*k.height,js({},e,Ps({},i,k))}),{})}})},function(e,t,n){var r=n(351),o=n(354);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},function(e,t,n){var r=n(5),o=n(152);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}}(),e.exports=n(332)},function(e,t,n){var r=n(89);e.exports=function(e){return r(e)&&e!=+e}},function(e,t,n){"use strict";(function(e,r){var o,i=n(261);o="undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof e?e:r;var a=Object(i.a)(o);t.a=a}).call(this,n(53),n(197)(e))},function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return u}));var r=n(21);function o(e,t){return void 0===t&&(t=0),"string"!==typeof e||0===t||e.length<=t?e:e.substr(0,t)+"..."}function i(e,t){var n=e,r=n.length;if(r<=150)return n;t>r&&(t=r);var o=Math.max(t-60,0);o<5&&(o=0);var i=Math.min(o+140,r);return i>r-5&&(i=r),i===r&&(o=Math.max(i-140,0)),n=n.slice(o,i),o>0&&(n="'{snip} "+n),i1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),o(e,r(t,1),[])}));e.exports=u},,,function(e,t,n){var r=n(57),o=n(202);e.exports=function(e,t){return e&&e.length?o(e,r(t,2)):[]}},function(e,t,n){var r=n(537)();e.exports=r},function(e,t,n){"use strict";n.d(t,"a",(function(){return g})),n.d(t,"b",(function(){return S}));var r="persist/REHYDRATE",o="persist/REGISTER";function i(e){return(i="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 a(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 u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t,n,r){r.debug;var o=function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function g(e,t){var n=void 0!==e.version?e.version:-1,o=(e.debug,void 0===e.stateReconciler?s:e.stateReconciler),i=e.getStoredState||f,a=void 0!==e.timeout?e.timeout:5e3,u=null,l=!1,p=!0,h=function(e){return e._persist.rehydrated&&u&&!p&&u.update(e),e};return function(s,f){var m=s||{},g=m._persist,b=y(m,["_persist"]);if("persist/PERSIST"===f.type){var w=!1,x=function(t,n){w||(f.rehydrate(e.key,t,n),w=!0)};if(a&&setTimeout((function(){!w&&x(void 0,new Error('redux-persist: persist timed out for persist key "'.concat(e.key,'"')))}),a),p=!1,u||(u=c(e)),g)return v({},t(b,f),{_persist:g});if("function"!==typeof f.rehydrate||"function"!==typeof f.register)throw new Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return f.register(e.key),i(e).then((function(t){(e.migrate||function(e,t){return Promise.resolve(e)})(t,n).then((function(e){x(e)}),(function(e){x(void 0,e)}))}),(function(e){x(void 0,e)})),v({},t(b,f),{_persist:{version:n,rehydrated:!1}})}if("persist/PURGE"===f.type)return l=!0,f.result(function(e){var t=e.storage,n="".concat(void 0!==e.keyPrefix?e.keyPrefix:"persist:").concat(e.key);return t.removeItem(n,d)}(e)),v({},t(b,f),{_persist:g});if("persist/FLUSH"===f.type)return f.result(u&&u.flush()),v({},t(b,f),{_persist:g});if("persist/PAUSE"===f.type)p=!0;else if(f.type===r){if(l)return v({},b,{_persist:v({},g,{rehydrated:!0})});if(f.key===e.key){var O=t(b,f),E=f.payload,k=v({},!1!==o&&void 0!==E?o(E,s,O,e):O,{_persist:v({},g,{rehydrated:!0})});return h(k)}}if(!g)return t(s,f);var _=t(b,f);return _===b?s:h(v({},_,{_persist:g}))}}var b=n(39);function w(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:k,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o:return O({},e,{registry:[].concat(w(e.registry),[t.key])});case r:var n=e.registry.indexOf(t.key),i=w(e.registry);return i.splice(n,1),O({},e,{registry:i,bootstrapped:0===i.length});default:return e}};function S(e,t,n){var i=n||!1,a=Object(b.createStore)(_,k,t&&t.enhancer?t.enhancer:void 0),u=function(e){a.dispatch({type:o,key:e})},s=function(t,n,o){var u={type:r,payload:n,err:o,key:t};e.dispatch(u),a.dispatch(u),i&&c.getState().bootstrapped&&(i(),i=!1)},c=O({},a,{purge:function(){var t=[];return e.dispatch({type:"persist/PURGE",result:function(e){t.push(e)}}),Promise.all(t)},flush:function(){var t=[];return e.dispatch({type:"persist/FLUSH",result:function(e){t.push(e)}}),Promise.all(t)},pause:function(){e.dispatch({type:"persist/PAUSE"})},persist:function(){e.dispatch({type:"persist/PERSIST",register:u,rehydrate:s})}});return t&&t.manualPersist||c.persist(),c}},,,,,function(e,t,n){var r=n(50).Symbol;e.exports=r},function(e,t,n){var r=n(82),o=n(346),i=n(348);e.exports=function(e,t){return i(o(e,t,r),e+"")}},function(e,t){e.exports=function(e,t){return e===t||e!==e&&t!==t}},function(e,t,n){var r=n(102),o=n(73),i=n(158),a=n(24);e.exports=function(e,t,n){if(!a(n))return!1;var u=typeof t;return!!("number"==u?o(n)&&i(t,n.length):"string"==u&&t in n)&&r(n[t],e)}},function(e,t){var n=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?r:n)(e)}},function(e,t,n){var r=n(243),o=n(503)(r);e.exports=o},function(e,t,n){"use strict";e.exports=n(340)},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(105);function o(e,t){if(e){if("string"===typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},,function(e,t,n){var r=n(504),o=n(505),i=n(57),a=n(13),u=n(103);e.exports=function(e,t,n){var s=a(e)?r:o;return n&&u(e,t,n)&&(t=void 0),s(e,i(t,3))}},function(e,t,n){"use strict";var r=u(n(527)),o=u(n(532)),i=u(n(250)),a=u(n(248));function u(e){return e&&e.__esModule?e:{default:e}}e.exports={Transition:a.default,TransitionGroup:i.default,ReplaceTransition:o.default,CSSTransition:r.default}},function(e,t,n){var r=n(64),o=n(24);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},,function(e,t,n){var r,o=n(515),i=n(516),a=n(518),u=/(\+|\-|\*|\\|[^a-z]|)(\s*)(\()/g;e.exports=function(e,t){function n(e,i,s){if(r++>100)throw r=0,new Error("Call stack overflow for "+s);if(""===e)throw new Error(i+"(): '"+s+"' must contain a non-whitespace string");var c=function(e){var t=[],n=[],r=/[\.0-9]([%a-z]+)/gi,o=r.exec(e);for(;o;)o&&o[1]&&(-1===n.indexOf(o[1].toLowerCase())&&(t.push(o[1]),n.push(o[1].toLowerCase())),o=r.exec(e));return t}(e=function(e,t){e=e.replace(/((?:\-[a-z]+\-)?calc)/g,"");var r,i="",a=e;for(;r=u.exec(a);){r[0].index>0&&(i+=a.substring(0,r[0].index));var s=o("(",")",a.substring([0].index));if(""===s.body)throw new Error("'"+e+"' must contain a non-whitespace string");var c=n(s.body,"",t);i+=s.pre+c,a=s.post}return i+a}(e,s));if(c.length>1||e.indexOf("var(")>-1)return i+"("+e+")";var l=c[0]||"";"%"===l&&(e=e.replace(/\b[0-9\.]+%/g,(function(e){return.01*parseFloat(e.slice(0,-1))})));var f,p=e.replace(new RegExp(l,"gi"),"");try{f=a.eval(p)}catch(d){return i+"("+e+")"}return"%"===l&&(f*=100),(i.length||"%"===l)&&(f=Math.round(f*t)/t),f+=l}return r=0,t=Math.pow(10,void 0===t?5:t),e=e.replace(/\n+/g," "),i(e,/((?:\-[a-z]+\-)?calc)\(/,n)}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return c}));var r=n(2),o=n(113),i=n(21),a=n(19),u=function(){function e(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._contexts={}}return e.prototype.addScopeListener=function(e){this._scopeListeners.push(e)},e.prototype.addEventProcessor=function(e){return this._eventProcessors.push(e),this},e.prototype._notifyScopeListeners=function(){var e=this;this._notifyingListeners||(this._notifyingListeners=!0,setTimeout((function(){e._scopeListeners.forEach((function(t){t(e)})),e._notifyingListeners=!1})))},e.prototype._notifyEventProcessors=function(e,t,n,a){var u=this;return void 0===a&&(a=0),new o.a((function(o,s){var c=e[a];if(null===t||"function"!==typeof c)o(t);else{var l=c(r.a({},t),n);Object(i.m)(l)?l.then((function(t){return u._notifyEventProcessors(e,t,n,a+1).then(o)})).then(null,s):u._notifyEventProcessors(e,l,n,a+1).then(o).then(null,s)}}))},e.prototype.setUser=function(e){return this._user=e||{},this._notifyScopeListeners(),this},e.prototype.setTags=function(e){return this._tags=r.a({},this._tags,e),this._notifyScopeListeners(),this},e.prototype.setTag=function(e,t){var n;return this._tags=r.a({},this._tags,((n={})[e]=t,n)),this._notifyScopeListeners(),this},e.prototype.setExtras=function(e){return this._extra=r.a({},this._extra,e),this._notifyScopeListeners(),this},e.prototype.setExtra=function(e,t){var n;return this._extra=r.a({},this._extra,((n={})[e]=t,n)),this._notifyScopeListeners(),this},e.prototype.setFingerprint=function(e){return this._fingerprint=e,this._notifyScopeListeners(),this},e.prototype.setLevel=function(e){return this._level=e,this._notifyScopeListeners(),this},e.prototype.setTransaction=function(e){return this._transaction=e,this._notifyScopeListeners(),this},e.prototype.setContext=function(e,t){var n;return this._contexts=r.a({},this._contexts,((n={})[e]=t,n)),this._notifyScopeListeners(),this},e.prototype.setSpan=function(e){return this._span=e,this._notifyScopeListeners(),this},e.prototype.getSpan=function(){return this._span},e.clone=function(t){var n=new e;return t&&(n._breadcrumbs=r.e(t._breadcrumbs),n._tags=r.a({},t._tags),n._extra=r.a({},t._extra),n._contexts=r.a({},t._contexts),n._user=t._user,n._level=t._level,n._span=t._span,n._transaction=t._transaction,n._fingerprint=t._fingerprint,n._eventProcessors=r.e(t._eventProcessors)),n},e.prototype.update=function(t){if(!t)return this;if("function"===typeof t){var n=t(this);return n instanceof e?n:this}return t instanceof e?(this._tags=r.a({},this._tags,t._tags),this._extra=r.a({},this._extra,t._extra),this._contexts=r.a({},this._contexts,t._contexts),t._user&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint)):Object(i.h)(t)&&(t=t,this._tags=r.a({},this._tags,t.tags),this._extra=r.a({},this._extra,t.extra),this._contexts=r.a({},this._contexts,t.contexts),t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint)),this},e.prototype.clear=function(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transaction=void 0,this._fingerprint=void 0,this._span=void 0,this._notifyScopeListeners(),this},e.prototype.addBreadcrumb=function(e,t){var n=r.a({timestamp:Object(a.l)()},e);return this._breadcrumbs=void 0!==t&&t>=0?r.e(this._breadcrumbs,[n]).slice(-t):r.e(this._breadcrumbs,[n]),this._notifyScopeListeners(),this},e.prototype.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},e.prototype._applyFingerprint=function(e){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],this._fingerprint&&(e.fingerprint=e.fingerprint.concat(this._fingerprint)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint},e.prototype.applyToEvent=function(e,t){return this._extra&&Object.keys(this._extra).length&&(e.extra=r.a({},this._extra,e.extra)),this._tags&&Object.keys(this._tags).length&&(e.tags=r.a({},this._tags,e.tags)),this._user&&Object.keys(this._user).length&&(e.user=r.a({},this._user,e.user)),this._contexts&&Object.keys(this._contexts).length&&(e.contexts=r.a({},this._contexts,e.contexts)),this._level&&(e.level=this._level),this._transaction&&(e.transaction=this._transaction),this._span&&(e.contexts=r.a({trace:this._span.getTraceContext()},e.contexts)),this._applyFingerprint(e),e.breadcrumbs=r.e(e.breadcrumbs||[],this._breadcrumbs),e.breadcrumbs=e.breadcrumbs.length>0?e.breadcrumbs:void 0,this._notifyEventProcessors(r.e(s(),this._eventProcessors),e,t)},e}();function s(){var e=Object(a.f)();return e.__SENTRY__=e.__SENTRY__||{},e.__SENTRY__.globalEventProcessors=e.__SENTRY__.globalEventProcessors||[],e.__SENTRY__.globalEventProcessors}function c(e){s().push(e)}},function(e,t,n){"use strict";var r;t.__esModule=!0,t.default=void 0;var o=(0,((r=n(558))&&r.__esModule?r:{default:r}).default)("local");t.default=o},,,function(e,t,n){var r=n(198),o=n(342);e.exports=function e(t,n,i,a,u){var s=-1,c=t.length;for(i||(i=o),u||(u=[]);++s0&&i(l)?n>1?e(l,n-1,i,a,u):r(u,l):a||(u[u.length]=l)}return u}},function(e,t,n){var r=n(356),o=n(368),i=n(370),a=n(371),u=n(372);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1}},function(e,t){e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r-1&&e%1==0&&e<=9007199254740991}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=void 0;var r,o=n(386);var i=((r=o)&&r.__esModule?r:{default:r}).default,a=i.canUseDOM?window.HTMLElement:{};t.canUseDOM=i.canUseDOM;t.default=a},function(e,t,n){var r=n(119),o=n(390),i=n(391),a=n(392),u=n(393),s=n(394);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=u,c.prototype.set=s,e.exports=c},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t,n){(function(e){var r=n(50),o=n(403),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,u=a&&a.exports===i?r.Buffer:void 0,s=(u?u.isBuffer:void 0)||o;e.exports=s}).call(this,n(126)(e))},function(e,t,n){var r=n(405),o=n(124),i=n(406),a=i&&i.isTypedArray,u=a?o(a):r;e.exports=u},function(e,t){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(465),o=n(167);e.exports=function(e){return r(o(e))}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(17),o=n(167),i=n(63),a=n(170),u="["+a+"]",s=RegExp("^"+u+u+"*"),c=RegExp(u+u+"*$"),l=function(e,t,n){var o={},u=i((function(){return!!a[e]()||"\u200b\x85"!="\u200b\x85"[e]()})),s=o[e]=u?t(f):a[e];n&&(o[n]=s),r(r.P+r.F*u,"String",o)},f=l.trim=function(e,t){return e=String(o(e)),1&t&&(e=e.replace(s,"")),2&t&&(e=e.replace(c,"")),e};e.exports=l},function(e,t){e.exports="\t\n\v\f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!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:i}catch(e){n=i}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var s,c=[],l=!1,f=-1;function p(){l&&s&&(l=!1,s.length?c=s.concat(c):f=-1,c.length&&d())}function d(){if(!l){var e=u(p);l=!0;for(var t=c.length;t;){for(s=c,c=[];++f1)for(var n=1;n\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,p={"\xad":"shy","\u200c":"zwnj","\u200d":"zwj","\u200e":"lrm","\u2063":"ic","\u2062":"it","\u2061":"af","\u200f":"rlm","\u200b":"ZeroWidthSpace","\u2060":"NoBreak","\u0311":"DownBreve","\u20db":"tdot","\u20dc":"DotDot","\t":"Tab","\n":"NewLine","\u2008":"puncsp","\u205f":"MediumSpace","\u2009":"thinsp","\u200a":"hairsp","\u2004":"emsp13","\u2002":"ensp","\u2005":"emsp14","\u2003":"emsp","\u2007":"numsp","\xa0":"nbsp","\u205f\u200a":"ThickSpace","\u203e":"oline",_:"lowbar","\u2010":"dash","\u2013":"ndash","\u2014":"mdash","\u2015":"horbar",",":"comma",";":"semi","\u204f":"bsemi",":":"colon","\u2a74":"Colone","!":"excl","\xa1":"iexcl","?":"quest","\xbf":"iquest",".":"period","\u2025":"nldr","\u2026":"mldr","\xb7":"middot","'":"apos","\u2018":"lsquo","\u2019":"rsquo","\u201a":"sbquo","\u2039":"lsaquo","\u203a":"rsaquo",'"':"quot","\u201c":"ldquo","\u201d":"rdquo","\u201e":"bdquo","\xab":"laquo","\xbb":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","\u2308":"lceil","\u2309":"rceil","\u230a":"lfloor","\u230b":"rfloor","\u2985":"lopar","\u2986":"ropar","\u298b":"lbrke","\u298c":"rbrke","\u298d":"lbrkslu","\u298e":"rbrksld","\u298f":"lbrksld","\u2990":"rbrkslu","\u2991":"langd","\u2992":"rangd","\u2993":"lparlt","\u2994":"rpargt","\u2995":"gtlPar","\u2996":"ltrPar","\u27e6":"lobrk","\u27e7":"robrk","\u27e8":"lang","\u27e9":"rang","\u27ea":"Lang","\u27eb":"Rang","\u27ec":"loang","\u27ed":"roang","\u2772":"lbbrk","\u2773":"rbbrk","\u2016":"Vert","\xa7":"sect","\xb6":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","\u2030":"permil","\u2031":"pertenk","\u2020":"dagger","\u2021":"Dagger","\u2022":"bull","\u2043":"hybull","\u2032":"prime","\u2033":"Prime","\u2034":"tprime","\u2057":"qprime","\u2035":"bprime","\u2041":"caret","`":"grave","\xb4":"acute","\u02dc":"tilde","^":"Hat","\xaf":"macr","\u02d8":"breve","\u02d9":"dot","\xa8":"die","\u02da":"ring","\u02dd":"dblac","\xb8":"cedil","\u02db":"ogon","\u02c6":"circ","\u02c7":"caron","\xb0":"deg","\xa9":"copy","\xae":"reg","\u2117":"copysr","\u2118":"wp","\u211e":"rx","\u2127":"mho","\u2129":"iiota","\u2190":"larr","\u219a":"nlarr","\u2192":"rarr","\u219b":"nrarr","\u2191":"uarr","\u2193":"darr","\u2194":"harr","\u21ae":"nharr","\u2195":"varr","\u2196":"nwarr","\u2197":"nearr","\u2198":"searr","\u2199":"swarr","\u219d":"rarrw","\u219d\u0338":"nrarrw","\u219e":"Larr","\u219f":"Uarr","\u21a0":"Rarr","\u21a1":"Darr","\u21a2":"larrtl","\u21a3":"rarrtl","\u21a4":"mapstoleft","\u21a5":"mapstoup","\u21a6":"map","\u21a7":"mapstodown","\u21a9":"larrhk","\u21aa":"rarrhk","\u21ab":"larrlp","\u21ac":"rarrlp","\u21ad":"harrw","\u21b0":"lsh","\u21b1":"rsh","\u21b2":"ldsh","\u21b3":"rdsh","\u21b5":"crarr","\u21b6":"cularr","\u21b7":"curarr","\u21ba":"olarr","\u21bb":"orarr","\u21bc":"lharu","\u21bd":"lhard","\u21be":"uharr","\u21bf":"uharl","\u21c0":"rharu","\u21c1":"rhard","\u21c2":"dharr","\u21c3":"dharl","\u21c4":"rlarr","\u21c5":"udarr","\u21c6":"lrarr","\u21c7":"llarr","\u21c8":"uuarr","\u21c9":"rrarr","\u21ca":"ddarr","\u21cb":"lrhar","\u21cc":"rlhar","\u21d0":"lArr","\u21cd":"nlArr","\u21d1":"uArr","\u21d2":"rArr","\u21cf":"nrArr","\u21d3":"dArr","\u21d4":"iff","\u21ce":"nhArr","\u21d5":"vArr","\u21d6":"nwArr","\u21d7":"neArr","\u21d8":"seArr","\u21d9":"swArr","\u21da":"lAarr","\u21db":"rAarr","\u21dd":"zigrarr","\u21e4":"larrb","\u21e5":"rarrb","\u21f5":"duarr","\u21fd":"loarr","\u21fe":"roarr","\u21ff":"hoarr","\u2200":"forall","\u2201":"comp","\u2202":"part","\u2202\u0338":"npart","\u2203":"exist","\u2204":"nexist","\u2205":"empty","\u2207":"Del","\u2208":"in","\u2209":"notin","\u220b":"ni","\u220c":"notni","\u03f6":"bepsi","\u220f":"prod","\u2210":"coprod","\u2211":"sum","+":"plus","\xb1":"pm","\xf7":"div","\xd7":"times","<":"lt","\u226e":"nlt","<\u20d2":"nvlt","=":"equals","\u2260":"ne","=\u20e5":"bne","\u2a75":"Equal",">":"gt","\u226f":"ngt",">\u20d2":"nvgt","\xac":"not","|":"vert","\xa6":"brvbar","\u2212":"minus","\u2213":"mp","\u2214":"plusdo","\u2044":"frasl","\u2216":"setmn","\u2217":"lowast","\u2218":"compfn","\u221a":"Sqrt","\u221d":"prop","\u221e":"infin","\u221f":"angrt","\u2220":"ang","\u2220\u20d2":"nang","\u2221":"angmsd","\u2222":"angsph","\u2223":"mid","\u2224":"nmid","\u2225":"par","\u2226":"npar","\u2227":"and","\u2228":"or","\u2229":"cap","\u2229\ufe00":"caps","\u222a":"cup","\u222a\ufe00":"cups","\u222b":"int","\u222c":"Int","\u222d":"tint","\u2a0c":"qint","\u222e":"oint","\u222f":"Conint","\u2230":"Cconint","\u2231":"cwint","\u2232":"cwconint","\u2233":"awconint","\u2234":"there4","\u2235":"becaus","\u2236":"ratio","\u2237":"Colon","\u2238":"minusd","\u223a":"mDDot","\u223b":"homtht","\u223c":"sim","\u2241":"nsim","\u223c\u20d2":"nvsim","\u223d":"bsim","\u223d\u0331":"race","\u223e":"ac","\u223e\u0333":"acE","\u223f":"acd","\u2240":"wr","\u2242":"esim","\u2242\u0338":"nesim","\u2243":"sime","\u2244":"nsime","\u2245":"cong","\u2247":"ncong","\u2246":"simne","\u2248":"ap","\u2249":"nap","\u224a":"ape","\u224b":"apid","\u224b\u0338":"napid","\u224c":"bcong","\u224d":"CupCap","\u226d":"NotCupCap","\u224d\u20d2":"nvap","\u224e":"bump","\u224e\u0338":"nbump","\u224f":"bumpe","\u224f\u0338":"nbumpe","\u2250":"doteq","\u2250\u0338":"nedot","\u2251":"eDot","\u2252":"efDot","\u2253":"erDot","\u2254":"colone","\u2255":"ecolon","\u2256":"ecir","\u2257":"cire","\u2259":"wedgeq","\u225a":"veeeq","\u225c":"trie","\u225f":"equest","\u2261":"equiv","\u2262":"nequiv","\u2261\u20e5":"bnequiv","\u2264":"le","\u2270":"nle","\u2264\u20d2":"nvle","\u2265":"ge","\u2271":"nge","\u2265\u20d2":"nvge","\u2266":"lE","\u2266\u0338":"nlE","\u2267":"gE","\u2267\u0338":"ngE","\u2268\ufe00":"lvnE","\u2268":"lnE","\u2269":"gnE","\u2269\ufe00":"gvnE","\u226a":"ll","\u226a\u0338":"nLtv","\u226a\u20d2":"nLt","\u226b":"gg","\u226b\u0338":"nGtv","\u226b\u20d2":"nGt","\u226c":"twixt","\u2272":"lsim","\u2274":"nlsim","\u2273":"gsim","\u2275":"ngsim","\u2276":"lg","\u2278":"ntlg","\u2277":"gl","\u2279":"ntgl","\u227a":"pr","\u2280":"npr","\u227b":"sc","\u2281":"nsc","\u227c":"prcue","\u22e0":"nprcue","\u227d":"sccue","\u22e1":"nsccue","\u227e":"prsim","\u227f":"scsim","\u227f\u0338":"NotSucceedsTilde","\u2282":"sub","\u2284":"nsub","\u2282\u20d2":"vnsub","\u2283":"sup","\u2285":"nsup","\u2283\u20d2":"vnsup","\u2286":"sube","\u2288":"nsube","\u2287":"supe","\u2289":"nsupe","\u228a\ufe00":"vsubne","\u228a":"subne","\u228b\ufe00":"vsupne","\u228b":"supne","\u228d":"cupdot","\u228e":"uplus","\u228f":"sqsub","\u228f\u0338":"NotSquareSubset","\u2290":"sqsup","\u2290\u0338":"NotSquareSuperset","\u2291":"sqsube","\u22e2":"nsqsube","\u2292":"sqsupe","\u22e3":"nsqsupe","\u2293":"sqcap","\u2293\ufe00":"sqcaps","\u2294":"sqcup","\u2294\ufe00":"sqcups","\u2295":"oplus","\u2296":"ominus","\u2297":"otimes","\u2298":"osol","\u2299":"odot","\u229a":"ocir","\u229b":"oast","\u229d":"odash","\u229e":"plusb","\u229f":"minusb","\u22a0":"timesb","\u22a1":"sdotb","\u22a2":"vdash","\u22ac":"nvdash","\u22a3":"dashv","\u22a4":"top","\u22a5":"bot","\u22a7":"models","\u22a8":"vDash","\u22ad":"nvDash","\u22a9":"Vdash","\u22ae":"nVdash","\u22aa":"Vvdash","\u22ab":"VDash","\u22af":"nVDash","\u22b0":"prurel","\u22b2":"vltri","\u22ea":"nltri","\u22b3":"vrtri","\u22eb":"nrtri","\u22b4":"ltrie","\u22ec":"nltrie","\u22b4\u20d2":"nvltrie","\u22b5":"rtrie","\u22ed":"nrtrie","\u22b5\u20d2":"nvrtrie","\u22b6":"origof","\u22b7":"imof","\u22b8":"mumap","\u22b9":"hercon","\u22ba":"intcal","\u22bb":"veebar","\u22bd":"barvee","\u22be":"angrtvb","\u22bf":"lrtri","\u22c0":"Wedge","\u22c1":"Vee","\u22c2":"xcap","\u22c3":"xcup","\u22c4":"diam","\u22c5":"sdot","\u22c6":"Star","\u22c7":"divonx","\u22c8":"bowtie","\u22c9":"ltimes","\u22ca":"rtimes","\u22cb":"lthree","\u22cc":"rthree","\u22cd":"bsime","\u22ce":"cuvee","\u22cf":"cuwed","\u22d0":"Sub","\u22d1":"Sup","\u22d2":"Cap","\u22d3":"Cup","\u22d4":"fork","\u22d5":"epar","\u22d6":"ltdot","\u22d7":"gtdot","\u22d8":"Ll","\u22d8\u0338":"nLl","\u22d9":"Gg","\u22d9\u0338":"nGg","\u22da\ufe00":"lesg","\u22da":"leg","\u22db":"gel","\u22db\ufe00":"gesl","\u22de":"cuepr","\u22df":"cuesc","\u22e6":"lnsim","\u22e7":"gnsim","\u22e8":"prnsim","\u22e9":"scnsim","\u22ee":"vellip","\u22ef":"ctdot","\u22f0":"utdot","\u22f1":"dtdot","\u22f2":"disin","\u22f3":"isinsv","\u22f4":"isins","\u22f5":"isindot","\u22f5\u0338":"notindot","\u22f6":"notinvc","\u22f7":"notinvb","\u22f9":"isinE","\u22f9\u0338":"notinE","\u22fa":"nisd","\u22fb":"xnis","\u22fc":"nis","\u22fd":"notnivc","\u22fe":"notnivb","\u2305":"barwed","\u2306":"Barwed","\u230c":"drcrop","\u230d":"dlcrop","\u230e":"urcrop","\u230f":"ulcrop","\u2310":"bnot","\u2312":"profline","\u2313":"profsurf","\u2315":"telrec","\u2316":"target","\u231c":"ulcorn","\u231d":"urcorn","\u231e":"dlcorn","\u231f":"drcorn","\u2322":"frown","\u2323":"smile","\u232d":"cylcty","\u232e":"profalar","\u2336":"topbot","\u233d":"ovbar","\u233f":"solbar","\u237c":"angzarr","\u23b0":"lmoust","\u23b1":"rmoust","\u23b4":"tbrk","\u23b5":"bbrk","\u23b6":"bbrktbrk","\u23dc":"OverParenthesis","\u23dd":"UnderParenthesis","\u23de":"OverBrace","\u23df":"UnderBrace","\u23e2":"trpezium","\u23e7":"elinters","\u2423":"blank","\u2500":"boxh","\u2502":"boxv","\u250c":"boxdr","\u2510":"boxdl","\u2514":"boxur","\u2518":"boxul","\u251c":"boxvr","\u2524":"boxvl","\u252c":"boxhd","\u2534":"boxhu","\u253c":"boxvh","\u2550":"boxH","\u2551":"boxV","\u2552":"boxdR","\u2553":"boxDr","\u2554":"boxDR","\u2555":"boxdL","\u2556":"boxDl","\u2557":"boxDL","\u2558":"boxuR","\u2559":"boxUr","\u255a":"boxUR","\u255b":"boxuL","\u255c":"boxUl","\u255d":"boxUL","\u255e":"boxvR","\u255f":"boxVr","\u2560":"boxVR","\u2561":"boxvL","\u2562":"boxVl","\u2563":"boxVL","\u2564":"boxHd","\u2565":"boxhD","\u2566":"boxHD","\u2567":"boxHu","\u2568":"boxhU","\u2569":"boxHU","\u256a":"boxvH","\u256b":"boxVh","\u256c":"boxVH","\u2580":"uhblk","\u2584":"lhblk","\u2588":"block","\u2591":"blk14","\u2592":"blk12","\u2593":"blk34","\u25a1":"squ","\u25aa":"squf","\u25ab":"EmptyVerySmallSquare","\u25ad":"rect","\u25ae":"marker","\u25b1":"fltns","\u25b3":"xutri","\u25b4":"utrif","\u25b5":"utri","\u25b8":"rtrif","\u25b9":"rtri","\u25bd":"xdtri","\u25be":"dtrif","\u25bf":"dtri","\u25c2":"ltrif","\u25c3":"ltri","\u25ca":"loz","\u25cb":"cir","\u25ec":"tridot","\u25ef":"xcirc","\u25f8":"ultri","\u25f9":"urtri","\u25fa":"lltri","\u25fb":"EmptySmallSquare","\u25fc":"FilledSmallSquare","\u2605":"starf","\u2606":"star","\u260e":"phone","\u2640":"female","\u2642":"male","\u2660":"spades","\u2663":"clubs","\u2665":"hearts","\u2666":"diams","\u266a":"sung","\u2713":"check","\u2717":"cross","\u2720":"malt","\u2736":"sext","\u2758":"VerticalSeparator","\u27c8":"bsolhsub","\u27c9":"suphsol","\u27f5":"xlarr","\u27f6":"xrarr","\u27f7":"xharr","\u27f8":"xlArr","\u27f9":"xrArr","\u27fa":"xhArr","\u27fc":"xmap","\u27ff":"dzigrarr","\u2902":"nvlArr","\u2903":"nvrArr","\u2904":"nvHarr","\u2905":"Map","\u290c":"lbarr","\u290d":"rbarr","\u290e":"lBarr","\u290f":"rBarr","\u2910":"RBarr","\u2911":"DDotrahd","\u2912":"UpArrowBar","\u2913":"DownArrowBar","\u2916":"Rarrtl","\u2919":"latail","\u291a":"ratail","\u291b":"lAtail","\u291c":"rAtail","\u291d":"larrfs","\u291e":"rarrfs","\u291f":"larrbfs","\u2920":"rarrbfs","\u2923":"nwarhk","\u2924":"nearhk","\u2925":"searhk","\u2926":"swarhk","\u2927":"nwnear","\u2928":"toea","\u2929":"tosa","\u292a":"swnwar","\u2933":"rarrc","\u2933\u0338":"nrarrc","\u2935":"cudarrr","\u2936":"ldca","\u2937":"rdca","\u2938":"cudarrl","\u2939":"larrpl","\u293c":"curarrm","\u293d":"cularrp","\u2945":"rarrpl","\u2948":"harrcir","\u2949":"Uarrocir","\u294a":"lurdshar","\u294b":"ldrushar","\u294e":"LeftRightVector","\u294f":"RightUpDownVector","\u2950":"DownLeftRightVector","\u2951":"LeftUpDownVector","\u2952":"LeftVectorBar","\u2953":"RightVectorBar","\u2954":"RightUpVectorBar","\u2955":"RightDownVectorBar","\u2956":"DownLeftVectorBar","\u2957":"DownRightVectorBar","\u2958":"LeftUpVectorBar","\u2959":"LeftDownVectorBar","\u295a":"LeftTeeVector","\u295b":"RightTeeVector","\u295c":"RightUpTeeVector","\u295d":"RightDownTeeVector","\u295e":"DownLeftTeeVector","\u295f":"DownRightTeeVector","\u2960":"LeftUpTeeVector","\u2961":"LeftDownTeeVector","\u2962":"lHar","\u2963":"uHar","\u2964":"rHar","\u2965":"dHar","\u2966":"luruhar","\u2967":"ldrdhar","\u2968":"ruluhar","\u2969":"rdldhar","\u296a":"lharul","\u296b":"llhard","\u296c":"rharul","\u296d":"lrhard","\u296e":"udhar","\u296f":"duhar","\u2970":"RoundImplies","\u2971":"erarr","\u2972":"simrarr","\u2973":"larrsim","\u2974":"rarrsim","\u2975":"rarrap","\u2976":"ltlarr","\u2978":"gtrarr","\u2979":"subrarr","\u297b":"suplarr","\u297c":"lfisht","\u297d":"rfisht","\u297e":"ufisht","\u297f":"dfisht","\u299a":"vzigzag","\u299c":"vangrt","\u299d":"angrtvbd","\u29a4":"ange","\u29a5":"range","\u29a6":"dwangle","\u29a7":"uwangle","\u29a8":"angmsdaa","\u29a9":"angmsdab","\u29aa":"angmsdac","\u29ab":"angmsdad","\u29ac":"angmsdae","\u29ad":"angmsdaf","\u29ae":"angmsdag","\u29af":"angmsdah","\u29b0":"bemptyv","\u29b1":"demptyv","\u29b2":"cemptyv","\u29b3":"raemptyv","\u29b4":"laemptyv","\u29b5":"ohbar","\u29b6":"omid","\u29b7":"opar","\u29b9":"operp","\u29bb":"olcross","\u29bc":"odsold","\u29be":"olcir","\u29bf":"ofcir","\u29c0":"olt","\u29c1":"ogt","\u29c2":"cirscir","\u29c3":"cirE","\u29c4":"solb","\u29c5":"bsolb","\u29c9":"boxbox","\u29cd":"trisb","\u29ce":"rtriltri","\u29cf":"LeftTriangleBar","\u29cf\u0338":"NotLeftTriangleBar","\u29d0":"RightTriangleBar","\u29d0\u0338":"NotRightTriangleBar","\u29dc":"iinfin","\u29dd":"infintie","\u29de":"nvinfin","\u29e3":"eparsl","\u29e4":"smeparsl","\u29e5":"eqvparsl","\u29eb":"lozf","\u29f4":"RuleDelayed","\u29f6":"dsol","\u2a00":"xodot","\u2a01":"xoplus","\u2a02":"xotime","\u2a04":"xuplus","\u2a06":"xsqcup","\u2a0d":"fpartint","\u2a10":"cirfnint","\u2a11":"awint","\u2a12":"rppolint","\u2a13":"scpolint","\u2a14":"npolint","\u2a15":"pointint","\u2a16":"quatint","\u2a17":"intlarhk","\u2a22":"pluscir","\u2a23":"plusacir","\u2a24":"simplus","\u2a25":"plusdu","\u2a26":"plussim","\u2a27":"plustwo","\u2a29":"mcomma","\u2a2a":"minusdu","\u2a2d":"loplus","\u2a2e":"roplus","\u2a2f":"Cross","\u2a30":"timesd","\u2a31":"timesbar","\u2a33":"smashp","\u2a34":"lotimes","\u2a35":"rotimes","\u2a36":"otimesas","\u2a37":"Otimes","\u2a38":"odiv","\u2a39":"triplus","\u2a3a":"triminus","\u2a3b":"tritime","\u2a3c":"iprod","\u2a3f":"amalg","\u2a40":"capdot","\u2a42":"ncup","\u2a43":"ncap","\u2a44":"capand","\u2a45":"cupor","\u2a46":"cupcap","\u2a47":"capcup","\u2a48":"cupbrcap","\u2a49":"capbrcup","\u2a4a":"cupcup","\u2a4b":"capcap","\u2a4c":"ccups","\u2a4d":"ccaps","\u2a50":"ccupssm","\u2a53":"And","\u2a54":"Or","\u2a55":"andand","\u2a56":"oror","\u2a57":"orslope","\u2a58":"andslope","\u2a5a":"andv","\u2a5b":"orv","\u2a5c":"andd","\u2a5d":"ord","\u2a5f":"wedbar","\u2a66":"sdote","\u2a6a":"simdot","\u2a6d":"congdot","\u2a6d\u0338":"ncongdot","\u2a6e":"easter","\u2a6f":"apacir","\u2a70":"apE","\u2a70\u0338":"napE","\u2a71":"eplus","\u2a72":"pluse","\u2a73":"Esim","\u2a77":"eDDot","\u2a78":"equivDD","\u2a79":"ltcir","\u2a7a":"gtcir","\u2a7b":"ltquest","\u2a7c":"gtquest","\u2a7d":"les","\u2a7d\u0338":"nles","\u2a7e":"ges","\u2a7e\u0338":"nges","\u2a7f":"lesdot","\u2a80":"gesdot","\u2a81":"lesdoto","\u2a82":"gesdoto","\u2a83":"lesdotor","\u2a84":"gesdotol","\u2a85":"lap","\u2a86":"gap","\u2a87":"lne","\u2a88":"gne","\u2a89":"lnap","\u2a8a":"gnap","\u2a8b":"lEg","\u2a8c":"gEl","\u2a8d":"lsime","\u2a8e":"gsime","\u2a8f":"lsimg","\u2a90":"gsiml","\u2a91":"lgE","\u2a92":"glE","\u2a93":"lesges","\u2a94":"gesles","\u2a95":"els","\u2a96":"egs","\u2a97":"elsdot","\u2a98":"egsdot","\u2a99":"el","\u2a9a":"eg","\u2a9d":"siml","\u2a9e":"simg","\u2a9f":"simlE","\u2aa0":"simgE","\u2aa1":"LessLess","\u2aa1\u0338":"NotNestedLessLess","\u2aa2":"GreaterGreater","\u2aa2\u0338":"NotNestedGreaterGreater","\u2aa4":"glj","\u2aa5":"gla","\u2aa6":"ltcc","\u2aa7":"gtcc","\u2aa8":"lescc","\u2aa9":"gescc","\u2aaa":"smt","\u2aab":"lat","\u2aac":"smte","\u2aac\ufe00":"smtes","\u2aad":"late","\u2aad\ufe00":"lates","\u2aae":"bumpE","\u2aaf":"pre","\u2aaf\u0338":"npre","\u2ab0":"sce","\u2ab0\u0338":"nsce","\u2ab3":"prE","\u2ab4":"scE","\u2ab5":"prnE","\u2ab6":"scnE","\u2ab7":"prap","\u2ab8":"scap","\u2ab9":"prnap","\u2aba":"scnap","\u2abb":"Pr","\u2abc":"Sc","\u2abd":"subdot","\u2abe":"supdot","\u2abf":"subplus","\u2ac0":"supplus","\u2ac1":"submult","\u2ac2":"supmult","\u2ac3":"subedot","\u2ac4":"supedot","\u2ac5":"subE","\u2ac5\u0338":"nsubE","\u2ac6":"supE","\u2ac6\u0338":"nsupE","\u2ac7":"subsim","\u2ac8":"supsim","\u2acb\ufe00":"vsubnE","\u2acb":"subnE","\u2acc\ufe00":"vsupnE","\u2acc":"supnE","\u2acf":"csub","\u2ad0":"csup","\u2ad1":"csube","\u2ad2":"csupe","\u2ad3":"subsup","\u2ad4":"supsub","\u2ad5":"subsub","\u2ad6":"supsup","\u2ad7":"suphsub","\u2ad8":"supdsub","\u2ad9":"forkv","\u2ada":"topfork","\u2adb":"mlcp","\u2ae4":"Dashv","\u2ae6":"Vdashl","\u2ae7":"Barv","\u2ae8":"vBar","\u2ae9":"vBarv","\u2aeb":"Vbar","\u2aec":"Not","\u2aed":"bNot","\u2aee":"rnmid","\u2aef":"cirmid","\u2af0":"midcir","\u2af1":"topcir","\u2af2":"nhpar","\u2af3":"parsim","\u2afd":"parsl","\u2afd\u20e5":"nparsl","\u266d":"flat","\u266e":"natur","\u266f":"sharp","\xa4":"curren","\xa2":"cent",$:"dollar","\xa3":"pound","\xa5":"yen","\u20ac":"euro","\xb9":"sup1","\xbd":"half","\u2153":"frac13","\xbc":"frac14","\u2155":"frac15","\u2159":"frac16","\u215b":"frac18","\xb2":"sup2","\u2154":"frac23","\u2156":"frac25","\xb3":"sup3","\xbe":"frac34","\u2157":"frac35","\u215c":"frac38","\u2158":"frac45","\u215a":"frac56","\u215d":"frac58","\u215e":"frac78","\ud835\udcb6":"ascr","\ud835\udd52":"aopf","\ud835\udd1e":"afr","\ud835\udd38":"Aopf","\ud835\udd04":"Afr","\ud835\udc9c":"Ascr","\xaa":"ordf","\xe1":"aacute","\xc1":"Aacute","\xe0":"agrave","\xc0":"Agrave","\u0103":"abreve","\u0102":"Abreve","\xe2":"acirc","\xc2":"Acirc","\xe5":"aring","\xc5":"angst","\xe4":"auml","\xc4":"Auml","\xe3":"atilde","\xc3":"Atilde","\u0105":"aogon","\u0104":"Aogon","\u0101":"amacr","\u0100":"Amacr","\xe6":"aelig","\xc6":"AElig","\ud835\udcb7":"bscr","\ud835\udd53":"bopf","\ud835\udd1f":"bfr","\ud835\udd39":"Bopf","\u212c":"Bscr","\ud835\udd05":"Bfr","\ud835\udd20":"cfr","\ud835\udcb8":"cscr","\ud835\udd54":"copf","\u212d":"Cfr","\ud835\udc9e":"Cscr","\u2102":"Copf","\u0107":"cacute","\u0106":"Cacute","\u0109":"ccirc","\u0108":"Ccirc","\u010d":"ccaron","\u010c":"Ccaron","\u010b":"cdot","\u010a":"Cdot","\xe7":"ccedil","\xc7":"Ccedil","\u2105":"incare","\ud835\udd21":"dfr","\u2146":"dd","\ud835\udd55":"dopf","\ud835\udcb9":"dscr","\ud835\udc9f":"Dscr","\ud835\udd07":"Dfr","\u2145":"DD","\ud835\udd3b":"Dopf","\u010f":"dcaron","\u010e":"Dcaron","\u0111":"dstrok","\u0110":"Dstrok","\xf0":"eth","\xd0":"ETH","\u2147":"ee","\u212f":"escr","\ud835\udd22":"efr","\ud835\udd56":"eopf","\u2130":"Escr","\ud835\udd08":"Efr","\ud835\udd3c":"Eopf","\xe9":"eacute","\xc9":"Eacute","\xe8":"egrave","\xc8":"Egrave","\xea":"ecirc","\xca":"Ecirc","\u011b":"ecaron","\u011a":"Ecaron","\xeb":"euml","\xcb":"Euml","\u0117":"edot","\u0116":"Edot","\u0119":"eogon","\u0118":"Eogon","\u0113":"emacr","\u0112":"Emacr","\ud835\udd23":"ffr","\ud835\udd57":"fopf","\ud835\udcbb":"fscr","\ud835\udd09":"Ffr","\ud835\udd3d":"Fopf","\u2131":"Fscr","\ufb00":"fflig","\ufb03":"ffilig","\ufb04":"ffllig","\ufb01":"filig",fj:"fjlig","\ufb02":"fllig","\u0192":"fnof","\u210a":"gscr","\ud835\udd58":"gopf","\ud835\udd24":"gfr","\ud835\udca2":"Gscr","\ud835\udd3e":"Gopf","\ud835\udd0a":"Gfr","\u01f5":"gacute","\u011f":"gbreve","\u011e":"Gbreve","\u011d":"gcirc","\u011c":"Gcirc","\u0121":"gdot","\u0120":"Gdot","\u0122":"Gcedil","\ud835\udd25":"hfr","\u210e":"planckh","\ud835\udcbd":"hscr","\ud835\udd59":"hopf","\u210b":"Hscr","\u210c":"Hfr","\u210d":"Hopf","\u0125":"hcirc","\u0124":"Hcirc","\u210f":"hbar","\u0127":"hstrok","\u0126":"Hstrok","\ud835\udd5a":"iopf","\ud835\udd26":"ifr","\ud835\udcbe":"iscr","\u2148":"ii","\ud835\udd40":"Iopf","\u2110":"Iscr","\u2111":"Im","\xed":"iacute","\xcd":"Iacute","\xec":"igrave","\xcc":"Igrave","\xee":"icirc","\xce":"Icirc","\xef":"iuml","\xcf":"Iuml","\u0129":"itilde","\u0128":"Itilde","\u0130":"Idot","\u012f":"iogon","\u012e":"Iogon","\u012b":"imacr","\u012a":"Imacr","\u0133":"ijlig","\u0132":"IJlig","\u0131":"imath","\ud835\udcbf":"jscr","\ud835\udd5b":"jopf","\ud835\udd27":"jfr","\ud835\udca5":"Jscr","\ud835\udd0d":"Jfr","\ud835\udd41":"Jopf","\u0135":"jcirc","\u0134":"Jcirc","\u0237":"jmath","\ud835\udd5c":"kopf","\ud835\udcc0":"kscr","\ud835\udd28":"kfr","\ud835\udca6":"Kscr","\ud835\udd42":"Kopf","\ud835\udd0e":"Kfr","\u0137":"kcedil","\u0136":"Kcedil","\ud835\udd29":"lfr","\ud835\udcc1":"lscr","\u2113":"ell","\ud835\udd5d":"lopf","\u2112":"Lscr","\ud835\udd0f":"Lfr","\ud835\udd43":"Lopf","\u013a":"lacute","\u0139":"Lacute","\u013e":"lcaron","\u013d":"Lcaron","\u013c":"lcedil","\u013b":"Lcedil","\u0142":"lstrok","\u0141":"Lstrok","\u0140":"lmidot","\u013f":"Lmidot","\ud835\udd2a":"mfr","\ud835\udd5e":"mopf","\ud835\udcc2":"mscr","\ud835\udd10":"Mfr","\ud835\udd44":"Mopf","\u2133":"Mscr","\ud835\udd2b":"nfr","\ud835\udd5f":"nopf","\ud835\udcc3":"nscr","\u2115":"Nopf","\ud835\udca9":"Nscr","\ud835\udd11":"Nfr","\u0144":"nacute","\u0143":"Nacute","\u0148":"ncaron","\u0147":"Ncaron","\xf1":"ntilde","\xd1":"Ntilde","\u0146":"ncedil","\u0145":"Ncedil","\u2116":"numero","\u014b":"eng","\u014a":"ENG","\ud835\udd60":"oopf","\ud835\udd2c":"ofr","\u2134":"oscr","\ud835\udcaa":"Oscr","\ud835\udd12":"Ofr","\ud835\udd46":"Oopf","\xba":"ordm","\xf3":"oacute","\xd3":"Oacute","\xf2":"ograve","\xd2":"Ograve","\xf4":"ocirc","\xd4":"Ocirc","\xf6":"ouml","\xd6":"Ouml","\u0151":"odblac","\u0150":"Odblac","\xf5":"otilde","\xd5":"Otilde","\xf8":"oslash","\xd8":"Oslash","\u014d":"omacr","\u014c":"Omacr","\u0153":"oelig","\u0152":"OElig","\ud835\udd2d":"pfr","\ud835\udcc5":"pscr","\ud835\udd61":"popf","\u2119":"Popf","\ud835\udd13":"Pfr","\ud835\udcab":"Pscr","\ud835\udd62":"qopf","\ud835\udd2e":"qfr","\ud835\udcc6":"qscr","\ud835\udcac":"Qscr","\ud835\udd14":"Qfr","\u211a":"Qopf","\u0138":"kgreen","\ud835\udd2f":"rfr","\ud835\udd63":"ropf","\ud835\udcc7":"rscr","\u211b":"Rscr","\u211c":"Re","\u211d":"Ropf","\u0155":"racute","\u0154":"Racute","\u0159":"rcaron","\u0158":"Rcaron","\u0157":"rcedil","\u0156":"Rcedil","\ud835\udd64":"sopf","\ud835\udcc8":"sscr","\ud835\udd30":"sfr","\ud835\udd4a":"Sopf","\ud835\udd16":"Sfr","\ud835\udcae":"Sscr","\u24c8":"oS","\u015b":"sacute","\u015a":"Sacute","\u015d":"scirc","\u015c":"Scirc","\u0161":"scaron","\u0160":"Scaron","\u015f":"scedil","\u015e":"Scedil","\xdf":"szlig","\ud835\udd31":"tfr","\ud835\udcc9":"tscr","\ud835\udd65":"topf","\ud835\udcaf":"Tscr","\ud835\udd17":"Tfr","\ud835\udd4b":"Topf","\u0165":"tcaron","\u0164":"Tcaron","\u0163":"tcedil","\u0162":"Tcedil","\u2122":"trade","\u0167":"tstrok","\u0166":"Tstrok","\ud835\udcca":"uscr","\ud835\udd66":"uopf","\ud835\udd32":"ufr","\ud835\udd4c":"Uopf","\ud835\udd18":"Ufr","\ud835\udcb0":"Uscr","\xfa":"uacute","\xda":"Uacute","\xf9":"ugrave","\xd9":"Ugrave","\u016d":"ubreve","\u016c":"Ubreve","\xfb":"ucirc","\xdb":"Ucirc","\u016f":"uring","\u016e":"Uring","\xfc":"uuml","\xdc":"Uuml","\u0171":"udblac","\u0170":"Udblac","\u0169":"utilde","\u0168":"Utilde","\u0173":"uogon","\u0172":"Uogon","\u016b":"umacr","\u016a":"Umacr","\ud835\udd33":"vfr","\ud835\udd67":"vopf","\ud835\udccb":"vscr","\ud835\udd19":"Vfr","\ud835\udd4d":"Vopf","\ud835\udcb1":"Vscr","\ud835\udd68":"wopf","\ud835\udccc":"wscr","\ud835\udd34":"wfr","\ud835\udcb2":"Wscr","\ud835\udd4e":"Wopf","\ud835\udd1a":"Wfr","\u0175":"wcirc","\u0174":"Wcirc","\ud835\udd35":"xfr","\ud835\udccd":"xscr","\ud835\udd69":"xopf","\ud835\udd4f":"Xopf","\ud835\udd1b":"Xfr","\ud835\udcb3":"Xscr","\ud835\udd36":"yfr","\ud835\udcce":"yscr","\ud835\udd6a":"yopf","\ud835\udcb4":"Yscr","\ud835\udd1c":"Yfr","\ud835\udd50":"Yopf","\xfd":"yacute","\xdd":"Yacute","\u0177":"ycirc","\u0176":"Ycirc","\xff":"yuml","\u0178":"Yuml","\ud835\udccf":"zscr","\ud835\udd37":"zfr","\ud835\udd6b":"zopf","\u2128":"Zfr","\u2124":"Zopf","\ud835\udcb5":"Zscr","\u017a":"zacute","\u0179":"Zacute","\u017e":"zcaron","\u017d":"Zcaron","\u017c":"zdot","\u017b":"Zdot","\u01b5":"imped","\xfe":"thorn","\xde":"THORN","\u0149":"napos","\u03b1":"alpha","\u0391":"Alpha","\u03b2":"beta","\u0392":"Beta","\u03b3":"gamma","\u0393":"Gamma","\u03b4":"delta","\u0394":"Delta","\u03b5":"epsi","\u03f5":"epsiv","\u0395":"Epsilon","\u03dd":"gammad","\u03dc":"Gammad","\u03b6":"zeta","\u0396":"Zeta","\u03b7":"eta","\u0397":"Eta","\u03b8":"theta","\u03d1":"thetav","\u0398":"Theta","\u03b9":"iota","\u0399":"Iota","\u03ba":"kappa","\u03f0":"kappav","\u039a":"Kappa","\u03bb":"lambda","\u039b":"Lambda","\u03bc":"mu","\xb5":"micro","\u039c":"Mu","\u03bd":"nu","\u039d":"Nu","\u03be":"xi","\u039e":"Xi","\u03bf":"omicron","\u039f":"Omicron","\u03c0":"pi","\u03d6":"piv","\u03a0":"Pi","\u03c1":"rho","\u03f1":"rhov","\u03a1":"Rho","\u03c3":"sigma","\u03a3":"Sigma","\u03c2":"sigmaf","\u03c4":"tau","\u03a4":"Tau","\u03c5":"upsi","\u03a5":"Upsilon","\u03d2":"Upsi","\u03c6":"phi","\u03d5":"phiv","\u03a6":"Phi","\u03c7":"chi","\u03a7":"Chi","\u03c8":"psi","\u03a8":"Psi","\u03c9":"omega","\u03a9":"ohm","\u0430":"acy","\u0410":"Acy","\u0431":"bcy","\u0411":"Bcy","\u0432":"vcy","\u0412":"Vcy","\u0433":"gcy","\u0413":"Gcy","\u0453":"gjcy","\u0403":"GJcy","\u0434":"dcy","\u0414":"Dcy","\u0452":"djcy","\u0402":"DJcy","\u0435":"iecy","\u0415":"IEcy","\u0451":"iocy","\u0401":"IOcy","\u0454":"jukcy","\u0404":"Jukcy","\u0436":"zhcy","\u0416":"ZHcy","\u0437":"zcy","\u0417":"Zcy","\u0455":"dscy","\u0405":"DScy","\u0438":"icy","\u0418":"Icy","\u0456":"iukcy","\u0406":"Iukcy","\u0457":"yicy","\u0407":"YIcy","\u0439":"jcy","\u0419":"Jcy","\u0458":"jsercy","\u0408":"Jsercy","\u043a":"kcy","\u041a":"Kcy","\u045c":"kjcy","\u040c":"KJcy","\u043b":"lcy","\u041b":"Lcy","\u0459":"ljcy","\u0409":"LJcy","\u043c":"mcy","\u041c":"Mcy","\u043d":"ncy","\u041d":"Ncy","\u045a":"njcy","\u040a":"NJcy","\u043e":"ocy","\u041e":"Ocy","\u043f":"pcy","\u041f":"Pcy","\u0440":"rcy","\u0420":"Rcy","\u0441":"scy","\u0421":"Scy","\u0442":"tcy","\u0422":"Tcy","\u045b":"tshcy","\u040b":"TSHcy","\u0443":"ucy","\u0423":"Ucy","\u045e":"ubrcy","\u040e":"Ubrcy","\u0444":"fcy","\u0424":"Fcy","\u0445":"khcy","\u0425":"KHcy","\u0446":"tscy","\u0426":"TScy","\u0447":"chcy","\u0427":"CHcy","\u045f":"dzcy","\u040f":"DZcy","\u0448":"shcy","\u0428":"SHcy","\u0449":"shchcy","\u0429":"SHCHcy","\u044a":"hardcy","\u042a":"HARDcy","\u044b":"ycy","\u042b":"Ycy","\u044c":"softcy","\u042c":"SOFTcy","\u044d":"ecy","\u042d":"Ecy","\u044e":"yucy","\u042e":"YUcy","\u044f":"yacy","\u042f":"YAcy","\u2135":"aleph","\u2136":"beth","\u2137":"gimel","\u2138":"daleth"},d=/["&'<>`]/g,h={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},v=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,m=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,y=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,g={aacute:"\xe1",Aacute:"\xc1",abreve:"\u0103",Abreve:"\u0102",ac:"\u223e",acd:"\u223f",acE:"\u223e\u0333",acirc:"\xe2",Acirc:"\xc2",acute:"\xb4",acy:"\u0430",Acy:"\u0410",aelig:"\xe6",AElig:"\xc6",af:"\u2061",afr:"\ud835\udd1e",Afr:"\ud835\udd04",agrave:"\xe0",Agrave:"\xc0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03b1",Alpha:"\u0391",amacr:"\u0101",Amacr:"\u0100",amalg:"\u2a3f",amp:"&",AMP:"&",and:"\u2227",And:"\u2a53",andand:"\u2a55",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",ange:"\u29a4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angst:"\xc5",angzarr:"\u237c",aogon:"\u0105",Aogon:"\u0104",aopf:"\ud835\udd52",Aopf:"\ud835\udd38",ap:"\u2248",apacir:"\u2a6f",ape:"\u224a",apE:"\u2a70",apid:"\u224b",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224a",aring:"\xe5",Aring:"\xc5",ascr:"\ud835\udcb6",Ascr:"\ud835\udc9c",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224d",atilde:"\xe3",Atilde:"\xc3",auml:"\xe4",Auml:"\xc4",awconint:"\u2233",awint:"\u2a11",backcong:"\u224c",backepsilon:"\u03f6",backprime:"\u2035",backsim:"\u223d",backsimeq:"\u22cd",Backslash:"\u2216",Barv:"\u2ae7",barvee:"\u22bd",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23b5",bbrktbrk:"\u23b6",bcong:"\u224c",bcy:"\u0431",Bcy:"\u0411",bdquo:"\u201e",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29b0",bepsi:"\u03f6",bernou:"\u212c",Bernoullis:"\u212c",beta:"\u03b2",Beta:"\u0392",beth:"\u2136",between:"\u226c",bfr:"\ud835\udd1f",Bfr:"\ud835\udd05",bigcap:"\u22c2",bigcirc:"\u25ef",bigcup:"\u22c3",bigodot:"\u2a00",bigoplus:"\u2a01",bigotimes:"\u2a02",bigsqcup:"\u2a06",bigstar:"\u2605",bigtriangledown:"\u25bd",bigtriangleup:"\u25b3",biguplus:"\u2a04",bigvee:"\u22c1",bigwedge:"\u22c0",bkarow:"\u290d",blacklozenge:"\u29eb",blacksquare:"\u25aa",blacktriangle:"\u25b4",blacktriangledown:"\u25be",blacktriangleleft:"\u25c2",blacktriangleright:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bnot:"\u2310",bNot:"\u2aed",bopf:"\ud835\udd53",Bopf:"\ud835\udd39",bot:"\u22a5",bottom:"\u22a5",bowtie:"\u22c8",boxbox:"\u29c9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250c",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252c",boxhD:"\u2565",boxHd:"\u2564",boxHD:"\u2566",boxhu:"\u2534",boxhU:"\u2568",boxHu:"\u2567",boxHU:"\u2569",boxminus:"\u229f",boxplus:"\u229e",boxtimes:"\u22a0",boxul:"\u2518",boxuL:"\u255b",boxUl:"\u255c",boxUL:"\u255d",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255a",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253c",boxvH:"\u256a",boxVh:"\u256b",boxVH:"\u256c",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251c",boxvR:"\u255e",boxVr:"\u255f",boxVR:"\u2560",bprime:"\u2035",breve:"\u02d8",Breve:"\u02d8",brvbar:"\xa6",bscr:"\ud835\udcb7",Bscr:"\u212c",bsemi:"\u204f",bsim:"\u223d",bsime:"\u22cd",bsol:"\\",bsolb:"\u29c5",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bump:"\u224e",bumpe:"\u224f",bumpE:"\u2aae",bumpeq:"\u224f",Bumpeq:"\u224e",cacute:"\u0107",Cacute:"\u0106",cap:"\u2229",Cap:"\u22d2",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",capcup:"\u2a47",capdot:"\u2a40",CapitalDifferentialD:"\u2145",caps:"\u2229\ufe00",caret:"\u2041",caron:"\u02c7",Cayleys:"\u212d",ccaps:"\u2a4d",ccaron:"\u010d",Ccaron:"\u010c",ccedil:"\xe7",Ccedil:"\xc7",ccirc:"\u0109",Ccirc:"\u0108",Cconint:"\u2230",ccups:"\u2a4c",ccupssm:"\u2a50",cdot:"\u010b",Cdot:"\u010a",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"\u29b2",cent:"\xa2",centerdot:"\xb7",CenterDot:"\xb7",cfr:"\ud835\udd20",Cfr:"\u212d",chcy:"\u0447",CHcy:"\u0427",check:"\u2713",checkmark:"\u2713",chi:"\u03c7",Chi:"\u03a7",cir:"\u25cb",circ:"\u02c6",circeq:"\u2257",circlearrowleft:"\u21ba",circlearrowright:"\u21bb",circledast:"\u229b",circledcirc:"\u229a",circleddash:"\u229d",CircleDot:"\u2299",circledR:"\xae",circledS:"\u24c8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cire:"\u2257",cirE:"\u29c3",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201d",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",colone:"\u2254",Colone:"\u2a74",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2a6d",Congruent:"\u2261",conint:"\u222e",Conint:"\u222f",ContourIntegral:"\u222e",copf:"\ud835\udd54",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xa9",COPY:"\xa9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21b5",cross:"\u2717",Cross:"\u2a2f",cscr:"\ud835\udcb8",Cscr:"\ud835\udc9e",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",cuesc:"\u22df",cularr:"\u21b6",cularrp:"\u293d",cup:"\u222a",Cup:"\u22d3",cupbrcap:"\u2a48",cupcap:"\u2a46",CupCap:"\u224d",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarr:"\u21b7",curarrm:"\u293c",curlyeqprec:"\u22de",curlyeqsucc:"\u22df",curlyvee:"\u22ce",curlywedge:"\u22cf",curren:"\xa4",curvearrowleft:"\u21b6",curvearrowright:"\u21b7",cuvee:"\u22ce",cuwed:"\u22cf",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232d",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",dArr:"\u21d3",Darr:"\u21a1",dash:"\u2010",dashv:"\u22a3",Dashv:"\u2ae4",dbkarow:"\u290f",dblac:"\u02dd",dcaron:"\u010f",Dcaron:"\u010e",dcy:"\u0434",Dcy:"\u0414",dd:"\u2146",DD:"\u2145",ddagger:"\u2021",ddarr:"\u21ca",DDotrahd:"\u2911",ddotseq:"\u2a77",deg:"\xb0",Del:"\u2207",delta:"\u03b4",Delta:"\u0394",demptyv:"\u29b1",dfisht:"\u297f",dfr:"\ud835\udd21",Dfr:"\ud835\udd07",dHar:"\u2965",dharl:"\u21c3",dharr:"\u21c2",DiacriticalAcute:"\xb4",DiacriticalDot:"\u02d9",DiacriticalDoubleAcute:"\u02dd",DiacriticalGrave:"`",DiacriticalTilde:"\u02dc",diam:"\u22c4",diamond:"\u22c4",Diamond:"\u22c4",diamondsuit:"\u2666",diams:"\u2666",die:"\xa8",DifferentialD:"\u2146",digamma:"\u03dd",disin:"\u22f2",div:"\xf7",divide:"\xf7",divideontimes:"\u22c7",divonx:"\u22c7",djcy:"\u0452",DJcy:"\u0402",dlcorn:"\u231e",dlcrop:"\u230d",dollar:"$",dopf:"\ud835\udd55",Dopf:"\ud835\udd3b",dot:"\u02d9",Dot:"\xa8",DotDot:"\u20dc",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22a1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222f",DoubleDot:"\xa8",DoubleDownArrow:"\u21d3",DoubleLeftArrow:"\u21d0",DoubleLeftRightArrow:"\u21d4",DoubleLeftTee:"\u2ae4",DoubleLongLeftArrow:"\u27f8",DoubleLongLeftRightArrow:"\u27fa",DoubleLongRightArrow:"\u27f9",DoubleRightArrow:"\u21d2",DoubleRightTee:"\u22a8",DoubleUpArrow:"\u21d1",DoubleUpDownArrow:"\u21d5",DoubleVerticalBar:"\u2225",downarrow:"\u2193",Downarrow:"\u21d3",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21f5",DownBreve:"\u0311",downdownarrows:"\u21ca",downharpoonleft:"\u21c3",downharpoonright:"\u21c2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVector:"\u21bd",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295f",DownRightVector:"\u21c1",DownRightVectorBar:"\u2957",DownTee:"\u22a4",DownTeeArrow:"\u21a7",drbkarow:"\u2910",drcorn:"\u231f",drcrop:"\u230c",dscr:"\ud835\udcb9",Dscr:"\ud835\udc9f",dscy:"\u0455",DScy:"\u0405",dsol:"\u29f6",dstrok:"\u0111",Dstrok:"\u0110",dtdot:"\u22f1",dtri:"\u25bf",dtrif:"\u25be",duarr:"\u21f5",duhar:"\u296f",dwangle:"\u29a6",dzcy:"\u045f",DZcy:"\u040f",dzigrarr:"\u27ff",eacute:"\xe9",Eacute:"\xc9",easter:"\u2a6e",ecaron:"\u011b",Ecaron:"\u011a",ecir:"\u2256",ecirc:"\xea",Ecirc:"\xca",ecolon:"\u2255",ecy:"\u044d",Ecy:"\u042d",eDDot:"\u2a77",edot:"\u0117",eDot:"\u2251",Edot:"\u0116",ee:"\u2147",efDot:"\u2252",efr:"\ud835\udd22",Efr:"\ud835\udd08",eg:"\u2a9a",egrave:"\xe8",Egrave:"\xc8",egs:"\u2a96",egsdot:"\u2a98",el:"\u2a99",Element:"\u2208",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",elsdot:"\u2a97",emacr:"\u0113",Emacr:"\u0112",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25fb",emptyv:"\u2205",EmptyVerySmallSquare:"\u25ab",emsp:"\u2003",emsp13:"\u2004",emsp14:"\u2005",eng:"\u014b",ENG:"\u014a",ensp:"\u2002",eogon:"\u0119",Eogon:"\u0118",eopf:"\ud835\udd56",Eopf:"\ud835\udd3c",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",epsilon:"\u03b5",Epsilon:"\u0395",epsiv:"\u03f5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2a96",eqslantless:"\u2a95",Equal:"\u2a75",equals:"=",EqualTilde:"\u2242",equest:"\u225f",Equilibrium:"\u21cc",equiv:"\u2261",equivDD:"\u2a78",eqvparsl:"\u29e5",erarr:"\u2971",erDot:"\u2253",escr:"\u212f",Escr:"\u2130",esdot:"\u2250",esim:"\u2242",Esim:"\u2a73",eta:"\u03b7",Eta:"\u0397",eth:"\xf0",ETH:"\xd0",euml:"\xeb",Euml:"\xcb",euro:"\u20ac",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",Fcy:"\u0424",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",ffr:"\ud835\udd23",Ffr:"\ud835\udd09",filig:"\ufb01",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",fopf:"\ud835\udd57",Fopf:"\ud835\udd3d",forall:"\u2200",ForAll:"\u2200",fork:"\u22d4",forkv:"\u2ad9",Fouriertrf:"\u2131",fpartint:"\u2a0d",frac12:"\xbd",frac13:"\u2153",frac14:"\xbc",frac15:"\u2155",frac16:"\u2159",frac18:"\u215b",frac23:"\u2154",frac25:"\u2156",frac34:"\xbe",frac35:"\u2157",frac38:"\u215c",frac45:"\u2158",frac56:"\u215a",frac58:"\u215d",frac78:"\u215e",frasl:"\u2044",frown:"\u2322",fscr:"\ud835\udcbb",Fscr:"\u2131",gacute:"\u01f5",gamma:"\u03b3",Gamma:"\u0393",gammad:"\u03dd",Gammad:"\u03dc",gap:"\u2a86",gbreve:"\u011f",Gbreve:"\u011e",Gcedil:"\u0122",gcirc:"\u011d",Gcirc:"\u011c",gcy:"\u0433",Gcy:"\u0413",gdot:"\u0121",Gdot:"\u0120",ge:"\u2265",gE:"\u2267",gel:"\u22db",gEl:"\u2a8c",geq:"\u2265",geqq:"\u2267",geqslant:"\u2a7e",ges:"\u2a7e",gescc:"\u2aa9",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",gfr:"\ud835\udd24",Gfr:"\ud835\udd0a",gg:"\u226b",Gg:"\u22d9",ggg:"\u22d9",gimel:"\u2137",gjcy:"\u0453",GJcy:"\u0403",gl:"\u2277",gla:"\u2aa5",glE:"\u2a92",glj:"\u2aa4",gnap:"\u2a8a",gnapprox:"\u2a8a",gne:"\u2a88",gnE:"\u2269",gneq:"\u2a88",gneqq:"\u2269",gnsim:"\u22e7",gopf:"\ud835\udd58",Gopf:"\ud835\udd3e",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22db",GreaterFullEqual:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2a7e",GreaterTilde:"\u2273",gscr:"\u210a",Gscr:"\ud835\udca2",gsim:"\u2273",gsime:"\u2a8e",gsiml:"\u2a90",gt:">",Gt:"\u226b",GT:">",gtcc:"\u2aa7",gtcir:"\u2a7a",gtdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrapprox:"\u2a86",gtrarr:"\u2978",gtrdot:"\u22d7",gtreqless:"\u22db",gtreqqless:"\u2a8c",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",Hacek:"\u02c7",hairsp:"\u200a",half:"\xbd",hamilt:"\u210b",hardcy:"\u044a",HARDcy:"\u042a",harr:"\u2194",hArr:"\u21d4",harrcir:"\u2948",harrw:"\u21ad",Hat:"^",hbar:"\u210f",hcirc:"\u0125",Hcirc:"\u0124",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22b9",hfr:"\ud835\udd25",Hfr:"\u210c",HilbertSpace:"\u210b",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",hopf:"\ud835\udd59",Hopf:"\u210d",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\ud835\udcbd",Hscr:"\u210b",hslash:"\u210f",hstrok:"\u0127",Hstrok:"\u0126",HumpDownHump:"\u224e",HumpEqual:"\u224f",hybull:"\u2043",hyphen:"\u2010",iacute:"\xed",Iacute:"\xcd",ic:"\u2063",icirc:"\xee",Icirc:"\xce",icy:"\u0438",Icy:"\u0418",Idot:"\u0130",iecy:"\u0435",IEcy:"\u0415",iexcl:"\xa1",iff:"\u21d4",ifr:"\ud835\udd26",Ifr:"\u2111",igrave:"\xec",Igrave:"\xcc",ii:"\u2148",iiiint:"\u2a0c",iiint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",ijlig:"\u0133",IJlig:"\u0132",Im:"\u2111",imacr:"\u012b",Imacr:"\u012a",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22b7",imped:"\u01b5",Implies:"\u21d2",in:"\u2208",incare:"\u2105",infin:"\u221e",infintie:"\u29dd",inodot:"\u0131",int:"\u222b",Int:"\u222c",intcal:"\u22ba",integers:"\u2124",Integral:"\u222b",intercal:"\u22ba",Intersection:"\u22c2",intlarhk:"\u2a17",intprod:"\u2a3c",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",iocy:"\u0451",IOcy:"\u0401",iogon:"\u012f",Iogon:"\u012e",iopf:"\ud835\udd5a",Iopf:"\ud835\udd40",iota:"\u03b9",Iota:"\u0399",iprod:"\u2a3c",iquest:"\xbf",iscr:"\ud835\udcbe",Iscr:"\u2110",isin:"\u2208",isindot:"\u22f5",isinE:"\u22f9",isins:"\u22f4",isinsv:"\u22f3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",Itilde:"\u0128",iukcy:"\u0456",Iukcy:"\u0406",iuml:"\xef",Iuml:"\xcf",jcirc:"\u0135",Jcirc:"\u0134",jcy:"\u0439",Jcy:"\u0419",jfr:"\ud835\udd27",Jfr:"\ud835\udd0d",jmath:"\u0237",jopf:"\ud835\udd5b",Jopf:"\ud835\udd41",jscr:"\ud835\udcbf",Jscr:"\ud835\udca5",jsercy:"\u0458",Jsercy:"\u0408",jukcy:"\u0454",Jukcy:"\u0404",kappa:"\u03ba",Kappa:"\u039a",kappav:"\u03f0",kcedil:"\u0137",Kcedil:"\u0136",kcy:"\u043a",Kcy:"\u041a",kfr:"\ud835\udd28",Kfr:"\ud835\udd0e",kgreen:"\u0138",khcy:"\u0445",KHcy:"\u0425",kjcy:"\u045c",KJcy:"\u040c",kopf:"\ud835\udd5c",Kopf:"\ud835\udd42",kscr:"\ud835\udcc0",Kscr:"\ud835\udca6",lAarr:"\u21da",lacute:"\u013a",Lacute:"\u0139",laemptyv:"\u29b4",lagran:"\u2112",lambda:"\u03bb",Lambda:"\u039b",lang:"\u27e8",Lang:"\u27ea",langd:"\u2991",langle:"\u27e8",lap:"\u2a85",Laplacetrf:"\u2112",laquo:"\xab",larr:"\u2190",lArr:"\u21d0",Larr:"\u219e",larrb:"\u21e4",larrbfs:"\u291f",larrfs:"\u291d",larrhk:"\u21a9",larrlp:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",lat:"\u2aab",latail:"\u2919",lAtail:"\u291b",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lBarr:"\u290e",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",lcaron:"\u013e",Lcaron:"\u013d",lcedil:"\u013c",Lcedil:"\u013b",lceil:"\u2308",lcub:"{",lcy:"\u043b",Lcy:"\u041b",ldca:"\u2936",ldquo:"\u201c",ldquor:"\u201e",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27e8",leftarrow:"\u2190",Leftarrow:"\u21d0",LeftArrow:"\u2190",LeftArrowBar:"\u21e4",LeftArrowRightArrow:"\u21c6",leftarrowtail:"\u21a2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21c3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230a",leftharpoondown:"\u21bd",leftharpoonup:"\u21bc",leftleftarrows:"\u21c7",leftrightarrow:"\u2194",Leftrightarrow:"\u21d4",LeftRightArrow:"\u2194",leftrightarrows:"\u21c6",leftrightharpoons:"\u21cb",leftrightsquigarrow:"\u21ad",LeftRightVector:"\u294e",LeftTee:"\u22a3",LeftTeeArrow:"\u21a4",LeftTeeVector:"\u295a",leftthreetimes:"\u22cb",LeftTriangle:"\u22b2",LeftTriangleBar:"\u29cf",LeftTriangleEqual:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21bf",LeftUpVectorBar:"\u2958",LeftVector:"\u21bc",LeftVectorBar:"\u2952",leg:"\u22da",lEg:"\u2a8b",leq:"\u2264",leqq:"\u2266",leqslant:"\u2a7d",les:"\u2a7d",lescc:"\u2aa8",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessapprox:"\u2a85",lessdot:"\u22d6",lesseqgtr:"\u22da",lesseqqgtr:"\u2a8b",LessEqualGreater:"\u22da",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2aa1",lesssim:"\u2272",LessSlantEqual:"\u2a7d",LessTilde:"\u2272",lfisht:"\u297c",lfloor:"\u230a",lfr:"\ud835\udd29",Lfr:"\ud835\udd0f",lg:"\u2276",lgE:"\u2a91",lHar:"\u2962",lhard:"\u21bd",lharu:"\u21bc",lharul:"\u296a",lhblk:"\u2584",ljcy:"\u0459",LJcy:"\u0409",ll:"\u226a",Ll:"\u22d8",llarr:"\u21c7",llcorner:"\u231e",Lleftarrow:"\u21da",llhard:"\u296b",lltri:"\u25fa",lmidot:"\u0140",Lmidot:"\u013f",lmoust:"\u23b0",lmoustache:"\u23b0",lnap:"\u2a89",lnapprox:"\u2a89",lne:"\u2a87",lnE:"\u2268",lneq:"\u2a87",lneqq:"\u2268",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",lobrk:"\u27e6",longleftarrow:"\u27f5",Longleftarrow:"\u27f8",LongLeftArrow:"\u27f5",longleftrightarrow:"\u27f7",Longleftrightarrow:"\u27fa",LongLeftRightArrow:"\u27f7",longmapsto:"\u27fc",longrightarrow:"\u27f6",Longrightarrow:"\u27f9",LongRightArrow:"\u27f6",looparrowleft:"\u21ab",looparrowright:"\u21ac",lopar:"\u2985",lopf:"\ud835\udd5d",Lopf:"\ud835\udd43",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25ca",lozenge:"\u25ca",lozf:"\u29eb",lpar:"(",lparlt:"\u2993",lrarr:"\u21c6",lrcorner:"\u231f",lrhar:"\u21cb",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",lscr:"\ud835\udcc1",Lscr:"\u2112",lsh:"\u21b0",Lsh:"\u21b0",lsim:"\u2272",lsime:"\u2a8d",lsimg:"\u2a8f",lsqb:"[",lsquo:"\u2018",lsquor:"\u201a",lstrok:"\u0142",Lstrok:"\u0141",lt:"<",Lt:"\u226a",LT:"<",ltcc:"\u2aa6",ltcir:"\u2a79",ltdot:"\u22d6",lthree:"\u22cb",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltri:"\u25c3",ltrie:"\u22b4",ltrif:"\u25c2",ltrPar:"\u2996",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",macr:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21a6",Map:"\u2905",mapsto:"\u21a6",mapstodown:"\u21a7",mapstoleft:"\u21a4",mapstoup:"\u21a5",marker:"\u25ae",mcomma:"\u2a29",mcy:"\u043c",Mcy:"\u041c",mdash:"\u2014",mDDot:"\u223a",measuredangle:"\u2221",MediumSpace:"\u205f",Mellintrf:"\u2133",mfr:"\ud835\udd2a",Mfr:"\ud835\udd10",mho:"\u2127",micro:"\xb5",mid:"\u2223",midast:"*",midcir:"\u2af0",middot:"\xb7",minus:"\u2212",minusb:"\u229f",minusd:"\u2238",minusdu:"\u2a2a",MinusPlus:"\u2213",mlcp:"\u2adb",mldr:"\u2026",mnplus:"\u2213",models:"\u22a7",mopf:"\ud835\udd5e",Mopf:"\ud835\udd44",mp:"\u2213",mscr:"\ud835\udcc2",Mscr:"\u2133",mstpos:"\u223e",mu:"\u03bc",Mu:"\u039c",multimap:"\u22b8",mumap:"\u22b8",nabla:"\u2207",nacute:"\u0144",Nacute:"\u0143",nang:"\u2220\u20d2",nap:"\u2249",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266e",natural:"\u266e",naturals:"\u2115",nbsp:"\xa0",nbump:"\u224e\u0338",nbumpe:"\u224f\u0338",ncap:"\u2a43",ncaron:"\u0148",Ncaron:"\u0147",ncedil:"\u0146",Ncedil:"\u0145",ncong:"\u2247",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",ncy:"\u043d",Ncy:"\u041d",ndash:"\u2013",ne:"\u2260",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21d7",nearrow:"\u2197",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226b",NestedLessLess:"\u226a",NewLine:"\n",nexist:"\u2204",nexists:"\u2204",nfr:"\ud835\udd2b",Nfr:"\ud835\udd11",nge:"\u2271",ngE:"\u2267\u0338",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",nGg:"\u22d9\u0338",ngsim:"\u2275",ngt:"\u226f",nGt:"\u226b\u20d2",ngtr:"\u226f",nGtv:"\u226b\u0338",nharr:"\u21ae",nhArr:"\u21ce",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",njcy:"\u045a",NJcy:"\u040a",nlarr:"\u219a",nlArr:"\u21cd",nldr:"\u2025",nle:"\u2270",nlE:"\u2266\u0338",nleftarrow:"\u219a",nLeftarrow:"\u21cd",nleftrightarrow:"\u21ae",nLeftrightarrow:"\u21ce",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",nless:"\u226e",nLl:"\u22d8\u0338",nlsim:"\u2274",nlt:"\u226e",nLt:"\u226a\u20d2",nltri:"\u22ea",nltrie:"\u22ec",nLtv:"\u226a\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xa0",nopf:"\ud835\udd5f",Nopf:"\u2115",not:"\xac",Not:"\u2aec",NotCongruent:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226f",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",notin:"\u2209",notindot:"\u22f5\u0338",notinE:"\u22f9\u0338",notinva:"\u2209",notinvb:"\u22f7",notinvc:"\u22f6",NotLeftTriangle:"\u22ea",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangleEqual:"\u22ec",NotLess:"\u226e",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",notni:"\u220c",notniva:"\u220c",notnivb:"\u22fe",notnivc:"\u22fd",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",NotReverseElement:"\u220c",NotRightTriangle:"\u22eb",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangleEqual:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",NotSubset:"\u2282\u20d2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",npre:"\u2aaf\u0338",nprec:"\u2280",npreceq:"\u2aaf\u0338",nrarr:"\u219b",nrArr:"\u21cf",nrarrc:"\u2933\u0338",nrarrw:"\u219d\u0338",nrightarrow:"\u219b",nRightarrow:"\u21cf",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",nscr:"\ud835\udcc3",Nscr:"\ud835\udca9",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22e2",nsqsupe:"\u22e3",nsub:"\u2284",nsube:"\u2288",nsubE:"\u2ac5\u0338",nsubset:"\u2282\u20d2",nsubseteq:"\u2288",nsubseteqq:"\u2ac5\u0338",nsucc:"\u2281",nsucceq:"\u2ab0\u0338",nsup:"\u2285",nsupe:"\u2289",nsupE:"\u2ac6\u0338",nsupset:"\u2283\u20d2",nsupseteq:"\u2289",nsupseteqq:"\u2ac6\u0338",ntgl:"\u2279",ntilde:"\xf1",Ntilde:"\xd1",ntlg:"\u2278",ntriangleleft:"\u22ea",ntrianglelefteq:"\u22ec",ntriangleright:"\u22eb",ntrianglerighteq:"\u22ed",nu:"\u03bd",Nu:"\u039d",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224d\u20d2",nvdash:"\u22ac",nvDash:"\u22ad",nVdash:"\u22ae",nVDash:"\u22af",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvHarr:"\u2904",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21d6",nwarrow:"\u2196",nwnear:"\u2927",oacute:"\xf3",Oacute:"\xd3",oast:"\u229b",ocir:"\u229a",ocirc:"\xf4",Ocirc:"\xd4",ocy:"\u043e",Ocy:"\u041e",odash:"\u229d",odblac:"\u0151",Odblac:"\u0150",odiv:"\u2a38",odot:"\u2299",odsold:"\u29bc",oelig:"\u0153",OElig:"\u0152",ofcir:"\u29bf",ofr:"\ud835\udd2c",Ofr:"\ud835\udd12",ogon:"\u02db",ograve:"\xf2",Ograve:"\xd2",ogt:"\u29c1",ohbar:"\u29b5",ohm:"\u03a9",oint:"\u222e",olarr:"\u21ba",olcir:"\u29be",olcross:"\u29bb",oline:"\u203e",olt:"\u29c0",omacr:"\u014d",Omacr:"\u014c",omega:"\u03c9",Omega:"\u03a9",omicron:"\u03bf",Omicron:"\u039f",omid:"\u29b6",ominus:"\u2296",oopf:"\ud835\udd60",Oopf:"\ud835\udd46",opar:"\u29b7",OpenCurlyDoubleQuote:"\u201c",OpenCurlyQuote:"\u2018",operp:"\u29b9",oplus:"\u2295",or:"\u2228",Or:"\u2a54",orarr:"\u21bb",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oS:"\u24c8",oscr:"\u2134",Oscr:"\ud835\udcaa",oslash:"\xf8",Oslash:"\xd8",osol:"\u2298",otilde:"\xf5",Otilde:"\xd5",otimes:"\u2297",Otimes:"\u2a37",otimesas:"\u2a36",ouml:"\xf6",Ouml:"\xd6",ovbar:"\u233d",OverBar:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",OverParenthesis:"\u23dc",par:"\u2225",para:"\xb6",parallel:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",PartialD:"\u2202",pcy:"\u043f",Pcy:"\u041f",percnt:"%",period:".",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",pfr:"\ud835\udd2d",Pfr:"\ud835\udd13",phi:"\u03c6",Phi:"\u03a6",phiv:"\u03d5",phmmat:"\u2133",phone:"\u260e",pi:"\u03c0",Pi:"\u03a0",pitchfork:"\u22d4",piv:"\u03d6",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plus:"+",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",plusdo:"\u2214",plusdu:"\u2a25",pluse:"\u2a72",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"\u2a26",plustwo:"\u2a27",pm:"\xb1",Poincareplane:"\u210c",pointint:"\u2a15",popf:"\ud835\udd61",Popf:"\u2119",pound:"\xa3",pr:"\u227a",Pr:"\u2abb",prap:"\u2ab7",prcue:"\u227c",pre:"\u2aaf",prE:"\u2ab3",prec:"\u227a",precapprox:"\u2ab7",preccurlyeq:"\u227c",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",preceq:"\u2aaf",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",precsim:"\u227e",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2ab9",prnE:"\u2ab5",prnsim:"\u22e8",prod:"\u220f",Product:"\u220f",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prop:"\u221d",Proportion:"\u2237",Proportional:"\u221d",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",pscr:"\ud835\udcc5",Pscr:"\ud835\udcab",psi:"\u03c8",Psi:"\u03a8",puncsp:"\u2008",qfr:"\ud835\udd2e",Qfr:"\ud835\udd14",qint:"\u2a0c",qopf:"\ud835\udd62",Qopf:"\u211a",qprime:"\u2057",qscr:"\ud835\udcc6",Qscr:"\ud835\udcac",quaternions:"\u210d",quatint:"\u2a16",quest:"?",questeq:"\u225f",quot:'"',QUOT:'"',rAarr:"\u21db",race:"\u223d\u0331",racute:"\u0155",Racute:"\u0154",radic:"\u221a",raemptyv:"\u29b3",rang:"\u27e9",Rang:"\u27eb",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raquo:"\xbb",rarr:"\u2192",rArr:"\u21d2",Rarr:"\u21a0",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21a3",Rarrtl:"\u2916",rarrw:"\u219d",ratail:"\u291a",rAtail:"\u291c",ratio:"\u2236",rationals:"\u211a",rbarr:"\u290d",rBarr:"\u290f",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",rcaron:"\u0159",Rcaron:"\u0158",rcedil:"\u0157",Rcedil:"\u0156",rceil:"\u2309",rcub:"}",rcy:"\u0440",Rcy:"\u0420",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201d",rdquor:"\u201d",rdsh:"\u21b3",Re:"\u211c",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",rect:"\u25ad",reg:"\xae",REG:"\xae",ReverseElement:"\u220b",ReverseEquilibrium:"\u21cb",ReverseUpEquilibrium:"\u296f",rfisht:"\u297d",rfloor:"\u230b",rfr:"\ud835\udd2f",Rfr:"\u211c",rHar:"\u2964",rhard:"\u21c1",rharu:"\u21c0",rharul:"\u296c",rho:"\u03c1",Rho:"\u03a1",rhov:"\u03f1",RightAngleBracket:"\u27e9",rightarrow:"\u2192",Rightarrow:"\u21d2",RightArrow:"\u2192",RightArrowBar:"\u21e5",RightArrowLeftArrow:"\u21c4",rightarrowtail:"\u21a3",RightCeiling:"\u2309",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVector:"\u21c2",RightDownVectorBar:"\u2955",RightFloor:"\u230b",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightrightarrows:"\u21c9",rightsquigarrow:"\u219d",RightTee:"\u22a2",RightTeeArrow:"\u21a6",RightTeeVector:"\u295b",rightthreetimes:"\u22cc",RightTriangle:"\u22b3",RightTriangleBar:"\u29d0",RightTriangleEqual:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVector:"\u21be",RightUpVectorBar:"\u2954",RightVector:"\u21c0",RightVectorBar:"\u2953",ring:"\u02da",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoust:"\u23b1",rmoustache:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",robrk:"\u27e7",ropar:"\u2986",ropf:"\ud835\udd63",Ropf:"\u211d",roplus:"\u2a2e",rotimes:"\u2a35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rrarr:"\u21c9",Rrightarrow:"\u21db",rsaquo:"\u203a",rscr:"\ud835\udcc7",Rscr:"\u211b",rsh:"\u21b1",Rsh:"\u21b1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22cc",rtimes:"\u22ca",rtri:"\u25b9",rtrie:"\u22b5",rtrif:"\u25b8",rtriltri:"\u29ce",RuleDelayed:"\u29f4",ruluhar:"\u2968",rx:"\u211e",sacute:"\u015b",Sacute:"\u015a",sbquo:"\u201a",sc:"\u227b",Sc:"\u2abc",scap:"\u2ab8",scaron:"\u0161",Scaron:"\u0160",sccue:"\u227d",sce:"\u2ab0",scE:"\u2ab4",scedil:"\u015f",Scedil:"\u015e",scirc:"\u015d",Scirc:"\u015c",scnap:"\u2aba",scnE:"\u2ab6",scnsim:"\u22e9",scpolint:"\u2a13",scsim:"\u227f",scy:"\u0441",Scy:"\u0421",sdot:"\u22c5",sdotb:"\u22a1",sdote:"\u2a66",searhk:"\u2925",searr:"\u2198",seArr:"\u21d8",searrow:"\u2198",sect:"\xa7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\ud835\udd30",Sfr:"\ud835\udd16",sfrown:"\u2322",sharp:"\u266f",shchcy:"\u0449",SHCHcy:"\u0429",shcy:"\u0448",SHcy:"\u0428",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xad",sigma:"\u03c3",Sigma:"\u03a3",sigmaf:"\u03c2",sigmav:"\u03c2",sim:"\u223c",simdot:"\u2a6a",sime:"\u2243",simeq:"\u2243",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2a33",smeparsl:"\u29e4",smid:"\u2223",smile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",softcy:"\u044c",SOFTcy:"\u042c",sol:"/",solb:"\u29c4",solbar:"\u233f",sopf:"\ud835\udd64",Sopf:"\ud835\udd4a",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\ufe00",sqcup:"\u2294",sqcups:"\u2294\ufe00",Sqrt:"\u221a",sqsub:"\u228f",sqsube:"\u2291",sqsubset:"\u228f",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25a1",square:"\u25a1",Square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25aa",squf:"\u25aa",srarr:"\u2192",sscr:"\ud835\udcc8",Sscr:"\ud835\udcae",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22c6",star:"\u2606",Star:"\u22c6",starf:"\u2605",straightepsilon:"\u03f5",straightphi:"\u03d5",strns:"\xaf",sub:"\u2282",Sub:"\u22d0",subdot:"\u2abd",sube:"\u2286",subE:"\u2ac5",subedot:"\u2ac3",submult:"\u2ac1",subne:"\u228a",subnE:"\u2acb",subplus:"\u2abf",subrarr:"\u2979",subset:"\u2282",Subset:"\u22d0",subseteq:"\u2286",subseteqq:"\u2ac5",SubsetEqual:"\u2286",subsetneq:"\u228a",subsetneqq:"\u2acb",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",succ:"\u227b",succapprox:"\u2ab8",succcurlyeq:"\u227d",Succeeds:"\u227b",SucceedsEqual:"\u2ab0",SucceedsSlantEqual:"\u227d",SucceedsTilde:"\u227f",succeq:"\u2ab0",succnapprox:"\u2aba",succneqq:"\u2ab6",succnsim:"\u22e9",succsim:"\u227f",SuchThat:"\u220b",sum:"\u2211",Sum:"\u2211",sung:"\u266a",sup:"\u2283",Sup:"\u22d1",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supdot:"\u2abe",supdsub:"\u2ad8",supe:"\u2287",supE:"\u2ac6",supedot:"\u2ac4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supne:"\u228b",supnE:"\u2acc",supplus:"\u2ac0",supset:"\u2283",Supset:"\u22d1",supseteq:"\u2287",supseteqq:"\u2ac6",supsetneq:"\u228b",supsetneqq:"\u2acc",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21d9",swarrow:"\u2199",swnwar:"\u292a",szlig:"\xdf",Tab:"\t",target:"\u2316",tau:"\u03c4",Tau:"\u03a4",tbrk:"\u23b4",tcaron:"\u0165",Tcaron:"\u0164",tcedil:"\u0163",Tcedil:"\u0162",tcy:"\u0442",Tcy:"\u0422",tdot:"\u20db",telrec:"\u2315",tfr:"\ud835\udd31",Tfr:"\ud835\udd17",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",theta:"\u03b8",Theta:"\u0398",thetasym:"\u03d1",thetav:"\u03d1",thickapprox:"\u2248",thicksim:"\u223c",ThickSpace:"\u205f\u200a",thinsp:"\u2009",ThinSpace:"\u2009",thkap:"\u2248",thksim:"\u223c",thorn:"\xfe",THORN:"\xde",tilde:"\u02dc",Tilde:"\u223c",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",times:"\xd7",timesb:"\u22a0",timesbar:"\u2a31",timesd:"\u2a30",tint:"\u222d",toea:"\u2928",top:"\u22a4",topbot:"\u2336",topcir:"\u2af1",topf:"\ud835\udd65",Topf:"\ud835\udd4b",topfork:"\u2ada",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25b5",triangledown:"\u25bf",triangleleft:"\u25c3",trianglelefteq:"\u22b4",triangleq:"\u225c",triangleright:"\u25b9",trianglerighteq:"\u22b5",tridot:"\u25ec",trie:"\u225c",triminus:"\u2a3a",TripleDot:"\u20db",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",tscr:"\ud835\udcc9",Tscr:"\ud835\udcaf",tscy:"\u0446",TScy:"\u0426",tshcy:"\u045b",TSHcy:"\u040b",tstrok:"\u0167",Tstrok:"\u0166",twixt:"\u226c",twoheadleftarrow:"\u219e",twoheadrightarrow:"\u21a0",uacute:"\xfa",Uacute:"\xda",uarr:"\u2191",uArr:"\u21d1",Uarr:"\u219f",Uarrocir:"\u2949",ubrcy:"\u045e",Ubrcy:"\u040e",ubreve:"\u016d",Ubreve:"\u016c",ucirc:"\xfb",Ucirc:"\xdb",ucy:"\u0443",Ucy:"\u0423",udarr:"\u21c5",udblac:"\u0171",Udblac:"\u0170",udhar:"\u296e",ufisht:"\u297e",ufr:"\ud835\udd32",Ufr:"\ud835\udd18",ugrave:"\xf9",Ugrave:"\xd9",uHar:"\u2963",uharl:"\u21bf",uharr:"\u21be",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",umacr:"\u016b",Umacr:"\u016a",uml:"\xa8",UnderBar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",UnionPlus:"\u228e",uogon:"\u0173",Uogon:"\u0172",uopf:"\ud835\udd66",Uopf:"\ud835\udd4c",uparrow:"\u2191",Uparrow:"\u21d1",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21c5",updownarrow:"\u2195",Updownarrow:"\u21d5",UpDownArrow:"\u2195",UpEquilibrium:"\u296e",upharpoonleft:"\u21bf",upharpoonright:"\u21be",uplus:"\u228e",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03c5",Upsi:"\u03d2",upsih:"\u03d2",upsilon:"\u03c5",Upsilon:"\u03a5",UpTee:"\u22a5",UpTeeArrow:"\u21a5",upuparrows:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",uring:"\u016f",Uring:"\u016e",urtri:"\u25f9",uscr:"\ud835\udcca",Uscr:"\ud835\udcb0",utdot:"\u22f0",utilde:"\u0169",Utilde:"\u0168",utri:"\u25b5",utrif:"\u25b4",uuarr:"\u21c8",uuml:"\xfc",Uuml:"\xdc",uwangle:"\u29a7",vangrt:"\u299c",varepsilon:"\u03f5",varkappa:"\u03f0",varnothing:"\u2205",varphi:"\u03d5",varpi:"\u03d6",varpropto:"\u221d",varr:"\u2195",vArr:"\u21d5",varrho:"\u03f1",varsigma:"\u03c2",varsubsetneq:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vartheta:"\u03d1",vartriangleleft:"\u22b2",vartriangleright:"\u22b3",vBar:"\u2ae8",Vbar:"\u2aeb",vBarv:"\u2ae9",vcy:"\u0432",Vcy:"\u0412",vdash:"\u22a2",vDash:"\u22a8",Vdash:"\u22a9",VDash:"\u22ab",Vdashl:"\u2ae6",vee:"\u2228",Vee:"\u22c1",veebar:"\u22bb",veeeq:"\u225a",vellip:"\u22ee",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200a",vfr:"\ud835\udd33",Vfr:"\ud835\udd19",vltri:"\u22b2",vnsub:"\u2282\u20d2",vnsup:"\u2283\u20d2",vopf:"\ud835\udd67",Vopf:"\ud835\udd4d",vprop:"\u221d",vrtri:"\u22b3",vscr:"\ud835\udccb",Vscr:"\ud835\udcb1",vsubne:"\u228a\ufe00",vsubnE:"\u2acb\ufe00",vsupne:"\u228b\ufe00",vsupnE:"\u2acc\ufe00",Vvdash:"\u22aa",vzigzag:"\u299a",wcirc:"\u0175",Wcirc:"\u0174",wedbar:"\u2a5f",wedge:"\u2227",Wedge:"\u22c0",wedgeq:"\u2259",weierp:"\u2118",wfr:"\ud835\udd34",Wfr:"\ud835\udd1a",wopf:"\ud835\udd68",Wopf:"\ud835\udd4e",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\ud835\udccc",Wscr:"\ud835\udcb2",xcap:"\u22c2",xcirc:"\u25ef",xcup:"\u22c3",xdtri:"\u25bd",xfr:"\ud835\udd35",Xfr:"\ud835\udd1b",xharr:"\u27f7",xhArr:"\u27fa",xi:"\u03be",Xi:"\u039e",xlarr:"\u27f5",xlArr:"\u27f8",xmap:"\u27fc",xnis:"\u22fb",xodot:"\u2a00",xopf:"\ud835\udd69",Xopf:"\ud835\udd4f",xoplus:"\u2a01",xotime:"\u2a02",xrarr:"\u27f6",xrArr:"\u27f9",xscr:"\ud835\udccd",Xscr:"\ud835\udcb3",xsqcup:"\u2a06",xuplus:"\u2a04",xutri:"\u25b3",xvee:"\u22c1",xwedge:"\u22c0",yacute:"\xfd",Yacute:"\xdd",yacy:"\u044f",YAcy:"\u042f",ycirc:"\u0177",Ycirc:"\u0176",ycy:"\u044b",Ycy:"\u042b",yen:"\xa5",yfr:"\ud835\udd36",Yfr:"\ud835\udd1c",yicy:"\u0457",YIcy:"\u0407",yopf:"\ud835\udd6a",Yopf:"\ud835\udd50",yscr:"\ud835\udcce",Yscr:"\ud835\udcb4",yucy:"\u044e",YUcy:"\u042e",yuml:"\xff",Yuml:"\u0178",zacute:"\u017a",Zacute:"\u0179",zcaron:"\u017e",Zcaron:"\u017d",zcy:"\u0437",Zcy:"\u0417",zdot:"\u017c",Zdot:"\u017b",zeetrf:"\u2128",ZeroWidthSpace:"\u200b",zeta:"\u03b6",Zeta:"\u0396",zfr:"\ud835\udd37",Zfr:"\u2128",zhcy:"\u0436",ZHcy:"\u0416",zigrarr:"\u21dd",zopf:"\ud835\udd6b",Zopf:"\u2124",zscr:"\ud835\udccf",Zscr:"\ud835\udcb5",zwj:"\u200d",zwnj:"\u200c"},b={aacute:"\xe1",Aacute:"\xc1",acirc:"\xe2",Acirc:"\xc2",acute:"\xb4",aelig:"\xe6",AElig:"\xc6",agrave:"\xe0",Agrave:"\xc0",amp:"&",AMP:"&",aring:"\xe5",Aring:"\xc5",atilde:"\xe3",Atilde:"\xc3",auml:"\xe4",Auml:"\xc4",brvbar:"\xa6",ccedil:"\xe7",Ccedil:"\xc7",cedil:"\xb8",cent:"\xa2",copy:"\xa9",COPY:"\xa9",curren:"\xa4",deg:"\xb0",divide:"\xf7",eacute:"\xe9",Eacute:"\xc9",ecirc:"\xea",Ecirc:"\xca",egrave:"\xe8",Egrave:"\xc8",eth:"\xf0",ETH:"\xd0",euml:"\xeb",Euml:"\xcb",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe",gt:">",GT:">",iacute:"\xed",Iacute:"\xcd",icirc:"\xee",Icirc:"\xce",iexcl:"\xa1",igrave:"\xec",Igrave:"\xcc",iquest:"\xbf",iuml:"\xef",Iuml:"\xcf",laquo:"\xab",lt:"<",LT:"<",macr:"\xaf",micro:"\xb5",middot:"\xb7",nbsp:"\xa0",not:"\xac",ntilde:"\xf1",Ntilde:"\xd1",oacute:"\xf3",Oacute:"\xd3",ocirc:"\xf4",Ocirc:"\xd4",ograve:"\xf2",Ograve:"\xd2",ordf:"\xaa",ordm:"\xba",oslash:"\xf8",Oslash:"\xd8",otilde:"\xf5",Otilde:"\xd5",ouml:"\xf6",Ouml:"\xd6",para:"\xb6",plusmn:"\xb1",pound:"\xa3",quot:'"',QUOT:'"',raquo:"\xbb",reg:"\xae",REG:"\xae",sect:"\xa7",shy:"\xad",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",szlig:"\xdf",thorn:"\xfe",THORN:"\xde",times:"\xd7",uacute:"\xfa",Uacute:"\xda",ucirc:"\xfb",Ucirc:"\xdb",ugrave:"\xf9",Ugrave:"\xd9",uml:"\xa8",uuml:"\xfc",Uuml:"\xdc",yacute:"\xfd",Yacute:"\xdd",yen:"\xa5",yuml:"\xff"},w={0:"\ufffd",128:"\u20ac",130:"\u201a",131:"\u0192",132:"\u201e",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02c6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017d",145:"\u2018",146:"\u2019",147:"\u201c",148:"\u201d",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02dc",153:"\u2122",154:"\u0161",155:"\u203a",156:"\u0153",158:"\u017e",159:"\u0178"},x=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],O=String.fromCharCode,E={}.hasOwnProperty,k=function(e,t){return E.call(e,t)},_=function(e,t){if(!e)return t;var n,r={};for(n in t)r[n]=k(e,n)?e[n]:t[n];return r},S=function(e,t){var n="";return e>=55296&&e<=57343||e>1114111?(t&&A("character reference outside the permissible Unicode range"),"\ufffd"):k(w,e)?(t&&A("disallowed character reference"),w[e]):(t&&function(e,t){for(var n=-1,r=e.length;++n65535&&(n+=O((e-=65536)>>>10&1023|55296),e=56320|1023&e),n+=O(e))},T=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},C=function(e){return"&#"+e+";"},A=function(e){throw Error("Parse error: "+e)},j=function e(t,n){(n=_(n,e.options)).strict&&m.test(t)&&A("forbidden code point");var r=n.encodeEverything,o=n.useNamedReferences,i=n.allowUnsafeSymbols,a=n.decimal?C:T,u=function(e){return a(e.charCodeAt(0))};return r?(t=t.replace(c,(function(e){return o&&k(p,e)?"&"+p[e]+";":u(e)})),o&&(t=t.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),o&&(t=t.replace(f,(function(e){return"&"+p[e]+";"})))):o?(i||(t=t.replace(d,(function(e){return"&"+p[e]+";"}))),t=(t=t.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(f,(function(e){return"&"+p[e]+";"}))):i||(t=t.replace(d,u)),t.replace(s,(function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return a(1024*(t-55296)+n-56320+65536)})).replace(l,u)};j.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var P=function e(t,n){var r=(n=_(n,e.options)).strict;return r&&v.test(t)&&A("malformed character reference"),t.replace(y,(function(e,t,o,i,a,u,s,c,l){var f,p,d,h,v,m;return t?g[v=t]:o?(v=o,(m=i)&&n.isAttributeValue?(r&&"="==m&&A("`&` did not start a character reference"),e):(r&&A("named character reference was not terminated by a semicolon"),b[v]+(m||""))):a?(d=a,p=u,r&&!p&&A("character reference was not terminated by a semicolon"),f=parseInt(d,10),S(f,r)):s?(h=s,p=c,r&&!p&&A("character reference was not terminated by a semicolon"),f=parseInt(h,16),S(f,r)):(r&&A("named character reference was not terminated by a semicolon"),e)}))};P.options={isAttributeValue:!1,strict:!1};var M={version:"1.2.0",encode:j,decode:P,escape:function(e){return e.replace(d,(function(e){return h[e]}))},unescape:P};void 0===(o=function(){return M}.call(t,n,t,e))||(e.exports=o)}()}).call(this,n(126)(e),n(53))},,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 o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function f(e,t){return!t||"object"!==typeof t&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function p(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=s(e)););return e}function d(e,t,n){return(d="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=p(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function h(e,t,n,r){return(h="undefined"!==typeof Reflect&&Reflect.set?Reflect.set:function(e,t,n,r){var o,i=p(e,t);if(i){if((o=Object.getOwnPropertyDescriptor(i,t)).set)return o.set.call(r,n),!0;if(!o.writable)return!1}if(o=Object.getOwnPropertyDescriptor(r,t)){if(!o.writable)return!1;o.value=n,Object.defineProperty(r,t,o)}else!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(r,t,n);return!0})(e,t,n,r)}function v(e,t,n,r,o){if(!h(e,t,n,r||e)&&o)throw new Error("failed to set property");return n}function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(s){o=!0,i=s}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function y(e){return"string"===typeof e||e instanceof String}var g="NONE",b="LEFT",w="FORCE_LEFT",x="RIGHT",O="FORCE_RIGHT";function E(e){switch(e){case b:return w;case x:return O;default:return e}}function k(e){return e.replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1")}var _=function(){function e(t,n,r,i){for(o(this,e),this.value=t,this.cursorPos=n,this.oldValue=r,this.oldSelection=i;this.value.slice(0,this.startChangePos)!==this.oldValue.slice(0,this.startChangePos);)--this.oldSelection.start}return a(e,[{key:"startChangePos",get:function(){return Math.min(this.cursorPos,this.oldSelection.start)}},{key:"insertedCount",get:function(){return this.cursorPos-this.startChangePos}},{key:"inserted",get:function(){return this.value.substr(this.startChangePos,this.insertedCount)}},{key:"removedCount",get:function(){return Math.max(this.oldSelection.end-this.startChangePos||this.oldValue.length-this.value.length,0)}},{key:"removed",get:function(){return this.oldValue.substr(this.startChangePos,this.removedCount)}},{key:"head",get:function(){return this.value.substring(0,this.startChangePos)}},{key:"tail",get:function(){return this.value.substring(this.startChangePos+this.insertedCount)}},{key:"removeDirection",get:function(){return!this.removedCount||this.insertedCount?g:this.oldSelection.end===this.cursorPos||this.oldSelection.start===this.cursorPos?x:b}}]),e}(),S=function(){function e(t){o(this,e),Object.assign(this,{inserted:"",rawInserted:"",skip:!1,tailShift:0},t)}return a(e,[{key:"aggregate",value:function(e){return this.rawInserted+=e.rawInserted,this.skip=this.skip||e.skip,this.inserted+=e.inserted,this.tailShift+=e.tailShift,this}},{key:"offset",get:function(){return this.tailShift+this.inserted.length}}]),e}(),T=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2?arguments[2]:void 0;o(this,e),this.value=t,this.from=n,this.stop=r}return a(e,[{key:"toString",value:function(){return this.value}},{key:"extend",value:function(e){this.value+=String(e)}},{key:"appendTo",value:function(e){return e.append(this.toString(),{tail:!0}).aggregate(e._appendPlaceholder())}},{key:"shiftBefore",value:function(e){if(this.from>=e||!this.value.length)return"";var t=this.value[0];return this.value=this.value.slice(1),t}},{key:"state",get:function(){return{value:this.value,from:this.from,stop:this.stop}},set:function(e){Object.assign(this,e)}}]),e}();var C=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new e.InputMask(t,n)},A=function(){function e(t){o(this,e),this._value="",this._update(Object.assign({},e.DEFAULTS,{},t)),this.isInitialized=!0}return a(e,[{key:"updateOptions",value:function(e){Object.keys(e).length&&this.withValueRefresh(this._update.bind(this,e))}},{key:"_update",value:function(e){Object.assign(this,e)}},{key:"reset",value:function(){this._value=""}},{key:"resolve",value:function(e){return this.reset(),this.append(e,{input:!0},""),this.doCommit(),this.value}},{key:"nearestInputPos",value:function(e,t){return e}},{key:"extractInput",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length;return this.value.slice(e,t)}},{key:"extractTail",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length;return new T(this.extractInput(e,t),e)}},{key:"appendTail",value:function(e){return y(e)&&(e=new T(String(e))),e.appendTo(this)}},{key:"_appendCharRaw",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(e=this.doPrepare(e,t))?(this._value+=e,new S({inserted:e,rawInserted:e})):new S}},{key:"_appendChar",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=this.state,o=this._appendCharRaw(e,t);if(o.inserted){var i,a=!1!==this.doValidate(t);if(a&&null!=n){var u=this.state;this.overwrite&&(i=n.state,n.shiftBefore(this.value.length));var s=this.appendTail(n);(a=s.rawInserted===n.toString())&&s.inserted&&(this.state=u)}a||(o=new S,this.state=r,n&&i&&(n.state=i))}return o}},{key:"_appendPlaceholder",value:function(){return new S}},{key:"append",value:function(e,t,n){if(!y(e))throw new Error("value should be string");var r=new S,o=y(n)?new T(String(n)):n;t.tail&&(t._beforeTailState=this.state);for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length;return this._value=this.value.slice(0,e)+this.value.slice(t),new S}},{key:"withValueRefresh",value:function(e){if(this._refreshing||!this.isInitialized)return e();this._refreshing=!0;var t=this.rawInputValue,n=this.value,r=e();return this.rawInputValue=t,this.value!==n&&0===n.indexOf(this.value)&&this.append(n.slice(this.value.length),{},""),delete this._refreshing,r}},{key:"runIsolated",value:function(e){if(this._isolated||!this.isInitialized)return e(this);this._isolated=!0;var t=this.state,n=e(this);return this.state=t,delete this._isolated,n}},{key:"doPrepare",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.prepare?this.prepare(e,this,t):e}},{key:"doValidate",value:function(e){return(!this.validate||this.validate(this.value,this,e))&&(!this.parent||this.parent.doValidate(e))}},{key:"doCommit",value:function(){this.commit&&this.commit(this.value,this)}},{key:"doFormat",value:function(e){return this.format?this.format(e,this):e}},{key:"doParse",value:function(e){return this.parse?this.parse(e,this):e}},{key:"splice",value:function(e,t,n,r){var o=e+t,i=this.extractTail(o),a=this.nearestInputPos(e,r);return new S({tailShift:a-e}).aggregate(this.remove(a)).aggregate(this.append(n,{input:!0},i))}},{key:"state",get:function(){return{_value:this.value}},set:function(e){this._value=e._value}},{key:"value",get:function(){return this._value},set:function(e){this.resolve(e)}},{key:"unmaskedValue",get:function(){return this.value},set:function(e){this.reset(),this.append(e,{},""),this.doCommit()}},{key:"typedValue",get:function(){return this.doParse(this.value)},set:function(e){this.value=this.doFormat(e)}},{key:"rawInputValue",get:function(){return this.extractInput(0,this.value.length,{raw:!0})},set:function(e){this.reset(),this.append(e,{raw:!0},""),this.doCommit()}},{key:"isComplete",get:function(){return!0}}]),e}();A.DEFAULTS={format:function(e){return e},parse:function(e){return e}},C.Masked=A;var j=A;function P(e){if(null==e)throw new Error("mask property should be defined");return e instanceof RegExp?C.MaskedRegExp:y(e)?C.MaskedPattern:e instanceof Date||e===Date?C.MaskedDate:e instanceof Number||"number"===typeof e||e===Number?C.MaskedNumber:Array.isArray(e)||e===Array?C.MaskedDynamic:C.Masked&&e.prototype instanceof C.Masked?e:e instanceof Function?C.MaskedFunction:e instanceof C.Masked?e.constructor:(console.warn("Mask not found for mask",e),C.Masked)}function M(e){if(C.Masked&&e instanceof C.Masked)return e;var t=(e=Object.assign({},e)).mask;if(C.Masked&&t instanceof C.Masked)return t;var n=P(t);if(!n)throw new Error("Masked class is not found for provided mask, appropriate module needs to be import manually before creating mask.");return new n(e)}C.createMask=M;var D=M,N={0:/\d/,a:/[\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,"*":/./},R=function(){function e(t){o(this,e);var n=t.mask,r=l(t,["mask"]);this.masked=D({mask:n}),Object.assign(this,r)}return a(e,[{key:"reset",value:function(){this._isFilled=!1,this.masked.reset()}},{key:"remove",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length;return 0===e&&t>=1?(this._isFilled=!1,this.masked.remove(e,t)):new S}},{key:"_appendChar",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._isFilled)return new S;var n=this.masked.state,r=this.masked._appendChar(e,t);return r.inserted&&!1===this.doValidate(t)&&(r.inserted=r.rawInserted="",this.masked.state=n),r.inserted||this.isOptional||this.lazy||t.input||(r.inserted=this.placeholderChar),r.skip=!r.inserted&&!this.isOptional,this._isFilled=Boolean(r.inserted),r}},{key:"append",value:function(){var e;return(e=this.masked).append.apply(e,arguments)}},{key:"_appendPlaceholder",value:function(){var e=new S;return this._isFilled||this.isOptional||(this._isFilled=!0,e.inserted=this.placeholderChar),e}},{key:"extractTail",value:function(){var e;return(e=this.masked).extractTail.apply(e,arguments)}},{key:"appendTail",value:function(){var e;return(e=this.masked).appendTail.apply(e,arguments)}},{key:"extractInput",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length,n=arguments.length>2?arguments[2]:void 0;return this.masked.extractInput(e,t,n)}},{key:"nearestInputPos",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g,n=0,r=this.value.length,o=Math.min(Math.max(e,n),r);switch(t){case b:case w:return this.isComplete?o:n;case x:case O:return this.isComplete?o:r;case g:default:return o}}},{key:"doValidate",value:function(){var e,t;return(e=this.masked).doValidate.apply(e,arguments)&&(!this.parent||(t=this.parent).doValidate.apply(t,arguments))}},{key:"doCommit",value:function(){this.masked.doCommit()}},{key:"value",get:function(){return this.masked.value||(this._isFilled&&!this.isOptional?this.placeholderChar:"")}},{key:"unmaskedValue",get:function(){return this.masked.unmaskedValue}},{key:"isComplete",get:function(){return Boolean(this.masked.value)||this.isOptional}},{key:"state",get:function(){return{masked:this.masked.state,_isFilled:this._isFilled}},set:function(e){this.masked.state=e.masked,this._isFilled=e._isFilled}}]),e}(),L=function(){function e(t){o(this,e),Object.assign(this,t),this._value=""}return a(e,[{key:"reset",value:function(){this._isRawInput=!1,this._value=""}},{key:"remove",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._value.length;return this._value=this._value.slice(0,e)+this._value.slice(t),this._value||(this._isRawInput=!1),new S}},{key:"nearestInputPos",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g,n=0,r=this._value.length;switch(t){case b:case w:return n;case g:case x:case O:default:return r}}},{key:"extractInput",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._value.length,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.raw&&this._isRawInput&&this._value.slice(e,t)||""}},{key:"_appendChar",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=new S;if(this._value)return n;var r=this.char===e[0],o=r&&(this.isUnmasking||t.input||t.raw)&&!t.tail;return o&&(n.rawInserted=this.char),this._value=n.inserted=this.char,this._isRawInput=o&&(t.raw||t.input),n}},{key:"_appendPlaceholder",value:function(){var e=new S;return this._value||(this._value=e.inserted=this.char),e}},{key:"extractTail",value:function(){arguments.length>1&&void 0!==arguments[1]||this.value.length;return new T("")}},{key:"appendTail",value:function(e){return y(e)&&(e=new T(String(e))),e.appendTo(this)}},{key:"append",value:function(e,t,n){var r=this._appendChar(e,t);return null!=n&&(r.tailShift+=this.appendTail(n).tailShift),r}},{key:"doCommit",value:function(){}},{key:"value",get:function(){return this._value}},{key:"unmaskedValue",get:function(){return this.isUnmasking?this.value:""}},{key:"isComplete",get:function(){return!0}},{key:"state",get:function(){return{_value:this._value,_isRawInput:this._isRawInput}},set:function(e){Object.assign(this,e)}}]),e}(),I=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;o(this,e),this.chunks=t,this.from=n}return a(e,[{key:"toString",value:function(){return this.chunks.map(String).join("")}},{key:"extend",value:function(t){if(String(t)){y(t)&&(t=new T(String(t)));var n=this.chunks[this.chunks.length-1],r=n&&(n.stop===t.stop||null==t.stop)&&t.from===n.from+n.toString().length;if(t instanceof T)r?n.extend(t.toString()):this.chunks.push(t);else if(t instanceof e){if(null==t.stop)for(var o;t.chunks.length&&null==t.chunks[0].stop;)(o=t.chunks.shift()).from+=t.from,this.extend(o);t.toString()&&(t.stop=t.blockIndex,this.chunks.push(t))}}}},{key:"appendTo",value:function(t){if(!(t instanceof C.MaskedPattern))return new T(this.toString()).appendTo(t);for(var n=new S,r=0;r=0)&&n.aggregate(t._appendPlaceholder(a)),u=o instanceof e&&t._blocks[a]),u){var s=u.appendTail(o);s.skip=!1,n.aggregate(s),t._value+=s.inserted;var c=o.toString().slice(s.rawInserted.length);c&&n.aggregate(t.append(c,{tail:!0}))}else n.aggregate(t.append(o.toString(),{tail:!0}))}return n}},{key:"shiftBefore",value:function(e){if(this.from>=e||!this.chunks.length)return"";for(var t=e-this.from,n=0;n=0}),d(s(t.prototype),"_update",this).call(this,e)}}]),t}(j);C.MaskedRegExp=B;var F=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o(this,t),e.definitions=Object.assign({},N,e.definitions),f(this,s(t).call(this,Object.assign({},t.DEFAULTS,{},e)))}return u(t,e),a(t,[{key:"_update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.definitions=Object.assign({},this.definitions,e.definitions),d(s(t.prototype),"_update",this).call(this,e),this._rebuildMask()}},{key:"_rebuildMask",value:function(){var e=this,n=this.definitions;this._blocks=[],this._stops=[],this._maskedBlocks={};var r=this.mask;if(r&&n)for(var o=!1,i=!1,a=0;a1&&void 0!==arguments[1]?arguments[1]:{};e=this.doPrepare(e,t);var n=this._mapPosToBlock(this.value.length),r=new S;if(!n)return r;for(var o=n.index;;++o){var i=this._blocks[o];if(!i)break;var a=i._appendChar(e,t),u=a.skip;if(r.aggregate(a),u||a.rawInserted)break}return r}},{key:"extractTail",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length,r=new I;return t===n||this._forEachBlocksInRange(t,n,(function(t,n,o,i){var a=t.extractTail(o,i);a.stop=e._findStopBefore(n),a.from=e._blockStartPos(n),a instanceof I&&(a.blockIndex=n),r.extend(a)})),r}},{key:"extractInput",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e===t)return"";var r="";return this._forEachBlocksInRange(e,t,(function(e,t,o,i){r+=e.extractInput(o,i,n)})),r}},{key:"_findStopBefore",value:function(e){for(var t,n=0;n1&&void 0!==arguments[1]?arguments[1]:this.value.length,n=arguments.length>2?arguments[2]:void 0,r=this._mapPosToBlock(e);if(r){var o=this._mapPosToBlock(t),i=o&&r.index===o.index,a=r.offset,u=o&&i?o.offset:this._blocks[r.index].value.length;if(n(this._blocks[r.index],r.index,a,u),o&&!i){for(var s=r.index+1;s0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length,r=d(s(t.prototype),"remove",this).call(this,e,n);return this._forEachBlocksInRange(e,n,(function(e,t,n,o){r.aggregate(e.remove(n,o))})),r}},{key:"nearestInputPos",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g,n=this._mapPosToBlock(e)||{index:0,offset:0},r=n.offset,o=n.index,i=this._blocks[o];if(!i)return e;var a=r;0!==a&&a0){var l=c-1,f=this._blocks[l],p=f.nearestInputPos(0,g);if(!f.value.length||p!==f.value.length)return this._blockStartPos(c)}for(var d=c,h=d;h=0;--y){var k=this._blocks[y],_=k.nearestInputPos(0,g);if(!k.value.length||_!==k.value.length)return this._blockStartPos(y)+k.value.length}return e}if(t===b||t===w){for(var S,T=c;T=0;--M){var D=this._blocks[M],N=D.nearestInputPos(D.value.length,w);if(D.value&&0===N||(j=M),0!==N){if(N!==D.value.length)return this._blockStartPos(M)+N;P=M;break}}if(t===b)for(var R=P+1;R<=Math.min(c,this._blocks.length-1);++R){var L=this._blocks[R],I=L.nearestInputPos(0,g),B=this._blockStartPos(R)+I;if(B>e)break;if(I!==L.value.length)return B}if(P>=0)return this._blockStartPos(P)+this._blocks[P].value.length;if(t===w||this.lazy&&!this.extractInput()&&!U(this._blocks[c]))return 0;if(null!=j)return this._blockStartPos(j);for(var F=c;F=0;--Q){var J=this._blocks[Q],Z=J.nearestInputPos(J.value.length,b);if(0!==Z){var ee=this._blockStartPos(Q)+Z;if(ee>=e)return ee;break}}}return e}},{key:"maskedBlock",value:function(e){return this.maskedBlocks(e)[0]}},{key:"maskedBlocks",value:function(e){var t=this,n=this._maskedBlocks[e];return n?n.map((function(e){return t._blocks[e]})):[]}},{key:"state",get:function(){return Object.assign({},d(s(t.prototype),"state",this),{_blocks:this._blocks.map((function(e){return e.state}))})},set:function(e){var n=e._blocks,r=l(e,["_blocks"]);this._blocks.forEach((function(e,t){return e.state=n[t]})),v(s(t.prototype),"state",r,this,!0)}},{key:"isComplete",get:function(){return this._blocks.every((function(e){return e.isComplete}))}},{key:"unmaskedValue",get:function(){return this._blocks.reduce((function(e,t){return e+t.unmaskedValue}),"")},set:function(e){v(s(t.prototype),"unmaskedValue",e,this,!0)}},{key:"value",get:function(){return this._blocks.reduce((function(e,t){return e+t.value}),"")},set:function(e){v(s(t.prototype),"value",e,this,!0)}}]),t}(j);function U(e){if(!e)return!1;var t=e.value;return!t||e.nearestInputPos(0,g)!==t.length}F.DEFAULTS={lazy:!0,placeholderChar:"_"},F.STOP_CHAR="`",F.ESCAPE_CHAR="\\",F.InputDefinition=R,F.FixedDefinition=L,C.MaskedPattern=F;var q=F,z=function(e){function t(){return o(this,t),f(this,s(t).apply(this,arguments))}return u(t,e),a(t,[{key:"_update",value:function(e){e=Object.assign({to:this.to||0,from:this.from||0},e);var n=String(e.to).length;null!=e.maxLength&&(n=Math.max(n,e.maxLength)),e.maxLength=n;for(var r=String(e.from).padStart(n,"0"),o=String(e.to).padStart(n,"0"),i=0;i1&&void 0!==arguments[1]?arguments[1]:{};if(e=d(s(t.prototype),"doPrepare",this).call(this,e,n).replace(/\D/g,""),!this.autofix)return e;for(var r=String(this.from).padStart(this.maxLength,"0"),o=String(this.to).padStart(this.maxLength,"0"),i=this.value,a="",u=0;uthis.to?a+=o[c.length-1]:a+=e[u]}return a}},{key:"doValidate",value:function(){var e,n=this.value,r=n.search(/[^0]/);if(-1===r&&n.length<=this._matchFrom)return!0;for(var o=this.boundaries(n),i=m(o,2),a=i[0],u=i[1],c=arguments.length,l=new Array(c),f=0;f=0}},{key:"date",get:function(){return this.typedValue},set:function(e){this.typedValue=e}},{key:"typedValue",get:function(){return this.isComplete?d(s(t.prototype),"typedValue",this):null},set:function(e){v(s(t.prototype),"typedValue",e,this,!0)}}]),t}(q);H.DEFAULTS={pattern:"d{.}`m{.}`Y",format:function(e){return[String(e.getDate()).padStart(2,"0"),String(e.getMonth()+1).padStart(2,"0"),e.getFullYear()].join(".")},parse:function(e){var t=m(e.split("."),3),n=t[0],r=t[1],o=t[2];return new Date(o,r-1,n)}},H.GET_DEFAULT_BLOCKS=function(){return{d:{mask:V,from:1,to:31,maxLength:2},m:{mask:V,from:1,to:12,maxLength:2},Y:{mask:V,from:1900,to:9999}}},C.MaskedDate=H;var W=H,G=function(){function e(){o(this,e)}return a(e,[{key:"select",value:function(e,t){if(null!=e&&null!=t&&(e!==this.selectionStart||t!==this.selectionEnd))try{this._unsafeSelect(e,t)}catch(n){}}},{key:"_unsafeSelect",value:function(e,t){}},{key:"bindEvents",value:function(e){}},{key:"unbindEvents",value:function(){}},{key:"selectionStart",get:function(){var e;try{e=this._unsafeSelectionStart}catch(t){}return null!=e?e:this.value.length}},{key:"selectionEnd",get:function(){var e;try{e=this._unsafeSelectionEnd}catch(t){}return null!=e?e:this.value.length}},{key:"isActive",get:function(){return!1}}]),e}();C.MaskElement=G;var Y=G,X=function(e){function t(e){var n;return o(this,t),(n=f(this,s(t).call(this))).input=e,n._handlers={},n}return u(t,e),a(t,[{key:"_unsafeSelect",value:function(e,t){this.input.setSelectionRange(e,t)}},{key:"bindEvents",value:function(e){var n=this;Object.keys(e).forEach((function(r){return n._toggleEventHandler(t.EVENTS_MAP[r],e[r])}))}},{key:"unbindEvents",value:function(){var e=this;Object.keys(this._handlers).forEach((function(t){return e._toggleEventHandler(t)}))}},{key:"_toggleEventHandler",value:function(e,t){this._handlers[e]&&(this.input.removeEventListener(e,this._handlers[e]),delete this._handlers[e]),t&&(this.input.addEventListener(e,t),this._handlers[e]=t)}},{key:"rootElement",get:function(){return this.input.getRootNode?this.input.getRootNode():document}},{key:"isActive",get:function(){return this.input===this.rootElement.activeElement}},{key:"_unsafeSelectionStart",get:function(){return this.input.selectionStart}},{key:"_unsafeSelectionEnd",get:function(){return this.input.selectionEnd}},{key:"value",get:function(){return this.input.value},set:function(e){this.input.value=e}}]),t}(Y);X.EVENTS_MAP={selectionChange:"keydown",input:"input",drop:"drop",click:"click",focus:"focus",commit:"blur"},C.HTMLMaskElement=X;var $=X,K=function(e){function t(){return o(this,t),f(this,s(t).apply(this,arguments))}return u(t,e),a(t,[{key:"_unsafeSelect",value:function(e,t){if(this.rootElement.createRange){var n=this.rootElement.createRange();n.setStart(this.input.firstChild||this.input,e),n.setEnd(this.input.lastChild||this.input,t);var r=this.rootElement,o=r.getSelection&&r.getSelection();o&&(o.removeAllRanges(),o.addRange(n))}}},{key:"_unsafeSelectionStart",get:function(){var e=this.rootElement,t=e.getSelection&&e.getSelection();return t&&t.anchorOffset}},{key:"_unsafeSelectionEnd",get:function(){var e=this.rootElement,t=e.getSelection&&e.getSelection();return t&&this._unsafeSelectionStart+String(t).length}},{key:"value",get:function(){return this.input.textContent},set:function(e){this.input.textContent=e}}]),t}($);C.HTMLContenteditableMaskElement=K;var Q=K,J=function(){function e(t,n){o(this,e),this.el=t instanceof Y?t:t.isContentEditable&&"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName?new Q(t):new $(t),this.masked=D(n),this._listeners={},this._value="",this._unmaskedValue="",this._saveSelection=this._saveSelection.bind(this),this._onInput=this._onInput.bind(this),this._onChange=this._onChange.bind(this),this._onDrop=this._onDrop.bind(this),this._onFocus=this._onFocus.bind(this),this._onClick=this._onClick.bind(this),this.alignCursor=this.alignCursor.bind(this),this.alignCursorFriendly=this.alignCursorFriendly.bind(this),this._bindEvents(),this.updateValue(),this._onChange()}return a(e,[{key:"maskEquals",value:function(e){return null==e||e===this.masked.mask||e===Date&&this.masked instanceof W}},{key:"_bindEvents",value:function(){this.el.bindEvents({selectionChange:this._saveSelection,input:this._onInput,drop:this._onDrop,click:this._onClick,focus:this._onFocus,commit:this._onChange})}},{key:"_unbindEvents",value:function(){this.el&&this.el.unbindEvents()}},{key:"_fireEvent",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=0&&this._listeners[e].splice(n,1),this}},{key:"_onInput",value:function(e){if(this._inputEvent=e,this._abortUpdateCursor(),!this._selection)return this.updateValue();var t=new _(this.el.value,this.cursorPos,this.value,this._selection),n=this.masked.rawInputValue,r=this.masked.splice(t.startChangePos,t.removed.length,t.inserted,t.removeDirection).offset,o=n===this.masked.rawInputValue?t.removeDirection:g,i=this.masked.nearestInputPos(t.startChangePos+r,o);this.updateControl(),this.updateCursor(i),delete this._inputEvent}},{key:"_onChange",value:function(){this.value!==this.el.value&&this.updateValue(),this.masked.doCommit(),this.updateControl(),this._saveSelection()}},{key:"_onDrop",value:function(e){e.preventDefault(),e.stopPropagation()}},{key:"_onFocus",value:function(e){this.alignCursorFriendly()}},{key:"_onClick",value:function(e){this.alignCursorFriendly()}},{key:"destroy",value:function(){this._unbindEvents(),this._listeners.length=0,delete this.el}},{key:"mask",get:function(){return this.masked.mask},set:function(e){if(!this.maskEquals(e))if(e instanceof C.Masked||this.masked.constructor!==P(e)){var t=D({mask:e});t.unmaskedValue=this.masked.unmaskedValue,this.masked=t}else this.masked.updateOptions({mask:e})}},{key:"value",get:function(){return this._value},set:function(e){this.masked.value=e,this.updateControl(),this.alignCursor()}},{key:"unmaskedValue",get:function(){return this._unmaskedValue},set:function(e){this.masked.unmaskedValue=e,this.updateControl(),this.alignCursor()}},{key:"typedValue",get:function(){return this.masked.typedValue},set:function(e){this.masked.typedValue=e,this.updateControl(),this.alignCursor()}},{key:"selectionStart",get:function(){return this._cursorChanging?this._changingCursorPos:this.el.selectionStart}},{key:"cursorPos",get:function(){return this._cursorChanging?this._changingCursorPos:this.el.selectionEnd},set:function(e){this.el&&this.el.isActive&&(this.el.select(e,e),this._saveSelection())}}]),e}();C.InputMask=J;var Z=C,ee=function(e){function t(){return o(this,t),f(this,s(t).apply(this,arguments))}return u(t,e),a(t,[{key:"_update",value:function(e){e.enum&&(e.mask="*".repeat(e.enum[0].length)),d(s(t.prototype),"_update",this).call(this,e)}},{key:"doValidate",value:function(){for(var e,n=this,r=arguments.length,o=new Array(r),i=0;i=0}))&&(e=d(s(t.prototype),"doValidate",this)).call.apply(e,[this].concat(o))}}]),t}(q);C.MaskedEnum=ee;var te=function(e){function t(e){return o(this,t),f(this,s(t).call(this,Object.assign({},t.DEFAULTS,{},e)))}return u(t,e),a(t,[{key:"_update",value:function(e){d(s(t.prototype),"_update",this).call(this,e),this._updateRegExps()}},{key:"_updateRegExps",value:function(){var e="^"+(this.allowNegative?"[+|\\-]?":""),t=(this.scale?"("+k(this.radix)+"\\d{0,"+this.scale+"})?":"")+"$";this._numberRegExpInput=new RegExp(e+"(0|([1-9]+\\d*))?"+t),this._numberRegExp=new RegExp(e+"\\d*"+t),this._mapToRadixRegExp=new RegExp("["+this.mapToRadix.map(k).join("")+"]","g"),this._thousandsSeparatorRegExp=new RegExp(k(this.thousandsSeparator),"g")}},{key:"_removeThousandsSeparators",value:function(e){return e.replace(this._thousandsSeparatorRegExp,"")}},{key:"_insertThousandsSeparators",value:function(e){var t=e.split(this.radix);return t[0]=t[0].replace(/\B(?=(\d{3})+(?!\d))/g,this.thousandsSeparator),t.join(this.radix)}},{key:"doPrepare",value:function(e){for(var n,r=arguments.length,o=new Array(r>1?r-1:0),i=1;i1&&void 0!==arguments[1]&&arguments[1],n=0,r=0;r0&&void 0!==arguments[0]?arguments[0]:this._value;return this._separatorsCount(this._removeThousandsSeparators(e).length,!0)}},{key:"extractInput",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length,r=arguments.length>2?arguments[2]:void 0,o=this._adjustRangeWithSeparators(e,n),i=m(o,2);return e=i[0],n=i[1],this._removeThousandsSeparators(d(s(t.prototype),"extractInput",this).call(this,e,n,r))}},{key:"_appendCharRaw",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.thousandsSeparator)return d(s(t.prototype),"_appendCharRaw",this).call(this,e,n);var r=n.tail&&n._beforeTailState?n._beforeTailState._value:this._value,o=this._separatorsCountFromSlice(r);this._value=this._removeThousandsSeparators(this.value);var i=d(s(t.prototype),"_appendCharRaw",this).call(this,e,n);this._value=this._insertThousandsSeparators(this._value);var a=n.tail&&n._beforeTailState?n._beforeTailState._value:this._value,u=this._separatorsCountFromSlice(a);return i.tailShift+=(u-o)*this.thousandsSeparator.length,i.skip=!i.rawInserted&&e===this.thousandsSeparator,i}},{key:"_findSeparatorAround",value:function(e){if(this.thousandsSeparator){var t=e-this.thousandsSeparator.length+1,n=this.value.indexOf(this.thousandsSeparator,t);if(n<=e)return n}return-1}},{key:"_adjustRangeWithSeparators",value:function(e,t){var n=this._findSeparatorAround(e);n>=0&&(e=n);var r=this._findSeparatorAround(t);return r>=0&&(t=r+this.thousandsSeparator.length),[e,t]}},{key:"remove",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length,n=this._adjustRangeWithSeparators(e,t),r=m(n,2);e=r[0],t=r[1];var o=this.value.slice(0,e),i=this.value.slice(t),a=this._separatorsCount(o.length);this._value=this._insertThousandsSeparators(this._removeThousandsSeparators(o+i));var u=this._separatorsCountFromSlice(o);return new S({tailShift:(u-a)*this.thousandsSeparator.length})}},{key:"nearestInputPos",value:function(e,t){if(!this.thousandsSeparator)return e;switch(t){case g:case b:case w:var n=this._findSeparatorAround(e-1);if(n>=0){var r=n+this.thousandsSeparator.length;if(e=0)return o+this.thousandsSeparator.length}return e}},{key:"doValidate",value:function(e){var n=(e.input?this._numberRegExpInput:this._numberRegExp).test(this._removeThousandsSeparators(this.value));if(n){var r=this.number;n=n&&!isNaN(r)&&(null==this.min||this.min>=0||this.min<=this.number)&&(null==this.max||this.max<=0||this.number<=this.max)}return n&&d(s(t.prototype),"doValidate",this).call(this,e)}},{key:"doCommit",value:function(){if(this.value){var e=this.number,n=e;null!=this.min&&(n=Math.max(n,this.min)),null!=this.max&&(n=Math.min(n,this.max)),n!==e&&(this.unmaskedValue=String(n));var r=this.value;this.normalizeZeros&&(r=this._normalizeZeros(r)),this.padFractionalZeros&&(r=this._padFractionalZeros(r)),this._value=r}d(s(t.prototype),"doCommit",this).call(this)}},{key:"_normalizeZeros",value:function(e){var t=this._removeThousandsSeparators(e).split(this.radix);return t[0]=t[0].replace(/^(\D*)(0*)(\d*)/,(function(e,t,n,r){return t+r})),e.length&&!/\d$/.test(t[0])&&(t[0]=t[0]+"0"),t.length>1&&(t[1]=t[1].replace(/0*$/,""),t[1].length||(t.length=1)),this._insertThousandsSeparators(t.join(this.radix))}},{key:"_padFractionalZeros",value:function(e){if(!e)return e;var t=e.split(this.radix);return t.length<2&&t.push(""),t[1]=t[1].padEnd(this.scale,"0"),t.join(this.radix)}},{key:"unmaskedValue",get:function(){return this._removeThousandsSeparators(this._normalizeZeros(this.value)).replace(this.radix,".")},set:function(e){v(s(t.prototype),"unmaskedValue",e.replace(".",this.radix),this,!0)}},{key:"typedValue",get:function(){return Number(this.unmaskedValue)},set:function(e){v(s(t.prototype),"unmaskedValue",String(e),this,!0)}},{key:"number",get:function(){return this.typedValue},set:function(e){this.typedValue=e}},{key:"allowNegative",get:function(){return this.signed||null!=this.min&&this.min<0||null!=this.max&&this.max<0}}]),t}(j);te.DEFAULTS={radix:",",thousandsSeparator:"",mapToRadix:["."],scale:2,signed:!1,normalizeZeros:!0,padFractionalZeros:!1},C.MaskedNumber=te;var ne=function(e){function t(){return o(this,t),f(this,s(t).apply(this,arguments))}return u(t,e),a(t,[{key:"_update",value:function(e){e.mask&&(e.validate=e.mask),d(s(t.prototype),"_update",this).call(this,e)}}]),t}(j);C.MaskedFunction=ne;var re=function(e){function t(e){var n;return o(this,t),(n=f(this,s(t).call(this,Object.assign({},t.DEFAULTS,{},e)))).currentMask=null,n}return u(t,e),a(t,[{key:"_update",value:function(e){d(s(t.prototype),"_update",this).call(this,e),"mask"in e&&(this.compiledMasks=Array.isArray(e.mask)?e.mask.map((function(e){return D(e)})):[])}},{key:"_appendCharRaw",value:function(){var e,t=this._applyDispatch.apply(this,arguments);this.currentMask&&t.aggregate((e=this.currentMask)._appendChar.apply(e,arguments));return t}},{key:"_applyDispatch",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.tail&&null!=t._beforeTailState?t._beforeTailState._value:this.value,r=this.rawInputValue,o=t.tail&&null!=t._beforeTailState?t._beforeTailState._rawInputValue:r,i=r.slice(o.length),a=this.currentMask,u=new S,s=a&&a.state;if(this.currentMask=this.doDispatch(e,Object.assign({},t)),this.currentMask)if(this.currentMask!==a){this.currentMask.reset();var c=this.currentMask.append(o,{raw:!0});u.tailShift=c.inserted.length-n.length,i&&(u.tailShift+=this.currentMask.append(i,{raw:!0,tail:!0}).tailShift)}else this.currentMask.state=s;return u}},{key:"_appendPlaceholder",value:function(){var e=this._applyDispatch.apply(this,arguments);return this.currentMask&&e.aggregate(this.currentMask._appendPlaceholder()),e}},{key:"doDispatch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.dispatch(e,this,t)}},{key:"doValidate",value:function(){for(var e,n,r=arguments.length,o=new Array(r),i=0;i1&&void 0!==arguments[1]?arguments[1]:oe.MASKED,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:oe.MASKED,r=D(e);return function(e){return r.runIsolated((function(r){return r[t]=e,r[n]}))}}C.PIPE_TYPE=oe,C.createPipe=ie,C.pipe=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=200){var v=t?null:u(e);if(v)return s(v);p=!1,l=a,h=new r}else h=t?[]:d;e:for(;++c=0)&&i(e,!n)}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertNodeList=s,t.setElement=function(e){var t=e;if("string"===typeof t&&a.canUseDOM){var n=document.querySelectorAll(t);s(n,t),t="length"in n?n[0]:n}return u=t||u},t.validateElement=c,t.hide=function(e){c(e)&&(e||u).setAttribute("aria-hidden","true")},t.show=function(e){c(e)&&(e||u).removeAttribute("aria-hidden")},t.documentNotReadyOrSSRTesting=function(){u=null},t.resetForTesting=function(){u=null};var r,o=n(385),i=(r=o)&&r.__esModule?r:{default:r},a=n(153);var u=null;function s(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function c(e){return!(!e&&!u)||((0,i.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),!1)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=new function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)&&(t.openInstances.push(e),t.emit("register"))},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n&&(t.openInstances.splice(n,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach((function(n){return n(e,t.openInstances.slice())}))},this.openInstances=[],this.subscribers=[]};t.default=r,e.exports=t.default},function(e,t,n){var r=n(125),o=n(102);e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},function(e,t,n){var r=n(395)();e.exports=r},function(e,t,n){var r=n(50).Uint8Array;e.exports=r},function(e,t,n){var r=n(212)(Object.getPrototypeOf,Object);e.exports=r},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t){e.exports=function(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]}},function(e,t,n){var r=n(215),o=n(411),i=n(73);e.exports=function(e){return i(e)?r(e,!0):o(e)}},function(e,t,n){var r=n(410),o=n(116),i=n(13),a=n(156),u=n(158),s=n(157),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),l=!n&&o(e),f=!n&&!l&&a(e),p=!n&&!l&&!f&&s(e),d=n||l||f||p,h=d?r(e.length,String):[],v=h.length;for(var m in e)!t&&!c.call(e,m)||d&&("length"==m||f&&("offset"==m||"parent"==m)||p&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||u(m,v))||h.push(m);return h}},function(e,t,n){var r=n(117),o=n(217),i=n(122);e.exports=function(e,t,n,a,u,s){var c=1&n,l=e.length,f=t.length;if(l!=f&&!(c&&f>l))return!1;var p=s.get(e);if(p&&s.get(t))return p==t;var d=-1,h=!0,v=2&n?new r:void 0;for(s.set(e,t),s.set(t,e);++d=256;)e-=255;return n.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},r=0;r<8;r++)n.EXP_TABLE[r]=1<-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},function(e,t,n){var r=n(464),o=n(230),i=n(166),a=n(162),u=n(130),s=n(228),c=Object.getOwnPropertyDescriptor;t.f=n(86)?c:function(e,t){if(e=i(e),t=a(t,!0),s)try{return c(e,t)}catch(n){}if(u(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(130),o=n(166),i=n(467)(!1),a=n(238)("IE_PROTO");e.exports=function(e,t){var n,u=o(e),s=0,c=[];for(n in u)n!=a&&r(u,n)&&c.push(n);for(;t.length>s;)r(u,n=t[s++])&&(~i(c,n)||c.push(n));return c}},function(e,t,n){var r=n(233)("keys"),o=n(232);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(165);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},function(e,t,n){var r=n(85),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},function(e,t,n){var r=n(24);e.exports=function(e){return e===e&&!r(e)}},function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},function(e,t,n){var r=n(209),o=n(127);e.exports=function(e,t){return e&&r(e,t,o)}},function(e,t,n){var r=n(132),o=n(73);e.exports=function(e,t){var n=-1,i=o(e)?Array(e.length):[];return r(e,(function(e,r,o){i[++n]=t(e,r,o)})),i}},function(e,t,n){var r=n(84);e.exports=function(e,t,n){for(var o=-1,i=e.length;++o(s=(a=Math.ceil(p/7))>s?a+1:s+1)&&(i=s,r.length=1),r.reverse();i--;)r.push(0);r.reverse()}for((s=c.length)-(i=l.length)<0&&(i=s,r=l,l=c,c=r),n=0;i;)n=(c[--i]=c[i]+l[i]+n)/h|0,c[i]%=h;for(n&&(c.unshift(n),++o),s=c.length;0==c[--s];)c.pop();return t.d=c,t.e=o,u?T(t,p):t}function g(e,t,n){if(e!==~~e||en)throw Error(c+e)}function b(e){var t,n,r,o=e.length-1,i="",a=e[0];if(o>0){for(i+=a,t=1;te.e^i.s<0?1:-1;for(t=0,n=(r=i.d.length)<(o=e.d.length)?r:o;te.d[t]^i.s<0?1:-1;return r===o?0:r>o^i.s<0?1:-1},m.decimalPlaces=m.dp=function(){var e=this,t=e.d.length-1,n=7*(t-e.e);if(t=e.d[t])for(;t%10==0;t/=10)n--;return n<0?0:n},m.dividedBy=m.div=function(e){return w(this,new this.constructor(e))},m.dividedToIntegerBy=m.idiv=function(e){var t=this.constructor;return T(w(this,new t(e),0,1),t.precision)},m.equals=m.eq=function(e){return!this.cmp(e)},m.exponent=function(){return O(this)},m.greaterThan=m.gt=function(e){return this.cmp(e)>0},m.greaterThanOrEqualTo=m.gte=function(e){return this.cmp(e)>=0},m.isInteger=m.isint=function(){return this.e>this.d.length-2},m.isNegative=m.isneg=function(){return this.s<0},m.isPositive=m.ispos=function(){return this.s>0},m.isZero=function(){return 0===this.s},m.lessThan=m.lt=function(e){return this.cmp(e)<0},m.lessThanOrEqualTo=m.lte=function(e){return this.cmp(e)<1},m.logarithm=m.log=function(e){var t,n=this,r=n.constructor,o=r.precision,a=o+5;if(void 0===e)e=new r(10);else if((e=new r(e)).s<1||e.eq(i))throw Error(s+"NaN");if(n.s<1)throw Error(s+(n.s?"NaN":"-Infinity"));return n.eq(i)?new r(0):(u=!1,t=w(_(n,a),_(e,a),a),u=!0,T(t,o))},m.minus=m.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?C(t,e):y(t,(e.s=-e.s,e))},m.modulo=m.mod=function(e){var t,n=this,r=n.constructor,o=r.precision;if(!(e=new r(e)).s)throw Error(s+"NaN");return n.s?(u=!1,t=w(n,e,0,1).times(e),u=!0,n.minus(t)):T(new r(n),o)},m.naturalExponential=m.exp=function(){return x(this)},m.naturalLogarithm=m.ln=function(){return _(this)},m.negated=m.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},m.plus=m.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?y(t,e):C(t,(e.s=-e.s,e))},m.precision=m.sd=function(e){var t,n,r,o=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(c+e);if(t=O(o)+1,n=7*(r=o.d.length-1)+1,r=o.d[r]){for(;r%10==0;r/=10)n--;for(r=o.d[0];r>=10;r/=10)n++}return e&&t>n?t:n},m.squareRoot=m.sqrt=function(){var e,t,n,r,o,i,a,c=this,l=c.constructor;if(c.s<1){if(!c.s)return new l(0);throw Error(s+"NaN")}for(e=O(c),u=!1,0==(o=Math.sqrt(+c))||o==1/0?(((t=b(c.d)).length+e)%2==0&&(t+="0"),o=Math.sqrt(t),e=f((e+1)/2)-(e<0||e%2),r=new l(t=o==1/0?"1e"+e:(t=o.toExponential()).slice(0,t.indexOf("e")+1)+e)):r=new l(o.toString()),o=a=(n=l.precision)+3;;)if(r=(i=r).plus(w(c,i,a+2)).times(.5),b(i.d).slice(0,a)===(t=b(r.d)).slice(0,a)){if(t=t.slice(a-3,a+1),o==a&&"4999"==t){if(T(i,n+1,0),i.times(i).eq(c)){r=i;break}}else if("9999"!=t)break;a+=4}return u=!0,T(r,n)},m.times=m.mul=function(e){var t,n,r,o,i,a,s,c,l,f=this,p=f.constructor,d=f.d,v=(e=new p(e)).d;if(!f.s||!e.s)return new p(0);for(e.s*=f.s,n=f.e+e.e,(c=d.length)<(l=v.length)&&(i=d,d=v,v=i,a=c,c=l,l=a),i=[],r=a=c+l;r--;)i.push(0);for(r=l;--r>=0;){for(t=0,o=c+r;o>r;)s=i[o]+v[r]*d[o-r-1]+t,i[o--]=s%h|0,t=s/h|0;i[o]=(i[o]+t)%h|0}for(;!i[--a];)i.pop();return t?++n:i.shift(),e.d=i,e.e=n,u?T(e,p.precision):e},m.toDecimalPlaces=m.todp=function(e,t){var n=this,r=n.constructor;return n=new r(n),void 0===e?n:(g(e,0,1e9),void 0===t?t=r.rounding:g(t,0,8),T(n,e+O(n)+1,t))},m.toExponential=function(e,t){var n,r=this,o=r.constructor;return void 0===e?n=A(r,!0):(g(e,0,1e9),void 0===t?t=o.rounding:g(t,0,8),n=A(r=T(new o(r),e+1,t),!0,e+1)),n},m.toFixed=function(e,t){var n,r,o=this,i=o.constructor;return void 0===e?A(o):(g(e,0,1e9),void 0===t?t=i.rounding:g(t,0,8),n=A((r=T(new i(o),e+O(o)+1,t)).abs(),!1,e+O(r)+1),o.isneg()&&!o.isZero()?"-"+n:n)},m.toInteger=m.toint=function(){var e=this,t=e.constructor;return T(new t(e),O(e)+1,t.rounding)},m.toNumber=function(){return+this},m.toPower=m.pow=function(e){var t,n,r,o,a,c,l=this,p=l.constructor,d=+(e=new p(e));if(!e.s)return new p(i);if(!(l=new p(l)).s){if(e.s<1)throw Error(s+"Infinity");return l}if(l.eq(i))return l;if(r=p.precision,e.eq(i))return T(l,r);if(c=(t=e.e)>=(n=e.d.length-1),a=l.s,c){if((n=d<0?-d:d)<=9007199254740991){for(o=new p(i),t=Math.ceil(r/7+4),u=!1;n%2&&j((o=o.times(l)).d,t),0!==(n=f(n/2));)j((l=l.times(l)).d,t);return u=!0,e.s<0?new p(i).div(o):T(o,r)}}else if(a<0)throw Error(s+"NaN");return a=a<0&&1&e.d[Math.max(t,n)]?-1:1,l.s=1,u=!1,o=e.times(_(l,r+12)),u=!0,(o=x(o)).s=a,o},m.toPrecision=function(e,t){var n,r,o=this,i=o.constructor;return void 0===e?r=A(o,(n=O(o))<=i.toExpNeg||n>=i.toExpPos):(g(e,1,1e9),void 0===t?t=i.rounding:g(t,0,8),r=A(o=T(new i(o),e,t),e<=(n=O(o))||n<=i.toExpNeg,e)),r},m.toSignificantDigits=m.tosd=function(e,t){var n=this.constructor;return void 0===e?(e=n.precision,t=n.rounding):(g(e,1,1e9),void 0===t?t=n.rounding:g(t,0,8)),T(new n(this),e,t)},m.toString=m.valueOf=m.val=m.toJSON=function(){var e=this,t=O(e),n=e.constructor;return A(e,t<=n.toExpNeg||t>=n.toExpPos)};var w=function(){function e(e,t){var n,r=0,o=e.length;for(e=e.slice();o--;)n=e[o]*t+r,e[o]=n%h|0,r=n/h|0;return r&&e.unshift(r),e}function t(e,t,n,r){var o,i;if(n!=r)i=n>r?1:-1;else for(o=i=0;ot[o]?1:-1;break}return i}function n(e,t,n){for(var r=0;n--;)e[n]-=r,r=e[n]1;)e.shift()}return function(r,o,i,a){var u,c,l,f,p,d,v,m,y,g,b,w,x,E,k,_,S,C,A=r.constructor,j=r.s==o.s?1:-1,P=r.d,M=o.d;if(!r.s)return new A(r);if(!o.s)throw Error(s+"Division by zero");for(c=r.e-o.e,S=M.length,k=P.length,m=(v=new A(j)).d=[],l=0;M[l]==(P[l]||0);)++l;if(M[l]>(P[l]||0)&&--c,(w=null==i?i=A.precision:a?i+(O(r)-O(o))+1:i)<0)return new A(0);if(w=w/7+2|0,l=0,1==S)for(f=0,M=M[0],w++;(l1&&(M=e(M,f),P=e(P,f),S=M.length,k=P.length),E=S,g=(y=P.slice(0,S)).length;g=h/2&&++_;do{f=0,(u=t(M,y,S,g))<0?(b=y[0],S!=g&&(b=b*h+(y[1]||0)),(f=b/_|0)>1?(f>=h&&(f=h-1),1==(u=t(p=e(M,f),y,d=p.length,g=y.length))&&(f--,n(p,S16)throw Error(l+O(e));if(!e.s)return new d(i);for(null==t?(u=!1,s=h):s=t,a=new d(.03125);e.abs().gte(.1);)e=e.times(a),f+=5;for(s+=Math.log(p(2,f))/Math.LN10*2+5|0,n=r=o=new d(i),d.precision=s;;){if(r=T(r.times(e),s),n=n.times(++c),b((a=o.plus(w(r,n,s))).d).slice(0,s)===b(o.d).slice(0,s)){for(;f--;)o=T(o.times(o),s);return d.precision=h,null==t?(u=!0,T(o,h)):o}o=a}}function O(e){for(var t=7*e.e,n=e.d[0];n>=10;n/=10)t++;return t}function E(e,t,n){if(t>e.LN10.sd())throw u=!0,n&&(e.precision=n),Error(s+"LN10 precision limit exceeded");return T(new e(e.LN10),t)}function k(e){for(var t="";e--;)t+="0";return t}function _(e,t){var n,r,o,a,c,l,f,p,d,h=1,v=e,m=v.d,y=v.constructor,g=y.precision;if(v.s<1)throw Error(s+(v.s?"NaN":"-Infinity"));if(v.eq(i))return new y(0);if(null==t?(u=!1,p=g):p=t,v.eq(10))return null==t&&(u=!0),E(y,p);if(p+=10,y.precision=p,r=(n=b(m)).charAt(0),a=O(v),!(Math.abs(a)<15e14))return f=E(y,p+2,g).times(a+""),v=_(new y(r+"."+n.slice(1)),p-10).plus(f),y.precision=g,null==t?(u=!0,T(v,g)):v;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=b((v=v.times(e)).d)).charAt(0),h++;for(a=O(v),r>1?(v=new y("0."+n),a++):v=new y(r+"."+n.slice(1)),l=c=v=w(v.minus(i),v.plus(i),p),d=T(v.times(v),p),o=3;;){if(c=T(c.times(d),p),b((f=l.plus(w(c,new y(o),p))).d).slice(0,p)===b(l.d).slice(0,p))return l=l.times(2),0!==a&&(l=l.plus(E(y,p+2,g).times(a+""))),l=w(l,new y(h),p),y.precision=g,null==t?(u=!0,T(l,g)):l;l=f,o+=2}}function S(e,t){var n,r,o;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;48===t.charCodeAt(r);)++r;for(o=t.length;48===t.charCodeAt(o-1);)--o;if(t=t.slice(r,o)){if(o-=r,n=n-r-1,e.e=f(n/7),e.d=[],r=(n+1)%7,n<0&&(r+=7),rv||e.e<-v))throw Error(l+n)}else e.s=0,e.e=0,e.d=[0];return e}function T(e,t,n){var r,o,i,a,s,c,d,m,y=e.d;for(a=1,i=y[0];i>=10;i/=10)a++;if((r=t-a)<0)r+=7,o=t,d=y[m=0];else{if((m=Math.ceil((r+1)/7))>=(i=y.length))return e;for(d=i=y[m],a=1;i>=10;i/=10)a++;o=(r%=7)-7+a}if(void 0!==n&&(s=d/(i=p(10,a-o-1))%10|0,c=t<0||void 0!==y[m+1]||d%i,c=n<4?(s||c)&&(0==n||n==(e.s<0?3:2)):s>5||5==s&&(4==n||c||6==n&&(r>0?o>0?d/p(10,a-o):0:y[m-1])%10&1||n==(e.s<0?8:7))),t<1||!y[0])return c?(i=O(e),y.length=1,t=t-i-1,y[0]=p(10,(7-t%7)%7),e.e=f(-t/7)||0):(y.length=1,y[0]=e.e=e.s=0),e;if(0==r?(y.length=m,i=1,m--):(y.length=m+1,i=p(10,7-r),y[m]=o>0?(d/p(10,a-o)%p(10,o)|0)*i:0),c)for(;;){if(0==m){(y[0]+=i)==h&&(y[0]=1,++e.e);break}if(y[m]+=i,y[m]!=h)break;y[m--]=0,i=1}for(r=y.length;0===y[--r];)y.pop();if(u&&(e.e>v||e.e<-v))throw Error(l+O(e));return e}function C(e,t){var n,r,o,i,a,s,c,l,f,p,d=e.constructor,v=d.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new d(e),u?T(t,v):t;if(c=e.d,p=t.d,r=t.e,l=e.e,c=c.slice(),a=l-r){for((f=a<0)?(n=c,a=-a,s=p.length):(n=p,r=l,s=c.length),a>(o=Math.max(Math.ceil(v/7),s)+2)&&(a=o,n.length=1),n.reverse(),o=a;o--;)n.push(0);n.reverse()}else{for((f=(o=c.length)<(s=p.length))&&(s=o),o=0;o0;--o)c[s++]=0;for(o=p.length;o>a;){if(c[--o]0?i=i.charAt(0)+"."+i.slice(1)+k(r):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(o<0?"e":"e+")+o):o<0?(i="0."+k(-o-1)+i,n&&(r=n-a)>0&&(i+=k(r))):o>=a?(i+=k(o+1-a),n&&(r=n-o-1)>0&&(i=i+"."+k(r))):((r=o+1)0&&(o+1===a&&(i+="."),i+=k(r))),e.s<0?"-"+i:i}function j(e,t){if(e.length>t)return e.length=t,!0}function P(e){if(!e||"object"!==typeof e)throw Error(s+"Object expected");var t,n,r,o=["precision",1,1e9,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t=o[t+1]&&r<=o[t+2]))throw Error(c+n+": "+r);this[n]=r}if(void 0!==(r=e[n="LN10"])){if(r!=Math.LN10)throw Error(c+n+": "+r);this[n]=new this(r)}return this}(a=function e(t){var n,r,o;function i(e){var t=this;if(!(t instanceof i))return new i(e);if(t.constructor=i,e instanceof i)return t.s=e.s,t.e=e.e,void(t.d=(e=e.d)?e.slice():e);if("number"===typeof e){if(0*e!==0)throw Error(c+e);if(e>0)t.s=1;else{if(!(e<0))return t.s=0,t.e=0,void(t.d=[0]);e=-e,t.s=-1}return e===~~e&&e<1e7?(t.e=0,void(t.d=[e])):S(t,e.toString())}if("string"!==typeof e)throw Error(c+e);if(45===e.charCodeAt(0)?(e=e.slice(1),t.s=-1):t.s=1,!d.test(e))throw Error(c+e);S(t,e)}if(i.prototype=m,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=e,i.config=i.set=P,void 0===t&&(t={}),t)for(o=["precision","rounding","toExpNeg","toExpPos","LN10"],n=0;n=t?n.apply(void 0,s):e(t-l,u((function(){for(var e=arguments.length,t=new Array(e),o=0;o=0||(o[n]=e[n]);return o}(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 i=o.default.Children.only(n);return o.default.cloneElement(i,r)},r}(o.default.Component);function c(){}s.contextTypes={transitionGroup:r.object},s.childContextTypes={transitionGroup:function(){}},s.propTypes={},s.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:c,onEntering:c,onEntered:c,onExit:c,onExiting:c,onExited:c},s.UNMOUNTED=0,s.EXITED=1,s.ENTERING=2,s.ENTERED=3,s.EXITING=4;var l=(0,a.polyfill)(s);t.default=l},function(e,t,n){"use strict";t.__esModule=!0,t.classNamesShape=t.timeoutsShape=void 0;var r;(r=n(1))&&r.__esModule;t.timeoutsShape=null;t.classNamesShape=null},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=u(n(1)),o=u(n(0)),i=n(87),a=n(533);function u(e){return e&&e.__esModule?e:{default:e}}function s(){return(s=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,["component","childFactory"]),i=l(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?i:o.default.createElement(t,r,i)},r}(o.default.Component);f.childContextTypes={transitionGroup:r.default.object.isRequired},f.propTypes={},f.defaultProps={component:"div",childFactory:function(e){return e}};var p=(0,i.polyfill)(f);t.default=p,e.exports=t.default},function(e,t,n){var r=n(219);e.exports=function(e){return e?(e=r(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){u.headers[e]=r.merge(i)})),e.exports=u}).call(this,n(171))},function(e,t,n){"use strict";var r=n(40),o=n(545),i=n(547),a=n(253),u=n(548),s=n(551),c=n(552),l=n(257);e.exports=function(e){return new Promise((function(t,n){var f=e.data,p=e.headers;r.isFormData(f)&&delete p["Content-Type"];var d=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",v=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";p.Authorization="Basic "+btoa(h+":"+v)}var m=u(e.baseURL,e.url);if(d.open(e.method.toUpperCase(),a(m,e.params,e.paramsSerializer),!0),d.timeout=e.timeout,d.onreadystatechange=function(){if(d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in d?s(d.getAllResponseHeaders()):null,i={data:e.responseType&&"text"!==e.responseType?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:r,config:e,request:d};o(t,n,i),d=null}},d.onabort=function(){d&&(n(l("Request aborted",e,"ECONNABORTED",d)),d=null)},d.onerror=function(){n(l("Network Error",e,null,d)),d=null},d.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(l(t,e,"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var y=(e.withCredentials||c(m))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;y&&(p[e.xsrfHeaderName]=y)}if("setRequestHeader"in d&&r.forEach(p,(function(e,t){"undefined"===typeof f&&"content-type"===t.toLowerCase()?delete p[t]:d.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),e.responseType)try{d.responseType=e.responseType}catch(g){if("json"!==e.responseType)throw g}"function"===typeof e.onDownloadProgress&&d.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){d&&(d.abort(),n(e),d=null)})),f||(f=null),d.send(f)}))}},function(e,t,n){"use strict";var r=n(546);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},function(e,t,n){"use strict";var r=n(40);e.exports=function(e,t){t=t||{};var n={},o=["url","method","data"],i=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],u=["validateStatus"];function s(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function c(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=s(void 0,e[o])):n[o]=s(e[o],t[o])}r.forEach(o,(function(e){r.isUndefined(t[e])||(n[e]=s(void 0,t[e]))})),r.forEach(i,c),r.forEach(a,(function(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=s(void 0,e[o])):n[o]=s(void 0,t[o])})),r.forEach(u,(function(r){r in t?n[r]=s(e[r],t[r]):r in e&&(n[r]=s(void 0,e[r]))}));var l=o.concat(i).concat(a).concat(u),f=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===l.indexOf(e)}));return r.forEach(f,c),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){"use strict";var r,o=n(335),i=(r=o)&&r.__esModule?r:{default:r};e.exports=i.default},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"===typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(0),o=(n(11),n(107),n(18)),i=(n(87),n(30),n(263),n(172)),a=n(76);Object.keys,r.Component;var u,s=function(){for(var e=arguments.length,t=new Array(e),n=0;n=t.f?o():e.fonts.load(function(e){return _(e)+" "+e.f+"00 300px "+E(e.c)}(t.a),t.h).then((function(e){1<=e.length?r():setTimeout(i,25)}),(function(){o()}))}()})),o=null,i=new Promise((function(e,n){o=setTimeout(n,t.f)}));Promise.race([i,r]).then((function(){o&&(clearTimeout(o),o=null),t.g(t.a)}),(function(){t.j(t.a)}))};var L={D:"serif",C:"sans-serif"},I=null;function B(){if(null===I){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);I=!!e&&(536>parseInt(e[1],10)||536===parseInt(e[1],10)&&11>=parseInt(e[2],10))}return I}function F(e,t,n){for(var r in L)if(L.hasOwnProperty(r)&&t===e.f[L[r]]&&n===e.f[L[r]])return!0;return!1}function U(e){var t,n=e.g.a.offsetWidth,r=e.h.a.offsetWidth;(t=n===e.f.serif&&r===e.f["sans-serif"])||(t=B()&&F(e,n,r)),t?u()-e.A>=e.w?B()&&F(e,n,r)&&(null===e.u||e.u.hasOwnProperty(e.a.c))?q(e,e.v):q(e,e.B):function(e){setTimeout(a((function(){U(this)}),e),50)}(e):q(e,e.v)}function q(e,t){setTimeout(a((function(){p(this.g.a),p(this.h.a),p(this.j.a),p(this.m.a),t(this.a)}),e),0)}function z(e,t,n){this.c=e,this.a=t,this.f=0,this.m=this.j=!1,this.s=n}R.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=u(),U(this)};var V=null;function H(e){0==--e.f&&e.j&&(e.m?((e=e.a).g&&d(e.f,[e.a.c("wf","active")],[e.a.c("wf","loading"),e.a.c("wf","inactive")]),A(e,"active")):C(e.a))}function W(e){this.j=e,this.a=new j,this.h=0,this.f=this.g=!0}function G(e,t,n,r,o){var i=0==--e.h;(e.f||e.g)&&setTimeout((function(){var e=o||null,u=r||{};if(0===n.length&&i)C(t.a);else{t.f+=n.length,i&&(t.j=i);var s,c=[];for(s=0;s1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:r,n=null,i=null;return function(){return o(t,n,arguments)||(i=e.apply(null,arguments)),n=arguments,i}}))},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 o(){return(o=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n>6),t+=String.fromCharCode(128|63&r)):r<55296||r>=57344?(t+=String.fromCharCode(224|r>>12),t+=String.fromCharCode(128|r>>6&63),t+=String.fromCharCode(128|63&r)):(n++,r=65536+((1023&r)<<10|1023&e.charCodeAt(n)),t+=String.fromCharCode(240|r>>18),t+=String.fromCharCode(128|r>>12&63),t+=String.fromCharCode(128|r>>6&63),t+=String.fromCharCode(128|63&r))}return t}var x={size:128,level:"L",bgColor:"#FFFFFF",fgColor:"#000000",includeMargin:!1};function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[];return e.forEach((function(e,r){var o=null;e.forEach((function(i,a){if(!i&&null!==o)return n.push("M".concat(o+t," ").concat(r+t,"h").concat(a-o,"v1H").concat(o+t,"z")),void(o=null);if(a!==e.length-1)i&&null===o&&(o=a);else{if(!i)return;null===o?n.push("M".concat(a+t,",").concat(r+t," h1v1H").concat(a+t,"z")):n.push("M".concat(o+t,",").concat(r+t," h").concat(a+1-o,"v1H").concat(o+t,"z"))}}))})),n.join("")}function E(e,t){return e.slice().map((function(e,n){return n=t.y+t.h?e:e.map((function(e,n){return(n=t.x+t.w)&&e}))}))}function k(e,t){var n=e.imageSettings,r=e.size,o=e.includeMargin;if(null==n)return null;var i=o?4:0,a=t.length+2*i,u=Math.floor(.1*r),s=a/r,c=(n.width||u)*s,l=(n.height||u)*s,f=null==n.x?t.length/2-c/2:n.x*s,p=null==n.y?t.length/2-l/2:n.y*s,d=null;if(n.excavate){var h=Math.floor(f),v=Math.floor(p);d={x:h,y:v,w:Math.ceil(c+f-h),h:Math.ceil(l+p-v)}}return{x:f,y:p,h:l,w:c,excavation:d}}var _=function(){try{(new Path2D).addPath(new Path2D)}catch(e){return!1}return!0}(),S=function(e){function t(){var e,n;s(this,t);for(var r=arguments.length,o=new Array(r),i=0;i0&&a.length>o&&!a.warned){a.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=a.length,u=s,console&&console.warn&&console.warn(u)}return e}function p(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=p.bind(r);return o.listener=n,r.wrapFn=o,o}function h(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"===typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(a=t[0]),a instanceof Error)throw a;var u=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw u.context=a,u}var s=o[e];if(void 0===s)return!1;if("function"===typeof s)i(s,this,t);else{var c=s.length,l=m(s,c);for(n=0;n=0;i--)if(n[i]===t||n[i].listener===t){a=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},u.prototype.listeners=function(e){return h(this,e,!0)},u.prototype.rawListeners=function(e){return h(this,e,!1)},u.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):v.call(e,t)},u.prototype.listenerCount=v,u.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);function o(){return(o=Object.assign||function(e){for(var t=1;t=2,o=P||!r,i=!function(e){var t=e.nodeName||"";return b.indexOf(t)>-1}(e.target),a=r||P&&i;C=!0,l.pointerDown(e),O.set(t),t.set(f),n.useBaseMass().useSpeed(80),function(){var e=P?document:c;k.add(e,"touchmove",D).add(e,"touchend",N).add(e,"mousemove",D).add(e,"mouseup",N)}(),w.set(l.readPoint(e,y)),x.set(l.readPoint(e,g)),p.emit("pointerDown"),o&&(j=!1),a&&e.preventDefault()}}function D(e){if(!A&&!P){if(!e.cancelable)return N();var n=l.readPoint(e,y).get(),r=l.readPoint(e,g).get(),i=u(n,w.get()),a=u(r,x.get());if(!(A=i>a)&&!j)return N()}var s=l.pointerMove(e);!j&&s&&(j=!0),o.start(),t.add(m.applyTo(s)),e.preventDefault()}function N(){var o=l.pointerUp()*(r?S:_)[P?"mouse":"touch"],i=function(t){var n=e.scrollTarget,o=e.index,i=!(n.byDistance(0,!1).index!==o.get())&&Math.abs(t)>4,u=t+f.get();if(i&&!r&&!v.reachedAny(u)){var s=o.clone().add(-1*a(t));return n.byIndex(s.get(),0).distance}return n.byDistance(t,!r).distance}(m.applyTo(o)),c=function(e,t){if(0===e||0===t)return 0;if(Math.abs(e)<=Math.abs(t))return 0;var n=u(Math.abs(e),Math.abs(t));return Math.abs(n/e)}(o,i);u(t.get(),O.get())>=.5&&!P&&(j=!0),A=!1,C=!1,k.removeAll(),n.useSpeed(T+T*c),s.distance(i,!r),P=!1,p.emit("pointerUp")}function R(e){j&&e.preventDefault()}return{addActivationEvents:function(){var e=c;E.add(e,"touchmove",(function(){})).add(e,"touchend",(function(){})).add(e,"touchstart",M).add(e,"mousedown",M).add(e,"touchcancel",N).add(e,"contextmenu",N).add(e,"click",R)},clickAllowed:function(){return!j},pointerDown:function(){return C},removeAllEvents:function(){E.removeAll(),k.removeAll()}}}function m(e){var t=e.axis,n=e.pxToPercent,r=t.scroll,o={x:"clientX",y:"clientY"},i=h(0),a=h(0),u=h(0),s=h(0),c=[],l=(new Date).getTime(),f=!1;function p(e,t){f=!e.touches;var n=o[t],r=f?e[n]:e.touches[0][n];return s.set(r)}return{pointerDown:function(e){var t=p(e,r);return i.set(t),u.set(t),n.measure(i.get())},pointerMove:function(e){var t=p(e,r),o=(new Date).getTime(),i=o-l;return i>=10&&(i>=100&&(c=[]),c.push(t.get()),l=o),a.set(t).subtract(u),u.set(t),n.measure(a.get())},pointerUp:function(){var e=(new Date).getTime()-l,t=u.get(),r=c.slice(-5).map((function(e){return t-e})).sort((function(e,t){return Math.abs(e)100||!r?0:r),c=[],n.measure(u.get())},readPoint:p}}function y(e){var t=e.min,n=e.max,r=Math.abs(t-n);function o(e){return en}function a(e){return o(e)||i(e)}return{constrain:function(e){return a(e)?o(e)?t:n:e},length:r,loop:function(e){return a(e)?o(e)?n:t:e},max:n,min:t,reachedAny:a,reachedMax:i,reachedMin:o,removeOffset:function(e){if(t===n)return e;for(;o(e);)e+=r;for(;i(e);)e-=r;return e}}}function g(e){var t=e.location,n=e.speed,r=e.mass,o=s(2),i=h(0),u=h(0),c=h(0),l=0,f=n,p=r;function d(e){return f=e,m}function v(e){return p=e,m}var m={direction:function(){return l},seek:function(e){c.set(e).subtract(t);var n,r,o=c.get(),s=(r=0)+(o-(n=0))/(100-n)*(f-r);return l=a(c.get()),c.normalize().multiply(s).subtract(i),function(e){e.divide(p),u.add(e)}(c),m},settle:function(e){var n=e.get()-t.get(),r=!o(n);return r&&t.set(e),r},update:function(){i.add(u),t.add(i),u.multiply(0)},useBaseMass:function(){return v(r)},useBaseSpeed:function(){return d(n)},useMass:v,useSpeed:d};return m}function b(e){var t=e.limit,n=e.location,r=e.scrollBody,o=!1;return{constrain:function(e,i){if(function(e){return!o&&(!!t.reachedAny(e.get())&&!!t.reachedAny(n.get()))}(e)){var a=i?.7:.4,u=e.get()-n.get();e.subtract(u*a),!i&&Math.abs(u)<10&&(e.set(t.constrain(e.get())),r.useSpeed(10).useMass(3))}},toggleActive:function(e){o=!e}}}function w(e){var t=e.alignment,n=e.contentSize,r=e.viewSize,o=y({min:-n+r,max:0}),i=[t.measure(n)],a=n>r;return{measure:function(e,t){var n=e.map(o.constrain),r=function(e){var t=e[0],n=e[e.length-1];return y({min:e.lastIndexOf(t)+1,max:e.indexOf(n)})}(n),u=r.min,s=r.max;return a?t?n.slice(u-1,s+1):n:i}}}function x(e){var t=e.contentSize,n=e.location,r=e.limit,o=e.pxToPercent,i=y({min:r.min+o.measure(.1),max:r.max+o.measure(.1)}),a=i.reachedMin,u=i.reachedMax;return{loop:function(e,r){if(function(e){return 1===e?u(n.get()):-1===e&&a(n.get())}(r)){var o=t*(-1*r);e.forEach((function(e){return e.add(o)}))}}}}function O(e){var t=e.limit,n=t.max,r=t.length;return{get:function(e){return(e-n)/-r}}}function E(e){var t=e.loop,n=e.limit,r=e.scrollSnaps,o=e.contentSize,i=n.reachedMax,a=n.reachedAny,u=n.removeOffset;function s(e,t){return Math.abs(e)0?e.concat([n]):e}),[])}function m(e,t){var o="start"===t,a=o?-i:i,u=r.findSlideBounds(a);return e.map((function(e){var t=o?0:-i,r=o?i:0,a=u.filter((function(t){return t.index===e}))[0][o?"end":"start"];return{point:a,getTarget:function(){return n.get()>a?t:r},index:e,location:-1}}))}return{canLoop:function(){return p.every((function(e){var t=e.index;return h(l.filter((function(e){return e!==t})),a)<=0}))},clear:function(e){p.forEach((function(t){var n=t.index;e[n].style[d]=""}))},loop:function(e){p.forEach((function(t){var n=t.getTarget,r=t.location,i=t.index,a=n();a!==r&&(e[i].style[d]=o.applyTo(a)+"%",t.location=a)}))},loopPoints:p}}function _(e){var t=e.scrollTo,n=e.slidesToScroll,r=e.root,o=d(),i=o.removeAll,a=0;function u(e){9===e.keyCode&&(a=(new Date).getTime())}function s(e,i){o.add(e,"focus",(function(){if(!((new Date).getTime()-a>10)){r.scrollLeft=0;var e=Math.floor(i/n);t.index(e,0)}}),!0)}return{addActivationEvents:function(e){o.add(document,"keydown",u,!1),e.forEach(s)},removeAllEvents:i}}function S(e){var t=e.axis,n=e.container,r=e.direction,o=n.style,i="x"===t.scroll?function(e){return"translate3d("+e+"%,0px,0px)"}:function(e){return"translate3d(0px,"+e+"%,0px)"},a=s(2),u=!1,c=0;return{clear:function(){o.transform="",c=0},to:function(e){var t=a(e.get());u||c===t||(getComputedStyle(n).transform,o.transform=i(r.applyTo(t)),c=t)},toggleActive:function(e){u=!e}}}function T(e,t,n,r,o){var a,u=r.align,s=r.axis,l=r.direction,f=r.startIndex,d=r.inViewThreshold,T=r.loop,C=r.speed,A=r.dragFree,j=r.slidesToScroll,P=r.containScroll,M=function(e){var t="y"===e?"y":"x";return{cross:"y"===e?"x":"y",measure:function(e){var n=e.getBoundingClientRect(),r=n.width,o=n.height;return"x"===t?r:o},scroll:t}}(s),D=(a=M.measure(t),{measure:function(e){return e/a*100},totalPercent:100}),N=D.totalPercent,R=n.map(M.measure).map(D.measure),L=c(R),I=function(e,t){for(var n=[],r=0;re)?t.concat([r]):t}),[])},findSlideBounds:l}}({contentSize:B,inViewThreshold:d,loop:T,slideSizes:R,viewSize:N}),ae={animation:Q,axis:M,direction:X,dragHandler:v({animation:Q,axis:M,direction:X,dragFree:A,dragTracker:m({axis:M,pxToPercent:D}),root:e,events:o,index:$,limit:Y,location:Z,scrollBody:ne,scrollTo:oe,scrollTarget:re,target:ee}),pxToPercent:D,index:$,indexPrevious:K,limit:Y,location:Z,options:r,scrollBody:ne,scrollBounds:b({limit:Y,location:Z,scrollBody:ne}),scrollLooper:x({contentSize:B,limit:Y,location:Z,pxToPercent:D}),scrollProgress:O({limit:Y}),scrollSnaps:G,scrollTarget:re,scrollTo:oe,slideFocus:_({root:e,scrollTo:oe,slidesToScroll:j}),slideLooper:k({axis:M,contentSize:B,direction:X,location:Z,scrollSnaps:G,slideSizes:R,slidesInView:ie,viewSize:N}),slidesInView:ie,slideIndexes:L,target:ee,translate:S({axis:M,container:t,direction:X})};return ae}var C={align:"center",axis:"x",containScroll:"",containerSelector:"*",direction:"ltr",dragFree:!1,draggable:!0,draggableClass:"is-draggable",draggingClass:"is-dragging",inViewThreshold:0,loop:!1,selectedClass:"is-selected",slidesToScroll:1,speed:10,startIndex:0};function A(e,t){var n,r,i,a=function(){var e={};function t(t){return e[t]||[]}var n={emit:function(e){return t(e).forEach((function(t){return t(e)})),n},off:function(r,o){return e[r]=t(r).filter((function(e){return e!==o})),n},on:function(r,o){return e[r]=t(r).concat([o]),n}};return n}(),u=d(),s=function(e,t){var n=0;return function(){window.clearTimeout(n),n=window.setTimeout(e,t)||0}}((function(){if(!v)return;var t=n.axis.measure(e);y!==t&&O();a.emit("resize")}),500),c=O,p=a.on,h=a.off,v=!1,m=o({},C),y=0;function g(t){if(function(){if(!e)throw new Error("Missing root node \ud83d\ude22");var t=m.containerSelector,n=e.querySelector(t);if(!n)throw new Error("Missing container node \ud83d\ude22");r=n,i=Array.prototype.slice.call(r.children)}(),m=o(m,t),n=T(e,r,i,m,a),y=n.axis.measure(e),u.add(window,"resize",s),n.translate.to(n.location),m.loop){if(!n.slideLooper.canLoop())return x(),g({loop:!1});n.slideLooper.loop(i)}m.draggable&&i.length&&(n.dragHandler.addActivationEvents(),m.draggableClass&&f(e,m.draggableClass),m.draggingClass&&a.on("pointerDown",b).on("pointerUp",b)),i.length&&n.slideFocus.addActivationEvents(i),m.selectedClass&&(w(),a.on("select",w).on("pointerUp",w)),v||(setTimeout((function(){return a.emit("init")}),0),v=!0)}function b(t){var n=m.draggingClass;"pointerDown"===t?f(e,n):l(e,n)}function w(){var e=m.selectedClass,t=E(!0);k(!0).forEach((function(t){return l(i[t],e)})),t.forEach((function(t){return f(i[t],e)}))}function x(){n.dragHandler.removeAllEvents(),n.slideFocus.removeAllEvents(),n.animation.stop(),u.removeAll(),n.translate.clear(),n.slideLooper.clear(i),l(e,m.draggableClass),i.forEach((function(e){return l(e,m.selectedClass)})),a.off("select",w),a.off("pointerUp",w),a.off("pointerDown",b),a.off("pointerUp",b)}function O(e){if(v){var t=o({startIndex:S()},e);x(),g(t),a.emit("reInit")}}function E(e){var t=n[e?"target":"location"].get(),r=m.loop?"removeOffset":"constrain";return n.slidesInView.check(n.limit[r](t))}function k(e){var t=E(e);return n.slideIndexes.filter((function(e){return-1===t.indexOf(e)}))}function _(e,t){n.scrollBody.useBaseMass().useBaseSpeed(),v&&n.scrollTo.index(e,t||0)}function S(){return n.index.get()}return g(t),{canScrollNext:function(){return n.index.clone().add(1).get()!==S()},canScrollPrev:function(){return n.index.clone().add(-1).get()!==S()},clickAllowed:function(){return n.dragHandler.clickAllowed()},containerNode:function(){return r},dangerouslyGetEngine:function(){return n},destroy:function(){v&&(x(),v=!1,a.emit("destroy"))},off:h,on:p,previousScrollSnap:function(){return n.indexPrevious.get()},reInit:c,scrollNext:function(){_(n.index.clone().add(1).get(),-1)},scrollPrev:function(){_(n.index.clone().add(-1).get(),1)},scrollProgress:function(){return n.scrollProgress.get(n.location.get())},scrollSnapList:function(){return n.scrollSnaps.map(n.scrollProgress.get)},scrollTo:_,selectedScrollSnap:S,slideNodes:function(){return i},slidesInView:E,slidesNotInView:k}}t.useEmblaCarousel=function(e){void 0===e&&(e={});var t=r.useState(),n=t[0],o=t[1],i=r.useState(),a=i[0],u=i[1],s=r.useRef(e),c=r.useMemo((function(){var t,n;return t=s.current,n=e,Object.keys(t).length===Object.keys(n).length&&Object.keys(t).every((function(e){return!!n.hasOwnProperty(e)&&t[e]===n[e]}))||(s.current=e),s.current}),[s,e]);return r.useEffect((function(){if("undefined"!==typeof window&&window.document&&window.document.createElement&&a){var e=A(a,c);return o(e),function(){return e.destroy()}}o(void 0)}),[a,c,o]),[u,n]}},,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(0);function o(e){return(o="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,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n0?"in "+o:o+" ago":o},formatLong:i,formatRelative:function(e,t,n,r){return a[e]},localize:{ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:u({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:u({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:u({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:u({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:u({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(c={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e,t){var n=String(e),r=t||{},o=n.match(c.matchPattern);if(!o)return null;var i=o[0],a=n.match(c.parsePattern);if(!a)return null;var u=c.valueCallback?c.valueCallback(a[0]):a[0];return{value:u=r.valueCallback?r.valueCallback(u):u,rest:n.slice(i.length)}}),era:s({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:s({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:s({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:s({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}},f=n(16),p=n(15),d=n(9);function h(e,t){Object(d.a)(2,arguments);var n=Object(p.a)(e).getTime(),r=Object(f.a)(t);return new Date(n+r)}function v(e,t){Object(d.a)(2,arguments);var n=Object(f.a)(t);return h(e,-n)}function m(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t=t||{})t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function y(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}}function g(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}}var b={p:g,P:function(e,t){var n,r=e.match(/(P+)(p+)?/),o=r[1],i=r[2];if(!i)return y(e,t);switch(o){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;case"PPPP":default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",y(o,t)).replace("{{time}}",g(i,t))}};function w(e){return e.getTime()%6e4}function x(e){var t=new Date(e.getTime()),n=Math.ceil(t.getTimezoneOffset());return t.setSeconds(0,0),6e4*n+(n>0?(6e4+w(t))%6e4:w(t))}var O=["D","DD"],E=["YY","YYYY"];function k(e){return-1!==O.indexOf(e)}function _(e){return-1!==E.indexOf(e)}function S(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"))}function T(e,t){Object(d.a)(1,arguments);var n=t||{},r=n.locale,o=r&&r.options&&r.options.weekStartsOn,i=null==o?0:Object(f.a)(o),a=null==n.weekStartsOn?i:Object(f.a)(n.weekStartsOn);if(!(a>=0&&a<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=Object(p.a)(e),s=u.getUTCDay(),c=(s=1&&s<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var c=new Date(0);c.setUTCFullYear(r+1,0,s),c.setUTCHours(0,0,0,0);var l=T(c,t),h=new Date(0);h.setUTCFullYear(r,0,s),h.setUTCHours(0,0,0,0);var v=T(h,t);return n.getTime()>=l.getTime()?r+1:n.getTime()>=v.getTime()?r:r-1}function A(e,t,n){Object(d.a)(2,arguments);var r=n||{},o=r.locale,i=o&&o.options&&o.options.weekStartsOn,a=null==i?0:Object(f.a)(i),u=null==r.weekStartsOn?a:Object(f.a)(r.weekStartsOn);if(!(u>=0&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var s=Object(p.a)(e),c=Object(f.a)(t),l=s.getUTCDay(),h=c%7,v=(h+7)%7,m=(v=o.getTime()?n+1:t.getTime()>=a.getTime()?n:n-1}function M(e){Object(d.a)(1,arguments);var t=P(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var r=j(n);return r}function D(e){Object(d.a)(1,arguments);var t=Object(p.a)(e),n=j(t).getTime()-M(t).getTime();return Math.round(n/6048e5)+1}function N(e,t){Object(d.a)(1,arguments);var n=t||{},r=n.locale,o=r&&r.options&&r.options.firstWeekContainsDate,i=null==o?1:Object(f.a)(o),a=null==n.firstWeekContainsDate?i:Object(f.a)(n.firstWeekContainsDate),u=C(e,t),s=new Date(0);s.setUTCFullYear(u,0,a),s.setUTCHours(0,0,0,0);var c=T(s,t);return c}function R(e,t){Object(d.a)(1,arguments);var n=Object(p.a)(e),r=T(n,t).getTime()-N(n,t).getTime();return Math.round(r/6048e5)+1}var L=/^(1[0-2]|0?\d)/,I=/^(3[0-1]|[0-2]?\d)/,B=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,F=/^(5[0-3]|[0-4]?\d)/,U=/^(2[0-3]|[0-1]?\d)/,q=/^(2[0-4]|[0-1]?\d)/,z=/^(1[0-1]|0?\d)/,V=/^(1[0-2]|0?\d)/,H=/^[0-5]?\d/,W=/^[0-5]?\d/,G=/^\d/,Y=/^\d{1,2}/,X=/^\d{1,3}/,$=/^\d{1,4}/,K=/^-?\d+/,Q=/^-?\d/,J=/^-?\d{1,2}/,Z=/^-?\d{1,3}/,ee=/^-?\d{1,4}/,te=/^([+-])(\d{2})(\d{2})?|Z/,ne=/^([+-])(\d{2})(\d{2})|Z/,re=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,oe=/^([+-])(\d{2}):(\d{2})|Z/,ie=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function ae(e,t,n){var r=t.match(e);if(!r)return null;var o=parseInt(r[0],10);return{value:n?n(o):o,rest:t.slice(r[0].length)}}function ue(e,t){var n=t.match(e);return n?"Z"===n[0]?{value:0,rest:t.slice(1)}:{value:("+"===n[1]?1:-1)*(36e5*(n[2]?parseInt(n[2],10):0)+6e4*(n[3]?parseInt(n[3],10):0)+1e3*(n[5]?parseInt(n[5],10):0)),rest:t.slice(n[0].length)}:null}function se(e,t){return ae(K,e,t)}function ce(e,t,n){switch(e){case 1:return ae(G,t,n);case 2:return ae(Y,t,n);case 3:return ae(X,t,n);case 4:return ae($,t,n);default:return ae(new RegExp("^\\d{1,"+e+"}"),t,n)}}function le(e,t,n){switch(e){case 1:return ae(Q,t,n);case 2:return ae(J,t,n);case 3:return ae(Z,t,n);case 4:return ae(ee,t,n);default:return ae(new RegExp("^-?\\d{1,"+e+"}"),t,n)}}function fe(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function pe(e,t){var n,r=t>0,o=r?t:1-t;if(o<=50)n=e||100;else{var i=o+50;n=e+100*Math.floor(i/100)-(e>=i%100?100:0)}return r?n:1-n}var de=[31,28,31,30,31,30,31,31,30,31,30,31],he=[31,29,31,30,31,30,31,31,30,31,30,31];function ve(e){return e%400===0||e%4===0&&e%100!==0}var me={G:{priority:140,parse:function(e,t,n,r){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});case"GGGG":default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}},set:function(e,t,n,r){return t.era=n,e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["R","u","t","T"]},y:{priority:130,parse:function(e,t,n,r){var o=function(e){return{year:e,isTwoDigitYear:"yy"===t}};switch(t){case"y":return ce(4,e,o);case"yo":return n.ordinalNumber(e,{unit:"year",valueCallback:o});default:return ce(t.length,e,o)}},validate:function(e,t,n){return t.isTwoDigitYear||t.year>0},set:function(e,t,n,r){var o=e.getUTCFullYear();if(n.isTwoDigitYear){var i=pe(n.year,o);return e.setUTCFullYear(i,0,1),e.setUTCHours(0,0,0,0),e}var a="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(a,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","u","w","I","i","e","c","t","T"]},Y:{priority:130,parse:function(e,t,n,r){var o=function(e){return{year:e,isTwoDigitYear:"YY"===t}};switch(t){case"Y":return ce(4,e,o);case"Yo":return n.ordinalNumber(e,{unit:"year",valueCallback:o});default:return ce(t.length,e,o)}},validate:function(e,t,n){return t.isTwoDigitYear||t.year>0},set:function(e,t,n,r){var o=C(e,r);if(n.isTwoDigitYear){var i=pe(n.year,o);return e.setUTCFullYear(i,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),T(e,r)}var a="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(a,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),T(e,r)},incompatibleTokens:["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:{priority:130,parse:function(e,t,n,r){return le("R"===t?4:t.length,e)},set:function(e,t,n,r){var o=new Date(0);return o.setUTCFullYear(n,0,4),o.setUTCHours(0,0,0,0),j(o)},incompatibleTokens:["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:{priority:130,parse:function(e,t,n,r){return le("u"===t?4:t.length,e)},set:function(e,t,n,r){return e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["G","y","Y","R","w","I","i","e","c","t","T"]},Q:{priority:120,parse:function(e,t,n,r){switch(t){case"Q":case"QQ":return ce(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=1&&t<=4},set:function(e,t,n,r){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:{priority:120,parse:function(e,t,n,r){switch(t){case"q":case"qq":return ce(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=1&&t<=4},set:function(e,t,n,r){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:{priority:110,parse:function(e,t,n,r){var o=function(e){return e-1};switch(t){case"M":return ae(L,e,o);case"MM":return ce(2,e,o);case"Mo":return n.ordinalNumber(e,{unit:"month",valueCallback:o});case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,r){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]},L:{priority:110,parse:function(e,t,n,r){var o=function(e){return e-1};switch(t){case"L":return ae(L,e,o);case"LL":return ce(2,e,o);case"Lo":return n.ordinalNumber(e,{unit:"month",valueCallback:o});case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,r){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:{priority:100,parse:function(e,t,n,r){switch(t){case"w":return ae(F,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return ce(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=53},set:function(e,t,n,r){return T(function(e,t,n){Object(d.a)(2,arguments);var r=Object(p.a)(e),o=Object(f.a)(t),i=R(r,n)-o;return r.setUTCDate(r.getUTCDate()-7*i),r}(e,n,r),r)},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:{priority:100,parse:function(e,t,n,r){switch(t){case"I":return ae(F,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return ce(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=53},set:function(e,t,n,r){return j(function(e,t){Object(d.a)(2,arguments);var n=Object(p.a)(e),r=Object(f.a)(t),o=D(n)-r;return n.setUTCDate(n.getUTCDate()-7*o),n}(e,n,r),r)},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:{priority:90,subPriority:1,parse:function(e,t,n,r){switch(t){case"d":return ae(I,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return ce(t.length,e)}},validate:function(e,t,n){var r=ve(e.getUTCFullYear()),o=e.getUTCMonth();return r?t>=1&&t<=he[o]:t>=1&&t<=de[o]},set:function(e,t,n,r){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:{priority:90,subPriority:1,parse:function(e,t,n,r){switch(t){case"D":case"DD":return ae(B,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return ce(t.length,e)}},validate:function(e,t,n){return ve(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365},set:function(e,t,n,r){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:{priority:90,parse:function(e,t,n,r){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEE":default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,r){return(e=A(e,n,r)).setUTCHours(0,0,0,0),e},incompatibleTokens:["D","i","e","c","t","T"]},e:{priority:90,parse:function(e,t,n,r){var o=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return ce(t.length,e,o);case"eo":return n.ordinalNumber(e,{unit:"day",valueCallback:o});case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeee":default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,r){return(e=A(e,n,r)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:{priority:90,parse:function(e,t,n,r){var o=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return ce(t.length,e,o);case"co":return n.ordinalNumber(e,{unit:"day",valueCallback:o});case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"cccc":default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,r){return(e=A(e,n,r)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:{priority:90,parse:function(e,t,n,r){var o=function(e){return 0===e?7:e};switch(t){case"i":case"ii":return ce(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return n.day(e,{width:"abbreviated",context:"formatting",valueCallback:o})||n.day(e,{width:"short",context:"formatting",valueCallback:o})||n.day(e,{width:"narrow",context:"formatting",valueCallback:o});case"iiiii":return n.day(e,{width:"narrow",context:"formatting",valueCallback:o});case"iiiiii":return n.day(e,{width:"short",context:"formatting",valueCallback:o})||n.day(e,{width:"narrow",context:"formatting",valueCallback:o});case"iiii":default:return n.day(e,{width:"wide",context:"formatting",valueCallback:o})||n.day(e,{width:"abbreviated",context:"formatting",valueCallback:o})||n.day(e,{width:"short",context:"formatting",valueCallback:o})||n.day(e,{width:"narrow",context:"formatting",valueCallback:o})}},validate:function(e,t,n){return t>=1&&t<=7},set:function(e,t,n,r){return(e=function(e,t){Object(d.a)(2,arguments);var n=Object(f.a)(t);n%7===0&&(n-=7);var r=1,o=Object(p.a)(e),i=o.getUTCDay(),a=n%7,u=(a+7)%7,s=(u=1&&t<=12},set:function(e,t,n,r){var o=e.getUTCHours()>=12;return o&&n<12?e.setUTCHours(n+12,0,0,0):o||12!==n?e.setUTCHours(n,0,0,0):e.setUTCHours(0,0,0,0),e},incompatibleTokens:["H","K","k","t","T"]},H:{priority:70,parse:function(e,t,n,r){switch(t){case"H":return ae(U,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return ce(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=23},set:function(e,t,n,r){return e.setUTCHours(n,0,0,0),e},incompatibleTokens:["a","b","h","K","k","t","T"]},K:{priority:70,parse:function(e,t,n,r){switch(t){case"K":return ae(z,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return ce(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,r){return e.getUTCHours()>=12&&n<12?e.setUTCHours(n+12,0,0,0):e.setUTCHours(n,0,0,0),e},incompatibleTokens:["a","b","h","H","k","t","T"]},k:{priority:70,parse:function(e,t,n,r){switch(t){case"k":return ae(q,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return ce(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=24},set:function(e,t,n,r){var o=n<=24?n%24:n;return e.setUTCHours(o,0,0,0),e},incompatibleTokens:["a","b","h","H","K","t","T"]},m:{priority:60,parse:function(e,t,n,r){switch(t){case"m":return ae(H,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return ce(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=59},set:function(e,t,n,r){return e.setUTCMinutes(n,0,0),e},incompatibleTokens:["t","T"]},s:{priority:50,parse:function(e,t,n,r){switch(t){case"s":return ae(W,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return ce(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=59},set:function(e,t,n,r){return e.setUTCSeconds(n,0),e},incompatibleTokens:["t","T"]},S:{priority:30,parse:function(e,t,n,r){return ce(t.length,e,(function(e){return Math.floor(e*Math.pow(10,3-t.length))}))},set:function(e,t,n,r){return e.setUTCMilliseconds(n),e},incompatibleTokens:["t","T"]},X:{priority:10,parse:function(e,t,n,r){switch(t){case"X":return ue(te,e);case"XX":return ue(ne,e);case"XXXX":return ue(re,e);case"XXXXX":return ue(ie,e);case"XXX":default:return ue(oe,e)}},set:function(e,t,n,r){return t.timestampIsSet?e:new Date(e.getTime()-n)},incompatibleTokens:["t","T","x"]},x:{priority:10,parse:function(e,t,n,r){switch(t){case"x":return ue(te,e);case"xx":return ue(ne,e);case"xxxx":return ue(re,e);case"xxxxx":return ue(ie,e);case"xxx":default:return ue(oe,e)}},set:function(e,t,n,r){return t.timestampIsSet?e:new Date(e.getTime()-n)},incompatibleTokens:["t","T","X"]},t:{priority:40,parse:function(e,t,n,r){return se(e)},set:function(e,t,n,r){return[new Date(1e3*n),{timestampIsSet:!0}]},incompatibleTokens:"*"},T:{priority:20,parse:function(e,t,n,r){return se(e)},set:function(e,t,n,r){return[new Date(n),{timestampIsSet:!0}]},incompatibleTokens:"*"}},ye=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ge=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,be=/^'([^]*?)'?$/,we=/''/g,xe=/\S/,Oe=/[a-zA-Z]/;function Ee(e,t,n,r){Object(d.a)(3,arguments);var o=String(e),i=String(t),a=r||{},u=a.locale||l;if(!u.match)throw new RangeError("locale must contain match property");var s=u.options&&u.options.firstWeekContainsDate,c=null==s?1:Object(f.a)(s),h=null==a.firstWeekContainsDate?c:Object(f.a)(a.firstWeekContainsDate);if(!(h>=1&&h<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var y=u.options&&u.options.weekStartsOn,g=null==y?0:Object(f.a)(y),w=null==a.weekStartsOn?g:Object(f.a)(a.weekStartsOn);if(!(w>=0&&w<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===i)return""===o?Object(p.a)(n):new Date(NaN);var O,E={firstWeekContainsDate:h,weekStartsOn:w,locale:u},T=[{priority:10,subPriority:-1,set:ke,index:0}],C=i.match(ge).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,b[t])(e,u.formatLong,E):e})).join("").match(ye),A=[];for(O=0;O0&&xe.test(o))return new Date(NaN);var B=T.map((function(e){return e.priority})).sort((function(e,t){return t-e})).filter((function(e,t,n){return n.indexOf(e)===t})).map((function(e){return T.filter((function(t){return t.priority===e})).sort((function(e,t){return t.subPriority-e.subPriority}))})).map((function(e){return e[0]})),F=Object(p.a)(n);if(isNaN(F))return new Date(NaN);var U=v(F,x(F)),q={};for(O=0;Oj.length&&j.push(e)}function D(e,t,n){return null==e?0:function e(t,n,r,o){var u=typeof t;"undefined"!==u&&"boolean"!==u||(t=null);var s=!1;if(null===t)s=!0;else switch(u){case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case i:case a:s=!0}}if(s)return r(o,t,""===n?"."+N(t,0):n),1;if(s=0,n=""===n?".":n+":",Array.isArray(t))for(var c=0;c